Power distribution system control method and device, electronic equipment, medium and program product

By establishing the control logic of the power distribution system through a graphical interface and user interaction, the complex power distribution system control problem in the existing technology is solved, and user-configurable and fast automatic power distribution switching is realized.

CN122159150APending Publication Date: 2026-06-05EMERSON NETWORK POWER CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
EMERSON NETWORK POWER CO LTD
Filing Date
2024-12-03
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing power distribution systems have complex control methods that require specialized developers to modify program code to change the control logic, making it difficult to quickly and automatically switch power distribution.

Method used

Through a graphical interface and user interaction, it responds to user operations and establishes control logic that matches the power distribution system, including the display of node module objects, attribute configuration, and connection line establishment, thus simplifying the implementation of control logic.

Benefits of technology

It enables users to flexibly configure control logic, simplifies the control methods of power distribution systems, supports rapid automatic power distribution switching, and improves the flexibility and safety of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122159150A_ABST
    Figure CN122159150A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a power distribution system control method, device, electronic equipment, medium and program product. The method comprises: in response to a first operation of a user on an editing interface, displaying a node module object in a preset area of the editing interface; in response to a second operation of the user on any node module object, configuring the attributes of the node module object to establish a node module corresponding to the control logic of the power distribution system; in response to a third operation of the user on the editing interface, displaying a connection line between the node modules in the preset area of the editing interface to establish the control logic of the power distribution system; wherein the control logic is used to control the power distribution system to perform power distribution switching. The method is used to achieve the effect of simplifying the implementation of the power distribution system control method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to control technology for power distribution systems, and more particularly to a control method, device, electronic equipment, medium, and program product for power distribution systems. Background Technology

[0002] With the development of smart grids and automation technologies, the reliability and efficiency of power systems have become common goals pursued by power operators and users. In distribution systems, distribution switching is a crucial means of ensuring power continuity. How to quickly and automatically perform distribution switching operations when distribution lines or equipment fail is a major challenge for power systems.

[0003] Currently, developers typically write program code for power distribution systems, which is then executed on control devices to implement the control logic of the power distribution system. If the control logic needs to be changed, specialized developers are required to modify the program code.

[0004] This approach has the problem that the control method for the power distribution system is relatively complex. Summary of the Invention

[0005] This application provides a control method, device, electronic equipment, medium, and program product for a power distribution system to solve the problem of complex control methods for power distribution systems.

[0006] In a first aspect, embodiments of this application provide a control method for a power distribution system, comprising: responding to a user's first operation on an editing interface, displaying node module objects within a preset area of ​​the editing interface;

[0007] In response to a second user operation on any node module object, configure the properties of that node module object to establish a node module corresponding to the control logic of the power distribution system.

[0008] In response to a third user operation on the editing interface, the connection lines between the node modules are displayed in a preset area of ​​the editing interface to establish the control logic of the power distribution system; wherein, the control logic is used to control the power distribution system to perform power distribution switching.

[0009] In this way, by interacting with the user through a graphical interface and responding to the user's operations on the editing interface, control logic that matches the power distribution system is established. This control logic is used to control the power distribution system to perform power distribution switching, which can simplify the way the power distribution system is controlled.

[0010] Optionally, the method further includes:

[0011] In response to the user's release operation on the control logic, the control logic is executed.

[0012] This satisfies the user's needs, allowing the user to decide when to start executing the control logic.

[0013] Optionally, the node module includes: a start module, a control module, and an end module; executing the control logic specifically includes:

[0014] Based on the startup conditions configured in the properties of the startup module, detect whether the state of the power distribution system meets the startup conditions;

[0015] If the start condition of the control logic is met, then based on the logic execution order represented by the connection lines in the control logic, each node module after the start module is executed sequentially until the current node module is the end module;

[0016] If the current node module is the control module, then the power distribution system is controlled according to the control operations configured in the attributes of the control module.

[0017] In this way, the system can automatically detect whether the power distribution system meets the start-up conditions. When the conditions are met, the control logic will automatically run to perform control operations on the power distribution system. This process does not require human intervention.

[0018] Optionally, the node module further includes: a judgment module; the execution of the control logic specifically includes:

[0019] If the current node module is the judgment module, then it is determined whether the current power distribution system meets the conditions configured in the attributes of the judgment module, and based on the judgment result, the next node module to be executed is determined.

[0020] In this way, users can configure the control logic to decide whether to execute the next node module and which node module to execute.

[0021] Optionally, the node module further includes a prompting module; the execution of the control logic specifically includes:

[0022] If the current node module is the prompt module, then the prompt information will be displayed on the running interface according to the prompt operation configured in the properties of the prompt module.

[0023] This allows for a more intuitive display of information about the control logic execution process to the user.

[0024] Optionally, the node module further includes a confirmation module; the execution of the control logic specifically includes:

[0025] If the current node module is a confirmation module, then the confirmation interface will be displayed on the running interface according to the confirmation items configured in the properties of the confirmation module.

[0026] In response to the user's confirmation action on the confirmation interface, execute the next node module.

[0027] This allows users to decide whether to continue with the next node module, avoiding accidental triggering of control logic and further enhancing the security of control execution.

[0028] Optionally, the node module further includes a delay module; the execution of the control logic specifically includes:

[0029] If the current node module is a delay module, the next node module will be executed after the corresponding delay, according to the delay information configured in the attributes of the delay module.

[0030] This prevents the control logic from executing to the next node before the power distribution system has completed its control operations, thus ensuring that the control logic can be effectively executed.

[0031] Optionally, detecting whether the state of the power distribution system meets the startup conditions configured in the attributes of the starting module specifically includes:

[0032] For the multiple published control logics, poll and check whether the state of the power distribution system meets the start conditions configured in the attributes of the start module in any control logic.

[0033] In this way, the corresponding control logic can be executed when the activation conditions of any control logic are met, thus improving the flexibility of control.

[0034] Optionally, detecting whether the state of the power distribution system meets the startup conditions configured in the attributes of the starting module specifically includes:

[0035] Based on the start conditions of the start module, obtain the associated data of the start conditions from the real-time data of the power distribution system obtained by monitoring;

[0036] Based on the associated data, determine whether the startup conditions are currently met.

[0037] In this way, by monitoring the power distribution system in real time, the timeliness of identifying the start-up conditions of the starting module can be improved.

[0038] Optionally, the method further includes:

[0039] Establish the correspondence between each control logic and the object device of that control logic in the power distribution system;

[0040] The system receives a fourth operation from the user on the power distribution system interface, the object of which is used to represent the first device; in response to the fourth operation, the system displays the control logic corresponding to the first device.

[0041] This allows users to understand the control operations performed on the power distribution system more intuitively, enhancing the user's interactive experience.

[0042] Optionally, the method further includes:

[0043] Record log information during the execution of the control logic.

[0044] This information can then be used for subsequent analysis and troubleshooting of the power distribution system.

[0045] Secondly, embodiments of this application provide a control device for a power distribution system, the device comprising: a response module, configured to respond to a user's first operation on an editing interface and display a node module within a preset area of ​​the editing interface;

[0046] The response module is used to respond to a second operation by the user on any node module, and to configure the attributes of the node module to establish a node module corresponding to the control logic of the power distribution system.

[0047] The response module is used to respond to a third operation by the user on the editing interface, and to display the connection lines between the node modules in a preset area of ​​the editing interface to establish the control logic of the power distribution system; wherein, the control logic is used to control the power distribution system to perform power distribution switching.

[0048] Thirdly, embodiments of this application provide an electronic device, including: a processor, and a memory connected to the processor;

[0049] The memory stores computer-executed instructions;

[0050] The processor executes computer execution instructions stored in the memory to implement the method as described in any of the first aspects.

[0051] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any of the first aspects.

[0052] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any of the first aspects.

[0053] It should be understood that the second to fifth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here.

[0054] The control method, device, electronic equipment, medium, and program product for the power distribution system provided in this application interact with the user through a graphical interface, responds to the user's operation on the editing interface, and establishes control logic that matches the power distribution system. This control logic is used to control the power distribution system to perform power distribution switching. The user can flexibly configure the control logic according to actual needs, thereby simplifying the implementation of the control method for the power distribution system. Attached Figure Description

[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0056] Figure 1 A schematic diagram of a scenario for a power distribution system control method provided in this application;

[0057] Figure 2 A flowchart illustrating a control method for a power distribution system provided in an embodiment of this application;

[0058] Figure 3 A flowchart illustrating an execution control logic provided in an embodiment of this application;

[0059] Figure 4 A schematic diagram of an editing interface provided for an embodiment of this application;

[0060] Figure 5 A schematic diagram of another editing interface provided in an embodiment of this application;

[0061] Figure 6 A schematic diagram of a third editing interface provided in an embodiment of this application;

[0062] Figure 7 A schematic diagram illustrating the configuration of node module attributes provided in an embodiment of this application;

[0063] Figure 8 A schematic diagram of a user confirmation interface provided in an embodiment of this application;

[0064] Figure 9 A schematic diagram illustrating the correspondence between control logic and target devices provided in an embodiment of this application;

[0065] Figure 10 A schematic diagram of the structure of a control device for a power distribution system provided in an embodiment of this application;

[0066] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0067] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0068] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0069] Figure 1 This is a schematic diagram illustrating a scenario for a power distribution system control method provided in this application. (Example:) Figure 1As shown, the power distribution system control method provided in this application is applied to scenarios where a power distribution system is controlled. The power distribution system can be any system that transmits electrical energy from a transmission system to the user end, and can include, for example, power distribution lines, power distribution equipment, and power distribution switches. The power distribution switch can be any power switch that can be turned on or off based on a high-level / low-level signal. The control device for the power distribution system can be any device capable of outputting high-level or low-level control signals, such as a microcontroller, embedded processor, or programmable logic device. Optionally, in addition to the processing unit, it may also include peripheral circuit units for the processing unit. The control device can collect data from various electrical devices in the power distribution system to obtain real-time data such as voltage, current, and switch status, and can remotely send control commands to control various electrical devices. For example, the control device can monitor the status of power distribution lines and equipment, and when a fault occurs in a power distribution line or equipment, the control device can control the power distribution system to perform power distribution switching. In one example, the input power source of the power distribution system may include power supplied by the public power grid and power supplied by a generator. When the control device detects a power outage in the public power grid, it can control the distribution switch S1 connected to the public power grid to open and control the distribution switch S2 connected to the generator to open, thereby switching the power distribution system to the generator's power supply. When the power supply from the public power grid returns to normal, it can control the distribution switch S1 connected to the public power grid to open and control the distribution switch S2 connected to the generator to open, thereby switching the power distribution system back to the public power grid to ensure continuous power supply.

[0070] How to quickly and automatically perform power distribution switching operations when power lines or equipment fail is a major challenge for power systems.

[0071] Currently, developers typically write program code for power distribution systems, which is then executed on control devices to implement the system's control logic. Changing the control logic requires modifications to the program code by specialized developers. This approach results in a complex implementation of power distribution system control. Therefore, simplifying the implementation of power distribution system control is a pressing issue.

[0072] In view of this, this application proposes a control method for a power distribution system, which interacts with the user through a graphical interface, responds to the user's operation on the editing interface, and establishes control logic that matches the power distribution system. This control logic is used to control the power distribution system to perform power distribution switching, thereby simplifying the implementation of power distribution system control.

[0073] The execution subject of this application embodiment can be a control device, or an electronic device or control system equipped with the control device. The following description takes a control device as the execution subject.

[0074] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0075] Figure 2 This is a flowchart illustrating a control method for a power distribution system provided in an embodiment of this application. Figure 2 As shown, the method may include, for example, the following steps:

[0076] S201. The control device responds to the user's first operation on the editing interface and displays the node module object in the preset area of ​​the editing interface.

[0077] The editing interface can be any interface that responds to user actions, such as a web-based editing interface or a standalone editing interface. Users can initiate the initial operation using input devices such as a mouse or keyboard. A node module object can be any module object capable of performing a specific operation; for example, it can be a wrapper module object whose internal workings are not visible to the user. Users can configure the properties of this node module object through defined options to achieve the desired functionality.

[0078] S202. The control device responds to the user's second operation on any node module object, configures the attributes of the node module object, and establishes a node module corresponding to the control logic of the power distribution system.

[0079] For example, users can trigger a second operation through input devices such as a mouse and keyboard. By configuring the configuration options of the node module object, the user can configure the attributes of the node module object. For example, for a node module object that represents a control module, the user can configure the attributes of the node module object to create a control module, so that the control module can perform preset control operations on the equipment in the power distribution system.

[0080] S203. The control device responds to the user's third operation on the editing interface and displays the connection lines between node modules in the preset area of ​​the editing interface to establish the control logic of the power distribution system; wherein, the control logic is used to control the power distribution system to perform power distribution switching.

[0081] For example, a user can trigger a third operation using input devices such as a mouse or keyboard. Connecting lines can be used to connect any two node modules, and the direction of the connecting lines indicates the logical execution order of the two connected node modules. Connecting lines can be directly connected to each node module, or the node modules can be equipped with connecting terminals, and the connecting lines can be connected to these terminals to achieve connection between the node modules. Connecting lines can, for example, represent the logical execution order. For instance, a connecting line pointing from node module A to node module B can indicate that the logical operation corresponding to node module A is executed first, followed by the logical operation corresponding to node module B, thereby controlling the power distribution system to perform power distribution switching.

[0082] In summary, the power distribution system control method provided in this application interacts with the user through a graphical interface, responds to the user's operations on the editing interface, and establishes control logic that matches the power distribution system. This control logic is used to control the power distribution system to perform power distribution switching. The user can flexibly configure the control logic according to actual needs, thereby simplifying the implementation of the power distribution system control method.

[0083] Furthermore, the control device can directly execute the control logic after establishing the control logic of the power distribution system; or, the control device can execute the control logic in response to the user's release of the control logic. In this way, the user can decide when to start executing the control logic according to their needs.

[0084] In one example, a node module includes a start module, a control module, and an end module. Before executing the control logic of a node module, you can configure the properties of the node module object to create the node module.

[0085] The start module, for example, can be any module that begins execution based on a start condition. Users can configure the properties of the node module object representing the start module to establish the start module, thereby determining the start condition. For example, the start module object can be configured to use a condition representing a power outage from the public power grid as the start condition, or it can be configured to use a condition representing a fault in the power distribution equipment as the start condition, thereby establishing a start module corresponding to the control logic of the power distribution system.

[0086] The control module, for example, can be any module capable of controlling the power distribution system. Users can configure the attributes of node module objects representing the control module to establish it, thereby determining that the control module represents the execution of preset operations on target equipment in the power distribution system. For example, the control module can be configured to perform a disconnect operation on distribution switch S1, or it can be configured to perform a turn-on operation on distribution switch S2, etc.

[0087] The termination module can be any module that can terminate the execution of the power distribution system control logic. Users can configure the attributes of the node module that represents the termination module to establish the termination module. When the control device executes the termination module, the execution of the control logic ends.

[0088] Figure 3 This is a flowchart illustrating an execution control logic provided in an embodiment of this application. Figure 3 As shown, the control device executes control logic, which may specifically include the following steps:

[0089] S301. The control device detects whether the status of the power distribution system meets the startup conditions according to the startup conditions configured in the properties of the start module.

[0090] As mentioned earlier, users can configure the properties of the node module object representing the start module to establish the start module, thereby determining the startup conditions. When the state of the power distribution system is detected to meet the startup conditions, the representation can execute the control logic to control the power distribution system to perform a power distribution switch.

[0091] In one example, there can be multiple start conditions; based on the start conditions of the start module, the state of the power distribution system is checked to see if the start conditions are met. Specifically, this can include: checking whether the state of the power distribution system meets the start conditions of multiple control logics by polling.

[0092] For example, the startup conditions include startup condition 1, startup condition 2, and startup condition 3. Startup condition 1 could be a power outage from the public grid; startup condition 2 could be a fault in the power distribution equipment; and startup condition 3 could be a load exceeding its rated power. By polling to detect whether the state of the power distribution system meets any of the startup conditions, control logic can be executed when any startup condition is met.

[0093] In another example, for multiple published control logics, the status of the power distribution system is polled to check whether it meets the start conditions configured in the properties of the start module in any control logic.

[0094] For example, the published control logic may include control logic 1, control logic 2, and control logic 3; the activation condition of control logic 1 is the power supply interruption provided by the public power grid; the activation condition of control logic 2 is the power distribution equipment failure; and the activation condition of control logic 3 is the load exceeding the rated power, etc.

[0095] The control device can poll the power distribution system to check whether its state meets the activation conditions of any one of control logics: 1, 2, or 3. If the control device detects that the power distribution system's state meets the activation condition of control logic 1, then control logic 1 is executed; if it detects that the power distribution system's state meets the activation condition of control logic 2, then control logic 2 is executed; and if it detects that the power distribution system's state meets the activation condition of control logic 3, then control logic 3 is executed. This polling mechanism allows the corresponding control logic to be executed whenever the activation condition of any control logic is met, improving control flexibility.

[0096] In another example, the control device can obtain the associated data of the start-up conditions from the real-time data of the power distribution system monitored by the start-up module; based on the associated data, it can detect whether the start-up conditions are currently met.

[0097] For example, the control device can collect real-time status data of various electrical devices in the power distribution system, obtaining real-time data such as voltage, current, and switch status, and can remotely send control commands to control various electrical devices. The control device extracts relevant data about the starting conditions from the monitored real-time data of the power distribution system. For example, if the starting condition is a power outage from the public grid, relevant data such as the line voltage or line current can be extracted from the monitored real-time data of the power distribution system. When the line current is detected to be lower than a preset current value, it can be considered that there is no load current; or, when the line voltage is detected to be lower than a first preset voltage value, it can be considered that voltage supply has been lost. By detecting the line current and / or voltage values, it is possible to detect whether the power transmission of the line is interrupted. It should be understood that when there are multiple starting conditions, control logic can be executed when any one of the starting conditions is met; or, control logic can be executed when all starting conditions are met, this application does not limit this.

[0098] If the start conditions of the control logic are met, then step S302 is executed.

[0099] S302. If the start conditions of the control logic are met, the control device executes each node module after the start module in sequence according to the logic execution order represented by the connection lines in the control logic, until the current node module is the end module.

[0100] As mentioned earlier, by configuring the attributes of the node module object, each node module corresponds to the control logic of the power distribution system. Based on the logic execution order represented by the connection lines in the control logic, each node module after the starting module is executed sequentially, thus enabling power distribution switching of the power distribution system according to the control logic.

[0101] If the current node module is a control module, the control device will perform corresponding control on the power distribution system according to the control operation configured in the properties of the control module.

[0102] As mentioned earlier, a control module can be established by configuring the attributes of the node module object representing the control module, thereby determining that the control module represents the execution of preset operations on the target equipment of the power distribution system. The control device can perform corresponding control on the power distribution system according to the control operations configured in the attributes of the control module.

[0103] Optionally, the node module also includes a judgment module. The judgment module can be any module capable of making judgments, such as executing specific logical operations based on input data and preset rules to determine the execution path of the control logic. Users can configure the attributes of the node module object representing the judgment module to establish the judgment module. For example, the input data of the judgment module can correspond to the signal output by a device in the power distribution system, and different judgment conditions can be set, such as condition m, condition n, etc.

[0104] The execution control logic specifically includes:

[0105] If the current node module is a judgment module, then determine whether the current power distribution system meets the conditions configured in the attributes of the judgment module, and determine the next node module to be executed based on the judgment result.

[0106] Continuing as before, for example, when the judgment result of the judgment module meets condition m, the next node module A to be executed can be determined; when the judgment result of the judgment module meets condition n, the next node module B to be executed can be determined.

[0107] Optionally, the node module also includes a notification module. The notification module can be any module capable of displaying notification information. Users can configure the properties of the node module object representing the notification module to create the module, thereby setting different notification messages according to user needs. For example, the notification module can be set to display the message "Switching Successful," which can be displayed when the power distribution system switches successfully.

[0108] The execution control logic specifically includes:

[0109] If the current node module is a prompt module, then prompt information will be displayed on the runtime interface according to the prompt operation configured in the prompt module's properties. This allows for a more intuitive display of information about the control logic execution process to the user.

[0110] Optionally, the node module also includes a confirmation module. The confirmation module can be any module that responds to a user's confirmation action and determines the execution path of the logic. Users can configure the attributes of the node module object representing the confirmation module to establish it. For example, it can be set to output a confirmation signal when responding to an attribute representing user confirmation, and an unconfirmed signal when responding to an attribute representing user non-confirmation. For instance, users can configure the confirmation module to a single-trigger mode, meaning there is only one confirmation button. When the user triggers this button, it indicates a confirmation action; if the user does not trigger the button within a preset time, it indicates no confirmation action. Alternatively, users can configure the confirmation module to a dual-trigger mode, meaning one "Yes" button and one "No" button. When the user triggers the "Yes" button, it indicates a confirmation action; when the user triggers the "No" button, it indicates no confirmation action. The confirmation module satisfies user needs, allowing the user to decide whether to continue executing the next node module, avoiding accidental triggering of control logic and further improving the security of control execution.

[0111] The execution control logic specifically includes:

[0112] If the current node module is a confirmation module, then the confirmation interface will be displayed on the running interface according to the confirmation items configured in the properties of the confirmation module; respond to the user's confirmation operation on the confirmation interface, and execute the next node module.

[0113] For example, through the confirmation module, the power distribution system can allow users to confirm before power distribution switching. After the user confirms, the power distribution switching operation will be executed. If the user fails to confirm within the time limit or the confirmation is not executed, the power distribution switching operation will be terminated, thereby improving the security of the power distribution switching operation.

[0114] Optionally, the node module also includes a delay module. A delay module, for example, can be a module that runs after a preset delay duration. Users can configure properties representing the delay module and set the specific delay duration.

[0115] The execution control logic specifically includes:

[0116] If the current node module is a delay module, the next node module will be executed after the corresponding delay, according to the delay information configured in the delay module's attributes. After the control device sends a control signal to the power distribution system according to the control logic, the execution of the power distribution system requires a certain amount of time. The delay module can prevent the control logic from executing to the next node before the power distribution system completes its control operation, thus ensuring that the control logic can be effectively executed.

[0117] Furthermore, the control device can also record log information during the execution of control logic. For example, the log information can record the execution information of the control logic, such as execution time, success / failure, etc., for subsequent analysis and troubleshooting of the power distribution system.

[0118] In summary, the method provided in this application involves a control device detecting whether the state of the power distribution system meets the startup conditions configured in the attributes of the starting module. When the startup conditions of the control logic are met, the control device executes each node module after the starting module sequentially based on the logic execution order represented by the connection lines in the control logic, until the current node module becomes the ending module. This allows for switching control of the power distribution system when the control conditions are met.

[0119] Figure 4 This is a schematic diagram of an editing interface provided in an embodiment of this application. Figure 4 The diagram illustrates the editing interface after a user's first action. The user's first action can be to place the desired node module object into a preset area of ​​the editing interface. The editing interface includes a module bar and a preset area. The module bar contains objects corresponding to different types of node modules. Node module objects serve as templates for various node modules, and may include, for example, start module objects, prompt module objects, confirmation module objects, control module objects, delay module objects, judgment module objects, and end module objects. Specifically, the start module object is used to create a start module; the prompt module object is used to create a prompt module; the confirmation module object is used to create a confirmation module; the control module object is used to create a control module; the delay module object is used to create a delay module; the judgment module object is used to create a judgment module; and the end module object is used to create an end module. Users can select node module objects from the module bar and place them into the preset area through dragging, double-clicking, right-clicking, or other triggering operations, ensuring that the node module objects do not overlap. Figure 4 The following is an illustrative example using a preset area to place the start module object, end module object, judgment module object 1, judgment module object 2, prompt module object 1, prompt module object 2, confirmation module object, and control module object.

[0120] Figure 5 This is a schematic diagram of another editing interface provided in an embodiment of this application. For example... Figure 5 As shown, Figure 5 The diagram illustrates the editing interface in response to the user's second action. The user's second action allows configuring attribute information for each node module object to establish node modules corresponding to the control logic of the power distribution system. For example... Figure 5 As shown, for Figure 4The node modules established by configuring the node module object's attributes can include: Start Module, Judgment Module 1, Confirmation Module, Judgment Module 2, Prompt Module 1, Prompt Module 2, Control Module, and End Module. For example, a user can configure the Start Module object's startup condition to represent a power distribution equipment fault to establish the Start Module. A user can configure the first Judgment Module object's attribute to determine if the switching condition is met; if normal, the next node module is executed to establish Judgment Module 1. A user can configure the Confirmation Module object with two trigger modes: "Yes" and "No." When the user triggers the "Yes" button, it indicates a confirmation operation; when the user triggers the "No" button, it indicates no confirmation operation, to establish the Confirmation Module. A user can configure the second Judgment Module object to determine if the user has confirmed; if the user confirms, the node module connected to the first branch is executed; if the user has not confirmed, the node module connected to the second branch is executed, to establish Judgment Module 2. A user can configure the first Prompt Module object's attribute to output a "Confirmed" prompt message to establish Prompt Module 1; and configure the second Prompt Module's attribute to output a "Not Confirmed" prompt message to establish Prompt Module 2. Users can configure the control module object's property to control device shutdown in order to establish a control module.

[0121] In one example, multiple switching conditions can be set, and the judgment module will execute the next node module when all switching conditions are met. For example, the switching conditions may include: (1) the control switches of the power distribution system are all in a state that can be controlled remotely. (2) the voltage of the available power supply is within the normal range to ensure stable and reliable circuit supply. (3) the bus tie switch of the power distribution system is in an open working state to avoid safety hazards caused by parallel power supply. The specific switching conditions can be set according to actual conditions.

[0122] Figure 6 This is a schematic diagram of a third editing interface provided in an embodiment of this application. For example... Figure 6 As shown, Figure 6 The diagram shows the editing interface in response to the user's third operation. The user's third operation is mainly to connect the node modules in the preset area. For example, the user can long press and drag to draw a connecting line from the connection point of a node module, and release to the connection point of the target node module to achieve the connection between the two node modules. Figure 6The node modules shown include: a start module, a judgment module 1, a confirmation module, a judgment module 2, a prompt module 1, a prompt module 2, a control module, and an end module. The start module can be connected to judgment module 1; judgment module 1 can be connected to the confirmation module; the confirmation module can be connected to judgment module 2; the first branch of judgment module 2 can be connected to prompt module 1; the second branch of judgment module 2 can be connected to prompt module 2; prompt module 1 can be connected to the control module; and the control module and prompt module 2 can be connected to the end module respectively. This completes the establishment of the current control logic. Afterwards, the control device can control the power distribution system to perform power distribution switching according to the control logic. It should be understood that the connections between the node modules described in the embodiments of this application only indicate the connection relationship between the node modules, and the order in which the node modules are connected is not limited.

[0123] Figures 4-6 Only the node modules relevant to the embodiments of this application are shown to illustrate the implementation process of the control logic. In actual situations, when controlling the power distribution system, the specific node modules used and the connection relationships between them can be set according to actual conditions, and this application does not limit them.

[0124] The following is based on Figure 6 The execution of the control logic will be explained using the control logic shown as an example.

[0125] When the control device detects that the state of the power distribution system meets the start conditions configured in the attributes of the start module, the control device executes each node module after the start module sequentially based on the logic execution order represented by the connection lines in the control logic, until the current node module is the end module, as follows:

[0126] (1) Execute judgment module 1. Judgment module 1 determines whether the switching conditions are met. If the switching conditions are met, a pop-up window reminds the user to confirm.

[0127] (2) Execute the confirmation module. The user triggers the confirmation operation. If the user confirms, the confirmation module outputs a signal indicating that the user has confirmed to the judgment module 2. If the user does not confirm, the confirmation module outputs a signal indicating that the user has not confirmed to the judgment module 2.

[0128] (3) Execute judgment module 2. According to the output signal of the confirmation module, when condition m is met, that is, when the user confirms, judgment module 2 executes the prompt module 1 connected to the first branch; when condition n is met, that is, when the user does not confirm, it executes the prompt module 2 connected to the second branch.

[0129] (4) Execute prompt module 1, output the confirmation prompt message, and then execute the control module.

[0130] (5) Execute prompt module 2, output the prompt message that no confirmation is received, and then execute the end module.

[0131] (6) Execute the control module to shut down the equipment, and then execute the termination module.

[0132] At this point, the control device completes the power distribution system switching based on the control logic.

[0133] After the power distribution switchover is completed, the control device can enter a cyclic judgment state, continuously monitoring various parameters of the power distribution system to ensure its stable operation. If the public power grid is detected to have resumed power supply, for example, when the line voltage is detected to be higher than a second preset voltage value, it can be assumed that the public power grid can provide power. The monitoring system can then execute the control logic for restoring power supply.

[0134] Optionally, the control device may also include a "one-button execution" button, allowing users to manually control the device in an emergency. For example, the control device may display operation prompts on the display interface, allowing users to select electrical equipment or switches in the power distribution system that need to be controlled, thereby improving the reliability of power distribution safety operation.

[0135] Figure 7 This is a schematic diagram illustrating the configuration of node module attributes as provided in an embodiment of this application. For example... Figure 7 As shown, for example, users can double-click / right-click the node module object whose properties need to be configured, and then a configuration interface will pop up. Figure 7 The following is an illustration of the configuration interface for a judgment module object. The configuration interface includes: Name, used to set the name of the judgment module object; users can input a custom name corresponding to the power distribution system control logic via the keyboard; Conditions, used to set the judgment conditions for the judgment module object; when the condition is a signal value, it represents the acquired status of the power distribution system equipment; when the condition is a node value, it represents the output status of the node module connected to that node module; Add Condition, which allows users to add new judgment conditions; Meet All Conditions, indicating that all conditions configured in this interface are met; Meet Any Condition, indicating that any one of the conditions configured in this interface is met; Custom, used to meet user configuration needs, allowing users to set whether two conditions are met or no conditions are met; Default Branch, when the user checks this option, it indicates that this branch is the default branch, and if other conditions are not met, this default branch is run; when the user does not check this option, it indicates that this branch is not the default branch, and if other conditions are not met, this branch is not run. In this configuration interface, users can set the name of the judgment module, judgment conditions, etc., to establish a judgment module corresponding to the power distribution system control logic. Figure 7Taking the determination of whether the switching conditions are met as an example, condition C1 can be set to indicate that the switching conditions are met when the communication status of device 1 is normal.

[0136] Figure 8 This is a schematic diagram of a user confirmation interface provided in an embodiment of this application. Figure 8 As shown, corresponding Figure 6 The established control logic's operating interface. When the control device detects that the power distribution system's state meets the startup conditions configured in the start module's attributes, it executes each node module after the start module sequentially, based on the logic execution order represented by the connection lines in the control logic. Figure 8 As shown, when executing judgment module 1, if judgment module 1 determines that the switching condition is met, then the confirmation module is executed; the confirmation module can display a pop-up window prompting the user to confirm. For example, the user can configure the confirmation module's attribute so that triggering the "Yes" button indicates user confirmation, and triggering the "No" button indicates that the user has not confirmed. Under this user confirmation interface, the user can trigger the corresponding button as needed, and the control device can respond to the user's confirmation operation and execute the next node module.

[0137] Figure 9 This is a schematic diagram illustrating the correspondence between control logic and target devices provided in an embodiment of this application. For example... Figure 9 As shown, each control logic can correspond to an object device in the power distribution system, and a correspondence can be established between each control logic and the object device of that control logic in the power distribution system; the object device can be, for example, any electrical device in the power distribution system.

[0138] The system receives a fourth operation from the user on the power distribution system interface. The object of this fourth operation represents the first device. In response to the fourth operation, the system displays the control logic corresponding to the first device. The fourth operation primarily demonstrates the correspondence between the object device in the power distribution system and its corresponding control logic. For example, the control device may store a power distribution diagram, which could be any graphic file illustrating the distribution and transmission of electrical energy in the power distribution system. The power distribution diagram can describe the transmission path from the power source to various electrical devices in the power distribution system, including various electrical equipment and connection methods. Figure 1Taking a power distribution diagram as an example, the power supply from the public power grid is connected to the electrical equipment via distribution switch S1; the power supply from the generator is connected to the electrical equipment via distribution switch S2. The corresponding control logic may include, for example, that when the control device detects a power outage from the public power grid, it executes each node module after the start module sequentially based on the logic execution order represented by the connection lines in the control logic. Judgment module 1, for example, can determine whether the power supply from the generator meets the load demand. If it does, it prompts the user to confirm whether to perform a switching operation. Judgment module 2 determines that the user selected "yes," and then executes prompt module 1 connected to the first branch, indicating that the user has confirmed. Afterwards, the control module performs a shutdown operation to control the electrical equipment to shut down; alternatively, the control module can first perform a shutdown operation, and then control distribution switch S1 to open and control distribution switch S2 to open, thus switching the power supply from the public power grid to the generator.

[0139] Users can click on electrical equipment in the power distribution diagram, and the control logic interface will display the corresponding control logic for that equipment. For example, if a user clicks on the power supply circuit from the public power grid to the electrical equipment, the control logic interface will display the path in which the control logic is executed sequentially. Figure 9 Dashed lines are used to indicate the selected object device and the execution path of the control logic. This allows users to more intuitively understand the control operations performed on the power distribution system, enhancing the user's interactive experience.

[0140] Figure 10 This is a schematic diagram of the structure of a control device for a power distribution system provided in an embodiment of this application. Figure 10 As shown, the control device provided in this embodiment includes: a response module 1001.

[0141] Response module 1001 is used to respond to the user's first operation on the editing interface and display node module objects in the preset area of ​​the editing interface;

[0142] Response module 1001 is used to respond to the user's second operation on any node module object, configure the attributes of the node module object, and establish a node module corresponding to the control logic of the power distribution system.

[0143] The response module 1001 is used to respond to the user's third operation on the editing interface and display the connection lines between the node modules in the preset area of ​​the editing interface to establish the control logic of the power distribution system; wherein, the control logic is used to control the power distribution system to perform power distribution switching.

[0144] In one possible implementation, the response module 1001 is also used to respond to the user's publishing operation on the control logic and execute the control logic.

[0145] One possible implementation is that the node module includes: a start module, a control module, and an end module;

[0146] The response module 1001 is specifically used to detect whether the state of the power distribution system meets the start conditions according to the start conditions configured in the attributes of the start module; if the start conditions of the control logic are met, then each node module after the start module is executed sequentially based on the logic execution order represented by the connection lines in the control logic, until the current node module is the end module; wherein, if the current node module is a control module, then the power distribution system is controlled according to the control operation configured in the attributes of the control module.

[0147] One possible implementation is that the node module also includes a judgment module;

[0148] If the current node module is a judgment module, then response module 1001 is specifically used to determine whether the current power distribution system meets the conditions configured in the attributes of the judgment module, and to determine the next node module to be executed based on the judgment result.

[0149] One possible implementation is that the node module also includes a prompt module; if the current node module is a prompt module, then the response module 1001 is specifically used to display prompt information on the running interface according to the prompt operation configured in the properties of the prompt module.

[0150] One possible implementation is that the node module also includes a confirmation module;

[0151] If the current node module is a confirmation module, then response module 1001 is specifically used to display the confirmation interface on the running interface according to the confirmation items configured in the properties of the confirmation module; respond to the user's confirmation operation on the confirmation interface, and execute the next node module.

[0152] One possible implementation is that the node module also includes a delay module;

[0153] If the current node module is a delay module, then response module 1001 is specifically used to execute the next node module after the corresponding delay, based on the delay information configured in the properties of the delay module.

[0154] One possible implementation is a response module 1001, which is specifically used to poll and detect whether the state of the power distribution system meets the start conditions configured in the attributes of the start module of any of the multiple published control logics.

[0155] One possible implementation is that the response module 1001 is specifically used to obtain the associated data of the start conditions from the real-time data of the power distribution system obtained by monitoring, based on the start conditions of the start module; and to detect whether the start conditions are currently met based on the associated data.

[0156] In one possible implementation, the response module 1001 is further configured to establish a correspondence between each control logic and the object device of that control logic in the power distribution system; receive a fourth operation from the user on the power distribution system interface, the object of the fourth operation being used to represent the first device; and respond to the fourth operation by displaying the control logic corresponding to the first device.

[0157] One possible implementation is that the response module 1001 is also used to record log information during the execution of control logic.

[0158] The control device for the power distribution system provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0159] Figure 11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 11 As shown, the communication device may include at least one processor 1101 and a memory 1102.

[0160] The memory 1102 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.

[0161] The memory 1102 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage.

[0162] The processor 1101 is used to execute computer execution instructions stored in the memory 1102 to implement the actions in the foregoing method embodiments. The processor 1101 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0163] Optionally, the electronic device may also include a communication interface 1103 for communication and interaction with external devices. In specific implementation, if the communication interface 1103, memory 1102, and processor 1101 are implemented independently, the communication interface 1103, memory 1102, and processor 1101 can be interconnected via a bus to complete communication between them.

[0164] Optionally, in a specific implementation, if the communication interface 1103, memory 1102 and processor 1101 are integrated on a single chip, then the communication interface 1103, memory 1102 and processor 1101 can communicate through an internal interface.

[0165] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores program instructions, which are used to implement the actions of the above-described method implementation.

[0166] This application also provides a computer program product including executable instructions stored in a readable storage medium. At least one processor of an electronic device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the electronic device to perform the actions described in the method embodiments.

[0167] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A control method for a power distribution system, characterized in that, include: In response to the user's first operation on the editing interface, the node module object is displayed within a preset area of ​​the editing interface; In response to a second user operation on any node module object, configure the properties of that node module object to establish a node module corresponding to the control logic of the power distribution system. In response to a third user operation on the editing interface, the connection lines between the node modules are displayed in a preset area of ​​the editing interface to establish the control logic of the power distribution system; wherein, the control logic is used to control the power distribution system to perform power distribution switching.

2. The method according to claim 1, characterized in that, The method further includes: In response to the user's release operation on the control logic, the control logic is executed.

3. The method according to claim 2, characterized in that, The node module includes: a start module, a control module, and an end module; executing the control logic specifically includes: Based on the startup conditions configured in the properties of the startup module, detect whether the state of the power distribution system meets the startup conditions; If the start condition of the control logic is met, then based on the logic execution order represented by the connection lines in the control logic, each node module after the start module is executed sequentially until the current node module is the end module; If the current node module is the control module, then the power distribution system is controlled according to the control operations configured in the attributes of the control module.

4. The method according to claim 3, characterized in that, The node module further includes: a judgment module; the execution of the control logic specifically includes: If the current node module is the judgment module, then it is determined whether the current power distribution system meets the conditions configured in the attributes of the judgment module, and based on the judgment result, the next node module to be executed is determined.

5. The method according to claim 3, characterized in that, The node module further includes a prompting module; the execution of the control logic specifically includes: If the current node module is the prompt module, then the prompt information will be displayed on the running interface according to the prompt operation configured in the properties of the prompt module.

6. The method according to claim 5, characterized in that, The node module further includes a confirmation module; the execution of the control logic specifically includes: If the current node module is a confirmation module, then the confirmation interface will be displayed on the running interface according to the confirmation items configured in the properties of the confirmation module. In response to the user's confirmation action on the confirmation interface, execute the next node module.

7. The method according to claim 3, characterized in that, The node module further includes a delay module; the execution of the control logic specifically includes: If the current node module is a delay module, the next node module will be executed after the corresponding delay, according to the delay information configured in the attributes of the delay module.

8. The method according to claim 3, characterized in that, The step of detecting whether the state of the power distribution system meets the startup conditions configured in the attributes of the starting module specifically includes: For the multiple published control logics, poll and check whether the state of the power distribution system meets the start conditions configured in the attributes of the start module in any control logic.

9. The method according to claim 3, characterized in that, The step of detecting whether the state of the power distribution system meets the startup conditions configured in the attributes of the starting module specifically includes: Based on the start conditions of the start module, obtain the associated data of the start conditions from the real-time data of the power distribution system obtained by monitoring; Based on the associated data, determine whether the startup conditions are currently met.

10. The method according to claim 9, characterized in that, The method further includes: Establish the correspondence between each control logic and the object device of that control logic in the power distribution system; The system receives a fourth operation from the user on the power distribution system interface, the object of which is used to represent the first device; in response to the fourth operation, the system displays the control logic corresponding to the first device.

11. The method according to any one of claims 1 to 10, characterized in that, The method further includes: Record log information during the execution of the control logic.

12. A control device for a power distribution system, characterized in that, The device includes: The response module is used to respond to the user's first operation on the editing interface and display the node module within a preset area of ​​the editing interface; The response module is used to respond to a second operation by the user on any node module, and to configure the attributes of the node module to establish a node module corresponding to the control logic of the power distribution system. The response module is used to respond to a third operation by the user on the editing interface, and to display the connection lines between the node modules in a preset area of ​​the editing interface to establish the control logic of the power distribution system; wherein, the control logic is used to control the power distribution system to perform power distribution switching.

13. An electronic device, characterized in that, include: A processor, and a memory connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 11.

15. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1 to 11.