Fault disaster recovery and recovery method and system for integrated energy system terminal

By implementing the automatic host and standby election and downgrade operation strategies in the integrated energy system terminal, the problem of high costs in the existing technology and inability to invest normally in the backup system when intermediate equipment fails, the automatic standby investment and continuous operation of business processes are achieved, and the reliability and stability of the system are improved.

CN119621439AActive Publication Date: 2025-03-14GUIZHOU POWER GRID CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing comprehensive energy system's failure disaster recovery and disaster recovery technology requires intermediate equipment, which leads to high costs and the backup system cannot be invested normally when the intermediate equipment fails.

Method used

By implementing automatic host and standby elections between devices in the integrated energy system terminal, the host device automatically executes the downgrade operation strategy in the event of a failure and sends fault information to the standby device. After receiving the information, the standby device tries to establish the last communication with the host device to confirm the authenticity of the fault, and is automatically promoted to the host after confirmation.

Benefits of technology

It realizes automatic investment of backup machines without the need for intermediate equipment, ensures continuous operation of key business processes, reduces construction and operation costs, and improves the reliability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621439A_ABST
    Figure CN119621439A_ABST
Patent Text Reader

Abstract

The invention discloses a fault disaster recovery and recovery method and system for an integrated energy system terminal, electronic equipment and a storage medium, and the method comprises the steps: carrying out the initialization of equipment, sending the preemptive host information, and determining host equipment and standby equipment; when the host device breaks down, the host device executes a first action and sends first information to the standby device; and the standby equipment receives the first information, starts a first judgment condition, and executes a second action according to the result of the first judgment condition. According to the invention, the automatic switching of the standby machine under the fault condition of the control terminal of the integrated energy system is realized, the continuous operation of the key business process is ensured, and the automatic switching of the standby machine is realized through the host election strategy, the host fault disaster recovery strategy, the host fault disaster recovery and standby machine automatic switching strategy and the equipment exit and new equipment adding strategy. The construction and operation cost is effectively reduced, the reliability and stability of the system are improved, and the continuity and quality of energy supply are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a fault disaster recovery and disaster tolerance method and system for an integrated energy system terminal. Background Art

[0002] Fault recovery refers to the ability of a system to continue to provide acceptable services in the face of a fault. Disaster tolerance refers to the ability to quickly recover and switch to a backup system when a system fails. In the field of energy management of integrated energy systems, in order 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 run uninterruptedly, and reliable fault recovery and disaster tolerance technologies are key factors in ensuring system stability.

[0003] In the field of integrated energy systems, currently commonly used fault disaster recovery and disaster tolerance technologies often require intermediate devices such as gateways / intermediate servers to manage the operation and status of the host and backup systems. This will make it impossible for the backup system to be put into use normally when the intermediate device fails. At the same time, this type of traditional solution also has higher construction and operation costs due to the need to introduce intermediate devices. In this context, low-cost, highly reliable fault disaster recovery and disaster tolerance technologies and devices suitable for integrated energy system control terminals are still important research topics in this field. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above existing problems, the present invention is proposed. Therefore, the present invention provides a fault disaster recovery and disaster tolerance method for a comprehensive energy system terminal to solve the problem that the traditional solution has high cost and the backup system cannot be put into use normally when the intermediate device fails.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

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

[0008] The device is initialized and sends the host preemption information to determine the host device and the backup device;

[0009] When a host device fails, the host device executes a first action and sends a first message to the backup device;

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

[0011] As a preferred solution of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal of the present invention, wherein: the device initializes and sends the first information including:

[0012] The device comprises a first device and a second device;

[0013] After the first device and the second device complete the initialization through cold start, they send the host seizure information to each other within a random time.

[0014] As a preferred solution of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal of the present invention, the process of determining the host device and the backup device includes:

[0015] When the second device receives the host seizure information sent by the first device, and the host seizure information of the second device has not been sent, the second device stops sending the host seizure information and sends a confirmation message to the first device, and the second device is confirmed as the backup device. After the first device receives the confirmation message from the second device, the first device is confirmed as the host.

[0016] When the second device receives the host seizure information sent by the first device, and the host seizure information of the second device has been sent, 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 the invalid information sent by the other party, this round of master and backup machine election ends;

[0017] The first device and the second device repeat the master and backup machine confirmation process until the master and backup machine identities are confirmed.

[0018] As a preferred solution of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal of the present invention, when a host fails, the host device performs a first action including:

[0019] When a host device fails, the host device responds quickly and automatically executes a degraded operation strategy, performs fault logging and reporting strategies.

[0020] As a preferred solution of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal described in the present invention, the downgrade operation strategy includes:

[0021] The degraded operation strategy is to slow down or shut down advanced control functions according to the severity of the failure when a host failure occurs, and only retain the most basic control strategy to maintain the stable operation of the integrated energy system.

[0022] As a preferred solution of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal described in the present invention, wherein: executing the fault log recording and reporting strategy includes:

[0023] When both the host device and the backup device are operating normally, the two machines send heartbeat packets to each other at a specified time interval. After receiving the heartbeat packets sent by the other machine, the two machines send confirmation data packets to the other machine according to their own status;

[0024] If the two machines do not receive the confirmation data packet sent by the other party within the set threshold time, or receive the confirmation data packet with fault information sent by the other party, the other device is considered to be in a fault state, and the normal operating device will report the fault to the user;

[0025] When a 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.

[0026] As a preferred solution of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal described in the present invention, wherein: the standby machine receives the first information and starts the first judgment condition, and performs the second action according to the result of the first judgment condition, including:

[0027] When the standby device receives the first information sent by the host device, the standby device attempts to establish a final communication with the host device to confirm the authenticity of the fault;

[0028] If the fault is a false positive, the heartbeat detection and fault detection process will be restored; otherwise, the standby device will send a message to the host device that it has been promoted to the host. Regardless of whether the standby device receives a reply from the host device, the standby device's identity will be changed to the host device and the business process will be started.

[0029] In a second aspect, the present invention provides a system for fault disaster recovery and disaster tolerance of a terminal of an integrated energy system, comprising:

[0030] The master-slave election module is used to initialize the device and send the host preemption information to determine the master device and the backup device;

[0031] A fault acquisition module, used for, when a fault occurs in a host device, the host device executes a first action and sends a first message to a standby device;

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

[0033] In a third aspect, 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, the steps of the fault disaster recovery and disaster tolerance method of the integrated energy system terminal are implemented.

[0036] In a fourth aspect, 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 tolerance method of the integrated energy system terminal.

[0037] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a fault disaster recovery and disaster tolerance technology and device that does not require intermediate devices such as gateways and intermediate servers, thereby realizing the automatic switching of backup machines in the event of a fault in the integrated energy system control terminal, and ensuring the continuous operation of key business processes. The technology effectively reduces construction and operation costs, improves system reliability and stability, and ensures the continuity and quality of energy supply through host election strategies, host fault disaster recovery strategies, host fault disaster tolerance and backup machine automatic switching strategies, and equipment exit and new equipment addition strategies. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

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

[0040] Figure 2 A schematic diagram of the process of confirming the master and backup machines during dual machine startup of the fault disaster recovery and disaster tolerance method for the integrated energy system terminal according to an embodiment of the present invention;

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

[0042] Figure 4 A schematic diagram of a host abnormality in a fault disaster recovery and disaster tolerance method for a terminal of an integrated energy system according to an embodiment of the present invention;

[0043] Figure 5 It is a schematic diagram of a method for disaster recovery and disaster tolerance of a terminal of an integrated energy system according to an embodiment of the present invention when a standby machine is promoted and a host machine exits operation;

[0044] Figure 6 This is a schematic diagram of a host abnormal recovery and rejoining an operation group in a fault disaster recovery and disaster tolerance method for an integrated energy system terminal according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0046] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present 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 term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0048] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0049] At the same time, in the description of the present invention, it should be noted that the orientations or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0050] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0051] Example 1

[0052] Reference Figure 1 , is an embodiment of the present invention, and provides a fault disaster recovery and disaster tolerance method for a comprehensive energy system terminal, comprising:

[0053] S100: The device is initialized and sends information about preempting the host, and determines the host device and the standby device;

[0054] S102: When a host device fails, the host device executes a first action and sends first information to the backup device;

[0055] S104: The standby device receives the first information and starts 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 host and backup machine election between devices through a fault disaster recovery and disaster tolerance method for integrated energy system terminals, ensuring that when a host device fails, it can respond quickly and execute corresponding actions. At the same time, the backup device can be automatically promoted to the host and start the business process 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 the embodiment of the present application, the above 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 initialization after cold start, they send host seizure information to each other within a random time;

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

[0060] In another possible embodiment, the equipment selection can be flexibly adjusted according to the specific actual situation, and equipment with different configurations or performances can be selected. This flexibility stems from the differences in 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 based on 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 the present invention, that is, to achieve automatic commissioning of backup machines in the event of a fault without the need for intermediate equipment, thereby maintaining the continuity of key business processes and the overall stability of the system.

[0061] In A2: the process of determining the host device and the backup device includes: when the second device receives the host seizure information sent by the first device, and the host seizure information of the second device has not been sent, the second device stops sending the host seizure information and sends confirmation information to the first device, the second device is confirmed as the backup device, and after the first device receives the confirmation information of the second device, the first device is confirmed as the host device;

[0062] In A3: when the second device receives the host preemption information sent by the first device, and the host preemption information of the second device has been sent, 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 the invalid information sent by the other party, this round of master and backup machine election ends;

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

[0064] It should be noted that the present invention provides a highly flexible and reliable fault disaster recovery and disaster tolerance solution, which is suitable for integrated energy system control terminals. The present invention can be widely adapted to integrated energy systems of different scales and complexities, effectively reducing the cost of system construction and operation; the present invention ensures the continuous operation of key business processes in the event of a host failure through an automatic standby machine commissioning mechanism that does not require intermediate equipment, thereby maintaining the overall stability of the system and the continuity of energy supply.

[0065] In the embodiment of the present application, the above 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: when a host failure occurs, the advanced control function is slowed down or shut down according to the degree of the failure, and only the most basic control strategy for maintaining the stable operation of the integrated energy system is retained;

[0068] In a possible embodiment, the advanced control function may include the communication cycle, peak shaving and valley filling, demand response and other functions of the integrated energy system control terminal; taking peak shaving and valley filling as an example for specific explanation: when the host device detects a fault and decides to execute a degraded operation strategy, the severity of the fault and its impact on the overall operation of the integrated energy system are first evaluated. If it is determined that the peak shaving and valley filling function may aggravate the instability of the system or cause uneven resource allocation in 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 reduces the energy consumption of non-critical loads during peak energy demand periods and increases the charging of energy storage devices during valley periods through an intelligent scheduling algorithm 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 in a basically stable state. Through this process, the host device can quickly adjust the control strategy when a fault occurs to ensure system safety while minimizing the impact on user energy use. Ensure that core services such as database services and master-slave communication services remain online and run stably.

[0069] The fault log recording and reporting strategy implemented in B1 includes: when both the host device and the backup device are operating normally, the two machines send heartbeat packets to each other at a specified time interval, and when the two machines receive the heartbeat packets sent by the other machine, they send confirmation data packets to the other machine according to their own status;

[0070] In B2: If the two machines do not receive the confirmation data packet sent by the other party within the set threshold time, or receive the confirmation data packet with fault information sent by the other party, it is considered that the other party's device is in a fault state, and the normal operating device will report the fault to the user;

[0071] In the embodiment of the present application, the two machines send heartbeat packets to each other at a time interval of 5 seconds. If both parties do not receive the confirmation data packet sent by the other party within 10 seconds, it is considered that the other party's device is in a fault state, and both parties take further measures;

[0072] In B3: when a 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 a host device fails, the present invention can quickly and automatically execute a downgrade operation strategy, adjust the control function according to the degree of failure, ensure that the integrated energy system operates in a basically stable state, and automatically record the failure time and data. Through the dual-machine heartbeat packet mechanism and confirmation data packet exchange, the present invention can monitor the device status in real time, and once a fault is detected, it will immediately report to the user to ensure the timely transmission of fault information. In addition, the heartbeat packet sending at an interval of 5 seconds and the confirmation data packet receiving threshold setting of 10 seconds between the two machines not only ensure the sensitivity of fault detection, but also avoid false alarms caused by instantaneous network jitter.

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

[0075] In C1: when the standby device receives the first information sent by the host device, the standby device attempts to establish a final communication with the host device to confirm the authenticity of the fault, that is, the first judgment condition;

[0076] The second action 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 host device that it is promoted to the host device, and no matter whether the standby device receives a reply from the host device, the standby device identity is changed to the host device, and the service process is started;

[0077] In the embodiment of the present application, the first information includes the failure time and failure data of the host device. In addition to receiving the first information actively sent by the host device to learn about the failure of the host device, the standby device can also learn about it through heartbeat packet detection; the business process includes synchronizing the original host database content, removing the data read and write control rights of the original host, gradually restoring advanced application functions and restoring regular communication frequency, etc.;

[0078] It should be noted that when the standby machine fails, the standby device will send a message to the host to exit the operation group and exit operation; when the device failure is restored, the device will rejoin the host to form an operation group as a standby machine and receive information such as the host's heartbeat packet.

[0079] It should also be noted that the present invention further enhances the system's fault recovery capability and business continuity by introducing an intelligent response mechanism for standby devices; when the standby device receives host fault information or detects an abnormality in a heartbeat packet, it can quickly initiate judgment conditions and take corresponding actions, such as attempting to establish a final communication with the host to verify the authenticity of the fault. Once the fault is confirmed, the standby device will automatically be promoted to the host, ensuring seamless system switching and maintaining stable operation. At the same time, the automatic exit mechanism when the standby device fails and the rejoining mechanism after recovery also ensure the high availability and flexibility of the system.

[0080] The above is a schematic scheme of a method for disaster recovery and disaster tolerance of a comprehensive energy system terminal in this embodiment. It should be noted that the technical scheme of the system for disaster recovery and disaster tolerance of the comprehensive energy system terminal and the technical scheme of the method for disaster recovery and disaster tolerance of the comprehensive energy system terminal described above belong to the same concept. For details not described in detail in the technical scheme of the system for disaster recovery and disaster tolerance of the comprehensive energy system terminal in this embodiment, please refer to the description of the technical scheme of the method for disaster recovery and disaster tolerance of the comprehensive energy system terminal described above.

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

[0082] The master-slave election module is used to initialize the device and send the host preemption information to determine the master device and the backup device;

[0083] A fault acquisition module, used for, when a fault occurs in a host device, the host device executes a first action and sends a first message to a standby device;

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

[0085] This embodiment further provides a computing device, which is applicable to the fault disaster recovery and disaster tolerance of the integrated energy system terminal, including:

[0086] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the fault disaster recovery and disaster tolerance method of the integrated energy system terminal as proposed in the above embodiment.

[0087] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for realizing fault disaster recovery and disaster tolerance of an integrated energy system terminal as proposed in the above embodiment is implemented.

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

[0089] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0090] Example 2

[0091] Reference Figure 2-6 , which is an embodiment of the present invention, provides a fault disaster recovery and disaster tolerance method for an integrated energy system terminal. In order to verify its beneficial effects, comparison results of two solutions are provided.

[0092] After both devices are started, they will send a host seizure message to each other at a random time. Figure 2 , the first device sends a message to seize the host first, and after the second device confirms it, the first device is confirmed as the host and the second device is confirmed as the backup device. Figure 3 shown.

[0093] Reference Figure 3 ,After the master and standby machines confirm, they will send heartbeat packets to each other to determine the status of each other.

[0094] Further, see Figure 4 When the first device is abnormal, the heartbeat packet between the master and the standby will be interrupted, or the master sends a heartbeat packet including abnormal information to the standby, and the master runs downgraded.

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

[0096] Reference Figure 5 , when the first device is abnormal 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 abnormally, it will rejoin the operation group, identify itself as a standby device, and restore the heartbeat packet 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 are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A fault disaster recovery and disaster tolerance method for a comprehensive energy system terminal, characterized in that: include: The device is initialized and sends the host preemption information to determine the host device and the backup device; When a host device fails, the host device executes a first action and sends a first message to the backup device; The standby device receives the first information and starts the first judgment condition, and executes the second action according to the result of the first judgment condition.

2. The fault disaster recovery and disaster tolerance method of the integrated energy system terminal according to claim 1, characterized in that: The device initializes and sends the first information including: The device comprises a first device and a second device; After the first device and the second device complete the initialization through cold start, they send the host seizure information to each other within a random time.

3. The fault disaster recovery and disaster tolerance method of the integrated energy system terminal according to claim 1 or 2, characterized in that: The process of determining the host device and the backup device includes: When the second device receives the host seizure information sent by the first device, and the host seizure information of the second device has not been sent, the second device stops sending the host seizure information and sends a confirmation message to the first device, and the second device is confirmed as the backup device. After the first device receives the confirmation message from the second device, the first device is confirmed as the host. When the second device receives the host seizure information sent by the first device, and the host seizure information of the second device has been sent, 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 the invalid information sent by the other party, this round of master and backup machine election ends; The first device and the second device repeat the master and backup machine confirmation process until the master and backup machine identities are confirmed.

4. The fault disaster recovery and disaster tolerance method of the integrated energy system terminal according to claim 3, characterized in that: When a host fails, the host device performs a first action including: When a host device fails, the host device responds quickly and automatically executes a degraded operation strategy, performs fault logging and reporting strategies.

5. The fault disaster recovery and disaster tolerance method of the integrated energy system terminal according to claim 4, characterized in that: The downgrade operation strategy includes: The degraded operation strategy is to slow down or shut down advanced control functions according to the severity of the failure when a host failure occurs, and only retain the most basic control strategy to maintain the stable operation of the integrated energy system.

6. The fault disaster recovery and disaster tolerance method of the integrated energy system terminal according to claim 5, characterized in that: Implement a fault logging and reporting strategy including, When both the host device and the backup device are operating normally, the two machines send heartbeat packets to each other at a specified time interval. After receiving the heartbeat packets sent by the other machine, the two machines send confirmation data packets to the other machine according to their own status; If the two machines do not receive the confirmation data packet sent by the other party within the set threshold time, or receive the confirmation data packet with fault information sent by the other party, the other device is considered to be in a fault state, and the normal operating device will report the fault to the user; When a 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.

7. The fault disaster recovery and disaster tolerance method of the integrated energy system terminal according to claim 6, characterized in that: The standby machine receives the first information and starts the first judgment condition, and performs the second action according to the result of the first judgment condition, including: When the standby device receives the first information sent by the host device, the standby device attempts to establish a final communication with the host device to confirm the authenticity of the fault; If the fault is a false positive, the heartbeat detection and fault detection process is restored; On the contrary, the standby device sends a message to the host device that it has been promoted to the host device. Regardless of whether the standby device receives a reply from the host device, the standby device's identity is changed to the host device and the service process is started.

8. A system for fault recovery and disaster tolerance of integrated energy system terminals, characterized in that: include, The master-slave election module is used to initialize the device and send the host preemption information to determine the master device and the backup device; A fault acquisition module, used for, when a fault occurs in a host device, the host device executes a first action and sends a first message to a standby device; The fault repair module is used for the standby device to receive the first information and start the first judgment condition, and perform the second action according to the result of the first judgment condition.

9. 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, the steps of the fault recovery and disaster tolerance method of the integrated energy system terminal described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, can implement the steps of the fault disaster recovery and disaster tolerance method for the integrated energy system terminal as described in any one of claims 1 to 7.

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

  • Data control method and system of VPC cluster

    CN116095145A

  • Method, Device, and System for Realizing Disaster Tolerance Backup

    US20140078887A1

  • Apparatus for selecting master in redundancy system

    US20150249566A1