A multi-temporal power grid topology data management method, device and computer equipment

By generating a multi-temporal grid topology diagram model and performing data preprocessing, the problem of frequent updates and inflexible management of grid topology information is solved, and flexible, real-time and accurate management of grid topology information data is achieved.

CN114398567BActive Publication Date: 2025-02-21GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210044180.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-14
Publication Date
2025-02-21
Estimated Expiration
2042-01-14

AI Technical Summary

Technical Problem

The existing technology cannot effectively manage frequently updated grid topology information, and the traditional management methods are not flexible enough to meet the current grid topology information management needs.

Method used

By obtaining the data of each grid topology map and its corresponding time marks, after preprocessing, a multi-temporal grid topology map model is generated based on the standard grid topology map, receiving user data access instructions, finding matching time marks and sending the corresponding grid topology Graph data.

Benefits of technology

It realizes the access to the grid topology graph data based on time information, and improves the flexibility, real-timeness and accuracy of the management of grid topology information data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114398567B_ABST
    Figure CN114398567B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and computer equipment for managing multi-temporal power grid topology data, wherein the method obtains each power grid topology data and its corresponding time identifiers, each power grid topology data is preprocessed; based on a standard power grid topology, a multi-temporal power grid topology model including a node data set and an edge data set of each time identifier corresponding to each power grid topology data is generated; a data access instruction based on a preset time sent by a user is received; according to the data access instruction, a time identifier matching the preset time is searched, and the power grid topology data corresponding to the time identifier is sent to the user. The present invention can satisfy the user's access to power grid topology data in different tenses based on time information, which not only improves the flexibility of power grid topology data management, but also improves the real-time and accuracy of power grid topology data management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data management of power grid topology graphs, and in particular to a multi-temporal power grid topology graph data management method, device and computer equipment. Background Art

[0002] The power grid topology diagram abstracts the interconnected equipment and components such as power points, busbars, substations, circuit breakers, load points, etc. in the power grid into nodes, and abstracts the power lines connecting these nodes into edges, forming node entities and edge entities, and assigning corresponding power grid attribute information.

[0003] With the development and application of new energy, the construction and relocation of power stations, the expansion and transformation of power equipment, etc., the grid topology information, especially the connection relationship and location information of equipment, has also undergone tremendous changes over time. In particular, the access of a large number of distributed power sources has directly affected the original grid topology. Therefore, it is necessary to strengthen the management of grid topology data.

[0004] In the related art, the grid topology data used to express the grid topology information usually has relatively fixed grid attribute information, and often ignores the time recording information of the grid topology information. Therefore, the traditional on-demand management method of importing various grid data containing grid topology information can no longer meet the current management needs under the situation of frequent updates of grid topology information, and the traditional management method of grid topology data is not flexible enough. Summary of the invention

[0005] Therefore, the technical problem to be solved by the present invention is to overcome the problem that the management method of the prior art of importing various power grid data containing power grid topology information on demand can no longer meet the management needs under the current situation of frequent updates of power grid topology information, and the management method of power grid topology data is not flexible enough, thereby providing a multi-temporal power grid topology map data management method, device and computer equipment.

[0006] According to a first aspect, an embodiment of the present invention provides a multi-temporal power grid topology data management method, comprising the following steps:

[0007] Acquire each power grid topology data and its corresponding time stamps, each power grid topology data is preprocessed;

[0008] Based on the standard power grid topology map, a multi-temporal power grid topology map model is generated, which includes a node data set and an edge data set of each time mark corresponding to each power grid topology map data;

[0009] Receiving a data access instruction based on a preset time sent by a user;

[0010] According to the data access instruction, a time mark matching the preset time is searched, and the power grid topology map data corresponding to the time mark is sent to the user.

[0011] In one embodiment, preprocessing each of the power grid topology map data includes:

[0012] Deduplication, missing value filling, and abnormal value replacement are performed on the data of each power grid topology map by using a preset algorithm;

[0013] The power grid topology data are associated and merged together according to the identity information to form a power grid topology data table.

[0014] In one embodiment, based on a standard power grid topology graph, a multi-temporal power grid topology graph model including node data sets and edge data sets of each time mark corresponding to each power grid topology graph data is generated, including:

[0015] The power grid topology data and their corresponding time identifiers are mapped into the standard power grid topology map to generate a multi-temporal power grid topology model including node data sets and edge data sets of the time identifiers corresponding to the power grid topology data.

[0016] In one embodiment, searching for a time identifier matching the preset time according to the data access instruction, and sending the power grid topology map data corresponding to the time identifier to the user includes:

[0017] Removing the time stamp from the power grid topology data corresponding to the time stamp;

[0018] Regenerating the standard power grid topology map by removing the power grid topology map data of the time mark;

[0019] Reading the grid topology data corresponding to the preset time from the standard grid topology;

[0020] The power grid topology map data is sent to the user.

[0021] In one embodiment, the standard power grid topology diagram is created in the following manner:

[0022] Obtain power supply points, busbars, substations, circuit breakers, and load points in the power grid;

[0023] The power source point, busbar, substation, circuit breaker, and load point are taken as nodes;

[0024] The transmission lines between nodes are regarded as node edges;

[0025] Assigning power grid attribute information to the nodes and the node edges respectively;

[0026] The standard power grid topology map is created according to the nodes, the node edges and the power grid attribute information.

[0027] In one implementation, the node data sets and edge data sets of each time mark corresponding to each power grid topology map data are stored via an HBase database.

[0028] According to a second aspect, an embodiment of the present invention further provides a multi-temporal power grid topology data management device, comprising the following modules:

[0029] A data acquisition module is used to acquire the data of each power grid topology map and its corresponding time identifiers, and each power grid topology map data is pre-processed;

[0030] A data generation module, for generating a multi-temporal power grid topology model including node data sets and edge data sets of each time mark corresponding to each power grid topology data based on a standard power grid topology;

[0031] An instruction receiving module, used for receiving a data access instruction based on a preset time sent by a user;

[0032] The data sending module is used to search for a time mark matching the preset time according to the data access instruction, and send the power grid topology map data corresponding to the time mark to the user.

[0033] In one embodiment, the data acquisition module pre-processes the power grid data including the power grid topology information, including:

[0034] A data processing submodule, used to perform data deduplication, fill in missing values, and replace abnormal values ​​on the data of each power grid topology map through a preset algorithm;

[0035] The data fusion submodule is used to associate and fuse the various power grid topology map data according to the identity identification information to form a power grid topology map data table.

[0036] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the multi-temporal power grid topology map data management method described in the first aspect or any embodiment of the first aspect.

[0037] According to the fourth aspect, an embodiment of the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the multi-temporal power grid topology map data management method described in the first aspect or any embodiment of the first aspect by executing the computer instructions.

[0038] The technical solution of the present invention has the following advantages:

[0039] The present invention provides a multi-temporal power grid topology data management method, device and computer equipment, wherein each power grid topology data is preprocessed by obtaining each power grid topology data and each corresponding time mark; based on the standard power grid topology, a multi-temporal power grid topology model including a node data set and an edge data set of each time mark corresponding to each power grid topology data is generated; a data access instruction based on a preset time sent by a user is received; according to the data access instruction, a time mark matching the preset time is searched, and the power grid topology data corresponding to the time mark is sent to the user. The present invention can satisfy the user's access to the power grid topology data at various time nodes based on time information, which not only improves the flexibility of power grid topology information data management, but also improves the real-time and accuracy of power grid topology information data management. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A flowchart of a specific example of a multi-temporal power grid topology data management method according to an embodiment of the present invention;

[0042] Figure 2 A flowchart of another specific example of a multi-temporal power grid topology data management method according to an embodiment of the present invention;

[0043] Figure 3 A specific structural block diagram of a data management device based on a power grid topology diagram in an embodiment of the present invention;

[0044] Figure 4 FIG. 4 is a hardware schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. 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 are within the scope of protection of the present invention.

[0046] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0047] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0048] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0049] The embodiment of the present invention provides a multi-temporal power grid topology data management method, such as Figure 1 As shown, the following steps are included:

[0050] Step S11: acquiring each power grid topology map data and each corresponding time mark, and each power grid topology map data is pre-processed.

[0051] The power grid topology data here are derived from the internal data of the power enterprise, including: the equipment model connection relationship data in the power grid production management system (PMS), the power grid common information model data (CIM) in the power grid dispatching automation system, and the topological location data in the power grid geographic information system (GIS). Each time identifier is a pre-set time tag information. For example: the time identifier corresponding to the power grid data A1 is T1, the time identifier corresponding to the power grid data A2 is T2, and the time identifier corresponding to the power grid data A3 is T3. In addition, the multi-temporal power grid topology data in the embodiment of the present invention is a power grid topology data containing multiple time nodes.

[0052] Specifically, the above step S11 can be performed by the data access module in the controller. The data access module is based on the Spark component and has developed data access for different data storage forms such as relational databases, non-relational databases, text data, and data streams. For databases, JDBC is used for connection, text data is directly read, and for data streams, SparkStreaming is used for connection. After the data is connected, the node data set and the edge data set are loaded and converted into the data frame DataFrame in Spark. The main ways of database connection based on JDBC are as follows:

[0053] Val jdbcDF=spark.read.format("jdbc")

[0054] .option("url","jdbc:xxx:xxxserver")

[0055] .option("dbtable","schema.tablename")

[0056] .option("user","username")

[0057] .option("password","password")

[0058] .load()

[0059] In one embodiment, preprocessing each power grid topology map data includes:

[0060] Step 1: Use the preset algorithm to deduplicate data, fill in missing values, and replace abnormal values ​​in the data of each power grid topology map.

[0061] The preset algorithm here may be the K nearest neighbor method.

[0062] Specifically, based on the DataFrame formed after data connection, the rich DataFrame operators provided by Spark are used to retrieve duplicate data and deduplicate it, find missing data and fill it in according to the average value of adjacent data or the set default value through the K nearest neighbor method, analyze abnormal data and replace abnormal values ​​according to the changing trend of adjacent data through the K nearest neighbor method.

[0063] Step 2: Associating and integrating the data of each power grid topology map according to the identity information to form a power grid topology map data table.

[0064] Because the data of each power grid topology map are rich and diverse, in order to facilitate management and storage, the data of each power grid can be merged or associated in a power grid topology map data table according to the ID information.

[0065] Step S12: Based on the standard power grid topology map, a multi-temporal power grid topology map model is generated, which includes a node data set and an edge data set of each time mark corresponding to each power grid topology map data.

[0066] In one embodiment, if Figure 2 As shown in the figure, the standard power grid topology diagram is created through the following steps:

[0067] Step S21: Obtain power supply points, busbars, substations, circuit breakers, and load points in the power grid.

[0068] Step S22: The power source point, busbar, substation, circuit breaker, and load point are taken as nodes.

[0069] The above-mentioned interrelated devices and components are abstracted into nodes, and then form node entities.

[0070] Step S23: Use the transmission lines between nodes as node edges to form edge entities.

[0071] Abstract the transmission lines connecting nodes into node edges.

[0072] Step S24: assigning grid attribute information to nodes and node edges respectively.

[0073] Step S25: Create a standard power grid topology map based on the nodes, node edges and power grid attribute information.

[0074] It is defined and described through entity definition, entity attributes, etc. The entity definition mainly includes entity number, entity name, entity space characteristics, etc. The entity attributes mainly include entity type, entity information, power attributes, management information, and entity description.

[0075] On the created power grid topology map, each power grid topology map data and each corresponding time mark are added to the standard power grid topology map to form a node data set and an edge data set containing time information.

[0076] Table 1 below shows the node data set information of the standard power grid topology diagram.

[0077] Table 1

[0078]

[0079] Table 2 below shows the edge data set information of the standard power grid topology graph.

[0080] Table 2

[0081]

[0082]

[0083] The standard power grid topology diagram in the embodiment of the present invention is based on the Property Graph data model defined by GraphX, which uses nodes (Vertices) and edges (Edges) to create a graph (Graph). GraphX ​​stores graph data in a distributed manner on the nodes of the cluster in the form of RDD, where the node RDD corresponding to Vertices is named VertexRDD, and its properties include node ID and node attributes, which are used to store node sets; the RDD corresponding to Edges is named EdgeRDD, and its properties include source node ID, target node ID, and edge attributes. Based on GraphX, power grid data mapping is performed, and the specific steps are as follows:

[0084] Step 1: The node is defined by def VertexUnit(keys:Long,attribute:String,timestamp:Long).

[0085] Step 2: When mapping nodes, map the node ID as keys, use the node timestamp as timestamp, use other properties of the node to build attributes, and connect them with "|" to form an attribute string. The expression is:

[0086] Name|Coordinate_x|Coordinate_y|Type|Info|Electricity_attributes|Manager|Ower|Address|Desc.

[0087] Step 3: Create a node RDD containing timestamps: vertexTSRDD[VertexUnit].

[0088] Step 4: Node edges are defined using def EdgeUnit(src:Long,dst:Long,attribute:String,timestamp:Long).

[0089] Step 5: Map the node edges, map Starting_node to src, map Terminal_node to dst, use the timestamp of the edge as timestamp, use other attributes of the edge to build attribute, and connect them with "|" to form an attribute string, the expression is:

[0090] Id|Name|Type|Info|Electricity_attributes|Manager|Ower|Length|Desc.

[0091] Step 6: Create edge RDD containing timestamps: edgeTSRDD[EdgeUnit].

[0092] In one implementation, the node data set and edge data set of each time mark corresponding to each power grid topology map data are stored in an HBase database.

[0093] The HBase database is an open source, distributed, versioned, non-relational column storage database that defines a four-dimensional data model, including row keys, column clusters, column modifiers, and versions. The row key is used to describe a specified row. Each row consists of one or more column clusters, each column cluster contains one or more column modifiers, and each column has one or more versions. By specifying row keys, column clusters, column modifiers, and versions, you can obtain or query specified data. The physical data of the HBase database is stored in the HDFS cluster, and only a small amount of metadata needs to be maintained by the Zookeeper cluster and the HBase cluster. Therefore, the HBase database can store large tables with more than one million rows of data to meet the storage needs of massive non-relational power grid data.

[0094] The storage of node sets and edge sets. The storage of nodes is done by creating a node RDD (vertexTSRDD[VertexUnit]) containing a timestamp, and then calling timeVersionDataBulkPut to store the node set in the HBase data table. The storage of edges is done by creating an edge RDD (edgeTSRDD[EdgeUnit]) containing a timestamp, and then calling the underlying storage timeVersionDataBulkPut(rdd:RDD,rdd_table:String) to store the edge set in the specified table (rdd_table) in HBase. The node data RDD and edge data RDD of different graph objects are stored in different HBase tables respectively. For the same graph object, the node data RDD of different temporal states will be stored in the same HBase table (such as vertex_table), and the edge data RDD of different temporal states will also be stored in the same HBase table (such as edge_table), and the data time version is defined by the timestamp.

[0095] Step S13: receiving a data access instruction based on a preset time sent by a user.

[0096] The preset time here is the time specified by the user. The data access instruction is the power grid topology data at the specific instruction time.

[0097] Step S14: according to the data access instruction, searching for a time mark matching the preset time, and sending the power grid topology map data corresponding to the time mark to the user.

[0098] In one embodiment, according to the data access instruction, searching for a time mark matching the preset time, and sending the power grid topology map data corresponding to the time mark to the user includes:

[0099] Step 1: Remove the time stamp from the power grid topology data corresponding to the time stamp.

[0100] Since the user has sent a designated preset time, after searching for the power grid topology data corresponding to the preset time through the time identifier, the timestamp information added above can be deleted.

[0101] Step 2: Regenerate a standard power grid topology map from the power grid topology map data with the time stamp removed.

[0102] Step 3: Read the grid topology data corresponding to the preset time from the standard grid topology.

[0103] After removing the timestamp information, the power grid topology model is regenerated, and the power grid topology model is a standard graph topology and does not contain time information.

[0104] Step 4: Send the power grid topology data to the user.

[0105] Specifically, step S14 can be executed by the data access module in the controller. Data access is to obtain node data RDD and edge data RDD respectively by calling the underlying storage method, and then build a graph object (Graph) after conversion to provide graph access. For example: first call timeVersionDataBulkGet(rdd_table:String,timestamp:Long) to obtain vertexTSRDD[VertexUnit] and edgeTSRDD[EdgeUnit] respectively, and then perform Map conversion to convert them into vertexRDD[keys:Long,values:String] and edgeRDD[src:Long,dst:Long,values:String] respectively, and finally create a graph object (Graph) through Graph(VertexRDD,EdgeRDD).

[0106] Based on the GraphX ​​power grid topology, a data reader was developed. According to the given data access instructions based on preset time, the data access module of the controller is used to read the power grid topology data of the specified time and provide it in the form of a power grid topology (Graph). The attribute data of the nodes and edges of the power grid topology is restored and read by parsing the attribute strings of the nodes and edges. Data access API. Based on the data reader, a data access interface was developed based on programming languages ​​such as Java, Scala, and Python to provide direct access services for multi-temporal power grid topology data and data interface integration services.

[0107] The multi-temporal power grid topology data management method in the embodiment of the present invention obtains each power grid topology data and its corresponding time identifiers, and each power grid topology data is preprocessed; based on the standard power grid topology, a multi-temporal power grid topology model containing node data sets and edge data sets of each time identifier corresponding to each power grid topology data is generated; a data access instruction based on a preset time sent by a user is received; according to the data access instruction, a time identifier matching the preset time is searched, and the power grid topology data corresponding to the time identifier is sent to the user. The present invention can satisfy the user's access to each power grid topology data based on time information, which not only improves the flexibility of power grid topology information data management, but also improves the real-time and accuracy of power grid topology information data management.

[0108] Based on the same concept, the embodiment of the present invention also provides a multi-temporal power grid topology data management device, such as Figure 3 As shown, it includes the following modules:

[0109] The data acquisition module 31 is used to acquire each power grid topology map data and each corresponding time mark, and each power grid topology map data is pre-processed.

[0110] The data generation module 32 is used to generate a multi-temporal power grid topology model including node data sets and edge data sets of each time mark corresponding to each power grid topology data based on the standard power grid topology.

[0111] The instruction receiving module 33 is used to receive a data access instruction based on a preset time sent by a user.

[0112] The data sending module 34 is used to search for a time identifier that matches a preset time according to the data access instruction, and send the power grid topology map data corresponding to the time identifier to the user.

[0113] In one embodiment, the data acquisition module pre-processes the data of each power grid topology map, including:

[0114] The data processing submodule is used to remove duplicate data, fill in missing values, and replace abnormal values ​​for each power grid topology map data through a preset algorithm.

[0115] The data fusion submodule is used to associate and fuse the power grid topology data according to the identity information to form a power grid topology data table.

[0116] In one embodiment, the data generation module 32 includes:

[0117] The data generation submodule is used to map each power grid topology data and its corresponding time identifiers into the standard power grid topology map, and generate a multi-temporal power grid topology model including node data sets and edge data sets of each time identifier corresponding to each power grid topology data.

[0118] In one implementation, the data sending module 34 includes:

[0119] The identification removal submodule is used to remove the time identification from the power grid topology map data corresponding to the time identification.

[0120] The topology generation submodule is used to regenerate a standard power grid topology map from the power grid topology map data with the time stamp removed.

[0121] The data reading submodule is used to read the power grid topology map data corresponding to the preset time from the standard power grid topology map.

[0122] The data sending submodule is used to send the power grid topology map data to the user.

[0123] In one embodiment, the power grid topology map is created by the following modules:

[0124] The node acquisition submodule is used to obtain the power supply points, busbars, substations, circuit breakers, and load points in the power grid;

[0125] The node determination submodule is used to take power source points, busbars, substations, circuit breakers, and load points as nodes;

[0126] A node edge determination submodule is used to take the transmission lines between nodes as node edges;

[0127] The attribute assignment submodule is used to assign grid attribute information to nodes and node edges respectively;

[0128] The graph topology submodule is used to create a standard power grid topology graph based on node, node edge and power grid attribute information.

[0129] In one implementation, the node data set and edge data set of each time mark corresponding to each power grid topology map data are stored in an HBase database.

[0130] Based on the same concept, an embodiment of the present invention further provides a computer device, such as Figure 4 As shown, the computer device may include a processor 41 and a memory 42, wherein the processor 41 and the memory 42 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0131] The processor 41 may be a central processing unit (CPU). The processor 41 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0132] The memory 42 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules. The processor 41 executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory 42, that is, the multi-temporal power grid topology data management method in the above embodiment is implemented.

[0133] The memory 42 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 41, etc. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 42 may optionally include a memory remotely arranged relative to the processor 41, and these remote memories may be connected to the processor 41 via a network. Examples of the above-mentioned network include, but are not limited to, a power grid, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0134] The one or more modules are stored in the memory 42, and when executed by the processor 41, the multi-temporal power grid topology data management method in the embodiment shown in the drawings is executed.

[0135] The specific details of the above-mentioned computer device can be understood by referring to the corresponding related descriptions and effects in the embodiments shown in the accompanying drawings, and will not be repeated here.

[0136] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0137] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A multi-temporal power grid topology data management method, characterized in that: The steps include: Acquire each power grid topology data and its corresponding time stamps, each power grid topology data is preprocessed; Based on the standard power grid topology map, a multi-temporal power grid topology map model is generated, which includes a node data set and an edge data set of each time mark corresponding to each power grid topology map data; Receiving a data access instruction based on a preset time sent by a user; According to the data access instruction, searching for a time mark matching the preset time, and sending the power grid topology map data corresponding to the time mark to the user; The node data sets and edge data sets of each time mark corresponding to each power grid topology map data are stored in an HBase database; The node data set includes: node definition, node attributes and timestamp; the node definition includes: number, name, longitude value, latitude value; the node attributes include: node type, node information, power attribute, administrator, affiliated unit, installation address, node description; the timestamp includes: time version identification; The edge data set information includes: edge definition, edge attributes and timestamp; wherein the edge definition includes: number, name, edge start point, edge end point; edge attributes include: edge type, edge information, power attributes, administrator; timestamp includes time version identifier; The storage of node sets and edge sets. The storage of nodes is achieved by creating a node containing a timestamp and then calling the node code to store the node set in the data table of the HBase database. The storage of edges is achieved by creating an edge containing a timestamp and then calling the edge code of the underlying storage to store the edge set in the data table of the HBase database. The node data and edge data of different graph objects are stored in different data tables of the HBase database respectively. The node data of different tenses of the same graph object will be stored in the data table of the same HBase database, and the edge data of different tenses will also be stored in the data table of the same HBase database, and the data time version is defined by the timestamp.

2. The multi-temporal power grid topology data management method according to claim 1, characterized in that: Preprocessing the power grid topology data includes: Deduplication, missing value filling, and abnormal value replacement are performed on the data of each power grid topology map by using a preset algorithm; The power grid topology data are associated and merged together according to the identity information to form a power grid topology data table.

3. The multi-temporal power grid topology data management method according to claim 1, characterized in that: Based on the standard power grid topology map, a multi-temporal power grid topology map model is generated, which includes a node data set and an edge data set of each time mark corresponding to each power grid topology map data, including: The power grid topology data and their corresponding time identifiers are mapped into the standard power grid topology map to generate a multi-temporal power grid topology model including node data sets and edge data sets of the time identifiers corresponding to the power grid topology data.

4. The multi-temporal power grid topology data management method according to claim 1, characterized in that: According to the data access instruction, searching for a time mark matching the preset time, and sending the power grid topology map data corresponding to the time mark to the user, including: Removing the time stamp from the power grid topology data corresponding to the time stamp; Regenerating the standard power grid topology map by removing the power grid topology map data of the time mark; Reading the grid topology data corresponding to the preset time from the standard grid topology; The power grid topology map data is sent to the user.

5. The multi-temporal power grid topology data management method according to any one of claims 1 to 4, characterized in that: The standard power grid topology diagram is created in the following way: Obtain power supply points, busbars, substations, circuit breakers, and load points in the power grid; The power source point, busbar, substation, circuit breaker, and load point are taken as nodes; The transmission lines between nodes are regarded as node edges; Assigning power grid attribute information to the nodes and the node edges respectively; The standard power grid topology map is created according to the nodes, the node edges and the power grid attribute information.

6. A multi-temporal power grid topology data management device, characterized in that: Includes the following modules: A data acquisition module is used to acquire the data of each power grid topology map and its corresponding time identifiers, and each power grid topology map data is pre-processed; A data generation module, for generating a multi-temporal power grid topology model including node data sets and edge data sets of each time mark corresponding to each power grid topology data based on a standard power grid topology; An instruction receiving module, used for receiving a data access instruction based on a preset time sent by a user; A data sending module, used to search for a time identifier matching the preset time according to the data access instruction, and send the power grid topology map data corresponding to the time identifier to the user; The node data sets and edge data sets of each time mark corresponding to each power grid topology map data are stored in an HBase database; The node data set includes: node definition, node attributes and timestamp; the node definition includes: number, name, longitude value, latitude value; the node attributes include: node type, node information, power attribute, administrator, affiliated unit, installation address, node description; the timestamp includes: time version identification; The edge data set information includes: edge definition, edge attributes and timestamp; wherein the edge definition includes: number, name, edge start point, edge end point; edge attributes include: edge type, edge information, power attributes, administrator; timestamp includes time version identifier; The storage of node sets and edge sets. The storage of nodes is achieved by creating a node containing a timestamp and then calling the node code to store the node set in the data table of the HBase database. The storage of edges is achieved by creating an edge containing a timestamp and then calling the edge code of the underlying storage to store the edge set in the data table of the HBase database. The node data and edge data of different graph objects are stored in different data tables of the HBase database respectively. The node data of different tenses of the same graph object will be stored in the data table of the same HBase database, and the edge data of different tenses will also be stored in the data table of the same HBase database, and the data time version is defined by the timestamp.

7. The multi-temporal power grid topology data management device according to claim 6, characterized in that: The data acquisition module pre-processes the grid data including the grid topology information, including: A data processing submodule, used to perform data deduplication, fill in missing values, and replace abnormal values ​​on the data of each power grid topology map through a preset algorithm; The data fusion submodule is used to associate and fuse the various power grid topology map data according to the identity identification information to form a power grid topology map data table.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the multi-temporal power grid topology map data management method according to any one of claims 1 to 5.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the multi-temporal power grid topology map data management method according to any one of claims 1 to 5 by executing the computer instructions.

Citation Information

Patent Citations

  • Topology and data management and maintenance system

    CN112528448A

  • Dynamic network topological graph generation method based on logs and graphs and system thereof, processing equipment and storage medium

    CN113904921A