Identification method and identification device for operation order error and power grid management system
By screening and keyword extraction of the data of the power grid operation tickets, and multi-dimensional verification is carried out, error filling and execution problems caused by manual operations are solved, automatic verification is achieved, and the safety and management efficiency of the power grid are improved.
Patent Information
- Application Number
- CN202411577476.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-01-14
AI Technical Summary
The filling and execution of existing power grid dispatching operation tickets mainly rely on manual operations, which leads to high difficulty in filling and execution of incorrect power grids, and cannot be effectively supervised and automated, affecting the safe and stable operation of the power grid.
By obtaining operation ticket data, filtering and extracting keywords, and performing multi-dimensional verification, including operation sequence, execution and object verification, we automatically identify violations in operation tickets, and realize automatic verification of operation tickets.
It improves the accuracy and efficiency of error identification of operation tickets, reduces the risk of violations, ensures the safety and stability of the power grid, and improves the intelligence level of power grid management.
Smart Images

Figure CN119312805A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to an operation ticket error identification method, an identification device, a computer-readable storage medium and a power grid management system. Background Art
[0002] In recent years, as the coverage of power grids continues to expand, the operational reliability requirements of power grids continue to increase, and the complexity of power grids has gradually increased, which has put forward higher requirements for the dispatching management of power grids. In power grid dispatching management, power system dispatchers need to use dispatching operation tickets in accordance with dispatching regulations to operate the power grid when performing dispatching operations. The correctness of the dispatching operation ticket is directly related to the operation of the power grid. Therefore, in the dispatching operation, the dispatcher needs to correctly fill in and execute the dispatching operation ticket. Once the dispatching operation ticket is violated, it may affect the safety and stability of the power grid operation.
[0003] At present, the filling and execution process of the dispatching operation ticket mainly relies on the manual operation of the dispatcher, which has the following problems:
[0004] First, the filling and execution process of the dispatching operation ticket mainly relies on the manual operation of the dispatcher, which is difficult to execute. It is easy for the dispatcher to make mistakes when filling in the dispatching operation ticket or when executing the dispatching operation ticket, resulting in incorrect filling and execution of the dispatching operation ticket, posing a hidden danger to the safe and stable operation of the power grid.
[0005] Second, since the filling and execution of the power grid dispatching operation ticket is manually performed by the dispatcher, the filling and execution process of the dispatching operation ticket cannot be effectively supervised, and errors in the dispatching operation ticket cannot be identified.
[0006] Third, the filling and execution process of the power grid dispatching operation ticket mainly relies on the manual operation of the dispatcher, and the automatic filling and execution of the dispatching operation ticket cannot be realized, which makes the filling and execution process of the power grid dispatching operation ticket inefficient and the automatic filling and execution of the power grid dispatching operation ticket cannot be realized.
[0007] To sum up, the filling and execution process of the existing power grid dispatching operation ticket mainly relies on the manual operation of the dispatcher, which is difficult to execute. It is easy for the dispatcher to make mistakes when filling in the dispatching operation ticket or when executing the dispatching operation ticket, resulting in incorrect filling and execution of the dispatching operation ticket, which brings hidden dangers to the safe and stable operation of the power grid; and the filling and execution process of the existing power grid dispatching operation ticket cannot be effectively supervised, and the errors in the dispatching operation ticket cannot be identified. At the same time, the automatic filling and execution of the dispatching operation ticket cannot be realized, which makes the filling and execution process of the power grid dispatching operation ticket inefficient. Summary of the invention
[0008] The main purpose of the present application is to provide a method for identifying operation ticket errors, an identification device, a computer-readable storage medium and a power grid management system, so as to at least solve the problem of low efficiency in the prior art of manually verifying the data of the operation ticket.
[0009] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for identifying operation ticket errors is provided, including: acquiring operation ticket data to obtain first operation ticket data, the operation ticket data at least including operation status, operation task and operation content, and the operation content at least including operation object, operation steps and operation sequence; screening the first operation ticket data based on the operation status to obtain second operation ticket data; performing keyword extraction based on the operation content and operation task of the second operation ticket data to obtain a first target vocabulary, performing operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, operation task and operation content of the second operation ticket data respectively; if any one of the operation sequence verification, operation execution verification and operation object verification fails, it is determined that there is a violation in the operation ticket.
[0010] Optionally, obtaining the operation ticket data to obtain the first operation ticket data includes: obtaining a target path, where the target path is an absolute path corresponding to the operation ticket data storage; and grabbing the operation ticket data from the power grid management platform based on the target path to obtain the first operation ticket data.
[0011] Optionally, the first operation ticket data is filtered based on the operation status to obtain the second operation ticket data, including: traversing the first operation ticket data, and when the operation status of the first operation ticket data is generated and / or archived, determining the first operation ticket data as the second operation ticket data.
[0012] Optionally, before performing keyword extraction based on the operation content and operation task to obtain the first target vocabulary, the method also includes: determining a corresponding first preset set based on the operation task in the second operation ticket data, the first preset set containing a first preset vocabulary corresponding to the operation task; performing a filtering operation on each second operation ticket data based on the first preset vocabulary, the filtering operation being used to filter out the first preset vocabulary in the second operation ticket data.
[0013] Optionally, an operation sequence verification is performed based on the first target vocabulary, the operation task and the operation content, including: if the first target vocabulary corresponding to the operation task contains the second preset vocabulary, the first target vocabulary corresponding to the operation content contains the third preset vocabulary and the fourth preset vocabulary, and the order is that the third preset vocabulary is before the fourth preset vocabulary, then it is determined that the operation sequence verification fails; if the first target vocabulary corresponding to the operation task contains the fifth preset vocabulary, the first target vocabulary corresponding to the operation content contains the sixth preset vocabulary and the seventh preset vocabulary, and the order is that the seventh preset vocabulary is before the sixth preset vocabulary, then it is determined that the operation sequence verification fails; if the first target vocabulary corresponding to the operation task contains the eighth preset vocabulary, the first target vocabulary corresponding to the operation content contains the ninth preset vocabulary and the tenth preset vocabulary, and the order is that the ninth preset vocabulary is before the tenth preset vocabulary, then it is determined that the operation sequence verification fails.
[0014] Optionally, an operation execution verification is performed based on the first target vocabulary, the operation task and the operation content, including: if the first target vocabulary corresponding to the operation task includes the eleventh preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twelfth preset vocabulary, the thirteenth preset vocabulary or the fourteenth preset vocabulary, then it is determined that the operation execution verification fails; if the first target vocabulary corresponding to the operation task includes the fifteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the sixteenth preset vocabulary, the seventeenth preset vocabulary and the eighteenth preset vocabulary, then it is determined that the operation execution verification fails; if the first target vocabulary corresponding to the operation task includes the nineteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twentieth preset vocabulary and the twenty-first preset vocabulary, then it is determined that the operation execution verification fails.
[0015] Optionally, operation object verification is performed based on the first target vocabulary, operation task and operation content respectively, including: if the first target vocabulary corresponding to the operation content contains any one or more words in the preset phrase, then verifying that the operation object of the operation step to which the first target vocabulary belongs is different from the operation object in the next operation step, then determining that the operation object verification fails.
[0016] According to another aspect of the present application, a device for identifying operation ticket errors is provided, and the device includes: a first acquisition unit, used to acquire operation ticket data to obtain first operation ticket data; a first filtering unit, used to filter the first operation ticket data based on the operation status to obtain second operation ticket data; a second filtering unit, used to extract keywords from the second operation ticket data based on the operation content and the operation task to obtain a first target vocabulary, and perform operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, operation task and operation content of the second operation ticket data respectively; a first determination unit, used to determine that there is a violation in the operation ticket when any one of the operation sequence verification, operation execution verification and operation object verification fails.
[0017] According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute any one of the described methods.
[0018] According to another aspect of the present application, a power grid management system is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods.
[0019] By applying the technical solution of this application, the accuracy and efficiency of operation ticket error identification are effectively improved through precise keyword extraction and multi-dimensional verification mechanism. The system can automatically screen, filter and verify operation tickets, avoiding the tediousness and omissions of manual review, significantly reducing the risk of violations in power grid operation, and ensuring the safety and stability of power grid operation. In practical applications, the system greatly reduces the time required for operation ticket review, improves the level of intelligent power grid management, and provides strong technical support for the efficient and safe operation of the power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of a flow chart of a method for identifying an operation ticket error provided according to an embodiment of the present application is shown;
[0021] Figure 2 A structural block diagram of an operation ticket error identification device provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] As introduced in the background technology, the filling and execution process of the existing power grid dispatching operation ticket cannot be effectively supervised, and it is impossible to identify errors in the dispatching operation ticket. In order to solve the problem of low efficiency in the prior art of manually verifying the data of the operation ticket, the embodiments of the present application provide an operation ticket error identification method, identification device, computer-readable storage medium and power grid management system.
[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0027] In this embodiment, a method for identifying operation ticket errors running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0028] Figure 1 1 is a flow chart of a method for identifying an operation ticket error according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0029] Step S201, obtaining operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task and an operation content, and the operation content at least includes an operation object, an operation step and an operation sequence;
[0030] Specifically, the operation ticket data is obtained. The operation ticket is the written basis for executing power outage operations on transformers, lines and other equipment in the power system. It contains information such as operation status (such as generated, archived), operation tasks (such as switching from operation to maintenance), and operation content (such as operation objects, operation steps and operation sequence).
[0031] First, obtain this data from the safe production application module of the power grid management platform to ensure the integrity and accuracy of the data.
[0032] In one embodiment, the above operation ticket data may be as follows:
[0033] Operation status: Archived;
[0034] Operational tasks: The line is switched from maintenance to operation;
[0035] Operation object: T11 switch and T12 knife switch;
[0036] Operation steps: Close the T11 switch; Close the T12 switch;
[0037] Operation sequence: close the switch first, then close the knife switch.
[0038] Step S202, filtering the first operation ticket data based on the operation status to obtain second operation ticket data;
[0039] Specifically, the operation status-based screening selects the operation ticket data that meets the current analysis requirements, i.e., the second operation ticket data, according to the operation status of the operation ticket (generated, archived). This step ensures that the scope of the analysis is the executed or completed operation tickets, and excludes the unexecuted tickets, so as to more accurately identify the violation phenomenon.
[0040] Step S203, performing keyword extraction based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and performing operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data;
[0041] Specifically, keyword extraction and verification extracts first target words from the operation content and operation task, and then verifies the operation sequence, operation execution and operation object based on these words.
[0042] Operation sequence verification: Check whether the sequence of operation steps complies with safety regulations and operation logic. For example, when the operation task is "the line switches from operation to maintenance", the knife switch on the load side should be operated first, and then the knife switch on the power supply side.
[0043] Operation execution verification: Ensure that the operation verb (such as close, open) matches the operation task to prevent misoperation. For example, if the operation task is "the main transformer switches from maintenance to operation", the operation item cannot contain the command of "open" or "disconnect" the switch or knife switch (except for the special 500 switch or 550 switch).
[0044] Operation object verification: Check whether the equipment names involved in the operation steps are correct and whether the equipment status is consistent with the operation task. For example, when the operation task is "the line switches from maintenance to operation", the operation of closing the grounding switch or installing the grounding wire should not occur.
[0045] Step S204: if any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that there is a violation in the operation ticket.
[0046] Specifically, if any one of the operation sequence verification, operation execution verification and operation object verification fails, it is determined that the operation ticket has a violation.
[0047] In summary, through this series of steps and verifications, it is possible to effectively identify and prevent violations in power system operations, and improve the accuracy and safety of operations. Through this method, power grid operators can quickly and accurately identify errors in operation tickets, avoid power grid failures caused by improper operation sequence, omission of execution steps, or wrong operation objects, and improve the safety and efficiency of power grid operations.
[0048] Through this embodiment, first, the operation ticket data is obtained to obtain the first operation ticket data, the operation ticket data at least includes the operation state, the operation task and the operation content, the operation content at least includes the operation object, the operation steps and the operation sequence; then, based on the operation state, the first operation ticket data is screened to obtain the second operation ticket data; thereafter, based on the operation content and the operation task of the second operation ticket data, the keyword extraction is performed to obtain the first target vocabulary, and the operation sequence verification, the operation execution verification and the operation object verification are performed based on the first target vocabulary, the operation task and the operation content of the second operation ticket data respectively; finally, in the case where any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that the operation ticket has a violation. The present application realizes automatic verification of the operation ticket by extracting the keywords in the operation ticket and performing operation sequence verification, operation execution verification and operation object verification based on the extracted keywords to determine whether the operation ticket has an error, thereby solving the problem of low efficiency in the prior art of manually verifying the data of the operation ticket.
[0049] In order to obtain the above operation ticket data, in an optional implementation, the above step S201 includes:
[0050] Step S2011, obtaining a target path, the target path being the absolute path corresponding to the storage of the operation ticket data;
[0051] Specifically, in the information system of power enterprises, such as the power grid management platform, data is usually stored in a specific folder or database, and each data set has its corresponding absolute path. The absolute path refers to the complete path from the root directory to the file or folder, which can uniquely determine the location of the file in the system.
[0052] In one embodiment, assuming that the operation ticket data is stored in the path " / root / safety_production / operation_management / work_order / operation_tickets", the absolute path is obtained in the above steps.
[0053] Step S2012: based on the target path, the operation ticket data is captured from the power grid management platform to obtain the first operation ticket data.
[0054] Specifically, after obtaining the above target path, the operation ticket data can be obtained from the power grid management platform using data crawling technology to obtain the first operation ticket data. This usually involves writing scripts or using data crawling tools, such as Python's Scrapy framework, SQL query statements, etc., to access and extract the data stored in the target path. The purpose of data crawling is for subsequent analysis and verification.
[0055] This method simplifies the data acquisition process, ensures the integrity and real-time nature of the data, is suitable for the automatic capture and processing of large-scale power grid operation ticket data, and provides a solid data foundation for subsequent error identification.
[0056] In order to obtain the second operation ticket data, in an optional implementation, the step S202 includes:
[0057] Step S2021, traverse the first operation ticket data, and when the operation status of the first operation ticket data is generated and / or archived, determine the first operation ticket data as the second operation ticket data.
[0058] Specifically, after the operation ticket data is obtained, it usually contains operation tickets of various states, such as "new", "generated", "executing", "archived", etc. In order to ensure that the operation ticket analyzed is a completed or executable operation ticket, it is necessary to first traverse the first operation ticket data, that is, check the status of each operation ticket.
[0059] Filter the second operation ticket data: When traversing the operation ticket data, only the operation tickets with the operation status of "generated" and / or "archived" are retained. The operation tickets in these states mean that they have been written or executed and are valid objects for violation inspection.
[0060] In the specific implementation, 100 operation ticket data are obtained from the power grid management platform, which include operation tickets of different statuses, such as "new", "generated", "archived", etc.
[0061] Among the 100 operation ticket data, 30 are in the "generated" state, 50 are in the "archived" state, and the remaining 20 are in the "new" or "executing" state. During the traversal process, we only retained these 80 operation tickets, that is, they were identified as the second operation ticket data for subsequent analysis and inspection.
[0062] Through status filtering, you can focus on generated or archived operation tickets, avoid incorrect identification of invalid or incomplete operation tickets, and improve the targetedness and efficiency of identification.
[0063] In order to reduce the possibility of error, in an optional implementation, before extracting keywords based on the operation content and the operation task to obtain the first target vocabulary, the method further includes:
[0064] Step S301, based on the operation task in the second operation ticket data, determining a corresponding first preset set, wherein the first preset set includes a first preset vocabulary corresponding to the operation task;
[0065] Specifically, before starting keyword extraction, a first preset set needs to be determined according to the type of operation task, and this set includes specific words related to the operation task. For example, if the operation task involves "main transformer switching from maintenance to operation", the preset set may include words such as "500 switch", "550 switch", etc., because these devices need to be treated specially under certain conditions, for example, their closing operation is allowed in the operation task.
[0066] In the specific implementation, if the operation task contains "main transformer operation" and the operation item contains the keyword "500 switch" or "550 switch", it is necessary to filter. When verifying the operation ticket with grounding wire (grounding knife switch) and switch (knife switch), it is necessary to exclude the situation where the previous item contains "neutral point", "switch side", "CT side" and "PT side". When verifying the operation object of the operation ticket, it is necessary to filter out the operation item that contains "verify *there is no voltage" and the next operation item contains "pull open *knife switch". This operation item contains "verify *there is no voltage" and the next operation item contains "close *knife switch". The operation item contains "dismantle *at *". The operation item contains "signboard *at *insulating baffle". The operation item contains "dispatching *remote control" and so on. The above keywords and sentences constitute the above-mentioned first preset set.
[0067] Step S302: performing a filtering operation on each of the second operation ticket data based on the first preset vocabulary, wherein the filtering operation is used to filter out the first preset vocabulary in the second operation ticket data.
[0068] Specifically, based on the first preset vocabulary, filtering operations are performed. After the first preset set is determined, filtering operations need to be performed on the second operation ticket data, in order to exclude those words that have special meanings under specific operation tasks, so as to avoid false alarms in subsequent keyword extraction and violation inspections.
[0069] In the specific implementation, in the above-mentioned operation task of "switching the main transformer from maintenance to operation", we filtered out all operation items containing "close the switch" or "close the knife switch" from the second operation ticket data, but because "500 switch" and "550 switch" are words in the first preset set, their closing operations are compliant in the task. Therefore, before keyword extraction, we exclude the operation items containing these words from the data.
[0070] This preset vocabulary filtering mechanism can effectively exclude words that are not related to the operation task, reduce the complexity of keyword extraction, improve the accuracy and speed of recognition, and is suitable for standardized processing of various power grid operation tasks.
[0071] In order to verify the operation sequence, in an optional implementation, the above step S203 includes:
[0072] Step S2031, if the first target vocabulary corresponding to the operation task includes the second preset vocabulary, and the first target vocabulary corresponding to the operation content includes the third preset vocabulary and the fourth preset vocabulary, and the third preset vocabulary is before the fourth preset vocabulary, then it is determined that the operation sequence verification fails;
[0073] The operation sequence of the operation ticket is an important guarantee for the safety of power system operation. The wrong operation sequence may cause equipment damage, personal injury or even power grid accidents. By matching and sequentially checking the keywords of the operation tasks and operation contents in the operation ticket, it is possible to effectively verify whether the operation sequence is correct. The specific logic is as follows:
[0074] If the operation task includes a specific second preset word, and the corresponding operation steps in the operation content are in a sequence of the third preset word before the fourth preset word, the operation sequence verification fails.
[0075] For example, if the operation task is "**Change from operation to maintenance", the preset words are "pull open" **T*1 switch" and "pull open" **T*2 switch", and the normal order should be "pull open" **T*2 switch" (the fourth preset word) first, and then "pull open" **T*1 switch" (the third preset word). If the operation order is reversed, the operation order verification fails.
[0076] Step S2032, if the first target vocabulary corresponding to the operation task includes the fifth preset vocabulary, and the first target vocabulary corresponding to the operation content includes the sixth preset vocabulary and the seventh preset vocabulary, and the seventh preset vocabulary is before the sixth preset vocabulary, then it is determined that the operation sequence verification fails;
[0077] If the operation task includes a specific fifth preset word, and the corresponding operation steps in the operation content are in a sequence of the seventh preset word before the sixth preset word, the operation sequence verification fails.
[0078] For example, if the operation task is "**Change from maintenance to operation" and "voltage level is less than 110kV", the preset words are "Close" "**T12 switch" and "Close" "**T11 switch", and the normal order should be "Close" "**T11 switch" (the sixth preset word) first, and then "Close" "**T12 switch" (the seventh preset word). If the operation order is reversed, the operation order verification fails.
[0079] Step S2033, if the first target vocabulary corresponding to the operation task includes the eighth preset vocabulary, and the first target vocabulary corresponding to the operation content includes the ninth preset vocabulary and the tenth preset vocabulary, and the ninth preset vocabulary is before the tenth preset vocabulary, then it is determined that the operation sequence verification fails.
[0080] If the operation task includes a specific eighth preset word, and the sequence of corresponding operation steps in the operation content is that the ninth preset word is before the tenth preset word, the operation sequence verification fails.
[0081] For example, if the operation task is "** transfer power supply to **", the preset words are "pull open" "**T11 switch" and "pull open" "**T12 switch", and the normal order should be "pull open" "**T12 switch" (the tenth preset word) first, and then "pull open" "**T11 switch" (the ninth preset word). If the operation order is reversed, the operation order verification fails.
[0082] Through the sequential verification of preset words, the logic and rationality of the operation steps in the operation ticket can be ensured, and power grid accidents caused by incorrect operation sequence can be avoided. It is suitable for the refined management and safety control of power grid operation tickets.
[0083] In order to perform operation execution verification, in an optional implementation, the above step S203 includes:
[0084] Step S2034, if the first target vocabulary corresponding to the operation task includes the eleventh preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twelfth preset vocabulary, the thirteenth preset vocabulary or the fourteenth preset vocabulary, then it is determined that the operation execution verification fails;
[0085] Operation execution verification is to determine whether the operation execution complies with the preset rules by comparing the first target word (keyword) of the operation task in the operation ticket with the keyword in the operation content. Specifically, if the operation task contains a specific preset word, and the operation content contains an operation description that does not match it, the operation execution verification fails.
[0086] If the operation task includes the eleventh preset word, and one or more of the twelfth preset word, the thirteenth preset word, or the fourteenth preset word appears in the operation content, it is determined that the operation execution verification fails.
[0087] For example, if the operation task is "**transfer to maintenance" (the eleventh preset vocabulary), the twelfth preset vocabulary, the thirteenth preset vocabulary, or the fourteenth preset vocabulary is "close (pull open, separate) **switch", "**close (disconnect, separate) **knife switch (excluding grounding)" and "close **drop-out fuse". These operations should not appear in the scenario of equipment transfer to maintenance, and it is determined that the above operation execution verification fails.
[0088] Step S2035, if the first target vocabulary corresponding to the operation task includes the fifteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the sixteenth preset vocabulary, the seventeenth preset vocabulary or the eighteenth preset vocabulary, then determining that the operation execution verification fails;
[0089] If the operation task includes the fifteenth preset word, and one or more of the sixteenth preset word, the seventeenth preset word, or the eighteenth preset word appears in the operation content, it is determined that the operation execution verification fails.
[0090] For example, if the operation task is "** switch to operation" (the fifteenth preset vocabulary), the sixteenth preset vocabulary, the seventeenth preset vocabulary or the eighteenth preset vocabulary is "disconnect (pull open) ** switch", "pull open (disconnect) ** knife switch (excluding grounding, air switch, switch station, switch box)" and "pull open ** drop-out fuse". These operations should not appear in the scenario of equipment switching to operation, and it is determined that the above operation execution verification fails.
[0091] Step S2036: if the first target vocabulary corresponding to the operation task includes the nineteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twentieth preset vocabulary and the twenty-first preset vocabulary, it is determined that the operation execution verification fails.
[0092] If the operation task includes the nineteenth preset word, and one or more of the twentieth preset word and the twenty-first preset word appear in the operation content, it is determined that the operation execution verification fails.
[0093] For example, if the operation task is "** from ** to operation" (the 19th preset vocabulary), the 20th preset vocabulary and the 21st preset vocabulary are "close ** grounding switch" and "** install **". These operations should not appear in the scenario of grounding line switching operation, and it is determined that the above operation execution verification fails.
[0094] In order to verify the operation object, in an optional implementation, the above step S203 includes:
[0095] Step S2037, if the first target vocabulary corresponding to the operation content includes any one or more vocabulary in the preset phrase, verify that the operation object of the operation step to which the first target vocabulary belongs is different from the operation object in the next operation step, and determine that the operation object verification fails.
[0096] In the execution of the operation ticket of the power system, the consistency and accuracy of the operation are crucial, so it is necessary to ensure that each operation step in the operation ticket is performed on the correct equipment. Operation object verification is to check the first target word (keyword) in the operation content to confirm whether the continuous operation steps are for the same equipment in a specific operation (such as switching from operation to maintenance, from maintenance to operation, switching power supply, etc.).
[0097] The specific logic is as follows:
[0098] Traverse the operation content of the operation ticket and extract the operation steps and operation objects.
[0099] If the operation content contains words in the preset phrases (these words are usually key verbs in the operation ticket, such as "close", "pull open", "verify", "in", etc.), then check whether the operation objects are the same in the consecutive operation steps. If they are different, the operation object verification fails.
[0100] In the specific implementation, suppose there is an operation ticket, and the operation content is: Operation 1: Verify that there is no voltage on the line; Operation 2: Open the line T1 switch; Operation 3: Close the line T2 switch; Operation 4: Close the line T3 switch;
[0101] The preset phrases include "confirm that there is no voltage", "pull open the knife switch", "close the knife switch", "close the switch", etc.
[0102] In this operation ticket, operation item 1 and operation item 2 target the same device (line T1), while operation item 2 and operation item 3 target different devices (from line T1 to line T2). According to the above logic, we need to check whether the operation objects of consecutive operation steps are the same.
[0103] Between operation item 2 and operation item 3, we noticed a change in the operation object, from line T1 switch to line T2 switch. This may mean that during the execution of the operation ticket, the operator may have performed continuous operations on different devices, which is reasonable in some cases (such as power supply transfer operation), but may violate the operation logic in other cases (such as switching from operation to maintenance), so further analysis is needed.
[0104] Through operation object verification, the consistency and correctness of the operation objects in the operation ticket can be ensured, avoiding power grid failures caused by confusion of operation objects. It is suitable for object management and error prevention of power grid operation tickets.
[0105] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0106] The present application embodiment also provides a kind of identification device of operation ticket error, it should be noted that, the identification device of operation ticket error of the present application embodiment can be used to execute the identification method for operation ticket error provided by the present application embodiment. The device is used to realize the above-mentioned embodiment and preferred implementation mode, and the description has been made no more. As used below, the term "module" can realize the combination of software and / or hardware of predetermined function. Although the device described in the following embodiments is preferably realized with software, the realization of hardware, or the combination of software and hardware is also possible and conceived.
[0107] The following is an introduction to the operation ticket error identification device provided in an embodiment of the present application.
[0108] Figure 2 is a structural block diagram of an operation ticket error identification device according to an embodiment of the present application. Figure 2 As shown, the device comprises:
[0109] The first acquisition unit 10 is used to acquire operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task and an operation content, and the operation content at least includes an operation object, an operation step and an operation sequence;
[0110] Specifically, the operation ticket data is obtained. The operation ticket is the written basis for executing power outage operations on transformers, lines and other equipment in the power system. It contains information such as operation status (such as generated, archived), operation tasks (such as switching from operation to maintenance), and operation content (such as operation objects, operation steps and operation sequence).
[0111] First, obtain this data from the safe production application module of the power grid management platform to ensure the integrity and accuracy of the data.
[0112] In one embodiment, the above operation ticket data may be as follows:
[0113] Operation status: Archived;
[0114] Operational tasks: The line is switched from maintenance to operation;
[0115] Operation object: T11 switch and T12 knife switch;
[0116] Operation steps: Close the T11 switch; Close the T12 switch;
[0117] Operation sequence: close the switch first, then close the knife switch.
[0118] A first filtering unit 20, configured to filter the first operation ticket data based on the operation status to obtain second operation ticket data;
[0119] Specifically, the operation status-based screening selects the operation ticket data that meets the current analysis requirements, i.e., the second operation ticket data, according to the operation status of the operation ticket (generated, archived). This step ensures that the scope of the analysis is the executed or completed operation tickets, and excludes the unexecuted tickets, so as to more accurately identify the violation phenomenon.
[0120] A second filtering unit 30 is used to extract keywords based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and to perform operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data;
[0121] Specifically, keyword extraction and verification extracts first target words from the operation content and operation task, and then verifies the operation sequence, operation execution and operation object based on these words.
[0122] Operation sequence verification: Check whether the sequence of operation steps complies with safety regulations and operation logic. For example, when the operation task is "the line switches from operation to maintenance", the knife switch on the load side should be operated first, and then the knife switch on the power supply side.
[0123] Operation execution verification: Ensure that the operation verb (such as close, open) matches the operation task to prevent misoperation. For example, if the operation task is "the main transformer switches from maintenance to operation", the operation item cannot contain the command of "open" or "disconnect" the switch or knife switch (except for the special 500 switch or 550 switch).
[0124] Operation object verification: Check whether the equipment names involved in the operation steps are correct and whether the equipment status is consistent with the operation task. For example, when the operation task is "the line switches from maintenance to operation", the operation of closing the grounding switch or installing the grounding wire should not occur.
[0125] The first determination unit 40 determines that the operation ticket has a violation phenomenon when any one of the operation sequence verification, the operation execution verification and the operation object verification fails.
[0126] Specifically, if any one of the operation sequence verification, operation execution verification and operation object verification fails, it is determined that the operation ticket has a violation.
[0127] In summary, through this series of steps and verifications, it is possible to effectively identify and prevent violations in power system operations, and improve the accuracy and safety of operations. Through this method, power grid operators can quickly and accurately identify errors in operation tickets, avoid power grid failures caused by improper operation sequence, omission of execution steps, or wrong operation objects, and improve the safety and efficiency of power grid operations.
[0128] Through this embodiment, the first acquisition unit acquires the operation ticket data to obtain the first operation ticket data, the operation ticket data at least includes the operation state, the operation task and the operation content, the operation content at least includes the operation object, the operation step and the operation sequence; the first filtering unit screens the first operation ticket data based on the operation state to obtain the second operation ticket data; the second filtering unit extracts keywords based on the operation content and the operation task of the second operation ticket data to obtain the first target vocabulary, and performs operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data respectively; the first determination unit determines that the operation ticket has a violation phenomenon when any one of the operation sequence verification, the operation execution verification and the operation object verification fails. The present application realizes automatic verification of the operation ticket by extracting keywords in the operation ticket and performing operation sequence verification, operation execution verification and operation object verification based on the extracted keywords to determine whether the operation ticket has errors, thereby solving the problem of low efficiency in the prior art of manually verifying the data of the operation ticket.
[0129] In order to obtain the above-mentioned operation ticket data, in an optional implementation manner, the above-mentioned first obtaining unit includes:
[0130] The first acquisition module is used to acquire a target path, where the target path is an absolute path corresponding to the data storage of the operation ticket;
[0131] Specifically, in the information system of power enterprises, such as the power grid management platform, data is usually stored in a specific folder or database, and each data set has its corresponding absolute path. The absolute path refers to the complete path from the root directory to the file or folder, which can uniquely determine the location of the file in the system.
[0132] In one embodiment, assuming that the operation ticket data is stored in the path " / root / safety_production / operation_management / work_order / operation_tickets", the absolute path is obtained in the above steps.
[0133] The second acquisition module is used to capture the above-mentioned operation ticket data from the power grid management platform based on the above-mentioned target path to obtain the above-mentioned first operation ticket data.
[0134] Specifically, after obtaining the above target path, the operation ticket data can be obtained from the power grid management platform using data crawling technology to obtain the first operation ticket data. This usually involves writing scripts or using data crawling tools, such as Python's Scrapy framework, SQL query statements, etc., to access and extract the data stored in the target path. The purpose of data crawling is for subsequent analysis and verification.
[0135] This method simplifies the data acquisition process, ensures the integrity and real-time nature of the data, is suitable for the automatic capture and processing of large-scale power grid operation ticket data, and provides a solid data foundation for subsequent error identification.
[0136] In order to obtain the second operation ticket data, in an optional implementation, the first filtering unit includes:
[0137] The first determination module is used to traverse the first operation ticket data, and when the operation status of the first operation ticket data is generated and / or archived, determine the first operation ticket data as the second operation ticket data.
[0138] Specifically, after the operation ticket data is obtained, it usually contains operation tickets of various states, such as "new", "generated", "executing", "archived", etc. In order to ensure that the operation ticket analyzed is a completed or executable operation ticket, it is necessary to first traverse the first operation ticket data, that is, check the status of each operation ticket.
[0139] Filter the second operation ticket data: When traversing the operation ticket data, only the operation tickets with the operation status of "generated" and / or "archived" are retained. The operation tickets in these states mean that they have been written or executed and are valid objects for violation inspection.
[0140] In the specific implementation, 100 operation ticket data are obtained from the power grid management platform, which include operation tickets of different statuses, such as "new", "generated", "archived", etc.
[0141] Among the 100 operation ticket data, 30 are in the "generated" state, 50 are in the "archived" state, and the remaining 20 are in the "new" or "executing" state. During the traversal process, we only retained these 80 operation tickets, that is, they were identified as the second operation ticket data for subsequent analysis and inspection.
[0142] Through status filtering, you can focus on generated or archived operation tickets, avoid incorrect identification of invalid or incomplete operation tickets, and improve the targetedness and efficiency of identification.
[0143] In order to reduce the possibility of error, in an optional implementation, the device further includes:
[0144] A second determination unit is used to determine a corresponding first preset set based on the operation task in the second operation ticket data before extracting keywords based on the operation content and the operation task to obtain the first target vocabulary, wherein the first preset set includes a first preset vocabulary corresponding to the operation task;
[0145] Specifically, before starting keyword extraction, a first preset set needs to be determined according to the type of operation task, and this set includes specific words related to the operation task. For example, if the operation task involves "main transformer switching from maintenance to operation", the preset set may include words such as "500 switch", "550 switch", etc., because these devices need to be treated specially under certain conditions, for example, their closing operation is allowed in the operation task.
[0146] In the specific implementation, if the operation task contains "main transformer operation" and the operation item contains the keyword "500 switch" or "550 switch", it is necessary to filter. When verifying the operation ticket with grounding wire (grounding knife switch) and switch (knife switch), it is necessary to exclude the situation where the previous item contains "neutral point", "switch side", "CT side" and "PT side". When verifying the operation object of the operation ticket, it is necessary to filter out the operation item that contains "verify *there is no voltage" and the next operation item contains "pull open *knife switch". This operation item contains "verify *there is no voltage" and the next operation item contains "close *knife switch". The operation item contains "dismantle *at *". The operation item contains "signboard *at *insulating baffle". The operation item contains "dispatching *remote control" and so on. The above keywords and sentences constitute the above-mentioned first preset set.
[0147] The third filtering unit is used to perform a filtering operation on each of the second operation ticket data based on the first preset vocabulary, and the filtering operation is used to filter out the first preset vocabulary in the second operation ticket data.
[0148] Specifically, based on the first preset vocabulary, filtering operations are performed. After the first preset set is determined, filtering operations need to be performed on the second operation ticket data, in order to exclude those words that have special meanings under specific operation tasks, so as to avoid false alarms in subsequent keyword extraction and violation inspections.
[0149] In the specific implementation, in the above-mentioned operation task of "switching the main transformer from maintenance to operation", we filtered out all operation items containing "close the switch" or "close the knife switch" from the second operation ticket data, but because "500 switch" and "550 switch" are words in the first preset set, their closing operations are compliant in the task. Therefore, before keyword extraction, we exclude the operation items containing these words from the data.
[0150] This preset vocabulary filtering mechanism can effectively exclude words that are not related to the operation task, reduce the complexity of keyword extraction, improve the accuracy and speed of recognition, and is suitable for standardized processing of various power grid operation tasks.
[0151] In order to verify the operation sequence, in an optional embodiment, the second filtering unit includes:
[0152] A first determination module, configured to determine that the operation sequence verification fails if the first target vocabulary corresponding to the operation task includes the second preset vocabulary, and the first target vocabulary corresponding to the operation content includes the third preset vocabulary and the fourth preset vocabulary, and the third preset vocabulary is before the fourth preset vocabulary;
[0153] The operation sequence of the operation ticket is an important guarantee for the safety of power system operation. The wrong operation sequence may cause equipment damage, personal injury or even power grid accidents. By matching and sequentially checking the keywords of the operation tasks and operation contents in the operation ticket, it is possible to effectively verify whether the operation sequence is correct. The specific logic is as follows:
[0154] If the operation task includes a specific second preset word, and the corresponding operation steps in the operation content are in a sequence of the third preset word before the fourth preset word, the operation sequence verification fails.
[0155] For example, if the operation task is "**Change from operation to maintenance", the preset words are "pull open" **T*1 switch" and "pull open" **T*2 switch", and the normal order should be "pull open" **T*2 switch" (the fourth preset word) first, and then "pull open" **T*1 switch" (the third preset word). If the operation order is reversed, the operation order verification fails.
[0156] A second determination module is used to determine that the operation sequence verification fails if the first target vocabulary corresponding to the operation task includes the fifth preset vocabulary, and the first target vocabulary corresponding to the operation content includes the sixth preset vocabulary and the seventh preset vocabulary, and the seventh preset vocabulary is before the sixth preset vocabulary;
[0157] If the operation task includes a specific fifth preset word, and the corresponding operation steps in the operation content are in a sequence of the seventh preset word before the sixth preset word, the operation sequence verification fails.
[0158] For example, if the operation task is "**Change from maintenance to operation," and "voltage level is less than 110kV", the preset words are "Close" "**T12 switch" and "Close" "**T11 switch", and the normal order should be "Close" "**T11 switch" (the sixth preset word) first, and then "Close" "**T12 switch" (the seventh preset word). If the operation order is reversed, the operation order verification fails.
[0159] The third determination module is used to determine that the operation sequence verification fails if the first target vocabulary corresponding to the operation task includes the eighth preset vocabulary, and the first target vocabulary corresponding to the operation content includes the ninth preset vocabulary and the tenth preset vocabulary, and the order is that the ninth preset vocabulary is before the tenth preset vocabulary.
[0160] If the operation task includes a specific eighth preset word, and the sequence of corresponding operation steps in the operation content is that the ninth preset word is before the tenth preset word, the operation sequence verification fails.
[0161] For example, if the operation task is "** transfer power supply to **", the preset words are "pull open" "**T11 switch" and "pull open" "**T12 switch", and the normal order should be "pull open" "**T12 switch" (the tenth preset word) first, and then "pull open" "**T11 switch" (the ninth preset word). If the operation order is reversed, the operation order verification fails.
[0162] Through the sequential verification of preset words, the logic and rationality of the operation steps in the operation ticket can be ensured, and power grid accidents caused by incorrect operation sequence can be avoided. It is suitable for the refined management and safety control of power grid operation tickets.
[0163] In order to perform operation execution verification, in an optional implementation, the second filtering unit includes:
[0164] a fourth determination module, configured to determine that the operation execution verification fails if the first target vocabulary corresponding to the operation task includes the eleventh preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twelfth preset vocabulary, the thirteenth preset vocabulary or the fourteenth preset vocabulary;
[0165] Operation execution verification is to determine whether the operation execution complies with the preset rules by comparing the first target word (keyword) of the operation task in the operation ticket with the keyword in the operation content. Specifically, if the operation task contains a specific preset word, and the operation content contains an operation description that does not match it, the operation execution verification fails.
[0166] If the operation task includes the eleventh preset word, and one or more of the twelfth preset word, the thirteenth preset word, or the fourteenth preset word appears in the operation content, it is determined that the operation execution verification fails.
[0167] For example, if the operation task is "**transfer to maintenance" (the eleventh preset vocabulary), the twelfth preset vocabulary, the thirteenth preset vocabulary, or the fourteenth preset vocabulary is "close (pull open, separate) **switch", "**close (disconnect, separate) **knife switch (excluding grounding)" and "close **drop-out fuse". These operations should not appear in the scenario of equipment transfer to maintenance, and it is determined that the above operation execution verification fails.
[0168] a fifth determination module, configured to determine that the operation execution verification fails if the first target vocabulary corresponding to the operation task includes the fifteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the sixteenth preset vocabulary, the seventeenth preset vocabulary or the eighteenth preset vocabulary;
[0169] If the operation task includes the fifteenth preset word, and one or more of the sixteenth preset word, the seventeenth preset word, or the eighteenth preset word appears in the operation content, it is determined that the operation execution verification fails.
[0170] For example, if the operation task is "** switch to operation" (the fifteenth preset vocabulary), the sixteenth preset vocabulary, the seventeenth preset vocabulary or the eighteenth preset vocabulary is "disconnect (pull open) ** switch", "pull open (disconnect) ** knife switch (excluding grounding, air switch, switch station, switch box)" and "pull open ** drop-out fuse". These operations should not appear in the scenario of equipment switching to operation, and it is determined that the above operation execution verification fails.
[0171] The sixth determination module is used to determine that the operation execution verification fails if the first target vocabulary corresponding to the operation task includes the nineteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twentieth preset vocabulary and the twenty-first preset vocabulary.
[0172] If the operation task includes the nineteenth preset word, and one or more of the twentieth preset word and the twenty-first preset word appear in the operation content, it is determined that the operation execution verification fails.
[0173] For example, if the operation task is "** from ** to operation" (the 19th preset vocabulary), the 20th preset vocabulary and the 21st preset vocabulary are "close ** grounding switch" and "** install **". These operations should not appear in the scenario of grounding line switching operation, and it is determined that the above operation execution verification fails.
[0174] In order to verify the operation object, in an optional implementation, the above step S203 includes:
[0175] The seventh determination module is used to verify that the operation object of the operation step to which the first target vocabulary corresponds is different from the operation object in the next operation step if the first target vocabulary corresponding to the operation content includes any one or more vocabulary in the preset phrase, and then determine that the operation object verification fails.
[0176] In the execution of the operation ticket of the power system, the consistency and accuracy of the operation are crucial, so it is necessary to ensure that each operation step in the operation ticket is performed on the correct equipment. Operation object verification is to check the first target word (keyword) in the operation content to confirm whether the continuous operation steps are for the same equipment in a specific operation (such as switching from operation to maintenance, from maintenance to operation, switching power supply, etc.).
[0177] The specific logic is as follows:
[0178] Traverse the operation content of the operation ticket and extract the operation steps and operation objects.
[0179] If the operation content contains words in the preset phrases (these words are usually key verbs in the operation ticket, such as "close", "pull open", "verify", "in", etc.), then check whether the operation objects are the same in the consecutive operation steps. If they are different, the operation object verification fails.
[0180] In the specific implementation, suppose there is an operation ticket, and the operation content is: Operation 1: Verify that there is no voltage on the line; Operation 2: Open the line T1 switch; Operation 3: Close the line T2 switch; Operation 4: Close the line T3 switch;
[0181] The preset phrases include "confirm that there is no voltage", "pull open the knife switch", "close the knife switch", "close the switch", etc.
[0182] In this operation ticket, operation item 1 and operation item 2 target the same device (line T1), while operation item 2 and operation item 3 target different devices (from line T1 to line T2). According to the above logic, we need to check whether the operation objects of consecutive operation steps are the same.
[0183] Between operation item 2 and operation item 3, we noticed a change in the operation object, from line T1 switch to line T2 switch. This may mean that during the execution of the operation ticket, the operator may have performed continuous operations on different devices, which is reasonable in some cases (such as power supply transfer operation), but may violate the operation logic in other cases (such as switching from operation to maintenance), so further analysis is needed.
[0184] Through operation object verification, the consistency and correctness of the operation objects in the operation ticket can be ensured, avoiding power grid failures caused by confusion of operation objects. It is suitable for object management and error prevention of power grid operation tickets.
[0185] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0186] The present application embodiment also provides a kind of identification device of operation ticket error, it should be noted that, the identification device of operation ticket error of the present application embodiment can be used to execute the identification method for operation ticket error provided by the present application embodiment. The device is used to realize the above-mentioned embodiment and preferred implementation mode, and the description has been made no more. As used below, the term "module" can realize the combination of software and / or hardware of predetermined function. Although the device described in the following embodiments is preferably realized with software, the realization of hardware, or the combination of software and hardware is also possible and conceived.
[0187] The above-mentioned operation ticket error identification device includes a processor and a memory, and the above-mentioned first acquisition unit, the first filtering unit, the second filtering unit and the first determination unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in the form of any combination.
[0188] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the efficiency of the operation ticket data verification can be improved by adjusting the kernel parameters.
[0189] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0190] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for identifying operation ticket errors.
[0191] Specifically, the method for identifying operation ticket errors includes:
[0192] Step S201, obtaining operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task and an operation content, and the operation content at least includes an operation object, an operation step and an operation sequence;
[0193] Step S202, filtering the first operation ticket data based on the operation status to obtain second operation ticket data;
[0194] Step S203, performing keyword extraction based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and performing operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data;
[0195] Step S204: if any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that there is a violation in the operation ticket.
[0196] An embodiment of the present invention provides a power grid management system, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are implemented:
[0197] Step S201, obtaining operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task and an operation content, and the operation content at least includes an operation object, an operation step and an operation sequence;
[0198] Step S202, filtering the first operation ticket data based on the operation status to obtain second operation ticket data;
[0199] Step S203, performing keyword extraction based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and performing operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data;
[0200] Step S204: if any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that there is a violation in the operation ticket.
[0201] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0202] Step S201, obtaining operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task and an operation content, and the operation content at least includes an operation object, an operation step and an operation sequence;
[0203] Step S202, filtering the first operation ticket data based on the operation status to obtain second operation ticket data;
[0204] Step S203, performing keyword extraction based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and performing operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data;
[0205] Step S204: if any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that there is a violation in the operation ticket.
[0206] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0207] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0208] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0209] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0210] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0211] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0212] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0213] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0214] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0215] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0216] 1) The method for identifying operation ticket errors of the present application, first, obtain operation ticket data to obtain first operation ticket data, the operation ticket data at least includes operation status, operation task and operation content, the operation content at least includes operation object, operation steps and operation sequence; then, screen the first operation ticket data based on the operation status to obtain second operation ticket data; then, extract keywords based on the operation content and the operation task to obtain the first target vocabulary, and perform operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content respectively; finally, if any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that the operation ticket has a violation. The present application realizes automatic verification of the operation ticket by extracting keywords in the operation ticket and performing operation sequence verification, operation execution verification and operation object verification based on the extracted keywords to determine whether the operation ticket has errors, thereby solving the problem of low efficiency in the prior art of manually verifying the data of the operation ticket.
[0217] 2) The device for identifying operation ticket errors of the present application comprises: a first acquisition unit acquires operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes operation status, operation task and operation content, and the operation content at least includes operation object, operation steps and operation sequence; a first filtering unit screens the first operation ticket data based on the operation status to obtain second operation ticket data; a second filtering unit extracts keywords based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and performs operation sequence verification, operation execution verification and operation object verification based on the first target vocabulary, the operation task and the operation content of the second operation ticket data respectively; a first determination unit determines that there is a violation in the operation ticket when any one of the operation sequence verification, the operation execution verification and the operation object verification fails. The present application realizes automatic verification of the operation ticket by extracting keywords from the operation ticket and performing operation sequence verification, operation execution verification and operation object verification based on the extracted keywords to determine whether there is an error in the operation ticket, thereby solving the problem of low efficiency in the prior art of manually verifying the data of the operation ticket.
[0218] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for identifying an operation ticket error, characterized in that: include: Acquire operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task, and an operation content, and the operation content at least includes an operation object, an operation step, and an operation sequence; Filter the first operation ticket data based on the operation status to obtain second operation ticket data; Perform keyword extraction based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and perform operation sequence verification, operation execution verification, and operation object verification based on the first target vocabulary, the operation task, and the operation content of the second operation ticket data; When any one of the operation sequence verification, the operation execution verification and the operation object verification fails, it is determined that there is a violation in the operation ticket.
2. The method according to claim 1, characterized in that Obtain the operation ticket data, and obtain the first operation ticket data, including: Get the target path, which is the absolute path corresponding to the operation ticket data storage; The first operation ticket data is obtained by fetching the operation ticket data from a power grid management platform based on the target path.
3. The method according to claim 1, characterized in that: The first operation ticket data is screened based on the operation status to obtain second operation ticket data, including: The first operation ticket data is traversed, and when the operation status of the first operation ticket data is generated and / or archived, the first operation ticket data is determined as the second operation ticket data.
4. The method according to claim 1, characterized in that Before extracting keywords based on the operation content and the operation task to obtain the first target vocabulary, the method further includes: Based on the operation task in the second operation ticket data, determining a corresponding first preset set, wherein the first preset set includes a first preset vocabulary corresponding to the operation task; A filtering operation is performed on each of the second operation ticket data based on the first preset vocabulary, and the filtering operation is used to filter out the first preset vocabulary in the second operation ticket data.
5. The method according to claim 1, characterized in that Performing operation sequence verification based on the first target vocabulary, the operation task, and the operation content includes: If the first target vocabulary corresponding to the operation task includes a second preset vocabulary, and the first target vocabulary corresponding to the operation content includes a third preset vocabulary and a fourth preset vocabulary, and the third preset vocabulary is before the fourth preset vocabulary, then it is determined that the operation sequence verification fails; If the first target vocabulary corresponding to the operation task includes the fifth preset vocabulary, and the first target vocabulary corresponding to the operation content includes the sixth preset vocabulary and the seventh preset vocabulary, and the seventh preset vocabulary is before the sixth preset vocabulary, then it is determined that the operation sequence verification fails; If the first target vocabulary corresponding to the operation task includes the eighth preset vocabulary, and the first target vocabulary corresponding to the operation content includes the ninth preset vocabulary and the tenth preset vocabulary, and the ninth preset vocabulary is before the tenth preset vocabulary, it is determined that the operation sequence verification fails.
6. The method according to claim 1, characterized in that Performing operation execution verification based on the first target vocabulary, the operation task, and the operation content includes: If the first target vocabulary corresponding to the operation task includes the eleventh preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the twelfth preset vocabulary, the thirteenth preset vocabulary or the fourteenth preset vocabulary, it is determined that the operation execution verification fails; If the first target vocabulary corresponding to the operation task includes the fifteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of the sixteenth preset vocabulary, the seventeenth preset vocabulary and the eighteenth preset vocabulary, it is determined that the operation execution verification fails; If the first target vocabulary corresponding to the operation task includes a nineteenth preset vocabulary and the first target vocabulary corresponding to the operation content includes one or more of a twentieth preset vocabulary and a twenty-first preset vocabulary, it is determined that the operation execution verification fails.
7. The method according to claim 1, characterized in that The operation object verification is performed based on the first target vocabulary, the operation task and the operation content, including: If the first target vocabulary corresponding to the operation content includes any one or more words in the preset phrase, it is verified that the operation object of the operation step to which the first target vocabulary belongs is different from the operation object in the next operation step, and it is determined that the operation object verification fails.
8. A device for identifying operation ticket errors, characterized in that: The device comprises: A first acquisition unit, configured to acquire operation ticket data to obtain first operation ticket data, wherein the operation ticket data at least includes an operation state, an operation task, and an operation content, and the operation content at least includes an operation object, an operation step, and an operation sequence; a first filtering unit, configured to filter the first operation ticket data based on the operation status to obtain second operation ticket data; a second filtering unit, configured to extract keywords based on the operation content and the operation task of the second operation ticket data to obtain a first target vocabulary, and to perform operation sequence verification, operation execution verification, and operation object verification based on the first target vocabulary, the operation task, and the operation content of the second operation ticket data; The first determination unit is used to determine that there is a violation in the operation ticket when any one of the operation sequence verification, the operation execution verification and the operation object verification fails.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
10. A power grid management system, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 7.