Exception handling methods, apparatus, computer equipment and storage media

By employing different anomaly handling logics to process the master-slave control system according to the working status of the valve group and the sequence of abnormal current at the measuring points in the ultra-high voltage direct current transmission system, the control system failure caused by abnormal current at the measuring points of the bypass circuit breaker was resolved, and the operational reliability and stability of the system were improved.

CN115508696BActive Publication Date: 2026-06-02ANNING BUREAU OF ULTRA HIGH VOLTAGE TRANSMISSION

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ANNING BUREAU OF ULTRA HIGH VOLTAGE TRANSMISSION
Filing Date
2022-09-22
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

When the current at the bypass circuit breaker measuring point is abnormal, the existing ultra-high voltage direct current transmission system cannot effectively distinguish the fault type, which causes the control system to be unable to perform the online connection/disconnection operation of the valve group normally, reducing the operational reliability of the system.

Method used

Based on the current operating status of the valve group, the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker is determined. Based on the validity determination result and the order of abnormal current at the measuring points, different abnormality handling logics are used to process the master-slave control system, including master-slave switching and status updates.

Benefits of technology

This improved the operational reliability of the UHVDC transmission system. Through reasonable anomaly handling logic, it reduced the impact of faults caused by abnormal current at measuring points and enhanced the system's stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115508696B_ABST
    Figure CN115508696B_ABST
Patent Text Reader

Abstract

This application relates to an anomaly handling method, apparatus, computer equipment, and storage medium. The method includes: determining the validity of a valve group operating command sent from the master-slave control system to a bypass circuit breaker based on the current operating state of the valve group; determining anomaly handling logic based on the validity determination result; and applying the anomaly handling logic to perform anomaly handling on the master-slave control system. This method can effectively improve the operational reliability of DC transmission systems when anomalies are detected in a timely manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an exception handling method, apparatus, computer device, and storage medium. Background Technology

[0002] Currently, ultra-high voltage direct current (UHVDC) transmission projects mainly adopt a dual-valve-group series connection method. This method inevitably involves the online connection / deactivation of individual valve groups, which relies on the corresponding control system to control the opening and closing of the bypass circuit breaker. This control logic uses the current at the bypass circuit breaker's measuring point. When the measuring point current is abnormal, the corresponding control system will be unable to properly execute the online connection / deactivation operation to the bypass circuit breaker.

[0003] However, current methods for handling UHVDC transmission faults caused by abnormal current at bypass circuit breaker measuring points simply categorize all faults as emergency faults or minor faults, which reduces the reliability of DC transmission system operation. Summary of the Invention

[0004] Therefore, it is necessary to provide an anomaly handling method, device, computer equipment, and storage medium that can effectively improve the operational reliability of DC transmission systems in response to the aforementioned technical problems.

[0005] Firstly, this application provides an exception handling method, which includes:

[0006] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0007] Determine the results based on validity and determine the exception handling logic;

[0008] An exception handling logic is used to handle exceptions in the master-slave control system.

[0009] In one embodiment, based on the validity determination result, the exception handling logic is determined, including:

[0010] Based on the validity determination results and the order in which the master-slave control system detects abnormal current at the bypass circuit breaker measurement point, the abnormality handling logic is determined.

[0011] In one embodiment, based on the validity determination result and the order in which the master-slave control system detects abnormal current at the bypass circuit breaker's measuring point, the abnormality handling logic is determined, including:

[0012] If the validity determination result is invalid, and the main control system first detects the abnormal current at the measuring point of the bypass circuit breaker, then the abnormal handling logic is determined to be the first abnormal handling logic.

[0013] If the validity determination result is invalid, and the abnormal current at the measuring point is detected first from the control system, then the abnormality handling logic is determined to be the second abnormality handling logic.

[0014] If the validity determination result is valid, and the main control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the third abnormality handling logic.

[0015] If the validity determination result is valid, and the abnormal current at the measuring point is detected first from the control system, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

[0016] In one embodiment, if the exception handling logic is a first exception handling logic or a third exception handling logic, then the exception handling logic is used to perform exception handling on the master-slave control system, including:

[0017] Update the operating status of the main control system to a fault state and prohibit the main control system from sending valve group operation commands to the bypass circuit breaker.

[0018] Perform master-slave switching on the master-slave control system;

[0019] Based on the detection of abnormal current at the measuring point by the switched main control system, abnormal handling is performed on the switched main control system.

[0020] The fault state corresponding to the first fault handling logic is lower than the fault state corresponding to the third fault handling logic.

[0021] In one embodiment, if the exception handling logic is a second exception handling logic or a fourth exception handling logic, then the exception handling logic is used to perform exception handling on the master-slave control system, including:

[0022] The operating status of the control system will be updated to a fault status, and the operation of sending valve group operation commands to the bypass circuit breaker from the control system will be prohibited.

[0023] Based on the main control system's detection of abnormal current at the measuring point, abnormal handling is performed on the main control system.

[0024] The fault state corresponding to the second exception handling logic is lower than the fault state corresponding to the fourth exception handling logic.

[0025] In one embodiment, based on the main control system's detection of abnormal current at the measuring point, abnormal handling is performed on the main control system, including:

[0026] If the main control system detects an abnormal current at the measuring point, it will update the operating status of the main control system to a fault state and prohibit the main control system from sending valve group operation commands to the bypass circuit breaker.

[0027] If the main control system does not detect any abnormal current at the measuring point, it will then send a valve group operation command to the bypass circuit breaker.

[0028] Secondly, this application also provides an anomaly handling apparatus, the apparatus comprising:

[0029] The validity determination module is used to determine the validity of the valve group operation command sent by the master-slave control system to the bypass circuit breaker based on the current operating state of the valve group; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0030] The logic determination module is used to determine the result based on validity and to determine the exception handling logic;

[0031] The exception handling module is used to handle exceptions in the master-slave control system using exception handling logic.

[0032] Thirdly, this application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0033] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0034] Determine the results based on validity and determine the exception handling logic;

[0035] An exception handling logic is used to handle exceptions in the master-slave control system.

[0036] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0037] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0038] Determine the results based on validity and determine the exception handling logic;

[0039] An exception handling logic is used to handle exceptions in the master-slave control system.

[0040] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, performs the following steps:

[0041] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0042] Determine the results based on validity and determine the exception handling logic;

[0043] An exception handling logic is used to handle exceptions in the master-slave control system.

[0044] The aforementioned anomaly handling method, apparatus, computer equipment, and storage medium, by determining the validity of valve group operating commands sent from the master-slave control system to the bypass circuit breaker based on the current operating state of the valve group, can then employ anomaly handling logic determined based on the validity determination result to handle anomalies in the master-slave control system. This scheme, by determining the anomaly handling logic for the master-slave control system based on the specific operating conditions within the DC transmission system, namely the operating state of the valve group, enables more rational handling of the master-slave control system, thereby effectively improving the reliability of the DC transmission system operation. Attached Figure Description

[0045] Figure 1 This is a diagram illustrating the application environment of an exception handling method in one embodiment.

[0046] Figure 2 This is a flowchart illustrating an exception handling method in one embodiment;

[0047] Figure 3 This is a schematic diagram of a valve assembly in one embodiment;

[0048] Figure 4 This is a flowchart illustrating the exception handling method in another embodiment;

[0049] Figure 5 This is a flowchart illustrating the exception handling method in yet another embodiment;

[0050] Figure 6 This is a flowchart illustrating the exception handling method in another embodiment;

[0051] Figure 7 This is a structural block diagram of an exception handling device in one embodiment;

[0052] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0054] The exception handling method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. The data storage system can store data that server 104 needs to process, such as various exception handling logics in scenarios where the current at the bypass circuit breaker of the control valve group is abnormal. The data storage system can be integrated on server 104 or placed on the cloud or other network servers. The exception handling method provided in this application can be applied to server 104, terminal 102, or through interaction between terminal 102 and server 104. For example, server 104 determines the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker based on the current operating state of the valve group, determines the exception handling logic based on the validity, and then uses the exception handling logic to perform exception handling on the master-slave control system. Furthermore, the exception handling result can be displayed through terminal 102. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.

[0055] In one embodiment, such as Figure 2 As shown, an anomaly handling method is provided. This embodiment relates to how to handle the anomaly in the master-slave control system corresponding to the valve group when the measuring current at the bypass circuit breaker of the control valve group is abnormal. This embodiment applies this method to... Figure 1 Taking server 104 as an example, the following steps are included:

[0056] S201, based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system corresponding to the valve group to the bypass circuit breaker.

[0057] Here, valve group refers to the combination of valves that control the power transmission process during power transmission; each valve group corresponds to a master-slave control system, which includes a master control system and at least one slave control system. This application uses a slave control system as an example for illustration.

[0058] Optional, such as Figure 3As shown, one valve group can correspond to one bypass circuit breaker. A bypass circuit breaker refers to a circuit breaker with fast closing capability. For example, in this embodiment, the bypass circuit breaker is used to control the switching of the valve group's operating state. Specifically, under normal valve group operation, the master / slave controller corresponding to the valve group sends a valve group operating command to the bypass circuit breaker. The bypass circuit breaker responds to the valve group operating command to switch the valve group's operating state.

[0059] The valve group operation command can be either a valve group engagement command or a valve group disengagement command. An engagement command is a command to engage the valve group under DC power transmission operation; a disengagement command is a command to disengage the valve group from DC power transmission operation.

[0060] Optionally, the server can store the valve group working status corresponding to the pre-set valve group working instructions. By comparing the current working status of the valve group with the pre-set valve group working status, the validity of the valve group working instructions sent by the master-slave control system to the bypass circuit breaker can be determined.

[0061] Furthermore, after the control system sends a valve group operation command to the bypass circuit breaker, if the current operating state of the valve group is the same as the preset valve group operating state, then the valve group operation command sent by the master-slave control system to the bypass circuit breaker is determined to be valid; if the current operating state of the valve group is different from the preset valve group operating state, then the valve group operation command sent by the master-slave control system to the bypass circuit breaker is determined to be invalid.

[0062] S202, determine the result based on validity and determine the exception handling logic.

[0063] Among them, the abnormal handling logic refers to the way to handle abnormalities in the master-slave control system when there is a fault in the DC transmission system (specifically, abnormal current at the measuring point of the bypass circuit breaker).

[0064] Optionally, this embodiment can be configured with multiple different exception handling logics. Therefore, if the valve group operation command sent by the master-slave control system to the bypass circuit breaker is invalid, this abnormal situation can be referred to as a level one fault state, and the corresponding exception handling logic (specifically including a first exception handling logic and a second exception handling logic) is stored in the server.

[0065] Furthermore, if the valve group operation command sent by the control system to the bypass circuit breaker is valid, this abnormal situation can be referred to as a level two fault state, and the corresponding abnormal handling logic (which may include third and fourth abnormal handling logic) is stored in the server.

[0066] Furthermore, a Level 1 fault condition is considered inferior to a Level 2 fault condition. A Level 1 fault condition corresponds to a minor fault, while a Level 2 fault condition corresponds to an emergency fault.

[0067] S203 employs exception handling logic to handle exceptions in the master-slave control system.

[0068] Specifically, after determining the exception handling logic, exception handling can be performed on the master-slave control system based on the determined exception handling logic. For example, taking a level one fault state as an example, the operating state of both the master and slave control systems can be set to a minor fault state, and the operation of sending valve group working commands to the bypass circuit breaker can be prohibited.

[0069] The aforementioned anomaly handling method, by determining the validity of the valve group's operating commands sent from the master-slave control system to the bypass circuit breaker based on the valve group's current operating state, can then employ anomaly handling logic determined based on the validity determination result to handle anomalies in the master-slave control system. This scheme, by determining the anomaly handling logic for the master-slave control system based on the specific operating conditions within the DC transmission system—namely, the valve group's operating state—enables more rational handling of the master-slave control system, thereby effectively improving the reliability of the DC transmission system's operation.

[0070] Understandably, each valve group has a point near its bypass circuit breaker for real-time current measurement to check for abnormalities. Due to varying fault conditions, the order in which the master and slave control systems detect abnormal current at the bypass circuit breaker's measurement point also differs. To analyze the fault conditions of the DC transmission system in more detail, the anomaly handling logic can be determined based on the validity determination results and the order in which the master and slave control systems detect abnormal current at the bypass circuit breaker's measurement point.

[0071] Optionally, based on the validity of the results and the order in which the master-slave control system detects abnormal current at the bypass circuit breaker's measuring point, the abnormal situations can be classified into different types, and corresponding abnormal handling logic can be determined for each type of abnormal situation.

[0072] For example, if the validity determination result is invalid, and the main control system first detects an abnormality in the measuring point current of the bypass circuit breaker, then the abnormality handling logic is determined to be the first abnormality handling logic.

[0073] If the validity determination result is invalid, and the control system detects an abnormal current at the measuring point first, then the abnormality handling logic is determined to be the second abnormality handling logic.

[0074] If the validity determination result is valid, and the main control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the third abnormality handling logic.

[0075] If the validity determination result is valid, and the abnormal current at the measuring point is detected first from the control system, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

[0076] It should be noted that this embodiment combines the validity determination results with the internal operating conditions of the DC transmission system, namely the order in which the master and slave control systems detect abnormal current at the bypass circuit breaker measurement point, and introduces a variety of different abnormality handling logics to further improve the reliability of the DC transmission system operation.

[0077] Optionally, different exception handling logics may handle exceptions in different ways. Based on the above embodiments, S203 will be further explained in detail.

[0078] For example, combining Figure 4 As shown, when the exception handling logic is either the first exception handling logic or the third exception handling logic, the exception handling process can specifically be as follows:

[0079] S401 updates the operating status of the main control system to a fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker.

[0080] It should be noted that, under normal circumstances, the master-slave control system operates in a fault-free state. Optionally, if the exception handling logic is set to the first exception handling logic, the master control system can be updated from a fault-free state to a fault state (such as a minor fault state), and the master control system is prohibited from sending valve group operation commands to the bypass circuit breaker.

[0081] Furthermore, when the exception handling logic is the third exception handling logic, the main control system can be updated from a fault-free operating state to a fault state (such as an emergency fault state), and the main control system is prohibited from sending valve group working instructions to the bypass circuit breaker.

[0082] Optionally, in this embodiment, the fault state corresponding to the first fault handling logic is lower than the fault state corresponding to the third fault handling logic. It is understood that the main control system corresponding to the first fault handling logic remains usable under minor fault conditions, while the main control system corresponding to the third fault handling logic is unusable under emergency fault conditions.

[0083] S402 performs a master-slave switch for the master-slave control system.

[0084] Optionally, when the exception handling logic is the first exception handling logic, after the main control system is set to a minor fault state, since the host controlled by the main system is still available in the minor fault state, a delay can be used to ensure a smooth switch between the master and slave control systems. For example, the master control system can be delayed (generally 1 second) to become a slave control system. Correspondingly, after the master control system is switched to a slave control system, the original slave control system is switched to the master control system.

[0085] Furthermore, when the exception handling logic is the third exception handling logic, after the main control system is set to an emergency fault state, since the host of the main control system is unavailable in the emergency fault state, it is necessary to switch to the slave control system instantly to ensure that the DC transmission system can operate smoothly. For example, the main control system can be immediately downgraded to the slave control system, and the original slave control system can be instantly switched to the main control system.

[0086] It is understandable that the slave control system also runs during the operation of the main control system. Therefore, the master-slave switch can be performed instantly during the execution of the third exception handling logic.

[0087] S403, based on the detection of abnormal current at the measuring point by the switched main control system, performs abnormal handling on the switched main control system.

[0088] Optionally, if the exception handling logic is the first exception handling logic, after the master-slave switch is completed, if the switched master control system also detects an abnormal current at the measuring point of the bypass circuit breaker of the valve group, the operating state of the switched master control system is immediately set to a minor fault state, and it is prohibited from sending valve group working commands to the bypass circuit breaker. At this time, the switched master control system is still the master control system and no master-slave switch is performed. If the switched master control system does not detect an abnormal current at the measuring point of the bypass circuit breaker of the valve group, the switched master control system maintains its original fault-free state and does not prohibit the sending of valve group working commands to the bypass circuit breaker.

[0089] For example, when the exception handling logic is the third exception handling logic, after the master-slave switch is completed, if the switched master control system detects an abnormal current at the measuring point of the bypass circuit breaker of the valve group, it immediately sets the operating state of the switched master control system to an emergency fault state and prohibits it from sending valve group working instructions to the bypass circuit breaker. At this time, the switched master control system is still the master control system, does not perform master-slave switch, and controls it to immediately execute the valve group ESOF instruction, that is, to stop the valve group. After the valve group's stop state is valid, the valve group working instruction is immediately invalidated. If the switched master control system does not detect an abnormal current at the measuring point of the bypass circuit breaker of the valve group, it controls it to continue to send valve group working instructions to the bypass circuit breaker. After the bypass circuit breaker of the valve group is valid in either open or closed position, the valve group working instruction is immediately invalidated.

[0090] Furthermore, after invalidating the valve group operation command, the operating status of the switched main control system is switched from emergency fault to minor fault, that is, from unavailable to available. However, the switched main control system is still prohibited from sending valve group operation commands to the bypass circuit breaker.

[0091] In this embodiment, taking the first and third exception handling logics as examples, the different ways of handling exceptions by different exception handling logics are analyzed in detail. It can take into account that the exception handling logics are different due to different operating conditions inside the DC transmission system, and can effectively improve the operational reliability of the DC transmission system while timely detecting exceptions.

[0092] For example, combining Figure 5 As shown, when the exception handling logic is the second or fourth exception handling logic, the exception handling process can specifically be as follows:

[0093] S501 updates the operating status of the control system to a fault status and prohibits the control system from sending valve group operation commands to the bypass circuit breaker.

[0094] Optionally, if the exception handling logic is the second exception handling logic, the control system can be updated from a fault-free operating state to a fault state (such as a minor fault state), and the control system can be prohibited from sending valve group working instructions to the bypass circuit breaker.

[0095] Furthermore, when the exception handling logic is the fourth exception handling logic, the control system can be updated from a fault-free operating state to a fault state (such as an emergency fault state), and the control system is prohibited from sending valve group working instructions to the bypass circuit breaker.

[0096] Optionally, in this embodiment, the fault state corresponding to the second fault handling logic is lower than the fault state corresponding to the fourth fault handling logic. It is understood that the slave control system corresponding to the second fault handling logic remains usable under minor fault conditions, while the slave control system corresponding to the fourth fault handling logic is unusable under emergency fault conditions.

[0097] S502, based on the main control system's detection of abnormal current at the measuring point, performs abnormal handling on the main control system.

[0098] Optionally, this embodiment handles the main control system differently depending on whether it detects an abnormal current at the measuring point or not. For example, if the main control system detects an abnormal current at the measuring point, its operating status is updated to a fault state, and the main control system is prohibited from sending valve group operating commands to the bypass circuit breaker; if the main control system does not detect an abnormal current at the measuring point, it is controlled to send valve group operating commands to the bypass circuit breaker.

[0099] Specifically, when the exception handling logic is the second exception handling logic, after setting the operating state of the control system to a minor fault state, if the main control system also detects an abnormality in the measuring current of the bypass circuit breaker of the valve group, the operating state of the main control system will also be set to a minor fault state, and the main control system will be prohibited from sending valve group working commands to the bypass circuit breaker; if the main control system does not detect an abnormality in the measuring current of the bypass circuit breaker of the valve group, the main control system will maintain its original fault-free state and will not be prohibited from sending valve group working commands to the bypass circuit breaker.

[0100] Furthermore, when the exception handling logic is the fourth exception handling logic, after the operating state controlled by the control system is set to the emergency fault state, if the main control system also detects an abnormality in the measuring current of the bypass circuit breaker of the valve group, then the main control system is also set to the emergency fault state, and the main control system is prohibited from sending valve group working instructions to the bypass circuit breaker. At the same time, it is controlled to immediately execute the valve group ESOF instruction, that is, to stop the valve group. After the valve group's stop state is valid, the valve group working instruction is immediately invalidated. If the main control system does not detect an abnormality in the measuring current of the bypass circuit breaker of the valve group, it is controlled to continue sending valve group working instructions to the bypass circuit breaker. After the bypass circuit breaker of the valve group is valid in either the open or closed position, the valve group working instruction is immediately invalidated.

[0101] Furthermore, after invalidating the valve group operation command, the main control system is switched from an emergency fault state to a minor fault state, that is, from an unavailable state to an available state. However, the main control system after the switch is still prohibited from sending valve group operation commands to the bypass circuit breaker.

[0102] In this embodiment, taking the second and fourth exception handling logics as examples, the different ways in which different exception handling logics handle exceptions are analyzed in detail. It can take into account that the exception handling logics are different due to different operating conditions inside the DC transmission system, and can effectively improve the operational reliability of the DC transmission system while timely detecting exceptions.

[0103] Figure 6 This is a flowchart illustrating an exception handling method in another embodiment. Based on the above embodiments, this embodiment provides an optional example of an exception handling method. (Combined with...) Figure 6 The specific implementation process is as follows:

[0104] S601, obtain the current operating status of the valve group.

[0105] S602, based on the current operating status of the valve group, determine whether the valve group operating command sent by the master-slave control system to the bypass circuit breaker is invalid; if yes, execute S603; if no, execute S606.

[0106] S603, determine whether the main control system has detected an abnormal current at the bypass circuit breaker's measuring point; if yes, execute S604; if no, execute S605.

[0107] S604 updates the operating status of the main control system to a minor fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker; delays the master-slave switch of the master-slave control system; and performs abnormal handling on the switched main control system based on the detection of abnormal current at the measuring point by the switched main control system.

[0108] S605 updates the operating status of the control system to a minor fault status and prohibits the control system from sending valve group operation commands to the bypass circuit breaker; based on the main control system's detection of abnormal current at the measuring point, it performs abnormal handling on the main control system.

[0109] S606, determine whether the main control system has detected an abnormal current at the bypass circuit breaker's measuring point; if yes, execute S607; if no, execute S608.

[0110] S607 updates the operating status of the main control system to an emergency fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker; immediately switches the main control system to slave; and handles the abnormality of the measured current by the switched main control system.

[0111] S608 updates the operating status of the control system to an emergency fault status and prohibits the control system from sending valve group operation commands to the bypass circuit breaker; based on the main control system's detection of abnormal current at the measuring point, it performs abnormal handling on the main control system.

[0112] The specific processes of S601-S608 described above can be found in the description of the above method embodiments. Their implementation principles and technical effects are similar, and will not be repeated here.

[0113] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0114] Based on the same inventive concept, this application also provides an exception handling apparatus for implementing the exception handling method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more exception handling apparatus embodiments provided below can be found in the limitations of the exception handling method described above, and will not be repeated here.

[0115] In one embodiment, such as Figure 7 As shown, an exception handling device 1 is provided, including: an validity module 10, a processing logic module 20, and an exception handling module 30, wherein:

[0116] The validity determination module 10 is used to determine the validity of the valve group operation command sent by the master-slave control system corresponding to the valve group to the bypass circuit breaker based on the current operating state of the valve group; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0117] The logic determination module 20 is used to determine the result based on the validity and to determine the exception handling logic.

[0118] The exception handling module 30 is used to perform exception handling on the master-slave control system using exception handling logic.

[0119] In one embodiment, Figure 7 The logic determination module 20 in the middle is also used for:

[0120] Based on the validity determination results and the order in which the master-slave control system detects abnormal current at the bypass circuit breaker measurement point, the abnormality handling logic is determined.

[0121] In one embodiment, the logic determination module 20 is specifically used for:

[0122] If the validity determination result is invalid, and the main control system first detects the abnormal current at the measuring point of the bypass circuit breaker, then the abnormal handling logic is determined to be the first abnormal handling logic.

[0123] If the validity determination result is invalid, and the abnormal current at the measuring point is detected first from the control system, then the abnormality handling logic is determined to be the second abnormality handling logic.

[0124] If the validity determination result is valid, and the main control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the third abnormality handling logic.

[0125] If the validity determination result is valid, and the abnormal current at the measuring point is detected first from the control system, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

[0126] In one embodiment, when the exception handling logic is a first exception handling logic or a third exception handling logic, the exception handling module 30 is specifically used for:

[0127] Update the operating status of the main control system to a fault state and prohibit the main control system from sending valve group operation commands to the bypass circuit breaker.

[0128] Perform master-slave switching on the master-slave control system;

[0129] Based on the detection of abnormal current at the measuring point by the switched main control system, abnormal handling is performed on the switched main control system.

[0130] The fault state corresponding to the first exception handling logic is lower than the fault state corresponding to the third exception handling logic.

[0131] In one embodiment, when the exception handling logic is a second exception handling logic or a fourth exception handling logic, the exception handling module 30 includes:

[0132] The first processing unit is used to update the operating status of the control system to the fault status and prohibit the control system from sending valve group operation commands to the bypass circuit breaker.

[0133] The second processing unit is used to handle abnormalities in the main control system based on the detection of abnormal current at the measuring point by the main control system.

[0134] The fault state corresponding to the second exception handling logic is lower than the fault state corresponding to the fourth exception handling logic.

[0135] In one embodiment, the second processing unit is specifically used for:

[0136] If the main control system detects an abnormal current at the measuring point, it will update the operating status of the main control system to a fault state and prohibit the main control system from sending valve group operation commands to the bypass circuit breaker.

[0137] If the main control system does not detect any abnormal current at the measuring point, it will control the main control system to send a valve group operation command to the bypass circuit breaker.

[0138] The modules in the above-mentioned exception handling system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0139] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores historical information and other data related to valve group anomalies. The network interface communicates with external terminals via a network connection. The computer program, when executed by the processor, implements an exception handling method.

[0140] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0141] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0142] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0143] Determine the results based on validity and determine the exception handling logic;

[0144] An exception handling logic is used to handle exceptions in the master-slave control system.

[0145] In one embodiment, when the processor executes the exception handling logic in a computer program to determine the result based on validity, the following steps are specifically implemented:

[0146] Based on the validity determination results and the order in which the master-slave control system detects abnormal current at the bypass circuit breaker measurement point, the abnormality handling logic is determined.

[0147] In one embodiment, when the processor executes the logic in the computer program to determine the order of the validity determination result and the order in which the master-slave control system detects abnormal current at the bypass circuit breaker's measuring point, and to determine the abnormality handling logic, the following steps are specifically implemented:

[0148] If the validity determination result is invalid, and the main control system detects the abnormal current at the bypass circuit breaker's measuring point first, then the abnormality handling logic is determined to be the first abnormality handling logic; if the validity determination result is invalid, and the slave control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the second abnormality handling logic; if the validity determination result is valid, and the main control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the third abnormality handling logic; if the validity determination result is valid, and the slave control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

[0149] In one embodiment, when the exception handling logic is either the first exception handling logic or the third exception handling logic, when the processor executes the code logic in the computer program that uses exception handling logic to handle exceptions in the master-slave control system, the following steps are specifically implemented:

[0150] The main control system's operating status is updated to a fault state, and the main control system is prohibited from sending valve group operation commands to the bypass circuit breaker; the master-slave control system is switched; based on the detection of abnormal current at the measuring point by the switched main control system, the switched main control system is subjected to abnormal handling; wherein, the fault state corresponding to the first abnormal handling logic is lower than the fault state corresponding to the third abnormal handling logic.

[0151] In one embodiment, when the exception handling logic is a second exception handling logic or a fourth exception handling logic, when the processor executes the code logic in the computer program that uses exception handling logic to handle exceptions in the master-slave control system, the following steps are specifically implemented:

[0152] The operating status of the control system will be updated to a fault status, and the operation of sending valve group working instructions to the bypass circuit breaker from the control system will be prohibited; the main control system will be handled abnormally based on the detection of abnormal current at the measuring point by the main control system; the fault status corresponding to the second abnormal handling logic is lower than the fault status corresponding to the fourth abnormal handling logic.

[0153] In one embodiment, when the processor executes the code logic in the computer program that performs anomaly handling on the main control system based on the main control system's detection of anomalies in the measuring point current, the specific steps are as follows:

[0154] If the main control system detects an abnormal current at the measuring point, it updates the operating status of the main control system to a fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker; if the main control system does not detect an abnormal current at the measuring point, it controls the main control system to send valve group operation commands to the bypass circuit breaker.

[0155] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0156] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0157] Determine the results based on validity and determine the exception handling logic;

[0158] An exception handling logic is used to handle exceptions in the master-slave control system.

[0159] In one embodiment, when the processor executes the code logic in the computer program that determines the exception handling logic based on the validity determination result and the order in which the master-slave control system detects the abnormal current at the bypass circuit breaker's measuring point, the specific steps are as follows:

[0160] If the validity determination result is invalid, and the main control system detects the abnormal current at the bypass circuit breaker's measuring point first, then the abnormality handling logic is determined to be the first abnormality handling logic; if the validity determination result is invalid, and the slave control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the second abnormality handling logic; if the validity determination result is valid, and the main control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the third abnormality handling logic; if the validity determination result is valid, and the slave control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

[0161] In one embodiment, when the exception handling logic is either the first exception handling logic or the third exception handling logic, and the code logic in the computer program that uses exception handling logic to handle exceptions in the master-slave control system is executed by the processor, the following steps are specifically implemented:

[0162] The main control system's operating status is updated to a fault state, and the main control system is prohibited from sending valve group operation commands to the bypass circuit breaker; the master-slave control system is switched; based on the detection of abnormal current at the measuring point by the switched main control system, the switched main control system is subjected to abnormal handling; wherein, the fault state corresponding to the first abnormal handling logic is lower than the fault state corresponding to the third abnormal handling logic.

[0163] In one embodiment, when the exception handling logic is a second or fourth exception handling logic, when the exception handling logic in the computer program is used to handle exceptions in the master-slave control system, the following steps are specifically implemented when the processor executes the code logic that uses exception handling logic to handle exceptions in the master-slave control system:

[0164] The operating status of the control system will be updated to a fault status, and the operation of sending valve group working instructions to the bypass circuit breaker from the control system will be prohibited; the main control system will be handled abnormally based on the detection of abnormal current at the measuring point by the main control system; the fault status corresponding to the second abnormal handling logic is lower than the fault status corresponding to the fourth abnormal handling logic.

[0165] In one embodiment, when the processor executes the code logic in the computer program that performs anomaly handling on the main control system based on the main control system's detection of abnormal current at the measuring point, the specific steps are as follows:

[0166] If the main control system detects an abnormal current at the measuring point, it updates the operating status of the main control system to a fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker; if the main control system does not detect an abnormal current at the measuring point, it controls the main control system to send valve group operation commands to the bypass circuit breaker.

[0167] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0168] Based on the current operating status of the valve group, determine the validity of the valve group operating command sent by the master-slave control system to the bypass circuit breaker; wherein, the bypass circuit breaker is used to control the valve group to switch operating states.

[0169] Determine the results based on validity and determine the exception handling logic;

[0170] An exception handling logic is used to handle exceptions in the master-slave control system.

[0171] In one embodiment, the computer program determines the order in which the validity determination result and the master-slave control system detect abnormal current at the bypass circuit breaker's measuring point, and then executes the exception handling logic by the processor, specifically implementing the following steps:

[0172] If the validity determination result is invalid, and the main control system detects the abnormal current at the bypass circuit breaker's measuring point first, then the abnormality handling logic is determined to be the first abnormality handling logic; if the validity determination result is invalid, and the slave control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the second abnormality handling logic; if the validity determination result is valid, and the main control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the third abnormality handling logic; if the validity determination result is valid, and the slave control system detects the abnormal current at the measuring point first, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

[0173] In one embodiment, when the exception handling logic is either a first exception handling logic or a third exception handling logic, and the computer program uses exception handling logic to handle exceptions in the master-slave control system, the following steps are specifically implemented when the processor executes this code logic:

[0174] The main control system's operating status is updated to a fault state, and the main control system is prohibited from sending valve group operation commands to the bypass circuit breaker; the master-slave control system is switched; based on the detection of abnormal current at the measuring point by the switched main control system, the switched main control system is subjected to abnormal handling; wherein, the fault state corresponding to the first abnormal handling logic is lower than the fault state corresponding to the third abnormal handling logic.

[0175] In one embodiment, when the exception handling logic is a second or fourth exception handling logic, and the computer program uses exception handling logic to handle exceptions in the master-slave control system, the following steps are specifically implemented when the processor executes this code logic:

[0176] The operating status of the control system will be updated to a fault status, and the operation of sending valve group working instructions to the bypass circuit breaker from the control system will be prohibited; the main control system will be handled abnormally based on the detection of abnormal current at the measuring point by the main control system; the fault status corresponding to the second abnormal handling logic is lower than the fault status corresponding to the fourth abnormal handling logic.

[0177] In one embodiment, when the computer program performs anomaly handling on the main control system based on the main control system's detection of abnormal current at the measuring point, and this code logic is executed by the processor, the following steps are specifically implemented:

[0178] If the main control system detects an abnormal current at the measuring point, it updates the operating status of the main control system to a fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker; if the main control system does not detect an abnormal current at the measuring point, it controls the main control system to send valve group operation commands to the bypass circuit breaker.

[0179] It should be noted that the DC transmission system data involved in this application (including but not limited to the working status of valve groups in the DC transmission system and the operating conditions of the master-slave control system corresponding to the valve groups) are all data that have been fully authorized by all parties.

[0180] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0181] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0182] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An exception handling method, characterized in that, The method includes: Based on the current operating state of the valve group, the validity of the valve group operating command sent by the master-slave control system corresponding to the valve group to the bypass circuit breaker is determined; wherein, the bypass circuit breaker is used to control the valve group to switch operating states; each valve group corresponds to a master-slave control system, and the master-slave control system includes a master control system and at least one slave control system. Based on the validity determination result and the order in which the master-slave control system detects the abnormal current at the measuring point of the bypass circuit breaker, the abnormality handling logic is determined, and the abnormality handling logic is used to perform abnormality handling on the master-slave control system. The abnormality handling logic is determined based on the validity determination result and the order in which the master-slave control system detects the abnormal current at the bypass circuit breaker's measuring point. This abnormality handling logic is then used to perform abnormality handling on the master-slave control system, including: If the validity determination result is invalid, and the main control system first detects the abnormal current at the measuring point of the bypass circuit breaker, then the abnormality handling logic is determined to be the first abnormality handling logic; or, if the validity determination result is valid, and the main control system first detects the abnormal current at the measuring point, then the abnormality handling logic is determined to be the third abnormality handling logic. The operating status of the main control system is updated to a fault state, and the main control system is prohibited from sending valve group operation commands to the bypass circuit breaker; wherein, the fault state corresponding to the first fault handling logic is lower than the fault state corresponding to the third fault handling logic. Perform master-slave switching on the master-slave control system; Based on the detection of abnormal current at the measurement point by the switched main control system, abnormal handling is performed on the switched main control system.

2. The method according to claim 1, characterized in that, The step of determining the anomaly handling logic based on the validity determination result and the order in which the master-slave control system detects the abnormal current at the measuring point of the bypass circuit breaker, further includes: If the validity determination result is invalid, and the control system first detects an abnormality in the current at the measuring point, then the abnormality handling logic is determined to be the second abnormality handling logic. If the validity determination result is valid, and the control system first detects the abnormal current at the measuring point, then the abnormality handling logic is determined to be the fourth abnormality handling logic.

3. The method according to claim 2, characterized in that, If the exception handling logic is a second exception handling logic or a fourth exception handling logic, then the step of using the exception handling logic to perform exception handling on the master-slave control system includes: The operating status of the slave control system is updated to a fault status, and the slave control system is prohibited from sending valve group operation commands to the bypass circuit breaker. Based on the detection of abnormal current at the measuring point by the main control system, the main control system performs abnormal handling. The fault state corresponding to the second fault handling logic is lower than the fault state corresponding to the fourth fault handling logic.

4. The method according to claim 3, characterized in that, The step of handling the anomaly in the main control system based on the detection of the current anomaly at the measuring point by the main control system includes: If the main control system detects an abnormal current at the measuring point, it updates the operating status of the main control system to a fault state and prohibits the main control system from sending valve group operation commands to the bypass circuit breaker. If the main control system does not detect any abnormality in the current at the measuring point, it controls the main control system to send a valve group operation command to the bypass circuit breaker.

5. The method according to claim 1, characterized in that, If the exception handling logic is the first exception handling logic, the step of switching the master-slave control system to a master-slave configuration includes: A time delay method is used to switch the master-slave control system between master and slave.

6. The method according to claim 1, characterized in that, If the exception handling logic is the second exception handling logic, the step of switching the master-slave control system to a master-slave configuration includes: The master-slave control system is switched instantaneously.

7. An anomaly handling device, characterized in that, The device includes: The validity determination module is used to determine the validity of the valve group operation command sent by the master-slave control system corresponding to the valve group to the bypass circuit breaker based on the current operating state of the valve group; wherein, the bypass circuit breaker is used to control the valve group to switch operating states; each valve group corresponds to a master-slave control system, and the master-slave control system includes a master control system and at least one slave control system; The logic determination module is used to determine the abnormality handling logic based on the validity determination result and the order in which the master-slave control system detects the abnormality of the measuring point current of the bypass circuit breaker. An exception handling module is used to perform exception handling on the master-slave control system using the exception handling logic. The logic determination module is also used to: if the validity determination result is invalid, and the main control system first detects the abnormal current at the measuring point of the bypass circuit breaker, then determine the abnormal handling logic as the first abnormal handling logic; or, if the validity determination result is valid, and the main control system first detects the abnormal current at the measuring point, then determine the abnormal handling logic as the third abnormal handling logic. Correspondingly, the anomaly handling module is also used to: update the operating status of the main control system to a fault state, and prohibit the main control system from sending valve group working instructions to the bypass circuit breaker; wherein, the fault state corresponding to the first anomaly handling logic is lower than the fault state corresponding to the third anomaly handling logic; perform master-slave switching on the master-slave control system; and perform anomaly handling on the switched main control system based on the detection of the current anomaly at the measuring point by the switched main control system.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.