Equipment monitoring method and device, equipment and medium
By generating equipment monitoring tables and automated verification strategies, the problem of low manual management efficiency in the existing technology is solved, automatic monitoring of the network equipment management system is realized, and the efficiency and accuracy of large-scale equipment management are improved.
Patent Information
- Application Number
- CN202410991920.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-29
AI Technical Summary
The existing network device management system relies on manual configuration and management, which is inefficient and lacks automated monitoring capabilities, making it unable to efficiently handle large-scale device management needs.
By obtaining the device monitoring table and generating it based on the preset template and basic attribute data, the device checksum strategy is determined to achieve automated monitoring and improve monitoring efficiency.
It realizes automated monitoring of network equipment management systems, improves monitoring efficiency, reduces human errors, supports batch operations and information accuracy, and is suitable for large-scale network environments.
Smart Images

Figure CN118869540A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of equipment monitoring, and in particular, to an equipment monitoring method, apparatus, device and medium. Background Art
[0002] Currently, most common network equipment management systems on the market rely on manual configuration and management. Although some systems have introduced protocols such as SNMP (Simple Network Management Protocol) for equipment monitoring, the overall process is still relatively cumbersome. Therefore, it is crucial to improve the efficiency of network equipment management systems in monitoring equipment. Summary of the invention
[0003] The present invention provides a device monitoring method, apparatus, equipment and medium to realize automatic monitoring of equipment by a network device management system and improve monitoring efficiency.
[0004] According to one aspect of the present invention, there is provided a device monitoring method, comprising:
[0005] Obtaining a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored;
[0006] According to a preset candidate verification strategy, monitoring verification is performed on each of the devices to be monitored in the device monitoring table, and according to the device verification result, a target monitoring device is determined from each of the devices to be monitored in the device monitoring table;
[0007] The target device model identification of the target monitoring device is obtained, a target monitoring strategy is determined according to a preset device model database and the target device model identification, and the target monitoring device is monitored based on the target monitoring strategy.
[0008] According to another aspect of the present invention, there is provided a device monitoring apparatus, comprising:
[0009] The device monitoring table acquisition module is used to acquire a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored;
[0010] A target monitoring device determination module, used to perform monitoring verification on each of the devices to be monitored in the device monitoring table according to a preset candidate verification strategy, and determine a target monitoring device from each of the devices to be monitored in the device monitoring table according to the device verification result;
[0011] The device monitoring module is used to obtain the target device model identification of the target monitoring device, determine the target monitoring strategy according to a preset device model database and the target device model identification, and monitor the target monitoring device based on the target monitoring strategy.
[0012] According to another aspect of the present invention, there is provided an electronic device, comprising:
[0013] one or more processors;
[0014] A memory for storing one or more programs;
[0015] When one or more programs are executed by one or more processors, the one or more processors can execute any device monitoring method provided by the embodiments of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement any device monitoring method provided by an embodiment of the present invention when executed.
[0017] The embodiment of the present invention provides a device monitoring solution, which obtains a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored; according to a preset candidate verification strategy, each device to be monitored in the device monitoring table is monitored and verified, and according to the device verification result, a target monitoring device is determined from each device to be monitored in the device monitoring table; the target device model identification of the target monitoring device is obtained, and the target monitoring strategy is determined according to the preset device model database and the target device model identification, and the target monitoring device is monitored based on the target monitoring strategy. The above scheme, by introducing the device monitoring table, enables the network device management system to monitor the devices to be monitored within the management scope according to the device monitoring table, thereby realizing automatic monitoring of devices by the network device management system and improving monitoring efficiency.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a flow chart of a device monitoring method provided by Embodiment 1 of the present invention;
[0021] Figure 2 is a flow chart of a device monitoring method provided by Embodiment 2 of the present invention;
[0022] Figure 3 is a structural schematic diagram of a device monitoring apparatus provided by Embodiment 3 of the present invention;
[0023] Figure 4 It is a structural diagram of an electronic device for implementing a device monitoring method provided in a fourth embodiment of the present invention. DETAILED DESCRIPTION
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Most of the common network equipment management systems on the market currently rely on manual configuration and management. Although some systems have introduced protocols such as SNMP for equipment monitoring, the overall process is still relatively cumbersome. The main background technologies include the following: manual equipment management, where operation and maintenance personnel need to configure and monitor each device one by one, which is time-consuming, labor-intensive, and prone to errors; single-device SNMP monitoring, where some systems can monitor a single device through the SNMP protocol, but lack the ability to perform batch operations; static equipment information management, where equipment information needs to be manually entered and maintained, and information is not updated in a timely manner, which can easily lead to management confusion.
[0026] The existing technology has the following shortcomings: manual operation is cumbersome, and operation and maintenance personnel are required to configure and monitor each device one by one, which is inefficient and prone to configuration errors; there is a lack of batch operation, and most of the existing technologies manage single devices and cannot efficiently handle the management needs of large-scale devices; the information is inaccurate, and the equipment information needs to be manually entered and maintained, which leads to problems of inaccurate and untimely information, affecting the effectiveness of equipment management; there is a lack of template management, and there is a lack of standardized management templates for different equipment models, and the configuration and monitoring strategies are not unified.
[0027] Embodiment 1
[0028] Figure 1 This is a flow chart of a device monitoring method provided in Example 1 of the present invention. This embodiment is applicable to situations where equipment is to be monitored. The method can be executed by a device monitoring apparatus, which can be implemented in software and / or hardware and can be configured in an electronic device that carries the device monitoring function.
[0029] See also Figure 1 The device monitoring method shown includes:
[0030] S110: Obtain a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system.
[0031] The monitored device refers to a device that needs to be monitored. The embodiment of the present invention does not impose any limitation on the monitored device, and the device can be set by a technician based on experience. The device monitoring table can be used as a table to record relevant data of the monitored device. Exemplarily, the device monitoring table is generated based on a preset device monitoring template and basic attribute data of each monitored device.
[0032] The preset device monitoring template refers to a preset template for generating a device monitoring table. The embodiment of the present invention does not impose any limitation on the setting of the preset device monitoring template, which can be set by a technician based on experience.
[0033] Among them, basic attribute data refers to parameters that describe the basic attributes of the device to be monitored. Exemplarily, the basic attribute data may include a device identifier, a device name, and a preset network management protocol. Among them, the device identifier can be used to uniquely characterize the identity of the device to be monitored, such as the device IP (Internet Protocol, a protocol for interconnection between networks). The device name refers to the name of the device to be monitored. The preset network management protocol refers to the network protocol used by the device to be monitored. The embodiment of the present invention does not impose any restrictions on the type and / or number of preset network management protocols, which can be set by technicians as needed. Exemplarily, the preset network management protocol may include at least one of Ping or SNMP (Simple Network Management Protocol). It should be noted that a device to be monitored can correspond to at least one preset network management protocol.
[0034] Specifically, basic attribute data of at least one device to be monitored within the management scope of the network device management system is obtained; a device monitoring table is generated according to the basic attribute data and a preset device monitoring template; and the device monitoring table is imported into the network device management system.
[0035] S120: Perform monitoring verification on each device to be monitored in the device monitoring table according to a preset candidate verification strategy, and determine a target monitoring device from each device to be monitored in the device monitoring table according to the device verification result.
[0036] The candidate verification strategy can be used to perform monitoring verification on the device to be monitored. Exemplarily, the candidate verification strategy can include a format verification strategy and a connectivity verification strategy. The target monitoring device refers to the device to be monitored that can be monitored by the network device management system.
[0037] The device verification result refers to the final device verification status corresponding to the device in the device monitoring table after the device to be monitored has been verified at least once.
[0038] S130: Obtain a target device model identifier of a target monitoring device, determine a target monitoring strategy according to a preset device model database and the target device model identifier, and monitor the target monitoring device based on the target monitoring strategy.
[0039] Among them, the target device model identifier can be used to uniquely characterize the identity of the model of the target monitoring device. The embodiment of the present invention does not impose any limitation on the setting of the device model database, which can be set by technical personnel based on experience. Exemplarily, the device model database may include candidate device manufacturers, candidate device model identifiers, and candidate device monitoring methods. Among them, the candidate device manufacturer refers to the manufacturer of the device in the device model database. The candidate device model identifier refers to the model identity information of the device in the device model database. The candidate device monitoring method refers to the way of monitoring the device in the device model database. It should be noted that different candidate device model identifiers can correspond to different candidate device monitoring methods.
[0040] In an optional embodiment, a target monitoring strategy is determined based on a preset device model database and a target device model identifier, including: selecting target device monitoring data that matches the target device model identifier from the device model database; and determining a target monitoring strategy for the target monitoring device based on the target device monitoring data.
[0041] The target monitoring data refers to the data stored in the device model database for determining the monitoring strategy. Exemplarily, the target monitoring data may include the target device manufacturer, the target device model identifier, and the target device monitoring method. The target monitoring strategy refers to the strategy that can be used to monitor the target monitoring device.
[0042] Exemplarily, data corresponding to the candidate device model identifier that matches the target device model identifier in the device model database is used as the target device monitoring data.
[0043] It can be understood that by introducing the target device monitoring data and determining the target monitoring strategy, the accuracy of the determined target monitoring strategy is improved.
[0044] The embodiment of the present invention provides a device monitoring solution, which obtains a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored; according to a preset candidate verification strategy, each device to be monitored in the device monitoring table is monitored and verified, and according to the device verification result, a target monitoring device is determined from each device to be monitored in the device monitoring table; the target device model identification of the target monitoring device is obtained, and the target monitoring strategy is determined according to the preset device model database and the target device model identification, and the target monitoring device is monitored based on the target monitoring strategy. The above scheme, by introducing the device monitoring table, enables the network device management system to monitor the devices to be monitored within the management scope according to the device monitoring table, thereby realizing automatic monitoring of devices by the network device management system and improving monitoring efficiency.
[0045] Embodiment 2
[0046] Figure 2 It is a flow chart of a device monitoring method provided in the second embodiment of the present invention. Based on the above embodiments, this embodiment further refines the operation of "monitoring and verifying each device to be monitored in the device monitoring table according to the preset candidate verification strategy" into "determining the device verification status corresponding to each device to be monitored in the device monitoring table, and determining the current verification strategy from the candidate verification strategy according to the device verification status; monitoring and verifying the devices to be monitored in the device monitoring table according to the current verification strategy" to improve the device monitoring verification mechanism. It should be noted that for the parts not described in detail in the embodiments of the present invention, reference can be made to the descriptions of other embodiments.
[0047] See also Figure 2 The device monitoring method shown includes:
[0048] S210: Obtain a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system.
[0049] The equipment monitoring table is generated based on the preset equipment monitoring template and the basic attribute data of each equipment to be monitored.
[0050] S220: Determine the device verification status corresponding to each device to be monitored in the device monitoring table, and determine the current verification strategy from the candidate verification strategies according to the device verification status.
[0051] The device verification state can be used to characterize the verification of the monitored device. The current verification strategy refers to the candidate verification strategy for the monitored device at the current moment. Exemplarily, the candidate verification strategy can be a format verification strategy or a connectivity verification strategy.
[0052] S230. Perform monitoring verification on the devices to be monitored in the device monitoring table according to the current verification strategy.
[0053] In an optional embodiment, the current verification strategy is determined from the candidate verification strategies according to the device verification status, including: if the device verification status is unverified, the current verification strategy is determined to be a format verification strategy; accordingly, according to the current verification strategy, the monitored devices in the device monitoring table are monitored and verified, including: obtaining device data standard rules, and performing format verification on the basic attribute data in the device monitoring table according to the device data standard rules.
[0054] Among them, the format verification strategy refers to a strategy for verifying the data format in the device monitoring table. The device data standard rule refers to the standard rule for format verification of basic attribute data. Exemplarily, the format verification strategy may include fillable and required verification strategies, system acceptable data verification strategies, and management protocol existence verification strategies. Among them, the fillable and required verification strategies can be used to verify whether the fillable items and required items in the device monitoring table are filled in. The system acceptable data verification strategy can be used to determine whether the data can be accepted by the network device management system. The management protocol existence verification strategy can be used to determine whether the preset network management protocol exists.
[0055] The device data standard rules refer to the standard rules used for format verification of basic attribute data. Exemplarily, the device data standard rules can be generated based on the format verification strategy.
[0056] Exemplarily, the device verification status of unverified means that the basic attribute data in the device monitoring table has not been verified.
[0057] It can be understood that when the device verification status is unverified, the basic attribute data is format-verified according to the device data standard rules, thereby improving the accuracy of the verification of the basic attribute data.
[0058] In an optional embodiment, according to the device verification status, the current verification strategy is determined from the candidate verification strategies, including: if the device verification status is that the format verification is successful, then the current verification strategy is determined to be the connectivity verification strategy; accordingly, according to the current verification strategy, the monitored devices in the device monitoring table are monitored and verified, including: taking the monitored devices in the device monitoring table whose device verification status is that the format verification is successful as reference monitoring devices, and determining the preset network management protocol corresponding to the reference monitoring device; according to the preset network management protocol, performing connectivity verification on the reference monitoring device.
[0059] The connectivity verification strategy can be used to verify the connectivity of the reference monitoring device, that is, to verify the communication connection between the reference monitoring device and the network device management system. The reference monitoring device refers to the device to be monitored whose device verification result is a successful format verification.
[0060] The device verification status of "format verification successful" means that the format verification is performed on the basic attribute data in the device monitoring table and the verification is successful.
[0061] It can be understood that when the device verification status is that the format verification is successful, the monitored device corresponding to the successful format verification is used as the reference monitoring device, and according to the preset network management protocol, the communication connection status between the reference monitoring device and the network device management system is judged to implement the connectivity verification of the reference monitoring device, thereby ensuring the connectivity of the communication between the reference monitoring device and the network device management system, and avoiding the failure of subsequent network device management system to manage due to communication interruption.
[0062] In the embodiment of the present invention, a preset delay time may also be introduced to perform connectivity verification on the reference monitoring device according to the preset network management protocol and the preset delay time. Exemplarily, if the network device management system receives connectivity verification data sent by the reference monitoring device based on the preset network management protocol within the preset delay time, the device verification result is determined to be a successful connectivity verification; if not, the device verification result is determined to be a failed connectivity verification. The embodiment of the present invention does not impose any limitation on the size of the preset delay time, which may be set by a technician based on experience. Connectivity verification data refers to pre-set data that can be used for connectivity verification. The embodiment of the present invention does not impose any limitation on the connectivity verification data, which may be set by a technician based on experience.
[0063] S240. According to the equipment verification result, determine the target monitoring equipment from the equipment to be monitored in the equipment monitoring table.
[0064] In an optional embodiment, according to the device verification result, a target monitoring device is determined from each to-be-monitored device in the device monitoring table, including: taking a reference monitoring device in the device monitoring table whose device verification status is connectivity verification success as the target monitoring device.
[0065] The device verification status of successful connectivity verification means that a connectivity verification is performed on the reference monitoring device in the device monitoring table and the verification is successful.
[0066] It can be understood that taking the reference monitoring device that has successfully completed the connectivity verification as the target monitoring device improves the accuracy of determining the target monitoring device.
[0067] It should be noted that for the monitored device whose device verification status is format verification failure, and the reference monitoring device whose connectivity verification fails, the monitored device and the reference monitoring device are adjusted based on the failure reasons displayed in the device monitoring table.
[0068] S250: Obtain a target device model identifier of a target monitoring device, determine a target monitoring strategy according to a preset device model database and the target device model identifier, and monitor the target monitoring device based on the target monitoring strategy.
[0069] In the embodiment of the present invention, if the candidate device model identifier corresponding to the target monitoring device is matched in the device model database, the device verification status is updated to a successful monitoring method match; and the target monitoring device for which the monitoring method is successfully matched is managed.
[0070] It should be noted that if the candidate device model identifier corresponding to the target monitoring device is not matched in the device model database, the device verification status is updated to monitoring method matching failure, and the user can update the device model database according to the target monitoring device.
[0071] The embodiment of the present invention provides a device monitoring solution, which refines the monitoring verification operation of each device to be monitored in the device monitoring table according to the preset candidate verification strategy to determine the device verification status corresponding to each device to be monitored in the device monitoring table, and determines the current verification strategy from the candidate verification strategy according to the device verification status; performs monitoring verification on the device to be monitored in the device monitoring table according to the current verification strategy, thereby improving the device monitoring verification mechanism. The above solution improves the accuracy of monitoring verification by introducing the current verification strategy to perform monitoring verification on the device to be monitored.
[0072] On the basis of the above technical solution, the embodiment of the present invention provides a specific example. Exemplarily, a device monitoring table containing basic fields of network devices (i.e., basic attribute data) is generated to facilitate batch import of device information; the device monitoring table is imported into the network device management system for subsequent device management; the fields in the imported device monitoring table are subjected to a legality check (i.e., format check); if the check fails, the device check status is updated to "format check failure" and specific check failure information is given; the reference monitoring device that has successfully completed the format check is subjected to a connectivity check, and a simple network protocol such as Ping or SNMP is used to verify whether the reference monitoring device is online; if the check fails, the device check status is updated to "connectivity check failure"; for the target monitoring device that has successfully completed the connectivity check, the SNMP protocol is used to obtain the target device model identification of the target monitoring device; the device model database is matched according to the target device model identification to obtain the corresponding target device manufacturer, target device model identification and target device monitoring method, and a target monitoring policy is generated; if the match fails, the device check status is updated to "monitoring method matching failure"; according to the target monitoring policy, the target monitoring device is batch incorporated into the network device management system.
[0073] The technical solution provided by the embodiment of the present invention achieves an improvement in the level of automation: the prior art relies on manual input of device information, one-by-one device connectivity testing, and matching of device monitoring templates. The entire process is time-consuming and error-prone. The embodiment of the present invention realizes a fully automated process for device management through the import of device monitoring tables, automated connectivity verification, automatic acquisition of device information, and intelligent matching, thereby greatly improving operational efficiency and reducing human errors.
[0074] The technical solution provided by the embodiment of the present invention realizes the support of batch operations: most of the device management processes in the prior art are aimed at a single device, batch operations are limited, and are not suitable for large-scale network environments; while the solution of the embodiment of the present invention supports batch import and batch monitoring deployment of device information, especially in large-scale network environments, which significantly improves the efficiency and flexibility of device management.
[0075] The technical solution provided by the embodiment of the present invention improves the integrity and accuracy of device information: in the prior art, device information relies on manual entry, and there is a situation where the information is incomplete or erroneous, which affects the monitoring effect; while the embodiment of the present invention ensures the integrity and accuracy of device metadata through automated information acquisition, providing a solid data foundation for the formulation of monitoring strategies.
[0076] The technical solution provided by the embodiment of the present invention realizes intelligent matching: the prior art lacks an intelligent matching mechanism, and the adaptability of the equipment monitoring method is poor, requiring manual adjustment; while the embodiment of the present invention is based on intelligent matching of the unique identifier of the equipment model, automatically associating the most appropriate equipment monitoring method, thereby improving the standardization and automation of the configuration process.
[0077] The technical solution provided by the embodiment of the present invention improves the convenience of monitoring deployment: in the prior art, the device monitoring deployment process is cumbersome and requires setting monitoring parameters for each device; while the embodiment of the present invention simplifies the monitoring coverage process through one-click batch monitoring deployment, ensuring the comprehensiveness and timeliness of monitoring.
[0078] The traditional manual management system in the prior art includes manual configuration of equipment, manual update of information and manual monitoring of status; compared with the embodiments of the present invention, the traditional manual management system is less efficient, prone to human errors, unable to meet the needs of large-scale equipment management, and lacks support for automated operations. Many existing systems in the prior art use the SNMP protocol to monitor network equipment and obtain the status and partial configuration information of the equipment; compared with the embodiments of the present invention, the SNMP-based network equipment management system mainly focuses on equipment monitoring and partial information collection, lacks automated equipment discovery, equipment monitoring method matching and batch operation capabilities, and therefore cannot achieve fully automated equipment management.
[0079] The technical solution provided by the embodiment of the present invention realizes the automatic device discovery and management of multi-protocol integration: by integrating multiple network protocols, such as SNMP, SSH (Secure Shell, remote login protocol) and TELNET (teletypenetwork, remote login protocol), etc., the connectivity verification, information acquisition and monitoring template matching of the device are realized, which greatly improves the automation level and efficiency of device management. At the same time, the present invention realizes the batch import and update mechanism of device information: by designing a standardized device import template (i.e., device monitoring table), it supports the batch import of device information, and ensures the real-time update of device information, reduces manual operations, and improves the accuracy and timeliness of information; intelligent device monitoring method matching and automatic generation of monitoring strategy: based on the intelligent matching of the unique identification of the device model, the device monitoring method and the detailed information of the device are automatically associated to generate the target monitoring strategy, which improves the standardization and automation of the configuration process and ensures the comprehensiveness and pertinence of the monitoring; and one-click batch monitoring deployment: the batch management of the devices to be monitored is realized through a single operation, which simplifies the monitoring coverage process, ensures the timeliness and comprehensiveness of the monitoring, and is suitable for large-scale network environments.
[0080] Embodiment 3
[0081] Figure 3This is a schematic diagram of the structure of a device monitoring device provided in Embodiment 3 of the present invention. This embodiment is applicable to the case of monitoring a device, and the method can be executed by a device monitoring device, which can be implemented in software and / or hardware and can be configured in an electronic device carrying a device monitoring function.
[0082] like Figure 3 As shown, the device includes: an equipment monitoring table acquisition module 310, a target monitoring equipment determination module 320 and an equipment monitoring module 330. Among them,
[0083] The device monitoring table acquisition module 310 is used to acquire a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored;
[0084] The target monitoring device determination module 320 is used to perform monitoring verification on each of the devices to be monitored in the device monitoring table according to a preset candidate verification strategy, and determine the target monitoring device from each of the devices to be monitored in the device monitoring table according to the device verification result;
[0085] The device monitoring module 330 is used to obtain the target device model identification of the target monitoring device, determine the target monitoring strategy according to a preset device model database and the target device model identification, and monitor the target monitoring device based on the target monitoring strategy.
[0086] The embodiment of the present invention provides a device monitoring solution, which obtains a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored; according to a preset candidate verification strategy, each device to be monitored in the device monitoring table is monitored and verified, and according to the device verification result, a target monitoring device is determined from each device to be monitored in the device monitoring table; the target device model identification of the target monitoring device is obtained, and the target monitoring strategy is determined according to the preset device model database and the target device model identification, and the target monitoring device is monitored based on the target monitoring strategy. The above scheme, by introducing the device monitoring table, enables the network device management system to monitor the devices to be monitored within the management scope according to the device monitoring table, thereby realizing automatic monitoring of devices by the network device management system and improving monitoring efficiency.
[0087] Optionally, the target monitoring device determination module 320 includes:
[0088] A current verification strategy determination unit, used to determine the device verification status corresponding to each of the to-be-monitored devices in the device monitoring table, and determine the current verification strategy from the candidate verification strategies according to the device verification status;
[0089] The device monitoring verification unit is used to perform monitoring verification on the device to be monitored in the device monitoring table according to the current verification strategy.
[0090] Optionally, the current verification strategy determination unit includes:
[0091] a format verification determination subunit, configured to determine that the current verification strategy is a format verification strategy if the device verification status is unverified;
[0092] Accordingly, the equipment monitoring and verification unit includes:
[0093] The format check subunit is used to obtain the equipment data standard rules and perform format check on the basic attribute data in the equipment monitoring table according to the equipment data standard rules.
[0094] Optionally, the current verification strategy determination unit includes:
[0095] A connectivity verification strategy determination subunit, configured to determine that the current verification strategy is a connectivity verification strategy if the device verification status is that the format verification is successful;
[0096] Accordingly, the equipment monitoring and verification unit includes:
[0097] A management protocol determination subunit, used to use the device to be monitored in the device monitoring table whose device verification status is that the format verification is successful as a reference monitoring device, and determine a preset network management protocol corresponding to the reference monitoring device;
[0098] The connectivity verification subunit is used to perform connectivity verification on the reference monitoring device according to the preset network management protocol.
[0099] Optionally, the target monitoring device determination module 320 includes:
[0100] The target monitoring device determining unit is used to use the device to be monitored in the device monitoring table whose device verification status is that the connectivity verification is successful as the target monitoring device.
[0101] Optionally, the equipment monitoring module 330 includes:
[0102] A device monitoring data determining unit, configured to select target device monitoring data matching the target device model identifier from the device model database;
[0103] The target monitoring strategy determining unit is used to determine the target monitoring strategy of the target monitoring device according to the target device monitoring data.
[0104] The equipment monitoring device provided in the embodiment of the present invention can execute the equipment monitoring method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing each equipment monitoring method.
[0105] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of the basic attribute data, candidate verification strategies, target device monitoring data and target device model identification involved all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0106] Embodiment 4
[0107] Figure 4 4 is a schematic diagram of the structure of an electronic device for implementing a device monitoring method provided by Embodiment 4 of the present invention. The electronic device 410 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0108] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0109] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 performs the various methods and processes described above, such as a device monitoring method.
[0111] In some embodiments, the device monitoring method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the device monitoring method described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to perform the device monitoring method in any other appropriate manner (e.g., by means of firmware).
[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0114] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0119] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A device monitoring method, characterized in that: include: Obtaining a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored; According to a preset candidate verification strategy, monitoring verification is performed on each of the devices to be monitored in the device monitoring table, and according to the device verification result, a target monitoring device is determined from each of the devices to be monitored in the device monitoring table; The target device model identification of the target monitoring device is obtained, a target monitoring strategy is determined according to a preset device model database and the target device model identification, and the target monitoring device is monitored based on the target monitoring strategy.
2. The method according to claim 1, characterized in that The step of performing monitoring verification on each of the devices to be monitored in the device monitoring table according to a preset candidate verification strategy includes: Determine the device verification status corresponding to each of the to-be-monitored devices in the device monitoring table, and determine the current verification strategy from the candidate verification strategies according to the device verification status; According to the current verification strategy, monitoring verification is performed on the devices to be monitored in the device monitoring table.
3. The method according to claim 2, characterized in that The determining the current verification strategy from the candidate verification strategies according to the device verification state includes: If the device verification status is unverified, determining that the current verification strategy is a format verification strategy; Correspondingly, performing monitoring verification on the to-be-monitored device in the device monitoring table according to the current verification strategy includes: Obtain equipment data standard rules, and perform format verification on the basic attribute data in the equipment monitoring table according to the equipment data standard rules.
4. The method according to claim 2, characterized in that: The determining the current verification strategy from the candidate verification strategies according to the device verification state includes: If the device verification status is that the format verification is successful, determining that the current verification strategy is a connectivity verification strategy; Correspondingly, performing monitoring verification on the to-be-monitored device in the device monitoring table according to the current verification strategy includes: The device to be monitored whose device verification status is successful in format verification in the device monitoring table is used as a reference monitoring device, and a preset network management protocol corresponding to the reference monitoring device is determined; According to the preset network management protocol, connectivity check is performed on the reference monitoring device.
5. The method according to claim 4, characterized in that The step of determining the target monitoring device from the devices to be monitored in the device monitoring table according to the device verification result includes: The reference monitoring device in the device monitoring table whose device verification status is connectivity verification success is used as the target monitoring device.
6. The method according to claim 1, characterized in that Determining the target monitoring strategy according to the preset device model database and the target device model identifier includes: Selecting target device monitoring data matching the target device model identifier from the device model database; A target monitoring strategy for the target monitoring device is determined according to the target device monitoring data.
7. An equipment monitoring device, characterized in that: include: The device monitoring table acquisition module is used to acquire a device monitoring table corresponding to at least one device to be monitored within the management scope of the network device management system; wherein the device monitoring table is generated according to a preset device monitoring template and basic attribute data of each device to be monitored; A target monitoring device determination module, used to perform monitoring verification on each of the devices to be monitored in the device monitoring table according to a preset candidate verification strategy, and determine a target monitoring device from each of the devices to be monitored in the device monitoring table according to the device verification result; The device monitoring module is used to obtain the target device model identification of the target monitoring device, determine the target monitoring strategy according to a preset device model database and the target device model identification, and monitor the target monitoring device based on the target monitoring strategy.
8. The device according to claim 7, characterized in that The target monitoring device determination module includes: A current verification strategy determination unit, configured to determine a device verification status corresponding to each of the devices to be monitored in the device monitoring table, and determine a current verification strategy from the candidate verification strategies according to the device verification status; The device monitoring verification unit is used to perform monitoring verification on the device to be monitored in the device monitoring table according to the current verification strategy.
9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement a device monitoring method as described in any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a device monitoring method as described in any one of claims 1 to 6 is implemented.
