Operation ticket generation method and device, storage medium and electronic equipment
By generating a single corresponding operation ticket for power system equipment maintenance, using the power topology diagram and knowledge map of the power system, the problems of low accuracy and poor scalability of operation tickets in the prior art are solved, and more accurate and flexible operation ticket generation is achieved.
Patent Information
- Application Number
- CN202311113900.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2025-03-07
AI Technical Summary
In the prior art, the generation of operation tickets based on fixed templates leads to the relatively low accuracy of generation of operation tickets and poor scalability, which cannot effectively solve the complexity and accuracy requirements of power grid operation and regulation.
By obtaining the equipment maintenance method sheet in the power system, the electrical operation event is determined. If it is a target event, the first target topology map of the power system and the knowledge map of the mode sheet are used to generate the first target topology map, and the operation ticket is generated based on the topology map.
The accuracy and scalability of the operation ticket are improved, and the connection status of the power system equipment can be more accurately analyzed and maintenance operations to be performed can be characterized, thereby generating more accurate operation tickets.
Smart Images

Figure CN119579130A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a method and device for generating an operation ticket, a storage medium and an electronic device. Background Art
[0002] At present, the power grid is developing towards a high proportion of new energy and high power electronic devices. With the development of the power grid, the operation and regulation of the power grid have become more and more complex, the difficulty of power grid control has increased, and higher requirements have been put forward for real-time operation and regulation. Among them, the need to use computers to assist in the generation of operation tickets is particularly important. The correctness of the operation order in the operation ticket is directly related to whether the power grid maintenance work can be carried out normally, and may even affect the safety of power grid operation and the personal safety of operators. In the prior art, the operation ticket is generally generated by establishing an operation rule template and a user-maintainable mechanism to solve the operation rule description. However, this operation ticket generation based on a fixed template has problems such as low accuracy and poor scalability.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method and device for generating an operation ticket, a storage medium, and an electronic device, so as to at least solve the technical problem that the operation ticket is generated based on a fixed template, resulting in relatively low accuracy of the generated operation ticket.
[0005] According to one aspect of an embodiment of the present application, a method for generating an operation ticket is provided, comprising: obtaining a mode sheet for equipment maintenance in an electric power system, and determining an electrical operation event corresponding to the mode sheet, wherein the mode sheet at least includes: device information of a target device, a current state of the target device, and a target state of the target device, wherein the target state is the state of the target device after an electrical operation is performed on the target device; if the electrical operation event is a target event, obtaining a power topology map corresponding to the electric power system and a knowledge graph corresponding to the mode sheet, and generating a first target topology map based on the power topology map corresponding to the electric power system and the knowledge graph corresponding to the mode sheet, wherein the execution complexity of the electrical operation corresponding to the target event is higher than a preset complexity; generating an operation ticket corresponding to the mode sheet based on the first target topology map.
[0006] Furthermore, obtaining the power topology diagram corresponding to the power system and the knowledge graph corresponding to the mode list includes: constructing a wiring structure diagram based on the electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; determining the power topology diagram corresponding to the power system based on the power grid information model of the power system and the wiring structure diagram; performing keyword extraction on the information in the mode list to obtain the keyword information of the mode list, and constructing the knowledge graph corresponding to the mode list based on the keyword information.
[0007] Furthermore, generating a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode single includes: determining the device nodes in the power topology map and the device nodes in the knowledge graph; performing graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain the first target topology map.
[0008] Furthermore, based on the power grid information model of the power system and the wiring structure diagram, determining the power topology map corresponding to the power system includes: acquiring the power grid information model of the power system; constructing a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; and updating the physical topology map based on the wiring structure diagram to obtain the power topology map.
[0009] Furthermore, the physical topology diagram is updated according to the wiring structure diagram to obtain the power topology diagram, including: generating the multiple upper structure nodes in the physical topology diagram according to the wiring structure diagram to obtain an updated physical topology diagram; and updating the updated physical topology diagram according to the connection relationship between the device nodes in the wiring structure diagram and the upper structure nodes to obtain the power topology diagram.
[0010] Further, based on the first target topology map, generating an operation ticket corresponding to the mode sheet includes: determining the target upper structure node in the first target topology map based on the mode sheet; determining the target device node and the node number corresponding to the target device node based on the connection relationship between the target upper structure node and the device node in the first target topology map; determining the electrical operation to be performed based on the first target topology map and the mode sheet; generating the operation ticket corresponding to the mode sheet based on the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0011] Further, determining the electrical operation to be performed based on the first target topology map and the method list includes: determining the current status information of the target upper structure node based on the first target topology map and the device status corresponding to the target device node; determining the target status information of the target upper structure node based on the method list, wherein the target status information is the status information of the target upper structure node after performing the electrical operation; and generating the electrical operation to be performed based on the current status information and the target status information.
[0012] Furthermore, after generating an operation ticket corresponding to the mode single according to the first target topology map, the method further includes: parsing the operation ticket to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; constructing an operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; verifying the operation ticket according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0013] Furthermore, before verifying the operation ticket according to the operation map and the second target topology map to obtain the verification result, the method also includes: obtaining multiple operation ticket verification rules of the power system, and constructing the rule map according to the multiple operation ticket verification rules; determining the second target topology map based on the power topology map, the rule map and the operation map.
[0014] According to another aspect of an embodiment of the present application, a method for generating an operation ticket is also provided, including: obtaining a method sheet for equipment maintenance in an electric power system uploaded by a client, wherein the method sheet at least includes: device information of a target device, a current state of the target device, and a target state of the target device, wherein the target state is the state of the target device after an electrical operation is performed on the target device; determining an electrical operation event corresponding to the method sheet in a cloud server, and if the electrical operation event is a target event, obtaining an electric power topology map corresponding to the electric power system and a knowledge graph corresponding to the method sheet, and generating a first target topology map based on the electric power topology map corresponding to the electric power system and the knowledge graph corresponding to the method sheet, wherein the execution complexity of the electrical operation corresponding to the target event is higher than a preset complexity, and generating an operation ticket corresponding to the method sheet based on the first target topology map; and returning the operation ticket corresponding to the method sheet to the client.
[0015] According to another aspect of an embodiment of the present application, a device for generating an operation ticket is also provided, including: a first acquisition unit, used to acquire a method sheet for equipment maintenance in an electric power system, and determine an electrical operation event corresponding to the method sheet, wherein the method sheet at least includes: device information of a target device, a current state of the target device, and a target state of the target device, wherein the target state is the state of the target device after an electrical operation is performed on the target device; a first determination unit, used to acquire a power topology map corresponding to the electric power system and a knowledge graph corresponding to the method sheet if the electrical operation event is a target event, and generate a first target topology map based on the power topology map corresponding to the electric power system and the knowledge graph corresponding to the method sheet, wherein the execution complexity of the electrical operation corresponding to the target event is higher than a preset complexity; a generation unit, used to generate an operation ticket corresponding to the method sheet based on the first target topology map.
[0016] Furthermore, the first determination unit includes: a construction subunit, used to construct a wiring structure diagram based on the electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; a first determination subunit, used to determine the power topology diagram corresponding to the power system based on the power grid information model of the power system and the wiring structure diagram; an extraction subunit, used to extract keywords from the information in the mode list, obtain keyword information of the mode list, and construct a knowledge graph corresponding to the mode list based on the keyword information.
[0017] Furthermore, the first determination unit includes: a second determination subunit, used to determine the device nodes in the power topology map and the device nodes in the knowledge graph; a fusion subunit, used to perform graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain the first target topology map.
[0018] Furthermore, the first determination subunit includes: an acquisition module, used to acquire the power grid information model of the power system; a construction module, used to construct a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; an update module, used to update the physical topology map based on the wiring structure diagram to obtain the power topology map.
[0019] Furthermore, the update module includes: a generation submodule, used to generate the multiple upper-level structure nodes in the physical topology diagram based on the wiring structure diagram to obtain an updated physical topology diagram; an update submodule, used to update the updated physical topology diagram based on the connection relationship between the device nodes in the wiring structure diagram and the upper-level structure nodes to obtain the power topology diagram.
[0020] Further, the generation unit includes: a second determination subunit, used to determine the target upper structure node in the first target topology map according to the method list; a third determination subunit, used to determine the target device node and the node number corresponding to the target device node according to the connection relationship between the target upper structure node and the device node in the first target topology map; a fourth determination subunit, used to determine the electrical operation to be performed according to the first target topology map and the method list; a generation subunit, used to generate an operation ticket corresponding to the method list according to the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0021] Furthermore, the fourth determination subunit includes: a first determination module, used to determine the current status information of the target upper structure node based on the first target topology map and the device status corresponding to the target device node; a second determination module, used to determine the target status information of the target upper structure node based on the method list, wherein the target status information is the status information of the target upper structure node after performing the electrical operation; and a generation module, used to generate the electrical operation to be performed based on the current status information and the target status information.
[0022] Furthermore, the device also includes: a parsing unit, which is used to parse the operation ticket after generating the operation ticket corresponding to the mode single according to the first target topology map, so as to obtain the target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; a construction unit, which is used to construct the operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; and a verification unit, which is used to verify the operation ticket according to the operation map and the second target topology map, so as to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0023] Furthermore, the device also includes: a second acquisition unit, used to acquire multiple operation ticket verification rules of the power system and construct the rule map based on the multiple operation ticket verification rules; a second determination unit, used to determine the second target topology map based on the power topology map, the rule map and the operation map.
[0024] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above-mentioned methods for generating an operation ticket.
[0025] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising a memory storing an executable program; and a processor for running the program, wherein when the program is run, any one of the above-mentioned methods for generating an operation ticket is executed.
[0026] In an embodiment of the present application, the following steps are taken: obtaining a mode sheet for equipment maintenance in an electric power system, and determining an electrical operation event corresponding to the mode sheet, wherein the mode sheet includes at least: equipment information of the target equipment, the current state of the target equipment, and the target state of the target equipment, the target state being the state of the target equipment after performing an electrical operation on the target equipment; if the electrical operation event is a target event, obtaining an electric power topology map corresponding to the electric power system and a knowledge graph corresponding to the mode sheet, and generating a first target topology map based on the electric power topology map corresponding to the electric power system and the knowledge graph corresponding to the mode sheet, wherein the execution complexity of the electrical operation corresponding to the target event is higher than a preset complexity; generating an operation ticket corresponding to the mode sheet based on the first target topology map, thereby solving the technical problem of generating operation tickets based on fixed templates, resulting in relatively low accuracy in generating operation tickets. In this scheme, based on the mode sheet of equipment maintenance in the power system, it is determined whether the electrical operation event corresponding to the mode sheet is a target event. If the electrical operation event is a target event, a first target topology map is generated through the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet. Finally, an operation ticket corresponding to the above-mentioned mode sheet is generated based on the first target topology map. The power topology map corresponding to the power system can be used to accurately analyze the connection status of each device in the power system, and the knowledge graph corresponding to the mode sheet can be used to accurately represent the maintenance operation to be performed. Therefore, the operation ticket corresponding to the mode sheet can be more accurately generated through the first target topology map. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0028] Figure 1is a schematic diagram of a computer terminal provided according to Embodiment 1 of the present application;
[0029] Figure 2 is a flow chart of a method for generating an operation ticket according to Embodiment 1 of the present invention;
[0030] Figure 3 is a wiring structure diagram provided according to the first embodiment of the present invention;
[0031] Figure 4 is a keyword schematic diagram of power event extraction provided according to the first embodiment of the present invention;
[0032] Figure 5 This is a schematic diagram of a knowledge graph corresponding to the method provided in the first embodiment of the present invention;
[0033] Figure 6 This is a schematic diagram of power supply provided according to Embodiment 1 of the present invention;
[0034] Figure 7 is a schematic diagram of an optional method for generating an operation ticket provided according to Embodiment 1 of the present invention;
[0035] Figure 8 It is a schematic diagram of the verification of the operation ticket provided according to the first embodiment of the present invention;
[0036] Fig. 9 is a flow chart of a method for generating an operation ticket according to Embodiment 2 of the present invention;
[0037] Fig.10 It is a schematic diagram of a device for generating an operation ticket provided according to Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0038] 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.
[0039] 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 sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. 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.
[0040] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0041] Power system: It is an electric energy production and consumption system composed of power plants, power transmission and transformation lines, power distribution stations and power consumption. Its function is to convert primary energy in nature into electric energy through power generation devices, and then supply electric energy to various users through transmission, transformation and distribution. To achieve this function, the power system also has corresponding information and control systems at various links and levels to measure, regulate, control, protect, communicate and dispatch the production process of electric energy to ensure that users obtain safe and high-quality electric energy.
[0042] Operation ticket: refers to the written basis for electrical operations in the power system, including dispatch instruction tickets and substation operation tickets.
[0043] Mode Sheet: A formatted form used to arrange the daily operation mode of a communications network.
[0044] Operation Ticket Generation: Operation ticket generation in power system mainly depends on the maintenance tasks defined in the mode sheet of the power system.
[0045] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0046] Example 1
[0047] According to an embodiment of the present application, a method for generating an operation ticket is also provided. It should be noted that the steps shown in the flowchart in 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.
[0048] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing the method for generating an operation ticket is shown. Figure 1 As shown, the computer terminal (or mobile device) 10 may include a processor set 102 (the processor set 102 may include but is not limited to a processing device such as a microprocessor MCU (Microcontroller Unit) or a programmable logic device FPGA (Field-Programmable Gate Array), and the processor set 102 may include a processor set, Figure 1 102a, 102b, ..., 102n are used to illustrate), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O (Input / Output) interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0049] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuits may be a single independent processing module, or may be integrated in whole or in part into any of the other components in the computer terminal 10 (or mobile device).
[0050] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for generating the operation ticket in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the method for generating the operation ticket described above is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0051] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0052] The display may be, for example, a touch screen liquid crystal display (LCD), which may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0053] Under the above operating environment, this application provides Figure 2 The method of generating the operation ticket is shown. Figure 2 : is a flowchart of a method for generating an operation ticket according to Embodiment 1 of the present application, and the processing method includes:
[0054] Step S201, obtain a method list for equipment maintenance in the power system, and determine the electrical operation event corresponding to the method list, wherein the method list includes at least: equipment information of the target equipment, the current state of the target equipment, and the target state of the target equipment, and the target state is the state of the target equipment after performing an electrical operation on the target equipment.
[0055] Optionally, the power system that needs to be repaired is identified, and a method list for repairing the equipment in the power system is obtained. It should be noted that the method list includes but is not limited to the equipment information of the target equipment, the current state of the target equipment, and the target state of the target equipment. The target equipment is a device that needs to perform an electrical operation, and the target state is the state of the target equipment after the electrical operation is performed on the target equipment. It should be noted that the above-mentioned electrical operation event is used to characterize the need to perform an electrical operation on the device in order to achieve maintenance of the equipment.
[0056] For example, for a power supply change operation event of switching the power supply of bus 1 from power supply No. 1 to power supply No. 2, the corresponding target devices include bus 1, power supply No. 1, and power supply No. 2. The current state of bus 1 is that power supply No. 1 is supplying power, and the target state is that power supply No. 2 is supplying power. The current state of power supply No. 1 is supplying power to bus 1, and the target state is not supplying power to bus 1. The current state of power supply No. 2 is not supplying power to bus 1, and the target state is supplying power to bus 1.
[0057] After obtaining the corresponding method sheet, determine the electrical operation event corresponding to the method sheet. In order to facilitate the generation of the operation ticket, the electrical operation events involved in the above method sheet can be divided into power outage events, power restoration events, operation events, confirmation events and power transfer events. For example, a power outage event is to perform a power outage operation on the equipment, a power restoration event is to perform a power restoration operation on the equipment, an operation event is to perform a simple electrical operation on the equipment, such as closing the switch of the equipment, etc., a confirmation event is to determine the state of the equipment, such as confirming whether the switch is closed, etc., and a power transfer event is to convert the power supply of the equipment.
[0058] Step S202: If the electrical operation event is a target event, obtain the power topology map corresponding to the power system and the knowledge graph corresponding to the mode list, and generate a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode list. The execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity.
[0059] Optionally, after determining the electrical operation event corresponding to the mode sheet, determine whether the electrical operation event is a target event. If the electrical operation event corresponding to the target event is a target event, obtain the power topology map corresponding to the above-mentioned power system and the knowledge graph corresponding to the above-mentioned mode sheet. It should be noted that the power topology map at least includes: device nodes corresponding to the power equipment in the power system and the connection relationship between each device node. The knowledge graph is constructed based on the information in the mode sheet.
[0060] After obtaining the above-mentioned power topology map and the above-mentioned knowledge graph, the power topology map corresponding to the power system and the knowledge graph corresponding to the mode list are fused to obtain the above-mentioned first target topology map.
[0061] Step S203: Generate an operation ticket corresponding to the method list according to the first target topology map.
[0062] Optionally, an operation ticket corresponding to the mode sheet is generated based on each device node in the above-mentioned first target topology graph and the structured representation corresponding to the mode sheet (ie, the above-mentioned knowledge graph).
[0063] To summarize, according to the mode sheet of equipment maintenance in the power system, determine whether the electrical operation event corresponding to the mode sheet is a target event. If the electrical operation event is a target event, generate a first target topology map through the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet. Finally, generate an operation ticket corresponding to the above-mentioned mode sheet according to the first target topology map. The power topology map corresponding to the power system can accurately analyze the connection status of each device in the power system, and the knowledge graph corresponding to the mode sheet can accurately represent the maintenance operation to be performed. Therefore, the operation ticket corresponding to the mode sheet can be more accurately generated through the first target topology map.
[0064] In order to improve the accuracy of generating operation tickets corresponding to the mode sheet, in the method for generating operation tickets provided in Example 1 of the present application, obtaining the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet includes: constructing a wiring structure diagram based on the electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; determining the power topology map corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system; extracting keywords from the information in the mode sheet to obtain keyword information of the mode sheet, and constructing the knowledge graph corresponding to the mode sheet based on the keyword information.
[0065] Optionally, a wiring structure diagram is constructed according to the electrical operations that need to be performed before the power system performs equipment maintenance and the power equipment involved in performing the electrical operations. The wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node. The upper structure node is an upper structure object defined according to the electrical operations that need to be performed before the equipment maintenance and the power equipment involved in performing the electrical operations. For example, when the 500kv power supply of the power system is overhauled, it is necessary to perform a power-off operation, and the equipment for controlling the power supply includes a switch, two knife switches and two ground switches. When the power is off, it is necessary to close the two ground switches first, and then disconnect the switch and the two knife switches. When the power is supplied, it is necessary to disconnect the ground switch, close the knife switch and the switch. It can be seen from the above process that the above-mentioned ground switch, switch and knife switch can be used as a whole. Therefore, a switch upper structure object can be defined, and this upper structure object includes a switch, two knife switches and two ground switches. Based on this switch superstructure object and a switch, two knife switches and two ground switches, a wiring structure diagram can be constructed, for example, Figure 3 The wiring diagram shown in the figure, Figure 3 The wiring structure diagram corresponding to the equipment for controlling power supply is composed of upper structure nodes and nodes corresponding to knife switch 1, knife switch 2, ground switch 1, ground switch 2 and switches. It should be noted that there can be multiple wiring structure diagrams.
[0066] After obtaining the wiring structure diagram, the above-mentioned power topology diagram is constructed using the power system's grid information model and wiring structure diagram. It should be noted that the grid information model is an electrical CIM (Common Information Model) model. CIM describes all major objects of the power system, especially objects related to power operation, by providing a standard method for representing power resources using object classes and attributes and the relationships between them. Through the power system's grid information model and wiring structure diagram, the upper-level structure objects can be integrated with the power equipment in the power system, thereby obtaining a power topology diagram that accurately characterizes the topological relationship between the power equipment.
[0067] The knowledge graph corresponding to the method list can be obtained in the following way: extract keywords from the information in the method list. In an optional embodiment, text understanding can be performed based on a multi-event joint extraction model of a pre-trained language model to extract different keyword information related to power outage events, power restoration events, operation events, confirmation events, and power transfer events. Since the information of information extraction tasks in natural language processing can assist other tasks, the model is usually trained in conjunction with multiple tasks. However, due to the differences between different tasks, there is a lack of a unified processing framework. Therefore, in an optional embodiment, a unified text-to-text generation framework for information extraction can be used to achieve unified modeling of different information extraction tasks.
[0068] In an optional embodiment, the keyword information corresponding to the mode list may also be obtained based on the matching method of the template and the regular expression.
[0069] It should be noted that keywords can be set according to different electrical operation events. For the five types of events, namely, power outage events, power restoration events, operation events, confirmation events and power transfer events (i.e., power supply conversion events), the argument ontology (i.e., the above keywords) is as follows: Figure 4 As shown, the operation event mainly includes equipment objects, operation constraint equipment objects, constraint classes, and action objects. The equipment object mainly includes equipment type, equipment model, equipment number, equipment subtype, equipment location, equipment voltage level, and location object. The location object includes site name, line name, and line voltage level. The operation constraint equipment object includes operation constraint equipment type, operation constraint equipment number, operation constraint equipment voltage level, and operation constraint mode. The constraint class includes: operation constraint, equipment constraint, location constraint, etc. The action object includes operation, start state, and end state. The confirmation event mainly includes equipment object, end power supply equipment object, powered equipment object, constraint class, and action object. The power transfer event mainly includes initial power supply equipment object, end power supply equipment object, powered equipment object, constraint class, and action object. The power restoration event mainly includes end power supply equipment object, power restoration equipment object, powered equipment object, operation constraint equipment object, constraint class, and action object. The power outage event is the same as the operation event, so it will not be repeated here.
[0070] pass Figure 4 The argument ontology of the five types of events shown in the method list performs keyword extraction on the information, and after obtaining the keyword information, constructs the corresponding knowledge graph based on the keyword information.
[0071] In an optional embodiment, for the event of switching the power supply of bus 1 from power supply No. 1 to power supply No. 2, the extracted keyword information includes: initial power supply device object: power supply No. 1; end power supply device object: power supply No. 2; powered device object: bus 1; action object: switch device. The knowledge graph corresponding to the power switching event can be as follows: Figure 5 shown.
[0072] In summary, the power grid information model and wiring structure diagram of the power system can be used to integrate the upper-level structure objects with the power equipment in the power system, thereby obtaining a power topology diagram that accurately represents the topological relationship between the power equipment. Through keyword extraction, the knowledge graph corresponding to the mode single can be obtained more accurately.
[0073] In order to improve the accuracy of the first target topology map, in the operation ticket generation method provided in Example 1 of the present application, the first target topology map is generated based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, including: determining the device nodes in the power topology map and the device nodes in the knowledge graph; performing graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain the first target topology map.
[0074] Optionally, when performing graph fusion, the entity linking algorithm can be used to achieve matching and fusion between the device nodes in the power topology graph and the device nodes in the knowledge graph, thereby obtaining a first target topology graph. The first target topology graph can be used to more accurately infer the power supply status from the transformer to the bus, thereby accurately obtaining the operation ticket for the power transfer event.
[0075] In the operation ticket generation method provided in Example 1 of the present application, determining the power topology map corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system includes: obtaining the power grid information model of the power system; constructing a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; and updating the physical topology map based on the wiring structure diagram to obtain the power topology map.
[0076] The method of updating the physical topology diagram according to the wiring structure diagram to obtain the power topology diagram includes: generating multiple upper structure nodes in the physical topology diagram according to the wiring structure diagram to obtain an updated physical topology diagram; and updating the updated physical topology diagram according to the connection relationship between the device nodes and the upper structure nodes in the wiring structure diagram to obtain the power topology diagram.
[0077] Optionally, when generating a power topology diagram based on the power system's power grid information model and wiring structure diagram, it includes: first, obtaining the power system's power grid information model, parsing the power grid information model, obtaining information and connection relationships corresponding to the power equipment, and then establishing a physical topology diagram corresponding to the power system based on the information and connection relationships corresponding to these power equipment. It should be noted that the physical topology diagram includes device nodes corresponding to multiple power equipment and connection relationships between power equipment. It should be noted that the power equipment corresponding to the device nodes in the wiring structure diagram is included in the physical topology diagram.
[0078] After obtaining the physical topology diagram, the device nodes in the wiring structure diagram and the device nodes in the physical topology diagram can be traversed and matched through a depth-first traversal algorithm, and then the matched device nodes are updated on the physical topology diagram to generate the upper structure nodes and the connection relationship between the upper structure nodes and the device nodes, and finally the above-mentioned power topology diagram is obtained.
[0079] In summary, the above-mentioned power topology diagram can more accurately analyze the status of the upper structure nodes, and then more accurately generate the topology diagram corresponding to the mode single.
[0080] How to generate an operation ticket based on the first target topology map is crucial. Therefore, in the operation ticket generation method provided in Example 1 of the present application, based on the first target topology map, generating an operation ticket corresponding to the method list includes: determining the target upper structure node in the first target topology map based on the method list; determining the target device node and the node number corresponding to the target device node based on the connection relationship between the target upper structure node and the device node in the first target topology map; determining the electrical operation to be performed based on the first target topology map and the method list; generating the operation ticket corresponding to the method list based on the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0081] Optionally, the target upper structure node is determined in the first target topology diagram according to the mode list. For example, for a power transfer event, the power supply part of the power system includes bus 1, bus 2, bus 3, power supply No. 1, power supply No. 2 and power supply No. 3, and the corresponding connection relationship is as follows: Figure 6As shown, when switch 1, switch 3 and switch 5 are closed, and switch 2 and switch 4 are open, the power supply object of bus 1 is power supply No. 1, the power supply object of bus 2 is power supply No. 2, and the power supply object of bus 3 is power supply No. 3. When the power transfer event is to convert the power supply of bus 1 from power supply No. 1 to power supply No. 2, the corresponding target upper structure node is the power supply upper structure node corresponding to bus 1, bus 2, bus 3, power supply No. 1, power supply No. 2 and power supply No. 3, then the corresponding target device nodes corresponding to bus 1, bus 2, bus 3, power supply No. 1, power supply No. 2 and power supply No. 3 and switches 1-5 and the node numbers corresponding to the target device nodes can be found through the power supply upper structure node. It should be noted that the above-mentioned target upper structure node may be one or more.
[0082] After determining the target device node and the node number corresponding to the target device node, the electrical operation to be performed when switching the power supply of bus 1 from power supply No. 1 to power supply No. 2 can be obtained according to the first target topology map and the mode sheet. Finally, the above-mentioned operation ticket is generated according to the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0083] In order to accurately generate the electrical operation to be performed, in the operation ticket generation method provided in Example 1 of the present application, the electrical operation to be performed is determined based on the first target topology map and the mode list, including: determining the current state information of the target superstructure node based on the first target topology map and the device state corresponding to the target device node; determining the target state information of the target superstructure node based on the mode list, wherein the target state information is the state information of the target superstructure node after performing the electrical operation; and generating the electrical operation to be performed based on the current state information and the target state information.
[0084] Optionally, the current status information of the target superstructure node is clarified according to the device status corresponding to the first target topology diagram and the target device node. For example, when switch 1, switch 3 and switch 5 are closed and switch 2 and switch 4 are open, the current status corresponding to the power supply superstructure node is that the power supply object of bus 1 is power supply No. 1, the power supply object of bus 2 is power supply No. 2, and the power supply object of bus 3 is power supply No. 3.
[0085] Then, according to the mode list, the target state information of the target superstructure node is determined. For example, after the power supply is converted, the target state information corresponding to the power supply superstructure node is that the power supply object of bus 1 is power supply No. 2, the power supply object of bus 2 is power supply No. 2, and the power supply object of bus 3 is power supply No. 3. Finally, the electrical operation to be performed is obtained according to the current state information and the target state information. For example, for the power conversion event of converting the power supply, the electrical operation to be performed includes: opening switch 1 and closing switch 2.
[0086] It should be noted that after obtaining the current status information and target status information of the target superstructure node, the current status information and target status information can also be checked. The current status information and target status information of the target superstructure node are correct. The initial operation ticket is obtained according to the mapping of the current status information and the target status information, and then the operation ticket is generated through the mapping relationship between the node number obtained above and the corresponding power equipment.
[0087] In summary, the automatic generation from mode order to operation ticket is achieved through offline power system topology analysis and online superstructure node status analysis.
[0088] In an optional embodiment, the following may be used: Figure 7 The schematic diagram shown realizes the generation of the operation ticket of the power transfer event, which mainly includes the steps of sub-graph matching, text parsing, current supply analysis, state mapping, power transfer equipment mapping, etc.
[0089] 1. Subgraph matching
[0090] The input of subgraph matching is the power structure topology corresponding to the power system, mainly the CIM data and telemetry and telesignaling data in the power system, and the output is the structural map (the above-mentioned power topology map) combined according to the task understanding. In the subgraph matching, algorithms such as depth-first traversal and backtracking can be used to achieve the matching of the wiring structure diagram. In the algorithm, the nodes and connection relationships that need to be matched in the relevant wiring structure diagram are configured to realize the extraction and construction of the structural map.
[0091] 2. Text parsing
[0092] Since the method list may involve different types of event types, the embodiment of the present application uses a multi-event joint extraction model based on a pre-trained language model to perform text understanding and extract event argument ontology involved in power outage events, power restoration events, operation events, confirmation events and power transfer events.
[0093] In the embodiment of the present application, a joint model is used to perform multi-event extraction tasks. Since the information of the information extraction task in natural language processing can assist other tasks, the model is usually trained in conjunction with multiple tasks. However, due to the differences between different tasks, there is a lack of a unified processing framework. In the embodiment of the present application, a unified text-to-text generation framework for information extraction is used to achieve unified modeling of different information extraction tasks. In the joint event extraction model used in the embodiment of the application, better results can be obtained on fewer data sets through the auxiliary information of different tasks.
[0094] After the extraction is completed, because the generation of operation tickets for the four types of events, namely power outage events, power restoration events, operation events and confirmation events, is relatively fixed, the extracted argument ontology can be used to assist in the generation of operation tickets. For power transfer events, the corresponding power transfer graph is constructed based on the extracted event argument ontology (that is, the knowledge graph corresponding to the above method).
[0095] 3. Graph Fusion
[0096] The graph fusion input is the two structured graphs generated by the above extraction, including the structural graph and the power transfer graph. The matching fusion of the device nodes in the power transfer graph and the structural graph is realized through the entity linking algorithm, and the output is the constructed underlying graph of the power operating system (that is, the first target topology structure diagram mentioned above).
[0097] 4. Power supply status analysis
[0098] According to the wiring structure nodes in the first target topology diagram in the previous step (i.e. the above-mentioned upper structure nodes), with the help of the connection relationship between the upper structure nodes and the device nodes, the node numbers and the corresponding device nodes are obtained, and based on the first target topology diagram, the current transformer to bus power supply list is formed.
[0099] 5. State Mapping
[0100] For the power supply list generated in the previous step, the current status information of the corresponding wiring structure nodes is inferred, and the target status information of the wiring structure nodes is generated at the same time. Then, the current status information and target status information of the wiring structure nodes are checked. If they are correct, they are stored and the next step is performed. If they are wrong, the current status information or target status information is reported as an error reminder.
[0101] 6. Power transfer equipment mapping
[0102] When the current status information and target status information of the wiring structure nodes are correct, the corresponding operation ticket generation template is obtained according to the mapping of the current status information and the target status information. The node numbers and corresponding device nodes obtained above are used to fill in the nodes in the operation ticket generation template to realize the operation ticket generation.
[0103] In an optional embodiment, if Figure 7 As shown, the operation ticket generation results can also be displayed on the page.
[0104] In an optional embodiment, the above process can also be encapsulated through the Flask framework to realize external exposure of the operation ticket generation interface.
[0105] The generation of operation tickets is one of the core tasks of the dispatching departments at all levels of the power grid, and the verification of operation tickets is also one of the core tasks of the dispatching departments at all levels of the power grid. The correctness of the operation order in the operation ticket is directly related to whether the power grid maintenance work can be carried out normally, and may even affect the safety of power grid operation and the personal safety of operators. Therefore, in the method for generating an operation ticket provided in Example 1 of the present application, after generating an operation ticket corresponding to the mode sheet according to the first target topology map, the method also includes: parsing the operation ticket to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; constructing an operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; verifying the operation ticket according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0106] Optionally, after generating the above-mentioned operation ticket, the operation ticket is parsed to obtain corresponding target data information, wherein the target data information includes but is not limited to the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed. For example, the power-off operation of the power supply includes: step 1, closing the ground switch; step 2, disconnecting the switch; step 3: disconnecting the knife switch.
[0107] In an optional embodiment, an event extraction model based on a pre-trained language model is used for text understanding. The model can adapt to the task of extracting operation orders from various operation tickets in power scenarios, and based on the extracted event-related attributes, the generation of electrical operations to be performed and electrical equipment corresponding to the electrical operations to be performed can be achieved.
[0108] It should be noted that the above-mentioned event extraction model can be trained through pre-labeled operation ticket data. The above-mentioned event extraction model can solve the time-consuming and labor-intensive shortcomings brought by the configuration template. At the same time, the event extraction model can solve the problem that the power attributes in the static text vector are not applicable. Through fine-tuning, it can achieve better results than the traditional model. At the same time, it can recognize various power-specific names that have not appeared before, and is more suitable for scenarios in power scenarios where operation ticket operations make the data changeable.
[0109] After obtaining the above target data information, the corresponding operation map is constructed according to the target data information corresponding to the operation ticket, and then the operation steps in the operation ticket are verified according to the operation map and the second target topology map to obtain the verification result. For the verification result of the operation ticket, a visual map display information of the verification result can be returned in the interactive interface, so that users can find and locate problems more intuitively.
[0110] It should be noted that the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map.
[0111] In an optional embodiment, the above steps can be encapsulated through the Flask framework to form a service interface to realize the encapsulation and exposure of the verification capability. The user can pass in the operation ticket information through the service interface, call the internal operation algorithm, and realize the verification of the correctness of the operation ticket. The Flask framework allows users to more intuitively locate problematic equipment and operation risks, and realize convenient operations for users. At the same time, users can configure and update internal rules through the interactive interface, and use operation and maintenance capabilities to realize lightweight updates of algorithm codes.
[0112] The above-mentioned second target topology diagram can realize multiple verifications of the power grid operation specifications, thereby achieving the effect of accurate verification of the operation ticket.
[0113] In order to improve the accuracy of operation ticket verification, in the operation ticket generation method provided in Example 1 of the present application, before verifying the operation ticket based on the operation map and the second target topology map to obtain the verification result, the method also includes: obtaining multiple operation ticket verification rules of the power system, and constructing a rule map based on the multiple operation ticket verification rules; determining the second target topology map based on the power topology map, the rule map and the operation map.
[0114] Optionally, the power topology diagram of the power system is obtained based on the CIM data and telemetry and telesignaling data in the power system. Then, multiple operation ticket verification rules of the power system are determined. It should be noted that common operation ticket verification rules include structural node status verification, operation sequence lockout verification, busbar topology analysis verification, busbar initial status verification, transformer operation topology analysis, reverse busbar lockout verification, etc.
[0115] It should be noted that the operation ticket verification rules in the power grid are all unstructured representations based on text. In the embodiment of the present application, the rule extraction algorithm can be used to parse the unstructured rule text to form a rule representation composed of logical operators and expressions (i.e., the above-mentioned rule map). The logical operators mainly include symbols such as and, or, not, and equal / not equal, and the logical expressions include logical expressions involving logical operators such as any and all.
[0116] After obtaining the power topology map, rule map and operation map, the power topology structure can be matched with the rules in the rule map through the structure-rule mapping algorithm, and the matching fusion between the nodes in the operation map and the nodes in the power topology structure can be achieved through the entity linking algorithm to obtain the final second target topology map.
[0117] In an optional embodiment, the Figure 8 The schematic diagram shown implements the verification of the operation ticket, which mainly includes subgraph matching, rule extraction, text parsing, entity linking, rule reasoning, operation ticket verification, and visual display.
[0118] 1. Subgraph matching
[0119] The input of subgraph matching is the power structure topology corresponding to the power system, mainly CIM data and telemetry and telesignaling data in the power system, and the output is a structural map (i.e. the above-mentioned power topology map) combined according to task understanding. In subgraph matching, algorithms such as depth-first traversal and backtracking can be used to achieve matching of wiring structure diagrams. In the algorithm, the nodes and connection relationships that need to be matched in the relevant wiring structure diagram are configured to achieve the extraction and construction of the structural map.
[0120] 2. Rule extraction
[0121] The rule representations in the power grid are all unstructured representations based on text. In the embodiment of the present application, the rule extraction algorithm is used to parse the unstructured rule text to form a rule representation composed of logical operators and expressions. The logical operators mainly include symbols such as and, or, not, and equal / not equal, and the logical expressions include logical expressions involving logical operators such as any and all. Among them, the text parsing in the rule extraction and operation ticket parsing can share an event extraction model to perform text extraction and understanding tasks.
[0122] 3. Text parsing
[0123] In the operation ticket parsing, in the embodiment of the present application, an event extraction model based on a pre-trained language model is used for text understanding. This model can adapt to the task of extracting operation commands from various operation tickets in power scenarios, and generate operation event objects based on the extracted event-related attributes.
[0124] In the embodiment of the present application, a text vector representation based on a pre-trained model is used. The automatic extraction model is trained by pre-labeled operation ticket data, which can solve the time-consuming and labor-intensive disadvantages brought by the configuration template. At the same time, the pre-trained model can solve the problem of the inapplicability of power attributes in static text vectors, and achieve better results than traditional models through fine-tuning. At the same time, it can recognize various power-specific names that have not appeared before, which is more suitable for scenarios in power scenarios where operation ticket operations make data changeable.
[0125] 4. Graph Fusion
[0126] The graph fusion input is the three structured graphs generated by the above extraction, including the structure graph, the rule graph and the operation graph. The rule matching in the power topology structure is realized through the structure-rule mapping algorithm, and the matching of the operation graph and the power topology structure is realized through the entity linking algorithm. The output is the constructed power error prevention fusion graph (that is, the second target topology graph mentioned above).
[0127] 5. Operation ticket verification
[0128] According to the grid topology and rules, multiple checks on the grid operation specifications are implemented, including structural node status check, operation sequence lockout check, bus topology analysis check, bus initial status check, transformer operation topology analysis, reverse bus lockout check, etc.
[0129] 6. Visualization
[0130] For the verification results of the operation ticket, a visual map display information of the verification results is returned in the interactive interface, making it more intuitive for users to find and locate problems. The input of the visualization display module is the structural nodes and connection relationships designed in the operation, as well as the error node information.
[0131] 7. Service Interface
[0132] The operation ticket verification capability is encapsulated through the Flask framework as a service interface, which implements the encapsulation and exposure of the verification capability. Users pass in the operation ticket information through the service interface and call the internal operation algorithm to verify the correctness of the operation ticket.
[0133] In an embodiment of the present application, a mode sheet for equipment maintenance in an electric power system is obtained, and an electrical operation event corresponding to the mode sheet is determined, wherein the mode sheet at least includes: equipment information of the target equipment, the current state of the target equipment, and the target state of the target equipment, and the target state is the state of the target equipment after the electrical operation is performed on the target equipment; if the electrical operation event is a target event, the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet are obtained, and a first target topology map is generated based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, and the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity; based on the first target topology map, an operation ticket corresponding to the mode sheet is generated, which solves the technical problem of generating operation tickets based on fixed templates, resulting in relatively low accuracy of generated operation tickets. In this scheme, based on the mode sheet of equipment maintenance in the power system, it is determined whether the electrical operation event corresponding to the mode sheet is a target event. If the electrical operation event is a target event, a first target topology map is generated through the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet. Finally, an operation ticket corresponding to the above-mentioned mode sheet is generated based on the first target topology map. The power topology map corresponding to the power system can be used to accurately analyze the connection status of each device in the power system, and the knowledge graph corresponding to the mode sheet can be used to accurately represent the maintenance operation to be performed. Therefore, the operation ticket corresponding to the mode sheet can be more accurately generated through the first target topology map.
[0134] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0136] Example 2
[0137] According to an embodiment of the present application, a method for generating an operation ticket is also provided, such as Fig. 9 As shown, the processing method includes:
[0138] Step S901, obtaining a method list of equipment maintenance in the power system uploaded by the client, wherein the method list at least includes: equipment information of the target equipment, the current state of the target equipment, and the target state of the target equipment, where the target state is the state of the target equipment after performing electrical operations on the target equipment;
[0139] Step S902: determining an electrical operation event corresponding to the mode order in the cloud server; if the electrical operation event is a target event, obtaining an electric power topology map corresponding to the electric power system and a knowledge graph corresponding to the mode order; and generating a first target topology map based on the electric power topology map corresponding to the electric power system and the knowledge graph corresponding to the mode order; if the execution complexity of the electrical operation corresponding to the target event is higher than a preset complexity, generating an operation ticket corresponding to the mode order based on the first target topology map;
[0140] Step S903, returning the operation ticket corresponding to the method order to the client.
[0141] In the cloud server, the specific method of generating an operation ticket is the same as that in the first embodiment, and will not be repeated here.
[0142] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0144] Example 3
[0145] According to an embodiment of the present application, a device for generating an operation ticket for implementing the above-mentioned method for generating an operation ticket is also provided. Fig.10As shown, the device includes: a first acquiring unit 1001, a first determining unit 1002 and a generating unit 1003.
[0146] The first acquisition unit 1001 is used to acquire a method list of equipment maintenance in the power system and determine an electrical operation event corresponding to the method list, wherein the method list at least includes: equipment information of a target equipment, a current state of the target equipment, and a target state of the target equipment, wherein the target state is a state of the target equipment after an electrical operation is performed on the target equipment;
[0147] The first determining unit 1002 is used for obtaining the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet if the electrical operation event is a target event, and generating a first target topology map according to the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, and the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity;
[0148] The generating unit 1003 is used to generate an operation ticket corresponding to the mode sheet according to the first target topology map.
[0149] In the operation ticket generation device provided in Example 3 of the present application, a method sheet for equipment maintenance in the power system is obtained through the first acquisition unit 1001, and an electrical operation event corresponding to the method sheet is determined, wherein the method sheet at least includes: equipment information of the target equipment, the current state of the target equipment and the target state of the target equipment, and the target state is the state of the target equipment after the electrical operation is performed on the target equipment; if the electrical operation event is a target event, the first determination unit 1002 obtains the power topology map corresponding to the power system and the knowledge graph corresponding to the method sheet, and generates a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the method sheet, and the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity; the generation unit 1003 generates an operation ticket corresponding to the method sheet based on the first target topology map, which solves the technical problem of generating operation tickets based on fixed templates, resulting in relatively low accuracy of generated operation tickets. In this scheme, based on the mode sheet of equipment maintenance in the power system, it is determined whether the electrical operation event corresponding to the mode sheet is a target event. If the electrical operation event is a target event, a first target topology map is generated through the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet. Finally, an operation ticket corresponding to the above-mentioned mode sheet is generated based on the first target topology map. The power topology map corresponding to the power system can be used to accurately analyze the connection status of each device in the power system, and the knowledge graph corresponding to the mode sheet can be used to accurately represent the maintenance operation to be performed. Therefore, the operation ticket corresponding to the mode sheet can be more accurately generated through the first target topology map.
[0150] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the first determination unit includes: a construction subunit, which is used to construct a wiring structure diagram based on the electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power equipment and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; a first determination subunit, which is used to determine the power topology diagram corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system; an extraction subunit, which is used to extract keywords from the information in the method list, obtain keyword information of the method list, and construct a knowledge graph corresponding to the method list based on the keyword information.
[0151] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the first determination unit includes: a second determination sub-unit, used to determine the device nodes in the power topology map and the device nodes in the knowledge graph; a fusion sub-unit, used to perform graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain a first target topology map.
[0152] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the first determination subunit includes: an acquisition module, used to acquire a power grid information model of the power system; a construction module, used to construct a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; an update module, used to update the physical topology map based on the wiring structure diagram to obtain a power topology map.
[0153] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the update module includes: a generation sub-module, which is used to generate multiple upper-level structure nodes in the physical topology diagram based on the wiring structure diagram to obtain an updated physical topology diagram; an update sub-module, which is used to update the updated physical topology diagram based on the connection relationship between the device nodes and the upper-level structure nodes in the wiring structure diagram to obtain a power topology diagram.
[0154] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the generation unit includes: a second determination sub-unit, used to determine the target superstructure node in the first target topology map according to the method list; a third determination sub-unit, used to determine the target device node and the node number corresponding to the target device node according to the connection relationship between the target superstructure node and the device node in the first target topology map; a fourth determination sub-unit, used to determine the electrical operation to be performed based on the first target topology map and the method list; and a generation sub-unit, used to generate an operation ticket corresponding to the method list based on the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0155] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the fourth determination sub-unit includes: a first determination module, used to determine the current status information of the target superstructure node based on the first target topology map and the device status corresponding to the target device node; a second determination module, used to determine the target status information of the target superstructure node based on the method list, wherein the target status information is the status information of the target superstructure node after performing the electrical operation; and a generation module, used to generate the electrical operation to be executed based on the current status information and the target status information.
[0156] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the device also includes: a parsing unit, which is used to parse the operation ticket after generating the operation ticket corresponding to the mode single according to the first target topology map, so as to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; a construction unit, which is used to construct an operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; and a verification unit, which is used to verify the operation ticket according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0157] Optionally, in the operation ticket generation device provided in Example 3 of the present application, the device also includes: a second acquisition unit, used to verify the operation ticket according to the operation map and the second target topology map, and before obtaining the verification result, to obtain multiple operation ticket verification rules of the power system, and to construct a rule map based on the multiple operation ticket verification rules; a second determination unit, to determine the second target topology map based on the power topology map, the rule map and the operation map.
[0158] It should be noted that the first acquisition unit 1001, the first determination unit 1002 and the generation unit 1003 described above correspond to steps S201 to S203 in Embodiment 1, and the examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in Embodiment 1 described above. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Embodiment 1.
[0159] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.
[0160] Example 4
[0161] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal.
[0162] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0163] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: obtaining a mode sheet for equipment maintenance in the power system, and determining the electrical operation event corresponding to the mode sheet, wherein the mode sheet at least includes: device information of the target device, the current state of the target device, and the target state of the target device, and the target state is the state of the target device after the electrical operation is performed on the target device; if the electrical operation event is a target event, obtaining the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, and generating a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, and the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity; based on the first target topology map, generating an operation ticket corresponding to the mode sheet.
[0164] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: obtaining the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, including: constructing a wiring structure diagram based on the electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; determining the power topology map corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system; extracting keywords from the information in the mode sheet to obtain the keyword information of the mode sheet, and constructing the knowledge graph corresponding to the mode sheet based on the keyword information.
[0165] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: generating a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, including: determining the device nodes in the power topology map and the device nodes in the knowledge graph; performing graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain the first target topology map.
[0166] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: determining the power topology map corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system, including: obtaining the power grid information model of the power system; constructing a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; updating the physical topology map based on the wiring structure diagram to obtain the power topology map.
[0167] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: updating the physical topology map according to the wiring structure diagram to obtain the power topology map, including: generating multiple upper structure nodes in the physical topology map according to the wiring structure diagram to obtain an updated physical topology map; updating the updated physical topology map according to the connection relationship between the device nodes and the upper structure nodes in the wiring structure diagram to obtain the power topology map.
[0168] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: based on the first target topology map, generating an operation ticket corresponding to the method list includes: determining the target upper structure node in the first target topology map based on the method list; determining the target device node and the node number corresponding to the target device node based on the connection relationship between the target upper structure node and the device node in the first target topology map; determining the electrical operation to be performed based on the first target topology map and the method list; generating the operation ticket corresponding to the method list based on the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0169] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: determining the electrical operation to be performed based on the first target topology map and the mode sheet, including: determining the current status information of the target superstructure node based on the first target topology map and the device status corresponding to the target device node; determining the target status information of the target superstructure node based on the mode sheet, wherein the target status information is the status information of the target superstructure node after performing the electrical operation; generating the electrical operation to be performed based on the current status information and the target status information.
[0170] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: after generating an operation ticket corresponding to the mode single according to the first target topology map, the method also includes: parsing the operation ticket to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; constructing an operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; verifying the operation ticket according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0171] The above-mentioned computer terminal can execute the program code of the following steps in the method for generating an operation ticket: before verifying the operation ticket based on the operation map and the second target topology map to obtain the verification result, the method also includes: obtaining multiple operation ticket verification rules for the power system, and constructing a rule map based on the multiple operation ticket verification rules; determining the second target topology map based on the power topology map, the rule map and the operation map.
[0172] Optionally, the computer terminal 10 may include: one or more processors and memory. Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for generating the operation ticket in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method for generating the operation ticket. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0173] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: obtain a method sheet for equipment maintenance in the power system, and determine the electrical operation event corresponding to the method sheet, wherein the method sheet at least includes: device information of the target device, the current state of the target device, and the target state of the target device, and the target state is the state of the target device after the electrical operation is performed on the target device; if the electrical operation event is a target event, obtain the power topology map corresponding to the power system and the knowledge graph corresponding to the method sheet, and generate a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the method sheet, and the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity; based on the first target topology map, generate an operation ticket corresponding to the method sheet.
[0174] Optionally, the processor may also execute program code for the following steps: obtaining a power topology diagram corresponding to the power system and a knowledge graph corresponding to the mode list, including: constructing a wiring structure diagram based on electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; determining a power topology diagram corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system; performing keyword extraction on the information in the mode list to obtain keyword information of the mode list, and constructing a knowledge graph corresponding to the mode list based on the keyword information.
[0175] Optionally, the processor may also execute program code for the following steps: generating a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, including: determining device nodes in the power topology map and device nodes in the knowledge graph; performing graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain the first target topology map.
[0176] Optionally, the processor may also execute program code for the following steps: determining the power topology map corresponding to the power system based on the power grid information model and wiring structure diagram of the power system, including: obtaining the power grid information model of the power system; constructing a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; and updating the physical topology map based on the wiring structure diagram to obtain a power topology map.
[0177] Optionally, the processor may also execute program codes for the following steps: updating the physical topology diagram according to the wiring structure diagram to obtain a power topology diagram, including: generating multiple upper structure nodes in the physical topology diagram according to the wiring structure diagram to obtain an updated physical topology diagram; updating the updated physical topology diagram according to the connection relationship between the device nodes and the upper structure nodes in the wiring structure diagram to obtain a power topology diagram.
[0178] Optionally, the processor may also execute program code for the following steps: generating an operation ticket corresponding to a method sheet based on the first target topology map, including: determining a target upper structure node in the first target topology map based on the method sheet; determining a target device node and a node number corresponding to the target device node based on a connection relationship between the target upper structure node and the device node in the first target topology map; determining an electrical operation to be performed based on the first target topology map and the method sheet; generating an operation ticket corresponding to the method sheet based on the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0179] Optionally, the processor may also execute the program code of the following steps: determining the electrical operation to be performed based on the first target topology map and the mode list, including: determining the current state information of the target upper structure node based on the first target topology map and the device state corresponding to the target device node; determining the target state information of the target upper structure node based on the mode list, wherein the target state information is the state information of the target upper structure node after performing the electrical operation; generating the electrical operation to be performed based on the current state information and the target state information.
[0180] Optionally, the processor may also execute program code for the following steps: after generating an operation ticket corresponding to the mode single according to the first target topology map, the method further includes: parsing the operation ticket to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; constructing an operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; verifying the operation ticket according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0181] Optionally, the processor may also execute program code for the following steps: before verifying the operation ticket according to the operation map and the second target topology map to obtain the verification result, the method further includes: obtaining multiple operation ticket verification rules for the power system, and constructing a rule map based on the multiple operation ticket verification rules; determining the second target topology map based on the power topology map, the rule map and the operation map.
[0182] Those skilled in the art will appreciate that a computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices.
[0183] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0184] Example 5
[0185] The embodiment of the present application also provides a computer-readable storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the method for generating an operation ticket provided in the first embodiment.
[0186] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0187] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining a method sheet for equipment maintenance in the power system, and determining an electrical operation event corresponding to the method sheet, wherein the method sheet includes at least: device information of the target device, the current state of the target device, and the target state of the target device, the target state being the state of the target device after performing an electrical operation on the target device; if the electrical operation event is a target event, obtaining a power topology map corresponding to the power system and a knowledge graph corresponding to the method sheet, and generating a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the method sheet, the execution complexity of the electrical operation corresponding to the target event being higher than a preset complexity; generating an operation ticket corresponding to the method sheet based on the first target topology map.
[0188] The above-mentioned storage medium is configured to store program codes for executing the following steps: obtaining a power topology diagram corresponding to the power system and a knowledge graph corresponding to the mode list, including: constructing a wiring structure diagram based on the electrical operations performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operations, wherein the wiring structure diagram includes a device node corresponding to at least one power device and multiple upper structure nodes, and the upper structure node has a connection relationship with at least one device node; determining a power topology diagram corresponding to the power system based on the power grid information model and the wiring structure diagram of the power system; performing keyword extraction on the information in the mode list to obtain keyword information of the mode list, and constructing a knowledge graph corresponding to the mode list based on the keyword information.
[0189] The above-mentioned storage medium is configured to store program codes for executing the following steps: generating a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode single, including: determining the device nodes in the power topology map and the device nodes in the knowledge graph; performing graph fusion based on the device nodes in the power topology map and the device nodes in the knowledge graph to obtain the first target topology map.
[0190] The above-mentioned storage medium is configured to store program codes for executing the following steps: determining the power topology map corresponding to the power system based on the power grid information model and wiring structure diagram of the power system, including: obtaining the power grid information model of the power system; constructing a physical topology map based on the power grid information model of the power system, wherein the physical topology map includes device nodes corresponding to multiple power devices and connection relationships between power devices; updating the physical topology map based on the wiring structure diagram to obtain the power topology map.
[0191] The above-mentioned storage medium is configured to store program codes for executing the following steps: updating the physical topology map according to the wiring structure diagram to obtain the power topology map, including: generating multiple upper structure nodes in the physical topology map according to the wiring structure diagram to obtain an updated physical topology map; updating the updated physical topology map according to the connection relationship between the device nodes and the upper structure nodes in the wiring structure diagram to obtain the power topology map.
[0192] The above-mentioned storage medium is configured to store program codes for executing the following steps: generating an operation ticket corresponding to a method sheet according to the first target topology map, including: determining a target upper structure node in the first target topology map according to the method sheet; determining a target device node and a node number corresponding to the target device node according to a connection relationship between the target upper structure node and the device node in the first target topology map; determining an electrical operation to be performed according to the first target topology map and the method sheet; generating an operation ticket corresponding to the method sheet according to the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
[0193] The above-mentioned storage medium is configured to store program codes for executing the following steps: determining the electrical operation to be performed based on the first target topology map and the mode list, including: determining the current state information of the target upper structure node based on the first target topology map and the device state corresponding to the target device node; determining the target state information of the target upper structure node based on the mode list, wherein the target state information is the state information of the target upper structure node after performing the electrical operation; generating the electrical operation to be performed based on the current state information and the target state information.
[0194] The above-mentioned storage medium is configured to store program codes for executing the following steps: after generating an operation ticket corresponding to the mode single according to the first target topology map, the method further includes: parsing the operation ticket to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; constructing an operation map corresponding to the operation ticket according to the target data information corresponding to the operation ticket; verifying the operation ticket according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
[0195] The above-mentioned storage medium is configured to store program codes for executing the following steps: before verifying the operation ticket according to the operation map and the second target topology map to obtain the verification result, the method also includes: obtaining multiple operation ticket verification rules of the power system, and constructing a rule map based on the multiple operation ticket verification rules; determining the second target topology map based on the power topology map, the rule map and the operation map.
[0196] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0197] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0198] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0199] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0200] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0201] 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, in essence, 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0202] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for generating an operation ticket, characterized in that: include: Obtaining a method list for equipment maintenance in the power system, and determining an electrical operation event corresponding to the method list, wherein the method list at least includes: equipment information of a target equipment, a current state of the target equipment, and a target state of the target equipment, wherein the target state is a state of the target equipment after an electrical operation is performed on the target equipment; If the electrical operation event is a target event, the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet are obtained, and a first target topology map is generated according to the power topology map corresponding to the power system and the knowledge graph corresponding to the mode sheet, and the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity; An operation ticket corresponding to the method list is generated according to the first target topology map.
2. The method according to claim 1, characterized in that Acquiring the power topology map corresponding to the power system and the knowledge map corresponding to the mode list includes: According to the electrical operation performed by the power system before equipment maintenance and the power equipment involved in performing the electrical operation, a wiring structure diagram is constructed, wherein the wiring structure diagram includes a device node corresponding to at least one power equipment and a plurality of upper structure nodes, and the upper structure node has a connection relationship with at least one device node; Determining a power topology diagram corresponding to the power system according to the power grid information model of the power system and the wiring structure diagram; Keyword extraction is performed on the information in the method list to obtain keyword information of the method list, and a knowledge graph corresponding to the method list is constructed based on the keyword information.
3. The method according to claim 1, characterized in that Generating a first target topology map according to the power topology map corresponding to the power system and the knowledge graph corresponding to the mode list includes: Determine the device nodes in the power topology graph and the device nodes in the knowledge graph; The first target topology graph is obtained by performing graph fusion based on the device nodes in the power topology graph and the device nodes in the knowledge graph.
4. The method according to claim 2, characterized in that: Determining the power topology diagram corresponding to the power system according to the power grid information model of the power system and the wiring structure diagram includes: Acquiring a power grid information model of the power system; Constructing a physical topology diagram according to the power grid information model of the power system, wherein the physical topology diagram includes device nodes corresponding to a plurality of power devices and connection relationships between the power devices; The physical topology diagram is updated according to the wiring structure diagram to obtain the power topology diagram.
5. The method according to claim 4, characterized in that The physical topology diagram is updated according to the wiring structure diagram to obtain the power topology diagram, including: According to the wiring structure diagram, generating the plurality of upper structure nodes in the physical topology diagram to obtain an updated physical topology diagram; According to the connection relationship between the device nodes in the wiring structure diagram and the upper structure nodes, the updated physical topology diagram is updated to obtain the power topology diagram.
6. The method according to claim 1, characterized in that Generating an operation ticket corresponding to the mode sheet according to the first target topology map includes: According to the method sheet, determining a target upper structure node in the first target topology map; Determine a target device node and a node number corresponding to the target device node according to a connection relationship between the target upper structure node and the device node in the first target topology graph; Determining an electrical operation to be performed according to the first target topology map and the mode list; An operation ticket corresponding to the method sheet is generated according to the electrical operation to be performed, the target device node and the node number corresponding to the target device node.
7. The method according to claim 6, characterized in that Determining the electrical operation to be performed according to the first target topology map and the mode list includes: Determining current status information of the target upper structure node according to the first target topology map and the device status corresponding to the target device node; According to the method sheet, determining the target state information of the target upper structure node, wherein the target state information is the state information of the target upper structure node after performing the electrical operation; An electrical operation to be performed is generated according to the current state information and the target state information.
8. The method according to claim 1, characterized in that After generating an operation ticket corresponding to the mode sheet according to the first target topology map, the method further includes: Parsing the operation ticket to obtain target data information corresponding to the operation ticket, wherein the target data information includes: the electrical operation to be performed and the electrical equipment corresponding to the electrical operation to be performed; Constructing an operation graph corresponding to the operation ticket according to the target data information corresponding to the operation ticket; The operation ticket is verified according to the operation map and the second target topology map to obtain a verification result, wherein the second target topology map is obtained by the power topology map of the power system, the rule map corresponding to the operation ticket verification rule of the power system, and the operation map, and the verification result is used to characterize whether there is an abnormality in the operation ticket.
9. The method according to claim 8, characterized in that Before verifying the operation ticket according to the operation map and the second target topology map to obtain the verification result, the method further includes: Acquire multiple operation ticket verification rules of the power system, and construct the rule map according to the multiple operation ticket verification rules; The second target topology map is determined according to the power topology map, the rule map and the operation map.
10. A method for generating an operation ticket, characterized in that: include: Obtaining a method list for equipment maintenance in the power system uploaded by a client, wherein the method list at least includes: equipment information of a target equipment, a current state of the target equipment, and a target state of the target equipment, wherein the target state is a state of the target equipment after an electrical operation is performed on the target equipment; Determine in the cloud server the electrical operation event corresponding to the mode order; if the electrical operation event is a target event, obtain the power topology map corresponding to the power system and the knowledge graph corresponding to the mode order; and generate a first target topology map based on the power topology map corresponding to the power system and the knowledge graph corresponding to the mode order; if the execution complexity of the electrical operation corresponding to the target event is higher than the preset complexity, generate an operation ticket corresponding to the mode order based on the first target topology map; The operation ticket corresponding to the method order is returned to the client.
11. A device for generating an operation ticket, characterized in that: include: A first acquisition unit is used to acquire a method list of equipment maintenance in the power system and determine an electrical operation event corresponding to the method list, wherein the method list at least includes: equipment information of a target equipment, a current state of the target equipment, and a target state of the target equipment, wherein the target state is a state of the target equipment after an electrical operation is performed on the target equipment; A first determination unit is used for obtaining, if the electrical operation event is a target event, an electric power topology map corresponding to the electric power system and a knowledge graph corresponding to the mode sheet, and generating a first target topology map according to the electric power topology map corresponding to the electric power system and the knowledge graph corresponding to the mode sheet, and the execution complexity of the electric operation corresponding to the target event is higher than a preset complexity; A generating unit is used to generate an operation ticket corresponding to the mode sheet according to the first target topology map.
12. 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 storage medium is located is controlled to execute the method for generating an operation ticket according to any one of claims 1 to 10.
13. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program, when running, executes the method for generating an operation ticket as described in any one of claims 1 to 10.