A method, device and system for monitoring equipment failure
By setting a sensing resistor on the power supply circuit of the automation equipment, detecting voltage difference changes and automatically sending a restart signal, the problem of cold start failure requiring manual intervention in the existing technology is solved, and the efficiency and speed of fault handling are improved.
Patent Information
- Application Number
- CN202210169838.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-02-23
AI Technical Summary
The existing technology lacks automatic monitoring and recovery means when a fault occurs in automation equipment that requires a cold start to recover, resulting in low fault handling efficiency and the need for manual intervention.
By setting a sensing resistor on the power supply circuit of the device, the change in voltage difference is detected. If a different voltage difference is detected, a restart signal is sent to the power pin of the device to realize automatic cold start of the device and avoid manual intervention.
It realizes automated fault monitoring and recovery, improves the speed and efficiency of fault handling, and reduces the need for manual intervention.
Smart Images

Figure CN114545064B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated monitoring, and in particular to a method, device and system for monitoring equipment failure. Background Art
[0002] Various faults may occur during the operation of automation equipment. Therefore, it is necessary to monitor the operation status of automation equipment so that it can be discovered in time when the automation equipment fails, and the faulty equipment can be restored to try to eliminate the fault. In the prior art, the equipment is dialed by a remote server to monitor whether the equipment is operating normally. When the equipment fails, the equipment can be hot-started. However, when the equipment exits the operating system and a fault occurs that requires a cold restart to recover, there is a lack of corresponding monitoring and recovery means, and manual intervention is required to restart the equipment, which reduces the efficiency of fault handling. Summary of the invention
[0003] The purpose of the present invention is to provide a method, device and system for monitoring equipment failure, which do not require manual intervention, speed up the failure processing and improve the efficiency of failure processing.
[0004] In order to solve the above technical problems, the present invention provides a method for monitoring a fault of an equipment, comprising:
[0005] Upon receiving a current voltage difference between two ends of a sensing resistor provided on a power supply circuit of the device in a current cycle, determining whether the current voltage difference is the same as the voltage difference between two ends of the sensing resistor detected by the sensing resistor in a previous cycle;
[0006] If they are different, a restart signal is sent to the power pin of the device, so that the device restarts after its own power pin receives the restart signal.
[0007] Preferably, after receiving the current voltage difference between the two ends of the device in the current cycle detected by the sensing resistor arranged on the power supply circuit of the device, the method further includes:
[0008] The current voltage difference is sent to a server so that the server records the current voltage difference.
[0009] Preferably, before sending a restart signal to the power pin of the device, the method further includes:
[0010] Reading a preset configuration, wherein the preset configuration includes whether to restart the device;
[0011] Determining whether to restart the device according to the preset configuration;
[0012] If yes, the step of sending a restart signal to the power pin of the device is entered.
[0013] Preferably, the method further comprises: if it is determined according to the preset configuration that the device is not to be restarted, waiting to receive a restart instruction sent by a user, and sending the restart signal to the power pin of the device when the restart instruction is received.
[0014] Preferably, after determining that the current voltage difference is different from the voltage difference between the two ends of the sensing resistor detected by the sensing resistor acquired in the previous cycle, the method further includes:
[0015] Send an alarm signal to the server.
[0016] Preferably, it also includes:
[0017] Obtain the current ARP table of the device in the current cycle, wherein the ARP table includes the Mac and IP addresses of all devices in the same local area network as the device;
[0018] Determine whether the Mac and IP address of the device exist in the current ARP table;
[0019] If not present, a restart signal is sent to the power pin of the device so that the device restarts after its own power pin receives the restart signal.
[0020] Preferably, after sending a restart signal to the power pin of the device, the method further comprises:
[0021] Obtaining the current ARP table of the device in the current period;
[0022] Determine whether the current ARP table of the current cycle of the device contains the Mac and IP address of the device;
[0023] If so, it is determined that the device has returned to normal.
[0024] Preferably, after determining that the device has returned to normal, the method further comprises:
[0025] The recovery time, MAC, IP address and the current voltage difference of the device are sent to the server so that the server records the recovery time, MAC, IP address and the current voltage difference of the device.
[0026] The present invention also provides a fault monitoring device for equipment, comprising: a processor and a sensing resistor, wherein the processor is connected to the sensing resistor, and the sensing resistor is arranged in a main control circuit of the equipment;
[0027] The sensing resistor is used to periodically detect a voltage difference between its two ends and send the voltage difference to the processor;
[0028] The processor is used to implement the fault monitoring method of the device as described above when executing a computer program.
[0029] The present invention also provides a fault monitoring system for equipment, comprising:
[0030] a voltage difference change judgment unit, configured to, upon receiving a current voltage difference between the two ends of the sensing resistor in the current cycle detected by the sensing resistor provided on the power supply circuit of the device, judge whether the current voltage difference is the same as the voltage difference between the two ends of the sensing resistor detected by the sensing resistor in the previous cycle, and if different, trigger the device restart unit;
[0031] The device restart unit is used to send a restart signal to the power pin of the device, so that the device restarts after its own power pin receives the restart signal.
[0032] The present invention discloses a method, device and system for monitoring equipment faults. The method monitors the operation status of the equipment by detecting the current voltage difference between the two ends of a sensor resistor arranged on a power supply circuit of the equipment. When the current voltage difference is different from the voltage difference between the two ends of the sensor resistor detected by the sensor resistor acquired in the previous cycle, that is, when the equipment has a catastrophic fault and needs a cold start, the equipment is restarted by automatically sending a restart signal to the power pin of the equipment. No human intervention is required, thereby speeding up the fault handling and improving the efficiency of the fault handling. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. 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.
[0034] Figure 1 A flow chart of a method for monitoring a fault of a device provided by the present invention;
[0035] Figure 2 A schematic diagram of the structure of a fault monitoring device for equipment provided by the present invention;
[0036] Figure 3 A schematic diagram of the structure of a fault monitoring system for equipment provided by the present invention;
[0037] Figure 4 A schematic diagram of the structure of a sensing resistor provided by the present invention;
[0038] Figure 5 A schematic structural diagram of a device provided by the present invention. DETAILED DESCRIPTION
[0039] The core of the present invention is to provide a method, device and system for monitoring equipment failure, which does not require manual intervention, speeds up the failure processing and improves the failure processing efficiency.
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Please refer to Figure 1 , Figure 1 The present invention provides a flow chart of a method for monitoring equipment failure.
[0042] A method for monitoring equipment failure, comprising:
[0043] S1: upon receiving the current voltage difference between the two ends of the sensing resistor in the current cycle detected by the sensing resistor arranged on the power supply circuit of the device, determining whether the current voltage difference is the same as the voltage difference between the two ends of the sensing resistor detected by the sensing resistor in the previous cycle;
[0044] S2: If they are different, a restart signal is sent to the power pin of the device, so that the device restarts after its own power pin receives the restart signal.
[0045] Considering that in the prior art, a dedicated server is set up to dial the device to detect the operating status of the device, but this method can only be used when the device can enter the operating system normally after a failure occurs. Once the device cannot exit the operating system and a failure occurs that requires a cold start to recover to normal, manual intervention is required, which reduces the efficiency of fault handling. In order to solve the above problem, in this application, a sensor resistor is set on the power supply circuit of the device to detect the operating status of the device. The sensor resistor can periodically detect the voltage difference between its two ends. Since the voltage difference between the two ends of the device detected by the sensor resistor is different when the device is in normal operation and when a failure occurs to exit the operating system, for example, when the device is in normal state, the voltage difference between the two ends of the sensor resistor detected by the sensor resistor is 5V, and after the device fails, the voltage between the two ends of the sensor resistor detected by the sensor resistor is 0V. Therefore, when receiving the current voltage difference between the two ends of the sensor resistor set on the power supply circuit of the device, by comparing the current voltage difference with the voltage difference between the two ends of the sensor resistor detected by the sensor resistor obtained in the previous cycle, it is judged whether the device has a fault. If the current voltage difference is different from the voltage difference between the two ends of the sensor resistor detected by the sensor resistor obtained in the previous cycle, it means that the device has a fault. If they are the same, it means that the device is operating normally. Through the above method, fault monitoring of the device is realized. Please refer to Figure 4 , Figure 4 A schematic diagram of the structure of a sensing resistor provided by the present invention, wherein V IN Connect to the power supply of the device, V OUT Connect to the power supply terminal of the device.
[0046] Please refer to Figure 5 , Figure 5 The schematic diagram of the structure of a device provided by the present invention is shown in FIG.
[0047] Furthermore, if the current voltage difference is different from the voltage difference between the two ends of the sensing resistor detected by the sensing resistor obtained in the previous cycle, it means that the device has a fault that requires a cold start to recover. Therefore, in order to attempt to recover the device, a restart signal is sent to the power pin of the device so that the device restarts after receiving the restart signal at its own power pin. In order to achieve communication with the power pin of the device, a restart signal can be sent to the power pin of the device through an I / O (Input / Outout) chip, but is not limited to. A cold start of the device is achieved, avoiding manual intervention.
[0048] To summarize, in this embodiment, the operating status of the device is monitored by detecting the current voltage difference between the two ends of the sensor resistor set on the power supply circuit of the device. When the current voltage difference is different from the voltage difference between the two ends of the sensor resistor detected by the sensor resistor obtained in the previous cycle, that is, when the device has a catastrophic failure and needs a cold start, the device is restarted by automatically sending a restart signal to the power pin of the device. No human intervention is required, which speeds up fault handling and improves fault handling efficiency.
[0049] Based on the above embodiments:
[0050] As a preferred embodiment, after receiving the current voltage difference between the two ends of the device detected by the sensing resistor arranged on the power supply circuit of the device, the method further includes:
[0051] The current voltage difference is sent to the server so that the server can record the current voltage difference.
[0052] In order to facilitate the technicians to check the current operating status of the monitored equipment at any time, in this embodiment, the current voltage difference is also sent to the server so that the server can record the current voltage difference. It should be noted that the current voltage difference can be sent to the server through the network by setting a wireless AP (Wireless Access Point, wireless access point) module, but is not limited to.
[0053] As a preferred embodiment, before sending a restart signal to the power pin of the device, the method further includes:
[0054] Read the preset configuration, which includes whether to restart the device;
[0055] Determine whether to restart the device according to the preset configuration;
[0056] If so, the process proceeds to the step of sending a restart signal to the power pin of the device.
[0057] Considering that in some cases, directly cold-starting a faulty device may cause damage to the device, for example, when the device fails due to water ingress, cold-starting the faulty device and re-powering the device may cause greater damage to the device. Therefore, in this embodiment, whether to restart the device is determined by reading a preset configuration, and the preset configuration can be but not limited to being pre-set by a technician according to actual conditions. If the preset configuration is to restart the device when a fault occurs, after determining that the current voltage difference is different from the voltage difference between the two ends of the sensing resistor detected by the sensing resistor obtained in the previous cycle, a restart signal is sent to the power pin of the device. This provides technicians with more diverse choices and can handle faulty devices in different situations.
[0058] As a preferred embodiment, it further includes: if it is determined according to the preset configuration that the device is not to be restarted, waiting to receive a restart instruction sent by the user, and sending a restart signal to the power pin of the device when the restart instruction is received.
[0059] In this embodiment, if it is determined that the device is not to be restarted according to the preset configuration, the user can control the restart of the faulty device by remotely sending a restart instruction. In addition to receiving the restart instruction sent by the user, the voltage difference detection instruction sent by the user can also be received, which is used to actively detect the voltage difference between the two ends of the sensing resistor, etc. This application does not make any special restrictions here. By receiving the restart instruction sent by the user's remote server, the user can actively control the timing of the device restart according to his own needs, so as to better restore the faulty device according to the actual situation.
[0060] As a preferred embodiment, after determining that the current voltage difference is different from the voltage difference between the two ends of the sensing resistor detected by the sensing resistor obtained in the previous cycle, the method further includes:
[0061] Send an alarm signal to the server.
[0062] In order to promptly notify the technicians when equipment fails, in this embodiment, after determining that the current voltage difference is different from the voltage difference between the two ends of the sensor resistor detected by itself in the previous cycle, it indicates that the monitored equipment has failed and an alarm signal needs to be sent to the server. The alarm signal can be but is not limited to being sent to the server via a network, so that the technicians can pay further attention to and record the failed equipment after receiving the alarm signal.
[0063] As a preferred embodiment, it also includes:
[0064] Get the current ARP (Address Resolution Protocol) table of the device in the current cycle. The ARP table includes the Mac and IP addresses of all devices in the same LAN as the device.
[0065] Determine whether the device's Mac (Media Access Control Address) and IP address exist in the current ARP table;
[0066] If not present, a restart signal is sent to a power pin of the device so that the device restarts after its own power pin receives the restart signal.
[0067] Considering that the stability of fault monitoring of the device is low only by setting a sensor resistor, once the sensor resistor fails, the fault monitoring of the device cannot be realized. In order to solve the above problem, in this embodiment, the operation status of the device is judged by obtaining the current ARP table of the device in the current cycle. ARP is a TCP / IP (Transmission Control Protocol / Internet Protocol) protocol that obtains the physical address according to the IP address. The ARP table is used to store the IP address and MAC correspondence table. Each entry in the ARP table records the IP address and the corresponding MAC address of all devices in the current network. Each Ethernet or token ring network adapter has its own separate ARP table. Specifically, after obtaining the current ARP table of the device in the current cycle, it is judged whether the device is in a normal state by judging whether the Mac and IP address of the device exist in the current ARP table. If the Mac and IP address of the monitored device do not exist in the current ARP table, it means that the device has failed. A redundant means is provided for fault monitoring, so that the monitoring result of the faulty device is more accurate.
[0068] It should be noted that when the number of devices connected to the network remains unchanged, it is also possible to determine whether the Mac and IP addresses recorded in the current ARP table are less than the Mac and IP addresses recorded in the ARP table obtained in the previous cycle. If so, it indicates that a device has failed. In addition, the voltage difference of different cycles and the Mac and IP addresses recorded in the ARP table can be compared, but is not limited to, by means of a finite state machine.
[0069] As a preferred embodiment, after sending the restart signal to the power pin of the device, the method further includes:
[0070] Get the current ARP table of the device in the current cycle;
[0071] Determine whether the device's Mac and IP address exist in the current ARP table of the device's current cycle;
[0072] If it exists, it is determined that the device has returned to normal.
[0073] Taking into account that in the prior art, after the faulty device is restored, it is still necessary to manually check whether the faulty device has returned to normal, which is inefficient. In order to facilitate technical personnel to promptly understand whether the faulty device has returned to normal, in this embodiment, it is determined by judging whether the current ARP table of the faulty device in the current cycle contains the Mac and IP address of the faulty device. When the current ARP table of the faulty device in the current cycle contains the Mac and IP address of the faulty device, it is determined that the faulty device has returned to normal, without the need for manual checking, thereby improving work efficiency and saving time.
[0074] It should also be noted that whether the faulty device has returned to normal can also be determined by obtaining the current voltage difference to determine whether the current voltage difference has recovered to the same voltage difference as before the fault. This application does not make any special limitations here.
[0075] As a preferred embodiment, after determining that the device has returned to normal, the method further includes:
[0076] The recovery time, MAC, IP address and current voltage difference of the device are sent to the server so that the server can record the recovery time, MAC, IP address and current voltage difference of the device.
[0077] In this embodiment, after determining that the faulty device has returned to normal, it is also necessary to send the device's recovery time, MAC, IP address and current voltage difference to the server so that the server can record the device's recovery time, MAC, IP address and current voltage difference, thereby meeting the needs of remote operation and maintenance detection and fault recovery.
[0078] Please refer to Figure 2 , Figure 2 A schematic structural diagram of a fault monitoring device for equipment provided by the present invention.
[0079] The present invention also provides a fault monitoring device for equipment, comprising: a processor 21 and a sensing resistor 22, the processor 21 and the sensing resistor 22 are connected, and the sensing resistor 22 is arranged in a main control circuit of the equipment;
[0080] The sensing resistor 22 is used to periodically detect the voltage difference between its two ends and send the voltage difference to the processor 21;
[0081] The processor 21 is used to implement the above-mentioned device fault monitoring method when executing a computer program.
[0082] For the relevant introduction about the fault monitoring device of the equipment, please refer to the above embodiment, and this application will not go into details here.
[0083] Please refer to Figure 3 , Figure 3 A structural schematic diagram of a fault monitoring system for equipment provided by the present invention.
[0084] The present invention also provides a fault monitoring system for equipment, comprising:
[0085] The voltage difference change judgment unit 31 is used to determine whether the current voltage difference is the same as the voltage difference between the two ends of the sensor resistor detected by the sensor resistor set on the power supply circuit of the device in the current cycle, and if different, trigger the device restart unit 32;
[0086] The device restart unit 32 is used to send a restart signal to the power pin of the device, so that the device restarts after its own power pin receives the restart signal.
[0087] For the relevant introduction about the fault monitoring system of the device, please refer to the above embodiment, and this application will not go into details here.
[0088] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0089] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0090] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for monitoring equipment failure, It is characterized in that include: Upon receiving a current voltage difference between two ends of a sensing resistor provided on a power supply circuit of the device in a current cycle, determining whether the current voltage difference is the same as the voltage difference between two ends of the sensing resistor detected by the sensing resistor in a previous cycle; If they are different, sending a restart signal to the power pin of the device, so that the device restarts after its own power pin receives the restart signal; Wherein, the method further comprises: Obtaining the current ARP table of the device in the current cycle, wherein the ARP table includes the Mac and IP addresses of all devices in the same local area network as the device; Determine whether the Mac and IP address of the device exist in the current ARP table; If not present, a step of sending a restart signal to a power pin of the device so that the device restarts after its own power pin receives the restart signal; Or, determine whether the number of devices corresponding to the Mac and IP addresses in the current ARP table is less than the number of devices corresponding to the Mac and IP addresses in the ARP table of the previous cycle; If it is less than, sending a restart signal to the power pin of the device, so that the device restarts after its own power pin receives the restart signal.
2. The method for monitoring the fault of the device according to claim 1, It is characterized in that After receiving the current voltage difference between the two ends of the device in the current cycle detected by the sensing resistor arranged on the power supply circuit of the device, the method further includes: The current voltage difference is sent to a server so that the server records the current voltage difference.
3. The method for monitoring the fault of the device according to claim 1, Features , before sending a restart signal to the power pin of the device, it also includes: Reading a preset configuration, wherein the preset configuration includes whether to restart the device; Determining whether to restart the device according to the preset configuration; If yes, the step of sending a restart signal to the power pin of the device is entered.
4. The method for monitoring the fault of the device according to claim 3, It is characterized in that Also includes: If it is determined according to the preset configuration that the device is not to be restarted, wait to receive a restart instruction sent by the user, and send the restart signal to the power pin of the device when the restart instruction is received.
5. The method for monitoring the fault of the device according to claim 1, It is characterized in that After determining that the current voltage difference is different from the voltage difference between the two ends of the sensing resistor detected by the sensing resistor acquired in the previous cycle, the method further includes: Send an alarm signal to the server.
6. The method for monitoring the fault of the device according to claim 1, It is characterized in that After sending a restart signal to the power pin of the device, the method further includes: Obtaining the current ARP table of the device in the current period; Determine whether the current ARP table of the current cycle of the device contains the Mac and IP address of the device; If so, it is determined that the device has returned to normal.
7. The method for monitoring the fault of the device according to claim 6, It is characterized in that After determining that the device has returned to normal, the method further includes: The recovery time, MAC, IP address and the current voltage difference of the device are sent to the server so that the server records the recovery time, MAC, IP address and the current voltage difference of the device.
8. A fault monitoring device for equipment, It is characterized in that include: A processor and a sensor resistor, the processor and the sensor resistor are connected, and the sensor resistor is arranged in a main control circuit of the device; The sensing resistor is used to periodically detect a voltage difference between its two ends and send the voltage difference to the processor; The processor is used to implement the fault monitoring method of the device according to any one of claims 1 to 7 when executing the computer program.
9. A fault monitoring system for equipment, It is characterized in that include: a voltage difference change judgment unit, configured to, upon receiving a current voltage difference between the two ends of the sensing resistor in the current cycle detected by the sensing resistor provided on the power supply circuit of the device, judge whether the current voltage difference is the same as the voltage difference between the two ends of the sensing resistor detected by the sensing resistor in the previous cycle, and if different, trigger the device restart unit; The device restart unit is used to send a restart signal to the power pin of the device, so that the device restarts after its own power pin receives the restart signal; Among them, in the process of receiving the current voltage difference between its two ends in the current cycle detected by the sensor resistor set on the power supply circuit of the device, the voltage difference change judgment unit also includes: obtaining the current ARP table of the current cycle of the device, the ARP table including the Mac and IP addresses of all devices in the same local area network as the device; judging whether the Mac and IP address of the device exist in the current ARP table; if not, sending a restart signal to the power pin of the device so that the device restarts after its own power pin receives the restart signal; or, judging whether the number of devices corresponding to the Mac and IP addresses in the current ARP table is less than the number of devices corresponding to the Mac and IP addresses in the ARP table of the previous cycle; if less, sending a restart signal to the power pin of the device so that the device restarts after its own power pin receives the restart signal.
