Hierarchical monitoring and self-resetting method, system and equipment based on multi-level equipment

By building a multi-level monitoring system for hierarchical fault detection and directional reset, the safety hazards caused by equipment failures in the power system are resolved, ensuring the reliability and safety of the system.

CN120704945APending Publication Date: 2025-09-26SOUTHERN POWER GRID DIGITAL GRID RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510802093.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

In power systems, calculation anomalies or program crashes caused by equipment failures can easily lead to hardware failures, which in turn can cause serious accidents such as system disconnection or load shedding. Existing technologies rely on system restarts, which poses a safety hazard.

Method used

Build a multi-level monitoring system, identify monitoring equipment and monitored equipment through the hierarchical relationship, realize hierarchical fault detection and directional reset, avoid single point failure causing system loss of control, and adopt a dual detection mechanism with differentiated intervals and response time windows to ensure the timeliness and accuracy of fault detection.

Benefits of technology

It achieves accurate positioning and safe reset of faulty equipment, avoids the risk of equipment loss of control caused by traditional restart, and improves the reliability and safety of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120704945A_ABST
    Figure CN120704945A_ABST
Patent Text Reader

Abstract

The invention discloses a hierarchical monitoring and self-resetting method, a hierarchical monitoring and self-resetting system and hierarchical monitoring and self-resetting equipment based on multi-level equipment. The method comprises the following steps: identifying monitoring equipment in each level, a plurality of monitored equipment corresponding to the monitoring equipment and superior monitoring equipment corresponding to the monitoring equipment from a target power system according to a pre-constructed multi-level monitoring system; obtaining a first fault detection result of the monitoring equipment through the superior monitoring equipment, and obtaining a second fault detection result corresponding to each piece of monitored equipment through the monitoring equipment; identifying a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device from the target power system according to the first fault detection result, the second fault detection result and the multi-level monitoring system; the reset of the monitored equipment and the monitoring equipment is realized through the first reset equipment and the second reset equipment, so that the reset safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-processor system reset, and in particular to a hierarchical monitoring and self-reset method, system and device based on multi-level devices. Background Art

[0002] With the booming development of the big data industry, China's computing power continues to expand, effectively supporting the demand for basic computing resources for advanced power computing. Amidst the rapid development of advanced power computing, collaborative control systems based on the deep coupling of power and computing technologies are being gradually adopted in power systems. These systems ultimately promote green, efficient computing power, energy conservation, and carbon reduction.

[0003] In the power system, the reliability requirements of equipment are extremely high. Once calculation anomalies, freezes or program crashes occur, it is easy to cause hardware failure of the entire equipment, which in turn leads to failure of the primary equipment of the power system and quickly spreads and expands in the system, causing serious production accidents such as system decoupling or load shedding.

[0004] Currently, in power systems using computer-assisted collaborative control systems, if a main controller or device fails, the system essentially relies on the operating system's self-recovery mechanism. If the program failure cannot be handled, a system restart is generally performed to resolve the problem. However, in computer-assisted collaborative control systems, since the controlled objects are primary and secondary power grid equipment, arbitrary restarts can temporarily put the equipment in an uncontrolled state, causing uncontrolled equipment operation and posing a significant safety hazard. Summary of the Invention

[0005] In order to solve the above technical problems, the present invention discloses a hierarchical monitoring and self-resetting method, system and device based on multi-level devices, which are used to achieve targeted monitoring and resetting of devices and reduce the safety risks of resetting.

[0006] To achieve the above objectives, in a first aspect, the present invention discloses a hierarchical monitoring and self-resetting method based on multi-level devices, comprising:

[0007] Identify, from the target power system, a monitoring device in each level, a plurality of monitored devices corresponding to the monitoring device, and a superior monitoring device corresponding to the monitoring device according to a pre-built multi-level monitoring system;

[0008] Obtaining a first fault detection result of the monitoring device through the upper-level monitoring device and obtaining a second fault detection result corresponding to each of the monitored devices through the monitoring device;

[0009] identifying, from the target power system, a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device based on the first fault detection result, the second fault detection result, and the multi-level monitoring system;

[0010] The monitored device and the monitoring device are reset by the first resetting device and the second resetting device.

[0011] The present invention discloses a hierarchical monitoring and self-reset method based on multi-level devices. By constructing a multi-level monitoring system, a hierarchical supervision relationship between devices is established to form a three-dimensional monitoring network covering all devices in the power system. According to the pre-constructed multi-level monitoring system, the monitoring devices at each level and their superior-subordinate relationships are identified, and a hierarchical and progressive monitoring architecture is constructed, so that fault detection can be reported step by step according to the level, avoiding the failure of a single monitoring node causing system paralysis. The status information of the lower-level monitoring device is obtained by the upper-level monitoring device, and the monitoring device directly collects the data of the monitored device, forming a two-way detection mechanism, which not only ensures the effectiveness of the upper-level supervision of the lower-level, but also ensures real-time monitoring of the status of the underlying device. Based on the fault detection results and the multi-level system, the corresponding reset device is identified, and a logical correspondence is established between the faulty device and the reset device, so as to accurately locate the fault source and specify the reset execution subject. Finally, the hierarchical reset mechanism is used to achieve directional recovery of the faulty device, avoiding the risk of equipment loss of control caused by directly restarting the entire system in the traditional solution, forming a closed-loop fault handling process, and improving the safety of the reset.

[0012] As a preferred example, the method of identifying a monitoring device in each level, a plurality of monitored devices corresponding to the monitoring device, and a superior monitoring device corresponding to the monitoring device from the target power system according to the pre-built multi-level monitoring system includes:

[0013] Identifying multiple monitoring stages from the multi-level monitoring system; wherein the monitoring stages include an application monitoring stage, a kernel monitoring stage, a processor operation status monitoring stage, a watchdog monitoring stage, a power management monitoring stage, and a multi-board heartbeat monitoring stage;

[0014] For any of the monitoring stages;

[0015] Identifying a monitoring device corresponding to the monitoring stage from the target power system according to a monitoring device operation logic preset in the monitoring stage;

[0016] Identifying a plurality of monitored devices corresponding to the monitoring stage from the target power system according to a preset monitored device operation logic in the monitoring stage;

[0017] According to the preset superior-subordinate relationship of monitoring stages in the multi-level monitoring system, the monitoring equipment in the superior monitoring stage corresponding to the monitoring stage is used as the superior monitoring equipment of the monitoring equipment in the monitoring stage.

[0018] In the above scheme, by building a phased and hierarchical monitoring system, the monitoring process of the power system is divided into multiple independent and related monitoring stages. Each stage corresponds to a different software and hardware layer (such as application, kernel, processor, etc.), thus covering the entire life cycle of the system operation. Through the preset monitoring equipment operation logic and the monitored equipment operation logic, the responsible entity (monitoring equipment) and its supervision object (monitored equipment) in each monitoring stage can be accurately located, avoiding the problem of unclear monitoring responsibilities in traditional methods. At the same time, based on the preset superior-subordinate relationship of the monitoring stage, the equipment in the superior monitoring stage is used as the superior monitoring equipment of the current stage to form a hierarchical monitoring network, ensuring that fault detection and reset instructions can be transmitted hierarchically to prevent system-level loss of control due to single-point failures.

[0019] As a preferred example, the obtaining, by the upper-level monitoring device, a first fault detection result of the monitoring device includes:

[0020] Controlling the upper-level monitoring device to send a first polling signal to the monitoring device according to a preset first monitoring interval duration;

[0021] Obtaining a response result of the monitoring device to the first polling signal from the upper-level monitoring device according to a preset response time window;

[0022] When it is detected that the monitoring device does not respond to the first polling signal within the response time window, it is determined that the monitoring device fails.

[0023] In the above scheme, a hierarchical active detection mechanism for device status is constructed, and dual protection detection is performed on the lower-level monitoring equipment through the upper-level monitoring equipment. First, a polling signal is sent at a preset specific interval, which not only avoids the resource consumption caused by continuous detection, but also ensures the timeliness of fault detection. The setting of the response time window provides an accurate time judgment standard for device responses, effectively distinguishing between temporary delays in equipment and substantial failures. When the monitoring device does not respond within the specified time, the fault judgment mechanism is directly triggered. This active detection method can break through the limitations of traditional passive waiting for fault reporting, especially for extreme cases where the monitoring device itself fails and causes system failure. An abnormality discovery channel independent of the monitored device level is established to ensure the reliability of the fault detection system itself.

[0024] As a preferred example, obtaining, by the monitoring device, the second fault detection result corresponding to each monitored device includes:

[0025] Controlling the monitoring device to send a second polling signal to the monitored object according to a preset second monitoring interval duration; wherein the second monitoring interval duration is longer than the first monitoring interval duration;

[0026] Obtaining a response result of the monitored device to the second polling signal from the monitoring device according to a preset response time window;

[0027] When it is detected that the monitored object does not respond to the second polling signal within the response time window, it is determined that a fault occurs in the monitored object.

[0028] In the above scheme, a hierarchical fault detection system is constructed by setting differentiated monitoring intervals and response mechanisms. By setting the second monitoring interval to be longer than the first monitoring interval, the polling frequency of the monitored equipment can be reduced, the occupation of system resources can be reduced, and the risk of misjudgment caused by frequent polling can be avoided. A preset response time window is used to obtain the response results of the monitored equipment, and a clear fault judgment time threshold is established. When the monitored object does not respond within the window period, a fault judgment is triggered, which not only ensures the real-time detection, but also avoids misjudgment caused by network delays or instantaneous interference. This dual control mechanism based on differentiated intervals and strict time windows optimizes resource allocation while ensuring the reliability of the power system.

[0029] As a preferred example, the identifying, from the target power system, a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device based on the first fault detection result, the second fault detection result, and a pre-built multi-level monitoring system includes:

[0030] When a fault is detected in the monitored device, the monitoring device corresponding to the monitored device is used as the first reset device of the monitored device;

[0031] When a failure of the monitoring device is detected, the upper-level monitoring device corresponding to the monitoring device is used as a second reset device for the monitoring device.

[0032] In the above scheme, by introducing the hierarchical relationship of a multi-level monitoring system, in the special scenario where a dual fault is detected in the monitored device and its subordinate monitoring device, the superior monitoring device that was originally only responsible for resetting the monitoring device is used as the direct reset device for the monitored device across the levels. Specifically, when a monitored device fails and its directly subordinate monitoring device fails at the same time, the superior monitoring device is automatically upgraded to the first reset device for the monitored device through the preset logic of the superior-subordinate relationship in the monitoring stage. This design breaks through the limitations of the traditional single-layer reset mechanism and utilizes the redundant monitoring resources between levels. Even if the monitoring device itself is abnormal, the reset operation of the monitored device can still be achieved through the superior device, thereby ensuring the continued operation capability of the multi-level monitoring system in complex fault scenarios.

[0033] As a preferred example, the identifying, from the target power system, a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device based on the first fault detection result, the second fault detection result, and a pre-built multi-level monitoring system includes:

[0034] When it is detected that the monitored device fails and the monitoring device corresponding to the monitored device also fails, the upper-level monitoring device corresponding to the monitoring device is used as the first resetting device for the monitored device.

[0035] In the above solution, by introducing the superior-subordinate relationship of the multi-level monitoring system, in the special fault scenario where the monitored device and its directly monitored device fail at the same time, the limitation of the traditional single-layer reset logic is broken through, and the superior monitoring device is used as the new reset triggering subject. Specifically, when the system detects a failure in the monitored device, it first determines whether its directly affiliated monitoring device fails simultaneously. If both are in an abnormal state, the reset authority is automatically moved to the higher-level monitoring device through the topological relationship between the superior monitoring device and the monitored device preset in the hierarchical monitoring system. This design establishes a cross-level fault handling channel to ensure that when the direct monitoring link fails completely, the reset command can still be initiated through the superior device, thereby maintaining the system's control over the underlying devices.

[0036] As a preferred example, resetting the monitored device and the monitoring device by using the first resetting device and the second resetting device includes:

[0037] Controlling the first reset device to send a first reset instruction to the monitored device and controlling the second reset device to send a second reset instruction to the monitoring device;

[0038] obtaining a third fault detection result of the monitored device through the first reset device and obtaining a fourth fault detection result of the monitoring device through the second reset device;

[0039] A reset result of the monitored device and a reset of the monitoring device are achieved according to the third fault detection result and the fourth fault detection result.

[0040] The above solution establishes a closed-loop reset verification mechanism and a hierarchical processing strategy. By controlling the first reset device to directly send a reset command to the monitored device, the faulty device receives the lowest-level reset signal. Simultaneously, the second reset device resets the monitoring device, creating a dual-path reset guarantee. After the reset command is executed, the reset validity is verified by obtaining the third and fourth fault detection results. This closed-loop detection mechanism accurately determines whether the reset is successful.

[0041] As a preferred example, the resetting result of the monitored device and the resetting of the monitoring device according to the third fault detection result and the fourth fault detection result include:

[0042] When it is detected according to the third fault detection result that the monitored device has not been reset or when it is detected according to the fourth fault detection result that the monitoring device has not been reset, controlling the first reset device to send a first reset instruction to the monitored device a plurality of times and controlling the second reset device to send a second reset instruction to the monitoring device a plurality of times according to a preset reset number, so as to obtain a first reset result of the monitored device and a corresponding second reset result of the monitoring device;

[0043] When it is detected according to the first reset result that the monitored device has not been reset or when it is detected according to the second reset result that the monitoring device has not been reset, the upper-level reset device corresponding to the first reset device is controlled to send the first reset instruction to the monitored device and the upper-level reset device corresponding to the second reset device is controlled to send the second reset instruction to the monitoring device, so as to achieve the reset of the monitoring device and the reset of the monitored device.

[0044] In the above scheme, a multi-level redundant protection mechanism is constructed through a hierarchical and progressive reset strategy. First, when it is detected that the device has not been reset, a technical means of repeatedly sending the reset instruction a preset number of times is adopted. Through a limited number of repeated operations, the system misjudgment caused by the failure of a single reset is avoided, and the waste of resources caused by infinite loop reset is prevented. When repeated operations still cannot restore the device, the upper-level reset device is started to perform a cross-level reset operation. This hierarchical control mechanism not only ensures the autonomy of the current level device to handle faults first, but also forms a redundant control channel independent of the faulty device through the physical isolation characteristics of the upper-level device. The setting of the preset number of resets achieves a balance between the strength of the reset operation and the stability of the system. The intervention strategy of the upper-level reset device ensures the ultimate recovery capability in the event of complete failure at the software level through an independent control unit at the hardware level, forming a complete protection system from logical control to physical isolation.

[0045] In a second aspect, the present invention discloses a hierarchical monitoring and self-resetting system based on multi-level devices, comprising a detection device identification module, a fault detection module, a reset device identification module and a device reset module;

[0046] The detection device identification module is used to identify the monitoring device in each level, the plurality of monitored devices corresponding to the monitoring device, and the upper-level monitoring device corresponding to the monitoring device from the target power system according to the pre-built multi-level monitoring system;

[0047] The fault detection module is used to obtain a first fault detection result of the monitoring device through the upper-level monitoring device and obtain a second fault detection result corresponding to each monitored device through the monitoring device;

[0048] The reset device identification module is configured to identify a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device from the target power system according to the first fault detection result, the second fault detection result, and the multi-level monitoring system;

[0049] The device reset module is used to reset the monitored device and the monitoring device through the first reset device and the second reset device.

[0050] The present invention discloses a hierarchical monitoring and self-reset system based on multi-level devices. By constructing a multi-level monitoring system, a hierarchical supervision relationship between devices is established to form a three-dimensional monitoring network covering all devices in the power system. According to the pre-constructed multi-level monitoring system, the monitoring devices at each level and their superior-subordinate relationships are identified, and a hierarchical and progressive monitoring architecture is constructed, so that fault detection can be reported step by step according to the level, avoiding the failure of a single monitoring node causing system paralysis. The status information of the lower-level monitoring device is obtained by the upper-level monitoring device, and the monitoring device directly collects the data of the monitored device, forming a two-way detection mechanism, which not only ensures the effectiveness of the upper-level supervision of the lower-level, but also ensures real-time monitoring of the status of the underlying device. Based on the fault detection results and the multi-level system, the corresponding reset device is identified, and a logical correspondence is established between the faulty device and the reset device, so as to accurately locate the fault source and specify the reset execution subject. Finally, the hierarchical reset mechanism is used to achieve directional recovery of the faulty device, avoiding the risk of equipment loss of control caused by directly restarting the entire system in the traditional solution, forming a closed-loop fault handling process, and improving the safety of the reset.

[0051] In a third aspect, the present invention discloses a terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a hierarchical monitoring and self-reset method based on multi-layer devices as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the implementation. Obviously, the drawings described below are only some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0053] Figure 1 This is a flow chart of a hierarchical monitoring and self-resetting method based on multi-level devices provided by one embodiment of the present invention;

[0054] Figure 2 This is a schematic structural diagram of a hierarchical monitoring and self-resetting system based on multi-level devices provided by one embodiment of the present invention;

[0055] Figure 3 1 is a flow chart of a hierarchical monitoring and self-resetting method based on multi-level devices provided by another embodiment of the present invention;

[0056] Figure 4 1 is a flow chart of a hierarchical monitoring method based on multi-level devices provided by another embodiment of the present invention;

[0057] Figure 51 is a schematic diagram of a corresponding relationship between multi-level monitoring and multi-level resetting provided by another embodiment of the present invention;

[0058] Figure 6 This is a flowchart of a hierarchical reset method based on multi-level devices provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0059] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0060] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0061] Example 1

[0062] Reference Figure 1 To improve the security of device monitoring and resetting, this embodiment provides a hierarchical monitoring and self-resetting method based on multi-level devices, which mainly includes:

[0063] Step 101: Identify monitoring devices in each level, a number of monitored devices corresponding to the monitoring devices, and a superior monitoring device corresponding to the monitoring devices from a target power system according to a pre-built multi-level monitoring system.

[0064] In this embodiment, this step mainly includes: identifying multiple monitoring stages from the multi-level monitoring system; wherein the monitoring stages include an application monitoring stage, a kernel monitoring stage, a processor operation status monitoring stage, a watchdog monitoring stage, a power management monitoring stage, and a multi-board heartbeat monitoring stage;

[0065] For any of the monitoring stages; according to the monitoring equipment operation logic preset in the monitoring stage, the monitoring equipment corresponding to the monitoring stage is identified from the target power system; according to the monitored equipment operation logic preset in the monitoring stage, several monitored equipment corresponding to the monitoring stage are identified from the target power system; according to the superior-subordinate relationship of the monitoring stages preset in the multi-level monitoring system, the monitoring equipment in the superior monitoring stage corresponding to the monitoring stage is used as the superior monitoring equipment of the monitoring equipment of the monitoring stage.

[0066] In this embodiment, the above steps divide the monitoring process of the power system into multiple independent and related monitoring stages by constructing a phased and hierarchical monitoring system. Each stage corresponds to a different software and hardware layer (such as application, kernel, processor, etc.), thereby covering the entire life cycle of the system operation. Through the preset monitoring device operation logic and the monitored device operation logic, the responsible entity (monitoring device) and its supervision object (monitored device) of each monitoring stage can be accurately located, avoiding the problem of unclear monitoring responsibilities in traditional methods. At the same time, based on the preset superior-subordinate relationship of the monitoring stage, the equipment of the superior monitoring stage is used as the superior monitoring equipment of the current stage to form a hierarchical monitoring network, ensuring that fault detection and reset instructions can be transmitted hierarchically to prevent system-level loss of control due to single-point failures.

[0067] Step 102: Obtain a first fault detection result of the monitoring device through the upper-level monitoring device and obtain a second fault detection result corresponding to each of the monitored devices through the monitoring device.

[0068] In this embodiment, this step mainly includes: controlling the upper-level monitoring device to send a first polling signal to the monitoring device according to a preset first monitoring interval duration; obtaining the response result of the monitoring device to the first polling signal from the upper-level monitoring device according to a preset response time window; when it is detected that the monitoring device does not respond to the first polling signal within the response time window, it is determined that the monitoring device has a fault.

[0069] The monitoring device is controlled to send a second polling signal to the monitored object according to a preset second monitoring interval duration; wherein the second monitoring interval duration is longer than the first monitoring interval duration; a response result of the monitored device to the second polling signal is obtained from the monitoring device according to a preset response time window; when it is detected that the monitored object does not respond to the second polling signal within the response time window, it is determined that the monitored object has a fault.

[0070] In this embodiment, the above steps construct a hierarchical device status active detection mechanism, and perform double protection detection on the lower-level monitoring equipment through the upper-level monitoring equipment. First, a polling signal is sent at a preset specific interval, which not only avoids the resource consumption caused by continuous detection, but also ensures the timeliness of fault detection. The setting of the response time window provides an accurate time judgment standard for the device response, which effectively distinguishes between temporary delays and substantial failures of the device. When the monitoring device does not respond within the specified time, the fault judgment mechanism is directly triggered. This active detection method can break through the limitations of the traditional passive waiting for fault reporting, especially for extreme cases where the monitoring device itself fails and causes system failure. An abnormality discovery channel independent of the monitored device level is established to ensure the reliability of the fault detection system itself.

[0071] Step 103: Identify a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device from the target power system according to the first fault detection result, the second fault detection result and the multi-level monitoring system.

[0072] In this embodiment, this step mainly includes: when a fault is detected in the monitored device, the monitoring device corresponding to the monitored device is used as the first reset device of the monitored device; when a fault is detected in the monitoring device, the superior monitoring device corresponding to the monitoring device is used as the second reset device of the monitoring device; when a fault is detected in the monitored device and the monitoring device corresponding to the monitored device also fails, the superior monitoring device corresponding to the monitoring device is used as the first reset device of the monitored device.

[0073] In this embodiment, the above steps introduce the hierarchical relationship of a multi-level monitoring system. In the special scenario where a dual fault is detected in the monitored device and its subordinate monitoring device, the superior monitoring device that was originally only responsible for resetting the monitoring device is used as the direct reset device for the monitored device across levels. Specifically, when a monitored device fails and its directly subordinate monitoring device fails at the same time, the superior monitoring device is automatically upgraded to the first reset device for the monitored device through the preset logic of the superior-subordinate relationship in the monitoring stage. This design breaks through the limitations of the traditional single-layer reset mechanism and utilizes redundant monitoring resources between levels. Even if the monitoring device itself is abnormal, the reset operation of the monitored device can still be achieved through the superior device, thereby ensuring the continued operation of the multi-level monitoring system in complex fault scenarios.

[0074] Step 104: Reset the monitored device and the monitoring device through the first resetting device and the second resetting device.

[0075] In this embodiment, this step mainly includes: controlling the first reset device to send a first reset instruction to the monitored device and controlling the second reset device to send a second reset instruction to the monitoring device; obtaining the third fault detection result of the monitored device through the first reset device and obtaining the fourth fault detection result of the monitoring device through the second reset device; and realizing the reset result of the monitored device and the reset of the monitoring device according to the third fault detection result and the fourth fault detection result.

[0076] When it is detected according to the third fault detection result that the monitored device has not been reset or according to the fourth fault detection result that the monitoring device has not been reset, the first reset device is controlled to send a first reset instruction to the monitored device several times and the second reset device is controlled to send a second reset instruction to the monitoring device several times according to a preset reset number, so as to obtain a first reset result of the monitored device and a second reset result corresponding to the monitoring device; when it is detected according to the first reset result that the monitored device has not been reset or according to the second reset result that the monitoring device has not been reset, the upper-level reset device corresponding to the first reset device is controlled to send the first reset instruction to the monitored device and the upper-level reset device corresponding to the second reset device is controlled to send the second reset instruction to the monitoring device, so as to achieve the reset of the monitoring device and the reset of the monitored device.

[0077] In this embodiment, the above steps construct a closed-loop reset verification mechanism and a hierarchical processing strategy. By controlling the first reset device to directly send a reset instruction to the monitored device, it is ensured that the faulty device can obtain the lowest-level reset signal; at the same time, the monitoring device is reset through the second reset device, forming a dual-path reset guarantee. After the reset instruction is executed, the reset validity is verified by obtaining the third and fourth fault detection results. This closed-loop detection mechanism can accurately determine whether the reset is successful. When it is detected that the reset is not completed, a limited number of repeated reset attempts are made according to the preset number of resets, which not only avoids invalid repeated operations but also improves the reset success rate. In the case that multiple resets still fail, a higher-level reset operation is performed by starting the upper-level reset device to form a multi-level progressive processing mechanism. This hierarchical processing strategy not only ensures the timeliness of routine resets, but also ensures the final handling capability of complex faults.

[0078] On the other hand, refer to Figure 2 This embodiment also discloses a hierarchical monitoring and self-resetting system based on multi-level devices, including a detection device identification module 201, a fault detection module 202, a reset device identification module 203 and a device reset module 204.

[0079] The detection device identification module 201 is used to identify the monitoring device in each level, the monitored devices corresponding to the monitoring device, and the upper-level monitoring device corresponding to the monitoring device from the target power system according to the pre-built multi-level monitoring system.

[0080] The fault detection module 202 is configured to obtain a first fault detection result of the monitoring device through the upper-level monitoring device and obtain a second fault detection result corresponding to each monitored device through the monitoring device.

[0081] The reset device identification module 203 is used to identify a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device from the target power system according to the first fault detection result, the second fault detection result and the multi-level monitoring system.

[0082] The device resetting module 204 is configured to reset the monitored device and the monitoring device through the first resetting device and the second resetting device.

[0083] Based on the above embodiment of a hierarchical monitoring and self-resetting method based on multi-layer devices, this embodiment further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the following is achieved: Figure 1 A hierarchical monitoring and self-resetting method based on multi-level equipment is shown.

[0084] This embodiment discloses a hierarchical monitoring and self-reset method, system, and device based on multi-level devices. By constructing a multi-level monitoring system and establishing hierarchical supervisory relationships between devices, a three-dimensional monitoring network covering all devices in the power system is formed. Based on the pre-built multi-level monitoring system, the monitoring devices at each level and their hierarchical relationships are identified, and a hierarchical and progressive monitoring architecture is constructed. This allows fault detection to be reported step by step, preventing the failure of a single monitoring node from causing system paralysis. The upper-level monitoring device obtains status information from the lower-level monitoring device, while the monitoring device directly collects data from the monitored device, forming a bidirectional detection mechanism. This ensures both the effectiveness of the upper-level supervision of the lower-level and the real-time monitoring of the underlying device status. Based on the fault detection results and the multi-level system, the corresponding reset device is identified, and a logical correspondence is established between the faulty device and the reset device, enabling precise location of the fault source and designated reset execution subject. Ultimately, the hierarchical reset mechanism achieves targeted recovery of the faulty device, avoiding the risk of device loss of control caused by directly restarting the entire system in traditional solutions. This creates a closed-loop fault handling process and improves reset safety.

[0085] Example 2

[0086] In the existing technology, with the vigorous development of the big data industry, the scale of domestic computing power has continued to expand, effectively supporting the demand for basic computing power resources for advanced power computing. However, behind the rapid development, the energy consumption problem of data centers has become increasingly prominent, and the proportion of data center energy consumption in the total electricity consumption of the society has continued to rise. In response to this, in order to achieve a balance between computing power and power to achieve green computing, an electronic computing collaborative control system is applied in the power system. Among them, the electronic computing collaborative control system is located in a data / computing power center. Such a data / computing power center may be a data center (such as a computer room, etc.), or it may be various edge computing nodes (such as electronic computing collaborative computing resources in substations and distribution rooms) connected by a high-speed direct computing network to transmit various control signals and communication messages. There are multiple central controllers (CPUs) inside the electronic computing collaborative control system, and each controller has multiple cores (Cores). The cores, as independent computing units within the control system, are responsible for computer-coordinated control and computing tasks. Multiple applications (such as protection apps, communication apps, and measurement apps) run simultaneously on the cores. Therefore, computer-coordinated control systems can also be understood as a single control device. A device may have one or more boards, each with one or more CPUs. The highest-level computer-coordinated control system in a multi-level reset system can be understood as a single device, or a system composed of multiple devices (a higher-level device or cloud server acts as the brain of the system, coordinating system reset issues).

[0087] When using the electronic and computer collaborative control system to balance electricity and computing power, once the main controller or equipment fails, the electronic and computer collaborative control system basically relies on the self-recovery mechanism of the operating system. If the program failure cannot be handled, the system is generally restarted directly to resolve the failure. This operation method is more applicable in commercial products. It does not require complex fault judgment logic and can quickly handle the failure through restart. However, in the electronic and computer collaborative control system, since the controlled objects are primary and secondary equipment of the power grid, arbitrary restarts will put the equipment in an uncontrolled state for a short time, causing uncontrolled equipment movement, posing a major safety hazard.

[0088] In order to solve the above technical problems, refer to Figure 3 This embodiment provides a hierarchical monitoring and self-resetting method based on multi-level devices, which is used to reduce the security risks caused by device reset. The method includes:

[0089] Step 301: formulate a multi-level monitoring system corresponding to the target power system according to the operating logic of the target power system and identify the monitoring equipment in the target power system, several monitored equipment corresponding to the monitoring equipment and the upper-level monitoring equipment corresponding to the monitoring equipment according to the multi-level monitoring system.

[0090] In this embodiment, first, a multi-level monitoring system of the target electric power system, that is, the target electric computer cooperative control system to be monitored and reset is formulated according to the system operation logic of the target electric power system. Specifically, according to the multi-level architecture in the target electric computer cooperative control system and the functions corresponding to different devices in each architecture, multiple monitoring stages with superior and subordinate relationships of the target electric computer cooperative control system, monitoring devices that perform corresponding monitoring functions in each monitoring stage, and multiple monitored objects monitored by the monitoring devices are formulated.

[0091] Then, after the multi-level monitoring system is established, the monitoring equipment corresponding to the monitoring stage is identified from the target power system according to the monitoring equipment operation logic corresponding to the monitoring equipment in the multi-level monitoring system, and several monitored equipment corresponding to the monitoring stage are identified from the target power system according to the monitored equipment operation logic corresponding to the monitored object in the multi-level monitoring system.

[0092] In one implementation of this embodiment, in a multi-level monitoring system formulated according to the system operation logic of the target computer collaborative control system, the monitoring devices and monitored objects corresponding to each monitoring stage determined from the target computer collaborative control system are as shown in Table 1:

[0093] stage Monitoring equipment Monitored equipment Application Monitoring Application Monitor app Kernel monitoring Kernel Monitor kernel operating system Processor operating status monitoring Processor Monitor Processor soft reset Watchdog monitoring Watchdog Processor hard reset Power management monitoring Power management chip Main control board Multi-board heartbeat monitoring Computerized collaborative control system Each board in the system

[0094] Table 1

[0095] Referring to the table above, the monitoring logic of the multi-level monitoring system first needs to distinguish between monitoring devices and monitored objects. Monitoring devices are responsible for monitoring the operation and working status of monitored objects and promptly issuing alarms and handling suggestions for abnormal conditions. Monitored devices are generally computing units responsible for executing calculations, protection, communication, and control logic, and cannot independently determine their own abnormal conditions. As shown in the table above, the hierarchical division of each monitoring stage is as follows: the application monitoring stage is superior to the kernel monitoring stage, which is superior to the processor operating status monitoring stage, which is superior to the watchdog monitoring stage, which is superior to the power management monitoring stage, which is superior to the multi-board heartbeat monitoring stage. Each monitoring device is actually a monitoring device corresponding to a number of monitored objects within this monitoring stage, and each of these monitored objects corresponds to a corresponding monitoring device. This refers to the corresponding relationship within each level, not a separate device. For example, the monitoring device in the application monitoring stage is the application monitor, and the several monitored devices monitored by the application monitor are applications.

[0096] Step 302: Obtain a first fault detection result of each of the monitoring devices through the upper-level monitoring device and obtain a second fault detection result of each of the monitored devices through the monitoring device.

[0097] In this embodiment, the superior monitoring device is controlled to send a first polling signal to the monitoring device according to a preset first monitoring interval duration, so as to obtain the response result of the monitoring device to the first polling signal from the superior monitoring device according to a preset response time window. When it is detected that the monitoring device does not respond to the first polling signal within the response time window, it is determined that the monitoring device has a fault as the second fault detection result of the monitoring device.

[0098] At the same time, the monitoring device is controlled to send a second polling signal to the monitored object according to a preset second monitoring interval duration; wherein, the second monitoring interval duration is greater than the first monitoring interval duration; the response result of the monitored device to the second polling signal is obtained from the monitoring device according to a preset response time window; when it is detected that the monitored object does not respond to the second polling signal within the response time window, it is determined that the monitored object has a fault.

[0099] In one implementation of this embodiment, fault detection is performed on the monitoring device and the monitored device with reference to each monitoring device in the monitoring stage, a number of monitored objects corresponding to the monitoring device, and the hierarchical relationship of each monitoring stage shown in Table 1.

[0100] Specifically, the method for performing hierarchical monitoring according to the multi-level monitoring system shown in Table 1 is as follows: Figure 4 As shown. Figure 4 It can be seen that under normal working conditions, because the monitored device has multiple tasks or programs being executed, each monitoring device can poll the monitored device at a preset monitoring interval and confirm whether the monitored device has a fault through information interaction.

[0101] Specifically, when detecting faults in a monitored device, the monitoring device polls the monitored device at a preset second monitoring interval, confirming through information exchange whether the monitored device is operating normally. The second monitoring interval is calculated as follows: Second Monitoring Interval = Preset Fixed Time + Random Time. It should be noted that, for different monitoring stages, the preset fixed time in higher-level monitoring stages is longer than the fixed time in lower-level monitoring stages (for example, if the fixed monitoring interval in the application monitoring stage is set to 10ms, the fixed monitoring interval in the kernel monitoring stage is at least 30ms, the processor operating status monitoring interval is at least 100ms, and so on). The random time is generally 10% to 30% of the preset fixed time at the same stage. After superposition, each monitoring interval is different, ensuring a certain degree of randomness in monitoring and making it easier to detect system faults.

[0102] When fault detection is performed on a monitoring device, the corresponding superior monitoring device polls the monitoring device at a preset first monitoring interval to confirm whether the monitoring device is operating normally through information exchange. The calculation method for the first and second monitoring intervals is consistent. For example, when fault detection is performed on an application monitor in the application monitoring stage, the application monitor is polled by the kernel monitor in the superior monitoring stage, i.e., the kernel monitoring stage, corresponding to the application monitoring stage, to perform fault detection.

[0103] Then, whether the first fault detection result of the monitoring device is obtained through the superior monitoring device or the second fault detection result corresponding to the monitored device is obtained through the monitoring device, when the polling signal of the superior monitoring device or the monitoring device is sent out within a certain time window, such as 1 to 3 monitoring intervals, no reply is received from the monitoring device or the monitored device. At this time, the monitored device may have a fault. At this time, the superior monitoring device or the monitoring device records an abnormal alarm event. When waiting for a certain time window, such as 1 to 2 monitoring intervals, no reply is received from the monitoring device or the monitored device, the superior monitoring device determines that the monitoring device has a fault or the monitoring device determines that the monitored device has a fault. The fault may be caused by output abnormality, memory overflow, program stuck and no response, etc.

[0104] Step 303: Determine in sequence a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device according to the first fault detection result, the second fault detection result and the multi-level monitoring system.

[0105] In this embodiment, the steps are mainly as follows: when a fault is detected in the monitored device, the monitoring device corresponding to the monitored device is used as the first reset device of the monitored device; when a fault is detected in the monitoring device, the superior monitoring device corresponding to the monitoring device is used as the second reset device of the monitoring device; and when a fault is detected in the monitored device and the monitoring device corresponding to the monitored device also fails, the superior monitoring device corresponding to the monitoring device is used as the first reset device of the monitored device.

[0106] Specifically, a multi-level reset system is determined based on the corresponding multiple monitoring stages in the multi-level monitoring system and the hierarchical relationship between the monitoring stages. The relationship between the multi-level reset system and the multi-level monitoring system is as follows: Figure 5 As shown, from Figure 5 It can be seen that the application monitoring stage corresponds to the software module reset, the kernel monitoring stage corresponds to the kernel reset, the processor operation status monitoring stage corresponds to the processor software global reset, the watchdog monitoring stage corresponds to the CPU external (reset pin reset) reset, the power management monitoring stage corresponds to the device board power reset, and the multi-board heartbeat monitoring stage corresponds to the multi-board reset. Among them, the software module reset, kernel reset and processor software global reset belong to the software reset stage, while the CPU external (reset pin reset) reset, device board power reset and the multi-board reset belong to the hardware reset. And each reset stage has different levels according to its corresponding monitoring stage, such as kernel reset is the superior of software module reset, and CPU external (reset pin reset) reset is the superior of kernel reset, etc. According to the superior-subordinate relationship of the monitoring stage, the superior-subordinate relationship between the reset stages can be inferred in turn.

[0107] In one embodiment of this embodiment, referring to the multi-level monitoring system shown in Table 1 and Figure 5 The correspondence between the multi-level reset system and the multi-level monitoring system shown can be determined from the target computer collaborative control system to determine the reset device corresponding to each monitored device and the reset device corresponding to the monitoring device, as shown in Table 2:

[0108]

[0109] Table 2

[0110] In this embodiment, referring to Table 2, during a reset, the monitoring device corresponding to the current monitoring stage serves as the first reset device for the monitored device, while the monitoring device in the upper-level monitoring stage corresponding to the current monitoring stage serves as the reset device for the monitoring device in the current monitoring stage. As can be seen from Table 2, taking the application monitoring stage as an example, the monitoring device in the application monitoring stage, namely the application controller, serves as the first reset device for the monitored device, namely the application. The kernel controller in the upper-level monitoring stage, namely the kernel monitoring stage, serves as the second reset device for the application controller in the application monitoring stage.

[0111] It's important to note that if the monitoring device corresponding to a monitored device fails during a monitoring phase, the reset device corresponding to the monitoring device can be used as the first reset device for the monitored device. As Table 2 shows, if the first reset device corresponding to an application, namely the application controller, fails, the second reset device corresponding to the application controller, namely the kernel controller, can serve as the first reset device for the application to reset the application.

[0112] Step 304: Reset the monitoring device and the monitored device through the first reset device and the second reset device.

[0113] In this embodiment, the first reset device is controlled to send a first reset instruction to the monitored device and the second reset device is controlled to send a second reset instruction to the monitoring device; the third fault detection result of the monitored device is obtained through the first reset device and the fourth fault detection result of the monitoring device is obtained through the second reset device; and the reset result of the monitored device and the reset of the monitoring device are implemented according to the third fault detection result and the fourth fault detection result.

[0114] Specifically, in this embodiment, the method of resetting by the reset device is as follows: Figure 6 As shown, from Figure 6It can be seen that when the reset object, i.e. the monitored device or the monitoring device, is detected to have a fault, the monitoring device corresponding to the monitored device or the superior monitoring device corresponding to the monitoring device receives a reset instruction. At this time, the reset device judges its own operating status. If its own operation is abnormal or has lost response, it directly upgrades the processing; if its own operating status is normal, the device that resets it is reset. It should be noted that the operation of the monitoring device is independent of the monitored device, which is equivalent to a redundant system or a higher-level control authority system. During operation, it can ensure that: (1) the monitoring device has control over the monitored device; (2) the failure of the monitored device cannot affect the operation of the monitoring device; (3) the monitoring device can receive or sense the failure of the monitored device through polling and other methods, and can ensure that the monitored device is successfully reset after sending the reset instruction, such as a direct soft restart or a hard restart.

[0115] Secondly, if the reset device's own operating status is normal, then there is no problem. If it is stuck, it is more likely that it is itself a monitored device, and its upper-level monitoring device will perform a mechanism similar to a watchdog or polling mechanism. If it is found that the reset device at this level is also stuck, it will be promoted to the upper level for processing. Such chain control or recursive control can ensure that the fault scope is confirmed level by level without blindly expanding the reset scope. After the reset fails, it means that this level cannot handle the fault and the fault scope is larger than the jurisdiction of this level. Therefore, consider reporting to the upper level, and the upper level will directly perform fault determination and reset in a larger scope. Since the jurisdiction / reset scope of the upper level is larger than that of the current level (for example, if the power supply of the board is reset, the CPU on the board must also be reset), it can be guaranteed that if the upper level is reset, the current level will definitely be reset.

[0116] Furthermore, the monitoring device acting as a reset device will interact and communicate with its superior monitoring device. For example, the superior monitoring device will regularly exchange information with the monitoring device through polling or heartbeat messages. If there is no information interaction for a long time, it is necessary to send information to confirm whether the monitoring device has also crashed and enter the exception handling (reset) program. It should be noted that the reset device usually has a preset exception handling (reset) program written in the controller in advance, such as through soft reset, power-off reset, etc., which can be set in advance according to the actual situation; when the reset device itself has an abnormality, polling or information exchange will be interrupted, so the upper-level reset device will suspect that there is a problem with the reset device and will send information to query the status of the reset device. If there is no response after several times (the threshold number or response time can be set), it can be determined to be a crash and reset directly; the upper-level reset device generally polls to query the status of multiple lower-level reset devices in turn, that is, each lower-level reset device will send a heartbeat or "I am working normally" message to the upper-level reset device at regular intervals. If anyone stops sending, it will be suspected that it has a problem, so the upper-level reset device will actively send it a message to confirm whether it is really unresponsive.

[0117] In one implementation of this embodiment, after the reset device resets the monitoring device or the monitored device, the reset device will continue to query the status of the reset device. If the reset device returns to normal, the fault state is ended and normal operation is returned to normal. If the reset is still abnormal after several times (the specific threshold number can be set), a reset instruction is sent to the upper-level reset device (such as the application controller in application monitoring to the kernel controller in kernel monitoring). Note that there is no upper-level control system for the highest-level monitoring system. After the reset, the fault of the entire system is successfully repaired.

[0118] This embodiment discloses a hierarchical monitoring and self-reset method based on multi-layered devices. Considering that in computer systems, applications run within an operating system, which is decoupled from the entire hardware, the same operating system can run on chips / processors of different brands and architectures. Furthermore, the operating system faces highly abstract driver interfaces and has very weak control and control over computing hardware and processor hardware. A computer collaborative device is a system that coordinates power and computing resources. Both are closely related to hardware and cannot be achieved solely through the software layer. Furthermore, since the computer collaborative control system needs to schedule computing power and integrate the power supply of the entire system for efficient and high-frequency energy management, these applications are highly coupled with the hardware resources and hardware architecture of the computer collaborative system. This degree of coupling is far greater than in traditional computer systems, and the software's control and processing authority over the hardware system is also far greater than in traditional computer systems. Therefore, in the process of troubleshooting, this embodiment utilizes a multi-layered monitoring system and a multi-layered reset system to carefully address the potential risk of fault expansion caused by this high processing authority. Highly reliable reset logic must be designed to quickly locate and properly resolve system faults.

[0119] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A hierarchical monitoring and self-resetting method based on multi-level equipment, characterized in that: include: Identify, from the target power system, a monitoring device in each level, a plurality of monitored devices corresponding to the monitoring device, and a superior monitoring device corresponding to the monitoring device according to a pre-built multi-level monitoring system; Obtaining a first fault detection result of the monitoring device through the upper-level monitoring device and obtaining a second fault detection result corresponding to each of the monitored devices through the monitoring device; identifying, from the target power system, a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device based on the first fault detection result, the second fault detection result, and the multi-level monitoring system; The monitored device and the monitoring device are reset by the first resetting device and the second resetting device.

2. A hierarchical monitoring and self-resetting method based on multi-level equipment according to claim 1, characterized in that: The method of identifying a monitoring device in each level, a plurality of monitored devices corresponding to the monitoring device, and a superior monitoring device corresponding to the monitoring device from the target power system according to the pre-built multi-level monitoring system includes: Identifying multiple monitoring stages from the multi-level monitoring system; wherein the monitoring stages include an application monitoring stage, a kernel monitoring stage, a processor operation status monitoring stage, a watchdog monitoring stage, a power management monitoring stage, and a multi-board heartbeat monitoring stage; For any of the monitoring stages; Identifying a monitoring device corresponding to the monitoring stage from the target power system according to a monitoring device operation logic preset in the monitoring stage; Identifying a plurality of monitored devices corresponding to the monitoring stage from the target power system according to a preset monitored device operation logic in the monitoring stage; According to the preset superior-subordinate relationship of monitoring stages in the multi-level monitoring system, the monitoring equipment in the superior monitoring stage corresponding to the monitoring stage is used as the superior monitoring equipment of the monitoring equipment in the monitoring stage.

3. A hierarchical monitoring and self-resetting method based on multi-level equipment according to claim 2, characterized in that: The obtaining, by the upper-level monitoring device, a first fault detection result of the monitoring device includes: Controlling the upper-level monitoring device to send a first polling signal to the monitoring device according to a preset first monitoring interval duration; Obtaining a response result of the monitoring device to the first polling signal from the upper-level monitoring device according to a preset response time window; When it is detected that the monitoring device does not respond to the first polling signal within the response time window, it is determined that the monitoring device fails.

4. The hierarchical monitoring and self-resetting method based on multi-level equipment according to claim 2 is characterized in that: The obtaining, by the monitoring device, a second fault detection result corresponding to each monitored device includes: Controlling the monitoring device to send a second polling signal to the monitored object according to a preset second monitoring interval duration; wherein the second monitoring interval duration is longer than the first monitoring interval duration; Obtaining a response result of the monitored device to the second polling signal from the monitoring device according to a preset response time window; When it is detected that the monitored object does not respond to the second polling signal within the response time window, it is determined that a fault occurs in the monitored object.

5. A hierarchical monitoring and self-resetting method based on multi-level equipment according to any one of claims 3-4, characterized in that: The identifying, from the target power system, a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device based on the first fault detection result, the second fault detection result, and a pre-built multi-level monitoring system, includes: When a fault is detected in the monitored device, the monitoring device corresponding to the monitored device is used as the first reset device of the monitored device; When a failure of the monitoring device is detected, the upper-level monitoring device corresponding to the monitoring device is used as a second reset device for the monitoring device.

6. The hierarchical monitoring and self-resetting method based on multi-level equipment according to claim 5, characterized in that: The identifying, from the target power system, a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device based on the first fault detection result, the second fault detection result, and a pre-built multi-level monitoring system, includes: When it is detected that the monitored device fails and the monitoring device corresponding to the monitored device also fails, the upper-level monitoring device corresponding to the monitoring device is used as the first resetting device for the monitored device.

7. The hierarchical monitoring and self-resetting method based on multi-level equipment according to claim 5, characterized in that: The resetting of the monitored device and the monitoring device by using the first resetting device and the second resetting device includes: Controlling the first reset device to send a first reset instruction to the monitored device and controlling the second reset device to send a second reset instruction to the monitoring device; obtaining a third fault detection result of the monitored device through the first reset device and obtaining a fourth fault detection result of the monitoring device through the second reset device; A reset result of the monitored device and a reset of the monitoring device are achieved according to the third fault detection result and the fourth fault detection result.

8. The hierarchical monitoring and self-resetting method based on multi-level equipment according to claim 7, characterized in that: The resetting of the monitored device and the monitoring device according to the third fault detection result and the fourth fault detection result includes: When it is detected according to the third fault detection result that the monitored device has not been reset or when it is detected according to the fourth fault detection result that the monitoring device has not been reset, controlling the first reset device to send a first reset instruction to the monitored device a plurality of times and controlling the second reset device to send a second reset instruction to the monitoring device a plurality of times according to a preset reset number, so as to obtain a first reset result of the monitored device and a corresponding second reset result of the monitoring device; When it is detected according to the first reset result that the monitored device has not been reset or when it is detected according to the second reset result that the monitoring device has not been reset, the upper-level reset device corresponding to the first reset device is controlled to send the first reset instruction to the monitored device and the upper-level reset device corresponding to the second reset device is controlled to send the second reset instruction to the monitoring device, so as to achieve the reset of the monitoring device and the reset of the monitored device.

9. A hierarchical monitoring and self-resetting system based on multi-level equipment, characterized in that: It includes a detection device identification module, a fault detection module, a reset device identification module and a device reset module; The detection device identification module is used to identify the monitoring device in each level, the plurality of monitored devices corresponding to the monitoring device, and the upper-level monitoring device corresponding to the monitoring device from the target power system according to the pre-built multi-level monitoring system; The fault detection module is used to obtain a first fault detection result of the monitoring device through the upper-level monitoring device and obtain a second fault detection result corresponding to each monitored device through the monitoring device; The reset device identification module is configured to identify a first reset device corresponding to the monitored device and a second reset device corresponding to the monitoring device from the target power system according to the first fault detection result, the second fault detection result, and the multi-level monitoring system; The device reset module is used to reset the monitored device and the monitoring device through the first reset device and the second reset device.

10. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the method implements a hierarchical monitoring and self-resetting method based on multi-layer devices as described in any one of claims 1 to 8.