Distribution network intelligent operation ticket generation method and device, and intelligent operation ticket generation tool
Through OCR technology, the operation ticket templates are identified and filled, combined with custom templates and instruction libraries, the problems of low efficiency and poor flexibility in operation ticket generation in the existing technology are solved, efficient and accurate operation ticket generation is achieved, and the safety of the power grid is improved. Sex and responsiveness.
Patent Information
- Application Number
- CN202411034237.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-08
AI Technical Summary
The existing intelligent operation ticket generation system has bottlenecks in data processing and response speed in emergencies, and the functional modules and architecture designs are relatively fixed, making it difficult to flexibly adjust and expand, resulting in low efficiency in operation ticket generation.
OCR technology is used to identify the image information of the distribution network equipment, extract key information and match it with the operation ticket template to generate the initial operation ticket, and use logical verification to ensure that it complies with the operation specifications and safety requirements, and supports user-defined operation tickets. Template and directive library for flexibility and scalability.
It improves the efficiency and accuracy of operation ticket generation, ensures that accurate operation tickets are generated quickly in emergencies, reduces system maintenance costs and complexity, and enhances the safe operation level of the power grid.
Smart Images

Figure CN118917290A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of operation ticket generation, and in particular to a method for generating a distribution network intelligent operation ticket, a generating device, an intelligent operation ticket generating tool and a computer program product. Background Art
[0002] In the power system, the preparation of operation tickets is an important part of ensuring the safe and stable operation of the power grid. The correctness of the operation ticket is directly related to the operational safety of electrical equipment, personnel safety, and the overall stability of the power grid. With the continuous development and complexity of the power system, the traditional manual preparation of operation tickets can no longer meet the requirements of modern power grids for safety, accuracy, and efficiency. Therefore, the research and development of intelligent operation ticket generation systems has become an important topic in the power field.
[0003] The intelligent operation ticket generation system is based on computer technology and artificial intelligence technology, and realizes the automatic generation and management of operation tickets through graphic modeling, data editing, intelligent reasoning, etc. The system can not only reduce the labor intensity of operators and improve the efficiency of ticket issuance, but also effectively reduce misoperation accidents caused by human factors and improve the level of safe power operation.
[0004] Most of the existing intelligent operation ticket generation systems are based on expert systems, graphic systems or integrated automation systems. These systems automatically generate standardized operation tickets based on pre-defined operation rules, equipment models and topological relationships, combined with the operation tasks input by the user. However, different systems differ in specific implementation methods, functional modules and performance indicators. Although the integrated automation system can generate operation tickets based on real-time monitoring data, in some cases, the real-time performance of the system may not meet the requirements. Especially in the event of an emergency in the power grid, the system needs to respond quickly and generate accurate operation tickets, and the existing system may have bottlenecks in data processing and response speed. Existing systems are often relatively fixed in functional modules and architectural design, making it difficult to flexibly adjust and expand according to actual needs. With the development of the power system and the application of new technologies, the system may need to be frequently upgraded and modified, increasing costs and maintenance difficulties. Summary of the invention
[0005] The main purpose of the present application is to provide a method for generating a distribution network intelligent operation ticket, a generating device, an intelligent operation ticket generating tool and a computer program product, so as to at least solve the problem of low efficiency of operation ticket generation in the prior art. The present application solves the problem of low efficiency of operation ticket generation in the prior art.
[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for generating a distribution network intelligent operation ticket is provided, comprising: obtaining valid device image information of a target distribution network device, wherein the target distribution network device is any device for constructing and maintaining a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; using OCR technology to perform text recognition on the valid device image information to obtain character information; extracting key information from the character information, wherein the key information at least includes a device number, an operation type, and an operation sequence; matching and filling the key information with a current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, wherein the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates; performing a logic check on the initial operation ticket, and if the initial operation ticket passes the logic check, determining that the initial operation ticket is the target operation ticket for the target distribution network device, wherein the logic check is used to verify that all information in the initial operation ticket complies with operation specifications and safety requirements.
[0007] Optionally, before obtaining the effective device image information of the target network distribution device, the method also includes: obtaining the original device image information of the target network distribution device; performing a preprocessing operation on the original device image information to obtain the effective device image information, and the preprocessing operation at least includes denoising, binarization and image enhancement processing.
[0008] Optionally, before matching and filling the key information with the current operation ticket template to generate an initial operation ticket, the method also includes: obtaining operation requirements for all distribution network devices, the operation requirements at least including safety measures, operation sequence and operation instructions corresponding to the distribution network devices; generating an operation ticket template corresponding to each distribution network device according to the operation requirements, the operation ticket template being used to limit the standard format and standard content of generating the operation ticket; determining variable parameters according to each operation ticket template, and setting placeholders in the operation ticket template according to the variable parameters to obtain all first operation ticket templates, the variable parameters including device name and operation time, and the placeholders being used to match and fill in the variable parameters of each distribution network device; reviewing all first operation ticket templates to ensure that the first operation ticket templates comply with safety specifications; storing the first operation ticket templates that have passed the review in a template library, and selecting the current operation ticket template corresponding to the target distribution network device from the template library.
[0009] Optionally, after storing the first operation ticket template that has passed the review in the template library, the method further includes: obtaining all operation instructions, and storing all the operation instructions in the instruction library, the operation instructions at least including various instructions for switch operation, equipment start and stop, and parameter setting of the distribution network equipment; selecting target operation instructions and a second operation ticket template according to the target distribution network equipment, the target operation instructions are any one or more of the operation instructions in the instruction library, and the second operation ticket template is any one of the operation ticket templates in the template library; performing operation actions in a graphical interface to adjust the arrangement position of the target operation instructions in the second operation ticket template according to the operation actions to obtain a custom operation ticket template, the operation actions at least including dragging actions, pasting actions and deleting actions, and the graphical interface at least including search functions, filtering functions and sorting functions; storing the custom operation ticket template in the template library.
[0010] Optionally, after determining that the initial operation ticket is the target operation ticket of the target distribution network device, the method further includes: storing all operation ticket-related data to a local device, and preloading the template library and the instruction library to enable the operation of generating an operation ticket to be performed without a network, the operation ticket-related data including at least the instruction library, the template library and historical operation tickets.
[0011] Optionally, after performing a logical check on the initial operation ticket, the method further includes: if the initial operation ticket fails the logical check, controlling the update of the current operation ticket template to obtain a new operation ticket template, so that the operation ticket obtained after matching and filling the key information with the new operation ticket template passes the logical check.
[0012] Optionally, after performing a logic check on the initial operation ticket, the method further includes: if the initial operation ticket fails the logic check, correcting the data in the initial operation ticket so that the corrected operation ticket passes the logic check.
[0013] According to another aspect of the present application, a device for generating a distribution network intelligent operation ticket is provided, the device comprising: a first acquisition unit, used to acquire valid device image information of a target distribution network device, the target distribution network device is any device for constructing and maintaining a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; an identification unit, used to perform text recognition on the valid device image information using OCR technology to obtain character information; an extraction unit, used to extract key information from the character information, the key information at least including a device number, an operation type, and an operation sequence; a filling unit, used to perform a matching and filling operation on the key information and a current operation ticket template to generate an initial operation ticket, the matching and filling operation is an operation of filling the key information into the current operation ticket template, the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates; a first determination unit, used to perform a logic check on the initial operation ticket, and if the initial operation ticket passes the logic check, determine that the initial operation ticket is the target operation ticket of the target distribution network device, and the logic check is used to verify that all information in the initial operation ticket meets the operation specifications and safety requirements.
[0014] According to another aspect of the present application, there is provided an intelligent operation ticket generation tool, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods.
[0015] According to another aspect of the present application, a computer program product is provided, comprising computer instructions, wherein when the computer instructions are executed by a processor, any one of the methods described above is implemented.
[0016] Applying the technical solution of the present application, in the method for generating a distribution network intelligent operation ticket, first, obtain the valid device image information of the target distribution network device, the target distribution network device is any device for the construction and maintenance of the power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; then, use the OCR technology to perform text recognition on the valid device image information to obtain character information; then, extract key information from the character information, the key information at least includes the device number, operation type and operation sequence; then, match and fill the key information with the current operation ticket template to generate an initial operation ticket, the matching and filling operation is to fill the key information into the current operation ticket template, the current operation ticket template is the template for currently generating the operation ticket in the template library, and the template library is used to store all operation ticket templates; finally, perform a logic check on the initial operation ticket, and when the initial operation ticket passes the logic check, determine that the initial operation ticket is the target operation ticket for the target distribution network device, and the logic check is used to verify that all information in the initial operation ticket meets the operation specifications and safety requirements. This application uses OCR technology to perform text recognition on the image information of the distribution network equipment, converts it into corresponding text information, and then fills the text information into the current operation ticket template to generate an initial operation ticket, and then performs a logical check on the initial operation ticket template to ensure that the generated operation ticket meets the operation specifications and safety requirements. The operation ticket templates stored in the template library can be customized by the user according to actual conditions. This application solves the problem of low efficiency in generating operation tickets in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing a method for generating a distribution network intelligent operation ticket provided in an embodiment of the present application is shown;
[0018] Figure 2 A schematic diagram of a flow chart of a method for generating a distribution network intelligent operation ticket provided in accordance with an embodiment of the present application is shown;
[0019] Figure 3 A structural block diagram of a device for generating a distribution network intelligent operation ticket provided according to an embodiment of the present application is shown.
[0020] The above drawings include the following reference numerals:
[0021] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] As introduced in the background technology, existing systems in the prior art are often relatively fixed in functional modules and architectural design, and are difficult to flexibly adjust and expand according to actual needs. In order to solve the problem of low efficiency in operation ticket generation in the prior art, the embodiments of the present application provide a method for generating a distribution network intelligent operation ticket, a generating device, an intelligent operation ticket generating tool and a computer program product.
[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0027] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal for generating a distribution network intelligent operation ticket according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. 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 mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. 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 examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal 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 a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as 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 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] In this embodiment, a method for generating a distribution network intelligent operation ticket running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the 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.
[0030] Figure 2 1 is a flow chart of a method for generating a distribution network intelligent operation ticket according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0031] Step S201, obtaining valid device image information of a target distribution network device, wherein the target distribution network device is any device used for construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device.
[0032] Specifically, select appropriate image acquisition equipment, such as high-resolution cameras, drones, and mobile scanning equipment, to collect effective device image information of the target distribution network equipment, and ensure that the collected images are clear, unobstructed, and evenly lit to facilitate subsequent processing and identification.
[0033] Step S202: using OCR technology to perform text recognition on the above-mentioned valid device image information to obtain character information.
[0034] Specifically, it is a common practice to use OCR (Optical Character Recognition) technology to process text recognition tasks in images. OCR technology can convert text in document images or scene images into text data. Therefore, by using OCR technology to perform text recognition on the above-mentioned valid device image information, character information about the target distribution network device can be obtained.
[0035] Step S203, extracting key information from the character information, wherein the key information at least includes a device number, an operation type and an operation sequence.
[0036] Specifically, key information related to generating the operation ticket is extracted from the above character information so as to subsequently generate the operation ticket.
[0037] Step S204, match and fill the above key information with the current operation ticket template to generate an initial operation ticket. The above matching and filling operation is to fill the above key information into the above current operation ticket template. The above current operation ticket template is the template for currently generating the operation ticket in the template library. The above template library is used to store all operation ticket templates.
[0038] Specifically, the current operation ticket template is a template for generating corresponding operation tickets for the above-mentioned target distribution network equipment. There are some reserved positions in the current operation ticket template, which are placeholders. The above-mentioned key information is filled into the corresponding placeholders to obtain a complete operation ticket, that is, the above-mentioned initial operation ticket.
[0039] Step S205, perform a logic check on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, determine that the above-mentioned initial operation ticket is the target operation ticket of the above-mentioned target distribution network device. The above-mentioned logic check is used to verify that all information in the above-mentioned initial operation ticket complies with the operation specifications and safety requirements.
[0040] Specifically, after the initial operation ticket is generated, it is necessary to further determine whether the initial operation ticket complies with the operating specifications and safety requirements. Therefore, a logic check is performed on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, it means that the initial operation ticket does not meet the operating specifications and safety requirements. Then, the above-mentioned initial operation ticket is determined to be the target operation ticket for the above-mentioned target distribution network equipment, and the power operation is subsequently performed according to the target operation ticket.
[0041] In this embodiment, first, the valid device image information of the target distribution network equipment is obtained, the target distribution network equipment is any device for the construction and maintenance of the power distribution network system, and the valid device image information is information that can accurately identify the target distribution network equipment; then, the OCR technology is used to perform text recognition on the valid device image information to obtain character information; then, key information is extracted from the character information, and the key information at least includes the device number, operation type and operation sequence; then, the key information is matched and filled with the current operation ticket template to generate an initial operation ticket, the matching and filling operation is to fill the key information into the current operation ticket template, the current operation ticket template is the template for currently generating the operation ticket in the template library, and the template library is used to store all operation ticket templates; finally, the initial operation ticket is logically checked, and when the initial operation ticket passes the logical check, it is determined that the initial operation ticket is the target operation ticket of the target distribution network equipment, and the logical check is used to verify that all information in the initial operation ticket meets the operation specifications and safety requirements. This application uses OCR technology to perform text recognition on the image information of the distribution network equipment, converts it into corresponding text information, and then fills the text information into the current operation ticket template to generate an initial operation ticket, and then performs a logical check on the initial operation ticket template to ensure that the generated operation ticket meets the operation specifications and safety requirements. The operation ticket templates stored in the template library can be customized by the user according to actual conditions. This application solves the problem of low efficiency in generating operation tickets in the prior art.
[0042] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the method for generating a distribution network intelligent operation ticket of the present application will be described in detail below in combination with specific embodiments.
[0043] In order to improve the accuracy and efficiency of text recognition, in an optional implementation manner, before the above step S201, the method further includes:
[0044] Step S301, obtaining the original device image information of the target distribution network device;
[0045] Step S302, performing a preprocessing operation on the original device image information to obtain the effective device image information, wherein the preprocessing operation at least includes denoising, binarization and image enhancement processing.
[0046] In the above embodiment, before identifying the distribution network equipment information based on the optical character recognition (OCR) technology, a series of preprocessing operations need to be performed on the original image of the distribution network equipment. These preprocessing operations help improve the accuracy and efficiency of recognition. First, it is necessary to obtain the original device images of the labels, nameplates or signs on the distribution network equipment, which can be collected by devices such as digital cameras, mobile phones or scanners. - The original image may contain noise, such as dust, scratches, uneven lighting, etc., which will affect the subsequent image processing and text recognition. Use a denoising algorithm (such as Gaussian blur, median filtering, bilateral filtering, etc.) to reduce image noise and make the image clearer. Binarization is the process of converting an image into only two pixel values (usually black and white), which helps to highlight the text information. In order to improve the recognizability of the text, the contrast and clarity of the text can be improved by image enhancement technology. Common image enhancement methods include histogram equalization, contrast enhancement, edge enhancement, etc. If the image is blurred, a deblurring algorithm (such as Wiener filtering, blind deconvolution, etc.) can be used to improve the clarity of the image.
[0047] In order to improve the efficiency of generating the operation ticket, in an optional implementation manner, before the above step S204, the method further includes:
[0048] Step S401, obtaining the operation requirements of all network distribution devices, wherein the operation requirements at least include safety measures, operation sequence and operation instructions corresponding to the network distribution devices;
[0049] Step S402, generating an operation ticket template corresponding to each of the above-mentioned distribution network devices according to the above-mentioned operation requirements, wherein the above-mentioned operation ticket template is used to limit the standard format and standard content of generating the above-mentioned operation ticket;
[0050] Step S403, determining variable parameters according to each of the above operation ticket templates, and setting placeholders in the above operation ticket templates according to the above variable parameters, to obtain all first operation ticket templates, wherein the above variable parameters include device name and operation time, and the above placeholders are used to match and fill in the above variable parameters of each of the above distribution network devices;
[0051] Step S404, reviewing all the first operation ticket templates to ensure that the first operation ticket templates meet the safety specifications;
[0052] Step S405: store the approved first operation ticket template into a template library, and select the current operation ticket template corresponding to the target network distribution device from the template library.
[0053] In the above embodiment, in order to create a template library, it is necessary to first obtain the operation requirements of all distribution network devices in order to define the elements of the operation ticket template, according to the elements that the operation ticket template needs to contain, such as operation items, operation steps, safety tips, etc. Determine the template format, and achieve it by designing the layout of the template, including visual elements such as fonts, font sizes, and colors. Create an empty operation ticket template according to the template format, etc., and set some placeholders in this empty operation ticket template. The specific content to be filled in these placeholders varies depending on the distribution network equipment, so as to fill in the template later. Obtain a preliminary operation ticket template, that is, the above-mentioned first operation ticket template, and all the above-mentioned first operation ticket templates need to be reviewed to ensure that the above-mentioned first operation ticket template meets the safety specifications, and the first operation ticket template that has passed the review is stored in the template library. In addition, the above-mentioned template library needs to be integrated into the intelligent operation ticket generation tool to ensure that users can access and use the operation ticket template through the tool.
[0054] In order to improve the flexibility and scalability of the operation ticket template, in an optional implementation, after the above step S405, the method further includes:
[0055] Step S501, obtaining all operation instructions, and storing all the above operation instructions in an instruction library, wherein the above operation instructions at least include instructions for switch operation, equipment start and stop, and parameter setting of various above distribution network devices;
[0056] Step S502, selecting a target operation instruction and a second operation ticket template according to the target distribution network device, the target operation instruction is any one or more of the operation instructions in the instruction library, and the second operation ticket template is any one of the operation ticket templates in the template library;
[0057] Step S503, performing an operation in a graphical interface to adjust the arrangement position of the target operation instruction in the second operation ticket template according to the operation to obtain a custom operation ticket template, wherein the operation includes at least a dragging action, a pasting action and a deleting action, and the graphical interface includes at least a search function, a filtering function and a sorting function;
[0058] Step S504, storing the above-mentioned customized operation ticket template in the above-mentioned template library.
[0059] In the above embodiment, building a template through an instruction library is a core function, which allows users to select and combine instructions to generate personalized operation ticket templates according to different operation tasks and requirements, meet the needs of daily operation and maintenance personnel, and realize fast editing of operation ticket templates through flexible dragging, free editing, etc. First, it is necessary to collect and organize all possible operation instructions in the power system. These operation instructions may include switch operation, circuit breaker operation, protection device setting, etc. In order to improve efficiency, the collected operation instructions can also be classified according to function and purpose for easy management and retrieval. For example, it can be divided into "switch operation class", "protection setting class", "safety measures class", etc. For a series of basic templates stored in the template library, these templates can cover common operation tasks, and each basic template contains a series of preset instruction positions, and users can insert or delete corresponding operation instructions at these positions. Select a basic template from the template library as a starting point, or create a new blank template, that is, the above-mentioned second operation ticket template, browse and select the required operation instructions in the instruction library, that is, the above-mentioned target operation instructions. Place these target operation instructions in the corresponding position of the template by dragging. Users can freely adjust the order of the target operation instructions to meet specific operation processes and logic. In the instruction position of the template, users can enter or select specific work content, such as device name, operation parameters, etc. The system provides an instruction copy function, allowing users to quickly copy and paste instructions to improve the efficiency of template editing. After the template editing is completed, the above-mentioned custom operation ticket template is obtained, and the custom operation ticket template is saved in the template library for next use or sharing with other users. The above method supports custom operation ticket templates according to actual conditions, which can solve the problem of poor flexibility and scalability.
[0060] In order to improve real-time performance, in an optional implementation manner, after the above step S205, the method further includes:
[0061] Step S601, stores all operation ticket related data to the local device, and preloads the above template library and the above instruction library so that the operation of generating operation tickets can be performed without a network. The above operation ticket related data at least includes the above instruction library, the above template library and historical operation tickets.
[0062] In the above embodiment, in order to optimize the data processing and response mechanism of the intelligent operation ticket generation tool and improve the real-time performance of the intelligent operation ticket generation tool, the intelligent operation ticket generation tool accelerates the data processing speed and response speed through the isolated network operation mode, ensuring that accurate operation tickets can be quickly generated and entered into the system when an emergency occurs in the power grid. Therefore, the intelligent operation ticket generation tool has a local data storage mechanism, which can store all operation ticket related data to the local device, so as to store, generate, edit and verify the operation ticket data without network connection, without relying on remote servers or cloud services. Of course, before deployment, the intelligent operation ticket generation tool needs to undergo multiple levels of testing to ensure performance and reliability in the isolated network operation mode.
[0063] In order to ensure the accuracy of the generated operation ticket, in an optional implementation, after the above step S205, the method further includes:
[0064] Step S701, when the above-mentioned initial operation ticket fails the above-mentioned logic check, control to update the above-mentioned current operation ticket template to obtain the above-mentioned new operation ticket template, so that the operation ticket obtained after matching and filling the above-mentioned key information with the new operation ticket template passes the above-mentioned logic check.
[0065] In the above embodiment, the main purpose of the logic check is to ensure that the content of the operation ticket complies with the logic, rules and safety requirements, and to avoid power grid accidents caused by errors in the operation ticket. In the case where the above initial operation ticket fails the above logic check, it may be that there is a problem with the operation ticket template that generated the initial operation ticket at that time. Specifically, the operation ticket template of other distribution network equipment may be used, and the operation ticket template lacks the necessary information required by the target distribution network equipment, resulting in the failure of the logic check. The logic check includes sequence check, equipment status check, safety measure check, operation authority check, operation range check, dependency check, time check, repeated operation check and error correction check. The above sequence check is used to ensure that the operation sequence in the operation ticket conforms to the actual process and specifications of the power grid operation. The above equipment status check is used to check whether the equipment status involved in the operation ticket is consistent with the current power grid operation status. The above safety measure check is used to confirm whether the safety measures in the operation ticket are comprehensive, such as whether the necessary grounding, isolation and other safety operations are included. The above operation authority check is used to check whether the personnel performing the operation have the corresponding operation authority. The above operation range check is used to ensure that the operation in the operation ticket does not exceed the authorization scope of the operator. The above dependency check is used to check whether the operation in the operation ticket depends on the completion of other operations. The above time check is used to check the time requirements of the operation ticket to ensure that the operation is completed within the specified time. The above repeated operation check is used to avoid repeated operation steps in the operation ticket. The above error correction check is used to detect whether there are logical errors in the operation ticket and to discover and correct them in time.
[0066] In order to ensure the accuracy of the generated operation ticket, in an optional implementation, after the above step S205, the method further includes:
[0067] Step S801, when the initial operation ticket fails to pass the logic check, the data in the initial operation ticket is corrected so that the corrected operation ticket passes the logic check.
[0068] In the above embodiment, when the above initial operation ticket fails to pass the above logic check, the operator may edit and correct it so that the corrected operation ticket passes the above logic check.
[0069] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0070] The embodiment of the present application also provides a device for generating a distribution network intelligent operation ticket. It should be noted that the device for generating a distribution network intelligent operation ticket of the embodiment of the present application can be used to execute the method for generating a distribution network intelligent operation ticket provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0071] The following introduces the device for generating the distribution network intelligent operation ticket provided in the embodiment of the present application.
[0072] Figure 3 1 is a structural block diagram of a device for generating a distribution network intelligent operation ticket according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0073] The first acquisition unit 10 is used to acquire valid device image information of a target distribution network device, where the target distribution network device is any device used for construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device.
[0074] Specifically, select appropriate image acquisition equipment, such as high-resolution cameras, drones, and mobile scanning equipment, to collect effective device image information of the target distribution network equipment, and ensure that the collected images are clear, unobstructed, and evenly lit to facilitate subsequent processing and identification.
[0075] The recognition unit 20 is used to perform text recognition on the above-mentioned valid device image information using OCR technology to obtain character information.
[0076] Specifically, it is a common practice to use OCR (Optical Character Recognition) technology to process text recognition tasks in images. OCR technology can convert text in document images or scene images into text data. Therefore, by using OCR technology to perform text recognition on the above-mentioned valid device image information, character information about the target distribution network device can be obtained.
[0077] The extraction unit 30 is used to extract key information from the character information, where the key information at least includes a device number, an operation type and an operation sequence.
[0078] Specifically, key information related to generating the operation ticket is extracted from the above character information so as to subsequently generate the operation ticket.
[0079] The filling unit 40 is used to match and fill the above-mentioned key information with the current operation ticket template to generate an initial operation ticket. The above-mentioned matching and filling operation is an operation to fill the above-mentioned key information into the above-mentioned current operation ticket template. The above-mentioned current operation ticket template is a template for currently generating an operation ticket in the template library. The above-mentioned template library is used to store all operation ticket templates.
[0080] Specifically, the current operation ticket template is a template for generating corresponding operation tickets for the above-mentioned target distribution network equipment. There are some reserved positions in the current operation ticket template, which are placeholders. The above-mentioned key information is filled into the corresponding placeholders to obtain a complete operation ticket, that is, the above-mentioned initial operation ticket.
[0081] The first determination unit 50 is used to perform a logic check on the above-mentioned initial operation ticket. When the above-mentioned initial operation ticket passes the above-mentioned logic check, the above-mentioned initial operation ticket is determined to be the target operation ticket of the above-mentioned target distribution network device. The above-mentioned logic check is used to verify that all information in the above-mentioned initial operation ticket complies with the operation specifications and safety requirements.
[0082] Specifically, after the initial operation ticket is generated, it is necessary to further determine whether the initial operation ticket complies with the operating specifications and safety requirements. Therefore, a logic check is performed on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, it means that the initial operation ticket does not meet the operating specifications and safety requirements. Then, the above-mentioned initial operation ticket is determined to be the target operation ticket for the above-mentioned target distribution network equipment, and the power operation is subsequently performed according to the target operation ticket.
[0083] In this embodiment, a first acquisition unit is used to acquire valid device image information of a target distribution network device, the target distribution network device is any device for constructing and maintaining a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; an identification unit is used to perform text recognition on the valid device image information using OCR technology to obtain character information; an extraction unit is used to extract key information from the character information, and the key information at least includes a device number, an operation type, and an operation sequence; a filling unit is used to perform a matching and filling operation on the key information and a current operation ticket template to generate an initial operation ticket, the matching and filling operation is an operation of filling the key information into the current operation ticket template, the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates; a first determination unit is used to perform a logic check on the initial operation ticket, and when the initial operation ticket passes the logic check, the initial operation ticket is determined to be the target operation ticket of the target distribution network device, and the logic check is used to verify that all information in the initial operation ticket meets the operation specifications and safety requirements. This application uses OCR technology to perform text recognition on the image information of the distribution network equipment, converts it into corresponding text information, and then fills the text information into the current operation ticket template to generate an initial operation ticket, and then performs a logical check on the initial operation ticket template to ensure that the generated operation ticket meets the operation specifications and safety requirements. The operation ticket templates stored in the template library can be customized by the user according to actual conditions. This application solves the problem of low efficiency in generating operation tickets in the prior art.
[0084] In order to improve the accuracy and efficiency of text recognition, in an optional implementation manner, the device further includes:
[0085] A second acquisition unit is used to acquire original device image information of the target network distribution device before acquiring valid device image information of the target network distribution device;
[0086] The preprocessing unit is used to perform a preprocessing operation on the original device image information to obtain the effective device image information. The preprocessing operation at least includes denoising, binarization and image enhancement processing.
[0087] In the above embodiment, before identifying the distribution network equipment information based on the optical character recognition (OCR) technology, a series of preprocessing operations need to be performed on the original image of the distribution network equipment. These preprocessing operations help improve the accuracy and efficiency of recognition. First, it is necessary to obtain the original device images of the labels, nameplates or signs on the distribution network equipment, which can be collected by devices such as digital cameras, mobile phones or scanners. - The original image may contain noise, such as dust, scratches, uneven lighting, etc., which will affect the subsequent image processing and text recognition. Use a denoising algorithm (such as Gaussian blur, median filtering, bilateral filtering, etc.) to reduce image noise and make the image clearer. Binarization is the process of converting an image into only two pixel values (usually black and white), which helps to highlight the text information. In order to improve the recognizability of the text, the contrast and clarity of the text can be improved by image enhancement technology. Common image enhancement methods include histogram equalization, contrast enhancement, edge enhancement, etc. If the image is blurred, a deblurring algorithm (such as Wiener filtering, blind deconvolution, etc.) can be used to improve the clarity of the image.
[0088] In order to improve the efficiency of generating operation tickets, in an optional implementation manner, the device further includes:
[0089] A third acquisition unit is used to obtain the operation requirements of all distribution network devices before matching and filling the above-mentioned key information with the current operation ticket template to generate an initial operation ticket, wherein the above-mentioned operation requirements at least include safety measures, operation sequence and operation instructions corresponding to the above-mentioned distribution network devices;
[0090] A generating unit, used to generate an operation ticket template corresponding to each of the above-mentioned distribution network devices according to the above-mentioned operation requirements, wherein the above-mentioned operation ticket template is used to limit the standard format and standard content of the above-mentioned operation ticket;
[0091] A second determination unit is used to determine variable parameters according to each of the above operation ticket templates, and set placeholders in the above operation ticket templates according to the above variable parameters to obtain all first operation ticket templates, wherein the above variable parameters include device name and operation time, and the above placeholders are used to match and fill in the above variable parameters of each of the above distribution network devices;
[0092] An audit unit, used to audit all the first operation ticket templates to ensure that the first operation ticket templates comply with safety regulations;
[0093] The first storage unit is used to store the approved first operation ticket template into a template library, and select the current operation ticket template corresponding to the target distribution network device from the template library.
[0094] In the above embodiment, in order to create a template library, it is necessary to first obtain the operation requirements of all distribution network devices in order to define the elements of the operation ticket template, according to the elements that the operation ticket template needs to contain, such as operation items, operation steps, safety tips, etc. Determine the template format, and achieve it by designing the layout of the template, including visual elements such as fonts, font sizes, and colors. Create an empty operation ticket template according to the template format, etc., and set some placeholders in this empty operation ticket template. The specific content to be filled in these placeholders varies depending on the distribution network equipment, so as to fill in the template later. Obtain a preliminary operation ticket template, that is, the above-mentioned first operation ticket template, and all the above-mentioned first operation ticket templates need to be reviewed to ensure that the above-mentioned first operation ticket template meets the safety specifications, and the first operation ticket template that has passed the review is stored in the template library. In addition, the above-mentioned template library needs to be integrated into the intelligent operation ticket generation tool to ensure that users can access and use the operation ticket template through the tool.
[0095] In order to improve the flexibility and scalability of the operation ticket template, in an optional implementation, the device further includes:
[0096] A fourth acquisition unit is used to acquire all operation instructions after storing the approved first operation ticket template in the template library, and store all the above operation instructions in the instruction library, wherein the above operation instructions at least include the switch operation, equipment start and stop, and parameter setting instructions of various above distribution network devices;
[0097] A selection unit is used to select a target operation instruction and a second operation ticket template according to the target distribution network device, the target operation instruction is any one or more of the operation instructions in the instruction library, and the second operation ticket template is any one of the operation ticket templates in the template library;
[0098] An execution unit, configured to obtain a customized operation ticket template by executing an operation action in a graphical interface to adjust the arrangement position of the target operation instruction in the second operation ticket template according to the operation action, wherein the operation action at least includes a drag action, a paste action, and a delete action, and the graphical interface at least includes a search function, a filter function, and a sorting function;
[0099] The second storage unit is used to store the above-mentioned customized operation ticket template in the above-mentioned template library.
[0100] In the above embodiment, building a template through an instruction library is a core function, which allows users to select and combine instructions to generate personalized operation ticket templates according to different operation tasks and requirements, meet the needs of daily operation and maintenance personnel, and realize fast editing of operation ticket templates through flexible dragging, free editing, etc. First, it is necessary to collect and organize all possible operation instructions in the power system. These operation instructions may include switch operation, circuit breaker operation, protection device setting, etc. In order to improve efficiency, the collected operation instructions can also be classified according to function and purpose for easy management and retrieval. For example, it can be divided into "switch operation class", "protection setting class", "safety measures class", etc. For a series of basic templates stored in the template library, these templates can cover common operation tasks, and each basic template contains a series of preset instruction positions, and users can insert or delete corresponding operation instructions at these positions. Select a basic template from the template library as a starting point, or create a new blank template, that is, the above-mentioned second operation ticket template, browse and select the required operation instructions in the instruction library, that is, the above-mentioned target operation instructions. Place these target operation instructions in the corresponding position of the template by dragging. Users can freely adjust the order of the target operation instructions to meet specific operation processes and logic. In the instruction position of the template, users can enter or select specific work content, such as device name, operation parameters, etc. The system provides an instruction copy function, allowing users to quickly copy and paste instructions to improve the efficiency of template editing. After the template editing is completed, the above-mentioned custom operation ticket template is obtained, and the custom operation ticket template is saved in the template library for next use or sharing with other users. The above method supports custom operation ticket templates according to actual conditions, which can solve the problem of poor flexibility and scalability.
[0101] In order to improve real-time performance, in an optional implementation manner, the device further includes:
[0102] The third storage unit is used to store all operation ticket related data to the local device after determining that the above-mentioned initial operation ticket is the target operation ticket of the above-mentioned target distribution network device, and preload the above-mentioned template library and the above-mentioned instruction library to perform the operation of generating operation tickets without a network. The above-mentioned operation ticket related data at least includes the above-mentioned instruction library, the above-mentioned template library and historical operation tickets.
[0103] In the above embodiment, in order to optimize the data processing and response mechanism of the intelligent operation ticket generation tool and improve the real-time performance of the intelligent operation ticket generation tool, the intelligent operation ticket generation tool accelerates the data processing speed and response speed through the isolated network operation mode, ensuring that accurate operation tickets can be quickly generated and entered into the system when an emergency occurs in the power grid. Therefore, the intelligent operation ticket generation tool has a local data storage mechanism, which can store all operation ticket related data to the local device, so as to store, generate, edit and verify the operation ticket data without network connection, without relying on remote servers or cloud services. Of course, before deployment, the intelligent operation ticket generation tool needs to undergo multiple levels of testing to ensure performance and reliability in the isolated network operation mode.
[0104] In order to ensure the accuracy of generating the operation ticket, in an optional implementation manner, the device further includes:
[0105] The control unit is used to control the update of the above-mentioned current operation ticket template to obtain the above-mentioned new operation ticket template after performing a logic check on the above-mentioned initial operation ticket, if the above-mentioned initial operation ticket fails the above-mentioned logic check, so as to make the operation ticket obtained after matching and filling the above-mentioned key information with the above-mentioned new operation ticket template pass the above-mentioned logic check.
[0106] In the above embodiment, the main purpose of the logic check is to ensure that the content of the operation ticket complies with the logic, rules and safety requirements, and to avoid power grid accidents caused by errors in the operation ticket. In the case where the above initial operation ticket fails the above logic check, it may be that there is a problem with the operation ticket template that generated the initial operation ticket at that time. Specifically, the operation ticket template of other distribution network equipment may be used, and the operation ticket template lacks the necessary information required by the target distribution network equipment, resulting in the failure of the logic check. The logic check includes sequence check, equipment status check, safety measure check, operation authority check, operation range check, dependency check, time check, repeated operation check and error correction check. The above sequence check is used to ensure that the operation sequence in the operation ticket conforms to the actual process and specifications of the power grid operation. The above equipment status check is used to check whether the equipment status involved in the operation ticket is consistent with the current power grid operation status. The above safety measure check is used to confirm whether the safety measures in the operation ticket are comprehensive, such as whether the necessary grounding, isolation and other safety operations are included. The above operation authority check is used to check whether the personnel performing the operation have the corresponding operation authority. The above operation range check is used to ensure that the operation in the operation ticket does not exceed the authorization scope of the operator. The above dependency check is used to check whether the operation in the operation ticket depends on the completion of other operations. The above time check is used to check the time requirements of the operation ticket to ensure that the operation is completed within the specified time. The above repeated operation check is used to avoid repeated operation steps in the operation ticket. The above error correction check is used to detect whether there are logical errors in the operation ticket and to discover and correct them in time.
[0107] In order to ensure the accuracy of generating the operation ticket, in an optional implementation manner, the device further includes:
[0108] The correction unit is used to correct the data in the initial operation ticket after performing a logic check on the initial operation ticket, if the initial operation ticket fails the logic check, so that the corrected operation ticket passes the logic check.
[0109] In the above embodiment, when the above initial operation ticket fails to pass the above logic check, the operator may edit and correct it so that the corrected operation ticket passes the above logic check.
[0110] The above-mentioned distribution network intelligent operation ticket generation device includes a processor and a memory, and the above-mentioned first acquisition unit, identification unit and extraction unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.
[0111] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of low efficiency in generating operation tickets in the prior art can be solved by adjusting kernel parameters.
[0112] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0113] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for generating the distribution network intelligent operation ticket.
[0114] Specifically, the method for generating a distribution network intelligent operation ticket includes:
[0115] Step S201, obtaining valid device image information of a target distribution network device, wherein the target distribution network device is any device used for construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device;
[0116] Step S202, using OCR technology to perform text recognition on the above-mentioned valid device image information to obtain character information;
[0117] Step S203, extracting key information from the character information, the key information at least including the device number, operation type and operation sequence;
[0118] Step S204, performing a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, and the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates;
[0119] Step S205, perform a logic check on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, determine that the above-mentioned initial operation ticket is the target operation ticket of the above-mentioned target distribution network device. The above-mentioned logic check is used to verify that all information in the above-mentioned initial operation ticket complies with the operation specifications and safety requirements.
[0120] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for generating the distribution network intelligent operation ticket is executed when the program is run.
[0121] Specifically, the method for generating a distribution network intelligent operation ticket includes:
[0122] Step S201, obtaining valid device image information of a target distribution network device, wherein the target distribution network device is any device used for construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device;
[0123] Step S202, using OCR technology to perform text recognition on the above-mentioned valid device image information to obtain character information;
[0124] Step S203, extracting key information from the character information, the key information at least including the device number, operation type and operation sequence;
[0125] Step S204, performing a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, and the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates;
[0126] Step S205, perform a logic check on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, determine that the above-mentioned initial operation ticket is the target operation ticket of the above-mentioned target distribution network device. The above-mentioned logic check is used to verify that all information in the above-mentioned initial operation ticket complies with the operation specifications and safety requirements.
[0127] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0128] Step S201, obtaining valid device image information of a target distribution network device, wherein the target distribution network device is any device used for construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device;
[0129] Step S202, using OCR technology to perform text recognition on the above-mentioned valid device image information to obtain character information;
[0130] Step S203, extracting key information from the character information, the key information at least including the device number, operation type and operation sequence;
[0131] Step S204, performing a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, and the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates;
[0132] Step S205, perform a logic check on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, determine that the above-mentioned initial operation ticket is the target operation ticket of the above-mentioned target distribution network device. The above-mentioned logic check is used to verify that all information in the above-mentioned initial operation ticket complies with the operation specifications and safety requirements.
[0133] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0134] Step S201, obtaining valid device image information of a target distribution network device, wherein the target distribution network device is any device used for construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device;
[0135] Step S202, using OCR technology to perform text recognition on the above-mentioned valid device image information to obtain character information;
[0136] Step S203, extracting key information from the character information, the key information at least including the device number, operation type and operation sequence;
[0137] Step S204, performing a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, and the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates;
[0138] Step S205, perform a logic check on the above-mentioned initial operation ticket. If the above-mentioned initial operation ticket passes the above-mentioned logic check, determine that the above-mentioned initial operation ticket is the target operation ticket of the above-mentioned target distribution network device. The above-mentioned logic check is used to verify that all information in the above-mentioned initial operation ticket complies with the operation specifications and safety requirements.
[0139] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0145] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0146] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0147] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0148] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0149] 1) The method for generating a distribution network intelligent operation ticket of the present application, first, obtain the valid device image information of the target distribution network device, the target distribution network device is any device for the construction and maintenance of the power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; then, use OCR technology to perform text recognition on the valid device image information to obtain character information; then, extract key information from the character information, the key information at least includes the device number, operation type and operation sequence; then, match and fill the key information with the current operation ticket template to generate an initial operation ticket, the matching and filling operation is to fill the key information into the current operation ticket template, the current operation ticket template is the template for currently generating the operation ticket in the template library, and the template library is used to store all operation ticket templates; finally, perform a logic check on the initial operation ticket, and when the initial operation ticket passes the logic check, determine that the initial operation ticket is the target operation ticket of the target distribution network device, and the logic check is used to verify that all information in the initial operation ticket meets the operation specifications and safety requirements. This application uses OCR technology to perform text recognition on the image information of the distribution network equipment, converts it into corresponding text information, and then fills the text information into the current operation ticket template to generate an initial operation ticket, and then performs a logical check on the initial operation ticket template to ensure that the generated operation ticket meets the operation specifications and safety requirements. The operation ticket templates stored in the template library can be customized by the user according to actual conditions. This application solves the problem of low efficiency in generating operation tickets in the prior art.
[0150] 2) The device for generating the intelligent operation ticket of the distribution network of the present application comprises a first acquisition unit for acquiring the valid device image information of the target distribution network device, wherein the target distribution network device is any device for constructing and maintaining the power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; an identification unit for performing text recognition on the valid device image information using OCR technology to obtain character information; an extraction unit for extracting key information from the character information, wherein the key information at least includes the device number, operation type and operation sequence; a filling unit for performing a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation for filling the key information into the current operation ticket template, wherein the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates; a first determination unit for performing a logic check on the initial operation ticket, and when the initial operation ticket passes the logic check, determining that the initial operation ticket is the target operation ticket of the target distribution network device, wherein the logic check is used to verify that all information in the initial operation ticket complies with the operation specifications and safety requirements. This application uses OCR technology to perform text recognition on the image information of the distribution network equipment, converts it into corresponding text information, and then fills the text information into the current operation ticket template to generate an initial operation ticket, and then performs a logical check on the initial operation ticket template to ensure that the generated operation ticket meets the operation specifications and safety requirements. The operation ticket templates stored in the template library can be customized by the user according to actual conditions. This application solves the problem of low efficiency in generating operation tickets in the prior art.
[0151] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for generating a distribution network intelligent operation ticket, characterized in that: include: Acquire valid device image information of a target distribution network device, wherein the target distribution network device is any device used for the construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; Using OCR technology to perform text recognition on the valid device image information to obtain character information; Extracting key information from the character information, the key information at least including a device number, an operation type, and an operation sequence; Perform a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, and the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates; A logic check is performed on the initial operation ticket. If the initial operation ticket passes the logic check, the initial operation ticket is determined to be the target operation ticket of the target distribution network device. The logic check is used to verify that all information in the initial operation ticket complies with operation specifications and safety requirements.
2. The method according to claim 1, characterized in that Before obtaining valid device image information of the target network distribution device, the method further includes: Obtaining original device image information of the target distribution network device; The original device image information is preprocessed to obtain the effective device image information, wherein the preprocessing operation at least includes denoising, binarization and image enhancement processing.
3. The method according to claim 1, characterized in that: Before matching and filling the key information with the current operation ticket template to generate an initial operation ticket, the method further includes: Obtaining operation requirements of all network distribution devices, wherein the operation requirements at least include safety measures, operation sequence and operation instructions corresponding to the network distribution devices; Generate an operation ticket template corresponding to each of the distribution network devices according to the operation requirements, wherein the operation ticket template is used to limit the standard format and standard content of the generated operation ticket; Determine variable parameters according to each of the operation ticket templates, and set placeholders in the operation ticket templates according to the variable parameters to obtain all first operation ticket templates, wherein the variable parameters include a device name and an operation time, and the placeholders are used to match and fill in the variable parameters of each of the distribution network devices; Reviewing all the first operation ticket templates to ensure that the first operation ticket templates comply with safety regulations; The first operation ticket template that has passed the review is stored in a template library, and the current operation ticket template corresponding to the target distribution network device is selected from the template library.
4. The method according to claim 3, characterized in that After storing the approved first operation ticket template in the template library, the method further includes: Obtain all operation instructions, and store all the operation instructions in an instruction library, wherein the operation instructions at least include instructions for switch operation, equipment start and stop, and parameter setting of various distribution network devices; Selecting a target operation instruction and a second operation ticket template according to the target distribution network device, the target operation instruction is any one or more operation instructions in the instruction library, and the second operation ticket template is any one of the operation ticket templates in the template library; By performing an operation action on a graphical interface, the arrangement position of the target operation instruction in the second operation ticket template is adjusted according to the operation action to obtain a customized operation ticket template, wherein the operation action at least includes a drag action, a paste action, and a delete action, and the graphical interface at least includes a search function, a filter function, and a sorting function; The customized operation ticket template is stored in the template library.
5. The method according to claim 4, characterized in that After determining that the initial operation ticket is a target operation ticket of the target distribution network device, the method further includes: All operation ticket related data are stored in a local device, and the template library and the instruction library are preloaded so that the operation of generating operation tickets can be performed without a network. The operation ticket related data at least includes the instruction library, the template library and historical operation tickets.
6. The method according to claim 1, characterized in that After performing logic verification on the initial operation ticket, the method further includes: When the initial operation ticket fails the logic check, the current operation ticket template is controlled to be updated to obtain a new operation ticket template, so that the operation ticket obtained after matching and filling the key information with the new operation ticket template passes the logic check.
7. The method according to claim 1, characterized in that After performing logic verification on the initial operation ticket, the method further includes: In the case that the initial operation ticket fails to pass the logic check, the data in the initial operation ticket is corrected so that the corrected operation ticket passes the logic check.
8. A device for generating a distribution network intelligent operation ticket, characterized in that: The device comprises: A first acquisition unit is used to acquire valid device image information of a target distribution network device, wherein the target distribution network device is any device used for the construction and maintenance of a power distribution network system, and the valid device image information is information that can accurately identify the target distribution network device; A recognition unit, used for performing text recognition on the valid device image information by using OCR technology to obtain character information; An extraction unit, used to extract key information from the character information, wherein the key information at least includes a device number, an operation type, and an operation sequence; A filling unit, used to perform a matching and filling operation on the key information and the current operation ticket template to generate an initial operation ticket, wherein the matching and filling operation is an operation of filling the key information into the current operation ticket template, and the current operation ticket template is a template for currently generating an operation ticket in a template library, and the template library is used to store all operation ticket templates; The first determination unit is used to perform a logic check on the initial operation ticket. If the initial operation ticket passes the logic check, the initial operation ticket is determined to be the target operation ticket of the target distribution network device. The logic check is used to verify that all information in the initial operation ticket complies with operating specifications and safety requirements.
9. An intelligent operation ticket generation tool, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 7.
10. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Intelligent generation method and device of two tickets, and computer readable storage medium
CN119721966A
DeepSeek-driven transformer substation switching operation text intelligent generation method and system and medium
CN120724986A
