Power operation task scheduling method and device, electronic equipment and storage medium

Through the power operation task scheduling method based on hierarchical logic verification, the problem of low sequential control operation efficiency is solved, efficient power operation task scheduling with multiple voltage levels and multiple intervals is realized, and operation and maintenance efficiency and safety are improved.

CN118630928AActive Publication Date: 2024-09-10ZHUHAI UNITECH POWER TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411114780.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-09-10
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

The existing sequence control operation method has low execution efficiency and long time consumption in multi-voltage level and multi-interval power operation task scheduling, resulting in low operation and maintenance efficiency.

Method used

Adopt a power job task scheduling method based on hierarchical logic verification, determine the target subtask and control type through task calling commands, perform single task logic verification, group logic verification and whole ticket logic verification, generate operation tickets and execute power management Scheduling of equipment enables multi-layer logical verification and grouping operations.

Benefits of technology

It improves the efficiency of task scheduling, shortens the time for the entire station to stop power transmission and busbar switching maintenance, saves manpower and time costs, and ensures the safety of multi-interval hybrid control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118630928A
    Figure CN118630928A
Patent Text Reader

Abstract

The invention relates to the field of power station equipment control, and provides a power operation task scheduling method and device based on hierarchical logic verification, electronic equipment and a storage medium. The method comprises the following steps: when a task calling command is received, determining a plurality of target sub-tasks to be scheduled and control types of the target sub-tasks according to the task calling command; according to a preset multi-task scheduling logic and the control type of each target sub-task, performing single-task logic verification, grouping logic verification and whole-ticket logic verification on each target sub-task in sequence to obtain a verification result; and generating a corresponding operation order according to a verification result of the target sub-task, and executing the operation order to schedule each power device of the transformer substation. The generation efficiency of the power station operation order is improved, and the error rate is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power station equipment control, and in particular to a method, device, electronic device and storage medium for scheduling power operation tasks based on hierarchical logic verification. Background Art

[0002] With the continuous improvement of the level of intelligent power grid, remote or automatic control of power equipment has become a common method in power stations. For example, sequential control has gradually replaced the traditional switching operation mode and is widely used in power operation and maintenance. Among them, sequential control, also known as programmed operation, is a switching method that combines automation technology to achieve power grid equipment control.

[0003] At present, during the period of station-wide power outage, busbar switching, and station-wide maintenance operations, due to the issues of multiple voltage levels and multiple intervals, the task calls of multiple voltage levels and multiple intervals are realized by sequential control operations. According to the existing sequential control operations, each interval needs to be executed in turn. The execution process includes waiting, presetting, control, confirmation and other links. The whole process is time-consuming and the execution efficiency is low. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for scheduling power operation tasks based on hierarchical logic verification, so as to solve the problem of low execution efficiency when the scheduling of each task is controlled by sequential control operation in the prior art.

[0005] The first aspect of the present application provides a method for scheduling power operation tasks based on hierarchical logic verification, which is applied to a substation. The method includes: when a task call command is received, a number of target subtasks to be scheduled and the control type of the target subtasks are determined according to the task call command, wherein each target subtask has a preset call order, and the control type includes a sequential control type and a parallel control type. Based on the call order of the target subtasks, target subtasks with adjacent call orders and the same control type can be divided into the same group; according to the preset multi-task scheduling logic and the control type of each of the target subtasks, each of the target subtasks is sequentially subjected to single-task logic verification, group logic verification and whole-ticket logic verification to obtain a verification result, wherein the group logic verification refers to a group-level verification of several target subtasks of the same group that are continuously called and have the same control type; a corresponding operation ticket is generated according to the verification result, and the operation ticket is executed to schedule each power equipment in the substation.

[0006] Optionally, if the task calling command is an instruction to schedule at least two subtasks, the single task logic check, group logic check and whole ticket logic check are performed on each target subtask in turn according to the preset multi-task scheduling logic and the control type of each target subtask to obtain a verification result, including: first grouping each target subtask based on the control type, and after completing the grouping, performing single task logic check, group logic check and whole ticket logic check on the target subtasks in each group according to the preset multi-task scheduling logic to obtain a verification result; or, according to the preset multi-task scheduling logic and the control type of each target subtask, first performing a single task logic check on the corresponding target subtask, and after the verification passes, performing grouping, group logic check and whole ticket logic check on the target subtasks in sequence to obtain a verification result.

[0007] Optionally, according to the preset multi-task scheduling logic and the control type of each target subtask, a single-task logic check is first performed on the corresponding target subtask, and after the check is passed, the target subtasks are grouped, the group logic check and the whole ticket logic check are performed in sequence to obtain a check result, including: based on the preset subtask check logic, the legitimacy and equipment operation logic of the power equipment in the target subtask are checked; if the target subtask meets the subtask check logic, then based on the preset group check logic and the control type, the group logic check is performed on the target subtask; if the target subtask meets the group check logic, then it is determined whether all groups meet the preset whole ticket logic check logic to obtain a check result.

[0008] Optionally, the target subtask is subjected to grouping logic verification based on the preset grouping verification logic and the control type, including: determining whether the target subtask is the first task of the operation ticket; if it is not the first task, determining whether the control type of the target subtask is the same as the control type of the previous target subtask; if they are the same, adding the target subtask to the group where the previous target subtask is located; if it is determined to be the first task or the control type is different from that of the previous target subtask, creating a new group based on the current target subtask; and performing grouping verification on the target subtask based on the preset grouping verification logic.

[0009] Optionally, the base performs group verification on the target subtasks based on a preset group verification logic, including: after completing the grouping of all target subtasks, verifying whether the control types of all subtasks in each group are consistent, and obtaining a first verification result; based on a preset error prevention logic, performing a logic verification on the operation items of all target subtasks in each group, and obtaining a second verification result; and outputting a group verification result based on the first verification result and the second verification result.

[0010] Optionally, based on the preset error prevention logic, a logic check is performed on the operation items of all target subtasks in each group to obtain a second verification result, including: if the control type is parallel control, the first error prevention logic of the parallel control is determined, and the operation items of each target subtask in each parallel control group are extracted, and a parallel control operation item sequence is constructed, and the first error prevention logic is used to perform a parallel control logic check on the parallel control operation item sequence to obtain a second verification result; if the control type is sequential control, the second error prevention logic of the sequential control is determined, and the operation items of each target subtask in each sequential control group are extracted, and a sequential control operation item sequence is constructed, and the sequential control operation item sequence is performed a sequential control logic check on the sequential control operation item sequence using the second error prevention logic to obtain a second verification result.

[0011] Optionally, before receiving the task calling command, it also includes: acquiring equipment information of each power device in the substation, and constructing at least one subtask according to the equipment information of each power device.

[0012] Optionally, determining the target subtask to be scheduled and the control type of the target subtask based on the task calling command includes: directly matching the corresponding target subtask from all constructed subtasks based on the task calling command, and determining the control type of the target subtask; or, calling an operation task set based on the task calling command, selecting a target subtask that matches the task calling command from the operation task set, and determining the control type of the target subtask.

[0013] Optionally, after combining and sorting the power equipment in the same line based on the operating mode, the operating conditions, the operating items and the association between the target state to obtain the corresponding subtasks, it also includes: obtaining a command to create an operation task set, and based on the task name in the operation task set command, forming a set of all subtasks related to the task name in the generated subtasks to obtain the corresponding operation task set.

[0014] The second aspect of the present application provides a power operation task scheduling device based on hierarchical logic verification, which is applied to a substation, and the device includes: A determination module is used to, upon receiving a task call command, determine a number of target subtasks to be scheduled and the control type of the target subtasks according to the task call command, wherein each target subtask has a preset call order, and the control type includes a sequential control type and a parallel control type. Based on the call order of the target subtasks, target subtasks with adjacent call orders and the same control type can be divided into the same group; a verification module is used to perform single-task logic verification, group logic verification and whole-ticket logic verification on each target subtask in turn according to a preset multi-task scheduling logic and the control type of each target subtask to obtain a verification result, wherein the group logic verification refers to a group-level verification of a number of target subtasks of the same group that are continuously called and have the same control type; a scheduling module is used to generate a corresponding operation ticket according to the verification result of the target subtask, and execute the operation ticket to schedule each power equipment in the substation.

[0015] Optionally, the verification module is specifically used to: first group each of the target subtasks based on the control type, and after completing the grouping, perform single task logic verification, group logic verification and whole ticket logic verification on the target subtasks in each group according to the preset multi-task scheduling logic to obtain a verification result; or, according to the preset multi-task scheduling logic and the control type of each of the target subtasks, first perform a single task logic verification on the corresponding target subtask, and after the verification passes, sequentially group the target subtasks, perform group logic verification and whole ticket logic verification to obtain a verification result.

[0016] Optionally, the verification module includes: a first verification unit, used to verify the legitimacy and equipment operation logic of each power equipment in the target subtask based on a preset subtask verification logic when the task call command is an instruction to schedule at least two subtasks; a second verification unit, used to perform a group logic verification on the target subtask based on a preset group verification logic and the control type when the target subtask satisfies the subtask verification logic; and a third verification unit, used to determine whether all groups satisfy a preset whole ticket verification logic when the target subtask satisfies the group verification logic to obtain a verification result.

[0017] Optionally, the second verification unit is specifically used to: after verifying that the subtask verification logic is satisfied, determine whether the target subtask is the first task of the operation ticket; if it is not the first task, determine whether the control type of the target subtask is the same as the control type of the previous target subtask; if they are the same, add the target subtask to the group where the previous target subtask is located; if it is determined to be the first task or the control type is different from that of the previous target subtask, create a new group based on the current target subtask; and perform group verification on the target subtask based on a preset group verification logic.

[0018] Optionally, the second verification unit is specifically used to: after completing the grouping of all target subtasks, verify whether the control types of all subtasks in each group are consistent to obtain a first verification result; based on a preset error-proofing logic, perform a logic check on the operation items of all target subtasks in each group to obtain a second verification result; and output a group verification result based on the first verification result and the second verification result.

[0019] Optionally, the second verification unit is specifically used to: if the control type is parallel control, determine the first error prevention logic of the parallel control, extract the operation items of each target subtask in each parallel control group, and construct a parallel control operation item sequence, and use the first error prevention logic to perform a parallel control logic check on the parallel control operation item sequence to obtain a second verification result; if the control type is sequential control, determine the second error prevention logic of the sequential control, extract the operation items of each target subtask in each sequential control group, and construct a sequential control operation item sequence, and use the second error prevention logic to perform a sequential control logic check on the sequential control operation item sequence to obtain a second verification result.

[0020] Optionally, the power operation task scheduling device further includes a collection module, which is used to: obtain equipment information of each power device in the substation, and construct at least one subtask according to the equipment information of each power device.

[0021] Optionally, the determination module includes: a first determination unit, used to directly match the corresponding target subtask from all constructed subtasks based on the task calling command, and determine the control type of the target subtask; or, a second determination unit, used to call an operation task set based on the task calling command, select a target subtask that matches the task calling command from the operation task set, and determine the control type of the target subtask.

[0022] Optionally, the acquisition module also includes: an input unit, which is specifically used to: obtain a command for creating an operation task set, and based on the task name in the operation task set command, form a set of all subtasks related to the task name in the generated subtasks to obtain a corresponding operation task set.

[0023] A third aspect of the present application provides an electronic device, which includes a processor and a memory, the memory storing machine executable instructions that can be executed by the processor, and the processor executing the machine executable instructions to implement the above-mentioned power operation task scheduling method based on hierarchical logic verification.

[0024] The fourth aspect of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned method for scheduling power operation tasks based on hierarchical logic verification.

[0025] In the technical solution provided by the present application, when a task call command is received, a number of target subtasks to be scheduled and the control type of the target subtasks are determined according to the task call command, wherein each target subtask has a preset call order, and the control type includes a sequential control type and a parallel control type. Based on the call order of the target subtasks, target subtasks with adjacent call orders and the same control type can be divided into the same group; according to the preset multi-task scheduling logic and the control type of each of the target subtasks, each of the target subtasks is sequentially subjected to single-task logic verification, group logic verification and whole-ticket logic verification to obtain a verification result, wherein the group logic verification refers to a group-level verification of several target subtasks of the same group that are continuously called and have the same control type; a corresponding operation ticket is generated according to the verification result of the target subtask, and the operation ticket is executed to dispatch each power equipment in the substation. In the embodiment of the present application, by selecting the target subtask and configuring the control type of the subtask based on the task call command, and utilizing the multi-task scheduling logic to perform hierarchical logic verification on the target subtask, multi-layer logic verification is achieved when multiple subtasks are called, thereby ensuring the safety of multi-interval mixed control, and reducing the time required for invoicing and calling individual subtasks one by one during station-wide power outages and bus switching maintenance operations, thereby improving the work efficiency of operation and maintenance personnel and saving manpower and time costs consumed in the power operation and maintenance switching process. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a schematic diagram of a first embodiment of a method for scheduling power operation tasks based on hierarchical logic verification in an embodiment of the present application; Figure 2 It is a schematic diagram of a second embodiment of the method for scheduling power operation tasks based on hierarchical logic verification in the embodiment of the present application; Figure 3 A schematic diagram of a third embodiment of a method for scheduling power operation tasks based on hierarchical logic verification in an embodiment of the present application; Figure 4 This is a schematic diagram of a fourth embodiment of the method for scheduling power operation tasks based on hierarchical logic verification in the embodiment of the present application; Figure 5 This is a schematic diagram of the subtask grouping process in the embodiment of the present application; Figure 6 This is a schematic diagram of an operation ticket in an embodiment of the present application; Figure 7It is a schematic diagram of an embodiment of a power operation task scheduling device based on hierarchical logic verification in an embodiment of the present application; Figure 8 This is a schematic diagram of an embodiment of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The embodiments of the present application provide a method, device, electronic device and storage medium for scheduling power operation tasks based on hierarchical logic verification, which greatly improves the efficiency of generating operation tickets and reduces the logic error rate between tasks in operation tickets.

[0028] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] The disclosed embodiments provide a method, device, electronic device and storage medium for scheduling power operation tasks based on hierarchical logic verification, which are mainly used in a one-key sequential control system of a substation to realize automatic operation ticket generation and control of the power equipment to be operated in the substation.

[0030] It is understandable that the execution subject of the present application can be a power operation task scheduling device based on hierarchical logic verification, or a terminal or a server, which is not limited here. The embodiment of the present application is described by taking the server as the execution subject as an example.

[0031] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the power operation task scheduling method based on hierarchical logic verification in the embodiment of the present application includes: S1. upon receiving a task call command, determining a number of target subtasks to be scheduled and the control type of the target subtasks according to the task call command; Each target subtask has a preset calling sequence, and the control type includes a sequential control type and a parallel control type. Based on the calling sequence of the target subtasks, target subtasks with adjacent calling sequences and the same control type can be divided into the same group.

[0032] In this embodiment, the target subtask can be pre-built or built based on a task call command. Optionally, after the corresponding target subtask is built for each line in the substation, it is detected whether the task call command of the task is received. If it is detected, the command is parsed to extract the type of task carried therein and the control type set for the task, and then the control type of the corresponding task is set based on the extracted control type, and the control type is a sequential control type or a parallel control type.

[0033] In actual applications, the task calling command is a task calling command constructed by a command script after the user sets the subtask type and the subtask control type in the scheduling interface, and is sent to a server or a device that performs scheduling control.

[0034] Specifically, the task calling command can be a task calling command for a single subtask or a task calling command for multiple subtasks; when scheduling multiple subtasks, the command can be set to carry multiple subtask types (such as line grounding, power supply, etc.), the number of subtasks of each subtask type and the control type of each subtask; of course, the control type can correspond to one subtask type or one subtask.

[0035] Based on the subtask type, one of the multiple subtasks is matched in turn as the target subtask, and the corresponding control type is configured, and then the next subtask is selected and the configuration is completed until the number of subtasks corresponding to the command is completed.

[0036] In this embodiment, before receiving the task calling command, it also includes acquiring the equipment information of each power device in the substation, and constructing at least one subtask according to the equipment information of each power device.

[0037] Among them, there are multiple lines in the substation, and each line has multiple power equipment, which includes circuit breakers, switches, trolleys, grounding switches, etc. A communication module is provided on each power equipment, and the communication module can interact with the central console through the Internet of Things, the Internet, near field, etc., so that the central console (that is, the server) can collect the real-time status of each power equipment.

[0038] Furthermore, various parameters of the power equipment can be collected in real time, and then after the equipment information of each power equipment in the substation is collected, a subtask is constructed, wherein the subtask contains multiple power equipment on the same line; that is, when constructing a subtask, the subtask is constructed according to the rule of one line and one subtask, and specifically, the multiple collected power equipment are divided according to the line, that is, the power equipment connected to the same line is classified into one category, and then multiple equipment sets are obtained; based on the equipment information of the power equipment in each equipment set, the power equipment in the set is sorted in sequence according to the order of equipment switching and the constraints between each other to obtain the corresponding subtask.

[0039] Specifically, the acquiring of equipment information of each power device in the substation and constructing at least one subtask according to the equipment information of each power device includes: Obtaining the operation mode, operation condition, operation item and target state of each power equipment in the substation; The power equipment is classified according to the line, and the power equipment in the same line is combined and sorted based on the association between the operation mode, the operation condition, the operation item and the target state to obtain corresponding subtasks.

[0040] The subtask construction here actually builds the content of the subtask, which includes: interval name (such as 101 interval), operation mode, operation item, operation condition, and target state, among which: Operation mode: such as operation to cold standby, cold standby to maintenance, etc.; Operation item: operation steps for specific equipment within the interval; Operation conditions: For an operation item, what conditions must be met to call the operation item; Target status: For an operation item, reaching a target is considered as the completion of the operation item.

[0041] S2. According to the preset multi-task scheduling logic and the control type of each target subtask, each target subtask is sequentially subjected to single-task logic verification, group logic verification and whole-ticket logic verification to obtain verification results, wherein the group logic verification refers to the group-level verification of several target subtasks of the same group that are continuously called and have the same control type; In this embodiment, during the verification process, it can be grouping first and then verification, or verification first and then grouping. Specifically, the target subtasks are first grouped based on the control type, and after the grouping is completed, the single task logic, grouping logic and whole ticket logic are verified for the target subtasks in each group according to the preset multi-task scheduling logic to obtain the verification result; or, according to the preset multi-task scheduling logic and the control type of each target subtask, the corresponding target subtask is first verified by single task logic, and after the verification passes, the target subtasks are grouped, the grouping logic is verified and the whole ticket logic is verified in sequence to obtain the verification result.

[0042] When the target subtasks are grouped, the allocation may be achieved by defining and setting the control type of the target subtasks, or the classification may be based on the control type set when constructing each target subtask.

[0043] In practical applications, each target subtask that needs to be scheduled is classified by judging the control type in turn. First, it is determined whether the target subtask is the first task. If so, a new group is created. If not, a group with a matching control type is selected from the historical groupings, where the historical grouping refers to the grouping data that existed at the previous moment.

[0044] In this embodiment, after determining the target subtask and the control type of the target subtask based on the task call command, a logic check is performed on each target subtask, and the logic check includes at least three levels of logic checks, namely, subtask logic check, task group logic check and whole ticket logic check; the execution sequence of the subtask is constructed based on the results of the check. That is, firstly, a subtask logic check is performed on all target subtasks in each group, and after all the checks are passed, a task group logic check is performed on each group, and after all the groups are checked, a whole ticket logic check is performed, wherein, in addition to the check of the group itself, the group check also includes the check between groups, which can be a parallel control check or a sequential control check. Optionally, for the three-level check, it can be that each time a subtask is called, a single task check is performed on the task, each time a group is completed, a group check is performed on the group, and after all subtasks have completed the grouping and the group check has passed, the whole ticket check is performed.

[0045] In actual application, during the logic verification process, the number of target subtasks to be called is first determined. If it is one, the target subtask is subjected to subtask logic verification and whole ticket logic verification in sequence. If it is more than two, each target subtask is subjected to subtask logic verification, and a task sequence is constructed for all target subtasks that meet the verification. Then, each target subtask in the task sequence is grouped and the group logic verification is performed after the grouping. After all target subtasks in the task sequence meet the group verification, the whole ticket logic verification is performed on the entire task sequence. Finally, step S3 is executed based on the result of the whole ticket logic verification.

[0046] S3. Generate a corresponding operation ticket according to the verification result, and execute the operation ticket to dispatch each power equipment in the substation.

[0047] The verification result includes the subtask verification result, the group verification result and the whole ticket verification result. After the target subtask is verified, the target subtask that meets the verification logic is selected based on the verification result to output a task sequence, and then each target subtask in the task sequence is divided into multiple groups based on the group verification result, and the groups are sorted in order based on the logical association between the target tasks, and finally the operation ticket is output. The output operation ticket is output after the whole ticket verification passes in the verification result.

[0048] In the embodiment of the present application, after performing a hierarchical logic check on the scheduling process of the entire task, automatic grouping and combination of sequential control and parallel control of subtasks are implemented based on the check results, and operation tickets are output based on the combined subtasks. This not only realizes the automatic generation function of operation tickets, but also ensures the safety of multi-interval mixed control, shortens the maintenance time for subsequent station-wide power outages and bus switching maintenance operations, improves the efficiency of operation ticket generation and the work efficiency of operation and maintenance personnel, and the hierarchical logic check also avoids logical errors caused by artificially constructed operation tickets.

[0049] See also Figure 2 Another embodiment of the power operation task scheduling method based on hierarchical logic verification in the embodiment of the present application includes: S201, obtaining equipment information of each power device in the substation, and constructing at least one subtask according to the equipment information of each power device; Specifically, the operating mode (such as from the original state to the target state), operating conditions, operating items and target state of each power equipment in the substation are obtained; each power equipment is classified according to the line, and based on the association between the operating mode, the operating conditions, the operating items and the target state, the power equipment in the same line is combined and sorted to obtain the corresponding subtask.

[0050] Among them, the operation mode of the power equipment can be understood as the working state of the equipment, such as the original state and the target state, etc. The operating conditions are the constraints for the switching of the power equipment, and the target state is the switching state of the equipment.

[0051] After collecting the operating mode, operating conditions and original state of each power device, first divide each power device into multiple categories, each category corresponds to a line, and then determine the execution logic relationship between each power device based on the operating mode, operating conditions, execution interval and original state of each power device in each line, that is, the linkage relationship between each power device and the corresponding state switching relationship. Based on the linkage relationship and the state, determine the control order of each power device and the interval between each two power devices executed successively, so as to obtain the corresponding subtask, and execute step 202 until the creation of subtasks is completed for each line.

[0052] S202, constructing an operation task set based on at least one subtask; As an example but not limitation, the operation task set can be understood as a set obtained after the mutual relationship between each subtask, that is, when one of the subtasks is executed, other subtasks associated with the subtask also need to be executed. Based on such a linkage execution relationship, all constructed subtasks are divided into at least one operation task set. In subsequent task calls, other related subtasks can be quickly called based on any subtask to generate a completed operation ticket.

[0053] In this embodiment, after constructing corresponding subtasks for all lines of the substation, the execution association relationship between all generated subtasks is determined by creating an operation task set command; based on the execution association relationship, all subtasks are divided into multiple sets and entered into the corresponding operation task set.

[0054] In actual applications, multiple operation task sets are first preset, and then a subtask set is randomly selected from all the constructed subtasks and entered into the operation task set. That is, each operation task set is first assigned a subtask, and then the linkage relationship between the current subtask and other subtasks is determined based on the operating conditions of the assigned subtask, and the subtasks with a linkage relationship are selected and entered into the corresponding operation task set.

[0055] S203, when receiving the task calling command, determining a number of target subtasks to be scheduled and the control type of the target subtask according to the task calling command; In this embodiment, the user sets the subtask to be called and the control type corresponding to the subtask through the scheduling interface. The control type includes sequential control and parallel control. After setting the task call command, the subtask can be called directly through the task call command, or the operation task set can be called.

[0056] If a subtask is called directly, a corresponding target subtask is matched directly from at least one subtask based on the task calling command, and a control type of the target subtask is configured.

[0057] When calling an operation task set, the operation task set is called based on the task calling command, a target subtask matching the task calling command is selected from the operation task set, and a control type of the target subtask is configured.

[0058] In practical applications, the target subtasks are actually selected manually, and the control type of the target subtasks is also set manually, that is, each target subtask can be executed in a sequential control or parallel control manner. This control type is mainly used for subsequent subtask grouping verification.

[0059] S204, based on the preset subtask verification logic, verify the legitimacy and equipment operation logic of the power equipment in the target subtask; In this embodiment, the equipment operation sequence of the target subtask is determined based on the operating conditions, execution intervals and control types of each power equipment in the target subtask; based on the preset interval and the first logical relationship of the line switching operation, the real-time status of each power equipment and the equipment operation sequence are verified to obtain the verification result.

[0060] In actual applications, the subtask is an operation task of a single interval. When adding a subtask, it will be verified according to the running state of the current interval. The verification content includes the following steps: a) Whether the subtask source state is consistent with the current interval operation mode; b) The legality of the subtask call, whether the subtask is in the verified state of the sequence control ticket, whether the subtask is occupied by other tasks, etc.

[0061] The verification of legality is actually to check whether the call of each target subtask itself is legal or whether the target subtask meets the execution conditions when it is executed. For example, if the target subtask is an operation on the interval, such as the 101 interval is changed from the maintenance state to the cold standby state, it is determined whether the line is currently in the grounded state. If so, it is determined that the execution of the target subtask is legal, otherwise it is illegal. It should be noted that when the equipment is in the maintenance state, the line should be grounded; when the equipment is in the cold standby state, the equipment should not be grounded, and the initial condition when the maintenance state is changed to the cold standby state is that the equipment is grounded. When the equipment is grounded, it is determined that the execution is legal, that is, the target subtask can be executed to disconnect the ground.

[0062] The verification of the equipment operation logic is to check whether the operating conditions and status of each equipment in the target subtask match the current operating conditions and working status of the line. It even includes the verification of the status and linkage logic between the equipment. For example, there are three power equipment in the target subtask, and the status of equipment 1 is in the grounded state, and equipment 2 and 3 are in the open circuit state. When closing equipment 2 and 3, equipment 1 must be switched to the open circuit state and then to the grounded state. If it is verified that the initial states of the three equipment in the target subtask are the above states, it is determined that the logic is satisfied, otherwise it is not satisfied.

[0063] S205: If all target subtasks satisfy the subtask verification logic, a grouping logic verification is performed on the target subtask based on the preset grouping verification logic and control type; After using the subtask verification logic to verify each subtask in the operation task set or each target subtask specified by the task call command, the target subtasks that meet the subtask verification logic are screened out based on the verification results and added to the task queue to be executed to obtain a task execution queue, in which there is no execution order relationship between the target subtasks in the queue.

[0064] Furthermore, when verifying that the target subtask satisfies the subtask verification logic, the target subtask is marked with a control type according to the configuration information of the control type of the target subtask in the task call command, and then a group with the same mark as the target subtask is queried from the historical records. If a group with the same mark exists in the history, the target subtask is added to the corresponding group. If a group with the same mark does not exist, a new group is created based on the target subtask, and the mark of the new group is set to the mark of the target subtask.

[0065] In actual applications, the historical record can be a historical group or a subtask called at the last moment, that is, the verification of the group verification logic is actually a process of grouping each called target subtask; The group verification is to verify the relevant subtasks according to the automatically generated group information, and the verification content includes: a) Check whether all subtasks in the current group have the same control type; b) Obtain the operation items and maximum number of execution steps of all subtasks in the group, and generate the group step sequence number; Extract multiple subtask operation items corresponding to each grouping step, and construct a single-step grouping operation item, that is, a subtask operation item controlled in parallel by each grouping step; According to the error prevention logic, each single-step grouping operation item contains multiple device operation items and a logic check is performed to check whether all devices corresponding to each single-step grouping operation item have a logical association. If there is no logical association, the grouping check passes; if there is a logical association, the grouping check fails.

[0066] Specifically, after determining that the target subtask B is called at the current moment t2 and that the target subtask B satisfies the verification logic of the subtask, a B1 mark is made based on the control type of the target subtask B, and then it is determined whether there is a subtask call at the previous moment t1 of t2, that is, whether there is a target subtask A. If not, the target subtask B is determined to be the first task, and a new group X is generated, and the new group X is set to be marked with B1. If the target subtask A exists, the marks of the target subtask A and the target subtask B are compared to see if they are both marked with B1. If so, it is determined that they are of the same control type, and the target subtask B is assigned to the group where the target subtask A is located. Otherwise, a new group is generated. Of course, if the control type is different from that of the target subtask A, a target subtask with the same control type can be further selected from the historical groupings until no more can be selected, and then a new group is generated.

[0067] After completing the grouping of all target subtasks to be called, sort the execution order of each target subtask in each group. If the control type is parallel control, directly set each target subtask in the group to be parallel. If the control type is sequential control, it is necessary to collect the operating conditions of each target subtask, and determine the execution order of each target subtask based on the operating conditions and the initial state of each target subtask.

[0068] Specifically, the target subtasks are grouped based on the control type to obtain an operation sequence, including: Determine whether the target subtask is the first task of the operation ticket; If it is not the first task, determining whether the control type of the target subtask is the same as the control type of the previous target subtask; If they are the same, then the target subtask is added to the group where the previous target subtask is located; If it is determined to be the first task or the control type is different from the previous target subtask, a new group is created based on the current target subtask; The target subtasks are grouped and verified based on a preset group verification logic.

[0069] In this embodiment, the group verification of the target subtasks based on the preset group verification logic includes: After all target subtasks are grouped, verify whether the control types of all subtasks in each group are consistent to obtain a first verification result; Based on the preset error prevention logic, logic verification is performed on the operation items of all target subtasks in each group to obtain a second verification result; A group verification result is output based on the first verification result and the second verification result.

[0070] The logic check is performed on the operation items of all target subtasks in each group based on the preset error prevention logic to obtain the second check result, including: If the control type is parallel control, determine the first error prevention logic of the parallel control, extract the operation items of each target subtask in each parallel control group, construct a parallel control operation item sequence, and use the first error prevention logic to perform a parallel control logic check on the parallel control operation item sequence to obtain a second check result; If the control type is sequential control, the second error prevention logic of the sequential control is determined, and the operation items of each target subtask in each sequential control group are extracted, and a sequence of sequential control operation items is constructed. The sequence of sequential control operation items is checked for sequential control logic using the second error prevention logic to obtain a second check result.

[0071] For example, extract multiple subtask operation items corresponding to each grouping step, and construct single-step grouping operation items (that is, subtask operation items controlled in parallel for each grouping step); perform logic verification on each single-step grouping operation item containing multiple device operation items according to the error prevention logic, and check whether there is a logical association between all devices corresponding to each single-step grouping operation item. If there is no logical association, the group verification passes, and if there is a logical association, the group verification fails.

[0072] S206. If the target subtask meets the group verification logic, determine whether all groups meet the preset whole ticket verification logic and obtain the verification result; The whole ticket verification is to verify the added whole ticket operation sequence based on the topological relationship and error prevention logic. The verification content includes: whether the whole ticket error prevention verification is met, whether all operation conditions are met, and whether the running status of all subtasks is legal.

[0073] After completing the grouping and group verification of all target subtasks specified by the task call command, obtain the operation conditions of each target subtask in each group, combine all the operation conditions into a condition combination, sort each group based on the condition combination, and obtain the operation task sequence. Of course, the sorting of each group can be determined by the calling time of each target subtask by the task call command.

[0074] After all groups are sorted, the task sequence of the operation ticket is obtained, and then the status of each target subtask in each group in the task sequence of the operation ticket is verified to verify whether the switching of its status meets the constraint conditions for switching to the target state, and the final output switching state of each group is calculated.

[0075] Then, the switching states finally output by each group are checked to see whether they meet the sequential control execution conditions of the group. If so, it is determined that the whole ticket logic is met, otherwise it is not met.

[0076] S207: Generate a corresponding operation ticket according to the verification result, and execute the operation ticket to dispatch each power equipment in the substation.

[0077] Specifically, the operation task sequence is converted into an operation ticket according to the result of the whole ticket verification. That is, after the whole ticket verification is passed, the controller and operation conditions of each target subtask in the operation task sequence are converted into an execution program, and the real-time parameters on each power equipment are collected, and the switching operation is performed after the real-time parameters meet the corresponding state switching conditions, thereby realizing automatic scheduling of the power equipment.

[0078] In the embodiment of the present application, the subtasks are subjected to subtask verification, group verification and whole ticket verification in sequence, and all subtasks are combined into one operation ticket based on the verification results. This method not only realizes the merging of subtasks, but also improves the recognition of the correlation between subtasks by utilizing multi-layer logical verification, thereby improving the efficiency of generating operation tickets and the accuracy of calling between tasks.

[0079] Based on the above-provided power operation task scheduling method, the following is explained in combination with a specific substation scenario as an example. The substation includes a one-button sequential control system and power equipment, wherein the one-button sequential control system is the executor of the power operation task scheduling method, and the power equipment is the control object of the task.

[0080] The one-button sequential control system includes: data acquisition module, task management module, logic processing module, task execution module, and control module; The data acquisition module is used to communicate with the acquisition device and the power equipment, obtain the original state of the power equipment, send control commands to the acquisition device and the power equipment, and receive the control execution results. The power equipment includes circuit breakers, switches, trolleys, grounding switches, etc.; the acquisition device can be a monitoring device such as a camera and a sensor.

[0081] The task management module is used to store user-preset subtasks (i.e. conventional single-interval sequential control tasks) and operation task sets, and automatically generate groups for all internal subtasks when the operation task set is preset. When grouping, all subtasks are identified according to the subtask operation sequence and control type, and subtasks with related sequences and consistent control types are included in the same group; the control type can be preset during the subtask call process, and the control type includes sequential execution and parallel execution; The subtask refers to the sequential control task of a single line interval, and the equipment control in a single line interval must be executed sequentially; the group consists of multiple subtasks and only the same control type is allowed in each group, and each operation task set can contain one or more groups; The logic processing module can be used to store the user's preset topological relationship, the built-in logic of the sequential control, and perform logic verification on the subtasks in the operation task set during the task call process based on the preset logic. The built-in verification steps include subtask verification, group verification, and whole ticket verification. Wherein, the subtask verification is to verify the operation mode of the generated single subtask and the operation sequence of any equipment based on the preset logical relationship of the interval and line switching operation; The group verification is based on the group verification logic to verify the automatically generated subtask grouping, and the verification content includes the interval under the same group, the logical association between devices, the consistency of control type, etc.; The whole ticket logic includes checking the operation conditions, execution order, operation mode conversion, etc. of the entire set of tasks to be operated; The task calling module is used to call and parse the single subtask or operation task set preset in the task management module to form the final operation sequence to be executed, that is, the sequential control operation ticket.

[0082] Based on this, the power operation task scheduling method based on hierarchical logic verification provided in this embodiment is to first set subtasks, and then schedule each subtask to be grouped according to the control type to output the whole ticket, such as Figure 3-5 As shown, the method comprises the following steps: S301, presetting subtasks, including operation mode, operation conditions, and target state; Specifically, the user sets subtasks on the corresponding configuration interface, takes the line as the task body, classifies the power equipment in the substation according to the line, and then configures the subtasks based on the operation mode, operating conditions and target status of all power equipment of each category. In the configuration process, it is first necessary to determine the interval duration and execution order between each power equipment, sort the power equipment according to the execution order, and set the start time point according to the interval duration to obtain the subtask.

[0083] In this embodiment, the process of configuring subtasks also includes configuring the operating mode, operating conditions, working status and other working parameters of each power device, and then the configuration interface calls the script based on the configured information to generate the logical relationship for execution.

[0084] S302, adding a new operation task set, and adding subtasks to the operation task set; After all subtasks are configured, an empty set is generated by triggering the operation task set creation instruction on the configuration interface, and then some subtasks are selected from all configured subtasks and added to the empty set to obtain the operation task set.

[0085] In actual applications, an empty set is set by creating an instruction. The empty set is set based on tasks, such as implementing switching operations and power outage maintenance. Based on the task, a matching one is selected from all subtasks as the target subtask and added to the operation task set. Then, subtasks matching or related to the task are selected from the remaining subtasks to be added. Of course, when continuing to add, it can also be recreated in the manner of step 301.

[0086] S303, start calling the operation task set; After all subtasks are divided into multiple operation task sets, at least one operation task set is selected for calling by means of a task calling command. Specifically, the task calling command is parsed, and based on the parsed information, a target subtask and setting information of the control type of the target subtask are selected from the operation task set. For example, subtask A is selected from the operation task set based on the task calling command, and the control type of subtask A is set to sequential control or parallel control.

[0087] S304, start subtask verification, the verification content includes task legitimacy and device operation logic; A subtask is randomly selected from the called operation task set as the target subtask (i.e., subtask A), and the output operation of the operation ticket is performed on the target subtask.

[0088] Specifically, the target subtask is first verified. This verification mainly verifies the information of the target subtask itself, including the verification of the working parameters of each power equipment in the target subtask, such as whether the initial state or the current state matches the currently implemented function, and whether the linkage relationship between the power equipment meets the operating conditions or safety requirements.

[0089] If the verification of the target subtask passes, the target subtask is added to the list of tasks to be executed, and a group verification is performed on the target subtask. The group verification specifically groups the target subtasks to generate task groups.

[0090] S305, when adding subtasks, synchronously generate task groups; After the verification of the target subtask (i.e., subtask A) is passed, the corresponding identifier is determined based on the control type, and then the subtask A is identified. For example, the identifier for sequential control is Q1, and the identifier for parallel control is Q2. After completing the identification, it is determined whether the task call command needs to continue to schedule subtasks or whether there are still subtasks to be called specified by the task call command. If so, the next subtask is selected for subtask verification until there is no need to continue calling the cooperative subtask and there are no subtasks to be scheduled. Tasks are grouped based on the identifiers of each subtask to obtain multiple task groups.

[0091] In this embodiment, if Figure 5 As shown, the subtasks are grouped as follows: Determine whether the target subtask is the first task of the operation ticket; If it is not the first task, determining whether the control type of the target subtask is the same as the control type of the previous target subtask; If they are the same, then the target subtask is added to the group where the previous target subtask is located; If it is determined to be the first task or the control type is different from the previous target subtask, a new group is created based on the current target subtask; The target subtasks are grouped and verified based on a preset group verification logic.

[0092] That is, when the subtask is the first task of the current sequential control operation ticket, a single new group is generated; continue to add subtasks, if the subtask has the same control type as the previous subtask, it is automatically included in the previous group; if the subtask has a different control type from the previous subtask, a single new group is generated; after the subtasks are added, all task groups have been generated.

[0093] S306, start group verification, the system verifies the task groups one by one and records the verification results. If the current group verification succeeds, the next group task verification is entered according to the calling sequence. If the current group verification fails, an abnormal prompt is popped up and the calling of the operation task is stopped; S307: After all group verifications are passed, the whole ticket verification is started to verify the execution order and operation mode conversion of the entire task set to be operated and record the verification results; S308: After the whole ticket verification is satisfied, the system starts to generate the sequence control operation ticket to be executed and displays it in the human-machine interface; S309: The operation task set is called successfully.

[0094] like Figure 6As shown, in the finally output operation ticket, groups 1 to n are in a sequential control relationship, and the subtasks in each group can be sequential control or parallel control. For example, type A subtasks 1-1 and type A subtask 1-1 in group 1 are sequential control, and type B subtasks 2-1, type B subtask 2-2, and type B subtask 2-3 in group 2 are parallel control. However, the same group can only have one control type.

[0095] For example, when it is necessary to issue an operation ticket for a 10kVI mother to be switched from maintenance to cold standby, the process includes: ① The staff receives the dispatching task (e.g. 10kVI bus switches from maintenance to cold standby); ② When the staff issues invoices in the system, they first call subtasks (e.g., X-line X interval changes from maintenance to cold standby), and each time a subtask is called, a subtask verification is performed. The verification content includes: Whether the original state of the subtask is consistent with the state of the current interval; The legality of subtask calling includes: whether the subtask is in a verified state (conforming to device logic, operating conditions, etc.), whether the subtask is occupied by other tasks, etc.

[0096] ③ When the control type of a subtask is different from that of the previous subtask, the subtasks with the same control type are grouped together and group verification is performed.

[0097] The group verification is to verify the relevant subtasks according to the automatically generated group information, and the verification content includes: a) Check whether all subtasks in the current group have the same control type; b) Obtain the operation items and maximum number of execution steps of all subtasks in the group, and generate the group step sequence number; Extract multiple subtask operation items corresponding to each grouping step, and construct a single-step grouping operation item (i.e., a subtask operation item controlled in parallel for each grouping step); According to the error prevention logic, each single-step grouping operation item contains multiple device operation items and a logic check is performed to check whether all devices corresponding to each single-step grouping operation item have a logical association. If there is no logical association, the grouping check passes; if there is a logical association, the grouping check fails.

[0098] ④After all subtasks have been called and subtask verification and group verification are successful, the whole ticket verification is performed; The whole ticket verification verifies the added whole ticket operation sequence based on the topological relationship and error prevention logic. The verification content includes: whether the whole ticket error prevention verification is satisfied, whether all operation conditions are satisfied, and whether the operation status of all subtasks is legal. The topological relationship can be understood as the operation sequence and association relationship of each device operation item, and the error prevention logic can be understood as the constraint relationship between the operation items and states in each device.

[0099] ⑤ Automatically generate operation tickets based on verification results; ⑥Execute the operation ticket.

[0100] In summary, by combining the preset sequential control subtasks into an operation task set, verification is performed based on single tasks, grouped tasks and the entire mixed control operation ticket when the operation task set is called, and the tasks to be operated are automatically generated according to the verification results, and a waiting operation ticket containing a one-key sequential control and parallel control combination is generated. The automatic ticket generation function for multi-interval and multi-control type operations is realized, and multi-layer logic verification is realized when the operation task set is called, ensuring the safety of multi-interval mixed control, reducing the time required for invoicing and calling individual subtasks one by one during station-wide power outages and bus switching maintenance operations, thereby improving the work efficiency of operation and maintenance personnel and saving manpower and time costs consumed in the power operation and maintenance switching process.

[0101] The above describes the method for scheduling power operation tasks based on hierarchical logic verification in the embodiment of the present application. The following describes the device for scheduling power operation tasks based on hierarchical logic verification in the embodiment of the present application. Figure 7 As shown, the device comprises: The determination module 710 is used to determine, when receiving a task call command, a number of target subtasks to be scheduled and the control type of the target subtask according to the task call command, wherein each target subtask has a preset call sequence, and the control type includes a sequential control type and a parallel control type. Based on the call sequence of the target subtasks, target subtasks with adjacent call sequences and the same control type can be divided into the same group; Verification module 720, used to perform single task logic verification, group logic verification and whole ticket logic verification on each target subtask in turn according to the preset multi-task scheduling logic and the control type of each target subtask, and obtain verification results, wherein the group logic verification refers to the group-level verification of several target subtasks of the same group that are called continuously and have the same control type; The dispatching module 730 is used to generate a corresponding operation ticket according to the verification result, and execute the operation ticket to dispatch each power equipment in the substation.

[0102] Optionally, the verification module 720 is specifically used for: The target subtasks are first grouped based on the control type, and after the grouping is completed, the target subtasks in each group are respectively subjected to single task logic verification, group logic verification and whole ticket logic verification according to the preset multi-task scheduling logic to obtain the verification results; or, According to the preset multi-task scheduling logic and the control type of each target subtask, the corresponding target subtask is first subjected to single-task logic verification. After the verification passes, the target subtask is grouped, group logic verified, and whole ticket logic verified in sequence to obtain the verification result.

[0103] Optionally, the verification module 720 includes: The first verification unit 7201 is used to verify the legitimacy and device operation logic of each power device in the target subtask based on a preset subtask verification logic when the task calling command is an instruction to schedule at least two subtasks; A second verification unit 7202 is configured to perform a grouping logic verification on the target subtask based on a preset grouping verification logic and the control type if the target subtask satisfies the subtask verification logic; The third verification unit 7203 is used to determine whether all groups meet the preset whole ticket verification logic when the target subtask meets the group verification logic, and obtain the verification result.

[0104] Optionally, the second verification unit 7202 is specifically configured to: After verifying that the subtask verification logic is satisfied, determining whether the target subtask is the first task of the operation ticket; If it is not the first task, determining whether the control type of the target subtask is the same as the control type of the previous target subtask; If they are the same, then the target subtask is added to the group where the previous target subtask is located; If it is determined to be the first task or the control type is different from that of the previous target subtask, a new group is created based on the current target subtask.

[0105] Optionally, the second verification unit 7202 is specifically configured to: After all target subtasks are grouped, verify whether the control types of all subtasks in each group are consistent to obtain a first verification result; Based on the preset error prevention logic, logic verification is performed on the operation items of all target subtasks in each group to obtain a second verification result; A group verification result is output based on the first verification result and the second verification result.

[0106] Optionally, the second verification unit 7202 is specifically configured to: If the control type is parallel control, determine the first error prevention logic of the parallel control, extract the operation items of each target subtask in each parallel control group, construct a parallel control operation item sequence, and use the first error prevention logic to perform a parallel control logic check on the parallel control operation item sequence to obtain a second check result; If the control type is sequential control, the second error prevention logic of the sequential control is determined, and the operation items of each target subtask in each sequential control group are extracted, and a sequence of sequential control operation items is constructed. The sequence of sequential control operation items is checked for sequential control logic using the second error prevention logic to obtain a second check result.

[0107] Optionally, the power operation task scheduling device further includes a collection module 740, which is used to: obtain equipment information of each power device in the substation, and construct at least one subtask according to the equipment information of each power device.

[0108] Optionally, the determining module 710 includes: A first determining unit 7101 is used to directly match a corresponding target subtask from all constructed subtasks based on the task calling command, and determine a control type of the target subtask; or, The second determining unit 7102 is configured to call an operation task set based on the task calling command, select a target subtask matching the task calling command from the operation task set, and determine a control type of the target subtask.

[0109] Optionally, the acquisition module 740 includes: The acquisition unit 7401 is used to obtain the operation mode, operation condition, execution interval, original state and target state of each power equipment in the substation; The classification unit 7402 is used to classify each power device according to the line, and set the operation mode, operation condition, execution interval, original state and target state of each power device in each line to generate corresponding subtasks.

[0110] Optionally, the acquisition module 740 further includes: an input unit 7403, specifically configured to: A command for creating an operation task set is obtained, and based on the task name in the operation task set command, all subtasks related to the task name in the generated subtasks are grouped together to obtain a corresponding operation task set.

[0111] The functional implementation of each module and each unit in the above-mentioned power operation task scheduling device based on hierarchical logic verification corresponds to the various steps in the above-mentioned power operation task scheduling method embodiment based on hierarchical logic verification, and their functions and implementation processes will not be repeated here one by one.

[0112] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned power operation task scheduling method based on hierarchical logic verification. The electronic device can be a server or a terminal device.

[0113] See also Figure 8 As shown, the electronic device includes a processor 800 and a memory 801, wherein the memory 801 stores machine executable instructions that can be executed by the processor 800, and the processor 800 executes the machine executable instructions to implement the power operation task scheduling method based on hierarchical logic verification provided in the above embodiment.

[0114] Further, Figure 8 The electronic device shown further includes a bus 802 and a communication interface 803 , and the processor 800 , the communication interface 803 and the memory 801 are connected via the bus 802 .

[0115] The memory 801 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 803 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 802 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0116] The processor 800 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 800. The above processor 800 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801, and the processor 800 reads the information in the memory 801, and completes the steps of the power operation task scheduling method based on hierarchical logic verification provided in the above embodiment in combination with its hardware.

[0117] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program runs on a computer, the computer executes the steps of the method for scheduling power operation tasks based on hierarchical logic verification provided in the above embodiment.

[0118] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several computer programs to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0120] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for scheduling power operation tasks based on hierarchical logic verification, applied to substations, characterized in that: The method comprises: When a task calling command is received, a number of target subtasks to be scheduled and the control type of the target subtasks are determined according to the task calling command, wherein each target subtask has a preset calling order, and the control type includes a sequential control type and a parallel control type. Based on the calling order of the target subtasks, target subtasks with adjacent calling orders and the same control type can be divided into the same group; According to the preset multi-task scheduling logic and the control type of each target subtask, each target subtask is sequentially subjected to single-task logic verification, group logic verification and whole-ticket logic verification to obtain verification results, wherein the group logic verification refers to a group-level verification of several target subtasks of the same group that are continuously called and have the same control type; A corresponding operation ticket is generated according to the verification result, and the operation ticket is executed to dispatch each power equipment in the substation.

2. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 1 is characterized in that: If the task call command is an instruction to schedule at least two subtasks, the single task logic check, group logic check and whole ticket logic check are performed on each of the target subtasks in sequence according to the preset multi-task scheduling logic and the control type of each of the target subtasks to obtain the check results, including: The target subtasks are first grouped based on the control type, and after the grouping is completed, the target subtasks in each group are respectively subjected to single task logic verification, group logic verification and whole ticket logic verification according to the preset multi-task scheduling logic to obtain the verification results; or, According to the preset multi-task scheduling logic and the control type of each target subtask, the corresponding target subtask is first subjected to single-task logic verification. After the verification passes, the target subtask is grouped, group logic verified, and whole ticket logic verified in sequence to obtain the verification result.

3. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 2 is characterized in that: According to the preset multi-task scheduling logic and the control type of each target subtask, the corresponding target subtask is first subjected to single-task logic verification, and after the verification is passed, the target subtask is grouped, group logic verification and whole ticket logic verification are performed in sequence to obtain the verification results, including: Based on the preset subtask verification logic, verify the legitimacy and equipment operation logic of the power equipment in the target subtask; If the target subtask satisfies the subtask verification logic, performing a grouping logic verification on the target subtask based on the preset grouping verification logic and the control type; If the target subtask meets the group verification logic, it is determined whether all groups meet the preset whole ticket verification logic to obtain the verification result.

4. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 3 is characterized in that: The performing grouping logic verification on the target subtask based on the preset grouping verification logic and the control type includes: Determine whether the target subtask is the first task of the operation ticket; If it is not the first task, determining whether the control type of the target subtask is the same as the control type of the previous target subtask; If they are the same, then the target subtask is added to the group where the previous target subtask is located; If it is determined to be the first task or the control type is different from the previous target subtask, a new group is created based on the current target subtask; The target subtasks are grouped and verified based on a preset group verification logic.

5. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 4 is characterized in that: The group verification of the target subtasks based on the preset group verification logic includes: After all target subtasks are grouped, verify whether the control types of all subtasks in each group are consistent to obtain a first verification result; Based on the preset error prevention logic, logic verification is performed on the operation items of all target subtasks in each group to obtain a second verification result; A group verification result is output based on the first verification result and the second verification result.

6. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 5, characterized in that: The logic check is performed on the operation items of all target subtasks in each group based on the preset error prevention logic to obtain a second check result, including: If the control type is parallel control, determine the first error prevention logic of the parallel control, extract the operation items of each target subtask in each parallel control group, construct a parallel control operation item sequence, and use the first error prevention logic to perform a parallel control logic check on the parallel control operation item sequence to obtain a second check result; If the control type is sequential control, the second error prevention logic of the sequential control is determined, and the operation items of each target subtask in each sequential control group are extracted, and a sequence of sequential control operation items is constructed. The sequence of sequential control operation items is checked for sequential control logic using the second error prevention logic to obtain a second check result.

7. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 1, characterized in that: Before receiving the task call command, it also includes: The device information of each electric power device in the substation is obtained, and at least one subtask is constructed according to the device information of each electric power device.

8. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 7, characterized in that: After acquiring the equipment information of each power device in the substation and constructing at least one subtask according to the equipment information of each power device, the method further includes: A command for creating an operation task set is obtained, and based on the task name in the operation task set command, all subtasks related to the task name in the generated subtasks are grouped together to obtain a corresponding operation task set.

9. The method for scheduling power operation tasks based on hierarchical logic verification according to claim 8, characterized in that: The step of determining a plurality of target subtasks to be scheduled and control types of the target subtasks according to the task calling command includes: Directly matching a corresponding target subtask from all constructed subtasks based on the task call command, and determining a control type of the target subtask; or, An operation task set is called based on the task calling command, a target subtask matching the task calling command is selected from the operation task set, and a control type of the target subtask is determined.

10. A power operation task scheduling device based on hierarchical logic verification, applied to a substation, characterized in that: The device comprises: A determination module, configured to determine, upon receiving a task call command, a number of target subtasks to be scheduled and control types of the target subtasks according to the task call command, wherein each target subtask has a preset call sequence, and the control type includes a sequential control type and a parallel control type. Based on the call sequence of the target subtasks, target subtasks with adjacent call sequences and the same control type can be divided into the same group; A verification module is used to perform single-task logic verification, group logic verification and whole-ticket logic verification on each target subtask in turn according to the preset multi-task scheduling logic and the control type of each target subtask to obtain a verification result, wherein the group logic verification refers to a group-level verification of several target subtasks of the same group that are called continuously and have the same control type; The dispatching module is used to generate a corresponding operation ticket according to the verification result, and execute the operation ticket to dispatch each power equipment in the substation.

11. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the power operation task scheduling method based on hierarchical logic verification as described in any one of claims 1-9.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for scheduling power operation tasks based on hierarchical logic verification as described in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Power dispatching plan decision-making system, method and device

    CN110782145A

  • Intelligent checking method, system and equipment for urban power grid dispatching operation ticket

    CN114520540A

  • Distribution network operation ticket multi-object checking method and related device

    CN114742663A

  • Logistics vehicle management method and device, equipment, storage medium and program product

    CN118365233A

  • Control system and method for operating a system

    US20210286335A1