A method and device for verifying the correctness of graph-model association
By extracting the SVG target image object and debugging information, determine the map information and characteristic attribute parameters, and perform a comparison verification, solve the problem that the correctness of the graphic correlation in the existing technology is unavailable, and realize the picture of the picture in the energy management system. Automatic school verification of information association correctness.
Patent Information
- Application Number
- CN202210335107.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-03-31
AI Technical Summary
The existing automatic verification method of three remote information points cannot guarantee the correctness of the graph-mode relationship, resulting in the correctness of the relationship between switch and knife switches in the energy management system cannot be effectively guaranteed.
By responding to the verification instructions, the SVG target image object and debugging information are extracted from the verification instructions to determine the graphic information, characteristic attribute parameters and the peripheral fixed range, and the comparison is performed in order to obtain the preliminary verification results and judge the correctness of correlation.
The automatic school verification of the correctness of the correlation of the graph model ensures the correlation correctness of the map information in the energy management system, and makes up for the lack of existing technology.
Smart Images

Figure CN114691917B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of real-time monitoring of substations, and in particular to a method and device for verifying the correctness of image-model association. Background Art
[0002] Energy management system is a general term for hardware and software for power monitoring and control. The energy management system can collect information from the telecontrol devices in the substation to realize real-time monitoring of telemetry signals such as current, voltage, power, and telesignaling signals such as switch status and protection signals. It can also issue remote control commands to equipment such as transformers and capacitors, thereby monitoring the power grid and ensuring that the power grid operates at a safe and stable level.
[0003] In real-time monitoring, the automatic verification method of telematic points is often used to automatically verify the three telematic points, but this method cannot guarantee the correctness of the image-model association.
[0004] In summary, it is necessary to add a function to check the correctness of the graphic-model association to make up for the shortcomings of the automatic verification method of the three remote information points and ensure the correctness of the association of the switch graphic elements in the energy management system. Summary of the invention
[0005] The present invention provides a method and device for verifying the correctness of image model association, which are used to determine the correctness of image element information association of an image model and make up for the shortcomings of the existing automatic verification method of three remote information points.
[0006] In a first aspect, the present invention provides a method for verifying the correctness of a graph model association, comprising:
[0007] In response to the verification instruction, extracting the SVG target image object and debugging information from the verification instruction;
[0008] Determining a target image type of the SVG target image;
[0009] Based on the SVG target image, determine the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information;
[0010] Compare all feature attribute parameters with the surrounding fixed range character strings corresponding to all the primitive information in turn to obtain a preliminary verification result;
[0011] When the preliminary verification result is a matching failure, determining that the association of the SVG target image is wrong;
[0012] When the preliminary verification result is a successful match, the correctness of the association of the SVG target image is determined based on the target image type and the debugging information in combination with the preliminary verification result.
[0013] Optionally, the primitive information includes: a switch primitive and a switch primitive; the characteristic attribute parameters include: a switch parameter of the switch primitive, and a switch parameter, a ground switch parameter and a telemetry parameter of the switch primitive; all characteristic attribute parameters are sequentially compared with the surrounding fixed range character strings corresponding to all the primitive information to obtain verification results, including:
[0014] According to the preset comparison rules, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, the ground switch parameters and the telemetry parameters are respectively matched with the character strings in a fixed range around the knife switch graphic element to obtain the preliminary verification result.
[0015] Optionally, when the preliminary verification result is a successful match, determining the correctness of the association of the SVG target image based on the target image type and the debugging information in combination with the preliminary verification result includes:
[0016] Determine whether the target image type is a plant station map; if not, execute step S3;
[0017] If yes, then determine whether the SVG target image contains the switch, active power, reactive power, and current measurement in the debugging information; if yes, then determine that the association of the SVG target image is correct;
[0018] If not, it is determined whether the SVG target image contains the debugging point in the debugging information; if it does, it is determined that the association of the SVG target image is correct.
[0019] Optionally, based on the SVG target image, determining the graphic element information, the characteristic attribute parameters associated with the graphic element information, and the surrounding fixed range corresponding to the graphic element information includes:
[0020] Searching for associated graphic element information from the SVG target image;
[0021] Reading associated feature attribute parameters from the graphic element information;
[0022] Based on the primitive information, according to a preset interval standard and distance, a surrounding fixed range corresponding to all the primitive information is determined.
[0023] In a second aspect, the present invention further provides a device for verifying the correctness of a graph model association, comprising:
[0024] A response module, configured to respond to the verification instruction and extract the SVG target image object and debugging information from the verification instruction;
[0025] A type determination module, used to determine a target image type of the SVG target image;
[0026] A parameter determination module, used to determine, based on the SVG target image, primitive information, characteristic attribute parameters associated with the primitive information, and a surrounding fixed range corresponding to the primitive information;
[0027] A verification result determination module is used to sequentially compare all characteristic attribute parameters with the surrounding fixed range character strings corresponding to all the primitive information to obtain a preliminary verification result;
[0028] A first association result determination module, configured to determine an association error of the SVG target image when the preliminary verification result is a matching failure;
[0029] The second association result determination module is used to determine the correctness of the association of the SVG target image based on the target image type and the debugging information in combination with the preliminary verification result when the preliminary verification result is a successful match.
[0030] Optionally, the primitive information includes: a switch primitive and a switch primitive; the characteristic attribute parameters include: switch parameters of the switch primitive, and switch parameters, ground switch parameters and telemetry parameters of the switch primitive; the verification result determination module is specifically used for:
[0031] According to the preset comparison rules, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, the ground switch parameters and the telemetry parameters are respectively matched with the character strings in a fixed range around the knife switch graphic element to obtain the preliminary verification result.
[0032] Optionally, the second association result determination module includes:
[0033] The first judgment submodule is used to judge whether the target image type is a plant station image; if so, the second judgment submodule is executed; if not, the third judgment submodule is executed;
[0034] The second judgment submodule is used to judge whether the SVG target image contains the switch knife switch, active power, reactive power and current measurement in the debugging information; if so, it is determined that the association of the SVG target image is correct;
[0035] The third judgment submodule is used to judge whether the SVG target image contains the debugging point in the debugging information; if so, it is determined that the association of the SVG target image is correct.
[0036] Optionally, the parameter determination module includes:
[0037] A search submodule, used for searching associated graphic element information from the SVG target image;
[0038] An association submodule, used for reading associated characteristic attribute parameters from the graphic element information;
[0039] The range determination submodule is used to determine the surrounding fixed range corresponding to all the primitive information based on the primitive information and according to the preset interval standard and distance.
[0040] A third aspect of the present application provides an electronic device, the device comprising a processor and a memory;
[0041] The memory is used to store program code and transmit the program code to the processor;
[0042] The processor is used to execute the method for verifying the correctness of the image model association described in the first aspect according to the instructions in the program code.
[0043] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the method for verifying the correctness of the pattern association described in the first aspect.
[0044] It can be seen from the above technical solutions that the present invention has the following advantages:
[0045] The present invention extracts SVG target image objects and debugging information from the verification instruction in response to the verification instruction; determines the target image type of the SVG target image; determines the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information based on the SVG target image; sequentially compares all characteristic attribute parameters with the character strings of the surrounding fixed range corresponding to all the primitive information to obtain a preliminary verification result; when the preliminary verification result is a match failure, it is determined that the association of the SVG target image is wrong; when the preliminary verification result is a match success, based on the target image type and the debugging information, combined with the preliminary verification result, the correctness of the association of the SVG target image is determined. By comparing the characteristic attribute parameters of the primitive information with the character strings of the surrounding fixed range within a certain range around the primitive information, automatic verification is achieved to ensure the correctness of the image model association. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
[0047] Figure 1A flowchart of the steps of Embodiment 1 of a method for verifying the correctness of a pattern association according to the present invention;
[0048] Figure 2 A flowchart of the steps of Embodiment 2 of a method for verifying the correctness of a pattern association according to the present invention;
[0049] Figure 3 The present invention is a structural block diagram of an embodiment of a device for verifying the correctness of a graph-model association. DETAILED DESCRIPTION
[0050] The embodiment of the present invention provides a method and device for verifying the correctness of the association of a graph model, which is used to determine the correctness of the association of the graphic element information of the graph model and to make up for the shortcomings of the existing automatic verification method of three remote information points.
[0051] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] See also Figure 1 , Figure 1 This is a flowchart of a method for checking the correctness of a graph model association according to an embodiment of the present invention, which may specifically include the following steps:
[0053] Step S101, in response to a verification instruction, extracting an SVG target image object and debugging information from the verification instruction;
[0054] Step S102, determining the target image type of the SVG target image;
[0055] Step S103, determining, based on the SVG target image, primitive information, characteristic attribute parameters associated with the primitive information, and a surrounding fixed range corresponding to the primitive information;
[0056] Step S104, sequentially comparing all characteristic attribute parameters with the surrounding fixed range character strings corresponding to all the primitive information to obtain a preliminary verification result;
[0057] Step S105, when the preliminary verification result is a matching failure, determining that the association of the SVG target image is wrong;
[0058] Step S106, when the preliminary verification result is a successful match, based on the target image type and the debugging information, combined with the preliminary verification result, determining the correctness of the association of the SVG target image.
[0059] The embodiment of the present invention extracts the SVG target image object and debugging information from the verification instruction in response to the verification instruction; determines the target image type of the SVG target image; determines the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information based on the SVG target image; sequentially compares all the characteristic attribute parameters with the character strings of the surrounding fixed range corresponding to all the primitive information to obtain a preliminary verification result; when the preliminary verification result is a match failure, it is determined that the association of the SVG target image is wrong; when the preliminary verification result is a match success, based on the target image type and the debugging information, combined with the preliminary verification result, the correctness of the association of the SVG target image is determined. By comparing the characteristic attribute parameters of the primitive information with the character strings of the surrounding fixed range within a certain range around the primitive information, automatic verification is achieved to ensure the correctness of the image model association.
[0060] See also Figure 2 , is a flowchart of the steps of Embodiment 2 of a method for resetting a user password of the present invention, which specifically includes:
[0061] Step S201, in response to a verification instruction, extracting an SVG target image object and debugging information from the verification instruction;
[0062] In the embodiment of the present invention, when a verification instruction sent by an operation and maintenance personnel is received, the SVG target image object and debugging information carried in the verification instruction are obtained.
[0063] Step S202, determining the target image type of the SVG target image;
[0064] In the embodiment of the present invention, after the SVG target image is determined, the target image type of the SVG target image is determined, and the image type can be divided into plant diagram, power flow diagram and other diagrams.
[0065] Step S203, searching for associated primitive information from the SVG target image; the primitive information includes: switch primitives and knife switch primitives;
[0066] In the embodiment of the present invention, the switch primitive and the knife switch primitive in the associated debugging information are determined from the SVG target image.
[0067] Step S204, reading associated characteristic attribute parameters from the graphic element information; the characteristic attribute parameters include: switch parameters of the switch graphic element, and switch parameters, ground switch parameters and telemetry parameters of the switch graphic element;
[0068] In the embodiment of the present invention, the switch parameters are read from the switch graphic element, and the knife switch parameters, ground switch parameters and telemetry parameters are read from the knife switch graphic element.
[0069] It should be noted that telemetry is remote measurement, abbreviated as YC. It is the transmission of the main analog parameter variables of the monitored plant and station to the dispatcher over a long distance, such as power, voltage, current, etc. at the plant and station ends.
[0070] Step S205, based on the primitive information, determining the surrounding fixed range corresponding to all the primitive information according to the preset interval standard and distance;
[0071] In the embodiment of the present invention, a certain range around the switch graphic element and the knife switch graphic element is locked based on an interval, and the specific range size can be determined according to the range area pre-set by the operation and maintenance personnel.
[0072] In a specific implementation, if the program cannot automatically identify and lock, the method of increasing the manual frame selection interval when drawing is adopted.
[0073] Step S206, according to the preset comparison rules, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, the ground knife parameters and the telemetry parameters are respectively matched with the character strings in a fixed range around the knife switch graphic element to obtain the preliminary verification result; when the preliminary verification result is a matching failure, it is determined that the association error of the SVG target image is; when the preliminary verification result is a matching success, based on the target image type and the debugging information, combined with the preliminary verification result, the association correctness of the SVG target image is determined.
[0074] In the embodiment of the present invention, the preset comparison rules are shown in the following table:
[0075]
[0076] In the specific implementation, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, ground knife parameters and telemetry parameters are matched with the character strings in a fixed range around the knife switch graphic element respectively. If the match is successful, the automatic verification is successful to obtain a preliminary verification result.
[0077] In an optional embodiment, when the preliminary verification result is a successful match, determining the correctness of the association of the SVG target image based on the target image type and the debugging information in combination with the preliminary verification result includes:
[0078] Determine whether the target image type is a plant station map; if not, execute step S3;
[0079] If yes, then determine whether the SVG target image contains the switch, active power, reactive power, and current measurement in the debugging information; if yes, then determine that the association of the SVG target image is correct;
[0080] If not, it is determined whether the SVG target image contains the debugging point in the debugging information; if it does, it is determined that the association of the SVG target image is correct.
[0081] In an embodiment of the present invention, if the target image type of the SVG target image is a plant diagram, the SVG target image must include all switch blades in the debugging information, as well as active, reactive, and current (ABC) measurements. If any are missing, the verification fails; if the target image type of the SVG target image is a flow diagram or other diagram, the verification fails if it does not include any points in the debugging information.
[0082] In addition, for SVG target images whose preliminary verification results are matching failures and whose verification is unsuccessful in the optional embodiment of the present invention, they cannot be archived.
[0083] In an embodiment of the present invention, a method for verifying the correctness of image-model association is provided. In response to a verification instruction, an SVG target image object and debugging information are extracted from the verification instruction; the target image type of the SVG target image is determined; based on the SVG target image, the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information are determined; all characteristic attribute parameters are sequentially compared with the character strings in the surrounding fixed range corresponding to all the primitive information to obtain a preliminary verification result; when the preliminary verification result is a match failure, the association error of the SVG target image is determined; when the preliminary verification result is a match success, the correctness of the association of the SVG target image is determined based on the target image type and the debugging information in combination with the preliminary verification result. The characteristic attribute parameters of the primitive information are compared with the character strings in the surrounding fixed range within a certain range around the primitive information to achieve automatic verification and ensure the correctness of image-model association.
[0084] See also Figure 3 , shows a structural block diagram of an embodiment of a device for checking the correctness of a graph-model association, including the following modules:
[0085] A response module 401 is used to respond to the verification instruction and extract the SVG target image object and debugging information from the verification instruction;
[0086] A type determination module 402, configured to determine a target image type of the SVG target image;
[0087] A parameter determination module 403 is used to determine the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information based on the SVG target image;
[0088] The verification result determination module 404 is used to sequentially compare all characteristic attribute parameters with the surrounding fixed range character strings corresponding to all the primitive information to obtain a preliminary verification result;
[0089] A first association result determination module 405, configured to determine an association error of the SVG target image when the preliminary verification result is a matching failure;
[0090] The second association result determination module 406 is used to determine the correctness of association of the SVG target image based on the target image type and the debugging information in combination with the preliminary verification result when the preliminary verification result is a successful match.
[0091] In an optional embodiment, the primitive information includes: a switch primitive and a switch primitive; the characteristic attribute parameters include: a switch parameter of the switch primitive, and a switch parameter, a ground switch parameter and a telemetry parameter of the switch primitive; the verification result determination module 404 is specifically used for:
[0092] According to the preset comparison rules, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, the ground switch parameters and the telemetry parameters are respectively matched with the character strings in a fixed range around the knife switch graphic element to obtain the preliminary verification result.
[0093] In an optional embodiment, the second association result determination module 406 includes:
[0094] The first judgment submodule is used to judge whether the target image type is a plant station image; if so, the second judgment submodule is executed; if not, the third judgment submodule is executed;
[0095] The second judgment submodule is used to judge whether the SVG target image contains the switch knife switch, active power, reactive power and current measurement in the debugging information; if so, it is determined that the association of the SVG target image is correct;
[0096] The third judgment submodule is used to judge whether the SVG target image contains the debugging point in the debugging information; if so, it is determined that the association of the SVG target image is correct.
[0097] In an optional embodiment, the parameter determination module 403 includes:
[0098] A search submodule, used for searching associated graphic element information from the SVG target image;
[0099] An association submodule, used for reading associated characteristic attribute parameters from the graphic element information;
[0100] The range determination submodule is used to determine the surrounding fixed range corresponding to all the primitive information based on the primitive information and according to the preset interval standard and distance.
[0101] The present application also provides an electronic device, the device comprising a processor and a memory;
[0102] The memory is used to store the program code and transmit the program code to the processor;
[0103] The processor is used to execute the method for verifying the correctness of the image model association in the above method embodiment according to the instructions in the program code.
[0104] The present application also provides a computer-readable storage medium, which is used to store program code, and the program code is used to execute the method for verifying the correctness of the pattern association in the above method embodiment.
[0105] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0106] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0107] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0108] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the method described in each embodiment of the present application through a computer device (which can be a personal computer, a server, or a network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0109] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for verifying the correctness of a graph-model association, characterized in that: include: In response to the verification instruction, extracting the SVG target image object and debugging information from the verification instruction; Determining a target image type of the SVG target image; Based on the SVG target image, determine the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information; Compare all feature attribute parameters with the surrounding fixed range character strings corresponding to all the primitive information in turn to obtain a preliminary verification result; When the preliminary verification result is a matching failure, determining that the association of the SVG target image is wrong; When the preliminary verification result is a successful match, the correctness of the association of the SVG target image is determined based on the target image type and the debugging information in combination with the preliminary verification result.
2. The method for verifying the correctness of the pattern association according to claim 1, characterized in that: The primitive information includes: a switch primitive and a switch primitive; the characteristic attribute parameters include: switch parameters of the switch primitive, and switch parameters, ground switch parameters and telemetry parameters of the switch primitive; all characteristic attribute parameters are sequentially compared with the surrounding fixed range character strings corresponding to all primitive information to obtain verification results, including: According to the preset comparison rules, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, the ground switch parameters and the telemetry parameters are respectively matched with the character strings in a fixed range around the knife switch graphic element to obtain the preliminary verification result.
3. The method for verifying the correctness of the pattern association according to claim 1, characterized in that: When the preliminary verification result is a successful match, determining the correctness of the association of the SVG target image based on the target image type and the debugging information in combination with the preliminary verification result includes: Determine whether the target image type is a plant station map; if not, execute step S3; If yes, then determine whether the SVG target image contains the switch, active power, reactive power, and current measurement in the debugging information; if yes, then determine that the association of the SVG target image is correct; If not, it is determined whether the SVG target image contains the debugging point in the debugging information; if it does, it is determined that the association of the SVG target image is correct.
4. The method for verifying the correctness of the pattern association according to claim 1, characterized in that: Based on the SVG target image, determining the primitive information, the characteristic attribute parameters associated with the primitive information, and the surrounding fixed range corresponding to the primitive information includes: Searching for associated graphic element information from the SVG target image; Reading associated feature attribute parameters from the graphic element information; Based on the primitive information, according to a preset interval standard and distance, a surrounding fixed range corresponding to all the primitive information is determined.
5. A device for verifying the correctness of a graph-model association, characterized in that: include: A response module, configured to respond to the verification instruction and extract the SVG target image object and debugging information from the verification instruction; A type determination module, used to determine a target image type of the SVG target image; A parameter determination module, used to determine, based on the SVG target image, primitive information, characteristic attribute parameters associated with the primitive information, and a surrounding fixed range corresponding to the primitive information; A verification result determination module is used to sequentially compare all characteristic attribute parameters with the surrounding fixed range character strings corresponding to all the primitive information to obtain a preliminary verification result; A first association result determination module, configured to determine an association error of the SVG target image when the preliminary verification result is a matching failure; The second association result determination module is used to determine the correctness of the association of the SVG target image based on the target image type and the debugging information in combination with the preliminary verification result when the preliminary verification result is a successful match.
6. The device for verifying the correctness of pattern association according to claim 5, characterized in that: The primitive information includes: a switch primitive and a knife switch primitive; the characteristic attribute parameters include: a switch parameter of the switch primitive, and a knife switch parameter, a ground switch parameter and a telemetry parameter of the knife switch primitive; the verification result determination module is specifically used for: According to the preset comparison rules, the switch parameters are matched with the character strings in a fixed range around the switch graphic element, and the knife switch parameters, the ground switch parameters and the telemetry parameters are respectively matched with the character strings in a fixed range around the knife switch graphic element to obtain the preliminary verification result.
7. The device for verifying the correctness of pattern association according to claim 5, characterized in that: The second association result determination module includes: The first judgment submodule is used to judge whether the target image type is a plant station image; if so, the second judgment submodule is executed; if not, the third judgment submodule is executed; The second judgment submodule is used to judge whether the SVG target image contains the switch knife switch, active power, reactive power and current measurement in the debugging information; if so, it is determined that the association of the SVG target image is correct; The third judgment submodule is used to judge whether the SVG target image contains the debugging point in the debugging information; if so, it is determined that the association of the SVG target image is correct.
8. The device for verifying the correctness of pattern association according to claim 5, characterized in that: The parameter determination module comprises: A search submodule, used for searching associated graphic element information from the SVG target image; An association submodule, used for reading associated characteristic attribute parameters from the graphic element information; The range determination submodule is used to determine the surrounding fixed range corresponding to all the primitive information based on the primitive information and according to the preset interval standard and distance.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 4 is executed.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the method according to any one of claims 1 to 4 is executed.
Citation Information
Patent Citations
Substation SVG graph and model association verification method based on primitive characteristic attributes
CN111597365A
Energy management system graph-model bidirectional verification method and device
CN112580178A