Power grid map vector slice generation method and system and power grid map generation method

By adopting a high-performance memory-based vector tile generation method in the power grid map, the problem of power grid equipment update and diversified display requirements is solved, efficient generation and browsing of the power grid map is achieved, and the display effect and interactivity are significantly improved.

CN119336856APending Publication Date: 2025-01-21NARI INFORMATION & COMM TECH +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411289200.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The existing technology cannot effectively meet the frequent updates and diversified display requirements of power grid equipment and the efficient loading and browsing requirements of massive power grid equipment graphics data, resulting in poor display effect and browsing performance of power grid maps.

Method used

A high-performance memory-based vector slice generation method is used to convert power grid equipment into memory device objects containing coordinates, attributes, and topology information. Based on the vector tile configuration scheme, the device is queried from the memory to generate grid vector slices to support multi-state power grid display. .

Benefits of technology

It has significantly improved the generation and browsing efficiency of the grid map, realized the massive efficiency of the massive data of the polymorph grid, and improved the display effect and interaction of the grid map.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336856A_ABST
    Figure CN119336856A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid map vector slice generation method and system and a power grid map generation method.In the power grid map vector slice generation method, when vector slice service is started, power grid equipment is converted into a memory equipment object containing coordinates, attributes and topological information, and the memory equipment object is stored according to a vector slice configuration scheme; querying equipment from a memory and generating a power grid vector slice; the vector slice configuration scheme comprises the steps that according to the equipment type and the equipment voltage level of the power grid equipment, a vector slice layer where the power grid equipment is located is divided, the same equipment type is divided into a plurality of layers according to the voltage level, and different minimum display levels and maximum display levels are set for different power grid vector slice layers. According to the method, efficient loading and display of mass data of the multi-state power grid are supported, and the display effect and browsing efficiency of the power grid map are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to power grid equipment management technology, in particular to a power grid vector slice generation method and a power grid map generation method. Background Art

[0002] The power grid map is a commonly used map scene in business applications such as power grid visualization and map operations. It is the basic graphic base and has a wide range of application scenarios in businesses such as power outage information visualization, auxiliary formulation of business expansion and registration plans, fault repair, and emergency command. It puts forward higher requirements on the display effect and browsing performance of the power grid map.

[0003] At present, the traditional way of loading, displaying, browsing and interactivity of power grid equipment graphic data through raster slicing or GeoJSON is not satisfactory. At the same time, the frequent updates of power grid equipment, the diversified display needs of power grid equipment and the efficient loading and browsing requirements of massive power grid equipment graphic data cannot be effectively met. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a memory-based high-performance vector slice generation and power grid map generation method that supports polymorphic power grid display, which significantly improves the generation and browsing efficiency of power grid framework diagrams.

[0005] Technical solution: The method for generating vector slices of a power grid map described in the present invention converts the power grid equipment into a memory device object containing coordinates, attributes, and topology information when the vector slice service is started, and queries the equipment from the memory and generates power grid vector slices according to the vector slice configuration scheme;

[0006] The vector slice configuration scheme includes:

[0007] The vector slice layers where the power grid equipment is located are divided according to the equipment type and equipment voltage level of the power grid equipment. The same equipment type is divided into multiple layers according to the voltage level. Different power grid vector slice layers are set with different minimum display levels and maximum display levels.

[0008] Furthermore, the name of the vector slice layer of the power grid equipment includes a layer id, a layer type, a voltage level and a polymorphic type.

[0009] Furthermore, the attributes of the vector slice layer of the power grid equipment include equipment symbol attributes and line equipment attributes; the equipment symbol attributes are used to determine the type, state, size and rotation angle of the equipment, and the line equipment attributes are used to determine the rendering style of the line equipment.

[0010] Furthermore, the converting of the power grid device into a memory device object containing coordinates, attributes, and topology information also includes creating a spatial index of the device object according to the coordinate information.

[0011] The power grid map vector slice generation system of the present invention is used to convert the power grid equipment into a memory device object containing coordinates, attributes, and topology information when the vector slice service is started, query the equipment from the memory and generate the power grid vector slice according to the vector slice configuration scheme;

[0012] The vector slice configuration scheme includes:

[0013] The vector slice layers where the power grid equipment is located are divided according to the equipment type and equipment voltage level of the power grid equipment. The same equipment type is divided into multiple layers according to the voltage level. Different power grid vector slice layers are set with different minimum display levels and maximum display levels.

[0014] Furthermore, the name of the vector slice layer of the power grid equipment includes a layer id, a layer type, a voltage level and a polymorphic type.

[0015] Furthermore, the attributes of the vector slice layer of the power grid equipment include equipment symbol attributes and line equipment attributes; the equipment symbol attributes are used to determine the type, state, size and rotation angle of the equipment, and the line equipment attributes are used to determine the rendering style of the line equipment.

[0016] Furthermore, the converting of the power grid device into a memory device object containing coordinates, attributes, and topology information also includes creating a spatial index of the device object according to the coordinate information.

[0017] The power grid map generation method of the present invention, when a client browses a power grid map, calls a vector slice service, uses the slice generation method to generate power grid vector slices, and generates a power grid map based on the power grid vector slices.

[0018] Furthermore, the power grid map generation method specifically includes the following steps:

[0019] The client generates parameters for obtaining a grid vector slice and sends the parameters to the vector slice service via a request;

[0020] The vector tile service parses the parameters from the received request to obtain the row number, column number, zoom level and permission parameters of the power grid map;

[0021] The vector tile service obtains the spatial range of the tile to be generated based on the row number, column number, and zoom level;

[0022] The vector slice service queries the power grid equipment within the spatial range according to the permission parameters to obtain the power grid equipment data;

[0023] The vector slice service generates grid vector slices based on grid equipment data using the vector slice configuration solution and sends them to the client.

[0024] The client generates a power grid map based on the power grid vector slices.

[0025] The electronic device described in the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is loaded into the processor, the method for generating vector slices of a power grid map is implemented.

[0026] The computer-readable storage medium of the present invention stores a computer program, and when the computer program is executed by a processor, the method for generating vector slices of a power grid map is implemented.

[0027] Beneficial effects: Compared with the prior art, the advantages of the present invention are: (1) the present invention divides different vector slice layers according to the type of power grid equipment and the voltage level, designs the layer display level, and can improve the generation efficiency of power grid map slices; (2) the present invention displays the polymorphic types of power grids by naming the layers, thereby realizing efficient browsing of massive data of polymorphic power grids; (3) the present invention queries power grid equipment from the memory and generates vector slices, thereby realizing high-performance memory-based slicing technology; (4) the present invention generates a power grid map based on vector slices, quickly responds and generates corresponding vector slices according to the client's demand parameters, and generates a map based on the vector slices, thereby significantly improving the display effect and browsing efficiency of the power grid map. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is a flow chart of the method for generating vector slices of a power grid map according to the present invention;

[0029] Figure 2 This is a flow chart of the method for generating a power grid map according to the present invention. DETAILED DESCRIPTION

[0030] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0031] like Figure 1 As shown, the method for generating vector slices of a power grid map includes the following steps.

[0032] 1. Naming of the power grid vector tile layer.

[0033] The grid vector slice layer name is named in the format of "layer_layer id_layer type_voltage level_polymorphic type", where the layer id corresponds to the classid value pre-assigned to each grid equipment type, describing the specific classification information of the equipment type; the layer type includes three types: point symbol layer, line layer and surface layer according to the display form of the grid equipment, with values ​​of 1 for point symbol layer, 2 for line layer and 3 for surface layer; the voltage level corresponds to the voltage value of the equipment, where direct current is expressed using negative values, for example, 500kV AC is represented by 500000 and 500kV DC is represented by -500000; the polymorphic type represents the polymorphic code value of the current grid data, 01 for planning state, 02 for construction state and 03 for operation state.

[0034] A typical grid vector tile layer naming example describing operational grid data is as follows:

[0035] (1) 220kV substation layer: layer_110_1_220000_03

[0036] Among them, 110 represents the layer classid of the substation, 1 represents the point symbol layer, 220000 represents the voltage level of the substation is 220kV, and 03 represents that the current substation data source is in operation state.

[0037] (2) 1000kV AC transmission line layer: layer_200_2_1000000_03

[0038] Among them, 200 represents the layer classid of the transmission line, 2 represents the line type layer, 1000000 represents the voltage level of the transmission line is 1000kV, and 03 represents that the current transmission line data source is in operation state.

[0039] (3) 10kV distribution room layer: layer_333_3_10000_03

[0040] Among them, 333 represents the layer classid of the distribution room, 3 represents the surface type layer, 10000 represents that the voltage level of the distribution feeder is 10kV, and 03 represents that the current distribution room data source is in operation state.

[0041] The device layer classid codes are classified according to the segmentation rules, as shown in Table 1 below:

[0042] Table 1

[0043]

[0044]

[0045] The power grid equipment covers many types of equipment and follows the coding segmentation rules. The following lists the allocation of layer classid (partially), as shown in Table 2 below:

[0046] Table 2

[0047] Layer id Type Name Layer id Type Name 100 power plant 300 Distribution feeder 107 Switching Station 301 Distribution feeder segmentation lines 108 Series compensation station 302 Power distribution cable 109 Converter Station 303 Distribution overhead lines 110 Substation 310 Distribution overhead line segment 111 Station building address 311 Distribution cable section 125 Busbar section in substation 312 Power distribution electrical connection wire 128 Electrical connection lines in substation 313 Power distribution super connection line 135 Substation internal and external connection points 314 Distribution transformer monitoring instrument on distribution column ... ... ... ... 200 Transmission Lines 500 Low voltage area 201 Transmission Section Line 501 Low voltage line branch 202 Transmission cable 510 Low voltage overhead line segment 203 Overhead transmission lines 511 Low voltage cable section 210 Overhead transmission line 512 Low voltage electrical connection wire 211 Transmission cable segment 513 Low voltage ultra-connector 212 Transmission electrical connection line 517 Low voltage cable terminal 213 Transmission super link 519 Low voltage user access point 219 High voltage user access point 520 Low voltage distribution box ... ... ... ...

[0048] 2. Maintain equipment element attributes.

[0049] The front-end display of power grid equipment depends on the feature attribute values ​​in the vector tile layer, and different power grid equipment attributes are maintained for symbol type equipment and line type equipment. The power grid equipment layer attributes mainly include:

[0050] (1) Common attributes: resource id (psrId), resource type (psrType), device name (name), device abbreviation (alias), voltage level (voltage), layer id (classId), topological connection relationship (connection), main distribution network identification (distribution), etc. Among them, the device abbreviation is used to display the simplified device name at a small scale to improve the device annotation display effect; the device name is used to display the full name of the device at a large scale; the voltage level is used to determine the color of the device rendering; the main distribution network identification is used to determine the main distribution network information to which the device belongs; the resource id, resource type and topological connection relationship are used for functions such as device query and topology analysis.

[0051] (2) Symbol device attributes: symbol id (symbolId), symbol frame (symbolFrame), symbol size (symbolSize), symbol angle (symbolAngle), etc. Symbol id is used to determine the type of symbol, such as circuit breaker; symbol frame is used to determine the specific state of the symbol, such as the open or closed state of the circuit breaker; symbol angle and symbol size are used to determine the size and rotation angle of the symbol display;

[0052] (3) Line device attributes: line type (lineType), line width (lineWidth), etc. Used to determine the line device rendering style.

[0053] 3. Grid vector slice generation configuration.

[0054] The grid vector slice generation configuration is to divide the grid equipment into layers according to the grid equipment type and voltage level. The same equipment type is divided into multiple layers according to the voltage level. Different vector slice layers have different minimum and maximum display levels, covering levels 2-24. The equipment voltage level covers all voltage levels from DC 1100kV to low voltage 380V.

[0055] Some generation configuration rules of the operating state grid data main body container device are shown in Table 3 below:

[0056] Table 3

[0057]

[0058]

[0059] 4. Generation of grid vector slices.

[0060] When the power grid vector slice service is started, the power grid equipment data in the power grid database is loaded into the memory according to the configuration information of the configuration file, and the data is preprocessed and converted into a memory device object containing coordinates, attributes, topology and other information. At the same time, a spatial index of the device object is created based on the coordinate information.

[0061] The power grid map vector slice generation system of the present invention is used to convert the power grid equipment into a memory device object containing coordinates, attributes, and topology information when the vector slice service is started, query the equipment from the memory and generate the power grid vector slice according to the vector slice configuration scheme;

[0062] The vector slice configuration scheme includes:

[0063] The vector slice layers where the power grid equipment is located are divided according to the equipment type and equipment voltage level of the power grid equipment. The same equipment type is divided into multiple layers according to the voltage level. Different power grid vector slice layers are set with different minimum display levels and maximum display levels.

[0064] The electronic device described in the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is loaded into the processor, the method for generating vector slices of a power grid map is implemented.

[0065] The computer-readable storage medium of the present invention stores a computer program, and when the computer program is executed by a processor, the method for generating vector slices of a power grid map is implemented.

[0066] The computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that can be accessed by a computer.

[0067] The processor is used to execute the computer program stored in the memory to implement each step of the method involved in the above embodiment.

[0068] like Figure 2As shown, the method for generating vector slices of a power grid map includes the following steps.

[0069] 1. The client generates parameters for obtaining grid vector slices through calculations and sends the parameters to the vector slice service through a request.

[0070] 2. The service receives the client request and parses the client-specified parameters from the request, including row number, column number, scale, permission parameters, etc.

[0071] 3. Generate multiple grid vector slices for the queried grid equipment according to the spatial range, configuration scheme, spatial index, authority control, etc. The specific steps are as follows.

[0072] a. Calculate the spatial range of the slice to be generated based on the slice row and column numbers and the map zoom level parameters;

[0073] b. Based on the spatial range, all power grid equipment involved in generating slices can be quickly queried in combination with spatial index;

[0074] c. Based on the slice generation configuration plan and the current map zoom level, filter out the power grid equipment that does not meet the client display plan requirements under the current map viewport;

[0075] d. Further filter the above-screened data based on authority control parameters, such as operation and maintenance unit information, to determine all grid equipment data required for the final generation of slices;

[0076] e. Generate and return power grid vector slices according to the vector slice data format.

[0077] 4. Send the grid vector slices to the client, and the client combines the layer style configuration to achieve diversified display of grid equipment.

Claims

1. A method for generating vector slices of a power grid map, characterized in that: When the vector slice service is started, the power grid equipment is converted into a memory device object containing coordinates, attributes, and topology information. According to the vector slice configuration scheme, the equipment is queried from the memory and the power grid vector slice is generated; The vector slice configuration scheme includes: The vector slice layers where the power grid equipment is located are divided according to the equipment type and equipment voltage level of the power grid equipment. The same equipment type is divided into multiple layers according to the voltage level. Different power grid vector slice layers are set with different minimum display levels and maximum display levels.

2. The method for generating power grid map vector slices according to claim 1, characterized in that: The name of the vector slice layer of the power grid equipment includes a layer id, a layer type, a voltage level and a polymorphic type.

3. The method for generating power grid map vector slices according to claim 1, characterized in that: The attributes of the vector slice layer of the power grid equipment include equipment symbol attributes and line equipment attributes; equipment symbol attributes are used to determine the type, state, size and rotation angle of the equipment, and line equipment attributes are used to determine the rendering style of the line equipment.

4. The method for generating power grid map vector slices according to claim 1, characterized in that: The method of converting the power grid device into a memory device object containing coordinates, attributes, and topology information also includes creating a spatial index of the device object based on the coordinate information.

5. A power grid map vector slice generation system, characterized in that: When the vector slice service is started, it is used to convert the power grid equipment into a memory device object containing coordinates, attributes, and topology information, query the equipment from the memory and generate the power grid vector slice according to the vector slice configuration scheme; The vector slice configuration scheme includes: The vector slice layers where the power grid equipment is located are divided according to the equipment type and equipment voltage level of the power grid equipment. The same equipment type is divided into multiple layers according to the voltage level. Different power grid vector slice layers are set with different minimum display levels and maximum display levels.

6. The power grid map vector slice generation system according to claim 5, characterized in that: The name of the vector slice layer of the power grid equipment includes a layer id, a layer type, a voltage level and a polymorphic type.

7. The power grid map vector slice generation system according to claim 5, characterized in that: The attributes of the vector slice layer of the power grid equipment include equipment symbol attributes and line equipment attributes; equipment symbol attributes are used to determine the type, state, size and rotation angle of the equipment, and line equipment attributes are used to determine the rendering style of the line equipment.

8. The power grid map vector slice generation system according to claim 5, characterized in that: The method of converting the power grid device into a memory device object containing coordinates, attributes, and topology information also includes creating a spatial index of the device object based on the coordinate information.

9. A method for generating a power grid map, characterized in that: When the client browses the power grid map, it calls the vector slice service, generates power grid vector slices using the slice generation method described in any one of claims 1 to 4, and generates a power grid map based on the power grid vector slices.

10. The method for generating a power grid map according to claim 9, characterized in that: The specific steps include: The client generates parameters for obtaining a grid vector slice and sends the parameters to the vector slice service via a request; The vector tile service parses the parameters from the received request to obtain the row number, column number, zoom level and permission parameters of the power grid map; The vector tile service obtains the spatial range of the tile to be generated based on the row number, column number, and zoom level; The vector slice service queries the power grid equipment within the spatial range according to the permission parameters to obtain the power grid equipment data; The vector slice service generates grid vector slices based on grid equipment data using the vector slice configuration solution and sends them to the client. The client generates a power grid map based on the power grid vector slices.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is loaded into a processor, the method for generating vector slices of a power grid map according to any one of claims 1 to 4 is implemented.

12. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for generating vector slices of a power grid map according to any one of claims 1 to 4 is implemented.