Equipment management system and method
By automatically collecting and matching device port information, the inefficiency and error problems caused by manual recording in cable management are solved, the accuracy and visualization of equipment management are achieved, and the checkability and management efficiency of cable connection status are improved.
Patent Information
- Application Number
- CN202510578261.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-08-15
AI Technical Summary
In the prior art, cable management relies on manual recording, and is inefficient in update efficiency and error-prone, resulting in inaccurate and untimely equipment management.
The port information of the target device is automatically collected and matched with the preset comparison table, instead of manual recording, and the port information is automatically updated and visualized through the information collection module, analysis module and display module.
It improves the accuracy and timeliness of cable management, improves the efficiency of equipment management, and realizes intuitive checking of cable connection status.
Smart Images

Figure CN120492203A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a management system and method for a device. Background Art
[0002] Cabinets are an important carrier for equipment management, and the management of cabinet cables directly affects the efficiency of equipment use.
[0003] Currently, cable management is done by manually recording bidirectional port information, cable numbers, and other information. When cables are replaced or modified, the recorded information needs to be manually updated. This method is prone to errors and has low update efficiency. Summary of the Invention
[0004] The present application provides a management system and method for equipment to at least solve the problem in the related art that after the cable is replaced or modified, manual updating of record information is prone to errors and has low update efficiency.
[0005] The present application provides a device management system, including: an information collection module, an analysis module, an update module and a display module;
[0006] an information collection module that collects port information of a first port of a target device connected to any target port of the switch based on a preset association relationship table, and sends the port information of the first port to the analysis module; wherein the preset association relationship table records mapping relationships between different ports of the switch connected to the same device or ports of different devices via physical links;
[0007] The analyzing module determines the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determines whether the port connected to the target port has been updated based on the port information of the first port and the port information of the second port; and when it is determined that the port connected to the target port has been updated, sends an update instruction for the port connected to the target port to the updating module;
[0008] In response to the update instruction, the update module updates the port connected to the target port recorded in the preset association table based on the port information of the first port;
[0009] In response to the updated instruction, the display module displays the port information of the first port to which the target port is connected.
[0010] This application provides a device management method, including:
[0011] Collecting port information of a first port of a target device connected to any target port of a switch based on a preset association relationship table; wherein the preset association relationship table records mapping relationships between different ports of the switch connected to the same device or ports of different devices through physical links;
[0012] Determine the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determine whether the port connected to the target port is updated based on the port information of the first port and the port information of the second port;
[0013] When it is determined that the port connected to the target port has been updated, updating the port connected to the target port based on the port information of the first port;
[0014] Displays the port information of the first port to which the target port is connected.
[0015] This application also provides a device management apparatus, including:
[0016] a collection unit, configured to collect port information of a first port of a target device connected to any target port of the switch based on a preset association relationship table; wherein the preset association relationship table records mapping relationships between different ports of the switch connected to the same device or ports of different devices via physical links;
[0017] A first determining unit is configured to determine port information of a second port corresponding to a target port recorded in a preset association relationship table, and determine whether a port connected to the target port has been updated based on the port information of the first port and the port information of the second port;
[0018] an updating unit, configured to update the port connected to the target port based on the port information of the first port when it is determined that the port connected to the target port has been updated;
[0019] The display unit is used to display the port information of the first port connected to the target port.
[0020] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned device management methods when executing the computer program.
[0021] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned device management methods are implemented.
[0022] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned device management methods when executed by a processor.
[0023] This application automatically collects target device port information and matches it with a preset comparison table, replacing manual recording of cable port information. This avoids issues such as manual recording errors and untimely updates. Furthermore, the device port associations are visualized, making cable connection status intuitive and easy for maintenance personnel to quickly understand device connection conditions. This resolves the existing technical issues of cable management relying on manual recording, low updating efficiency, and the tendency to make errors. This improves the accuracy, timeliness, and visualization of cable management, thereby enhancing equipment management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0025] Figure 1 A schematic diagram of a device management system provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of another device management system provided in an embodiment of the present application;
[0027] Figure 3 A flowchart of a fault detection method provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of the structure of a device management device provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of the structure of another device management device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0031] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0032] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0033] See also Figure 1 , Figure 1 A schematic diagram of a device management system provided in an embodiment of the present application, comprising an information collection module 101, an analysis module 102, an update module 103, and a display module 104;
[0034] The information collection module 101 collects port information of a first port of a target device connected to any target port of a switch based on a preset association relationship table, and sends the port information of the first port to the analysis module 102. The preset association relationship table records mapping relationships between different ports of the switch connected to the same device or ports of different devices via physical links.
[0035] The preset association table records the corresponding relationships between each switch port and the ports of the same device or different devices through physical link connections. Specifically, as a key hub for device interconnection, each switch port establishes connections with specific ports on other devices. These connection relationships are stored in the association table as structured data. For example, it records the connection mapping between switch ports and storage device ports or application server ports established using the Fibre Channel (FC) protocol.
[0036] Based on this, the information collection module 101 can collect the port information of the first port of the target device connected to any target port of the switch according to the connection guidance provided by the association table. The port information covers multi-dimensional data content, such as: port number, unique identification device, port status (including port enabled or disabled status, active or inactive status, etc.) to reflect the current operating status of the port, and the World Wide Name (WWN) or Media Access Control Address (MAC address) as the unique identification code of the device port to ensure that the ports of different devices can be accurately distinguished in a complex device network environment. In addition, for storage device ports, it also includes information such as the serial number (SN) of the storage device and the location of the device, so as to facilitate comprehensive management and tracking of the device.
[0037] After the collection is completed, the information collection module 101 sends the acquired port information of the first port to the analysis module 102, thereby providing raw data support for subsequent in-depth analysis and processing, so that the analysis module 102 can further mine the connection relationship and operating status information between devices based on these data, laying a data foundation for the subsequent update and display functions of the entire device management system.
[0038] In some embodiments, the target device may be any switch except the switch corresponding to the target port.
[0039] The analyzing module 102 determines the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determines whether the port connected to the target port has been updated based on the port information of the first port and the port information of the second port; and when it is determined that the port connected to the target port has been updated, sends an update instruction for the port connected to the target port to the updating module 103;
[0040] The analysis module 102 first extracts the port information of the second port corresponding to the target port from a preset association table. The association table records in detail the mapping relationship between the switch port and the ports of other devices based on the physical link. The second port information includes key identification data such as the port number, World Wide Name (WWN), Media Access Control Address (MAC address), as well as operating parameters such as the port status and the device serial number (SN). In some embodiments, the second port information varies depending on the switch. For example, a Fibre Channel switch (FC) is mainly used in a storage area network (SAN) and uses the Fibre Channel protocol. The Fibre Channel protocol uses WWN to uniquely identify each device in the network. An Ethernet switch is used in a local area network (LAN) and uses the Ethernet protocol. The Ethernet protocol uses MAC address to uniquely identify each device in the network. Specifically, the data type included in the second port information is determined based on the type of switch, which is not limited in the present embodiment.
[0041] After obtaining the second port information, the analysis module 102 compares and analyzes it with the port information of the first port sent by the information collection module 101. When the identifiers in the port information of the first port and the port information of the second port are different, that is, when it is determined that the first port and the second port are different, the analysis module 102 can determine that the port connected to the target port has been updated.
[0042] The analysis module 102 generates an update instruction about the port to which the target port is connected and sends it to the update module 103. The update module 103 promptly corrects the relevant device port information in the association table, thereby ensuring that the device connection information stored in the system is always consistent with the actual physical connection status, providing reliable data guarantee for the stable operation of the device management system and the accurate presentation of the subsequent display module 104.
[0043] In response to the update instruction, the update module 103 updates the port connected to the target port recorded in the preset association table based on the port information of the first port;
[0044] In response to the updated instruction, the display module 104 displays the port information of the first port to which the target port is connected.
[0045] After receiving the update instruction from analysis module 102, update module 103 modifies and improves the relevant record of the port connected to the target port in the association table based on the port information of the first port provided by information collection module 101. Update module 103 overwrites the original record in the association table with the port information of the first port, ensuring that the data in the table truly reflects the actual connection status of the target port.
[0046] After completing the update of the association relationship table, the updating module 103 sends an updated instruction to the display module 104 .
[0047] After receiving the instruction, display module 104 visualizes the device connection status based on the updated association table and the port information of the first port. Using a graphics rendering algorithm, display module 104 converts the connection relationship between the target port and the first port into an intuitive graphical representation, presenting it to the user in the form of a graphical interface. In some embodiments, port information of the first port, such as the port number, port status, and detailed parameters of the connected device, may also be annotated and displayed in the form of text, icons, or the like.
[0048] In some embodiments, the system further includes an input module 105;
[0049] The input module 105 obtains the login information of different devices and sends the login information of different devices to the information collection module 101;
[0050] The information collection module 101 determines the login information of a target device from the login information of different devices, logs into the target device according to the login information of the target device, and collects port information of a first port of the target device.
[0051] See also Figure 2 , Figure 2 This is a schematic diagram of another device management system provided by an embodiment of the present application. Input module 105 obtains login information for different devices. This login information covers important data content such as the device Internet Protocol (IP) information, username, password, device type, enabled protocol information, and device location. The device IP information is used to uniquely identify the network address of the device in the network environment. The username and password are the authentication credentials for the system to log in to the target device and obtain data. The device type specifies the functional attributes of the device, such as FC switch, storage server, Ethernet switch, application server, etc. The enabled protocol information determines the data interaction rules between the system and the device. The device location facilitates the physical positioning and management of the device.
[0052] After receiving the login information from different devices, the information collection module 101 determines the login information of the target device from the device login information and completes the login operation for the target device based on the login information of the target device. After the login is successful, the information collection module 101 uses the preset collection program and instructions to start collecting port information from the first port of the target device.
[0053] In some embodiments, the system further includes an alarm module 106;
[0054] The analyzing module 102 determines whether the port status has changed by using the port information and the association relationship table, further comprising:
[0055] The analyzing module 102 determines whether a physical link between the target port of the switch and the first port of the target device is connected based on the port information of the first port of the target device, and sends an alarm instruction regarding the disconnection of the physical link between the target port of the switch and the first port of the target device to the alarm module 106 if it is determined that the physical link between the target port of the switch and the first port of the target device is disconnected.
[0056] Please continue reading Figure 2 The analysis module 102 detects the physical link connectivity between the switch target port and the first port of the target device based on the port information of the first port of the target device acquired by the information collection module 101. During the detection process, the analysis module 102 comprehensively considers multiple dimensions of information, such as port status and connection parameters, such as whether the port is active and whether data transmission is normal.
[0057] When the analysis module 102 determines that the physical link between the target port of the switch and the first port of the target device is disconnected, it generates an alarm instruction regarding the disconnection of the physical link. The alarm instruction includes link information, such as the target port number of the switch involved, the identifier of the first port of the target device, the time when the link was disconnected, and other key data.
[0058] The alarm module 106 , in response to the alarm instruction, sends a port abnormality alarm to the display module 104 , indicating that the physical link between the target port of the switch and the first port of the target device is disconnected.
[0059] After receiving the alarm instruction sent by the analysis module 102 regarding the disconnection of the physical link between the switch target port and the first port of the target device, the alarm module 106 converts the port abnormality involved in the alarm instruction into port abnormality alarm information. The information includes the specific identification of the ports at both ends of the link, such as the port number, the device type and the device serial number, etc., and also includes key elements such as the specific time of the link disconnection and the abnormality type.
[0060] After receiving the port abnormality alarm sent by the alarm module 106, the display module 104 visualizes the alarm information according to preset visualization rules. In some embodiments, the abnormal state of the physical link disconnection between the switch target port and the first port of the target device can be intuitively displayed at the corresponding position in the diagram using a striking color, a flashing effect, or a special icon. The port abnormality information can also be described in text form in the interface.
[0061] In some embodiments, the alarm module 106 , in response to the alarm instruction, sends a port abnormality alarm to the display module 104 regarding a disconnection of a physical link between a target port of the switch and a first port of the target device, including:
[0062] In response to the alarm instruction, the alarm module 106 generates a port abnormality alarm indicating that the physical link between the target port of the switch and the first port of the target device is disconnected, and sends the port abnormality alarm to the display module 104;
[0063] In response to the port abnormality alarm, the display module 104 displays a port abnormality alarm indicating that the physical link between the target port of the switch and the first port of the target device is disconnected.
[0064] In some embodiments, after receiving the alarm instruction, the alarm module 106 extracts information about the target port and the first port, such as the port number, the identifier of the device to which it belongs, the time when the link is disconnected, etc. Based on this information, a port abnormality alarm is generated.
[0065] The embodiment of the present application provides a method for managing a device. Figure 3 , Figure 3 A schematic flow chart of a fault detection method provided in an embodiment of the present application includes:
[0066] Step 201: collecting port information of a first port of a target device connected to any target port of a switch based on a preset association table; wherein the preset association table records mapping relationships between different ports of the switch connected to the same device or different devices via physical links;
[0067] Step 202: Determine the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determine whether the port connected to the target port is updated based on the port information of the first port and the port information of the second port;
[0068] Step 203: When it is determined that the port to which the target port is connected has been updated, the port to which the target port is connected is updated based on the port information of the first port;
[0069] Step 204: Display the port information of the first port to which the target port is connected.
[0070] For the detailed implementation process of steps 201 to 204, please refer to the detailed description of the above-mentioned fault detection system, and the embodiments of the present application will not describe them one by one.
[0071] In some embodiments, after displaying the port information of the first port to which the target port is connected, the method further includes:
[0072] determining whether a physical link between the target port of the switch and the first port of the target device is connected based on the port information of the first port of the target device;
[0073] When it is determined that the physical link between the target port of the switch and the first port of the target device is connected, recording an update of the port to which the target port is connected based on a preset update record table;
[0074] When it is determined that the physical link between the target port of the switch and the first port of the target device is disconnected, a port abnormality alarm is generated indicating that the physical link between the target port of the switch and the first port of the target device is disconnected.
[0075] Displays a port abnormal alarm indicating that the physical link between the target port of the switch and the first port of the target device is disconnected.
[0076] In some embodiments, the detailed implementation method of this step can be found in the detailed description of the above-mentioned fault detection system, and the embodiments of the present application will not describe them one by one.
[0077] In some embodiments, before collecting the port information of the first port of the target device connected to any target port of the switch based on the preset association relationship table, the method further includes:
[0078] Get login information for different devices;
[0079] Collecting port information of a first port of a target device connected to any target port of a switch based on a preset association relationship table includes:
[0080] The login information of the target device is determined from the login information of different devices, the target device is logged in according to the login information of the target device, and the port information of the first port of the target device is collected.
[0081] In some embodiments, the detailed implementation method of this step can be found in the detailed description of the above-mentioned fault detection system, and the embodiments of the present application will not describe them one by one.
[0082] In some embodiments, the port information indicating the first port to which the target port is connected includes:
[0083] Generate a topology relationship diagram based on the mapping relationship between the switch port and the ports of the same device or different devices recorded in the association relationship table; the mapping relationship between the switch port and the ports of the same device or different devices includes a mapping relationship between the target port and the first port;
[0084] Display the topology diagram.
[0085] In some embodiments, the detailed implementation method of this step can be found in the detailed description of the above-mentioned fault detection system, and the embodiments of the present application will not describe them one by one.
[0086] In some embodiments, the fault detection method further comprises the following steps:
[0087] Collecting operating condition information of a physical link between the target port and the first port based on a preset sensor; wherein the operating condition information includes at least one parameter of humidity, temperature, current, and voltage;
[0088] Determine the threshold range within which the parameter in the working condition information falls, and determine the working state of the physical link; wherein different parameter types correspond to different threshold standards; different threshold ranges correspond to different working states; and the working state includes at least one of normal and faulty;
[0089] When the working status of the physical link is faulty, it is determined to execute an alarm.
[0090] In some embodiments, the operating condition information of the physical link may be collected through a preset sensor, and the operating condition information includes at least one parameter such as humidity, temperature, current, and voltage.
[0091] Pre-set sensors are used to capture real-time information about the link's operating conditions. Humidity parameters reflect the humidity level of the physical link's environment. Excessively high humidity can cause problems such as cable insulation degradation and equipment short circuits. Temperature parameters reflect the heat generated during link operation. Abnormally high temperatures may indicate equipment overload, poor heat dissipation, or a potential electrical fault. Current parameters directly reflect the current flow in the link. Abnormal current fluctuations may indicate a short circuit, open circuit, or equipment failure. Voltage parameters are related to the link's power supply stability. Unstable voltage can cause equipment to malfunction or even damage.
[0092] When the system processes the collected working condition information, it will determine the threshold range that each parameter falls into based on the threshold standards corresponding to different parameter types. Different parameter types have different normal operating ranges and safety limits, and therefore correspond to different threshold standards. For example, in the case of a port speed reduction, if the FC port rate recorded in the original table is 32Gb, and the rate drops to 16Gb in the most recently collected data, it will be displayed in the display module through the alarm module; for situations where the FC port or Ethernet port frequently goes up or down, please refer to Table 1, which is a threshold diagram provided in an embodiment of the present application.
[0093] Table 1
[0094]
[0095] As shown in Table 1, each threshold range corresponds to a specific operating state, which includes normal, warning, and fault. When all parameters are within their corresponding normal threshold range, the system determines that the physical link is operating normally. If the parameters exceed the normal threshold range, the system determines that the physical link is operating faulty.
[0096] Alarm methods can be diverse, such as highlighting fault information on the display module with eye-catching colors or flashing icons, accompanied by sound alarms; fault information can also be sent to relevant operation and maintenance personnel in a timely manner via text messages, emails, etc., to ensure that they can quickly learn about the fault situation and take appropriate measures to repair it, thereby ensuring the stable operation of the equipment management system.
[0097] In some embodiments, after determining that a parameter in the operating condition information falls within a threshold range and determining the operating state of the physical link, the method further includes:
[0098] Obtaining a three-dimensional model of the switch and the target device, the three-dimensional model including the physical link between the port of the switch and the port of the target device;
[0099] Mapping the association table and the working status information of the physical link into the three-dimensional model, and adding different virtual labels to different physical links in the three-dimensional model; wherein the virtual labels include the working status of the physical link and the port information of the switch and device connected to the physical link;
[0100] The mapped three-dimensional model is displayed based on a preset display method; wherein, the display method in the preset display method is different depending on the working status of the physical link.
[0101] In a device management system, to ensure stable operation of the physical link between the target port and the first port, its operating condition information needs to be monitored and analyzed in real time. In the embodiment of the present application, a preset sensor is used to collect the operating condition information of the physical link, and the operating condition information includes at least one parameter such as humidity, temperature, current, and voltage.
[0102] This 3D model is a digital simulation of the actual device and its connections, including the physical links between the switch ports and the target device ports. Using 3D modeling technology, it can accurately reproduce the device's appearance, structure, and the physical connections between its ports, providing a foundational framework for subsequent information mapping and presentation.
[0103] The association table records the connection mapping between switch ports and target device ports. The operating status information of the physical link is collected and analyzed by pre-set sensors, including different states such as normal and faulty. During the mapping process, each physical link is matched with the corresponding connection line in the 3D model based on the information in the association table. The operating status information of the physical link is attached to the corresponding line, and different virtual labels are added to different physical links in the 3D model. These virtual labels include the operating status of the physical link, the port information of the switch connected to the physical link, and the port information of the target device. For example, a virtual label might display "Switch Port 1 - Target Device Port 3, Operating Status: Normal" or "Switch Port 2 - Target Device Port 4, Operating Status: Faulty."
[0104] The mapped three-dimensional model is displayed based on the preset display method. The preset display method is differentiated according to the working status of the physical link, and different working statuses will be presented in different forms. For example, a physical link that is working normally may be displayed in a bright, stable color (such as green), while a physical link that is in a faulty state may be highlighted in a striking color (such as red), and the lines may flash or have dynamic warning effects. In addition, different working states can be further distinguished by visual elements such as different transparency and thickness. Through this visual display method, users can intuitively understand the connection relationship between the switch and the target device and the working status of each physical link, thereby more efficiently managing equipment and troubleshooting.
[0105] The input module needs to manually output device information, including device IP information, user name and password, device type, enabled protocol information, device location, etc., to form a table deviceinfo-table. The information is eventually entered into the database. The information obtained by the input module facilitates the subsequent modules to obtain device information.
[0106] The information collection module obtains port-related information of various devices based on the contents of the input information table deviceinfo-table, as follows:
[0107] The FC switch device information, such as the switch SN, port number, WWN, and port status, is reported to the database system to form the table information FCSwitch-Fctable.
[0108] The storage SN, location, FC port number, WWN number, and port status are reported to the database system through the device information of the storage device to form the table information ST-FCtable.
[0109] The Ethernet switch SN, port number, MAC address, and other information are reported to the database system through the Ethernet switch device information to form the table information EthSwitch-Ethtable.
[0110] The device information of the storage device is used to report the storage SN, location, Ethernet port, MAC address, and port status to the database ST-Ethtable.
[0111] The server SN, location, Ethernet port, MAC address, and port status are reported to the database system through the device information of the server device to form the table information Server-Ethtable.
[0112] The server SN, location, FC port, WWN, and port status are reported to the database system through the server device information to form the Server-FC table.
[0113] The analysis module performs correlation analysis on the information obtained by the information collection module, mainly through switches (FC switches and Ethernet switches). The switch connects other devices in the entire device environment topology and plays an important bridge role.
[0114] The analysis module will do the following analysis:
[0115] The WWN of the opposite port obtained by reading the port of the FC switch is compared with the WWN number of the storage. If they are equal, the port number corresponding to the FC switch is associated with the port number corresponding to the storage device. Similarly, if the WWN of the opposite port obtained by reading the port of the FC switch is equal to the WWN of the application server device, the port corresponding to the FC switch is associated with the port position corresponding to the server. The relationship is recorded in the association relationship table, FC-ReTable.
[0116] The MAC address of the peer port corresponding to the port on the Ethernet switch is read and compared with the MAC address of the Ethernet port on the storage. If they are equal, an association relationship (Eth-Re) is established between the port on the Ethernet switch and the corresponding port number in the storage. In the same way, an association relationship (Eth-Re) is established between the port on the Ethernet switch and the Ethernet port of the corresponding application server, and the relationship is recorded in the association relationship table (Eth-ReTable).
[0117] The presentation module converts the resulting charts from the analysis module's final analysis into diagrams based on their relationships. Based on the information gathered by the acquisition and analysis modules, the presentation module draws a diagram of the port connections between devices. The relationships in the analysis module's FC-ReTable and Eth-ReTable are converted into lines. The acquisition module's FC switches, application servers, storage servers, Ethernet switches, and other devices are converted into device legends. This ultimately creates a dynamic topology diagram.
[0118] The update module will collect the changes in the cables and update them to the database.
[0119] The alarm module, in conjunction with the update module, promptly detects unexpected changes in device and port information, such as the following:
[0120] When an FC port or Eth port fails or its status changes, the collection module collects device-side port information every 10 minutes. If the collection results are compared with the original records in the database and the comparison results are the same, no update operation will be performed. If they are different, an update operation will be performed, and if the port is active, it will be recorded in the update record. If the port changes from active to inactive, the information will be proactively sent to the warning module, and the warning module will display the port abnormality in the system. If the port speed decreases, such as the FC port speed recorded in the original table is 32Gb, and the speed drops to 16Gb in the most recently collected data, this will be displayed in the display module through the alarm module. If the FC port or Ethernet port frequently goes up and down, it will be displayed in the display module through the alarm module.
[0121] In the cabinet's cable management trough, a group of intelligent sensors is installed every 4U to monitor the humidity, temperature, current and voltage of the cables and transmit the data to the database system. When the humidity, temperature, current and voltage exceed the threshold, an alarm message will be generated.
[0122] Through the interaction of various modules and using the information in the database, this cabinet cable management method and device will dynamically display a comprehensive cable usage information map to the computer room administrator and other personnel.
[0123] Import database system data into the augmented reality (AR) / virtual reality (VR) system via wireless high-speed networks, and synchronize the status information of computer room cabinet cables in real time via the Simple Network Management Protocol (SNMP).
[0124] Using the AR glasses' camera and Simultaneous Localization and Mapping (SLAM) technology, the equipment in the computer room is scanned and a 3D model is created. The location of the cables is identified and matched with the information in the database.
[0125] On the AR glasses' display, cable information (such as the device it's connected to and the status of the port) is superimposed on the real scene using virtual labels. Different cable states are distinguished by different colors: green indicates a normal cable, red indicates a faulty cable, and light red indicates an aged cable (predicted to be aged).
[0126] Interact with the AR system through voice or gestures, using AI algorithms to predict and identify aging cables, allowing the AR system to mark them. Simulate cable replacement in a VR environment, conduct simulation tests, and develop cable replacement procedures that can then be performed in real life. If the cable problem cannot be identified, experts can remotely access the virtual room to guide on-site maintenance personnel in troubleshooting.
[0127] The maintenance process is recorded through AR glasses, and a report is generated and uploaded back to the database for AI algorithm to evaluate cable life.
[0128] In addition, VR technology is used to create a virtual room environment, allowing maintenance personnel to quickly become familiar with the wiring characteristics of the site and display it to other personnel as a training environment.
[0129] Cable aging is predicted using AI algorithms. The technical details are as follows:
[0130] By collecting historical fault data (failure time, fault type), environmental data (temperature, humidity), sensor data (current, voltage, partial discharge), and mechanical fatigue data (such as number of bends).
[0131] The Long Short-Term Memory (LSTM) model is used to process time series data and the random forest model is used to process structured data. The prediction results of the two models are combined to comprehensively predict the cable life, identify high-risk cables, and generate a cable life report.
[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0133] The embodiment of the present application also provides a device management apparatus, Figure 4 A schematic diagram of a device management apparatus according to an embodiment of the present application is provided. Figure 4 As shown, including:
[0134] A collection unit 31 is configured to collect port information of a first port of a target device connected to any target port of a switch based on a preset association table, wherein the preset association table records mapping relationships between different ports of the switch connected to the same device or ports of different devices via physical links;
[0135] A first determining unit 32 is configured to determine the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determine whether the port connected to the target port has been updated based on the port information of the first port and the port information of the second port;
[0136] an updating unit 33 for updating the port to which the target port is connected based on the port information of the first port when it is determined that the port to which the target port is connected is updated;
[0137] The display unit 34 is configured to display the port information of the first port to which the target port is connected.
[0138] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the device also includes:
[0139] a second determining unit 35 for determining whether a physical link between the target port of the switch and the first port of the target device is connected based on the port information of the first port of the target device after the display unit 34 displays the port information of the first port to which the target port is connected;
[0140] a recording unit 36 configured to record an update of the port to which the target port is connected based on a preset update record table when determining that the physical link between the target port of the switch and the first port of the target device is connected;
[0141] A generating unit 37 is configured to generate a port abnormality alarm indicating that the physical link between the target port of the switch and the first port of the target device is disconnected when it is determined that the physical link between the target port of the switch and the first port of the target device is disconnected;
[0142] The display unit 34 is further configured to display a port abnormality alarm indicating that the physical link between the target port of the switch and the first port of the target device is disconnected.
[0143] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the device also includes:
[0144] A first acquiring unit 38 is configured to acquire login information of different devices before the acquiring unit 31 acquires port information of a first port of a target device connected to any target port of the switch based on a preset association relationship table;
[0145] The acquisition unit 31 is further used for:
[0146] The login information of the target device is determined from the login information of different devices, the target device is logged in according to the login information of the target device, and the port information of the first port of the target device is collected.
[0147] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the display unit 34 is also used for:
[0148] Generate a topology relationship diagram based on the mapping relationship between the switch port and the ports of the same device or different devices recorded in the association relationship table; the mapping relationship between the switch port and the ports of the same device or different devices includes a mapping relationship between the target port and the first port;
[0149] Display the topology diagram.
[0150] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the device also includes:
[0151] The collecting unit 31 is further configured to collect operating condition information of the physical link between the target port and the first port based on a preset sensor; wherein the operating condition information includes at least one parameter selected from humidity, temperature, current, and voltage;
[0152] A third determining unit 39 is configured to determine a threshold range within which a parameter in the operating condition information falls, and determine an operating state of the physical link; wherein different parameter types correspond to different threshold standards; different threshold ranges correspond to different operating states; and the operating state includes at least one of normal and faulty.
[0153] The execution unit 310 is configured to determine to execute an alarm when the working status of the physical link is a fault.
[0154] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 5 As shown, the device also includes:
[0155] A second acquiring unit 311 is configured to determine, after the third determining unit 39 determines the threshold range within which the parameter in the operating condition information falls and determines the operating status of the physical link, acquire a three-dimensional model of the switch and the target device, where the three-dimensional model includes the physical link between the port of the switch and the port of the target device;
[0156] A mapping unit 312 is configured to map the association table and the operating status information of the physical link into the three-dimensional model, and to add different virtual labels to different physical links in the three-dimensional model; wherein the virtual labels include the operating status of the physical link and the port information of the switch and the port information of the device connected to the physical link;
[0157] The display unit 33 is further configured to display the mapped three-dimensional model based on a preset display method; wherein, the display method in the preset display method is different depending on the working status of the physical link.
[0158] For the description of the features in the embodiment corresponding to the device management apparatus, please refer to the relevant description of the embodiment corresponding to the device management method, and no further details will be given here.
[0159] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned device management method embodiments.
[0160] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above-mentioned XX method embodiments when run.
[0161] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0162] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned device management method embodiments are implemented.
[0163] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above-mentioned device management method embodiments are implemented.
[0164] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0165] The above is a detailed introduction to the management system and method of a device provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A device management system, characterized in that: Including information collection module, analysis module, update module and display module; The information collection module collects port information of a first port of a target device connected to any target port of the switch based on a preset association relationship table, and sends the port information of the first port to the analysis module; wherein the preset association relationship table records mapping relationships between different ports of the switch connected to the same device or ports of different devices through physical links; The analyzing module determines the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determines whether the port connected to the target port has been updated based on the port information of the first port and the port information of the second port; and when it is determined that the port connected to the target port has been updated, sends an update instruction for the port connected to the target port to the updating module; In response to the update instruction, the update module updates the port connected to the target port recorded in the preset association table based on the port information of the first port; In response to the updated instruction, the display module displays the port information of the first port to which the target port is connected.
2. The equipment management system according to claim 1, characterized in that: The system further includes an input module; The input module obtains login information of different devices and sends the login information of different devices to the information collection module; The information collection module determines the login information of the target device from the login information of the different devices, logs in to the target device according to the login information of the target device, and collects port information of the first port of the target device.
3. The equipment management system according to claim 1, characterized in that: The system also includes an alarm module; The analyzing module determining whether the port status has changed by using the port information and the association relationship table further includes: the analyzing module determining, based on the port information of the first port of the target device, whether a physical link between the target port of the switch and the first port of the target device is connected, and sending an alarm instruction regarding the disconnection of the physical link between the target port of the switch and the first port of the target device to the alarm module if it is determined that the physical link between the target port of the switch and the first port of the target device is disconnected; The alarm module, in response to the alarm instruction, sends a port abnormality alarm to the display module regarding a disconnection of a physical link between a target port of the switch and a first port of the target device.
4. The equipment management system according to claim 3, characterized in that: The alarm module, in response to the alarm instruction, sending a port abnormality alarm to the display module regarding a disconnection of a physical link between a target port of the switch and a first port of the target device includes: In response to the alarm instruction, the alarm module generates a port abnormality alarm indicating that a physical link between a target port of the switch and a first port of the target device is disconnected, and sends the port abnormality alarm to the display module; In response to the port abnormality alarm, the display module displays a port abnormality alarm indicating that a physical link between a target port of the switch and a first port of the target device is disconnected.
5. A device management method, characterized in that: include: Collecting port information of a first port of a target device connected to any target port of a switch based on a preset association relationship table; wherein the preset association relationship table records mapping relationships between different ports of the switch connected to the same device or ports of different devices through physical links; Determining the port information of the second port corresponding to the target port recorded in the preset association relationship table, and determining whether the port connected to the target port is updated based on the port information of the first port and the port information of the second port; When it is determined that the port connected to the target port has been updated, updating the port connected to the target port based on the port information of the first port; Display port information of the first port to which the target port is connected.
6. The device management method according to claim 5, characterized in that: After displaying the port information of the first port to which the target port is connected, the method further includes: determining, based on the port information of the first port of the target device, whether a physical link between the target port of the switch and the first port of the target device is connected; When it is determined that the physical link between the target port of the switch and the first port of the target device is connected, recording an update of the port to which the target port is connected based on a preset update record table; generating a port abnormality alarm indicating that the physical link between the target port of the switch and the first port of the target device is disconnected when it is determined that the physical link between the target port of the switch and the first port of the target device is disconnected; A port abnormality alarm is displayed indicating that the physical link between the target port of the switch and the first port of the target device is disconnected.
7. The device management method according to claim 5, characterized in that: Before collecting the port information of the first port of the target device connected to any target port of the switch based on the preset association relationship table, the method further includes: Get login information for different devices; The collecting, based on the preset association relationship table, the port information of the first port of the target device connected to any target port of the switch includes: The login information of the target device is determined from the login information of the different devices, the target device is logged in according to the login information of the target device, and the port information of the first port of the target device is collected.
8. The device management method according to claim 5, characterized in that: The port information showing the first port to which the target port is connected includes: generating a topology relationship diagram based on the mapping relationship between the port of the switch and the ports of the same device or different devices recorded in the association relationship table; the mapping relationship between the port of the switch and the ports of the same device or different devices includes the mapping relationship between the target port and the first port; The topological relationship diagram is displayed.
9. The device management method according to any one of claims 5 to 8, characterized in that: The method further comprises: Collecting operating condition information of the physical link between the target port and the first port based on a preset sensor; wherein the operating condition information includes at least one parameter of humidity, temperature, current, and voltage; Determining a threshold range within which a parameter in the operating condition information falls, and determining an operating state of the physical link; wherein different parameter types correspond to different threshold standards; different threshold ranges correspond to different operating states; and the operating state includes at least one of normal and faulty; When the working state of the physical link is a fault, it is determined to execute an alarm.
10. The device management method according to claim 9, characterized in that: After determining that the parameter in the operating condition information falls within a threshold range and determining the operating state of the physical link, the method further includes: Acquire a three-dimensional model of a switch and a target device, wherein the three-dimensional model includes a physical link between a port of the switch and a port of the target device; Mapping the association table and the working status information of the physical link into the three-dimensional model, and adding different virtual labels to different physical links in the three-dimensional model; wherein the virtual labels include the working status of the physical link and the port information of the switch and the port information of the device connected to the physical link; The mapped three-dimensional model is displayed based on a preset display method; wherein, the display method in the preset display method is different depending on the working status of the physical link.