Power grid equipment positioning method and device and computer program product

By obtaining the coordinated operation of the SVG single-line diagram of the power grid equipment and the smart view map, and using trigger operations to display the operating information and location information of the power grid equipment, the problems of low positioning efficiency and slow response speed in the existing technology are solved, and the power grid is realized Efficient positioning and information display of the equipment.

CN118939746APending Publication Date: 2024-11-12GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410992573.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, the efficiency and response of the power grid equipment are low and the efficiency and response of the power grid equipment are slow, which cannot effectively solve the efficiency and response speed problems of power grid equipment positioning.

Method used

By obtaining the coordinated operation of the SVG single-line map of the power grid equipment and the smart view map, the operation information and location information of the power grid equipment are displayed by triggering operations, and the highlighting and interaction of the power grid equipment on the smart view map is realized, which improves positioning efficiency and response speed.

Benefits of technology

Through the collaboration of SVG single-line map and smart-eye map, efficient positioning and information display of power grid equipment are achieved, the positioning efficiency and response speed of power grid equipment on the map are improved, and the problems of low efficiency and slow response are solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939746A_ABST
    Figure CN118939746A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid equipment positioning method and device and a computer program product. The method comprises the following steps: determining power grid equipment needing to be positioned in a power system as target power grid equipment; a feeder line connected with the target power grid equipment is determined as a target feeder line, and the feeder line is a wire for transmitting electric energy in a power system; an SVG single line diagram of the target feeder line is obtained, and the SVG single line diagram is used for representing a topological structure of the target feeder line; triggering operation on target power grid equipment in the SVG single-line diagram is responded, so that equipment information of the target power grid equipment is displayed through the intelligent aerial view map, the triggering operation at least comprises mouse click triggering and touch screen triggering, and the equipment information at least comprises operation information and position information of the target power grid equipment. According to the invention, the technical problems of low efficiency and slow response when the power grid equipment is positioned and displayed only through the SVG graph in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power grid equipment positioning, and in particular to a power grid equipment positioning method and device, and a computer program product. Background Art

[0002] SVG (Scalable Vector Graphics) is an XML-based vector graphics format for describing two-dimensional graphics and graphical applications. The advantage of SVG is that it can scale graphics at any resolution without distortion, supports user interaction and animation, and is very suitable for complex graphical representations, such as graphical displays of power grid equipment. However, when SVG graphics are very complex or the number of files is large, it may cause browser rendering to slow down, especially on mobile devices or devices with lower performance, and different browsers and devices may have subtle SVG rendering differences, which may cause consistency issues. In the field of power grid equipment positioning technology, only displaying power grid equipment through SVG images has problems such as low efficiency and slow response.

[0003] With respect to the problem of low efficiency and slow response when positioning and displaying power grid equipment only through SVG images in the above-mentioned related technologies, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method and apparatus for positioning power grid equipment, and a computer program product, so as to at least solve the technical problem in the related art that the positioning and display of power grid equipment is inefficient and slow in response only through SVG images.

[0005] According to one aspect of an embodiment of the present invention, a method for locating power grid equipment is provided, comprising: determining that a power grid equipment to be located in an electric power system is a target power grid equipment; determining that a feeder connected to the target power grid equipment is a target feeder, wherein the feeder is a conductor for transmitting electric energy in the electric power system; obtaining an SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent a topological structure of the target feeder; responding to a trigger operation on the target power grid equipment in the SVG single-line diagram to display equipment information of the target power grid equipment using a smart map, wherein the trigger operation includes at least mouse click triggering and touch screen triggering, and the equipment information includes at least operation information and location information of the target power grid equipment.

[0006] Optionally, obtaining the SVG single-line diagram of the target feeder includes: obtaining tree structure data of the target feeder, wherein the tree structure data is data obtained by forming a tree structure based on data of each level in the power system and the association relationship between each level; reading node information of each node in the tree structure data and the association relationship between each node, wherein each node represents a power grid device; determining the node position of each node in the SVG single-line diagram according to the node information; determining the connection path between each node according to the association relationship; and generating the SVG single-line diagram of the target feeder according to the node position and the connection path.

[0007] Optionally, after generating the SVG single-line diagram of the target feeder according to the node positions and the connection path, the positioning method of the power grid equipment also includes: obtaining a feeder identifier of the target feeder, wherein the feeder identifier is a unique identifier for identifying the target feeder; querying the first coordinate information of the target feeder according to the feeder identifier; controlling the smart map to move the target feeder to a center position based on the first coordinate information, wherein the center position is the visual center position of the screen presented by the smart map in the display component; and highlighting the target feeder in the smart map.

[0008] Optionally, after generating the SVG single-line diagram of the target feeder according to the node positions and the connection path, the positioning method of the power grid equipment further includes: adding a blocking page code to the SVG single-line diagram, wherein the blocking page code is used to prevent a general function tab from being displayed when the trigger operation is sensed, wherein the options in the general function tab include at least: reload, save as, print; after determining to add the blocking page code to the SVG single-line diagram, adding a trigger operation instruction to the SVG single-line diagram to display a trigger operation tab of the trigger operation instruction when the trigger operation is sensed, wherein the options in the trigger operation tab include at least: displaying the power grid equipment and hiding the power grid equipment.

[0009] Optionally, responding to a trigger operation on the target power grid device in the SVG single-line diagram to display device information of the target power grid device using a smart map includes: when a cursor of a trigger device hovers over a position of the target power grid device in the SVG single-line diagram, acquiring the device information of the target power grid device, wherein the trigger device is used to click the target power grid device in the SVG single-line diagram; when the trigger device clicks the position of the target power grid device, responding to the trigger operation of the trigger device and sending the device information of the target power grid device to the smart map; acquiring second coordinate information of the target power grid device in the smart map based on the device information; controlling the smart map to move the target power grid device to the visual center position of the screen presented by the smart map in the display component based on the second coordinate information; and displaying the device information at the visual center position using the smart map.

[0010] Optionally, using the smart map to display the device information includes: obtaining the device icon and device name of the target power grid device based on the device information; controlling the smart map to highlight the device icon and the device name so that the smart map highlights the device icon and the device name of the target power grid device.

[0011] Optionally, using the smart map to display the device information includes: obtaining third coordinate information of the visual center position; calculating the current longitude of the target power grid device based on the third coordinate information using a first formula, wherein the first formula is: lon m =x m ×reso l ut ion+maxExtent.left,lon m Indicates the current longitude, x m represents the horizontal coordinate of the target power grid device in the smart map, resolution represents the resolution of the smart map displayed by the display component, and maxExtent.left represents the leftmost longitude in the longitude and latitude range of the screen presented by the smart map in the display component; the current latitude of the target power grid device is calculated using the second formula based on the third coordinate information, wherein the second formula is: l at m =maxExtent.top-y m × resolution,l at m represents the current latitude, maxExtent.top represents the top latitude in the latitude and longitude range of the image displayed by the smart map in the display component, y mIndicates the vertical coordinate of the target power grid device in the smart map; and uses the smart map to display the current longitude and the current latitude of the target power grid device.

[0012] Optionally, the method for locating power grid equipment also includes: obtaining keyword information of the target power grid equipment; inputting the keyword information into the search box in the SVG single-line diagram for searching, and obtaining a list of power grid equipment matching the keyword information, wherein each of the power grid equipment in the power grid equipment list has a binding relationship with a corresponding positioning button, and the binding relationship between the power grid equipment and the positioning button is a one-to-one relationship; when the positioning button is triggered, determining that the power grid equipment that has the binding relationship with the positioning button is the corresponding power grid equipment, and controlling the smart map to display the equipment information of the corresponding power grid equipment.

[0013] According to another aspect of an embodiment of the present invention, a positioning device for power grid equipment is also provided, including: a first determination unit, used to determine that the power grid equipment that needs to be positioned in the power system is a target power grid equipment; a second determination unit, used to determine that the feeder connected to the target power grid equipment is the target feeder, wherein the feeder is a conductor for transmitting electric energy in the power system; a first acquisition unit, used to acquire an SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent the topological structure of the target feeder; a display unit, used to respond to a trigger operation on the target power grid equipment in the SVG single-line diagram, so as to display the equipment information of the target power grid equipment using a smart map, wherein the trigger operation includes at least: mouse click trigger, touch screen trigger, and the equipment information includes at least: operation information and location information of the target power grid equipment.

[0014] Optionally, the first acquisition unit includes: a first acquisition module, used to acquire tree structure data of the target feeder, wherein the tree structure data is data obtained by forming a tree structure based on data of each level in the power system and the association relationship between each level; a reading module, used to read node information of each node in the tree structure data and the association relationship between each node, wherein each node represents a power grid device; a first determination module, used to determine the node position of each node in the SVG single-line diagram according to the node information; a second determination module, used to determine the connection path between each node according to the association relationship; and a generation module, used to generate the SVG single-line diagram of the target feeder according to each node position and the connection path.

[0015] Optionally, the positioning device of the power grid equipment also includes: a second acquisition module, used to acquire the feeder identification of the target feeder after generating the SVG single-line diagram of the target feeder according to each of the node positions and the connection path, wherein the feeder identification is a unique identifier that identifies the target feeder; a query module, used to query the first coordinate information of the target feeder according to the feeder identification; a first control module, used to control the smart map to move the target feeder to a center position based on the first coordinate information, wherein the center position is the visual center position of the picture presented by the smart map in the display component; a rendering module, used to highlight the target feeder in the smart map.

[0016] Optionally, the positioning device of the power grid equipment also includes: a first adding module, used to add a blocking page code to the SVG single-line diagram after generating the SVG single-line diagram of the target feeder according to the node positions and the connection path, wherein the blocking page code is used to prevent the general function tab from being displayed when the trigger operation is sensed, wherein the options in the general function tab include at least: reload, save as, print; a second adding module, used to add a trigger operation instruction to the SVG single-line diagram after determining to add the blocking page code to the SVG single-line diagram, so as to display a trigger operation tab of the trigger operation instruction when the trigger operation is sensed, wherein the options in the trigger operation tab include at least: display the power grid equipment and hide the power grid equipment.

[0017] Optionally, the display unit includes: a third acquisition module, used to acquire the device information of the target power grid device when the cursor of the trigger device hovers over the position of the target power grid device in the SVG single-line diagram, wherein the trigger device is used to click the target power grid device in the SVG single-line diagram; a response module, used to respond to the trigger operation of the trigger device when the trigger device clicks the position of the target power grid device, and send the device information of the target power grid device to the smart map; a fourth acquisition module, used to acquire second coordinate information of the target power grid device in the smart map based on the device information; a second control module, used to control the smart map to move the target power grid device to the visual center position of the screen presented by the smart map in the display component based on the second coordinate information; and a display module, used to display the device information at the visual center position using the smart map.

[0018] Optionally, the display module includes: a first acquisition submodule, used to acquire the device icon and the device name of the target power grid device based on the device information; and a control submodule, used to control the smart map to highlight the device icon and the device name so that the smart map highlights the device icon and the device name of the target power grid device.

[0019] Optionally, the display module includes: a second acquisition submodule, used to acquire the third coordinate information of the visual center position; a first calculation submodule, used to calculate the current longitude of the target power grid device based on the third coordinate information using a first formula, wherein the first formula is: lon m =x m ×reso l ut ion+maxExtent.left,lon m Indicates the current longitude, x m represents the horizontal coordinate of the target power grid device in the smart map, resolution represents the resolution of the smart map displayed by the display component, and maxExtent.left represents the leftmost longitude in the longitude and latitude range of the screen presented by the smart map in the display component; the second calculation submodule is used to calculate the current latitude of the target power grid device based on the third coordinate information using the second formula, wherein the second formula is: lat m =maxExtent.top-y m × resolution,l at m represents the current latitude, maxExtent.top represents the top latitude in the latitude and longitude range of the image displayed by the smart map in the display component, y m Represents the vertical coordinate of the target power grid device in the smart map; a display submodule is used to display the current longitude and the current latitude of the target power grid device using the smart map.

[0020] Optionally, the positioning device of the power grid equipment also includes: a second acquisition unit, used to acquire keyword information of the target power grid equipment; a third acquisition unit, used to input the keyword information into the search box in the SVG single-line diagram for searching, and obtain a list of power grid equipment matching the keyword information, wherein each of the power grid equipment in the power grid equipment list has a binding relationship with a corresponding positioning button, and the binding relationship between the power grid equipment and the positioning button is a one-to-one relationship; a determination unit, used to determine that the power grid equipment that has the binding relationship with the positioning button is the corresponding power grid equipment when the positioning button is triggered, and control the smart map to display the equipment information of the corresponding power grid equipment.

[0021] According to another aspect of an embodiment of the present invention, a positioning system for power grid equipment is further provided. The positioning system for power grid equipment uses any one of the above-mentioned positioning methods for power grid equipment.

[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for locating power grid equipment.

[0023] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned methods for locating power grid equipment when running.

[0024] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned methods for locating a power grid device is executed.

[0025] In an embodiment of the present invention, a power grid device that needs to be located in the power system is determined to be a target power grid device; a feeder connected to the target power grid device is determined to be a target feeder, wherein the feeder is a conductor that transmits electric energy in the power system; an SVG single-line diagram of the target feeder is obtained, wherein the SVG single-line diagram is used to represent the topological structure of the target feeder; a trigger operation on the target power grid device in the SVG single-line diagram is responded to, so as to display the device information of the target power grid device using the smart map, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the device information at least includes: operation information and location information of the target power grid device. Through the above technical scheme, the purpose of making the SVG single-line diagram and the smart map interact through the trigger operation is achieved, so that the relevant information of the power grid device to be located is displayed on the smart map, and the technical effect of using the SVG single-line diagram and the smart map to collaboratively locate the power grid device is achieved, and the efficiency and response speed of locating the power grid device on the map are improved, thereby solving the technical problem of low efficiency and slow response when locating and displaying the power grid device only through the SVG map in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 It is a hardware structure block diagram of a mobile terminal of a positioning method for power grid equipment according to an embodiment of the present invention;

[0028] Figure 2is a flow chart of a method for positioning a power grid device according to an embodiment of the present invention;

[0029] Figure 3 is a flow chart of an optional method for locating a power grid device according to an embodiment of the present invention;

[0030] Figure 4 is a schematic diagram of a positioning device for power grid equipment according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 described embodiments 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 should fall within the scope of protection of the present invention.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] As introduced in the background technology, the related art only uses SVG images to locate and display power grid equipment, which is inefficient and slow to respond. In view of the above defects, a method and device for locating power grid equipment and a computer program product are provided in the embodiments of the present invention.

[0034] 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.

[0035] The method embodiments provided in the embodiments of the present invention 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 FIG. 1 is a hardware structure block diagram of a mobile terminal for positioning a power grid device 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.

[0036] 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 positioning method of the power grid equipment 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 may 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 Control, 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.

[0037] According to an embodiment of the present invention, a method embodiment of a method for locating power grid equipment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0038] Figure 2 is a flow chart of a method for positioning a power grid device according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0039] Step S202: determining that the power grid equipment that needs to be located in the power system is the target power grid equipment.

[0040] In this embodiment, it may be determined first which power grid devices need to be located, and the power grid devices that need to be located are determined as target power grid devices.

[0041] Step S204: determine that a feeder connected to the target power grid device is a target feeder, wherein a feeder is a conductor for transmitting electric energy in a power system.

[0042] In this embodiment, the feeder connected to the target power grid equipment can be determined as the target feeder, and then the target power grid equipment is positioned collaboratively based on the SVG single-line diagram and the smart map of the target feeder; the feeder connected to the target power grid equipment here can be one or more. In the embodiment of the present invention, one of the feeders is taken as an example for analysis, and the method used for analyzing other feeders connected to the target power grid equipment is the same, which will not be repeated here.

[0043] It should be noted that you can also first select a feeder as the research target, then initialize the SVG single-line diagram data and smart map data of the feeder, and then use the SVG single-line diagram and smart map to locate the power grid equipment connected to the feeder.

[0044] Step S206: acquiring an SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent a topological structure of the target feeder.

[0045] In this embodiment, an SVG single-line diagram of the target feeder may be obtained, and the relevant device information and location information of the target power grid device may be displayed in the smart map by performing corresponding operations on the SVG single-line diagram.

[0046] Combine the following Figure 3 The above embodiments of the present invention are further described in detail. Figure 3 is a flow chart of an optional method for locating a power grid device according to an embodiment of the present invention.

[0047] According to the above embodiment of the present invention, in the above step S206, the SVG single-line diagram of the target feeder is obtained, including: obtaining tree structure data of the target feeder, wherein the tree structure data is data obtained by forming a tree structure based on data of each level in the power system and the association relationship between each level; reading node information of each node in the tree structure data and the association relationship between each node, wherein each node represents a power grid device; determining the node position of each node in the SVG single-line diagram according to the node information; determining the connection path between each node according to the association relationship; and generating the SVG single-line diagram of the target feeder according to the position of each node and the connection path.

[0048] Specifically, first, the data of each level is queried from the database in turn, including the data of the power supply station corresponding to a certain target area (here refers to a certain power supply area), and then the data of the feeder corresponding to a certain power supply station and the data of the feeder corresponding to a certain feeder group are queried, so as to assemble the data of each level and the contact relationship of each level into a line equipment tree with a tree structure, and obtain the tree structure data of the target feeder; then the tree structure data is parsed to obtain the node information of each node and the association relationship between the nodes to determine the position and connection relationship of each node in the SVG single-line diagram, and add the color, thickness of the line, the style of the node, etc., so as to better display the structure and information of the feeder, and the SVG single-line diagram of the target feeder can be obtained by drawing in this way.

[0049] In an optional embodiment of the present invention, Figure 3 As shown, the corresponding SVG single-line diagram data file can also be queried by the ID of the target feeder (i.e., the feeder identifier, the same below), and the SVG single-line diagram data file is converted into a MultipartFile type by Java's IO stream processing, and then the MultipartFile type is converted into a string by Java's IO stream processing, and finally the string is transmitted to the web page to use the web page to visualize the SVG single-line diagram.

[0050] In addition, if Figure 3 As shown, the Zhikan map data and SVG single-line diagram data can also be initialized. The specific operations for initializing the Zhikan map data are: calling the Zhikan map service, rendering the Zhikan map, setting the Zhikan map zoom ratio, moving the view to the center of the Zhikan map, and setting the display of the eagle-eye map. Set the control to not display various power grid equipment, so that the rendered Zhikan map only displays the distribution of substations, and then load and operate the objects of the Zhikan map, such as objects for drawing line segments, objects for calculating distance lengths, objects for querying map power grid equipment, and objects for marking points on the Zhikan map; the specific operations for initializing the SVG single-line diagram data are: when the feeder in the tree structure data is not checked, display the prompt "Check the feeder first" and set the prompt to be hidden.

[0051] In the above embodiment of the present invention, after generating an SVG single-line diagram of the target feeder according to the positions of each node and the connection path, the positioning method of the power grid equipment also includes: obtaining a feeder identifier of the target feeder, wherein the feeder identifier is a unique identifier that identifies the target feeder; querying the first coordinate information of the target feeder according to the feeder identifier; controlling the smart map to move the target feeder to the center position based on the first coordinate information, wherein the center position is the visual center position of the screen presented by the smart map in the display component; and highlighting the target feeder in the smart map.

[0052] Optionally, the above-mentioned display components may include but are not limited to: a display, a display screen and other components that can be used to display images.

[0053] Specifically, first check the target feeder, that is, select the target feeder first; then check whether the Zhikan map has any marks or renderings, if so, clean it up to ensure that the Zhikan map is a clean map with only the outline of the target area, and it is necessary to determine that there is only one selected feeder; when the above conditions are met, obtain the ID of the target feeder, and then use the ID of the target feeder to retrieve the list data of the target feeder. Zhikan map queries the device interface through the ID of the target feeder to query all the information of the target feeder. After obtaining all the information of the target feeder, process the map coordinate data of the device information, move the user's perspective to the position of the coordinates of the target feeder, and center the perspective in the map, that is, adjust the target feeder to the visual center of the Zhikan map screen presented on the display screen; and use all the information of the target feeder to call the data interface for rendering in the Zhikan map, highlighting the target feeder to make the content presented on the screen more prominent.

[0054] In the above embodiment of the present invention, after generating an SVG single-line diagram of the target feeder according to the position of each node and the connection path, the positioning method of the power grid equipment also includes: adding a blocking page code to the SVG single-line diagram, wherein the blocking page code is used to prevent the general function tab from being displayed when a trigger operation is sensed, wherein the options in the general function tab include at least: reload, save as, print; after determining to add the blocking page code to the SVG single-line diagram, adding a trigger operation instruction to the SVG single-line diagram to display a trigger operation tab of the trigger operation instruction when a trigger operation is sensed, wherein the options in the trigger operation tab include at least: display power grid equipment and hide power grid equipment.

[0055] Specifically, Figure 3 As shown, a blocking page code can be added based on the SVG single-line diagram data. The code can prevent the SVG single-line diagram from displaying function tabs such as "Reload" and "Save As" that appear on regular web pages when the right mouse button is pressed; and add mouse operation instructions based on the SVG single-line diagram data (triggering operation instructions are triggered by the mouse as an example) to enable function tabs such as "Show Power Grid Equipment" and "Hide Power Grid Equipment" to appear when the right mouse button is pressed, and control the display and hiding of power grid equipment in the SVG diagram by clicking the right mouse button, and move the mouse to control the display perspective of power grid equipment in the Zhikan map, etc.

[0056] Step S208, respond to the trigger operation of the target power grid equipment in the SVG single-line diagram, so as to use the smart map to display the equipment information of the target power grid equipment, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the equipment information at least includes: operation information and location information of the target power grid equipment.

[0057] In this embodiment, if Figure 3 As shown, taking triggering by clicking the mouse as an example, when the mouse is clicked on any target power grid equipment in the SVG single-line diagram, the equipment information of the target power grid equipment can be displayed on the smart map.

[0058] According to the above embodiment of the present invention, in the above step S208, responding to the trigger operation of the target power grid device in the SVG single-line diagram to display the equipment information of the target power grid device using the smart map, includes: when the cursor of the trigger device hovers over the position of the target power grid device in the SVG single-line diagram, obtaining the equipment information of the target power grid device, wherein the trigger device is used to click the target power grid device in the SVG single-line diagram; when the trigger device clicks the position of the target power grid device, responding to the trigger operation of the trigger device, and sending the equipment information of the target power grid device to the smart map; obtaining the second coordinate information of the target power grid device in the smart map based on the equipment information; controlling the smart map to move the target power grid device to the visual center position of the screen presented by the smart map in the display component based on the second coordinate information; and displaying the equipment information at the visual center position using the smart map.

[0059] Specifically, when the mouse hovers over the target power grid equipment in the SVG single-line diagram, the equipment information such as the operation information and location information of the target power grid equipment is obtained; when the target power grid equipment is clicked with the mouse, the equipment information of the target power grid equipment can be displayed on the smart map, and the target power grid equipment can be adjusted to the visual center position of the picture presented by the smart map in the display screen for presentation.

[0060] The operating information here can be organized and summarized into a table, and then displayed in the form of a table on the Zhikan map to make the display content clear and concise and enhance the visibility of the map display.

[0061] In a specific embodiment of the present invention, the device information is displayed using the Zhikan map, including: obtaining the device icon and device name of the target power grid device based on the device information; controlling the Zhikan map to highlight the device icon and device name, so that the Zhikan map highlights the device icon and device name of the target power grid device.

[0062] Specifically, when the mouse clicks on the target power grid device in the SVG single-line diagram, the device name and device icon of the target power grid device in the smart map can be highlighted to highlight the device name and device icon of the target power grid device in the smart map.

[0063] The highlighting process here can be performed by inputting the standard deviation of the icon element through the SVG image filter feGaussianBl ur, adding a smooth blur to the icon to complete the definition of the icon edge processing algorithm; define the icon color interaction processing through the SVG image filter feColorMatrix, modify its type attribute to matrix to define the filter to change the icon color value through matrix calculation.

[0064] In another optional embodiment of the present invention, using the smart map to display device information includes: obtaining the third coordinate information of the visual center position; calculating the current longitude of the target power grid device based on the third coordinate information using the first formula, wherein the first formula is: lon m =x m ×reso l ut ion+maxExtent.left,lon m Indicates the current longitude, x m represents the horizontal coordinate of the target power grid device in the smart map, resolution represents the resolution of the smart map displayed by the display component, and maxExtent.left represents the leftmost longitude in the latitude and longitude range of the screen presented by the smart map in the display component; the current latitude of the target power grid device is calculated using the second formula based on the third coordinate information, where the second formula is: lat m =maxExtent.top-y m × resolution,l at m Indicates the current latitude, maxExtent.top indicates the top latitude in the latitude and longitude range of the screen displayed by the Zhikan map in the display component, y m Indicates the vertical coordinate of the target power grid equipment in the Zhikan map; uses the Zhikan map to display the current longitude and current latitude of the target power grid equipment.

[0065] Specifically, the location information of the target power grid device displayed in the smart map is the actual location of the target power grid device, which can be represented by the latitude and longitude of the current location of the target power grid device; the specific calculation process is as follows: lon m =x m ×reso l ut ion+maxExtent.left,lon m Indicates the current longitude, x mIndicates the horizontal coordinate of the target power grid equipment in the smart map, resolution indicates the resolution of the smart map displayed by the display component, and maxExtent.left indicates the leftmost longitude in the latitude and longitude range of the screen presented by the smart map in the display component; lat m =maxExtent.top-y m × resolution,l at m Indicates the current latitude, maxExtent.top indicates the top latitude in the latitude and longitude range of the screen displayed by the Zhikan map in the display component, y m Indicates the vertical coordinate of the target power grid equipment in the Zhikan map.

[0066] In an optional embodiment of the present invention, the positioning method of the power grid equipment also includes: obtaining keyword information of the target power grid equipment; inputting the keyword information into the search box in the SVG single-line diagram for searching, and obtaining a list of power grid equipment matching the keyword information, wherein each power grid equipment in the power grid equipment list has a binding relationship with the corresponding positioning button, and the binding relationship between the power grid equipment and the positioning button is a one-to-one relationship; when the positioning button is triggered, the power grid equipment that has a binding relationship with the positioning button is determined to be the corresponding power grid equipment, and the smart map is controlled to display the equipment information of the corresponding power grid equipment.

[0067] Specifically, a search box can be set in the page of the SVG single-line diagram. After the search content is entered in the search box, the search content is matched with all the text information in the SVG single-line diagram, and the content that meets the preset matching conditions is organized into a table for display; in the table, a "positioning button" is set next to each corresponding power grid device. When the "positioning button" is clicked, you can jump to the corresponding perspective of the power grid device in the Zhikan map (that is, the visual center of the Zhikan map screen presented on the display screen), and you can also obtain the location information of the power grid device in the Zhikan map at the same time.

[0068] As can be seen from the above, through the technical solution provided by the above embodiment of the present invention, the power grid equipment that needs to be located in the power system is determined as the target power grid equipment; the feeder connected to the target power grid equipment is determined as the target feeder, wherein the feeder is a conductor for transmitting electric energy in the power system; the SVG single-line diagram of the target feeder is obtained, wherein the SVG single-line diagram is used to represent the topological structure of the target feeder; the trigger operation of the target power grid equipment in the SVG single-line diagram is responded to, so as to display the equipment information of the target power grid equipment using the smart map, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the equipment information at least includes: operation information and location information of the target power grid equipment, so as to achieve the purpose of interacting the SVG single-line diagram and the smart map through the trigger operation, so that the relevant information of the power grid equipment to be located is displayed on the smart map, and the technical effect of locating the power grid equipment by using the SVG single-line diagram and the smart map in collaboration is achieved, and the efficiency and response speed of locating the power grid equipment on the map are improved.

[0069] Therefore, the technical solution provided by the above-mentioned embodiment of the present invention solves the technical problem of low efficiency and slow response when positioning and displaying power grid equipment only through SVG images in the related art.

[0070] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0072] According to an embodiment of the present invention, a positioning device for power grid equipment is provided for implementing the positioning method for power grid equipment. Figure 4 is a schematic diagram of a positioning device for a power grid device according to an embodiment of the present invention. Figure 4As shown, the device includes: a first determining unit 41, a second determining unit 43, a first obtaining unit 45 and a display unit 47. The positioning device for the power grid equipment is described in detail below.

[0073] The first determining unit 41 is configured to determine a power grid device that needs to be located in the power system as a target power grid device.

[0074] The second determining unit 43 is configured to determine a feeder connected to the target power grid device as a target feeder, wherein a feeder is a conductor for transmitting electric energy in a power system.

[0075] The first acquisition unit 45 is configured to acquire an SVG single-line diagram of a target feeder, wherein the SVG single-line diagram is used to represent a topological structure of the target feeder.

[0076] The display unit 47 is used to respond to the trigger operation of the target power grid equipment in the SVG single-line diagram, so as to display the equipment information of the target power grid equipment using the smart map, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the equipment information at least includes: operation information and location information of the target power grid equipment.

[0077] It should be noted here that the above-mentioned first determination unit 41, second determination unit 43, first acquisition unit 45 and display unit 47 correspond to steps S202 to S208 in the above-mentioned embodiments, and the four units are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0078] As can be seen from the above, in the scheme recorded in the above embodiment of the present invention, the first determination unit can be used to determine that the power grid equipment that needs to be located in the power system is the target power grid equipment; then the second determination unit is used to determine that the feeder connected to the target power grid equipment is the target feeder, wherein the feeder is a conductor for transmitting electric energy in the power system; then the first acquisition unit is used to acquire the SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent the topological structure of the target feeder; finally, the display unit is used to respond to the trigger operation of the target power grid equipment in the SVG single-line diagram, so as to display the equipment information of the target power grid equipment using the smart map, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the equipment information at least includes: operation information and location information of the target power grid equipment, so as to achieve the purpose of interacting the SVG single-line diagram and the smart map through the trigger operation, so that the relevant information of the power grid equipment to be located is displayed on the smart map, and the technical effect of using the SVG single-line diagram and the smart map to collaboratively locate the power grid equipment is achieved, and the efficiency and response speed of locating the power grid equipment on the map are improved.

[0079] Therefore, the technical solution provided by the above-mentioned embodiment of the present invention solves the technical problem of low efficiency and slow response when positioning and displaying power grid equipment only through SVG images in the related art.

[0080] Optionally, the first acquisition unit includes: a first acquisition module, used to acquire tree structure data of the target feeder, wherein the tree structure data is data obtained by forming a tree structure based on data of each level in the power system and the association relationship between each level; a reading module, used to read node information of each node in the tree structure data and the association relationship between each node, wherein each node represents a power grid device; a first determination module, used to determine the node position of each node in the SVG single-line diagram according to the node information; a second determination module, used to determine the connection path between each node according to the association relationship; and a generation module, used to generate the SVG single-line diagram of the target feeder according to the position of each node and the connection path.

[0081] Optionally, the positioning device of the power grid equipment also includes: a second acquisition module, used to obtain the feeder identification of the target feeder after generating the SVG single-line diagram of the target feeder according to the node positions and connection paths, wherein the feeder identification is a unique identifier that identifies the target feeder; a query module, used to query the first coordinate information of the target feeder according to the feeder identification; a first control module, used to control the smart map to move the target feeder to the center position based on the first coordinate information, wherein the center position is the visual center position of the picture presented by the smart map in the display component; a rendering module, used to highlight the target feeder in the smart map.

[0082] Optionally, the positioning device of the power grid equipment also includes: a first adding module, used to add a blocking page code to the SVG single-line diagram after generating the SVG single-line diagram of the target feeder according to the positions of each node and the connection path, wherein the blocking page code is used to prevent the general function tab from being displayed when a trigger operation is sensed, wherein the options in the general function tab include at least: reload, save as, print; a second adding module, used to add a trigger operation instruction to the SVG single-line diagram after determining to add the blocking page code to the SVG single-line diagram, so as to display a trigger operation tab of the trigger operation instruction when a trigger operation is sensed, wherein the options in the trigger operation tab include at least: display power grid equipment and hide power grid equipment.

[0083] Optionally, the display unit includes: a third acquisition module, used to acquire device information of the target power grid device when the cursor of the trigger device hovers over the position of the target power grid device in the SVG single-line diagram, wherein the trigger device is used to click the target power grid device in the SVG single-line diagram; a response module, used to respond to the trigger operation of the trigger device when the trigger device clicks the position of the target power grid device, and send the device information of the target power grid device to the smart map; a fourth acquisition module, used to acquire second coordinate information of the target power grid device in the smart map based on the device information; a second control module, used to control the smart map to move the target power grid device to the visual center position of the screen presented by the smart map in the display component based on the second coordinate information; and a display module, used to display the device information at the visual center position using the smart map.

[0084] Optionally, the display module includes: a first acquisition submodule, used to acquire the device icon and device name of the target power grid device based on the device information; and a control submodule, used to control the Zhikan map to highlight the device icon and device name so that the Zhikan map highlights the device icon and device name of the target power grid device.

[0085] Optionally, the display module includes: a second acquisition submodule, used to acquire the third coordinate information of the visual center position; a first calculation submodule, used to calculate the current longitude of the target power grid device based on the third coordinate information using a first formula, wherein the first formula is: lon m =x m ×reso l ut ion+maxExtent.left,lon m Indicates the current longitude, x m represents the horizontal coordinate of the target power grid device in the smart map, resolution represents the resolution of the smart map displayed by the display component, and maxExtent.left represents the leftmost longitude in the latitude and longitude range of the screen presented by the smart map in the display component; the second calculation submodule is used to calculate the current latitude of the target power grid device based on the third coordinate information using the second formula, wherein the second formula is: l at m =maxExtent.top-y m × resolution,l at m Indicates the current latitude, maxExtent.top indicates the top latitude in the latitude and longitude range of the screen displayed by the Zhikan map in the display component, y m Indicates the vertical coordinate of the target power grid equipment in the Zhikan map; the display submodule is used to display the current longitude and current latitude of the target power grid equipment using the Zhikan map.

[0086] Optionally, the positioning device of the power grid equipment also includes: a second acquisition unit, used to acquire keyword information of the target power grid equipment; a third acquisition unit, used to input the keyword information into the search box in the SVG single-line diagram for searching, and obtain a list of power grid equipment matching the keyword information, wherein each power grid equipment in the power grid equipment list has a binding relationship with the corresponding positioning button, and the binding relationship between the power grid equipment and the positioning button is a one-to-one relationship; a determination unit, used to determine that the power grid equipment that has a binding relationship with the positioning button is the corresponding power grid equipment when the positioning button is triggered, and control the smart map to display the equipment information of the corresponding power grid equipment.

[0087] According to another aspect of an embodiment of the present invention, a positioning system for power grid equipment is further provided. The positioning system for power grid equipment uses any one of the above positioning methods for power grid equipment.

[0088] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided. The computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for locating power grid equipment.

[0089] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0090] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: determining that the power grid equipment that needs to be located in the power system is the target power grid equipment; determining that the feeder connected to the target power grid equipment is the target feeder, wherein the feeder is a conductor that transmits electric energy in the power system; obtaining an SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent the topological structure of the target feeder; responding to a trigger operation on the target power grid equipment in the SVG single-line diagram to display the equipment information of the target power grid equipment using the smart map, wherein the trigger operation includes at least: mouse click trigger, touch screen trigger, and the equipment information includes at least: operation information and location information of the target power grid equipment.

[0091] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining tree structure data of the target feeder, wherein the tree structure data is data obtained by forming a tree structure based on data of each level in the power system and the association relationship between each level; reading node information of each node in the tree structure data and the association relationship between each node, wherein each node represents a power grid device; determining the node position of each node in the SVG single-line diagram based on the node information; determining the connection path between each node based on the association relationship; and generating the SVG single-line diagram of the target feeder based on the position of each node and the connection path.

[0092] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining a feeder identification of a target feeder, wherein the feeder identification is a unique identifier for identifying the target feeder; querying first coordinate information of the target feeder according to the feeder identification; controlling the smart map to move the target feeder to a center position based on the first coordinate information, wherein the center position is the visual center position of the screen presented by the smart map in the display component; and highlighting the target feeder in the smart map.

[0093] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: adding a page blocking code to the SVG single-line diagram, wherein the page blocking code is used to prevent a general function tab from being displayed when a trigger operation is sensed, wherein the options in the general function tab include at least: reload, save as, print; after determining to add the page blocking code to the SVG single-line diagram, adding a trigger operation instruction to the SVG single-line diagram to display a trigger operation tab of the trigger operation instruction when a trigger operation is sensed, wherein the options in the trigger operation tab include at least: display power grid equipment and hide power grid equipment.

[0094] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: when the cursor of the trigger device hovers over the position of the target power grid device in the SVG single-line diagram, obtaining device information of the target power grid device, wherein the trigger device is used to click the target power grid device in the SVG single-line diagram; when the trigger device clicks the position of the target power grid device, responding to the trigger operation of the trigger device, and sending the device information of the target power grid device to the smart map; obtaining second coordinate information of the target power grid device in the smart map based on the device information; controlling the smart map to move the target power grid device to the visual center position of the screen presented by the smart map in the display component based on the second coordinate information; and displaying the device information at the visual center position using the smart map.

[0095] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining the device icon and device name of the target power grid device based on the device information; controlling the smart map to highlight the device icon and device name so that the smart map highlights the device icon and device name of the target power grid device.

[0096] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining third coordinate information of the visual center position; calculating the current longitude of the target power grid device using a first formula based on the third coordinate information, wherein the first formula is: lon m =x m ×reso l ut ion+maxExtent.left,lon m Indicates the current longitude, x m represents the horizontal coordinate of the target power grid device in the smart map, resolution represents the resolution of the smart map displayed by the display component, and maxExtent.left represents the leftmost longitude in the latitude and longitude range of the screen presented by the smart map in the display component; the current latitude of the target power grid device is calculated using the second formula based on the third coordinate information, where the second formula is: l at m =maxExtent.top-y m × resolution,l at m Indicates the current latitude, maxExtent.top indicates the top latitude in the latitude and longitude range of the screen displayed by the Zhikan map in the display component, y m Indicates the vertical coordinate of the target power grid equipment in the Zhikan map; uses the Zhikan map to display the current longitude and current latitude of the target power grid equipment.

[0097] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining keyword information of the target power grid equipment; inputting the keyword information into the search box in the SVG single-line diagram for searching, and obtaining a list of power grid equipment that matches the keyword information, wherein each power grid equipment in the power grid equipment list has a binding relationship with the corresponding positioning button, and the binding relationship between the power grid equipment and the positioning button is a one-to-one relationship; when the positioning button is triggered, determining that the power grid equipment that has a binding relationship with the positioning button is the corresponding power grid equipment, and controlling the smart map to display the equipment information of the corresponding power grid equipment.

[0098] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned methods for locating power grid equipment is executed.

[0099] According to another aspect of an embodiment of the present invention, a computer program product is provided, including computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned methods for locating a power grid device is executed.

[0100] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0101] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0102] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0103] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0104] In addition, each functional unit in each embodiment of the present invention 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.

[0105] 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 invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0106] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for positioning power grid equipment, characterized in that: include: Determine the power grid equipment that needs to be located in the power system as the target power grid equipment; Determine a feeder connected to the target power grid device as a target feeder, wherein the feeder is a conductor for transmitting electric energy in the power system; Acquire an SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent a topological structure of the target feeder; Respond to the trigger operation of the target power grid equipment in the SVG single-line diagram to display the equipment information of the target power grid equipment using the smart map, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the equipment information at least includes: operation information and location information of the target power grid equipment.

2. The method for locating power grid equipment according to claim 1, characterized in that: Obtaining an SVG single-line diagram of the target feeder, including: Acquire tree structure data of the target feeder, wherein the tree structure data is data formed by forming a tree structure based on data of each level in the power system and association relationships between the levels; Reading node information of each node in the tree structure data and the association relationship between each node, wherein each node represents one of the power grid devices; Determine the node position of each of the nodes in the SVG single-line diagram according to the node information; Determine a connection path between the nodes according to the association relationship; The SVG single-line diagram of the target feeder is generated according to the positions of each node and the connection path.

3. The method for positioning power grid equipment according to claim 2, characterized in that: After generating the SVG single-line diagram of the target feeder according to each of the node positions and the connection path, the method further includes: Acquire a feeder identifier of a target feeder, wherein the feeder identifier is a unique identifier that identifies the target feeder; Querying first coordinate information of the target feeder according to the feeder identifier; Based on the first coordinate information, the smart map is controlled to move the target feeder to a center position, wherein the center position is a visual center position of a picture presented by the smart map in a display component; The target feeder is highlighted in the smart map.

4. The method for locating power grid equipment according to claim 2, characterized in that: After generating the SVG single-line diagram of the target feeder according to each of the node positions and the connection path, the method further includes: Adding a blocking page code to the SVG single-line diagram, wherein the blocking page code is used to prevent a general function tab from being displayed when the trigger operation is sensed, wherein the options in the general function tab include at least: reload, save as, and print; After determining to add the blocking page code to the SVG single-line diagram, a trigger operation instruction is added to the SVG single-line diagram to display a trigger operation tab of the trigger operation instruction when the trigger operation is sensed, wherein the options in the trigger operation tab include at least: displaying the power grid equipment and hiding the power grid equipment.

5. The method for locating power grid equipment according to claim 1, characterized in that: In response to a triggering operation on the target power grid device in the SVG single-line diagram, the device information of the target power grid device is displayed using a smart map, including: When a cursor of a trigger device hovers over a location of the target power grid device in the SVG single-line diagram, acquiring the device information of the target power grid device, wherein the trigger device is used to click the target power grid device in the SVG single-line diagram; In the case where the trigger device clicks the location of the target power grid device, responding to the trigger operation of the trigger device, and sending the device information of the target power grid device to the smart map; Acquire second coordinate information of the target power grid device in the smart map based on the device information; Based on the second coordinate information, the smart map is controlled to move the target power grid device to the visual center position of the screen presented by the smart map in the display component; The smart map is used to display the device information at the visual center position.

6. The method for locating power grid equipment according to claim 5, characterized in that: Using the smart map to display the device information includes: Acquire a device icon and a device name of the target power grid device based on the device information; The smart map is controlled to highlight the device icon and the device name, so that the smart map highlights the device icon and the device name of the target power grid device.

7. The method for locating power grid equipment according to claim 5, characterized in that: Using the smart map to display the device information includes: Acquire the third coordinate information of the visual center position; Based on the third coordinate information, the current longitude of the target power grid device is calculated using a first formula, wherein the first formula is: lon m =x m ×resolution+maxExtent.left,lon m Indicates the current longitude, x m represents the horizontal coordinate of the target power grid device in the smart map, resolution represents the resolution of the smart map displayed by the display component, and maxExtent.left represents the leftmost longitude in the longitude and latitude range of the screen presented by the smart map in the display component; Based on the third coordinate information, the current latitude of the target power grid device is calculated using a second formula, wherein the second formula is: lat m =maxExtent.top-y m ×resolution, lat m represents the current latitude, maxExtent.top represents the top latitude in the latitude and longitude range of the image displayed by the smart map in the display component, y m Indicates the vertical coordinate of the target power grid equipment in the smart map; The smart map is used to display the current longitude and the current latitude of the target power grid equipment.

8. The method for locating power grid equipment according to claim 1, characterized in that: Also includes: Acquire keyword information of the target power grid device; Input the keyword information into the search box in the SVG single-line diagram to search, and obtain a list of power grid devices matching the keyword information, wherein each of the power grid devices in the power grid device list has a binding relationship with a corresponding positioning button, and the binding relationship between the power grid device and the positioning button is a one-to-one relationship; When the positioning button is triggered, the power grid device that has the binding relationship with the positioning button is determined to be the corresponding power grid device, and the smart map is controlled to display the device information of the corresponding power grid device.

9. A positioning device for power grid equipment, characterized in that: include: A first determining unit, configured to determine a power grid device that needs to be located in the power system as a target power grid device; A second determining unit is used to determine that a feeder connected to the target power grid device is a target feeder, wherein the feeder is a conductor for transmitting electric energy in the power system; A first acquisition unit is used to acquire an SVG single-line diagram of the target feeder, wherein the SVG single-line diagram is used to represent a topological structure of the target feeder; A display unit is used to respond to a trigger operation on the target power grid device in the SVG single-line diagram, so as to display the device information of the target power grid device using the smart map, wherein the trigger operation at least includes: mouse click trigger, touch screen trigger, and the device information at least includes: operation information and location information of the target power grid device.

10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the method for locating a power grid device according to any one of claims 1 to 8 is performed.