Topological map construction method and device for core resource asset data of distribution network
By obtaining and constructing the identification information and basic information of electrical entities and building the topology map with the ontology model, the problem of low topology data construction efficiency in traditional methods is solved, and efficient power system data management is achieved.
Patent Information
- Application Number
- CN202311197528.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2043-09-15
AI Technical Summary
Traditional power grid topological data construction methods take up a large space, have a large amount of redundant information, low query and analysis efficiency, and it is difficult to describe complex power system data association relationships, resulting in low topological search efficiency and high computing power.
By obtaining the identification information of the target electrical entity, querying the basic information table, building an entity connection relationship table, and building a topology map with the ontology model and the connection line model, the point segmentation model and a high-performance graph database are used to improve construction efficiency.
It improves the efficiency of topological map construction and data management efficiency, reduces the computing resource requirements, and adapts to the data analysis needs of complex power systems.
Smart Images

Figure CN117131928B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a method and device for constructing a topology map for core resource asset data of a distribution network. Background Art
[0002] With the rapid construction and development of the energy Internet, new energy, distributed power sources, energy storage devices, and electric vehicles are being increasingly widely accessed, and terminal electricity loads are showing a new trend of rapid growth, large changes, and diversification. The power grid structure and operation mode are becoming increasingly complex. The distribution network has changed from "passive" to "active", and the power flow has also changed from "unidirectional" to "multi-directional", which has brought new problems to the operation of the power grid and asset management.
[0003] Grid topology data connects core businesses such as substations, transmission and distribution networks, power equipment, power users, power loads, and production management. It records the characteristics of the power grid network, including the network topology formed by the physical relationship, customer relationship, and asset relationship of the power grid. At the same time, a large amount of power grid operation data, status monitoring data, and smart meter data are generated on this basis. These power grid topology data are the basis for supporting business management such as power grid marketing, distribution, and dispatching. Efficient analysis of these data can effectively support business applications that run through power grid marketing, distribution, and dispatching.
[0004] However, with the advancement of refined management of power grid operation and maintenance and the integration of business operations, power grid topology analysis has encountered more and more bottlenecks. Power grid equipment management has been extended to low-voltage and rural power grid users, and the number of power grid equipment has increased rapidly, resulting in geometric growth of power grid topology data. The integration and refined management of business operations have been extended to the end of the power grid, resulting in frequent business access and a significant increase in the number of users, which has put forward higher requirements for power grid topology analysis. Power grid dispatching applications and the demand for real-time data have further increased the demand for real-time updates of power grid topology data, and also increased the performance requirements for power grid topology analysis.
[0005] Traditional power grid topology is built based on CIM / E model, and power grid topology search can be realized by parsing XML files and based on the stored content. The method of using XML files to describe CIM models has the following problems:
[0006] 1. It takes up a lot of space, contains a lot of redundant information, and has low query and analysis efficiency;
[0007] 2. Considering the large scale of the power grid, the wide variety of equipment, and the complex connection relationships under the new power system, it is difficult for relational databases to simply describe the relationship between data, and the efficiency of topological search is also low. The matrix constructed by traditional methods has a high dimension and involves inverting high-dimensional matrices, which requires high computing power. Summary of the invention
[0008] The embodiments of the present invention provide a method and device for constructing a topology map for core resource asset data of a distribution network, so as to improve the efficiency of topology map construction and further improve data management efficiency.
[0009] According to one aspect of the present invention, a method for constructing a topology map for core resource asset data of a distribution network is provided, comprising:
[0010] Obtain identification information of each electrical entity in the target electrical entity set;
[0011] According to the identification information of each electrical entity in the target electrical entity set, a target table is queried to obtain a basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information code;
[0012] Constructing an entity connection relationship table according to identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and connection information codes corresponding to at least two target electrical entities;
[0013] A topological map is constructed based on the entity connection relationship table, the target ontology model, the target connection line model and the target table.
[0014] According to another aspect of the present invention, a topology map construction device for distribution network core resource asset data is provided, and the topology map construction device for distribution network core resource asset data includes:
[0015] An identification information acquisition module, used to acquire identification information of each electrical entity in the target electrical entity set;
[0016] A basic information query module, used to query a target table according to the identification information of each electrical entity in the target electrical entity set, and obtain a basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information code;
[0017] An entity connection relationship table construction module is used to construct an entity connection relationship table according to identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and connection information codes corresponding to at least two target electrical entities;
[0018] The topology map construction module is used to construct a topology map based on the entity connection relationship table, the target ontology model, the target connection line model and the target table.
[0019] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0020] at least one processor; and
[0021] a memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for constructing a topology map for distribution network core resource asset data described in any embodiment of the present invention.
[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for constructing a topology map for distribution network core resource asset data as described in any embodiment of the present invention when executed.
[0024] The embodiment of the present invention obtains the identification information of each electrical entity in the target electrical entity set; queries the target table according to the identification information of each electrical entity in the target electrical entity set to obtain the basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information coding; constructs an entity connection relationship table according to the identification information of at least two target electrical entities with the same connection information coding in the target electrical entity set and the connection information coding corresponding to at least two target electrical entities; constructs a topological map according to the entity connection relationship table, the target ontology model, the target connection line model and the target table, which can improve the efficiency of topological map construction and thereby improve data management efficiency.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 It is a flow chart of a method for constructing a topology map for core resource asset data of a distribution network in an embodiment of the present invention;
[0028] Figure 2 is a schematic diagram of electrical entity connection relationships in an embodiment of the present invention;
[0029] Figure 3 is a schematic diagram of virtual node merging in an embodiment of the present invention;
[0030] Figure 4 It is a structural schematic diagram of a topology map construction device for distribution network core resource asset data in an embodiment of the present invention;
[0031] Figure 5 It is a structural schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] 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.
[0033] 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.
[0034] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0035] Embodiment 1
[0036] Figure 1 A flowchart of a method for constructing a topology map for core resource asset data of a distribution network provided in an embodiment of the present invention. This embodiment can be applied to the case of constructing a topology map for core resource asset data of a distribution network. The method can be executed by a topology map construction device for core resource asset data of a distribution network in an embodiment of the present invention. The device can be implemented in software and / or hardware, such as Figure 1As shown, the method specifically comprises the following steps:
[0037] S110, obtaining identification information of each electrical entity in the target electrical entity set.
[0038] The identification information of the electrical entity may be information used to identify the identity of the electrical entity, and the identification information of different electrical entities is different.
[0039] The electrical entities in the target electrical entity set are electrical entities used to construct a topology map, and the target electrical entity set may include: core equipment of a distribution network.
[0040] Specifically, the method for obtaining the identification information of each electrical entity in the target electrical entity set may be: obtaining the identification information of each electrical entity in the target electrical entity set input by the user. The method for obtaining the identification information of each electrical entity in the target electrical entity set may also be: capturing the identification information of each electrical entity in the target electrical entity set.
[0041] S120: query a target table according to identification information of each electrical entity in the target electrical entity set to obtain a basic information table corresponding to each electrical entity in the target electrical entity set.
[0042] Wherein, the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information coding.
[0043] It should be noted that, in the embodiment of the present invention, the target table includes: the core business and equipment data assets and resources of the distribution network, wherein the data assets include the resource ledger, asset ledger, topological connection relationship, etc. of the equipment inside and outside the primary station of the distribution network.
[0044] Specifically, the target table can be queried according to the identification information of each electrical entity in the target electrical entity set to obtain the basic information table corresponding to each electrical entity in the target electrical entity set. The method can be: basic information of various electrical equipment in the data source can be collected in advance through a message pipe subscription method, and the basic information of various electrical equipment can be merged to obtain the target table, wherein the target table includes: identification information of the electrical entity and basic information corresponding to the identification information of the electrical entity, and the target table can be queried to obtain the basic information table corresponding to each electrical entity in the target electrical entity set.
[0045] S130: construct an entity connection relationship table according to identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and connection information codes corresponding to at least two target electrical entities.
[0046] Wherein, the at least two target electrical entities are electrical entities with the same connection information code. The connection information code corresponding to the at least two target electrical entities is the same connection information code corresponding to the at least two target electrical entities. For example, if the connection information code corresponding to the electrical entity T1 includes: 816606398 and 816606399, the connection information code corresponding to the electrical entity B1 includes: 816606433, 816606434, 816606399. The entity connection relationship table includes: identification information (T1, B1) of at least two target electrical entities and 816606399 (connection information code corresponding to at least two target electrical entities).
[0047] The entity connection relationship table includes: a connection information code and identification information of at least two target electrical entities corresponding to the connection information code, which may be, for example, as shown in Table 1:
[0048] Table 1
[0049] Connection information encoding Identification information for electrical entities 816606399 T1,B1 816606404 T2,L1 816606421 B2,L1 816606461 B3,L2,L3
[0050] Specifically, the method of constructing an entity connection relationship table based on the identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and the connection information codes corresponding to the at least two target electrical entities can be: splitting the connection information code corresponding to each electrical entity in the target electrical entity set to obtain a half-edge set; merging at least two target electrical entities with the same connection information codes in the half-edge set to obtain the identification information of at least two target electrical entities corresponding to the connection information codes; and constructing an entity connection relationship table based on the connection information codes and the identification information of at least two target electrical entities corresponding to the connection information codes.
[0051] S140, constructing a topology map according to the entity connection relationship table, the target ontology model, the target connection line model and the target table.
[0052] The target ontology model can be obtained by generating the target ontology model according to the ontology model corresponding to the electrical entity in the entity connection relationship table. The target connection line model can be obtained by generating the target connection line model according to the connection line model corresponding to the electrical entity in the entity connection relationship table.
[0053] Specifically, the method of constructing a topological map based on the entity connection relationship table, the target ontology model, the target connection line model and the target table can be: determining the node set and the attribute information of each point in the node set based on the target ontology model and the target table; determining the edges between the nodes based on the entity connection relationship table and the target connection line model; and constructing a topological map based on the node set, the attribute information of each node in the node set and the edges between the nodes.
[0054] Optionally, before building a topology map according to the entity connection relationship table, the target ontology model, the target connection line model and the target table, the following steps are further included:
[0055] Acquire a first ontology model set and a first connection line model set, wherein the ontology model set includes: ontology models corresponding to at least two types of electrical entities, and the connection line model set includes: at least one connection line model between at least two types of electrical entities;
[0056] The first ontology model set is queried according to the identification information of the electrical entity in the entity connection relationship table to obtain a second ontology model set corresponding to the entity connection relationship table, and a target ontology model is determined according to the second ontology model set, wherein the second ontology model set includes: an ontology model corresponding to the identification information of the electrical entity in the entity connection relationship table;
[0057] The first connection line model set is queried according to the identification information of the electrical entity in the entity connection relationship table to obtain the second connection line model set corresponding to the entity connection relationship table, and the target connection line model is determined according to the second connection line model set, wherein the second connection line model set includes: the connection line model corresponding to the identification information of the electrical entity in the entity connection relationship table.
[0058] Among them, the first ontology model set includes: ontology models corresponding to at least two electrical entities of circuit breakers, disconnectors, load switches, poles, cable sections, cable terminals, cable joints, distribution transformers, transformers, fuses, busbars, voltage transformers, lightning arresters, medium-voltage user access points, intra-station connecting lines, extra-station connecting lines, low-voltage span sections, low-voltage poles, low-voltage pole switches, low-voltage pole disconnectors, low-voltage pole fuses, low-voltage fuses, low-voltage meter boxes, low-voltage cable sections, low-voltage cable terminals, low-voltage cable joints, low-voltage switches, low-voltage busbars, low-voltage fuses, low-voltage capacitors, low-voltage disconnectors, current transformers, low-voltage user access points, feeders, tension sections, station buildings, inflection points, span sections, main transformers, low-voltage wall brackets, pole transformers, pole circuit breakers, pole load switches, pole disconnectors, pole reclosers, and pole drop-out fuses.
[0059] Among them, the first connection line model set includes four types of connection line models, namely: TPlink, DDlink, BHlink and XGlink. Among them, TPlink (topological connection): based on the acquisition of power grid resource asset ledger data, directly describes the connection relationship between devices; DDlink (dispatching connection): combined with the power grid operation mode and CIME standard design, it is a topological connection relationship for describing the construction of electric energy flow; BHlink (inclusion relationship): to facilitate the search of equipment in the station, all station house types (such as distribution rooms, ring network cabinets, etc.) entities are merged, and a connection relationship is established with all primary electrical equipment in the station house; XGlink (related relationship): to facilitate batch retrieval and filtering of a certain type of equipment under the feeder, a feeder entity is established, and a connection relationship with all equipment in the feeder is established.
[0060] It should be noted that TPlink is the existing data, which is obtained by the previous processing operations. DDlink, BHlink and XGlink are constructed in other ways to facilitate the connection line model for business applications on the system.
[0061] The second ontology model set corresponding to the entity connection relationship table includes: ontology models corresponding to the identification information of the target electrical entity in the entity connection relationship table. The second connection line model set corresponding to the entity connection relationship table includes: connection line models corresponding to the identification information of the target electrical entity in the entity connection relationship table.
[0062] Specifically, the target ontology model can be determined by merging the ontology models in the second ontology model set to obtain the target ontology model. The target connecting line model can be determined by merging the connecting line models in the second connecting line model set to obtain the target connecting line model.
[0063] Optionally, a topology map is constructed based on the entity connection relationship table, the target ontology model, the target connection line model, and the target table, including:
[0064] Determine a node set and attribute information of each point in the node set according to the target ontology model and the target table;
[0065] Determine the edges between nodes according to the entity connection relationship table and the target connection line model;
[0066] A topological graph is constructed based on a node set, the attribute information of each node in the node set, and the edges between the nodes.
[0067] Specifically, the method of determining the edge between nodes according to the entity connection relationship table and the target connection line model can be: obtaining the connection relationship between two electrical entities according to the entity connection relationship table, and determining the edge between nodes according to the connection relationship between two electrical entities and the target connection line model, wherein the connection relationship between two electrical entities is as follows: Figure 2 shown.
[0068] Optionally, constructing an entity connection relationship table according to identification information of at least two target electrical entities having the same connection information code in the target electrical entity set and connection information codes corresponding to at least two target electrical entities includes:
[0069] Splitting the connection information code corresponding to each electrical entity in the target electrical entity set to obtain a half-edge set;
[0070] Merging at least two target electrical entities with the same connection information codes in the half-edge set to obtain identification information of at least two target electrical entities corresponding to the connection information codes;
[0071] An entity connection relationship table is constructed according to the connection information code and identification information of at least two target electrical entities corresponding to the connection information code.
[0072] Specifically, at least two target electrical entities with the same connection information codes in the half-edge set are merged to obtain identification information of at least two target electrical entities corresponding to the connection information codes. The method can be: each connection information code in the half-edge set is determined as a virtual node, and the virtual nodes with the same connection information codes are merged into one virtual node to obtain identification information of at least two target electrical entities corresponding to the connection information codes.
[0073] It should be noted that since it is impossible to know where the two adjacent half-edges are stored respectively (data tables of several different electrical devices), the first step is to collect the basic information of each electrical entity in the target electrical entity set and store it in the same temporary data table to obtain a full temporary table. The full temporary table is used as the scope of the topology map data, and then the connection relationship is established through the device "half edge" later. Split the set of "half edges (halfEdge)" and map the identification information of the electrical entity to each "half edge (halfEdge)", and obtain the most detailed mapping relationship [deviceId->halfEdge]. At this time, all detailed relationships are grouped and collected according to the "half edge", and a set of data tables with "half edge" as the primary key to record the connected device set can be obtained. The number of elements in the device set field can be one or more. If it is a single independent existence, it means that the other end device connected to it is not within this scope and cannot be connected. If there are multiple, the devices should be connected to each other in pairs.
[0074] Through the Spark computing engine, using the flatMap operator of the rdd object, each "half edge" set row [halfEdge->SET(Device1,Device2,...)] is mapped to multiple rows of data for the devices connected to it. So far, from the presentation layer, the device connection relationship of the original data was stored at both ends of the connection line, but now it has been integrated together, and the data points and point references are stored in multiple places.
[0075] The embodiment of the present invention adopts point segmentation to construct a topology map. The point segmentation mode has the characteristics of single calculation, multiple storage, and fast loading. Combined with the AtlasGraph high-performance graph database, it has obvious performance advantages in the topology analysis of the entire power grid.
[0076] In a specific example, Figure 3 As shown, each connection information code in the half-edge set is determined as a virtual node (for example, the connection information code 816606398 of T1 is determined as a virtual node of T1, and the connection information code 816606399 of T1 is determined as another virtual node of T1). Since the connection information codes of the virtual node of T1 (connection information code 816606399) and the virtual node of B1 (connection information code 816606399) are the same, both are 816606399, the virtual node of T1 (connection information code 816606399) and the virtual node of B1 (connection information code 816606399) are merged to obtain the identification information (T1 and B1) of at least two target electrical entities corresponding to the connection information code 816606399. The remaining virtual nodes are also merged in the above manner, which is not repeated here.
[0077] In another specific example, basic data of each electrical entity in the target electrical entity set is shown in Table 2, Table 3 and Table 4:
[0078] Table 2
[0079] Identification information for electrical entities type Connection information encoding T1 0302 816606398,816606399 T2 0302 816606404,816606407 T3 0302 816614253,816614302
[0080] Table 3
[0081]
[0082] Table 4
[0083] Identification information for electrical entities type Connection information encoding L1 line 816606404,816606421 L2 line 816606461,816606459 L3 line 816606461,816606437
[0084] The data in Table 2, Table 3 and Table 4 are combined to obtain Table 5:
[0085] Table 5
[0086]
[0087]
[0088] The connection information encoding corresponding to each electrical entity in Table 5 is split to obtain a half-edge set (as shown in Table 6):
[0089] Table 6
[0090] Identification information for electrical entities type Connection information encoding T1 0302 816606398 T1 0302 816606399 T2 0302 816606404 T2 0302 816606407 T3 0302 816614253 T3 0302 816614302 B1 line 816606433 B1 line 816606434 B1 line 816606399 B2-L3 … …
[0091] At least two target electrical entities with the same connection information encoding in Table 6 are merged to obtain an entity connection relationship table, as shown in Table 1.
[0092] Optionally, before querying the target table according to the identification information of each electrical entity in the target electrical entity set to obtain the basic information table corresponding to each electrical entity in the target electrical entity set, the method further includes:
[0093] Obtain basic information corresponding to at least two types of electrical entities;
[0094] The basic information corresponding to the at least two types of electrical entities is merged to obtain a target table.
[0095] Specifically, the basic information corresponding to at least two types of electrical entities may be obtained by collecting basic information of various types of electrical equipment in a data source through a message pipeline subscription method. For example, basic information of 46 types of electrical entities may be obtained.
[0096] Specifically, the basic information corresponding to the at least two types of electrical entities may be merged to obtain the target table by: merging the basic information corresponding to the at least two types of electrical entities to obtain the target table.
[0097] It should be noted that the basic information corresponding to the at least two types of electrical entities can be stored in a distributed data lake.
[0098] Optionally, the first ontology model set includes: ontology models corresponding to at least two electrical entities of: circuit breakers, disconnectors, load switches, pole towers, cable sections, cable terminals, cable joints, distribution transformers, transformers, fuses, busbars, voltage transformers, lightning arresters, medium-voltage user access points, intra-station connecting lines, extra-station connecting lines, low-voltage span sections, low-voltage pole towers, low-voltage pole switches, low-voltage pole disconnectors, low-voltage pole fuses, low-voltage fuses, low-voltage meter boxes, low-voltage cable sections, low-voltage cable terminals, low-voltage cable joints, low-voltage switches, low-voltage busbars, low-voltage fuses, low-voltage capacitors, low-voltage disconnectors, current transformers, low-voltage user access points, feeders, tension sections, station buildings, inflection points, span sections, main transformers, low-voltage wall brackets, pole transformers, pole circuit breakers, pole load switches, pole disconnectors, pole reclosers and pole drop-out fuses.
[0099] Among them, the station building, feeder, access point and inflection point are virtual electrical entities.
[0100] It should be noted that the current modeling method is mainly aimed at actual electrical equipment objects. Virtual electrical entities are a conceptual description and do not necessarily have a physical entity corresponding to them. For example, a station building refers to a "container" concept. There are many similar ones in the power grid, such as substations, distribution rooms, ring network cabinets, etc., which are all classified as station buildings (which can be understood as a house equipped with transformers, switches, cables and other substation equipment). After modeling, they can be distinguished by attributes and labels.
[0101] In addition, because the model is built for the power grid topology, most of the entities selected for modeling correspond to real-world physical equipment, such as transformers, switches, cables, poles, etc.
[0102] The ontology model can be constructed in the following ways: construct an ontology model based on electrical expertise, business information and survey data. For example, the pole towers are connected by cables, the ends of the cables are cable terminals and cable connectors, the busbars are connected to circuit breakers and load switches, transformers must be connected to switch-type equipment, and other similar rules, and then combined with data surveys to finally complete the construction of the ontology model.
[0103] Since the equipment grid, resources and assets belong to different management systems and are maintained by different managers, from the perspective of unified data analysis, it is a data island that is not convenient for joint analysis. Therefore, the embodiment of the present invention changes the original classification of equipment from coarse-grained feature classification such as: in-station equipment, online equipment, etc., to fine-grained classification of equipment resource types such as: circuit breakers, transformers. Find the corresponding equipment resource table for the sub-classified equipment, associate the resource information of the equipment through the equipment resource code, and then associate the relevant resource information in the corresponding resource table through the associated resource code. To match the ontology model of the distribution network topology.
[0104] The technical solution of this embodiment obtains the identification information of each electrical entity in the target electrical entity set; queries the target table according to the identification information of each electrical entity in the target electrical entity set to obtain the basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information coding; constructs an entity connection relationship table according to the identification information of at least two target electrical entities with the same connection information coding in the target electrical entity set and the connection information coding corresponding to at least two target electrical entities; constructs a topological map according to the entity connection relationship table, the target ontology model, the target connection line model and the target table, which can improve the efficiency of topological map construction and thereby improve data management efficiency.
[0105] Embodiment 2
[0106] Figure 4 A schematic diagram of the structure of a topology map construction device for core resource asset data of a distribution network provided in an embodiment of the present invention. This embodiment can be applied to the case of topology map construction for core resource asset data of a distribution network. The device can be implemented in software and / or hardware. The device can be integrated in any device that provides a topology map construction function for core resource asset data of a distribution network, such as Figure 4 As shown, the topology map construction device for distribution network core resource asset data specifically includes: an identification information acquisition module 210, a basic information query module 220, an entity connection relationship table construction module 230 and a topology map construction module 240.
[0107] Wherein, the identification information acquisition module is used to obtain the identification information of each electrical entity in the target electrical entity set;
[0108] A basic information query module, used to query a target table according to the identification information of each electrical entity in the target electrical entity set, and obtain a basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information code;
[0109] An entity connection relationship table construction module is used to construct an entity connection relationship table according to identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and connection information codes corresponding to at least two target electrical entities;
[0110] The topology map construction module is used to construct a topology map based on the entity connection relationship table, the target ontology model, the target connection line model and the target table.
[0111] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0112] Embodiment 3
[0113] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0114] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0115] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0116] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a topology map construction method for distribution network core resource asset data.
[0117] In some embodiments, a method for constructing a topological map for core resource asset data of a distribution network may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for constructing a topological map for core resource asset data of a distribution network described above may be executed. Alternatively, in other embodiments, the processor 11 may be configured to execute a method for constructing a topological map for core resource asset data of a distribution network by any other appropriate means (e.g., by means of firmware).
[0118] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0119] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0120] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0121] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0122] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0123] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0124] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0125] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing a topology map for core resource asset data of a distribution network, characterized in that: include: Obtain identification information of each electrical entity in the target electrical entity set; According to the identification information of each electrical entity in the target electrical entity set, a target table is queried to obtain a basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information code; Constructing an entity connection relationship table according to identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and connection information codes corresponding to at least two target electrical entities; Construct a topology map based on the entity connection relationship table, the target ontology model, the target connection line model and the target table; Constructing an entity connection relationship table according to identification information of at least two target electrical entities having the same connection information code in the target electrical entity set and connection information codes corresponding to at least two target electrical entities, including: Splitting the connection information code corresponding to each electrical entity in the target electrical entity set to obtain a half-edge set; Merging at least two target electrical entities with the same connection information codes in the half-edge set to obtain identification information of at least two target electrical entities corresponding to the connection information codes; Constructing an entity connection relationship table according to the connection information code and identification information of at least two target electrical entities corresponding to the connection information code; Before building a topology map based on the entity connection relationship table, the target ontology model, the target connection line model and the target table, it also includes: Acquire a first ontology model set and a first connection line model set, wherein the ontology model set includes: ontology models corresponding to at least two types of electrical entities, and the connection line model set includes: at least one connection line model between at least two types of electrical entities; The first ontology model set is queried according to the identification information of the electrical entity in the entity connection relationship table to obtain a second ontology model set corresponding to the entity connection relationship table, and a target ontology model is determined according to the second ontology model set, wherein the second ontology model set includes: an ontology model corresponding to the identification information of the electrical entity in the entity connection relationship table; The first connection line model set is queried according to the identification information of the electrical entity in the entity connection relationship table to obtain the second connection line model set corresponding to the entity connection relationship table, and the target connection line model is determined according to the second connection line model set, wherein the second connection line model set includes: the connection line model corresponding to the identification information of the electrical entity in the entity connection relationship table.
2. The method according to claim 1, characterized in that Construct a topology map based on the entity connection relationship table, the target ontology model, the target connection line model and the target table, including: Determine a node set and attribute information of each point in the node set according to the target ontology model and the target table; Determine the edges between nodes according to the entity connection relationship table and the target connection line model; A topological graph is constructed based on a node set, the attribute information of each node in the node set, and the edges between the nodes.
3. The method according to claim 1, characterized in that Before querying the target table according to the identification information of each electrical entity in the target electrical entity set to obtain the basic information table corresponding to each electrical entity in the target electrical entity set, the method further includes: Obtain basic information corresponding to at least two types of electrical entities; The basic information corresponding to the at least two types of electrical entities is merged to obtain a target table.
4. The method according to claim 1, characterized in that The first ontology model set includes: ontology models corresponding to at least two electrical entities of circuit breakers, disconnectors, load switches, pole towers, cable sections, cable terminals, cable joints, distribution transformers, transformers, fuses, busbars, voltage transformers, lightning arresters, medium-voltage user access points, intra-station connecting lines, extra-station connecting lines, low-voltage span sections, low-voltage pole towers, low-voltage pole switches, low-voltage pole disconnectors, low-voltage pole fuses, low-voltage fuses, low-voltage meter boxes, low-voltage cable sections, low-voltage cable terminals, low-voltage cable joints, low-voltage switches, low-voltage busbars, low-voltage fuses, low-voltage capacitors, low-voltage disconnectors, current transformers, low-voltage user access points, feeders, tension sections, station buildings, inflection points, span sections, main transformers, low-voltage wall brackets, pole transformers, pole circuit breakers, pole load switches, pole disconnectors, pole reclosers, and pole drop-out fuses.
5. A topology map construction device for core resource asset data of distribution network, characterized in that: include: An identification information acquisition module, used to acquire identification information of each electrical entity in the target electrical entity set; A basic information query module, used to query a target table according to the identification information of each electrical entity in the target electrical entity set, and obtain a basic information table corresponding to each electrical entity in the target electrical entity set, wherein the target table includes: basic information corresponding to at least two types of electrical entities, and the basic information table includes: connection information code; An entity connection relationship table construction module is used to construct an entity connection relationship table according to identification information of at least two target electrical entities with the same connection information codes in the target electrical entity set and connection information codes corresponding to at least two target electrical entities; A topology map construction module is used to construct a topology map according to the entity connection relationship table, the target ontology model, the target connection line model and the target table; The entity connection relationship table construction module is specifically used for: Splitting the connection information code corresponding to each electrical entity in the target electrical entity set to obtain a half-edge set; Merging at least two target electrical entities with the same connection information codes in the half-edge set to obtain identification information of at least two target electrical entities corresponding to the connection information codes; Constructing an entity connection relationship table according to the connection information code and identification information of at least two target electrical entities corresponding to the connection information code; Also includes: A model set acquisition module is used to acquire a first ontology model set and a first connection line model set before building a topology map according to the entity connection relationship table, the target ontology model, the target connection line model and the target table, wherein the ontology model set includes: ontology models corresponding to at least two types of electrical entities, and the connection line model set includes: at least one connection line model between at least two types of electrical entities; a target ontology model determination module, configured to query the first ontology model set according to the identification information of the electrical entity in the entity connection relationship table, obtain a second ontology model set corresponding to the entity connection relationship table, and determine the target ontology model according to the second ontology model set, wherein the second ontology model set includes: an ontology model corresponding to the identification information of the electrical entity in the entity connection relationship table; The target connection line model determination module is used to query the first connection line model set according to the identification information of the electrical entity in the entity connection relationship table, obtain the second connection line model set corresponding to the entity connection relationship table, and determine the target connection line model according to the second connection line model set, wherein the second connection line model set includes: the connection line model corresponding to the identification information of the electrical entity in the entity connection relationship table.
6. According to the device of claim 5, the topology map construction module is specifically used for: Determine a node set and attribute information of each point in the node set according to the target ontology model and the target table; Determine the edges between nodes according to the entity connection relationship table and the target connection line model; A topological graph is constructed based on a node set, the attribute information of each node in the node set, and the edges between the nodes.
Citation Information
Patent Citations
Power grid data asset management system and method based on knowledge graph
CN112732924A
Power grid accident analysis-oriented monitoring information knowledge graph construction method and system
CN113094511A
Knowledge graph construction method and device based on power grid data, equipment and medium
CN113806556A
Topological data model construction method, system and equipment of power distribution network and medium
CN114297316A
Power distribution area topological relation identification method based on multi-source data fusion knowledge graph
CN115276003A
