Disaster recovery method and device for industrial monitoring equipment and industrial monitoring system
By randomly sending status test messages to the monitoring devices in the monitoring network, quickly identifying and switching failed devices, the problems of high complexity of disaster recovery model deployment and security risks are solved, rapid deployment and verification are achieved, and the flexibility and stability of the monitoring network are improved.
Patent Information
- Application Number
- CN202110119668.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-28
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-01-28
AI Technical Summary
In the prior art, the deployment and verification of disaster recovery models of industrial monitoring equipment in different application scenarios is complex and has security risks, making it difficult to achieve rapid deployment and verification.
By randomly sending status test messages to the monitoring devices in the monitoring network, quickly identifying the failed devices and selecting alternative devices to switch, the rapid deployment and verification of the disaster recovery model is achieved, and complexity and security risks are reduced.
It realizes rapid deployment and verification of disaster recovery models, improves the flexibility and stability of the monitoring network, and reduces complexity and security risks.
Smart Images

Figure CN114815745B_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the field of industrial digitization, and in particular to a disaster recovery method and device for industrial monitoring equipment and an industrial monitoring system. Background Art
[0002] In the industrial sector, the proper functioning of industrial node equipment (such as cutting machines, packaging machines, and cleaning machines) is crucial to the entire industrial production line. However, in actual operations, failures of industrial node equipment are inevitable. Therefore, monitoring equipment is introduced to monitor industrial node equipment to prevent unplanned failures.
[0003] In existing technologies, multiple monitoring devices are connected to a controller to transmit the status data of the industrial node devices monitored by the monitoring devices to the controller, which then performs disaster recovery processing based on the received status data of the industrial node devices. After the disaster recovery model is developed, it needs to be deployed and verified on-site. However, different application scenarios often require different numbers and topologies of monitoring devices and industrial node devices, which increases the complexity and security risks of the disaster recovery model. Summary of the Invention
[0004] In order to solve the above technical problems, the present invention provides a disaster recovery method, device and industrial monitoring system for industrial monitoring equipment to achieve rapid deployment and verification of disaster recovery models and reduce the complexity and security risks of disaster recovery models.
[0005] To achieve the above-mentioned purpose, the present invention proposes a disaster recovery method for monitoring equipment, wherein the monitoring equipment is used to monitor industrial node equipment, and a plurality of monitoring equipment form a monitoring network, and the method comprises: a monitoring equipment in the monitoring network randomly sends a status test message to other monitoring equipment in the monitoring network; a monitoring equipment in a faulty state in the monitoring network is determined based on the status test message; a replacement monitoring equipment for the monitoring equipment in a faulty state is selected in the monitoring network, and the monitoring equipment in a faulty state is switched to the replacement monitoring equipment. To this end, by randomly sending a status test message to other monitoring equipment in the monitoring network by the monitoring equipment in the monitoring network, when a new monitoring equipment is added, the existing monitoring equipment in the monitoring network can quickly obtain the status of the new monitoring equipment, and the new monitoring equipment can also quickly obtain the status of the existing monitoring equipment, thereby realizing the rapid deployment and verification of the disaster recovery model; by selecting a replacement monitoring equipment for the monitoring equipment in a faulty state in the monitoring network, and switching the monitoring equipment in a faulty state to the replacement monitoring equipment, the flexibility of disaster recovery and the stability of the monitoring network are improved.
[0006] In one embodiment of the present invention, determining that a monitoring device in the monitoring network is in a faulty state based on the status test message includes: if the monitoring device that sent the status test message does not receive a reply within a first predetermined time, marking the monitoring device to which the status test message was sent as being in a suspicious state; and if the monitoring device's suspicious state persists for more than a second predetermined time, determining that the monitoring device marked as being in a suspicious state is in a faulty state. Thus, whether the monitoring device is in a faulty state can be quickly determined.
[0007] In one embodiment of the present invention, the method further includes: upon receiving a reactivation message from a monitoring device marked as being in a suspicious state, a monitoring device in the monitoring network restores the monitoring device that sent the reactivation message from the suspicious state to a normal state. This prevents misjudgments of the monitoring device's state and improves the accuracy of determining the monitoring device's state.
[0008] In one embodiment of the present invention, selecting a replacement monitoring device for the faulty monitoring device in the monitoring network includes: selecting a normal monitoring device in the monitoring network; and selecting one of the following monitoring devices as the replacement monitoring device: the monitoring device physically closest to the faulty monitoring device, the monitoring device with the closest network distance to the faulty monitoring device, or the monitoring device with the greatest correlation value with the faulty monitoring device. Thus, the faulty monitoring device can be quickly replaced, improving the reliability of the monitoring network.
[0009] In one embodiment of the present invention, the monitoring device includes an upstream monitoring device and a downstream monitoring device, the upstream monitoring device is used to monitor the upstream industrial node device, the downstream monitoring device is used to monitor the downstream industrial node device, and the upstream industrial node device is located upstream of the downstream industrial node device. The method also includes: the upstream monitoring device sends the abnormal data of the upstream industrial node device detected to the downstream monitoring device; the downstream monitoring device uses a monitoring model to verify the abnormal data, increases the correlation value between the upstream monitoring device and the downstream monitoring device when the monitoring model operates normally, and reduces the correlation value between the upstream monitoring device and the downstream monitoring device when the monitoring model operates abnormally. To this end, the dimension of the relationship between the monitoring devices can be increased, further improving the stability of the monitoring network.
[0010] In one embodiment of the present invention, each of the monitoring devices in the monitoring network is connected to a data gateway, and the data gateway is further connected to other monitoring networks. To this end, multiple networks can be connected to achieve data communication between multiple monitoring networks.
[0011] The present invention also proposes a disaster recovery device for a monitoring device, wherein the monitoring device is used to monitor industrial node equipment, and multiple monitoring devices form a monitoring network. The device is characterized in that the device includes: a random sending module, which enables the monitoring device in the monitoring network to randomly send status test messages to other monitoring devices in the monitoring network; a fault determination module, which determines the monitoring device in a faulty state in the monitoring network based on the status test message; and a switching module, which selects a replacement monitoring device for the monitoring device in a faulty state in the monitoring network, and switches the monitoring device in a faulty state to the replacement monitoring device.
[0012] In one embodiment of the present invention, the fault determination module determines the monitoring device in the monitoring network that is in a fault state based on the status test message, including: when the monitoring device that sends the status test message does not receive a reply within a first predetermined time, marking the monitoring device to which the status test message is sent as a suspicious state; when the suspicious state of the monitoring device continues for more than a second predetermined time, determining that the monitoring device marked as a suspicious state is in a fault state.
[0013] In one embodiment of the present invention, the apparatus further comprises: when a monitoring device in the monitoring network receives a resurrection message sent by a monitoring device marked as being in a suspicious state, restoring the monitoring device that sent the resurrection message from the suspicious state to a normal state.
[0014] In one embodiment of the present invention, the switching module selects a replacement monitoring device for the monitoring device in a faulty state in the monitoring network, including: selecting a monitoring device in a normal state in the monitoring network; and selecting one of the following monitoring devices as a replacement monitoring device among the monitoring devices in the normal state: the monitoring device that is physically closest to the monitoring device in a faulty state, the monitoring device that is closest to the network distance to the monitoring device in a faulty state, or the monitoring device that has the largest correlation value with the monitoring device in a faulty state.
[0015] In one embodiment of the present invention, the monitoring device includes an upstream monitoring device and a downstream monitoring device, the upstream monitoring device is used to monitor the upstream industrial node device, the downstream monitoring device is used to monitor the downstream industrial node device, the upstream industrial node device is located upstream of the downstream industrial node device, and the device also includes: the upstream monitoring device sends the detected abnormal data to the downstream monitoring device; the downstream monitoring device uses a monitoring model to verify the abnormal data, increases the correlation value of the upstream monitoring device and the downstream monitoring device when the monitoring model operates normally, and reduces the correlation value of the upstream monitoring device and the downstream monitoring device when the monitoring model operates abnormally.
[0016] In one embodiment of the present invention, each of the monitoring devices in the monitoring network is connected to the data gateway, and the data gateway is further connected to other monitoring networks.
[0017] The present invention also proposes an industrial monitoring system, which includes multiple monitoring devices, each of which is used to monitor industrial node devices. The multiple monitoring devices form a monitoring network, and the industrial monitoring system also includes the device described above.
[0018] The present invention also provides an electronic device, comprising a processor, a memory, and instructions stored in the memory, wherein the instructions implement the above-mentioned method when executed by the processor.
[0019] The present invention also provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed, the method described above is executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The following drawings are only intended to illustrate and explain the present invention, and do not limit the scope of the present invention.
[0021] Figure 1 is a schematic diagram of a monitoring system according to an embodiment of the present invention;
[0022] Figure 2 is a flow chart of a disaster recovery method for a monitoring device according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of selecting an alternative monitoring device according to an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of updating relevant values of an upstream monitoring device and a downstream monitoring device according to an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of a disaster recovery device for a monitoring device according to an embodiment of the present invention;
[0026] Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0027] Description of Reference Numerals
[0028] 100 Monitoring System
[0029] 10 First Monitoring Network
[0030] 11-16 Monitoring Equipment
[0031] 20 Data Gateway
[0032] 30 Second Monitoring Network
[0033] 31-32 Monitoring Equipment
[0034] 200 Disaster Recovery Methods for Monitoring Equipment
[0035] Steps 210-230
[0036] ME1-ME3 Industrial Node Devices
[0037] 500 Disaster recovery device for monitoring equipment
[0038] 510 Random Send Module
[0039] 520 Fault Determination Module
[0040] 530 Switching Module
[0041] 600 Electronic Equipment
[0042] 610 processor
[0043] 620 memory DETAILED DESCRIPTION
[0044] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.
[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0046] As used in this application and the claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "comprises" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.
[0047] Figure 1 FIG. 1 is a schematic diagram of a monitoring system 100 according to an embodiment of the present invention. Figure 1 As shown, the monitoring system 100 includes a first monitoring network 10 and a second monitoring network 30. In an embodiment of the present invention, the first monitoring network 10 may correspond to one production line, and the second monitoring network 30 may correspond to another production line.
[0048] The first monitoring network 10 includes monitoring devices 11-16, and the second monitoring network 30 includes monitoring devices 31-32. Preferably, the monitoring devices 11-16 in the first monitoring network 10 are connected wirelessly, and the monitoring devices 31-32 in the second monitoring network 30 are connected wirelessly. Taking the first monitoring network 10 as an example, the monitoring devices 11-16 in the first monitoring network 10 are respectively connected to the industrial node devices ( Figure 1 (not shown) is used to monitor industrial node equipment. Specifically, monitoring devices 11-16 monitor the status of industrial node equipment to determine whether the status of the industrial node equipment is normal or faulty. Industrial node equipment is equipment that performs independent functions on the production line, such as cutting machines, packaging machines, cleaning machines, etc. Multiple industrial node equipment are interconnected to form a complete production line, which can produce corresponding products. For example, metal blanks are cut by cutting machines, formed by rolling machines, and cleaned by cleaning machines to produce metal sheets.
[0049] The monitoring system 100 further includes a data gateway 20 , which is connected to the first monitoring network 10 and the second monitoring network 30 , respectively, so as to enable data communication between the first monitoring network 10 and the second monitoring network 30 .
[0050] Figure 2 FIG. 2 is a flow chart of a disaster recovery method 200 for a monitoring device according to an embodiment of the present invention. Figure 1 The monitoring system 100 shown in FIG. Figure 1 and Figure 2 The disaster recovery method 200 of the monitoring device is described. Figure 2 As shown, the disaster recovery method 200 of the monitoring device includes:
[0051] Step 210: A monitoring device in the monitoring network randomly sends a status test message to other monitoring devices in the monitoring network.
[0052] Monitoring devices randomly send status test messages to other monitoring devices, using a gossip protocol. Within a cycle, each or some monitoring devices randomly sends status test messages (such as ping messages) to other monitoring devices. The monitoring devices that receive the status test messages then send them to other monitoring devices. After several cycles, the status test messages containing the status information of all monitoring devices have spread throughout the network. This message transmission method allows existing monitoring devices in the monitoring network to quickly obtain the status of new monitoring devices when they join the network, and vice versa.
[0053] like Figure 1As shown, within a certain cycle, monitoring device 11 sends a status test message to monitoring device 12 and monitoring device 13, monitoring device 12 sends the received status test message to monitoring device 13 and monitoring device 15, monitoring device 15 sends the received status test message to monitoring device 14 and monitoring device 16, and monitoring device 16 sends the received status test message to monitoring device 14 and monitoring device 11. After several cycles, monitoring devices 11-16 in monitoring network 10 obtain status information of other monitoring devices in the monitoring network.
[0054] Step 220: Determine the monitoring device in a fault state in the monitoring network according to the status test message.
[0055] The status test message includes the ID of the target monitoring device to identify the target device, thereby determining which monitoring devices in the monitoring network are in a faulty state. Monitoring devices in a monitoring network can be categorized as alive, suspicious, or dead. Using status test messages, the current status of each monitoring device in the monitoring network can be determined.
[0056] In some embodiments, determining that a monitoring device in a faulty state in a monitoring network is in accordance with a status test message may include: when the monitoring device that sent the status test message does not receive a reply within a first predetermined time, marking the monitoring device to which the status test message was sent as a suspicious state; and when the suspicious state of the monitoring device continues for more than a second predetermined time, determining that the monitoring device marked as a suspicious state is in a faulty state. Figure 1 As shown, the monitoring device 12 sends a status test message to the monitoring device 13. If the monitoring device 12 does not receive an acknowledgment message within a first predetermined time (for example, 30 seconds), the monitoring device 13 will be marked as a suspicious state. If the suspicious state of the monitoring device 13 continues for more than a second predetermined time (for example, 5 minutes), the monitoring device 13 will be determined to be in a fault state, and the message that the monitoring device 13 is in a fault state will be broadcast to the entire first monitoring network 10.
[0057] In some embodiments, the disaster recovery method further includes: when a monitoring device in the monitoring network receives a resurrection message sent by a monitoring device marked as a suspicious state, restoring the monitoring device that sent the resurrection message from the suspicious state to a normal state. Figure 1 After the monitoring device 13 is marked as a suspicious state, if the monitoring device 14 receives a message sent by the monitoring device 13, which is called a resurrection message, the monitoring device 13 will be adjusted from the suspicious state to the normal state, and the message that the monitoring device 13 has returned to the normal state will be broadcast to the entire first monitoring network 10.
[0058] Step 230: Select a replacement monitoring device for the monitoring device in the faulty state in the monitoring network, and switch the monitoring device in the faulty state to the replacement monitoring device.
[0059] If the monitoring device is in a faulty state, the monitoring device will not be able to perform the monitoring function on the industrial node device. In this step, an alternative monitoring device is selected to perform the monitoring function. This process is called disaster recovery. By replacing the monitoring device in a faulty state with an alternative monitoring device, the stability of the monitoring network can be improved.
[0060] Figure 3 FIG. 1 is a schematic diagram of selecting an alternative monitoring device according to an embodiment of the present invention. Figure 3 As shown, the monitoring device 11 is used to monitor the industrial node device ME1. After the monitoring device 11 is confirmed to be in a faulty state, the monitoring device 16 in the monitoring network 10 serves as a replacement monitoring device for the monitoring device 11 to replace the monitoring device 11 to perform the monitoring function of the industrial node device ME1, thereby avoiding the industrial node device ME1 from being unable to be monitored when the monitoring device 11 is in a faulty state, and can improve the stability of the entire monitoring network.
[0061] In some embodiments, selecting a replacement monitoring device for a monitoring device in a faulty state in the monitoring network includes selecting a monitoring device in a normal state in the monitoring network. Among the monitoring devices in a normal state, one of the following is selected as the replacement monitoring device: the monitoring device that is physically closest to the monitoring device in a faulty state, the monitoring device that is network closest to the monitoring device in a faulty state, or the monitoring device that has the highest correlation value with the monitoring device in a faulty state. In other embodiments, the replacement monitoring device may be selected based on a weighted combination of physical distance, network distance, and correlation value.
[0062] Continue to refer Figure 3, select a monitoring device in a normal state in the monitoring network 10, for example, monitoring devices 12-16 are all in a normal state, then calculate the physical distances between the monitoring devices 12-16 and the monitoring device 11 respectively, sort the calculated physical distances, select the monitoring device with the closest physical distance (for example, monitoring device 16) as the replacement monitoring device, and then the monitoring device 16 performs the monitoring function on the industrial node device ME1. In addition to the status test information, the message transmitted in the monitoring network can also include location information, and the physical distance between the monitoring devices is calculated based on the location information. The same is true for the replacement monitoring device with the closest network distance and the largest correlation value, which will not be repeated here. In addition to the status test information, the message transmitted in the monitoring network can also include IP address information, and the network distance between the monitoring devices is calculated based on the IP address information. In an embodiment of the present invention, the correlation value is used to represent the correlation between two monitoring devices. If the correlation value is higher, it means that the correlation between the two monitoring devices is greater, and vice versa, the correlation between the two monitoring devices is smaller. The correlation value can be represented by the correlation degree of the industrial node devices monitored by the monitoring device. For example, the greater the correlation degree between two industrial node devices, the higher the numerical value of the correlation value of the corresponding two monitoring devices, and vice versa.
[0063] In some embodiments, the monitoring device includes an upstream monitoring device and a downstream monitoring device, the upstream monitoring device is used to monitor the upstream industrial node device, the downstream monitoring device is used to monitor the downstream industrial node device, and the upstream industrial node device is located upstream of the downstream industrial node device. The method also includes: the upstream monitoring device sends the detected abnormal data of the upstream industrial node device to the downstream monitoring device; the downstream monitoring device uses a monitoring model to verify the abnormal data, increases the correlation value of the upstream monitoring device and the downstream monitoring device when the monitoring model operates normally, and reduces the correlation value of the upstream monitoring device and the downstream monitoring device when the monitoring model operates abnormally.
[0064] Figure 4 FIG. 1 is a schematic diagram of updating the relevant values of an upstream monitoring device and a downstream monitoring device according to an embodiment of the present invention. Figure 4 As shown, industrial node device ME1, industrial node device ME2 and industrial node device ME3 are arranged in sequence from upstream to downstream, and monitoring device 11, monitoring device 12 and monitoring device 13 are used to monitor industrial node device ME1, industrial node device ME2 and industrial node device ME3 respectively. Figure 4In the example, monitoring device 11 serves as the upstream monitoring device of monitoring device 12, and monitoring device 12 serves as the upstream monitoring device of monitoring device 13. Upstream monitoring device 11 sends abnormal data detected by upstream industrial node device ME1 to downstream monitoring device 12. Downstream monitoring device 12 verifies the abnormal data using the monitoring model, increases the correlation value between upstream monitoring device 11 and downstream monitoring device 12 when the monitoring model operates normally, and decreases the correlation value between upstream monitoring device 11 and downstream monitoring device 12 when the monitoring model operates abnormally.
[0065] In some embodiments, each monitoring device in the monitoring network is connected to a data gateway, which is also connected to other monitoring networks. Figure 1 As shown, each monitoring network of the first monitoring network 10 is connected to a data gateway 20, and the data gateway 20 is also connected to a second monitoring network 30, thereby enabling data communication between the first monitoring network 10 and the second monitoring network 30. To this end, data communication between multiple monitoring networks can be achieved. Preferably, the data gateway can adopt the Virtual Router Redundancy Protocol (VRRP).
[0066] An embodiment of the present invention provides a disaster recovery method for monitoring equipment, in which monitoring equipment in a monitoring network randomly sends status test messages to other monitoring equipment in the monitoring network. When a new monitoring equipment is added, the existing monitoring equipment in the monitoring network can quickly obtain the status of the new monitoring equipment, and the new monitoring equipment can also quickly obtain the status of the existing monitoring equipment, thereby realizing rapid deployment and verification of the disaster recovery model; by selecting a replacement monitoring equipment for a monitoring equipment in a faulty state in the monitoring network and switching the monitoring equipment in a faulty state to the replacement monitoring equipment, the flexibility of disaster recovery and the stability of the monitoring network are improved.
[0067] Figure 5 FIG. 5 is a schematic diagram of a disaster recovery device 500 for a monitoring device according to an embodiment of the present invention. Figure 5 As shown, the disaster recovery device 500 includes:
[0068] The random sending module 510 enables a monitoring device in the monitoring network to randomly send a status test message to other monitoring devices in the monitoring network.
[0069] The fault determination module 520 determines a monitoring device in a fault state in the monitoring network according to the status test message.
[0070] The switching module 530 selects a replacement monitoring device for the monitoring device in a faulty state in the monitoring network, and switches the monitoring device in a faulty state to the replacement monitoring device.
[0071] In some embodiments, the fault determination module 520 determines that a monitoring device in a faulty state in a monitoring network is in accordance with a status test message, including: when the monitoring device that sends the status test message does not receive a reply within a first predetermined time, marking the monitoring device to which the status test message is sent as a suspicious state; when the suspicious state of the monitoring device continues for more than a second predetermined time, determining that the monitoring device marked as a suspicious state is in a faulty state.
[0072] In some embodiments, the apparatus 500 further includes: when a monitoring device in the monitoring network receives a resurrection message sent by a monitoring device marked as being in a suspicious state, restoring the monitoring device that sent the resurrection message from the suspicious state to a normal state.
[0073] In some embodiments, the switching module 530 selects a replacement monitoring device for the monitoring device in a faulty state in the monitoring network, including: selecting a monitoring device in a normal state in the monitoring network;
[0074] Among the monitoring devices in normal state, one of the following monitoring devices is selected as the replacement monitoring device: the monitoring device that is physically closest to the monitoring device in fault state, the monitoring device that is network closest to the monitoring device in fault state, or the monitoring device that has the largest correlation value with the monitoring device in fault state.
[0075] In some embodiments, the monitoring device includes an upstream monitoring device and a downstream monitoring device, the upstream monitoring device is used to monitor the upstream industrial node device, the downstream monitoring device is used to monitor the downstream industrial node device, the upstream industrial node device is located upstream of the downstream industrial node device, and the device 500 also includes: the upstream monitoring device sends the detected abnormal data to the downstream monitoring device; the downstream monitoring device uses the monitoring model to verify the abnormal data, increases the correlation value of the upstream monitoring device and the downstream monitoring device when the monitoring model operates normally, and reduces the correlation value of the upstream monitoring device and the downstream monitoring device when the monitoring model operates abnormally.
[0076] In some embodiments, each monitoring device in the monitoring network is connected to a data gateway, which is also connected to other monitoring networks.
[0077] The present invention also proposes an industrial monitoring system, which includes multiple monitoring devices, each of which is used to monitor industrial node devices. The multiple monitoring devices form a monitoring network, and the industrial monitoring system also includes the device 500 described above.
[0078] The present invention also provides an electronic device 600 . Figure 6 FIG. 6 is a schematic diagram of an electronic device 600 according to an embodiment of the present invention. Figure 6As shown, the electronic device 600 includes a processor 610 and a memory 620 , wherein the memory 620 stores instructions, wherein when the instructions are executed by the processor 610 , the method 200 described above is implemented.
[0079] The present invention further provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed, the method 200 described above is executed.
[0080] Some aspects of the methods and apparatus of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks," "modules," "engines," "units," "components," or "systems." The processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. In addition, various aspects of the present invention may be embodied as computer products in one or more computer-readable media, the product including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., cards, sticks, key drives, etc.).
[0081] Flowcharts are used herein to illustrate the operations performed by the methods according to the embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps may be performed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0082] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0083] The above description is only an illustrative embodiment of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes, modifications and combinations made by those skilled in the art without departing from the concept and principle of the present invention shall fall within the scope of protection of the present invention.
Claims
1. A disaster recovery method (200) for monitoring equipment, wherein the monitoring equipment is used to monitor industrial node equipment, and a plurality of monitoring equipment form a monitoring network, characterized in that: The method comprises: A monitoring device in the monitoring network randomly sends a status test message to other monitoring devices in the monitoring network (210); Determining a monitoring device in a fault state in the monitoring network according to the status test message (220); Selecting a replacement monitoring device for the monitoring device in the faulty state in the monitoring network, and switching the monitoring device in the faulty state to the replacement monitoring device (230); Wherein, selecting a replacement monitoring device (230) for the monitoring device in a faulty state in the monitoring network includes: Selecting a monitoring device in a normal state in the monitoring network; Among the monitoring devices in the normal state, one of the following monitoring devices is selected as a replacement monitoring device: a monitoring device that is physically closest to the monitoring device in the faulty state, a monitoring device that is network closest to the monitoring device in the faulty state, or a monitoring device that has the largest correlation value with the monitoring device in the faulty state; The monitoring device includes an upstream monitoring device and a downstream monitoring device, the upstream monitoring device is used to monitor an upstream industrial node device, the downstream monitoring device is used to monitor a downstream industrial node device, the upstream industrial node device is located upstream of the downstream industrial node device, and the method (200) further includes: The upstream monitoring device sends the detected abnormal data of the upstream industrial node device to the downstream monitoring device; The downstream monitoring device verifies the abnormal data using a monitoring model, increases the correlation value between the upstream monitoring device and the downstream monitoring device when the monitoring model operates normally, and decreases the correlation value between the upstream monitoring device and the downstream monitoring device when the monitoring model operates abnormally.
2. The disaster recovery method (200) according to claim 1, characterized in that: Determining a monitoring device (220) in a fault state in the monitoring network according to the status test message includes: When the monitoring device that sends the status test message does not receive a reply within a first predetermined time, marking the monitoring device to which the status test message is sent as a suspicious state; When the suspicious state of the monitoring device continues for more than a second predetermined time, it is determined that the monitoring device marked as being in the suspicious state is in a fault state.
3. The disaster recovery method (200) according to claim 2, characterized in that: The method (200) further comprises: when a monitoring device in the monitoring network receives a resurrection message sent by a monitoring device marked as being in a suspicious state, restoring the monitoring device that sent the resurrection message from the suspicious state to a normal state.
4. The disaster recovery method (200) according to claim 1, characterized in that: Each of the monitoring devices in the monitoring network is connected to a data gateway, and the data gateway is also connected to other monitoring networks.
5. A disaster recovery device (500) for monitoring equipment, wherein the monitoring equipment is used to monitor industrial node equipment, and a plurality of monitoring equipment form a monitoring network, characterized in that: The device comprises: A random sending module (510) causes a monitoring device in the monitoring network to randomly send a status test message to other monitoring devices in the monitoring network; A fault determination module (520) is configured to determine a monitoring device in a fault state in the monitoring network according to the status test message; A switching module (530) selects a replacement monitoring device for the monitoring device in the faulty state in the monitoring network, and switches the monitoring device in the faulty state to the replacement monitoring device; The switching module (530) selects a replacement monitoring device for the monitoring device in a faulty state in the monitoring network, including: Selecting a monitoring device in a normal state in the monitoring network; Among the monitoring devices in the normal state, one of the following monitoring devices is selected as a replacement monitoring device: a monitoring device that is physically closest to the monitoring device in the faulty state, a monitoring device that is network closest to the monitoring device in the faulty state, or a monitoring device that has the largest correlation value with the monitoring device in the faulty state; The monitoring device comprises an upstream monitoring device and a downstream monitoring device, wherein the upstream monitoring device is used to monitor an upstream industrial node device, and the downstream monitoring device is used to monitor a downstream industrial node device, and the upstream industrial node device is located upstream of the downstream industrial node device. The apparatus (500) further comprises: The upstream monitoring device sends the detected abnormal data to the downstream monitoring device; The downstream monitoring device verifies the abnormal data using a monitoring model, increases the correlation value between the upstream monitoring device and the downstream monitoring device when the monitoring model operates normally, and decreases the correlation value between the upstream monitoring device and the downstream monitoring device when the monitoring model operates abnormally.
6. The disaster recovery device (500) according to claim 5, characterized in that: The fault determination module (520) determines, according to the status test message, that the monitoring device in the monitoring network is in a fault state, including: When the monitoring device that sends the status test message does not receive a reply within a first predetermined time, marking the monitoring device to which the status test message is sent as a suspicious state; When the suspicious state of the monitoring device continues for more than a second predetermined time, it is determined that the monitoring device marked as being in the suspicious state is in a fault state.
7. The disaster recovery device (500) according to claim 6, characterized in that: The device (500) further comprises: when a monitoring device in the monitoring network receives a resurrection message sent by a monitoring device marked as being in a suspicious state, restoring the monitoring device that sent the resurrection message from the suspicious state to a normal state.
8. The disaster recovery device (500) according to claim 5, characterized in that: Each of the monitoring devices in the monitoring network is connected to a data gateway, and the data gateway is also connected to other monitoring networks.
9. An industrial monitoring system, characterized in that: The industrial monitoring system includes multiple monitoring devices, which are used to monitor industrial node devices. The multiple monitoring devices form a monitoring network. The industrial monitoring system also includes the device as described in claims 5-8.
10. An electronic device (600), comprising a processor (610), a memory (620), and instructions stored in the memory (620), wherein the instructions, when executed by the processor (610), implement the method according to any one of claims 1 to 4.
11. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed, execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Plant monitoring and control system and plant monitoring and control method
CN103246242A
Heartbeat monitoring method and monitoring equipment
CN110224880A