Equipment management method, electronic equipment and storage medium

Through automated scanning and proxy services, the operating status of new equipment is monitored, and the problem of low manual monitoring efficiency in large-scale equipment management is solved, improving operation and maintenance efficiency and reducing costs.

CN119211338AInactive Publication Date: 2024-12-27TIANJIN TIANHE COMPUTER TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411688925.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

With the growth of computing power, the way of manually discovering and monitoring new equipment cannot meet the needs of large-scale equipment management, resulting in low operation and maintenance efficiency and high cost.

Method used

By scanning the cabinet ports or network segments regularly, new devices can be automatically discovered and proxy services can be deployed to obtain operation information, and automated monitoring and alarm processing can be achieved.

Benefits of technology

Improve operation and maintenance efficiency, reduce manual errors, reduce operation and maintenance costs, and realize automatic discovery and monitoring of new equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211338A_ABST
    Figure CN119211338A_ABST
Patent Text Reader

Abstract

The invention provides a device management method, an electronic device and a storage medium, and the device management method comprises the steps: periodically scanning all machine frame ports of a corresponding target platform cabinet, or detecting a preset network segment of a corresponding target platform, so as to determine whether there is a new device added to the target platform; obtaining basic information of newly added equipment in response to the fact that the newly added equipment is added to the target platform; determining a target proxy service according to the basic information of the newly added device and the identity information of the target platform; deploying the target proxy service to the newly-added device so as to obtain operation information of the newly-added device through the target proxy service; and monitoring the operation state of the newly-added equipment based on the operation information of the newly-added equipment. The purpose of automatically discovering the equipment newly added to the target platform is achieved, the purpose of automatically monitoring the operation state of each piece of equipment is achieved, and the operation and maintenance efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a device management method, an electronic device and a storage medium. Background Art

[0002] With the popularization of technologies such as big data, artificial intelligence, cloud computing, and high-performance computing, the demand for computing power has exploded. The scale of computing platforms continues to expand, and the types and number of devices continue to increase, including servers, storage devices, network devices, and security devices. In order to ensure the normal operation of the equipment, it is necessary to monitor the operating status of the equipment, and when a new device is added, the operating status of the new device should also be monitored in time to ensure the normal operation of the equipment.

[0003] As the types and numbers of devices continue to increase, the method of manually discovering the addition of new devices and monitoring the operating status of devices is obviously no longer able to meet the needs of large-scale device management.

[0004] Therefore, this application is specially filed. Summary of the invention

[0005] In view of this, the purpose of this application is to propose a device management method, an electronic device and a storage medium, which realizes the purpose of automatically discovering devices newly added to the target platform, and realizes the purpose of monitoring the operating status of each device in an automated manner, which is conducive to improving operation and maintenance efficiency, reducing human errors, and reducing operation and maintenance costs.

[0006] Based on the above objectives, in a first aspect, the present application provides a device management method, including:

[0007] Regularly scan all chassis ports of the cabinet of the corresponding target platform, or detect the preset network segment of the corresponding target platform to determine whether there is a new device added to the target platform;

[0008] In response to a new device being added to the target platform, obtaining basic information of the new device;

[0009] Determine the target proxy service according to the basic information of the newly added device and the identity information of the target platform;

[0010] Deploy the target proxy service to the newly added device to obtain the operation information of the newly added device through the target proxy service;

[0011] The operating status of the newly added device is monitored based on the operating information of the newly added device.

[0012] Further, the periodic scanning of all frame ports of the cabinet corresponding to the target platform, or detecting the preset network segment of the corresponding target platform to determine whether there is a new device added to the target platform, includes: sending an inquiry message to all frame ports of the cabinet corresponding to the target platform through a preset protocol at a preset frequency;

[0013] Receive response messages fed back by each chassis port;

[0014] Determine whether the corresponding chassis is bound to a newly added device based on the response message;

[0015] In response to the presence of a chassis bound with a newly added device, it is determined that a newly added device is added to the target platform.

[0016] Further, the periodic scanning of all chassis ports of the cabinet corresponding to the target platform, or detecting a preset network segment corresponding to the target platform, to determine whether there is a new device added to the target platform, includes:

[0017] Detect the real-time number of IP addresses in the preset network segment corresponding to the target platform;

[0018] In response to the real-time number being greater than the historical number of IP addresses in the preset network segment, it is determined that there is a new device added to the target platform.

[0019] Further, determining the target proxy service according to the basic information of the newly added device and the identity information of the target platform includes:

[0020] According to the mapping relationship between the platform identity information, the basic information of the device and the proxy service, the target proxy service matching the basic information of the newly added device and the identity information of the target platform is searched.

[0021] Further, the monitoring the operating status of the newly added device based on the operating information of the newly added device includes:

[0022] Determining a matching target rule from pre-stored alarm rules based on the basic information of the newly added device and the identity information of the target platform;

[0023] In response to the operating information of the newly added device satisfying the target rule, an alarm operation is performed, and / or an execution script associated with the target rule is called, and the execution script is controlled to run on the newly added device to solve the corresponding alarm problem.

[0024] Furthermore, it also includes:

[0025] In response to the operating information of the newly added device satisfying the target rule, displaying a matching alarm icon in association with the visual display interface of the newly added device;

[0026] In response to a trigger operation on the alarm icon, detailed alarm content is displayed.

[0027] Furthermore, it also includes:

[0028] Determine component information of the newly added device according to the operation information of the newly added device fed back by the target proxy service; and determine other devices having a communication link relationship with the newly added device;

[0029] The newly added device is associated with the component information and displayed visually, and the newly added device is associated with the other devices and displayed visually.

[0030] Furthermore, it also includes:

[0031] Receive device configuration change information, or detect each device configuration information according to a preset period, and determine the device configuration change information based on the detected device configuration information and the stored device configuration information;

[0032] The device configuration change information is recorded in the audit log of the platform to which the device belongs, and a device configuration change notification is sent to the associated management personnel, and a change mark is added to the visual display interface of the device. When the change mark is triggered, the device configuration change information is displayed.

[0033] Based on the above purpose, in a second aspect, the present application also provides a device management apparatus, including:

[0034] A first determination module is used to periodically scan all frame ports of the cabinet corresponding to the target platform, or detect a preset network segment corresponding to the target platform to determine whether there is a new device added to the target platform;

[0035] An acquisition module, configured to, in response to a new device being added to the target platform, acquire basic information of the new device;

[0036] A second determination module is used to determine a target proxy service according to the basic information of the newly added device and the identity information of the target platform;

[0037] A deployment module, used to deploy the target proxy service to the newly added device, so as to obtain the operation information of the newly added device through the target proxy service;

[0038] A monitoring module is used to monitor the operating status of the newly added device based on the operating information of the newly added device.

[0039] Based on the above purpose, in a third aspect, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the device management method as described in the first aspect above is implemented.

[0040] Based on the above purpose, in a fourth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the device management method as described in the first aspect above.

[0041] From the above, it can be seen that the device management method provided by the present application discovers the newly added devices of the platform through automated means, and automatically collects the operation information of the newly added devices, thereby realizing automatic monitoring of the newly added devices, realizing the purpose of automatically discovering the devices newly added to the target platform, and realizing the purpose of monitoring the operation status of each device in an automated manner, which is conducive to improving operation and maintenance efficiency, reducing manual errors, and reducing operation and maintenance costs. Specifically, regularly scan all the frame ports of the cabinet corresponding to the target platform, or detect the preset network segment of the corresponding target platform to determine whether there are new devices added to the target platform; in response to the existence of new devices added to the target platform, obtain the basic information of the new devices; determine the target proxy service based on the basic information of the new devices and the identity information of the target platform; deploy the target proxy service to the new devices to obtain the operation information of the new devices through the target proxy service; monitor the operation status of the new devices based on the operation information of the new devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 A schematic diagram of a device management method according to an embodiment of the present application Figure 1 ;

[0044] Figure 2 A schematic diagram of a device management method according to an embodiment of the present application Figure 2 ;

[0045] Figure 3 A schematic diagram of the structure of a device management device according to an embodiment of the present application;

[0046] Figure 4A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0048] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0049] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0050] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0051] Embodiment 1

[0052] Figure 1A flow chart of a device management method is shown, which is suitable for managing devices involving large-scale computing such as supercomputing platforms, including automatically discovering new devices, remotely monitoring new devices, etc. By implementing it through automated means, human resources and costs can be saved, the error rate can be reduced, and the operation and maintenance efficiency can be improved. The device management method can be executed by a device management device, which can be implemented in the form of software and / or hardware and can be integrated into electronic equipment, such as a management system.

[0053] like Figure 1 As shown, the device management method includes the following steps:

[0054] S110 , periodically scan all chassis ports of the cabinet corresponding to the target platform, or detect the preset network segment corresponding to the target platform to determine whether there is a new device added to the target platform.

[0055] Different platforms correspond to different cabinets, and the cabinets are equipped with devices that provide resources for the corresponding platforms, such as servers, storage devices, network devices, security devices, and other devices of different types and quantities.

[0056] Specifically, the cabinet includes multiple frames, which are used to bind different devices, usually one frame is bound to one device. When the staff puts a new device on the cabinet, the information of the new device will be bound to the frame, so by scanning the ports of the frame, it can be determined whether there is a new device added.

[0057] Exemplarily, the periodic scanning of all chassis ports of a cabinet corresponding to the target platform to determine whether there is a new device added to the target platform includes:

[0058] According to a preset frequency, an inquiry message is sent to all frame ports of the cabinet of the corresponding target platform through a preset protocol (such as TCP protocol or UDP protocol); a response message fed back by each frame port is received; based on the response message, it is determined whether the corresponding frame is bound to a new device; in response to the existence of a frame bound to a new device, it is determined that a new device has been added to the target platform.

[0059] In other implementations, when creating a platform, network segments of different ranges are set for the platform. The device IPs that provide resources for the platform are usually within the set network segment range. Therefore, when new devices are added, the number of IPs in the corresponding network segment will increase accordingly. Therefore, based on this, it is also possible to automatically determine whether there are new devices.

[0060] In summary, the detecting of a preset network segment corresponding to a target platform to determine whether a new device has been added to the target platform includes:

[0061] Detecting the real-time number of IP addresses in a preset network segment corresponding to the target platform; in response to the real-time number being greater than the historical number of IP addresses in the preset network segment, determining that a new device has been added to the target platform.

[0062] Automatic discovery of new devices is achieved through automated means, saving human resources and costs, and helping to improve operation and maintenance efficiency.

[0063] S120: In response to a new device being added to the target platform, basic information of the new device is obtained.

[0064] The basic information of the newly added device may include, for example, the device location, manufacturer, device model, device interface, device system version, etc.

[0065] The purpose of obtaining the basic information of the newly added device is to determine a matching target proxy service for the newly added device, so as to collect the operation information or other required information of the newly added device through the target proxy service, so as to realize automatic management of the newly added device.

[0066] Optionally, basic information of the newly added device can be requested through the IPMI port of the newly added device, or basic information of the newly added device can be requested through HTTP protocol or SNMP (Simple Network Management Protocol).

[0067] S130: Determine a target proxy service according to the basic information of the newly added device and the identity information of the target platform.

[0068] Among them, different types of devices (device types can be reflected by the basic information of the devices) are compatible with different services, and the services provided by the same type of devices on different platforms are different. Therefore, it is necessary to determine the target proxy service adapted to the newly added device based on the basic information of the newly added device and the identity information of the target platform.

[0069] Optionally, according to the mapping relationship between the platform identity information, the basic information of the device and the proxy service, the target proxy service matching the basic information of the newly added device and the identity information of the target platform is searched.

[0070] S140: Deploy the target proxy service to the newly added device to obtain the operation information of the newly added device through the target proxy service.

[0071] Optionally, the target proxy service can be deployed to the newly added device through Ansible. Ansible is an automated operation and maintenance tool that can help administrators deploy applications on multiple devices.

[0072] The operation information includes, for example, network signal, network strength, CPU occupancy, memory usage, storage space usage and other information.

[0073] S150: Monitor the operating status of the newly added device based on the operating information of the newly added device.

[0074] Exemplarily, the operating status of the newly added device is monitored based on the operating information of the newly added device, including: determining a matching target rule from pre-stored alarm rules based on the basic information of the newly added device and the identity information of the target platform; in response to the operating information of the newly added device satisfying the target rule, executing an alarm operation, and / or calling an execution script associated with the target rule, and controlling the execution script to run on the newly added device to solve the corresponding alarm problem.

[0075] Alarm rules are formulated in advance for each device in each platform. When a new device is added, the alarm rules that are adapted to it are determined based on the basic information of the new device and the identity information of the platform. Then, based on the alarm rules and the operating information of the new device, the operating status of the new device is intelligently monitored. When the alarm rules are met, an alarm can be issued (for example, an email or text message can be sent to the management staff) to enable the management staff to intervene and solve the problem in time to ensure the normal operation of the equipment.

[0076] Furthermore, a script for solving the alarm problem can be developed for each alarm rule. When the same alarm problem occurs in the device, the alarm problem can be solved by running the corresponding script, thereby achieving automatic resolution of the alarm problem, greatly improving operation and maintenance efficiency and ensuring the normal operation of the equipment.

[0077] In general, in response to the operating information of the newly added device satisfying the target rule, the execution script associated with the target rule is called, and the execution script is controlled to run on the newly added device to solve the corresponding alarm problem.

[0078] The device management method provided by the present application discovers new devices on the platform through automated means, and automatically collects the operating information of the new devices, thereby realizing automatic monitoring of the new devices, realizing the purpose of automatically discovering the devices newly added to the target platform, and realizing the purpose of monitoring the operating status of each device through automated means, which is conducive to improving operation and maintenance efficiency, reducing manual errors, and reducing operation and maintenance costs. In particular, when it is determined that the newly added device meets the alarm conditions, on the one hand, an alarm can be triggered, and on the other hand, the associated execution script can be run to try to automatically solve the alarm problem, which greatly improves the operation and maintenance efficiency and saves labor costs.

[0079] Embodiment 2

[0080] Based on the above embodiment, this embodiment further optimizes the solution, specifically by adding the operation of automatically discovering the topological relationship between devices and the components inside the devices, and visually displaying the topological relationship between devices and the components inside the devices, in order to facilitate the management personnel to clearly understand the topological relationship between devices and the components inside the devices at a glance, thereby facilitating the management personnel to formulate reasonable management plans and achieve optimized management of the devices. Figure 2 As shown, the device management method includes the following steps:

[0081] S210: Periodically scan all chassis ports of the cabinet corresponding to the target platform, or detect the preset network segment corresponding to the target platform to determine whether there is a new device added to the target platform.

[0082] S220: In response to a new device being added to the target platform, basic information of the new device is obtained.

[0083] S230: Determine a target proxy service according to the basic information of the newly added device and the identity information of the target platform.

[0084] S240: Deploy the target proxy service to the newly added device to obtain the operation information of the newly added device through the target proxy service.

[0085] S250. Determine a matching target rule from pre-stored alarm rules based on the basic information of the newly added device and the identity information of the target platform; in response to the operating information of the newly added device satisfying the target rule, associate and display a matching alarm icon on the visual display interface of the newly added device.

[0086] S260: In response to a triggering operation on the alarm icon, display alarm details.

[0087] By displaying the alarm icons of newly added devices on the visual display interface, managers can promptly learn about devices with alarm problems. When managers trigger the alarm icon, they can further display the alarm details, such as the cause of the alarm (such as excessive memory usage), making it easier for managers to trace, solve and optimize problems, which helps improve operation and maintenance efficiency and management quality.

[0088] At the same time, the alarm event can be notified to the management personnel through email or SMS. At the same time, the device node on the device relationship diagram will be immediately updated to a state with an alarm mark (such as a red bubble or a flashing red icon). This allows the administrator to intuitively see which device has a problem. The alarm bubble is designed to be interactive, and the administrator can click to view detailed alarm information, such as which specific indicator exceeds the threshold, historical data trends, and other relevant information about the device. When an alarm occurs, if there is a corresponding processing script in the operation and maintenance script library, the system fault will be automatically processed and the alarm will be restored. If there is no automatic processing script, the administrator needs to manually handle the system fault. After the fault is restored, the alarm status mark on the device relationship diagram will also be eliminated, and an audit log of the occurrence and processing of the fault will be recorded in the system.

[0089] S270. Determine component information of the newly added device based on operation information of the newly added device fed back by the target proxy service; and determine other devices that have a communication link relationship with the newly added device; associate and visualize the newly added device with the component information, and associate and visualize the newly added device with the other devices.

[0090] Specifically, the component information of the newly added device may include the services running on the newly added device and the number and type of ports of the newly added device. By visually displaying the component information of the device and the topological relationship between the device and other devices, the management personnel can clearly understand the topological relationship between the devices and the components inside the device at a glance, thereby making it easier for the management personnel to formulate reasonable management plans and achieve optimized management of the devices.

[0091] In some implementations, it is also possible to automatically monitor device configuration change information (such as memory space, hard disk, processor, etc.) and change device configuration information in a timely manner to facilitate the formulation of various subsequent strategies. Specifically, receive device configuration change information, or detect each device configuration information according to a preset period, and determine the device configuration change information based on the detected device configuration information and the stored device configuration information; record the device configuration change information in the audit log of the platform to which the device belongs, send a device configuration change notification to the associated management personnel, and add a change mark to the visual display interface of the device. When the change mark is triggered, display the device configuration change information.

[0092] Specifically, changes in device configuration are usually divided into two situations. One is that when the device configuration changes, the change event will be actively pushed to the device management system. In this case, you only need to update the corresponding configuration information. The other is that the device configuration change cannot actively send a change event. In this case, the device management system needs to periodically detect the device configuration. After obtaining the device configuration, it is compared with the previously saved configuration information to determine the changed part and record the changes in the audit log. At the same time, the device administrator will be notified through email, SMS, WeChat, etc., and the device with configuration changes will be marked with a red bubble event on the visual relationship diagram of the device. If the user clicks the change mark, the configuration change details will be displayed to indicate which configurations have changed, so that the administrator can view the details of the change. After the administrator confirms the change information, the change mark can be manually cleared. By automatically detecting the device configuration, identifying the changed configuration content, and further recording the changes in the audit log, automatic maintenance of configuration changes is achieved, saving human resources and reducing the error rate. By prompting the administrator and marking the devices with configuration changes through the visual relationship diagram, it is convenient for the administrator to view and maintain, and improves management efficiency.

[0093] Embodiment 3

[0094] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a device management apparatus.

[0095] refer to Figure 3 The device management device includes: a first determination module 310, which is used to periodically scan all frame ports of the cabinet corresponding to the target platform, or detect the preset network segment of the corresponding target platform to determine whether there is a new device added to the target platform; an acquisition module 320, which is used to obtain the basic information of the new device in response to the addition of the new device to the target platform; a second determination module 330, which is used to determine the target proxy service according to the basic information of the new device and the identity information of the target platform; a deployment module 340, which is used to deploy the target proxy service to the new device to obtain the operating information of the new device through the target proxy service; a monitoring module 350, which is used to monitor the operating status of the new device based on the operating information of the new device.

[0096] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0097] The apparatus of the above embodiment is used to implement the corresponding device management method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0098] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the device management method described in any of the embodiments is implemented.

[0099] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0100] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0101] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0102] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0103] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0104] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0105] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0106] The electronic device of the above embodiment is used to implement the corresponding device management method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0107] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the device management method described in any of the above embodiments.

[0108] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, read-only 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.

[0109] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the device management method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0110] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0111] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0112] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0113] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A device management method, characterized in that: include: Regularly scan all chassis ports of the cabinet of the corresponding target platform, or detect the preset network segment of the corresponding target platform to determine whether there is any new device added to the target platform; In response to a new device being added to the target platform, obtaining basic information of the new device; Determine the target proxy service according to the basic information of the newly added device and the identity information of the target platform; Deploy the target proxy service to the newly added device to obtain the operation information of the newly added device through the target proxy service; The operating status of the newly added device is monitored based on the operating information of the newly added device.

2. The device management method according to claim 1, characterized in that: The periodic scanning of all chassis ports of the cabinet corresponding to the target platform, or detecting a preset network segment corresponding to the target platform to determine whether there is a new device added to the target platform, includes: Sending inquiry messages to all chassis ports of the corresponding target platform cabinet through a preset protocol at a preset frequency; Receive response messages fed back by each chassis port; Determine whether the corresponding chassis is bound to a newly added device based on the response message; In response to the presence of a chassis bound with a newly added device, it is determined that a newly added device is added to the target platform.

3. The device management method according to claim 1, characterized in that: The periodic scanning of all chassis ports of the cabinet corresponding to the target platform, or detecting a preset network segment corresponding to the target platform to determine whether there is a new device added to the target platform, includes: Detect the real-time number of IP addresses in the preset network segment corresponding to the target platform; In response to the real-time number being greater than the historical number of IP addresses in the preset network segment, it is determined that there is a new device added to the target platform.

4. The device management method according to claim 1, characterized in that: The determining the target proxy service according to the basic information of the newly added device and the identity information of the target platform includes: According to the mapping relationship between the platform identity information, the basic information of the device and the proxy service, the target proxy service matching the basic information of the newly added device and the identity information of the target platform is searched.

5. The device management method according to claim 1, characterized in that: The monitoring the operating status of the newly added device based on the operating information of the newly added device includes: Determining a matching target rule from pre-stored alarm rules based on the basic information of the newly added device and the identity information of the target platform; In response to the operating information of the newly added device satisfying the target rule, an alarm operation is performed, and / or an execution script associated with the target rule is called, and the execution script is controlled to run on the newly added device to solve the corresponding alarm problem.

6. The device management method according to claim 5, characterized in that: Also includes: In response to the operating information of the newly added device satisfying the target rule, displaying a matching alarm icon in association with the visual display interface of the newly added device; In response to a trigger operation on the alarm icon, detailed alarm content is displayed.

7. The device management method according to claim 1, characterized in that: Also includes: Determine component information of the newly added device according to the operation information of the newly added device fed back by the target proxy service; and determining other devices that have a communication link relationship with the newly added device; The newly added device is associated with the component information and displayed visually, and the newly added device is associated with the other devices and displayed visually.

8. The device management method according to claim 1, characterized in that: Also includes: Receive device configuration change information, or detect each device configuration information according to a preset period, and determine the device configuration change information based on the detected device configuration information and the stored device configuration information; The device configuration change information is recorded in the audit log of the platform to which the device belongs, and a device configuration change notification is sent to the associated management personnel, and a change mark is added to the visual display interface of the device. When the change mark is triggered, the device configuration change information is displayed.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the device management method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the device management method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Equipment fault repairing method and device

    CN111176879A

  • System and method for automatically discovering cloud environment equipment

    CN111597012A

  • Monitoring platform and monitoring method for SRDC whole cabinet nodes

    CN111970146A

  • Method for automatically adding monitoring equipment, terminal and storage medium

    CN112181785A

  • Network monitoring method, system and device, computer equipment and storage medium

    CN114124655A