Power distribution cabinet protection logic system and device based on finite state machine and event driving, and storage medium

CN122992628APending Publication Date: 2026-10-27HUAIYIN INSTITUTE OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611156324.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0004]现有的配电柜存在着些许问题:扩展性不足,导致配电柜的逻辑微调需停电并重新烧录固件,无法做到“软件定义”;事件响应滞后,传统的定时轮询机制在多源故障并发时极易引发保护延时、误动或拒动;缺乏安全容错机制,在执行定值切换或倒闸等复杂动作时,若底层硬件异常,系统常停留在不确定中间状态,缺乏自动回滚至基准安全状态的能力

Benefits of technology

[0049]本发明的有益效果在于:针对现有技术扩展性不足的问题,配置管理模块将配电柜运行状态、触发事件和控制指令统一形成状态控制数据,使状态决策模块能够基于所述状态控制数据进行查表决策,减少固定程序或PLC梯形图方式下重新烧录程序造成的维护成本;针对现有技术事件响应滞后的问题,信号处理模块将配电柜受控对象的运行信号生成标准事件对象,事件管理模块对所述标准事件对象进行统一接收和分发,使状态决策模块能够及时确定配电柜的目标运行状态,提高保护动作的实时性;针对现有技术缺乏安全容错机制的问题,动作控制模块将控制指令序列拆分为原子化动作,并通过闭锁校验和动作完成度残差校验判断保护动作是否完成;当动作异常、超时或不满足闭锁条件时,根据回滚指令倒序生成用于恢复的动作控制信息,使受控执行模块控制配电柜受控对象恢复至基准状态。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122992628A_ABST
    Figure CN122992628A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on finite state machine and power distribution cabinet protection logic system, equipment and storage medium of event-driven, belong to power distribution cabinet protection technical field.It includes: configuration management module, signal processing module, event management module, state decision module, action control module and controlled execution module.Configuration management module generates state control data;Signal processing module collects operating signal and generates standard event object;Event management module carries out event correlation and distribution;State decision module determines target operating state and outputs protection control information containing rollback instruction;Action control module generates action control information and recovery control information;Controlled execution module executes protection action, and controls controlled object to recover to reference state when abnormality.This application solves the problems of insufficient extensibility, event response lag and lack of safety fault-tolerant mechanism in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power distribution cabinet protection technology, specifically to a power distribution cabinet protection logic system, device, and storage medium based on finite state machine and event-driven principles. Background Technology

[0002] With the rapid development of modern smart power distribution networks, the high proportion of distributed power sources and the diversified operation modes of microgrids have become the norm. Based on this, the demands on distribution cabinets are also increasing. They not only need to perform conventional power distribution and fault protection, but also need to switch between different operating states and coordinate the control of circuit breakers, hardware electrical interlocking circuits, and protection device setting groups according to different operating modes.

[0003] Therefore, the protection logic of the distribution cabinet has gradually evolved from traditional protection actions to a composite control process involving status identification, event triggering, protection setting switching, physical switching, interlocking verification, and action feedback confirmation.

[0004] Existing power distribution cabinets have some problems: insufficient scalability, which means that the logic fine-tuning of the power distribution cabinet requires power outage and re-burning of firmware, making it impossible to achieve "software-defined" operation; delayed event response, with traditional timed polling mechanisms easily causing protection delays, false trips, or failures to operate when multiple faults occur concurrently; and a lack of safety fault tolerance mechanisms, which means that when performing complex actions such as setting switching or switching, if the underlying hardware is abnormal, the system often remains in an uncertain intermediate state and lacks the ability to automatically roll back to the baseline safe state.

[0005] To address the aforementioned shortcomings, this invention proposes a power distribution cabinet protection logic system based on finite state machines and event-driven mechanisms. By introducing a publish-subscribe central event management bus and a hierarchical finite state machine engine, complex protection logic is abstracted into state transition rules. An event-driven mechanism enables millisecond-level real-time response to sudden signal changes, and the protection settings are adaptively switched via a state machine. Simultaneously, an atomic action execution and reverse compensation rollback mechanism are constructed to ensure safe reverse-order reversal in case of anomalies. Summary of the Invention

[0006] The technical problem to be solved by the present invention is to overcome the defects of the prior art and provide a power distribution cabinet protection logic system, device and storage medium based on finite state machine and event driving that can solve the problems of insufficient scalability, delayed event response and lack of safety fault tolerance mechanism of the prior art.

[0007] To address the aforementioned technical problems, this invention provides a power distribution cabinet protection logic system based on finite state machines and event-driven principles, comprising the following modules:

[0008] The configuration management module is used to obtain the state transition rules and control instruction rules of the power distribution cabinet protection logic, form state control data, and send the state control data to the event management module, the state decision module, and the controlled execution module.

[0009] The signal processing module is used to collect the operating signals of the controlled objects in the power distribution cabinet, preprocess them to generate standard event objects, and send the standard event objects to the event management module.

[0010] The event management module is used to receive the standard event object and send it to the subscription subject, which includes the state decision module and the action control module;

[0011] The status decision module is used to determine the target operating status of the power distribution cabinet based on the status control data and the standard event object, and output protection control information, which includes a control command sequence and a rollback command associated with the control command sequence.

[0012] The action control module is used to generate action control information based on the protection control information and send it to the controlled execution module; it is also used to generate the action control information for recovery based on the rollback command;

[0013] The controlled execution module is used to execute protection actions according to the action control information and output action result information after obtaining feedback action status; it is also used to restore the controlled object of the power distribution cabinet to the reference state according to the action control information for restoration.

[0014] As a preferred embodiment of the power distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the configuration management module performs the following steps:

[0015] Step 1.1: Obtain the set of operating states, the set of state transition trajectories, the trigger event objects, and the timing or threshold constraints in the power distribution cabinet protection logic, and form the state transition rules based on the set of operating states, the set of state transition trajectories, the trigger event objects, and the timing or threshold constraints;

[0016] Step 1.2: Configure a control instruction sequence for the state transition trajectory, and configure a reverse compensation rollback operator for the atomic actions in the control instruction sequence. Form the rollback instruction according to the reverse compensation rollback operator to form the control instruction rule;

[0017] Step 1.3: Perform a validity check on the state transition rules and the control command rules;

[0018] Step 1.4: After the legality verification is passed, the state control data is formed according to the state transition rules and the control instruction rules, and the state control data is sent to the event management module, the state decision module and the controlled execution module.

[0019] As a preferred embodiment of the power distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the signal processing module performs the following steps:

[0020] Step 2.1: Collect the operating signals of the controlled objects in the power distribution cabinet. The operating signals include at least one of analog signals, switch signals, and communication message signals.

[0021] Step 2.2: Preprocess the running signal to obtain the running signal processing result, and determine the event type based on the running signal processing result;

[0022] Step 2.3: Generate a standard event object according to the event type, and send the standard event object to the event management module.

[0023] As a preferred embodiment of the distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the event management module performs the following steps:

[0024] Step 3.1: Receive the status control data sent by the configuration management module, and establish an event subscription registry based on the status control data. The event subscription registry is used to record the correspondence between event types and subscription subjects.

[0025] Step 3.2: Receive the standard event object sent by the signal processing module, and read the event source, event type code and acquisition time from the standard event object;

[0026] Step 3.3: Match the subscription subject corresponding to the event type code according to the event subscription registry, and send the standard event object to the state decision module and the action control module;

[0027] Step 3.4: Receive an acknowledgment message indicating that the state transition is complete or the protection action has been executed, and update the state of the corresponding standard event object according to the acknowledgment message.

[0028] As a preferred embodiment of the distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the state decision module performs the following steps:

[0029] Step 4.1: Read and parse the state control data, obtain the state transition rules, and record the current operating state of the power distribution cabinet as the baseline state;

[0030] Step 4.2: Receive the standard event object sent by the event management module, and determine whether the power distribution cabinet meets the state transition conditions based on the standard event object and the state transition rules;

[0031] Step 4.3: When the state transition conditions are met, determine the target operating state of the power distribution cabinet, and determine the corresponding state transition trajectory based on the current operating state and the target operating state;

[0032] Step 4.4: Locate the control instruction sequence and the rollback instruction associated with the state transition trajectory, generate the protection control information, and send the protection control information to the action control module.

[0033] As a preferred embodiment of the distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the action control module performs the following steps:

[0034] Step 5.1: Receive the protection control information sent by the status decision module, and read the control instruction sequence and the rollback instruction associated with the control instruction sequence from the protection control information;

[0035] Step 5.2: Deconstruct the control instruction sequence to obtain atomic actions, and generate an atomic action control matrix and execution time window based on the atomic actions;

[0036] Step 5.3: Before the atomic action control matrix is ​​issued, the atomic action control matrix and execution time window of the current batch are checked for lockout based on the lockout status fed back by the controlled execution module; when the lockout checkout passes, the initial execution decision result of the corresponding atomic action is maintained, and the action control information corresponding to the atomic actions that are allowed to be executed is sent to the controlled execution module; when the lockout checkout fails, the execution decision result of the corresponding atomic action of the current batch is updated to not allowed to be executed, and the atomic actions of the current batch are stopped.

[0037] Step 5.4: During the execution of the protection action, the action completion residual is checked according to the action status fed back by the controlled execution module; when the action completion residual check passes, the atomic action is determined to be completed; when the action completion residual check fails or a timing timeout occurs, the atomic action is determined to have failed, and the action control information for recovery is generated in reverse order according to the rollback instruction corresponding to the executed atomic action.

[0038] As a preferred embodiment of the distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the specific form in which the action control module establishes the action completion degree residual vector estimator is as follows:

[0039] ;

[0040] In the formula, The residual values ​​calculated for the residual vector estimator; This is the actual displacement state vector extracted through digital displacement feature codes and analog features. This is the expected vector of the theoretical state.

[0041] As a preferred embodiment of the distribution cabinet protection logic system based on finite state machine and event-driven architecture described in this invention, the controlled execution module performs the following steps:

[0042] Step 6.1: Receive the register image control file sent by the configuration management module, configure the controlled object of the power distribution cabinet according to the register image control file, and map the physical state of the controlled object of the power distribution cabinet to the locked state;

[0043] Step 6.2: Receive the action control information sent by the action control module, and determine the corresponding controlled object of the power distribution cabinet based on the action control information;

[0044] Step 6.3: Control the controlled object of the distribution cabinet to perform protection actions according to the action control information. The protection actions include at least one of protection setting switching, hardware electrical interlocking or unlocking, and circuit breaker opening or closing.

[0045] Step 6.4: During the execution of the protection action, obtain the action status fed back by the controlled object of the power distribution cabinet, generate the action result information according to the action status, and send the action result information to the status decision module and the action control module;

[0046] Step 6.5: Upon receiving the action control information for recovery, control the controlled object of the power distribution cabinet to recover to the reference state.

[0047] The present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the functions of each module of the power distribution cabinet protection logic system based on finite state machine and event-driven architecture.

[0048] The present invention provides a computer-readable storage medium storing a computer program thereon, characterized in that, when the computer program is executed by a processor, it implements the functions of each module of the power distribution cabinet protection logic system based on finite state machine and event-driven architecture.

[0049] The beneficial effects of this invention are as follows: Addressing the insufficient scalability of existing technologies, the configuration management module unifies the operating status, trigger events, and control commands of the distribution cabinet into unified status control data. This enables the status decision module to make lookup decisions based on this data, reducing maintenance costs associated with reprogramming fixed programs or PLC ladder diagram methods. Addressing the issue of delayed event response in existing technologies, the signal processing module generates standard event objects from the operating signals of the controlled objects in the distribution cabinet. The event management module uniformly receives and distributes these standard event objects, enabling the status decision module to promptly determine the target operating status of the distribution cabinet and improve the real-time performance of protection actions. Addressing the lack of a safety fault-tolerance mechanism in existing technologies, the action control module breaks down the control command sequence into atomic actions and determines whether the protection action is completed through interlocking verification and action completion residual verification. When an action is abnormal, times out, or does not meet the interlocking conditions, action control information for recovery is generated in reverse order according to the rollback instruction, allowing the controlled execution module to control the controlled objects in the distribution cabinet to return to the baseline state. Attached Figure Description

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

[0051] Figure 1 The above is a flowchart of a power distribution cabinet protection logic system based on finite state machine and event-driven operation, provided as an embodiment of the present invention.

[0052] Figure 2 This is a physical diagram of a power distribution cabinet protection logic system based on finite state machine and event-driven operation, provided as an embodiment of the present invention.

[0053] Figure 3 This is a diagram illustrating the software-defined flexibility of the control logic and the in-depth evaluation of the system decoupling performance of a distribution cabinet protection logic system based on finite state machines and event-driven methods, provided as an embodiment of the present invention.

[0054] Figure 4 A comparison diagram of the convergence delay of the entire cabinet state of a power distribution cabinet protection logic system based on a finite state machine and an event-driven system, provided as an embodiment of the present invention. Detailed Implementation

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

[0056] Reference Figures 1 to 4 This embodiment of the invention provides a power distribution cabinet protection logic system based on finite state machines and event-driven principles, comprising:

[0057] As an example, the configuration management module pre-acquires the state transition rules and control instruction rules from the distribution cabinet's protection logic. The state transition rules characterize the switching relationships between different operating states of the distribution cabinet, while the control instruction rules characterize the protection actions and recovery actions to be performed during the corresponding state transition. The configuration management module unifies the state transition rules and control instruction rules to form state control data, and then sends this data to the event management module, state decision module, and controlled execution module. Specifically, the event management module determines the data distribution object based on the state control data, the state decision module performs state transition judgments based on the state control data, and the controlled execution module determines the execution interface and feedback interface of the controlled object based on the state control data.

[0058] The signal processing module collects relevant data from the controlled objects in the power distribution cabinet. This data includes at least one of analog signals, digital signals, and communication message data. The signal processing module preprocesses the collected operating signals and generates standard event objects based on the preprocessing results, then sends these standard event objects to the event management module.

[0059] The event management module receives standard event objects and determines the corresponding subscription subjects based on the status control data. Subscription subjects include the status decision module and the action control module. The event management module sends standard event objects related to status transition judgment to the status decision module, and standard event objects related to protection action execution status, action feedback, or action verification to the action control module.

[0060] After receiving status control data and standard event objects, the status decision module determines whether the current operating status of the distribution cabinet meets the status transition conditions according to the status transition rules. If the status transition conditions are met, the target operating status of the distribution cabinet is determined, and protection control information is generated according to the control command rules. The protection control information includes a control command sequence and a rollback command associated with the control command sequence. The status decision module then sends the protection control information to the action control module.

[0061] After receiving the protection control information, the action control module generates action control information based on the control command sequence and sends it to the controlled execution module. As one implementation, the action control module breaks down the control command sequence into atomic actions and determines whether each atomic action has been completed based on the action status feedback from the controlled execution module. When the action result information indicates that the protection action has not been completed, an execution error has occurred, or a timeout has occurred, the action control module generates action control information for recovery in reverse order of the executed atomic actions, based on the rollback instruction.

[0062] After receiving action control information, the controlled execution module controls the corresponding controllable object in the distribution cabinet to perform protection actions. These protection actions include at least one of the following: circuit breaker opening / closing, hardware electrical interlocking or unlocking, and protection setting switching. During execution, the controlled execution module acquires feedback on the action status and outputs action result information based on that status. When it receives action control information for recovery, the controlled execution module controls the controllable object in the distribution cabinet to perform recovery actions according to the recovery action control information, restoring the controllable object to its baseline state.

[0063] It should be noted that, Figure 2 The graphical online configuration interface unit is located inside the industrial touch screen all-in-one machine. It belongs to the configuration management module and is used to configure protection logic and send out status control data.

[0064] The multi-source signal monitoring and event encapsulation unit is located within the acquisition module and belongs to the signal processing module.

[0065] It is used to acquire analog signals, digital signals, and communication message signals and generate standard event objects; the central event management bus unit is located in the core chassis and is used to receive and distribute standard event objects, belonging to the event management module;

[0066] The hierarchical finite state machine engine is located in the computing chassis and is used to determine the target operating state of the power distribution cabinet based on standard event objects and state control data. It belongs to the state decision module.

[0067] The atomic motion execution and rollback control unit is located in the control board. It is used to convert the control command sequence into motion control information and generate motion control information for recovery when the motion is abnormal. It belongs to the motion control module.

[0068] The adaptive controlled object cluster is set within the primary equipment cluster and is used to perform actions such as circuit breaker opening and closing, hardware electrical interlocking or unlocking, and protection setting switching. It belongs to the controlled execution module.

[0069] It should be noted that, Figure 3 A deep evaluation diagram of the software-defined flexibility of control logic and the decoupling performance of the system. Figure 3The diagram includes two sub-graphs. The upper part is a comparison of the dynamic adaptability of the control logic. The horizontal axis represents the traditional fixed PLC architecture and the software-defined system of this invention, respectively, and the vertical axis represents the dynamic adaptability of the control logic. The lower part is a diagram showing the changes in system coupling indicators during the topology switching evolution process. The horizontal axis represents the topology switching evolution time, and the vertical axis represents the coupling fission convergence index. The curves correspond to the traditional control and protection coupling architecture and the multi-dimensional space deep decoupling architecture of this invention, respectively.

[0070] It should be noted that, Figure 4 The paper presents a comparison of the convergence latency of the entire cabinet state between the system of the present invention and the traditional hard-coded polling architecture after concurrent triggering of complex operating conditions. Figure 4 In the diagram, the horizontal axis represents the simulation time axis, the vertical axis represents the state decision and distribution delay, and 10ms is the point where concurrent faults occur.

[0071] Reference Figures 1 to 4 It provides a power distribution cabinet protection logic system based on finite state machine and event-driven architecture.

[0072] The configuration management module of the distribution cabinet protection logic system based on finite state machine and event-driven architecture performs the following steps:

[0073] Step 1.1: The configuration management module responds to the interactive operations of the host computer configuration terminal and constructs the control logic canvas; it defines the top-level state set and state transition trajectory set of the finite state machine system through visual drag-and-drop components. Each state node uniquely corresponds to a standard operating mode or equipment operating state of the power distribution cabinet, and each directed transition trajectory represents the direction of state transition.

[0074] The top-level state set and the state transition trajectory set can be represented as follows:

[0075] ;

[0076] In the formula, Indicates the first Each state node Indicates the first A directional transfer trajectory.

[0077] Furthermore, for each state transition trajectory, a corresponding trigger event object and timing or threshold constraint vector are configured. The discrimination parameters in the timing or threshold constraint vector include analog quantity limit exceeding criteria, digital quantity change feature codes, and specific feature identifiers of communication messages. When the real-time parameters reported by the signal processing module meet the corresponding timing or threshold constraint conditions, the state transition lookup table corresponding to that state transition trajectory is activated.

[0078] Furthermore, the timing or threshold constraints can be expressed as:

[0079] ;

[0080] In the formula, This represents the timing or threshold constraint vector corresponding to the triggering event object.

[0081] Furthermore, the trigger condition can be expressed as:

[0082] ;

[0083] In the formula, This represents the trigger event object corresponding to the j-th state transition trajectory; This represents the real-time feature vector obtained after feature extraction or discrimination of the triggering event object. This vector consists of multiple key indicators that characterize the state of the triggering event.

[0084] Step 1.2: Configure a control instruction sequence for the state transition trajectory, and configure a reverse compensation rollback operator for the atomic actions in the control instruction sequence. Generate rollback instructions based on the reverse compensation rollback operator to form control instruction rules.

[0085] As an example, the configuration management module establishes a sequence of control instructions associated with each state transition trajectory in the configuration interface, and deconstructs the complex switching or protection switching logic into atomic action primitives in a time-series sequence; at the same time, it explicitly programs the corresponding reverse compensation rollback operator for each atomic action to form a dynamically triggered abnormal safety protection chain, which is used to execute rollback control sequentially from back to front when atomicity verification fails.

[0086] Furthermore, the specific form of the control instruction sequence is as follows:

[0087] ;

[0088] In the formula, Indicates the relationship with the first The sequence of control instructions associated with each state transition trajectory This indicates the first in the sequence of control commands. Atomized actions.

[0089] Step 1.3: Perform a validity check on the state transition rules and control instruction rules.

[0090] As an example, the backend engine of the configuration management module performs static syntax and logical rationality checks on the orchestrated state transition matrix; by constructing a directed graph of full path reachability, it retrieves and intercepts isolated states, unreachable states, and infinite loop deadlocks; at the same time, it uses the conflict matrix to automatically traverse and eliminate concurrent state transition conflicts that cause ambiguity under the same event source.

[0091] The directed graph of full path reachability can be represented as:

[0092] ;

[0093] In the formula, S represents the set of operating states, and T represents the set of state transition trajectories.

[0094] Step 1.4: After the legality verification is passed, state control data is generated according to the state transition rules and control instruction rules, and the state control data is sent to the event management module, the state decision module, and the controlled execution module.

[0095] As an example, refer to Figure 3 After the validity check passes, the configuration management module triggers the compilation and conversion process, which maps the visualized directed graph into a standardized numeric lookup table and register image control file. By configuring the data flow channel, status control data is sent to the event management module, status decision module, and controlled execution module.

[0096] The signal processing module of the distribution cabinet protection logic system based on finite state machine and event-driven architecture performs the following steps:

[0097] Step 2.1: Collect the operating signals of the controlled objects in the power distribution cabinet. The operating signals include at least one of analog signals, switch signals, and communication message signals.

[0098] As an example, the signal processing module dynamically and in parallel acquires multi-source heterogeneous raw signal sets from inside and outside the distribution cabinet in real time through hardware physical sampling channels and software communication interfaces. The multi-source heterogeneous raw signal sets include time-series analog current and voltage data characterizing the power grid waveform, physical switching quantity change signals characterizing the auxiliary contact status of circuit breakers and disconnectors, and logic protection status and fault diagnosis data sent by external intelligent electronic devices through network communication messages.

[0099] The specific manifestation of the multi-source heterogeneous original signal set is as follows:

[0100] ;

[0101] In the formula, Represents timing analog current and voltage data. This indicates a change signal in a physical switching quantity. It indicates the logical protection status and fault diagnosis data sent in the communication message.

[0102] It should be noted that the multi-source heterogeneous raw signal set includes time-series analog current and voltage data characterizing the power grid waveform, physical switching quantity change signals characterizing the auxiliary contact status of circuit breakers and disconnectors, and logic protection status and fault diagnosis data sent by external intelligent electronic devices through network communication messages.

[0103] Step 2.2: Preprocess the running signals to obtain the running signal processing results, and determine the event type based on the running signal processing results.

[0104] As an example, the signal processing module performs hardware and software filtering and multi-dimensional edge feature extraction on the acquired multi-source heterogeneous raw signal set to generate a low-level reference physical state set; it performs dynamic waveform change detection and periodic effective value calculation on analog signals to extract amplitude and frequency features; it performs hardware anti-jitter filtering and edge capture on switch signals to extract deterministic level states; and it performs protocol parsing and specific feature field correlation extraction on communication message signals to eliminate environmental transient noise interference.

[0105] It should be noted that the signal processing module inputs the underlying reference physical state set into the local trigger discrimination matrix in real time and compares it with the timing or threshold constraint vector synchronously obtained from the configuration management module. When it is detected that the real-time parameters in the underlying reference physical state set meet the analog quantity limit criterion, the switch quantity change feature code, or the specific feature identifier of the communication message, the transition of the physical state is determined as a valid trigger event and assigned a unique event type code.

[0106] Step 2.3: Generate a standard event object based on the event type and send the standard event object to the event management module.

[0107] As an example, the signal processing module performs metadata labeling on the valid trigger events and encapsulates them into standard event objects; it extracts and writes the event source identifier, calculates and assigns corresponding priority timing weights according to the severity of the event type and the protection timeliness requirements, and injects real-time sampling timestamps in conjunction with the system synchronization clock source, and finally constructs a standard event structure and performs unified addressing.

[0108] The standard event structure can be represented as follows:

[0109] ;

[0110] In the formula, Indicates the event source identifier. Indicates priority time-series weights, Indicates the event type code, This represents the real-time sampling timestamp.

[0111] It should be noted that the signal processing module connects to the input interface of the event management module through a high-speed internal dedicated data transmission channel, and sends the encapsulated standard event object to the event management module.

[0112] The event management module of the distribution cabinet protection logic system based on finite state machines and event-driven mechanisms executes the following steps:

[0113] Step 3.1: Receive the status control data sent by the configuration management module, and establish an event subscription registry based on the status control data. The event subscription registry is used to record the correspondence between event types and subscription subjects.

[0114] As an example, the event management module reads the status control data issued by the configuration management module during system initialization, parses the subscription requirements of each subscriber, constructs an event subscription registry, clarifies the mapping relationship between each subscriber and a specific event type, and thus establishes an asynchronous routing network topology oriented towards cabinet-level and device-level status convergence.

[0115] Step 3.2: Receive the standard event object sent by the signal processing module, and read the event source, event type code and acquisition time from the standard event object.

[0116] As an example, the event management module receives encapsulated standard event objects in real time through the input interface of the signal processing module; the event management module extracts the metadata tags from the standard event objects, maps them to standard event structures containing event source identifiers, priority timing weights, event type codes, and real-time sampling timestamps, and performs unified addressing within the event management module.

[0117] Step 3.3: Match the subscription subject corresponding to the event type code according to the event subscription registry, and send the standard event object to the status decision module and the action control module.

[0118] As an example, the event management module retrieves the event subscription registry and matches the event type code of the currently pending event. Using a publish-subscribe routing mechanism, it sends the standard event object to the subscribers who have registered subscription permissions for that event type. The subscribers include the state decision module and the action control module.

[0119] Step 3.4: Receive the confirmation message after the state transition is completed or the protection action is completed, and update the status of the corresponding standard event object according to the confirmation message.

[0120] As an example, after the standard event object is distributed, the event management module keeps a real-time listener to the feedback signals from the action control module. When it receives a confirmation message that the state transition is successful or the action has been completed, it marks the lifecycle state of the standard event object as invalid and triggers the memory garbage collection mechanism to safely destroy it from the queue and buffer, releasing the resources of the event management module.

[0121] The state decision module of the distribution cabinet protection logic system based on finite state machine and event-driven architecture executes the following steps:

[0122] Step 4.1: Read and parse the status control data, obtain the status transition rules, and record the current operating status of the power distribution cabinet as the baseline status.

[0123] As an example, the state decision module reads and parses the state control data issued by the configuration management module to obtain standardized digital lookup tables and state transition rules; it initializes and constructs a two-level nested state decision space consisting of a top-level state register and a group of sub-state machine matrices, and writes the current operating state of the power distribution cabinet into the state register as the baseline state.

[0124] Step 4.2: Receive the standard event object sent by the event management module, and determine whether the power distribution cabinet meets the state transition conditions based on the standard event object and the state transition rules.

[0125] As an example, the state decision module receives standard event objects distributed by the event management module in real time through a publish-subscribe relationship; it extracts the event type code and its real-time sampling timestamp from the standard event object, uses this as a retrieval key, matches the corresponding timing or threshold constraint vector in the currently active sub-state machine matrix or the top-level state transition lookup table, and performs precondition verification on the validity of the event transition trigger.

[0126] Step 4.3: When the state transition conditions are met, determine the target operating state of the power distribution cabinet, and determine the corresponding state transition trajectory based on the current operating state and the target operating state.

[0127] As an example, when the received event type code satisfies the local constraints, the state decision module executes the device-level state transition decision, calculates the state transition trajectory of the current device-level operating state under the event-driven state, and updates it to the target device-level operating state; if the device-level state transition triggers the boundary jump condition, or the received standard event object directly hits the cabinet-level state transition rule, the state decision module executes the cabinet-level state transition decision, and updates the current cabinet-level operating state to the target cabinet-level operating state.

[0128] Step 4.4: Locate the control instruction sequence and rollback instruction associated with the state transition trajectory, generate protection control information, and send the protection control information to the action control module.

[0129] As an example, when completing a device-level state transition or a cabinet-level state transition, the state decision module looks up the control instruction sequence bound to the state transition trajectory in real time, reads the rollback instruction associated with the control instruction sequence, generates protection control information, and sends the protection control information to the action control module.

[0130] refer to Figure 4 The horizontal axis represents the simulation time axis, the vertical axis represents the state decision and distribution delay, and the 10ms point is the point where the concurrent fault occurs.

[0131] Depend on Figure 4 It is known that traditional hard-coded polling architectures experience significantly increased and fluctuating state decision-making and distribution latency after concurrent failures. In contrast, the system of this invention maintains a low and stable state convergence latency even after concurrent failures. This is because the invention encapsulates fault signals into standard event objects through a multi-source signal monitoring and event encapsulation unit, distributes these events via a central event management bus unit, and then uses a hierarchical finite state machine engine for state transition matching. This reduces the waiting latency under traditional polling mechanisms and improves the overall cabinet state convergence speed.

[0132] The action control module of the distribution cabinet protection logic system based on finite state machine and event-driven operation executes the following steps:

[0133] Step 5.1: Receive the protection control information sent by the status decision module, and read the control command sequence and the rollback command associated with the control command sequence in the protection control information.

[0134] As an example, the action control module receives the protection control information output by the state decision module due to state transition, reads the control command sequence and the rollback command associated with the control command sequence, and performs dynamic reconstruction, atomic state deduction and real-time rollback decision on the control command sequence.

[0135] Step 5.2: Deconstruct the control instruction sequence to obtain atomic actions, and generate an atomic action control matrix and execution time window based on the atomic actions.

[0136] As an example, after receiving the sequence of control instructions, the action control module deconstructs and maps it into a directed acyclic graph of action dependencies. Combining the timing or threshold constraint vectors synchronously obtained from the configuration management module, it uses the predicted success probability of the input to perform dynamic programming solution with the minimization of the comprehensive decision objective function as the convergence criterion, and outputs an atomic action control matrix and the execution time window of each action.

[0137] The comprehensive decision objective function can be expressed as:

[0138] ;

[0139] In the formula, The total number of actions; Let be the execution decision variable for the i-th action, where 1 indicates execution and 0 indicates non-execution; The probability variable for the successful execution of atomized actions is estimated based on the current operating conditions and health status of the distribution cabinet. 1 indicates execution, and 0 indicates non-execution. The expected execution delay for atomic actions, The maximum permissible switching delay reference value preset by the system; The probability of transient electrical topology over-limit or arcing safety risks in the distribution cabinet caused by performing actions under the current operating state; This incurs the hardware resource and lifetime cost of initiating the corresponding reverse compensation rollback operator when the action fails. This is the preset baseline value for the maximum rollback cost that the system can withstand; , , The weighting coefficients are satisfied. .

[0140] It should be noted that the comprehensive decision objective function is used to collaboratively optimize the expected execution delay of actions, the expected risk of transient electrical topology safety, and the expected rollback loss during state transitions. The action control module uses the minimization of the comprehensive decision objective function as the convergence criterion, combined with the predicted success probability obtained from the current operating conditions of the distribution cabinet and the health status of the equipment. It makes execution decisions on each atomic action in the control command sequence, thereby reducing the rollback cost and safety risks caused by action failure during switching or protection setting switching.

[0141] Step 5.3: Before the atomic action control matrix is ​​issued, the atomic action control matrix and execution time window of the current batch are checked for locking based on the locking status fed back by the controlled execution module. When the locking check passes, the initial execution decision result of the corresponding atomic action is maintained, and the action control information corresponding to the atomic actions that are allowed to be executed is sent to the controlled execution module. When the locking check fails, the execution decision result of the corresponding atomic action of the current batch is updated to not allowed to be executed, and the atomic actions of the current batch are stopped.

[0142] As an example, before the atomic action control matrix is ​​issued, the action control module introduces the real-time interlocking state vector by reading the feedback latch register of the controlled execution module and calculates the concurrent satisfaction constraint criterion matrix. It then evaluates whether the current hardware electrical interlocking loop allows the safe execution of this batch of actions by verifying the singularity of this matrix. If the verification passes, the execution decision variable is set to allow execution, and a drive command is issued to the controlled execution module. If the verification fails, the current instruction is intercepted and rejected, and an action abort and rejection notification message is asynchronously sent to the state decision module, causing the state decision module to roll back to the baseline state.

[0143] Step 5.4: During the execution of the protection action, the action completion residual is checked according to the action status fed back by the controlled execution module; when the action completion residual check passes, the atomic action is determined to be completed; when the action completion residual check fails or a timing timeout occurs, the atomic action is determined to have failed, and the action control information for recovery is generated in reverse order according to the rollback instruction corresponding to the executed atomic action.

[0144] As an example, during the execution of a protection action, the action control module subscribes to standard event objects published by the signal processing module at high frequency through the event management module, and establishes an action completion residual vector estimator locally. The action completion residual vector estimator calculates the action completion residual vector based on the actual displacement state vector and the theoretical state expectation vector extracted through the switch quantity displacement feature code and analog quantity feature.

[0145] Furthermore, the action completion residual vector estimator can be expressed as:

[0146] ;

[0147] In the formula, The residual values ​​calculated for the residual vector estimator; This is the actual displacement state vector extracted through the digital displacement feature code and analog feature code; This is the expected vector of the theoretical state.

[0148] It should be noted that the motion control module introduces the actual verification result variable of the atomicity state. When the action completion residual vector does not exceed the preset threshold and the jump is completed within the execution time window, the atomicity verification is deemed to have passed; when the action completion residual vector exceeds the preset threshold, or a timing timeout occurs, the atomicity verification is deemed to have failed, and the subsequent action flow is immediately stopped. At the same time, the reverse compensation rollback operator corresponding to the executed atomic action is activated, and the rollback control is executed in reverse order from the current fault point to the left. The motion control information for recovery is generated in reverse order so that the controlled execution module is restored to the baseline state before the state transition, and an exception confirmation message is sent back to the event management module after the rollback is completed.

[0149] The controlled execution module of the distribution cabinet protection logic system based on finite state machine and event-driven operation performs the following steps:

[0150] Step 6.1: Receive the register image control file sent by the configuration management module, configure the controlled objects of the power distribution cabinet according to the register image control file, and map the physical state of the controlled objects of the power distribution cabinet to the locked state.

[0151] As an example, the controlled execution module receives the register image control file issued by the configuration management module; divides the internal storage space of the relay protection device into an independent protection setting area; and maps the physical status words of the circuit breaker opening and closing coils and hardware electrical interlocking circuits into real-time interlocking status vectors in the feedback interlocking register for the action control module to read.

[0152] Step 6.2: Receive the motion control information sent by the motion control module, and determine the corresponding controlled object of the power distribution cabinet based on the motion control information.

[0153] As an example, the controlled execution module receives action control information and action execution decision variables from the action control module in real time. The controlled object of the distribution cabinet corresponding to the current drive command is determined based on the action control information; among them, the protection communication master control module inside the controlled execution module acts as the slave control end, directly responding to the action execution decision variables. The state is no longer used for logical calculation of the concurrent satisfaction constraint criterion matrix.

[0154] when At that time, the controlled execution module activates the underlying physical execution channel and distributes the action control information to the corresponding protection device setting switching register, hardware electrical interlocking circuit or circuit breaker opening and closing coil without delay.

[0155] when At that time, the controlled execution module forcibly locks the physical execution channel.

[0156] Step 6.3: Control the controlled object of the distribution cabinet to perform protection actions according to the action control information. The protection actions include at least one of the following: protection setting switching, hardware electrical interlocking or unlocking, circuit breaker opening or closing.

[0157] As an example, after receiving the action control information, the controlled execution module determines the corresponding protection action type based on the action control information and controls the corresponding distribution cabinet controlled object to perform the protection action.

[0158] When the action control information corresponds to the protection setting change, the controlled execution module controls the protection device setting change register to write the corresponding protection setting group and generates setting change confirmation information.

[0159] When the action control information corresponds to hardware electrical interlocking or unlocking, the controlled execution module controls the hardware electrical interlocking circuit to perform the corresponding interlocking or unlocking action and obtains the interlocking status fed back by the hardware electrical interlocking circuit.

[0160] When the action control information corresponds to the circuit breaker opening or closing, the controlled execution module controls the circuit breaker opening and closing coils to perform the opening or closing action, and obtains the operation status of the circuit breaker through the circuit breaker auxiliary contacts.

[0161] Therefore, the controlled execution module can control the protection device setting switching register, hardware electrical interlocking circuit and circuit breaker opening and closing coil to perform corresponding protection actions according to the action control information.

[0162] Step 6.4: During the execution of the protection action, obtain the action status feedback from the controlled object of the distribution cabinet, generate action result information based on the action status, and send the action result information to the status decision module and the action control module.

[0163] As an example, during the execution of physical switching or setting value switching actions, the controlled execution module captures the underlying reference physical state in real time through sensors and auxiliary contacts, and encapsulates and generates an actual displacement state vector based on the underlying reference physical state. The actual displacement state vector is then fed back to the action completion degree residual vector estimator of the action control module, so that the action control module can determine whether the atomized action has been completed based on the actual displacement state vector and the theoretical state expectation vector.

[0164] Step 6.5: Upon receiving the action control information for recovery, control the controlled object in the power distribution cabinet to restore it to the baseline state.

[0165] As an example, when a timing timeout or mechanism jamming occurs, causing the motion control module to issue a stop command, the controlled execution module immediately stops subsequent actions and prioritizes responding to the motion control information for recovery corresponding to the reverse compensation rollback operator. It controls the circuit breaker opening and closing coils, hardware electrical interlocking circuits, and protection device setting switching registers to return to the baseline state before the state transition in reverse order, and sends the action result information to the state decision module and motion control module respectively.

[0166] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0167] 1. The configuration management module acquires the state transition rules and control instruction rules of the distribution cabinet's protection logic and forms state control data, creating a unified data mapping relationship between the distribution cabinet's operating state, triggering conditions, and protection actions. Compared to fixed programs or PLC ladder diagrams, this invention can adjust the protection logic by modifying the state control data, reducing maintenance costs associated with reprogramming or downtime for logic modification, and improving the scalability and configuration flexibility of the distribution cabinet's protection logic.

[0168] 2. The signal processing module collects the operating signals of the controlled objects in the distribution cabinet and generates standard event objects. The event management module sends the standard event objects to the subscribing subjects based on the status control data, enabling the status decision module to determine the target operating status of the distribution cabinet in a timely manner based on event triggering. Therefore, the system no longer relies on the traditional timed polling method for status judgment, reducing the waiting latency when multiple signals are input concurrently and improving the real-time performance of protection actions.

[0169] 3. The state decision module outputs protection control information based on state control data and standard event objects, enabling the generation of control command sequences and associated rollback commands along with the target operating state. This ensures that protection actions have corresponding recovery criteria before execution, avoiding the need to generate recovery logic temporarily after an abnormal action, and improving the determinism of the state transition process.

[0170] 4. The action control module generates action control information based on the protection control information and breaks down the control command sequence into atomic actions. It determines whether the protection action has been truly completed through interlocking verification and action completion residual verification. When a protection action is not completed, the action is abnormal, the timing expires, or the interlocking condition is not met, the action control module can generate action control information for recovery in reverse order according to the rollback command, thereby stopping subsequent erroneous actions and preventing complex protection actions from remaining in an uncertain intermediate state.

[0171] 5. The controlled execution module controls the controlled object in the distribution cabinet to perform protection actions based on the action control information, and feeds back the action status and result information; when it receives action control information for recovery, the controlled execution module controls the controlled object in the distribution cabinet to return to the reference state. The closed-loop control process formed by the system improves the reliability of the distribution cabinet protection control.

[0172] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0173] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0174] More specific examples of computer-readable media (a non-exhaustive list) include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, a computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0175] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination of all three. In the above embodiments, steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0176] 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 it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A power distribution cabinet protection logic system based on finite state machine and event-driven architecture, characterized in that, Includes the following modules: The configuration management module is used to obtain the state transition rules and control instruction rules of the power distribution cabinet protection logic, form state control data, and send the state control data to the event management module, the state decision module, and the controlled execution module. The signal processing module is used to collect the operating signals of the controlled objects in the power distribution cabinet, preprocess them to generate standard event objects, and send the standard event objects to the event management module. The event management module is used to receive the standard event object and send it to the subscription subject, which includes the state decision module and the action control module; The status decision module is used to determine the target operating status of the power distribution cabinet based on the status control data and the standard event object, and output protection control information, which includes a control command sequence and a rollback command associated with the control command sequence. The action control module is used to generate action control information based on the protection control information and send it to the controlled execution module; it is also used to generate the action control information for recovery based on the rollback command; The controlled execution module is used to execute protection actions according to the action control information and output action result information after obtaining feedback action status; it is also used to restore the controlled object of the power distribution cabinet to the reference state according to the action control information for restoration.

2. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 1, characterized in that... The configuration management module performs the following steps: Step 1.1: Obtain the set of operating states, the set of state transition trajectories, the trigger event objects, and the timing or threshold constraints in the power distribution cabinet protection logic, and form the state transition rules based on the set of operating states, the set of state transition trajectories, the trigger event objects, and the timing or threshold constraints; Step 1.2: Configure a control instruction sequence for the state transition trajectory, and configure a reverse compensation rollback operator for the atomic actions in the control instruction sequence. Form the rollback instruction according to the reverse compensation rollback operator to form the control instruction rule; Step 1.3: Perform a validity check on the state transition rules and the control command rules; Step 1.4: After the legality verification is passed, the state control data is generated according to the state transition rules and the control instruction rules, and the state control data is sent to the event management module, the state decision module and the controlled execution module.

3. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 1, characterized in that... The signal processing module is used to collect the operating signals of the controlled objects in the power distribution cabinet, generate standard event objects based on the operating signals, and send the standard event objects to the event management module to perform the following steps: Step 2.1: Collect the operating signals of the controlled objects in the power distribution cabinet. The operating signals include at least one of analog signals, switch signals, and communication message signals. Step 2.2: Preprocess the running signal to obtain the running signal processing result, and determine the event type based on the running signal processing result; Step 2.3: Generate a standard event object according to the event type, and send the standard event object to the event management module.

4. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 1, characterized in that... The event management module is used to receive the standard event object and send the standard event object to the subscribing subject according to the state control data. The subscribing subject includes the state decision module and the action control module, and performs the following steps: Step 3.1: Receive the status control data sent by the configuration management module, and establish an event subscription registry based on the status control data. The event subscription registry is used to record the correspondence between event types and subscription subjects. Step 3.2: Receive the standard event object sent by the signal processing module, and read the event source, event type code and acquisition time from the standard event object; Step 3.3: Match the subscription subject corresponding to the event type code according to the event subscription registry, and send the standard event object to the state decision module and the action control module; Step 3.4: Receive an acknowledgment message indicating that the state transition is complete or the protection action has been executed, and update the state of the corresponding standard event object according to the acknowledgment message.

5. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 1, characterized in that... The state decision module performs the following steps: Step 4.1: Read and parse the state control data, obtain the state transition rules, and record the current operating state of the power distribution cabinet as the baseline state; Step 4.2: Receive the standard event object sent by the event management module, and determine whether the power distribution cabinet meets the state transition conditions based on the standard event object and the state transition rules; Step 4.3: When the state transition conditions are met, determine the target operating state of the power distribution cabinet, and determine the corresponding state transition trajectory based on the current operating state and the target operating state; Step 4.4: Locate the control instruction sequence and the rollback instruction associated with the state transition trajectory, generate the protection control information, and send the protection control information to the action control module.

6. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 5, characterized in that... The motion control module performs the following steps: Step 5.1: Receive the protection control information sent by the status decision module, and read the control instruction sequence and the rollback instruction associated with the control instruction sequence from the protection control information; Step 5.2: Deconstruct the control instruction sequence to obtain atomic actions, and generate an atomic action control matrix and execution time window based on the atomic actions; Step 5.3: Before the atomic action control matrix is ​​issued, the atomic action control matrix and execution time window of the current batch are checked for lockout based on the lockout status fed back by the controlled execution module; when the lockout checkout passes, the initial execution decision result of the corresponding atomic action is maintained, and the action control information corresponding to the atomic actions that are allowed to be executed is sent to the controlled execution module; when the lockout checkout fails, the execution decision result of the corresponding atomic action of the current batch is updated to not allowed to be executed, and the atomic actions of the current batch are stopped. Step 5.4: During the execution of the protection action, the action completion residual is checked according to the action status fed back by the controlled execution module; when the action completion residual check passes, the atomic action is determined to be completed; when the action completion residual check fails or a timing timeout occurs, the atomic action is determined to have failed, and the action control information for recovery is generated in reverse order according to the rollback instruction corresponding to the executed atomic action.

7. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 6, characterized in that... The specific form of the action completion residual vector estimator established by the action control module is as follows: ; In the formula, The residual values ​​calculated for the residual vector estimator; This is the actual displacement state vector extracted through digital displacement feature codes and analog features. This is the expected vector of the theoretical state.

8. The distribution cabinet protection logic system based on finite state machine and event-driven as described in claim 1, characterized in that... The controlled execution module performs the following steps: Step 6.1: Receive the register image control file sent by the configuration management module, configure the controlled object of the power distribution cabinet according to the register image control file, and map the physical state of the controlled object of the power distribution cabinet to the locked state; Step 6.2: Receive the action control information sent by the action control module, and determine the corresponding controlled object of the power distribution cabinet based on the action control information; Step 6.3: Control the controlled object of the distribution cabinet to perform protection actions according to the action control information. The protection actions include at least one of protection setting switching, hardware electrical interlocking or unlocking, and circuit breaker opening or closing. Step 6.4: During the execution of the protection action, obtain the action status fed back by the controlled object of the power distribution cabinet, generate the action result information according to the action status, and send the action result information to the status decision module and the action control module; Step 6.5: Upon receiving the action control information for recovery, control the controlled object of the power distribution cabinet to recover to the reference state.

9. 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 functions of each module in the system according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the functions of each module in the system according to any one of claims 1 to 8.