Konva-based power system main wiring diagram reading method and system

By using the Konva-based power system main wiring diagram reading method, remote sharing and synchronous updating of substation main wiring diagrams were achieved, solving the problem of high maintenance workload in existing technologies and improving maintenance efficiency.

CN115269505BActive Publication Date: 2026-05-05上海许继电气有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
上海许继电气有限公司
Filing Date
2022-05-13
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing technologies cannot achieve remote sharing and synchronous updates of substation main wiring diagrams, resulting in a large workload for operation and maintenance, and requiring manual synchronization, which is inefficient.

Method used

A Konva-based method for reading main wiring diagrams of power systems is adopted. By collecting substation information to form XML-formatted graphic element information files, which are stored in a graphic element library, and using a remote server to parse and render the graphics, remote reading and sharing of main wiring diagrams are achieved.

Benefits of technology

It enables remote reading and sharing of the main wiring diagram, reduces synchronization operations, saves maintenance costs, and improves maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115269505B_ABST
    Figure CN115269505B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for reading main wiring diagrams of a power system based on Konva. The method includes: collecting information from substations, forming and storing main wiring diagram files; searching for the corresponding main wiring diagram file based on the substation name; and parsing the content of the main wiring diagram file to obtain a drawn graphic. The system includes: a file integration module for collecting information from substations, forming and storing main wiring diagram files; a reading module for searching for the corresponding main wiring diagram file based on the substation name; and a graphic drawing module for parsing the content of the main wiring diagram file to obtain a drawn graphic. This invention enables the sharing of main wiring diagram readings, improving operation and maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system technology, and in particular to a method and system for reading power system main wiring diagrams based on Konva. Background Technology

[0002] In the power system field, the main wiring diagram of a substation refers to a circuit that receives and distributes electrical energy, consisting of various switching devices, power transformers, circuit breakers, disconnectors, surge arresters, instrument transformers, busbars, power cables, phase-shifting capacitors, and other electrical equipment connected in a specific order. Figure 1 It is usually represented in the form of a single-line diagram, which intuitively shows the network topology and equipment distribution information of the entire substation.

[0003] In the power information protection system, the main wiring diagram is widely used. Through the main wiring diagram of the substation in the information protection system, on-site engineers can view the overall structure and operating status of the substation equipment (generally connection and disconnection) from all angles. This allows engineers to understand the real-time information of the equipment in a timely manner, locate faulty equipment in a short time, and eliminate the faults in a timely manner, thereby avoiding the occurrence of more faults and improving operation and maintenance efficiency.

[0004] Currently, the existing technology for viewing main wiring diagrams in power systems involves reading locally stored files using graphical configuration client tools, and does not support reading remote main wiring diagram files. This means that the same substation main wiring diagram may be stored at different substations, and different substation systems can only view the local main wiring diagram, requiring the graphical configuration client tool to be installed locally.

[0005] The structure and information of substation equipment are subject to change, such as equipment renovation, replacement, and changes in related information. These changes inevitably require the main wiring diagram to be updated synchronously. Due to technical limitations, the main wiring diagram itself cannot be shared and read, which means that all station-end systems must resynchronize the main wiring diagram, and this synchronization is done manually, which increases the workload of operation and maintenance to some extent. Summary of the Invention

[0006] In view of this, the purpose of this invention is to provide a method and system for reading the main wiring diagram of a power system based on Konva, which can realize the sharing of main wiring diagram reading and improve operation and maintenance efficiency.

[0007] In a first aspect, embodiments of the present invention provide a method for reading the main wiring diagram of a power system based on Konva, comprising:

[0008] Collect information from substations, generate main wiring diagram files, and store them;

[0009] Find the corresponding main wiring diagram file based on the substation name;

[0010] The main wiring diagram file is parsed to obtain the drawn graphics.

[0011] In conjunction with the first aspect, the present invention provides a first possible implementation of the first aspect, wherein the step of collecting information from the substation, forming a main wiring diagram file, and storing it includes:

[0012] Collect node information and corresponding relationships of all primary equipment and associated secondary equipment protection devices in the substation, and generate corresponding XML-formatted element information files;

[0013] The element information file is stored in the element library.

[0014] In conjunction with the first aspect, this embodiment of the invention provides a second possible implementation of the first aspect, wherein the step of searching for the corresponding main wiring diagram file based on the substation name includes:

[0015] Send the substation name to the remote server;

[0016] The remote server backend program locates the corresponding XML file and associated graphic element information file for the substation based on the substation name and the main wiring diagram storage path, and then reads and obtains the file content.

[0017] In conjunction with the first aspect, this embodiment of the invention provides a third possible implementation of the first aspect, wherein parsing the main wiring diagram file to obtain the drawn graphics includes:

[0018] The contents of the found main wiring diagram file are transferred to the front-end interface;

[0019] The front-end uses Konva to parse the returned file content, renders the parsed results into graphics, and displays them.

[0020] Secondly, embodiments of the present invention also provide a power system main wiring diagram reading system based on Konva, comprising:

[0021] The file integration module is used to collect information from substations, generate main wiring diagram files, and store them.

[0022] The reading module is used to find the corresponding main wiring diagram file based on the substation name;

[0023] The graphics drawing module is used to parse the contents of the main wiring diagram file and obtain the graphics to be drawn.

[0024] In conjunction with the second aspect, embodiments of the present invention provide a first possible implementation of the second aspect, wherein the file integration module includes:

[0025] The data acquisition unit is used to collect node information and corresponding relationships of all primary equipment and secondary equipment protection devices associated with primary equipment in the substation, and form corresponding XML-formatted graphic element information files.

[0026] Storage unit, used to store primitive information files in primitive library.

[0027] In conjunction with the second aspect, this embodiment of the invention provides a second possible implementation of the second aspect, wherein the reading module includes:

[0028] The substation name sending unit sends the substation name to the remote server;

[0029] The file content acquisition unit is used by the remote server backend program to find the corresponding XML file and associated graphic element information file of the substation based on the substation name and the main wiring diagram storage path, and then read and obtain the file content.

[0030] In conjunction with the second aspect, this embodiment of the invention provides a third possible implementation of the second aspect, wherein the graphics drawing module includes:

[0031] The file transfer unit is used to transfer the contents of the found main wiring diagram file to the front-end interface;

[0032] The parsing unit is used by the front end to parse the returned file content using Konva, render the parsing results into graphics, and display them.

[0033] Thirdly, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the Konva-based power system main wiring diagram reading method as described above.

[0034] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the power system main wiring diagram reading method based on Konva as described above.

[0035] The beneficial effects of the embodiments of the present invention are:

[0036] This invention proposes a method and system for reading main wiring diagrams of power systems based on Konva, realizing the transformation from reading local files at the station end to reading remote files. In terms of display method, it abandons the traditional configuration tool form and adopts the Konva 2d graphics library display form, which can realize the sharing of main wiring diagram reading and improve operation and maintenance efficiency. Attached Figure Description

[0037] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a flowchart of the power system main wiring diagram reading method based on Konva according to the present invention;

[0039] Figure 2 This is a schematic diagram illustrating the specific process of the power system main wiring diagram reading method based on Konva according to the present invention.

[0040] Figure 3 This is a schematic diagram illustrating the main wiring diagram reading method and system based on Konva, as well as the main wiring diagram display effect of the present invention. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0042] Please refer to Figures 1 to 3 The first embodiment of the present invention provides a method for reading the main wiring diagram of a power system based on Konva, wherein:

[0043] Collect information from substations, generate main wiring diagram files, and store them;

[0044] Find the corresponding main wiring diagram file based on the substation name;

[0045] The main wiring diagram file is parsed to obtain the drawn graphics.

[0046] In conjunction with the first aspect, the present invention provides a first possible implementation of the first aspect, wherein the step of collecting information from the substation, forming a main wiring diagram file, and storing it includes:

[0047] Collect node information and corresponding relationships of all primary equipment and associated secondary equipment protection devices in the substation, and generate corresponding XML-formatted element information files;

[0048] The element information file is stored in the element library.

[0049] Each device type has a corresponding XML-formatted element information file. Elements, also known as element templates or symbols, consist of one or more basic graphics and their combinations, stored in an element library. They can be used to create graphics for easy drawing, such as the element information for waveform recorders, circuit breakers, and secondary equipment protection devices. The node information mainly includes the horizontal and vertical coordinates, color, and size of the node. This information is parsed by the program and drawn into graphics in Canvas format.

[0050] In conjunction with the first aspect, this embodiment of the invention provides a second possible implementation of the first aspect, wherein the step of searching for the corresponding main wiring diagram file based on the substation name includes:

[0051] Send the substation name to the remote server;

[0052] The remote server backend program locates the corresponding XML file and associated graphic element information file for the substation based on the substation name and the main wiring diagram storage path, and then reads and obtains the file content.

[0053] In conjunction with the first aspect, this embodiment of the invention provides a third possible implementation of the first aspect, wherein parsing the main wiring diagram file to obtain the drawn graphics includes:

[0054] The contents of the found main wiring diagram file are transferred to the front-end interface;

[0055] The front-end uses Konva to parse the returned file content, renders the parsed results into graphics, and displays them.

[0056] The parsing of the main wiring diagram file involves dynamically parsing all symbol data from the XML file.

[0057] Konva is a 2D graphics framework based on Canvas that can convert XML-formatted graphic files into graphic entities. Basic shapes can be combined to form composite graphics, and these can be further combined. Composite graphics can also be broken down into their individual components. The graphics mainly include basic shapes such as rectangles, ellipses, lines, text, images, connectors, and connection points.

[0058] Please refer to Figure 3 A second embodiment of the present invention provides a power system main wiring diagram reading system based on Konva, comprising:

[0059] The file integration module is used to collect information from substations, generate main wiring diagram files, and store them.

[0060] The reading module is used to find the corresponding main wiring diagram file based on the substation name;

[0061] The graphics drawing module is used to parse the contents of the main wiring diagram file and obtain the graphics to be drawn.

[0062] In conjunction with the second aspect, embodiments of the present invention provide a first possible implementation of the second aspect, wherein the file integration module includes:

[0063] The data acquisition unit is used to collect node information and corresponding relationships of all primary equipment and secondary equipment protection devices associated with primary equipment in the substation, and form corresponding XML-formatted graphic element information files.

[0064] Storage unit, used to store primitive information files in primitive library.

[0065] In conjunction with the second aspect, this embodiment of the invention provides a second possible implementation of the second aspect, wherein the reading module includes:

[0066] The substation name sending unit sends the substation name to the remote server;

[0067] The file content acquisition unit is used by the remote server backend program to find the corresponding XML file and associated graphic element information file of the substation based on the substation name and the main wiring diagram storage path, and then read and obtain the file content.

[0068] In conjunction with the second aspect, this embodiment of the invention provides a third possible implementation of the second aspect, wherein the graphics drawing module includes:

[0069] The file transfer unit is used to transfer the contents of the found main wiring diagram file to the front-end interface;

[0070] The parsing unit is used by the front end to parse the returned file content using Konva, render the parsing results into graphics, and display them.

[0071] The parsing of the main wiring diagram file involves dynamically parsing all symbol data from the XML file.

[0072] A third embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the Konva-based power system main wiring diagram reading method as described above.

[0073] A fourth embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the power system main wiring diagram reading method based on Konva as described above.

[0074] The embodiments of the present invention aim to protect a method and system for reading the main wiring diagram of a power system based on Konva, which has the following effects:

[0075] 1. This invention solves the problem of file synchronization when updating the main wiring diagram by using a remote reading method.

[0076] 2. This invention saves on operation and maintenance costs and improves operation and maintenance efficiency.

[0077] 3. This invention reduces the complexity of the display method.

[0078] The computer program product of the power system main wiring diagram reading method and device based on Konva provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0079] Specifically, the storage medium can be a general-purpose storage medium, such as a portable disk or hard disk. When the computer program on the storage medium is run, it can execute the above-mentioned Konva-based power system main wiring diagram reading method, thereby enabling the sharing of main wiring diagram reading and improving operation and maintenance efficiency.

[0080] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0081] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for reading the main wiring diagram of a power system based on Konva, characterized in that, include: Collect information from substations, generate main wiring diagram files, and store them; Find the corresponding main wiring diagram file based on the substation name; The main wiring diagram file is parsed to obtain the drawn graphics; The process of collecting information from substations, generating a main wiring diagram file, and storing it includes: Collect node information and corresponding relationships of all primary equipment and associated secondary equipment protection devices in the substation, and generate corresponding XML-formatted element information files; Store the element information file in the element library; The process of finding the corresponding main wiring diagram file based on the substation name includes: Send the substation name to the remote server; The remote server backend program finds the corresponding XML file and associated graphic element information file of the substation based on the substation name and the main wiring diagram storage path, and reads the file content. The analysis of the main wiring diagram file to obtain the drawn graphics includes: The contents of the found main wiring diagram file are transferred to the front-end interface; The front-end uses Konva to parse the returned file content, renders the parsed results into graphics, and displays them.

2. A power system main wiring diagram reading system based on Konva, characterized in that, include: The file integration module is used to collect information from substations, generate main wiring diagram files, and store them. The reading module is used to find the corresponding main wiring diagram file based on the substation name; The graphics drawing module is used to parse the contents of the main wiring diagram file and obtain the graphics to be drawn. The file integration module includes: The data acquisition unit is used to collect node information and corresponding relationships of all primary equipment and secondary equipment protection devices associated with primary equipment in the substation, and form corresponding XML-formatted graphic element information files. Storage unit, used to store primitive information files in primitive library; The reading module includes: The substation name sending unit sends the substation name to the remote server; The file content acquisition unit is used by the remote server backend program to find the corresponding XML file and associated graphic element information file of the substation based on the substation name and the main wiring diagram storage path, and then read and acquire the file content. The graphics drawing module includes: The file transfer unit is used to transfer the contents of the found main wiring diagram file to the front-end interface; The parsing unit is used by the front end to parse the returned file content using Konva, render the parsing results into graphics, and display them.

3. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the power system main wiring diagram reading method based on Konva as described in claim 1.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the power system main wiring diagram reading method based on Konva as described in claim 1.

Citation Information

Patent Citations

  • Online monitor data automatic integration monitor method based on SVG

    CN104201779A