A fault disaster recovery and disaster recovery method and system of an integrated energy system terminal

By introducing an automatic preemption and confirmation mechanism without intermediate equipment into the integrated energy system, the problems of high cost and inability to deploy backup systems in traditional solutions are solved, enabling automatic deployment of backup equipment and ensuring system stability and continuity of energy supply.

CN119621439BActive Publication Date: 2025-11-21GUIZHOU POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411503158.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-11-21
Estimated Expiration
2044-10-25

AI Technical Summary

Technical Problem

Traditional integrated energy systems require intermediate equipment for fault recovery and disaster recovery technologies, resulting in high costs and the inability of backup systems to be operational when equipment fails.

Method used

A fault recovery and disaster recovery method without gateways or intermediate servers is adopted. Through an automatic preemption and confirmation mechanism between the host and standby devices, the standby device is automatically put into operation when the host fails. The device status is monitored through a degradation operation strategy and a heartbeat mechanism to ensure stable system operation.

Benefits of technology

It enables automatic activation of backup power in case of failure, reduces construction and operation costs, improves system reliability and stability, and ensures the continuity and quality of energy supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621439B_ABST
    Figure CN119621439B_ABST
Patent Text Reader

Abstract

The application discloses a kind of integrated energy system terminal fault disaster recovery and disaster recovery method and system, electronic equipment and storage medium, method includes: equipment initialization and sends preemption host information, determines host equipment and backup equipment;When host equipment fails, host equipment executes first action and sends first information to backup equipment;Backup equipment receives first information and starts first judging condition, executes second action according to first judging condition result.The integrated energy system control terminal of the present application realizes the automatic input of backup in the case of failure, ensures the continuous operation of key business processes, reduces the construction and operation cost through host election strategy, host fault disaster recovery strategy, host fault disaster recovery and automatic switching strategy of backup, and improves the reliability and stability of the system, ensures the continuity and quality of energy supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a fault recovery and disaster recovery method and system for integrated energy system terminals. Background Technology

[0002] Fault recovery refers to the ability of a system to continue providing acceptable service in the face of failure. Disaster recovery, on the other hand, refers to the ability to quickly recover and switch to a backup system when a system fails. In the field of integrated energy system energy management, to ensure the safety and stability of controlled equipment and systems, and to ensure the continuity and quality of energy supply, it is required that a series of key business processes, such as monitoring and control of the system, can operate uninterruptedly. Reliable fault recovery and disaster recovery technologies are key factors in ensuring system stability.

[0003] In the field of integrated energy systems, commonly used fault recovery and disaster recovery technologies often require intermediate devices such as gateways / intermediate servers to manage the operation and status of the host and backup systems. This means that when the intermediate devices fail, the backup system cannot be put into operation normally. Furthermore, these traditional solutions also have higher construction and operating costs due to the need for intermediate devices. Against this backdrop, low-cost, highly reliable fault recovery and disaster recovery technologies and devices suitable for integrated energy system control terminals remain an important research area in this field. Summary of the Invention

[0004] The purpose of this section is to outline some aspects of embodiments of the present invention and to briefly describe some preferred embodiments. Simplifications or omissions may be made in this section, as well as in the abstract and title of this application, to avoid obscuring the purpose of these documents; however, such simplifications or omissions should not be construed as limiting the scope of the invention.

[0005] In view of the aforementioned existing problems, this invention is proposed. Therefore, this invention provides a fault recovery and disaster recovery method for integrated energy system terminals, solving the problems of high cost and the inability of backup systems to be operational when intermediate equipment fails, as in traditional solutions.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0007] In a first aspect, the present invention provides a fault recovery and disaster recovery method for a comprehensive energy system terminal, comprising:

[0008] The device initializes and sends preemption information to identify the primary and backup devices.

[0009] When the host device fails, the host device performs the first action and sends the first information to the standby device;

[0010] The standby device receives the first information and initiates the first judgment condition, and performs the second action according to the result of the first judgment condition.

[0011] As a preferred embodiment of the fault recovery and disaster recovery method for the integrated energy system terminal described in this invention, the following steps are included: device initialization and sending first information.

[0012] The equipment includes a first device and a second device;

[0013] After the first and second devices complete their cold start initialization, they send host preemption information to each other at random intervals.

[0014] As a preferred embodiment of the fault recovery and disaster recovery method for the integrated energy system terminal described in this invention, the process of determining the main equipment and the backup equipment includes,

[0015] When the second device receives the host takeover information sent by the first device, but the second device has not yet sent its own host takeover information, the second device stops sending the host takeover information and sends an acknowledgment information to the first device. The second device is then confirmed as the backup device. After receiving the acknowledgment information from the second device, the first device is confirmed as the host device.

[0016] When the second device receives the host preemption information sent by the first device, and the second device has already sent the host preemption information, the second device sends invalid information to the first device, and the first device sends invalid information to the second device. When both devices receive invalid information sent by the other, this round of host and standby election ends.

[0017] The first and second devices repeat the primary and backup device verification process until the primary and backup device identities are confirmed.

[0018] As a preferred embodiment of the fault recovery and disaster recovery method for the integrated energy system terminal described in this invention, when the host fails, the host device performs a first action including:

[0019] When the host device fails, the host device responds quickly and automatically executes the degradation operation strategy, and executes the fault log recording and reporting strategy.

[0020] As a preferred embodiment of the fault recovery and disaster recovery method for the integrated energy system terminal described in this invention, the degradation operation strategy includes:

[0021] The degraded operation strategy is to slow down or shut down advanced control functions when the main unit fails, depending on the severity of the failure, and only retain the most basic control strategies to maintain the stable operation of the integrated energy system.

[0022] As a preferred embodiment of the fault recovery and disaster recovery method for the integrated energy system terminal described in this invention, the execution of the fault log recording and reporting strategy includes:

[0023] When both the host device and the backup device are operating normally, the two devices send heartbeat packets to each other at specified time intervals. After receiving the heartbeat packets sent by the other device, the two devices send acknowledgment data packets to each other according to their own status.

[0024] If neither device receives an acknowledgment data packet from the other within the set threshold time, or if it receives an acknowledgment data packet with fault information from the other device, the other device is considered to be in a faulty state, and the normally operating device will report the fault to the user.

[0025] When the host device fails, it automatically records the time and data of the failure and sends the first message to the standby device using a heartbeat packet.

[0026] As a preferred embodiment of the fault recovery and disaster recovery method for the integrated energy system terminal described in this invention, the standby unit receives the first information and initiates a first judgment condition, and performs a second action based on the result of the first judgment condition, including:

[0027] When the standby device receives the first message from the master device, the standby device attempts to establish a final communication with the master device to confirm the authenticity of the fault.

[0028] If the fault is misjudged, the heartbeat detection and fault detection process will resume; otherwise, the standby device will send a message to the master device to promote itself to master. Regardless of whether the standby device receives a reply from the master device, the standby device's identity will change to master and the business process will be initiated.

[0029] Secondly, this invention provides a fault recovery and disaster recovery system for integrated energy system terminals, comprising,

[0030] The master / standby election module is used for device initialization and sending preemption information to determine the master and standby devices.

[0031] The fault acquisition module is used to enable the host device to perform a first action and send the first information to the standby device when the host device fails.

[0032] The fault repair module is used for the standby equipment to receive the first information and initiate the first judgment condition, and to perform the second action according to the result of the first judgment condition.

[0033] Thirdly, the present invention provides a computing device, comprising:

[0034] Memory and processor;

[0035] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the fault recovery and disaster recovery method of the integrated energy system terminal.

[0036] Fourthly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the fault recovery and disaster recovery method for the integrated energy system terminal.

[0037] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention provides a fault recovery and disaster recovery technology and device that eliminates the need for gateways, intermediate servers, and other intermediate devices. This enables automatic backup activation of the integrated energy system control terminal in the event of a fault, ensuring the continuous operation of critical business processes. Through host election strategies, host fault recovery strategies, host fault disaster recovery and automatic backup switching strategies, and equipment retirement and new equipment addition strategies, this technology effectively reduces construction and operation costs, improves system reliability and stability, and ensures the continuity and quality of energy supply. Attached Figure Description

[0038] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0039] Figure 1 This is a schematic diagram of the overall process of the fault recovery and disaster recovery method for the integrated energy system terminal according to an embodiment of the present invention;

[0040] Figure 2 This is a schematic diagram illustrating the confirmation process of the primary and backup machines during the dual-machine startup of the fault recovery and disaster recovery method for the integrated energy system terminal according to an embodiment of the present invention.

[0041] Figure 3 This is a schematic diagram of the fault recovery and disaster recovery method for the integrated energy system terminal according to an embodiment of the present invention, when both the host and the backup are operating normally.

[0042] Figure 4 This is a schematic diagram of a host failure in the fault recovery and disaster recovery method for an integrated energy system terminal according to an embodiment of the present invention.

[0043] Figure 5 This is a schematic diagram illustrating the standby upgrade and main unit shutdown operation of the fault recovery and disaster recovery method for the integrated energy system terminal according to an embodiment of the present invention.

[0044] Figure 6 This is a schematic diagram illustrating the process of a host computer recovering from an anomaly and rejoining the operating group in a fault recovery and disaster recovery method for an integrated energy system terminal according to an embodiment of the present invention. Detailed Implementation

[0045] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0046] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0047] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0048] This invention is described in detail with reference to the schematic diagrams. When detailing the embodiments of this invention, for ease of explanation, the cross-sectional views illustrating the device structure may be partially enlarged, not adhering to the usual scale. Furthermore, the schematic diagrams are merely examples and should not be construed as limiting the scope of protection of this invention. In actual fabrication, the three-dimensional spatial dimensions of length, width, and depth should be included.

[0049] Furthermore, in the description of this invention, it should be noted that the terms "upper," "lower," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. These terms are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the system or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. In addition, the terms "first," "second," or "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0050] Unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" in this invention should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; similarly, they can refer to mechanical connections, electrical connections, or direct connections, or indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0051] Example 1

[0052] Reference Figure 1 As an embodiment of the present invention, a fault recovery and disaster recovery method for integrated energy system terminals is provided, comprising:

[0053] S100: The device initializes and sends preemption information to determine the master device and the standby device;

[0054] S102: When the host device fails, the host device performs the first action and sends the first information to the standby device;

[0055] S104: The standby equipment receives the first information and initiates the first judgment condition, and performs the second action according to the result of the first judgment condition;

[0056] It should be noted that the present invention realizes automatic election of master and backup devices among devices through a fault recovery and disaster recovery method for integrated energy system terminals. This ensures that when the master device fails, it can respond quickly and execute corresponding actions. At the same time, the backup device can automatically be promoted to master and start business processes based on the fault confirmation result, thereby effectively improving the reliability and stability of the system and ensuring the continuous and stable operation of the integrated energy system.

[0057] In this embodiment of the application, step S100 includes the following sub-steps A1-A4;

[0058] In A1: the device includes a first device and a second device; after the first device and the second device complete their cold start initialization, they send a preemption host information to each other at random intervals;

[0059] In this embodiment of the application, the first device and the second device are two identical devices;

[0060] In another possible embodiment, the selection of equipment can be flexibly adjusted according to the specific actual situation, selecting equipment with different configurations or performance. This flexibility stems from the differences in the actual situations faced by different integrated energy system control terminals, including but not limited to factors such as system scale, operating environment, cost control, and functional requirements. By selecting equipment according to these actual situations, it can be ensured that the selected equipment can best adapt to and meet the needs of a specific system. However, the above selection method still follows the core principle of this invention, namely, to achieve automatic standby activation in case of failure without the need for intermediate equipment, thereby maintaining the continuity of critical business processes and the overall stability of the system.

[0061] In A2: The process of determining the master device and the standby device includes: when the second device receives the master preemption information sent by the first device, and the second device has not yet sent the master preemption information, the second device stops sending the master preemption information and sends an acknowledgment information to the first device. The second device is confirmed as the standby device. After receiving the acknowledgment information from the second device, the first device is confirmed as the master device.

[0062] In A3: When the second device receives the host preemption information sent by the first device, and the second device has already sent the host preemption information, the second device sends invalid information to the first device, and the first device sends invalid information to the second device. When both devices have received invalid information sent by the other, this round of host and standby election ends.

[0063] In A4: The first and second devices repeat the master and standby machine confirmation process until the master and standby machine identities are confirmed.

[0064] It should be noted that this invention provides a highly flexible and reliable fault recovery and disaster recovery solution, applicable to integrated energy system control terminals. This invention can be widely adapted to integrated energy systems of different scales and complexities, effectively reducing the cost of system construction and operation. Through an automatic standby mechanism that eliminates the need for intermediate equipment, this invention ensures the continuous operation of critical business processes in the event of a host failure, thereby maintaining the overall stability of the system and the continuity of energy supply.

[0065] In this embodiment of the application, step S102 includes the following sub-steps B1-B3;

[0066] In B1: When the host device fails, the host device responds quickly and automatically executes the degraded operation strategy, executes the fault log recording and reporting strategy, that is, executes the first action;

[0067] In B1, the degraded operation strategy is as follows: When a main unit failure occurs, the advanced control functions are slowed down or shut down according to the severity of the failure, and only the most basic control strategies to maintain the stable operation of the integrated energy system are retained.

[0068] In one possible embodiment, advanced control functions may include communication cycles of the integrated energy system control terminal, peak shaving and valley filling, and demand response functions. Taking peak shaving and valley filling as an example: When the host device detects a fault and decides to implement a degraded operation strategy, it first assesses the severity of the fault and its impact on the overall operation of the integrated energy system. If it is determined that the peak shaving and valley filling function may exacerbate system instability or lead to uneven resource allocation under the current fault state, the system will automatically trigger an instruction to slow down or shut down the function. Specifically, the peak shaving and valley filling function uses intelligent scheduling algorithms to reduce energy consumption of non-critical loads during peak energy demand periods and increase charging of energy storage devices during off-peak periods to balance energy supply and demand. In degraded mode, the system will gradually reduce the execution frequency of the peak shaving and valley filling algorithm until it stops completely. At the same time, the system will send updated control instructions to the integrated energy system control terminal to ensure that all relevant devices can respond to this change in a timely manner and maintain the system operation in a basically stable state. Through this process, the host device can quickly adjust its control strategy in the event of a fault, ensuring system safety while minimizing the impact on user energy use. Ensure that core services such as database services and primary / backup communication services remain online and operate stably.

[0069] The fault logging and reporting strategy implemented in B1 includes: when both the host device and the standby device are operating normally, the two devices send heartbeat packets to each other at specified time intervals; when the two devices receive the heartbeat packets sent by the other, they send acknowledgment data packets to each other according to their own status.

[0070] In B2: If neither device receives an acknowledgment data packet from the other within the set threshold time, or if it receives an acknowledgment data packet with fault information from the other device, the other device is considered to be in a fault state, and the normally operating device will report the fault to the user.

[0071] In this embodiment of the application, the two machines send heartbeat packets to each other at 5-second intervals. If neither party receives an acknowledgment data packet from the other party within 10 seconds, the other party's device is considered to be in a faulty state, and both parties take further measures.

[0072] In B3: When the host device fails, the host device automatically records the device failure time and failure data, and sends the first information to the standby device using a heartbeat packet;

[0073] It should be noted that when the host device fails, this invention can quickly and automatically execute a degraded operation strategy, adjusting control functions according to the severity of the fault to ensure the integrated energy system operates in a basically stable state, while automatically recording the fault time and data. Through a dual-machine heartbeat mechanism and acknowledgment packet exchange, this invention can monitor the device status in real time. Once a fault is detected, it immediately reports to the user, ensuring timely transmission of fault information. Furthermore, the 5-second interval for sending heartbeat packets and the 10-second interval for receiving acknowledgment packets between the two machines ensure both the sensitivity of fault detection and avoid false alarms caused by momentary network fluctuations.

[0074] In this embodiment of the application, step S104 includes the following sub-step C1;

[0075] In C1: When the standby device receives the first message sent by the master device, the standby device attempts to establish a final communication with the master device to confirm the authenticity of the fault, which is the first judgment condition.

[0076] The second action mentioned in step S104 includes: if the fault is a misjudgment, the heartbeat detection and fault detection process is restored; otherwise, the standby device sends a message to the master device to promote itself to the master device. Regardless of whether the standby device receives a reply from the master device, the standby device's identity is changed to the master device, and the business process is started.

[0077] In this embodiment, the first information includes the host device failure time, failure data, etc. In addition to receiving the first information actively sent by the host device, the standby device can also detect the host device failure through heartbeat packet detection. The business process includes synchronizing the original host database content, removing the original host's data read and write control, gradually restoring advanced application functions and restoring the normal communication frequency, etc.

[0078] It should be noted that when the standby device fails, the standby device will send a message to the host to exit the operation group and exit operation; when the device recovers from the failure, the device will rejoin the host as a standby device to form an operation group and receive heartbeat packets and other information from the host.

[0079] It should also be noted that this invention further enhances the system's fault recovery capability and business continuity by introducing an intelligent response mechanism for backup equipment. When the backup equipment receives fault information from the primary host or detects an abnormal heartbeat packet, it can quickly initiate judgment conditions and take corresponding actions, such as attempting to establish a final communication with the primary host to verify the authenticity of the fault. Once the fault is confirmed, the backup device will automatically be promoted to primary host, ensuring seamless system switching and maintaining stable operation. Simultaneously, the automatic exit mechanism in case of backup failure and the rejoining mechanism after recovery also guarantee the system's high availability and flexibility.

[0080] The above is an illustrative scheme of a fault recovery and disaster recovery method for an integrated energy system terminal according to this embodiment. It should be noted that the technical solution of this integrated energy system terminal fault recovery and disaster recovery system belongs to the same concept as the technical solution of the above-described integrated energy system terminal fault recovery and disaster recovery method. Details not described in detail in the technical solution of the integrated energy system terminal fault recovery and disaster recovery system in this embodiment can be found in the description of the above-described integrated energy system terminal fault recovery and disaster recovery method.

[0081] The fault recovery and disaster recovery system for the integrated energy system terminal in this embodiment includes:

[0082] The master / standby election module is used for device initialization and sending preemption information to determine the master and standby devices.

[0083] The fault acquisition module is used to enable the host device to perform a first action and send the first information to the standby device when the host device fails.

[0084] The fault repair module is used for the standby equipment to receive the first information and initiate the first judgment condition, and to execute the second action according to the result of the first judgment condition.

[0085] This embodiment also provides a computing device suitable for fault recovery and disaster recovery in integrated energy system terminals, including:

[0086] The system includes a memory and a processor. The memory stores computer-executable instructions, and the processor executes these instructions to implement the fault recovery and disaster recovery method for the integrated energy system terminal as proposed in the above embodiments.

[0087] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements the fault recovery and disaster recovery method for the integrated energy system terminal as proposed in the above embodiments.

[0088] The storage medium proposed in this embodiment and the fault recovery and disaster recovery method for the integrated energy system terminal proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0089] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0090] Example 2

[0091] Reference Figure 2-6 As an embodiment of the present invention, a fault backup and disaster recovery method for integrated energy system terminals is provided. To verify its beneficial effects, a comparison of two schemes is provided.

[0092] After both devices are started, they will send a preemption message to each other at random intervals. (See reference...) Figure 2 The first device sends a preemptive message to claim the host, and after confirmation by the second device, the first device is confirmed as the host and the second device as the standby device. Figure 3 As shown.

[0093] Reference Figure 3 After the primary and backup machines confirm each other's status, they will send heartbeat packets to each other to determine the other's status.

[0094] Furthermore, refer to Figure 4 When the first device malfunctions, the heartbeat between the primary and backup devices will be interrupted, or the primary device will send a heartbeat containing the malfunction information to the backup device, causing the primary device to degrade to a lower operating level.

[0095] Reference Figure 5 Once the second device confirms that the first device is abnormal, it will change its identity to that of the host.

[0096] Reference Figure 5 When the first device malfunctions and the second device is confirmed as the host, the first device will exit the operation group.

[0097] Reference Figure 6 When the first device recovers from an abnormality, it will rejoin the running group, identify itself as a backup device, and restore the heartbeat connection with the host.

[0098] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A fault recovery and disaster recovery method for a comprehensive energy system terminal, characterized in that, include: The device initializes and sends preemption information to identify the primary and backup devices. When the host device fails, the host device performs the first action and sends the first information to the standby device; The standby device receives the first information and initiates the first judgment condition, and performs the second action according to the result of the first judgment condition; The process of identifying the primary and backup equipment includes, When the second device receives the host takeover information sent by the first device, but the second device has not yet sent its own host takeover information, the second device stops sending the host takeover information and sends an acknowledgment information to the first device. The second device is then confirmed as the backup device. After receiving the acknowledgment information from the second device, the first device is confirmed as the host device. When the second device receives the host preemption information sent by the first device, and the second device has already sent the host preemption information, the second device sends invalid information to the first device, and the first device sends invalid information to the second device. When both devices receive invalid information sent by the other, this round of host and standby election ends. The first and second devices repeat the primary and backup device confirmation process until the primary and backup device identities are confirmed. When the host fails, the host device performs the following first actions: When the host device fails, the host device responds quickly and automatically executes the degraded operation strategy, and executes the fault log recording and reporting strategy; Degradation strategies include, The degraded operation strategy is to slow down or shut down advanced control functions when a main unit failure occurs, depending on the severity of the failure, and only retain the control strategy that maintains the stable operation of the integrated energy system. Implementing fault logging and reporting policies includes, When both the host device and the backup device are operating normally, the two devices send heartbeat packets to each other at specified time intervals. After receiving the heartbeat packets sent by the other device, the two devices send acknowledgment data packets to each other according to their own status. If neither device receives an acknowledgment data packet from the other within the set threshold time, or if it receives an acknowledgment data packet with fault information from the other device, the other device is considered to be in a faulty state, and the normally operating device will report the fault to the user. When the host device fails, it automatically records the time of failure and the failure data, and sends the first message to the standby device using a heartbeat packet. The standby unit receives the first information and initiates a first judgment condition. Based on the result of the first judgment condition, it performs a second action, including: When the standby device receives the first message from the master device, the standby device attempts to establish a final communication with the master device to confirm the authenticity of the fault. If the fault is a false alarm, then resume the heartbeat detection and fault detection process; Conversely, the standby device sends a message to the master device to promote itself to master. Regardless of whether the standby device receives a reply from the master device, the standby device's identity changes to master and the business process is initiated.

2. The fault recovery and disaster recovery method for integrated energy system terminals as described in claim 1, characterized in that, Device initialization and sending of first information include, The equipment includes a first device and a second device; After the first and second devices complete their cold start initialization, they send host preemption information to each other at random intervals.

3. A system for fault recovery and disaster recovery of an integrated energy system terminal using the method described in claim 1, characterized in that, include, The master / standby election module is used for device initialization and sending preemption information to determine the master and standby devices. The fault acquisition module is used to enable the host device to perform a first action and send the first information to the standby device when the host device fails. The fault repair module is used for the standby equipment to receive the first information and initiate the first judgment condition, and to perform the second action according to the result of the first judgment condition.

4. An electronic device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the fault recovery and disaster recovery method of the integrated energy system terminal according to any one of claims 1 to 2.

5. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the fault recovery and disaster recovery method for the integrated energy system terminal according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Disaster tolerant switching system, method and device for A-SBC equipment

    CN104717083A

  • Cloud platform disaster tolerance machine room election system, method and device, medium and electronic equipment

    CN114257595A