Power grid graph management method and device, electronic equipment and storage medium
By obtaining and managing incremental update information in real time, generating updated versions of grid graphics and performing timing management, it solves the problem of difficult graphic data update in traditional methods, realizes efficient storage and version control of grid graphics data, and improves management convenience and data accuracy.
Patent Information
- Application Number
- CN202411207029.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-20
AI Technical Summary
Traditional graphics management methods are difficult to dynamically update and manage multiple versions of graphics data in power grid field operations, resulting in complex and difficult graphics data management.
By obtaining incremental update information in power grid field operations in real time, generating updated versions of power grid graphics, and adding them to the graphics version timing chain, using timestamps for timing management, supporting version viewing, rollback and comparison, combined with differential storage Data compression is carried out with data deduplication technology.
It realizes convenient management of grid graphics of different versions, ensures real-time and accuracy of data, improves the storage efficiency and management convenience of grid graphics data, and supports intelligent management of grid on-site operations.
Smart Images

Figure CN119166837A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of graphics management technology, and in particular to a power grid graphics management method, device, electronic device and storage medium. Background Art
[0002] In the process of on-site power grid operations, a large amount of graphic data management is usually involved. Graphic data can reflect the operation status of the power grid, equipment distribution, fault conditions, etc. Since the equipment in the power grid may be continuously updated with on-site operations, this requires that the graphic data should also be updated to generate a new version. Therefore, the management of multiple versions of graphic data is becoming increasingly important.
[0003] Traditional graphics management methods usually implement graphics data management of various versions in a static storage manner. Statically stored graphics data cannot change dynamically during the operation process, especially when graphics data is updated frequently. It becomes extremely difficult to track the changes of each version of graphics data, resulting in complex graphics data management. Summary of the invention
[0004] The present invention provides a power grid graphic management method, device, electronic equipment and storage medium, which can improve the convenience of managing different versions of power grid graphics.
[0005] In a first aspect, an embodiment of the present invention provides a power grid graphic management method, including:
[0006] Based on the current version of the power grid graph, real-time acquisition of incremental update information related to the current version of the power grid graph in the power grid field operation;
[0007] Based on the incremental update information, generating an updated version of the power grid graph corresponding to the current version of the power grid graph;
[0008] According to the timestamp corresponding to the incremental update information, the updated version of the power grid graph is added to a graph version timing chain, wherein the graph version timing chain includes time nodes corresponding to a plurality of different versions of the power grid graph arranged in time sequence.
[0009] Further, based on the incremental update information, generating an updated version of the power grid graph corresponding to the current version of the power grid graph includes:
[0010] Performing data cleaning on the incremental update information to obtain cleaned incremental update information; wherein the incremental update information includes information indicating one or more of addition, modification and deletion of graphic elements in the current version of the power grid graph;
[0011] The cleaned incremental update information is applied to the current version of the power grid graph to generate an updated version of the power grid graph corresponding to the current version of the power grid graph.
[0012] Furthermore, the method further comprises:
[0013] Display the graphic version time sequence chain to the version control page;
[0014] In response to a version viewing operation in the version control page, a first power grid graph corresponding to a first node is displayed, where the first node is a time node in the graph version timing chain on which the version viewing operation is performed.
[0015] Furthermore, the first power grid graph is a power grid graph corresponding to a version prior to the updated version of the power grid graph. Accordingly, the method further includes:
[0016] In response to a version rollback operation in the version control page, the updated version of the power grid graph is rolled back to the first power grid graph.
[0017] Furthermore, the method further comprises:
[0018] Display the graphic version time sequence chain to the version control page;
[0019] In response to the version comparison operation in the version control page, difference information between the second power grid graphs corresponding to a plurality of second nodes is displayed, where the second nodes are time nodes in the graph version timing chain on which the version comparison operation is performed.
[0020] Furthermore, the version control page controls the operation of the power grid graphics included in the graphic version timing chain by setting different levels of operation permissions.
[0021] Furthermore, the method further comprises:
[0022] Mapping and storing the incremental update letter and the version information corresponding to the updated version of the power grid graph in a database, wherein the version information is identified by a hash algorithm;
[0023] When the incremental update information stored in the database meets the set compression conditions, data compression processing is performed through differential storage and data deduplication technology.
[0024] In a second aspect, an embodiment of the present invention provides a power grid graphic management device, including:
[0025] An acquisition module, for acquiring, based on the current version of the power grid graph, incremental update information related to the current version of the power grid graph in real time during the power grid field operation;
[0026] A generating module, configured to generate an updated version of a power grid graph corresponding to the current version of the power grid graph based on the incremental update information;
[0027] The adding module is used to add the updated version of the power grid graph to the graph version timing chain according to the timestamp corresponding to the incremental update information. The graph version timing chain includes time nodes corresponding to multiple different versions of the power grid graph arranged in time sequence.
[0028] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0029] at least one processor; and
[0030] a memory communicatively connected to the at least one processor; wherein,
[0031] The memory stores a computer program executable 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 perform the method according to the first aspect.
[0032] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0033] The embodiment of the present invention provides a method, device, electronic device and storage medium for managing a power grid graph, the method comprising: based on the current version of the power grid graph, obtaining incremental update information related to the current version of the power grid graph in the field operation of the power grid in real time; based on the incremental update information, generating an updated version of the power grid graph corresponding to the current version of the power grid graph; according to the timestamp corresponding to the incremental update information, adding the updated version of the power grid graph to the graphics version timing chain, the graphics version timing chain including multiple time nodes corresponding to different versions of the power grid graph arranged in time sequence. The above technical scheme can track the incremental update information of the current version of the power grid graph in real time and generate an updated version of the power grid graph based on the incremental update information. At the same time, the graphics version timing chain can perform timing management on each version of the power grid graph based on the timestamp, which can improve the convenience of managing different versions of the power grid graph.
[0034] 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
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 is a flow chart of a power grid graphic management method provided according to the first embodiment of the present invention;
[0037] Figure 2 is a flow chart of a power grid graphic management method provided according to Embodiment 2 of the present invention;
[0038] Figure 3 is a structural diagram of a power grid graphic management device provided according to Embodiment 3 of the present invention;
[0039] Figure 4 It is a schematic diagram of the structure of an electronic device implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0040] 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.
[0041] It should be noted that the terms "first", "second", etc. in the present invention 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.
[0042] Embodiment 1
[0043] Figure 1This is a flow chart of a power grid graph management method provided according to Embodiment 1 of the present invention. This embodiment is applicable to situations where power grid graphs are managed. The method can be executed by a power grid graph management device, which can be implemented in the form of software and / or hardware and integrated in an electronic device. Further, the electronic device includes but is not limited to: a computer, a laptop, etc.
[0044] like Figure 1 As shown, the method includes:
[0045] S110 . Based on the current version of the power grid graph, incremental update information related to the current version of the power grid graph in power grid field operations is acquired in real time.
[0046] In the process of on-site power grid operations, a large number of power grid graphics may be involved. Power grid graphics are an important part of the power system, which can display the structure and working principle of the power grid in the form of graphics and symbols. For example, in the operation of the distribution network, the topology, equipment layout, operating status and other information of the distribution network can be represented by power grid graphics, so as to understand the operation of the distribution network, perform fault diagnosis, optimize the distribution network planning, etc.
[0047] A power grid diagram may include multiple graphic elements. These graphic elements may be graphic representations of various power equipment in the power grid, such as substations, transmission towers, and distribution equipment. The graphic representation of the power equipment may indicate the performance parameters and technical characteristics of the corresponding power equipment; these graphic elements may also be lines and marks indicating the connection relationship between the various power equipment in the power grid.
[0048] In the initial state, the graphic elements used to generate the power grid graph can be standardized to generate a basic version of the power grid graph and store it in the database. The standardized processing can be to integrate the graphic elements used to generate the power grid graph and generate a basic version of the power grid graph according to the topological relationship between different graphic elements. As the power grid field operations continue to change, the basic version of the power grid graph may be updated accordingly to continuously generate new versions.
[0049] The current version of the power grid graphic may be a power grid graphic that can indicate the current state of the power grid field operation, such as the power grid graphic of the basic version described above, or a version of the power grid graphic after the basic version is updated. The incremental update information may be information indicating the incremental update of the current version of the power grid graphic, such as the addition, modification and deletion of graphic elements in the current version of the power grid graphic, which is not limited here.
[0050] In this step, based on the current version of the power grid graph, sensors, data acquisition equipment, etc. can be deployed on the systems or equipment actually involved in the field operation of the power grid to obtain incremental update information related to the current version of the power grid graph in real time. The advantage of this setting is that the real-time acquisition of incremental update information provides a basis for the dynamic update of the power grid graph, which helps to ensure the real-time and accuracy of the power grid graph, which is crucial for quickly responding to power grid changes and optimizing power grid operation and maintenance strategies.
[0051] S120. Generate an updated version of the power grid graph corresponding to the current version of the power grid graph based on the incremental update information.
[0052] In this step, the incremental update information can be applied to the current version of the power grid graph to generate an updated version of the power grid graph. For example, based on the content indicated by the incremental update information, corresponding graphic elements are added, modified and deleted to obtain an updated version of the power grid graph.
[0053] The updated version of the grid graph can be a grid graph obtained by updating the current version of the grid graph based on the incremental update information. By generating the updated version of the grid graph, it can be ensured that the current version of the grid graph changes with the actual situation of the grid field operation, and the grid graph is synchronized with the actual field operation status.
[0054] S130. Add the updated version of the power grid graph to a graph version timing chain according to a timestamp corresponding to the incremental update information. The graph version timing chain includes time nodes corresponding to a plurality of different versions of the power grid graph arranged in time sequence.
[0055] The graph version time sequence chain can be a chain reflecting the time sequence of different versions of the power grid graph, and can be used to track and manage different versions of the power grid graph that change over time. In the graph version time sequence chain, multiple time nodes arranged in time sequence can be included, and different time nodes can be associated with versions corresponding to the same power grid graph at different timestamps.
[0056] In this step, while obtaining the incremental update information, the obtained timestamp can be recorded. Through the timing relationship between the timestamp and each time node in the graphic version timing chain, the time node corresponding to the updated version of the power grid graphic is added to the graphic version timing chain, so that the updated version of the power grid graphic can be managed subsequently through the added time node.
[0057] Through the graphic version time chain, the changing trajectories of different versions of the same power grid graphic over time can be recorded, which is convenient for version backtracking, data analysis and fault diagnosis of different versions of the same power grid graphic, and is of great value to power grid operation and maintenance.
[0058] The embodiment of the present invention provides a method, device, electronic device and storage medium for managing a power grid graph, the method comprising: based on the current version of the power grid graph, obtaining incremental update information related to the current version of the power grid graph in the field operation of the power grid in real time; based on the incremental update information, generating an updated version of the power grid graph corresponding to the current version of the power grid graph; according to the timestamp corresponding to the incremental update information, adding the updated version of the power grid graph to the graphics version timing chain, the graphics version timing chain including multiple time nodes corresponding to different versions of the power grid graph arranged in time sequence. The above technical scheme can track the incremental update information of the current version of the power grid graph in real time and generate an updated version of the power grid graph based on the incremental update information. At the same time, the graphics version timing chain can perform timing management on each version of the power grid graph based on the timestamp, which can improve the convenience of managing different versions of the power grid graph.
[0059] Embodiment 2
[0060] Figure 2 is a flow chart of a power grid graph management method provided according to Embodiment 2 of the present invention. This embodiment is based on the above Embodiment 1, and further refines the generation of an updated version of the power grid graph corresponding to the current version of the power grid graph based on the incremental update information, such as Figure 2 As shown, the method includes:
[0061] S110 . Based on the current version of the power grid graph, incremental update information related to the current version of the power grid graph in power grid field operations is acquired in real time.
[0062] S121. Clean the incremental update information to obtain cleaned incremental update information; wherein the incremental update information includes information indicating one or more of addition, modification and deletion of graphic elements in the current version of the power grid graphic.
[0063] The incremental update information includes information indicating one or more of the addition, modification and deletion of graphic elements in the current version of the power grid graph. The addition of graphic elements may include but is not limited to adding a graphic representation corresponding to a certain power device in the current version of the power grid graph and adding a connection relationship between the power devices; the modification of graphic elements may include but is not limited to modifying the performance parameters or technical characteristics of a certain power device in the current version of the power grid graph; the deletion of graphic elements may include but is not limited to deleting a graphic representation corresponding to a certain power device in the current version of the power grid graph and deleting the connection relationship between the power devices.
[0064] Data cleaning of the incremental update information can be understood as removing duplicate updates from the incremental update information to avoid multiple unnecessary modifications to the same graphic element; removing invalid updates from the incremental update information, such as invalid updates to graphic elements, or updates to graphic elements that are not compatible with the current version of the power grid graphic. The specific implementation method of data cleaning is not limited here.
[0065] The cleaned incremental update information may be information obtained after data cleaning of the incremental update information. After data cleaning, the cleaned incremental update information obtained may be accurate and consistent, and may be directly used for updating the current version of the power grid graph.
[0066] S122: Apply the cleaned incremental update information to the current version of the power grid graph to generate an updated version of the power grid graph corresponding to the current version of the power grid graph.
[0067] In this step, one or more of the addition, modification and deletion of graphic elements indicated by the cleaned incremental update information may be applied to the current version of the power grid graph to generate an updated version of the power grid graph corresponding to the current version of the power grid graph.
[0068] S130. Add the updated version of the power grid graph to a graph version timing chain according to a timestamp corresponding to the incremental update information. The graph version timing chain includes time nodes corresponding to a plurality of different versions of the power grid graph arranged in time sequence.
[0069] The technical solution of the embodiment of the present invention performs data cleansing on the incremental update information to obtain the cleaned incremental update information, and applies the cleaned incremental update information to the update of the current version of the power grid graphics, which can ensure the accuracy and consistency of the incremental updates to the current version of the power grid graphics, further ensure the safety and accuracy of the power grid field operations, and is of great significance to the operation and maintenance of the power grid.
[0070] In one embodiment, the method further comprises:
[0071] Display the graphic version time sequence chain to the version control page;
[0072] In response to a version viewing operation in the version control page, a first power grid graph corresponding to a first node is displayed, where the first node is a time node in the graph version timing chain on which the version viewing operation is performed.
[0073] The version control page may be a page for performing version control on each version of the power grid graph in the graph version time series chain. The version viewing operation may be an operation of viewing the first power grid graph of the version corresponding to the first node in the graph version time series chain. The first node may be a time node on which the version viewing operation is performed, such as any time node in the graph version time series chain. The first power grid graph may be a power grid graph corresponding to the first node.
[0074] In the version control page, the graphic version time series chain can be displayed in a manner that multiple time nodes are connected in time series. In response to the operation of clicking a time node in the graphic version time series chain, that is, the version viewing operation, the clicked time node is used as the first node, and the first power grid graphic corresponding to the first node is displayed, thereby realizing the viewing of any version of the power grid graphic in the graphic version time series chain. The advantage of this setting is that it supports backtracking and viewing of historical versions of power grid graphics according to time nodes.
[0075] In one embodiment, the first power grid graph is a power grid graph corresponding to a version prior to the updated version of the power grid graph, and accordingly, the method further includes:
[0076] In response to a version rollback operation in the version control page, the updated version of the power grid graph is rolled back to the first power grid graph.
[0077] The version rollback operation may be an operation of rolling back the updated version of the power grid graph to the power grid graph corresponding to the version before the updated version of the power grid graph. During the field operation of the power grid, there may be a power grid graph corresponding to the version before the updated version of the power grid graph, which is more suitable for field operation than the updated version of the power grid graph, so it is necessary to implement the version rollback of the power grid graph.
[0078] When a first power grid graphic is displayed in a version control page, and the first power grid graphic is a power grid graphic corresponding to a version before the updated version power grid graphic, a version rollback control may be displayed in the version control page. In response to a click on the version rollback control in the version control page, i.e., a version rollback operation, the updated version power grid graphic is rolled back to the first power grid graphic. The first power grid graphic may be a power grid graphic corresponding to any version before the updated version power grid graphic. The version rollback control may be a control for implementing a version rollback operation.
[0079] In one embodiment, the method further comprises:
[0080] Display the graphic version time sequence chain to the version control page;
[0081] In response to the version comparison operation in the version control page, difference information between the second power grid graphs corresponding to a plurality of second nodes is displayed, where the second nodes are time nodes in the graph version timing chain on which the version comparison operation is performed.
[0082] The version comparison operation may be an operation of comparing the difference between at least two versions of the power grid graph in the graph version timing chain. The second node may be a time node in the graph version timing chain on which the version comparison operation is performed, and there may be multiple nodes. The second power grid graph may be a power grid graph corresponding to the second node. The difference information may be information indicating the difference between the multiple second power grid graphs, and the indicated difference is not limited.
[0083] In the version control page, a graphic version timing chain can be displayed in a manner that multiple time nodes are connected in time sequence, and a version comparison control can also be displayed. In response to a click on the version comparison control in the version control page, and then in response to an operation of clicking at least two time nodes in the graphic version timing chain, the clicked time node is used as a second node, and the difference information between the second power grid graphics corresponding to the multiple second nodes is displayed. Among them, the click on the version comparison control and the click on at least two time nodes can be understood as a version comparison operation, and the version comparison control can be a control for implementing the version comparison operation.
[0084] The technical solution of the embodiment of the present invention can realize the viewing of each version of the power grid graphics in the graphic version time chain, the version rollback of the power grid graphics, and the difference comparison of different versions of the power grid graphics on the version control page, thereby ensuring the accuracy of the power grid graphics used for on-site power grid operations.
[0085] In one embodiment, the version control page controls the operation of the power grid graphics included in the graphic version timing chain by setting different levels of operation permissions.
[0086] That is, in the version control page, for the above-mentioned version viewing operations, version rollback operations, and version comparison operations, different levels of operation permissions are set according to the different users who access the version control page. The level of operation permissions can be related to the user's job responsibilities and work requirements. The advantage of this setting is that it ensures that only authorized users can perform version control, thereby improving the security of version control.
[0087] For example, for one level of operation permissions, the above-mentioned version viewing operation, version rollback operation and version comparison operation can be implemented; while for another level of operation permissions, the above-mentioned version viewing operation can be implemented, but the version rollback operation and version comparison operation cannot be implemented.
[0088] Optionally, on the version control page, all user operations can be recorded in logs for auditing purposes.
[0089] In one embodiment, the method further comprises:
[0090] Mapping and storing the incremental update information and the version information corresponding to the updated version of the power grid graph in a database, wherein the version information is identified by a hash algorithm;
[0091] When the incremental update information stored in the database meets the set compression conditions, data compression processing is performed through differential storage and data deduplication technology.
[0092] The version information corresponding to the updated version of the power grid graph may be information related to the version of the updated version of the power grid graph, such as but not limited to the version number, the time when the version was created, the identifier of the user who created the version, and the like.
[0093] When the current version of the power grid graph is updated to generate an updated version of the power grid graph, the version information corresponding to the updated version of the power grid graph can be uniquely identified by a hash algorithm, and the unique identification and incremental update information can be stored in a database in the form of a key-value pair, so that the version information corresponding to the updated version of the power grid graph can be subsequently determined through the incremental update information, or the incremental update information can be determined through the version information corresponding to the updated version of the power grid graph.
[0094] Each time a version is updated, the corresponding incremental update information will be stored in the database. If the incremental update information in the database is continuously stored for more than a set number of times, that is, if the set compression condition is met, the stored incremental update information is compressed through differential storage and data deduplication technology to reduce storage space usage and improve the efficiency of reading data in the database. The set compression condition can be a condition for compressing the incremental update information stored in the database, which is not limited here.
[0095] The technical solution of the embodiment of the present invention realizes the management of multiple versions of power grid graphics for field operations of power grids based on time series increments, which can effectively improve the storage efficiency and management convenience of power grid graphics and ensure the safety and accuracy of field operations of power grids. Through incremental updates and time series management, efficient storage and version control of graphic data are realized, storage space occupation is reduced, data reading and processing efficiency is improved, and strong support is provided for the intelligent management of field operations of power grids.
[0096] Embodiment 3
[0097] Figure 3 is a schematic diagram of the structure of a power grid graph management device provided according to Embodiment 3 of the present invention. This embodiment is applicable to the situation of managing power grid graphs. Figure 3 As shown, the specific structure of the device includes:
[0098] An acquisition module 31 is used to acquire, in real time, incremental update information related to the current version of the power grid graph in the power grid field operation based on the current version of the power grid graph;
[0099] A generating module 32, configured to generate an updated version of a power grid graph corresponding to the current version of the power grid graph based on the incremental update information;
[0100] The adding module 33 is used to add the updated version of the power grid graph to the graph version timing chain according to the timestamp corresponding to the incremental update information. The graph version timing chain includes time nodes corresponding to multiple different versions of the power grid graph arranged in time sequence.
[0101] The power grid graph management device provided in this embodiment acquires incremental update information related to the current version of the power grid graph in real time during the power grid field operation based on the current version of the power grid graph through an acquisition module; generates an updated version of the power grid graph corresponding to the current version of the power grid graph based on the incremental update information through a generation module; and adds the updated version of the power grid graph to the graphic version timing chain according to the timestamp corresponding to the incremental update information through an addition module, wherein the graphic version timing chain includes time nodes corresponding to multiple different versions of the power grid graph arranged in time sequence. The above technical scheme can track the incremental update information of the current version of the power grid graph in real time and generate an updated version of the power grid graph based on the incremental update information. At the same time, the graphic version timing chain can perform timing management on each version of the power grid graph based on the timestamp, thereby improving the convenience of managing different versions of the power grid graph.
[0102] Furthermore, the generating module 32 is specifically used for:
[0103] Performing data cleaning on the incremental update information to obtain cleaned incremental update information; wherein the incremental update information includes information indicating one or more of addition, modification and deletion of graphic elements in the current version of the power grid graph;
[0104] The cleaned incremental update information is applied to the current version of the power grid graph to generate an updated version of the power grid graph corresponding to the current version of the power grid graph.
[0105] Furthermore, the device also includes a version checking module, which is used to:
[0106] Display the graphic version time sequence chain to the version control page;
[0107] In response to a version viewing operation in the version control page, a first power grid graph corresponding to a first node is displayed, where the first node is a time node in the graph version timing chain on which the version viewing operation is performed.
[0108] Furthermore, the first power grid graph is a power grid graph corresponding to a version before the updated version power grid graph. Accordingly, the device further includes a version rollback module, which is used to:
[0109] In response to a version rollback operation in the version control page, the updated version of the power grid graph is rolled back to the first power grid graph.
[0110] Furthermore, the device also includes a version comparison module, which is used to:
[0111] Display the graphic version time sequence chain to the version control page;
[0112] In response to the version comparison operation in the version control page, difference information between the second power grid graphs corresponding to a plurality of second nodes is displayed, where the second nodes are time nodes in the graph version timing chain on which the version comparison operation is performed.
[0113] Furthermore, the version control page controls the operation of the power grid graphics included in the graphic version timing chain by setting different levels of operation permissions.
[0114] Furthermore, the device also includes:
[0115] A storage module, used for mapping and storing the incremental update information and the version information corresponding to the updated version of the power grid graph into a database, wherein the version information is identified by a hash algorithm;
[0116] The compression module is used to perform data compression processing through differential storage and data deduplication technology when the incremental update information stored in the database meets the set compression conditions.
[0117] The power grid graphic management device provided in the embodiment of the present invention can execute the power grid graphic management method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0118] Embodiment 4
[0119] Figure 4Schematic diagram of the structure of an electronic device implementing an embodiment of the present invention. 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 may 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.
[0120] like Figure 4 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.
[0121] 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.
[0122] 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 special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a power grid graphic management method.
[0123] In some embodiments, the power grid graphic management method 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 power grid graphic management method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the power grid graphic management method in any other appropriate manner (e.g., by means of firmware).
[0124] 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.
[0125] 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.
[0126] 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.
[0127] 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).
[0128] 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.
[0129] 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.
[0130] 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.
[0131] 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 power grid graphic management method, characterized in that: include: Based on the current version of the power grid graph, real-time acquisition of incremental update information related to the current version of the power grid graph in the power grid field operation; Based on the incremental update information, generating an updated version of the power grid graph corresponding to the current version of the power grid graph; According to the timestamp corresponding to the incremental update information, the updated version of the power grid graph is added to a graph version timing chain, wherein the graph version timing chain includes time nodes corresponding to a plurality of different versions of the power grid graph arranged in time sequence.
2. The method according to claim 1, characterized in that Generating an updated version of the power grid graph corresponding to the current version of the power grid graph based on the incremental update information includes: Performing data cleaning on the incremental update information to obtain cleaned incremental update information; wherein the incremental update information includes information indicating one or more of addition, modification and deletion of graphic elements in the current version of the power grid graph; The cleaned incremental update information is applied to the current version of the power grid graph to generate an updated version of the power grid graph corresponding to the current version of the power grid graph.
3. The method according to claim 1, characterized in that: Also includes: Display the graphic version time sequence chain to the version control page; In response to a version viewing operation in the version control page, a first power grid graph corresponding to a first node is displayed, where the first node is a time node in the graph version timing chain on which the version viewing operation is performed.
4. The method according to claim 3, characterized in that The first power grid graph is a power grid graph corresponding to a version before the updated version of the power grid graph. Accordingly, the method further includes: In response to a version rollback operation in the version control page, the updated version of the power grid graph is rolled back to the first power grid graph.
5. The method according to claim 1, characterized in that Also includes: Display the graphic version time sequence chain to the version control page; In response to the version comparison operation in the version control page, difference information between the second power grid graphs corresponding to a plurality of second nodes is displayed, where the second nodes are time nodes in the graph version timing chain on which the version comparison operation is performed.
6. The method according to any one of claims 3 to 5, characterized in that: The version control page controls the operation of the power grid graphics included in the graphic version timing chain by setting different levels of operation permissions.
7. The method according to claim 1, characterized in that Also includes: Mapping and storing the incremental update information and the version information corresponding to the updated version of the power grid graph in a database, wherein the version information is identified by a hash algorithm; When the incremental update information stored in the database meets the set compression conditions, data compression processing is performed through differential storage and data deduplication technology.
8. A power grid graphical management device, characterized in that: include: An acquisition module, for acquiring, based on the current version of the power grid graph, incremental update information related to the current version of the power grid graph in real time during the power grid field operation; A generating module, configured to generate an updated version of a power grid graph corresponding to the current version of the power grid graph based on the incremental update information; The adding module is used to add the updated version of the power grid graph to the graph version timing chain according to the timestamp corresponding to the incremental update information. The graph version timing chain includes time nodes corresponding to multiple different versions of the power grid graph arranged in time sequence.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable 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 perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Visual, traceable and controllable power grid managing system and method
CN104240021A
Grid topology version management tool and method based on graph database
CN113610661A
Drawing version management method, drawing version management platform, drawing version management equipment and storage medium
CN115756578A
