A power grid application data protection system and method based on active-active architecture

Through the power grid application data protection system based on the active-active architecture, real-time monitoring and synchronous backup of power grid data are carried out, which solves the problem of data loss in the power grid system in the event of a disaster, realizes data continuity and high availability, and improves the reliability of the system.

CN119621317BActive Publication Date: 2025-09-05STATE GRID CHONGQING ELECTRIC POWER CO ELECTRIC POWER RES INST +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411689130.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-09-05
Estimated Expiration
2044-11-25

AI Technical Summary

Technical Problem

Power grid systems are prone to data loss or prolonged information system downtime in disaster situations such as damage to computer rooms or buildings, resulting in the loss and destruction of important data. Existing technologies are unable to effectively prevent data loss caused by such failures.

Method used

A power grid application data protection system based on a dual-active architecture is adopted, including a power grid data dispatching server, a power grid dispatching center unit and a distributed storage center. The data monitoring module monitors the status of the storage center in real time, and a weighted polling algorithm and a dual-active mechanism are used to select a backup storage center to achieve synchronous backup and mirror recording of data, ensuring uninterrupted data upload in the event of a failure.

Benefits of technology

It achieves data continuity and high availability in the power grid system, ensures that data is not lost in the event of a failure, improves system reliability and availability, and avoids data anomalies and loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621317B_ABST
    Figure CN119621317B_ABST
Patent Text Reader

Abstract

The present invention discloses a power grid application data protection system and method based on a dual-active architecture. The system includes a power grid data dispatching server, a power grid dispatching center unit, a core storage center, a data monitoring module and multiple remote storage centers. The power grid dispatching center unit can transmit electric energy information data to the power grid data dispatching server. The data monitoring module can issue an upload fault alarm according to the upload status of the electric energy information data, and monitor the server status of the core storage center and multiple remote storage centers based on a weighted polling algorithm. When any storage center fails, the network monitoring device immediately issues a system fault alarm and transmits the fault information to the power grid data dispatching server. The power grid data dispatching server can select a remote storage center as a new core storage center from multiple remote storage centers based on a dual-active mechanism backup storage center selection method to avoid the problem of data loss caused by failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid dispatching, and in particular to a power grid application data protection system and method based on a dual-active architecture. Background Art

[0002] The power grid system is a critical system in municipal engineering, impacting people's livelihoods and industrial production. If a large-scale disaster such as damage to a computer room or building causes data loss or an extended information system downtime, the resulting incompatibility of system data and the loss or corruption of important data can be immeasurable. Therefore, to ensure the normal operation of the database, it is necessary to reduce the risk of data loss due to failures.

[0003] Therefore, there is an urgent need to invent a data protection method and system for a power grid application system that can reduce data loss due to failures. Summary of the Invention

[0004] In order to solve the above problems existing in the prior art, the present invention is achieved through the following technical solutions:

[0005] In the first aspect of the present invention, a power grid application data protection system based on a dual-active architecture is provided, the power grid application data protection system based on the dual-active architecture includes a power grid data dispatching server, a power grid dispatching center unit and a distributed storage center, the distributed storage center includes a core storage center, a data monitoring module and multiple remote storage centers, the core storage center, the data monitoring module and the multiple remote storage centers are respectively connected to the power grid data dispatching server, the core storage center and the multiple remote storage centers are also respectively connected to the data monitoring module, and the data monitoring module is also connected to the power grid dispatching center unit; the power grid dispatching center unit can upload local electric energy information data to the power grid data dispatching server, the core storage center and the multiple remote storage centers can respectively back up the electric energy information data, and the data monitoring module can The element issues an upload fault alarm for the upload status of the electric energy information data and transmits the upload alarm information to the power grid data dispatching server. The data monitoring module can also monitor the server status of the core storage center and multiple remote storage centers based on the weighted polling algorithm. When the core storage center or any of the multiple remote storage centers fails, the data monitoring module issues a system fault alarm and transmits the fault information to the power grid data dispatching server. In response to the fault information transmitted by the data monitoring module containing the failure of the core storage center, the power grid data dispatching server can select an remote storage center from multiple remote storage centers as the new core storage center based on the active-active mechanism backup storage center selection method, wherein the active-active mechanism backup storage center selection method is one of the fastest mode algorithm, dynamic server supplement algorithm and priority algorithm.

[0006] In one embodiment of the present invention, the data monitoring module can also perform performance monitoring on the core storage center and multiple remote storage centers respectively to obtain performance parameters. When the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits the performance parameter information to the power grid data dispatching server, and the power grid data dispatching server sets the performance parameter adjustment strategy for the core storage center and multiple remote storage centers according to the dynamic performance allocation algorithm.

[0007] In one embodiment of the present invention, the power grid dispatching center unit includes an energy storage power station, a power station and a power supply center. The electric energy information data comes from the local electric energy data stored in the energy storage power station, the power station and the power supply center respectively. The energy storage power station, the power station and the power supply center are all provided with a local storage module and a data upload module connected to the local storage module. All data upload modules are connected to the power grid data dispatching server. The core storage center is provided with interconnected storage servers and network switches. The remote storage center is also provided with interconnected storage servers and network switches. The storage servers of the core storage center and the remote storage center are both connected to the power grid data dispatching server. The network switch in the core storage center is connected to the network switch in the remote storage center. The network switch in the core storage center and the network switch in the remote storage center can update and exchange data in real time, so that the storage server in the core storage center and the storage server in the remote storage center can realize data mirror backup.

[0008] In one embodiment of the present invention, the data monitoring module includes a network monitoring device, which is connected to the data upload modules of the energy storage power station, power station and power supply center. The network monitoring device is also connected to the power grid data dispatching server. The network monitoring device can monitor the data upload status of each energy storage power station, power station and power supply center. The network monitoring device can issue an upload failure alarm based on the data upload status and transmit the upload alarm information to the power grid data dispatching server.

[0009] In one embodiment of the present invention, the data monitoring module includes a network monitoring device, the network monitoring device is connected to the power grid data dispatching server, the network monitoring device is further connected to the storage server of the core storage center and each remote storage center, and the network monitoring device is further connected to the network switch of the core storage center and each remote storage center;

[0010] The network monitoring device can monitor the server status of storage servers in the core storage center and multiple remote storage centers based on a weighted polling algorithm. When a storage server in the core storage center or multiple remote storage centers fails, the network monitoring device transmits the fault information to the power grid data dispatch server and issues a system fault alarm.

[0011] When the network monitoring device detects that the network switch of any storage center has network fluctuations or the actual load of the storage server of any storage center exceeds the load threshold corresponding to the storage server in the load weight list, the network monitoring device transmits the performance parameter information of the core storage center and each remote storage center to the power grid data dispatching server, wherein the load weight list includes the load thresholds set by the power grid data dispatching server for the core storage center and the multiple remote storage centers respectively.

[0012] In one embodiment of the present invention, the data monitoring module also includes a load balancing device, which is respectively connected to the storage servers of the core storage center and each remote storage center. The load balancing device is also connected to the power grid data dispatching server. The load balancing device can adjust the resource configuration of the core storage center and multiple remote storage centers based on the performance parameter adjustment strategy.

[0013] In one embodiment of the present invention, the power grid application data protection system based on the active-active architecture also includes a data backup module, which includes a local backup module, a backup record module and a database switching module. The database switching module is connected to the power grid dispatching server, and the local backup module is connected to the storage server of the core storage center, and is used to back up the data of the core storage center storage server. The database switching module is connected to the local backup module and the power grid data dispatching server respectively. When the core storage center changes, the database switching module can update the local backup module to connect with the latest core storage center. The backup record module is connected to the database switching module and can record the changes to the core storage center.

[0014] In a second aspect of the present invention, a data protection method for a power grid application system based on an active-active architecture is provided. The data protection method for a power grid application system based on an active-active architecture is applied to the power grid application data protection system based on the active-active architecture, and includes the following steps:

[0015] S20. The electric energy information data uploaded by the energy storage power station, power station and power supply center is uploaded to the power grid data dispatch server;

[0016] S40, the data monitoring module issues an upload failure alarm according to the power information data upload status described in S20, and transmits the upload alarm information to the power grid data dispatching server;

[0017] S60. The data monitoring module monitors the status of storage servers in the core storage center and multiple remote storage centers based on a weighted polling algorithm. When a storage server in the core storage center or any of the multiple remote storage centers fails, the data monitoring module immediately issues a system failure alarm and transmits the failure information to the power grid data dispatching server.

[0018] S80. In response to the fault information transmitted by the data monitoring module including a core storage center failure, the power grid data dispatching server can select a remote storage center from the multiple remote storage centers as a new core storage center based on a dual-active mechanism backup storage center selection method, wherein the dual-active mechanism backup storage center selection method is one of a fastest mode algorithm, a dynamic server supplementation algorithm, and a priority algorithm;

[0019] S100, the core storage center and each remote storage center can back up the electric energy information data through the power grid data dispatch server, and the core storage center exchanges and synchronizes data with each remote storage center, and the core storage center can serve as an external operation interface;

[0020] S120. The data monitoring module monitors the load and network traffic of the core storage center and multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded or experiences network fluctuations, the data monitoring module transmits performance parameter information to the power grid data dispatching server.

[0021] S140. In response to a load overload or network fluctuation in the core storage center or any of the multiple remote storage centers, the power grid data dispatching server sets a performance parameter adjustment strategy for the core storage center and the multiple remote storage centers based on a dynamic performance allocation algorithm, and the data monitoring module adjusts the resource configuration in the core storage center and the multiple remote storage centers based on the performance parameter adjustment strategy.

[0022] In one embodiment of the present invention, the data monitoring module further includes a load balancing device and a network monitoring device. The network monitoring device is connected to the data upload module of the energy storage power station, the power station, and the power supply center. The network monitoring device is also connected to the power grid data dispatching server. The network monitoring device is also respectively connected to the core storage center and the storage server of each remote storage center. The network monitoring device is also respectively connected to the network switch of the core storage center and each remote storage center. The load balancing device is respectively connected to the storage server of the core storage center and each remote storage center. The load balancing device is also connected to the power grid data dispatching server. The data monitoring module monitors the status of the storage servers of the core storage center and multiple remote storage centers based on a weighted polling algorithm, including:

[0023] S601: The power grid data dispatching server assigns a load weight value to each storage center according to the hardware configuration of each storage center to form a load weight list of the core storage center and the multiple remote storage centers;

[0024] S602: The load balancing device distributes the load request to the corresponding storage center according to the latest value of the load weight list in a preset period;

[0025] S603. The network monitoring device monitors the status of each storage center in real time;

[0026] S604. When the network monitoring device detects a failure in the computer system hierarchy of a storage center, or a failure in the storage server of any storage center, BIG / IP removes the failed storage center from the storage center queue until the storage center recovers, and removes the storage center from the load weight list. The failed storage center will not participate in the next allocation of user requests.

[0027] S605: Repeat steps S603 to S604 until a preset end condition is reached.

[0028] In one embodiment of the present invention, when the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits the performance parameter information to the power grid data dispatching server, including the power grid data dispatching server setting load thresholds for the core storage center and the multiple remote storage centers in the load weight list, and the network monitoring equipment monitors the load conditions of the core storage center and the multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits the performance parameter information to the power grid data dispatching server.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] The present invention provides a power grid application data protection system based on a dual-active architecture. A distributed storage center with a dual-active architecture is set in the system data module of the power grid system. Each storage center synchronously backs up and records system data uploaded by the energy storage power station, the power station and the power supply center. When recording system data, several distributed storage centers adopt data synchronization and mirror recording, and synchronize the data of the core storage center serving as the primary and backup sites in real time to ensure data consistency. In addition, data copies are established between the dual-active nodes through mirroring technology. When any of the data storage centers has an abnormality, the uploading of the system data records is not affected. When the core storage center has an abnormality, the database switching module will quickly find a new core storage center as a temporary one in several remote storage databases. Through distributed storage and dual-active architecture synchronization of data records, two or more storage centers or systems are active at the same time, can process business in parallel, and synchronize data with each other in real time. This ensures that when a site fails, it can quickly switch to another storage point, realize the continuity of system data backup and uninterrupted service, improve the reliability and availability of the system, and thus ensure that the power grid system data will not be damaged or lost due to the failure. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of the structure of a power grid application data protection system based on an active-active architecture provided by an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the structure of a distributed storage center in a power grid application data protection system based on an active-active architecture provided by an embodiment of the present invention;

[0033] Figure 3 A schematic diagram of the structure of a data backup module in a power grid application data protection system based on an active-active architecture provided by an embodiment of the present invention;

[0034] Figure 4 The present invention is a flowchart of a data protection method for a power grid application system based on an active-active architecture. DETAILED DESCRIPTION

[0035] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention, in conjunction with the accompanying drawings. It should be noted that the described embodiments are only some of the embodiments of the present invention, and are not intended to be exhaustive. Based on the embodiments of the present invention, all other embodiments derived by persons of ordinary skill in the art without inventive effort are intended to fall within the scope of protection of the present invention. It should be noted that the terms used herein are intended solely to describe specific embodiments and are not intended to limit the exemplary embodiments of the present invention. For ease of description, the dimensions of the various parts shown in the drawings are not drawn to scale. Technologies, methods, and devices known to persons of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such technologies, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values ​​should be interpreted as merely illustrative and not limiting. Therefore, other examples of the exemplary embodiments may have different values. It should be noted that similar reference numerals and letters denote similar items in the following figures. Therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0036] Example 1

[0037] Please refer to Figure 1 and Figure 2 , Figure 1 A schematic diagram of a power grid application data protection system based on a dual-active architecture provided by an embodiment of the present invention is provided. Figure 2 A structural diagram of a distributed storage center in a power grid application data protection system based on a dual-active architecture provided in an embodiment of the present invention. The power grid application data protection system based on the dual-active architecture includes a power grid data dispatching server, a power grid dispatching center unit and a distributed storage center.

[0038] Specifically, the distributed storage center includes a core storage center, a data monitoring module and multiple off-site storage centers. The core storage center, the data monitoring module and the multiple off-site storage centers are respectively connected to the power grid data dispatching server. The core storage center and the multiple off-site storage centers are also respectively connected to the data monitoring module. The data monitoring module is also connected to the power grid dispatching center unit. The power grid dispatching center unit can upload local electric energy information data to the power grid data dispatching server, the core storage center and multiple remote storage centers can respectively back up the electric energy information data, the data monitoring module can issue an upload fault alarm based on the upload status of the electric energy information data by the power grid dispatching center unit, and transmit the upload alarm information to the power grid data dispatching server, the data monitoring module can also monitor the server status of the core storage center and multiple remote storage centers based on the weighted polling algorithm, when the core storage center or any of the multiple remote storage centers fails, that is, when the server of the core storage center or any of the multiple remote storage centers fails, the data monitoring module issues a system fault alarm and transmits fault information to the power grid data dispatching server, in response to the fault information transmitted by the data monitoring module including the failure of the core storage center, the power grid data dispatching server can select an remote storage center from multiple remote storage centers as the new core storage center based on the active-active mechanism backup storage center selection method, the active-active mechanism backup storage center selection method is one of the fastest mode algorithm, dynamic server supplement algorithm and priority algorithm.

[0039] The data monitoring module can also perform performance monitoring on the core storage center and multiple remote storage centers to obtain performance parameters. The performance parameters include server load parameters and server network traffic parameters. That is, the data monitoring module can monitor the load and network traffic of the core storage center and multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded or network fluctuations occur, the data monitoring module can transmit the performance parameter information to the power grid data dispatching server. In response to the core storage center or any of the multiple remote storage centers being overloaded or network fluctuations occur, the power grid data dispatching server sets the performance parameter adjustment strategy for the core storage center and the multiple remote storage centers according to the dynamic performance allocation algorithm. The data monitoring module adjusts the performance parameters of the core storage center and the multiple remote storage centers according to the performance parameter adjustment strategy transmitted by the power grid data dispatching server.

[0040] Furthermore, the power grid dispatching center unit also includes an energy storage power station, a power station and a power supply center. The energy storage power station, the power station and the power supply center are all provided with a local storage module and a data upload module connected thereto. The energy storage power station, the power station and the power supply center can respectively store their respective local electric energy data in the local storage module to realize independent storage of local data. The local storage module of each energy storage power station, the power station and the power supply center can independently store data. The local storage center is only responsible for recording the system data of the station. No data is shared between the energy storage power station, the power station and the power supply center, thereby ensuring the authenticity and independence of the original data, so that the subsequent data recovery process can be traced. All data upload modules are connected to the power grid data dispatching server and upload the electric energy information data to the power grid data dispatching server. The electric energy information data comes from the local electric energy data stored in the local storage modules of the energy storage power station, the power station and the power supply center.

[0041] Both the off-site storage center and the core storage center are servers. The power grid application system data protection system and the entire power grid system use the core storage center for daily query and data call, while the off-site storage center is only used for data storage on a daily basis. Both the core storage center and the off-site storage center are equipped with storage servers and network switches. Specifically, the core storage center is equipped with interconnected storage servers and network switches, and the off-site storage center is also equipped with interconnected storage servers and network switches. The storage servers of the core storage center and the off-site storage center are both connected to the power grid data dispatching server, and the network switch of the core storage center is connected to the network switch in the off-site storage center. The network switch of the core storage center and the network switch of the off-site storage center can update and exchange data in real time. Specifically, when the network switch records system data, it synchronizes and mirrors data with the core storage center in a dual-active environment, and ensures efficient storage of data in the dual-active environment of the core storage center and the off-site storage center during data backup recording, so that the storage servers in the core storage center and the storage servers in the off-site storage center can realize data mirroring backup. The data of multiple off-site storage centers and the core storage center are recorded synchronously, which greatly reduces the loss of system data due to database anomalies caused by failures, ensures the security of system data, and avoids the occurrence of data anomalies caused by damage or tampering of one of the databases.

[0042] In this embodiment, the distributed storage center includes one core storage center, one data monitoring module, and one remote storage center. That is, the number of remote storage centers can be one, and the number of remote storage center modules can be set according to actual needs. In another embodiment of the present invention, there are two or more remote storage centers, and the network switch in the core storage center is connected to the network switch in each remote storage center, so that all remote storage centers can exchange data with the core storage center, achieving multiple data mirror backups.

[0043] Please continue to refer to Figure 2 ,The data monitoring module includes network monitoring equipment and load balancing equipment.

[0044] The network monitoring device is connected to the data upload modules of the energy storage power station, power station, and power supply center. It is also connected to the power grid data dispatch server. The network monitoring device monitors the data upload status of each energy storage power station, power station, and power supply center. Based on this data upload status, the network monitoring device issues upload failure alarms and transmits these alarms to the power grid data dispatch server. The network monitoring device is connected to the data upload modules of the energy storage power station, the power station and the power supply center, thereby being able to monitor the data upload status of the power grid dispatching center unit with each energy storage power station, the power station and the power supply center respectively. The network monitoring device can issue an upload fault alarm according to the data upload status and transmit the upload alarm information to the power grid data dispatching server. Specifically, when the network monitoring device detects that data upload is terminated between the power grid dispatching center unit and at least one of the energy storage power station, the power station and the power supply center, that is, when the upload status is terminated, the network monitoring device can issue an upload fault alarm according to the terminated upload status to remind the staff, so that the staff can quickly repair the faulty storage center so that the faulty storage center can be restored to use as soon as possible. At the same time, the network monitoring device transmits the upload alarm information to the power grid data dispatching server. The upload alarm information includes the identity identification codes and error alarm logs of all energy storage power stations, power stations or power supply centers that terminated data upload.

[0045] Preferably, the network monitoring device is connected to the storage servers in the core storage center and each remote storage center, and is also connected to the network switches in the core storage center and each remote storage center. The network monitoring device can monitor the server status of the storage servers in the core storage center and multiple remote storage centers based on a weighted round-robin algorithm. When a storage server in the core storage center or any of the multiple remote storage centers fails, the network monitoring device transmits the failure information to the power grid data dispatch server and issues a system failure alarm, thereby quickly identifying the storage center with the system failure.

[0046] Furthermore, the network monitoring device can monitor the server status of the core storage center and multiple remote storage centers based on a weighted polling algorithm, specifically including the following steps:

[0047] Step 1: The power grid data dispatching server assigns a load weight value to each storage center according to the hardware configuration of each storage center to form a load weight list of the core storage center and the multiple remote storage centers;

[0048] Step 2: The load balancing device distributes the load request to the corresponding storage center according to the latest value of the load weight list in a preset period;

[0049] Specifically, the load request is a query request, a storage request, etc.

[0050] Step 3: The network monitoring device monitors the status of each storage center in real time;

[0051] Step 4. When the network monitoring device detects that a computer system hierarchy failure occurs in one of the storage centers, or a storage server failure occurs in any storage center, BIG / IP, which is used to balance the load traffic, will remove the failed storage center from the storage center queue until the storage center returns to normal, and will remove the storage center from the load weight list. The failed storage center will not participate in the next user request allocation.

[0052] Specifically, when a fault occurs in the core storage center or any of the multiple remote storage centers, the data monitoring module transmits the fault information to the power grid data dispatch server, mainly including the following two application scenarios:

[0053] Scenario 1: When a fault occurs in the core storage center or any of the multiple remote storage centers at layer 2 to layer 7 of the computer system hierarchy, the data monitoring module transmits the fault information to the power grid data dispatch server.

[0054] Scenario 2: When the data monitoring module detects that the storage server of the core storage center and any of the multiple remote storage centers fails and cannot be backed up in time, the data monitoring module transmits the fault information to the power grid data dispatching server.

[0055] Step S5: Repeat steps S3 to S4 until the preset end condition is reached.

[0056] Specifically, the preset end condition may be that the actual number of executions reaches a preset number of iterations, or the actual execution time reaches a preset execution time, etc., which is not limited in the present invention.

[0057] Furthermore, in response to the fault information transmitted by the data monitoring module including a failure of the core storage center, the power grid data dispatching server can select an off-site storage center from multiple off-site storage centers as a new core storage center based on the active-active mechanism backup storage center selection method to ensure the continuity of data records, thereby avoiding the problem of being unable to back up in time due to a failure of the core storage center.

[0058] Furthermore, the active-active mechanism backup storage center selection method may be a fastest mode algorithm, or the active-active mechanism backup storage center selection method may be a dynamic server supplementation algorithm, or the active-active mechanism backup storage center selection method may also be a priority algorithm.

[0059] When the network monitoring device detects that the network switch of any storage center has network fluctuations or the actual load of the storage server of any storage center exceeds the load threshold corresponding to the storage center in the load weight list, the load weight list includes the load thresholds set by the power grid data dispatching server for the core storage center and the multiple remote storage centers respectively, and the network monitoring device transmits the performance parameter information of the core storage center and each remote storage center to the power grid data dispatching server. Specifically, the power grid data dispatching server can set a load weight list and set load thresholds for the core storage center and the multiple remote storage centers respectively in the load weight list. The network monitoring device can monitor the load conditions of the core storage center and the multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded, that is, when the network monitoring device detects that the network fluctuation occurs in any storage center or the actual load of any storage center exceeds the load threshold corresponding to the storage center in the load weight list, the network monitoring device transmits the performance parameter information to the power grid data dispatching server, that is, the network monitoring device monitors the server load parameters and server network traffic parameters of each storage center during operation and transmits them to the power grid data dispatching server, in response to the core storage center When a storage center or any of multiple remote storage centers is overloaded, that is, when the network monitoring device detects that the network switch of any storage center has network fluctuations or the actual load of the storage server of any storage center exceeds the load threshold corresponding to the storage center in the load weight list, the power grid data dispatching server sets the performance parameter adjustment strategy of the core storage center and the multiple remote storage centers according to the dynamic performance allocation algorithm, and updates the load weighted value in the load weight list according to the performance parameter adjustment strategy, specifically including that the power grid data dispatching server sets the load parameters and network traffic parameters of the core storage center and the multiple remote storage centers according to the dynamic performance allocation algorithm based on the server load parameters and server network traffic parameters of each storage center in the core storage center and the multiple remote storage centers.

[0060] The load balancing device is connected to the storage servers of the core storage center and each remote storage center respectively. The load balancing device is also connected to the power grid data dispatching server. The load balancing device can adjust the resource configuration of the core storage center and multiple remote storage centers based on the performance parameter adjustment strategy.

[0061] The power grid application data protection system based on a dual-active architecture provided in this embodiment uses a load balancing device to set load parameters and network traffic parameters for the core storage center and multiple remote storage centers during data backup and record switching based on a dynamic performance allocation algorithm. The dynamic performance allocation algorithm uses BIG / IP to collect various performance parameters of applications and storage centers and dynamically adjusts traffic distribution to each storage center. Specifically, the distributor in the load balancing device aggregates all HTTP requests and distributes them to multiple web servers for processing, thereby improving system processing efficiency. Simultaneously, the load balancing device uses a hardware load balancing device to achieve load balancing among multiple power grid application storage automation software (OAs). The hardware load balancing device utilizes virtual IP addresses defined on it by F5 BIG / IP to provide multiple data synchronization storage services for the power grid application system data protection system. This achieves optimal distribution of balanced data traffic between the dual-active nodes formed by the core storage center and the remote storage centers, preventing overload on storage servers and network devices and achieving optimal configuration of network resources and hardware devices. The power grid application data protection system based on the active-active architecture provided in this embodiment sets the load parameters and network traffic parameters of the core storage center and multiple remote storage centers based on the load balancing device. The main aspects include: on the one hand, the load balancing device optimizes service performance and bandwidth through hardware control capacity requirements and data storage analysis, and reduces service response delay and cost. Hardware load balancing mainly uses devices that manage and distribute traffic and content. After hardware load balancing comprehensively adopts multiple application optimization methods, the performance of application access can be significantly improved. Due to the improved performance of the storage center, the number of storage centers can be reduced, bandwidth usage can be reduced, and investment can be saved. On the other hand, software load balancing optimizes hardware load balancing through a weighted minimum connection algorithm. The minimum connection assigns requests to the storage center with the least current connection number to ensure a more even load. When a new request arrives, the load balancer checks the storage center with the least current connection number in the storage center list. The request will be assigned to the storage center with the least connection number. After processing the request, the connection number of the storage center increases by 1 unit. The specific implementation of the minimum connection number algorithm is as follows:

[0062] servers={"Server A":5,"Server B":3,"Server C":4}

[0063] def get_server_with_least_connections():

[0064] #Find the storage center with the least number of connections

[0065] min_connections=min(servers.values())

[0066] for server, connections in servers.items():

[0067] if connections==min_connections:

[0068] return server

[0069] #Select the storage center with the least number of connections

[0070] def assign_request(self):

[0071] #Get the storage center with the minimum number of connections

[0072] server=get_server_with_least_connections()

[0073] if server is not None:

[0074] self.servers[server]+=1

[0075] return server

[0076] else:

[0077] return "No available servers."

[0078] #Simulate the request processing

[0079] if req:

[0080] assigned_server=load_balancer.assign_request().

[0081] When the number of connections of the hardware balancing device server is reset to zero due to failure or restart, the least connection number algorithm will automatically start to allocate new requests to the server of the power grid dispatching center to achieve automatic recovery.

[0082] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of a data backup module in a power grid application data protection system based on an active-active architecture, provided in an embodiment of the present invention. The power grid application data protection system based on an active-active architecture also includes a data backup module, which is connected to a power grid data dispatching server. Furthermore, the data backup module includes a local backup module, a backup recording module, and a database switching module. The database switching module is connected to the power grid dispatching server, and the local backup module is connected to a storage server in a core storage center, for backing up data on the storage server in the core storage center. The database switching module is connected to the local backup module and the power grid data dispatching server, respectively. When a core storage center changes, the database switching module can update the local backup module to connect to the latest core storage center, ensuring the continuity of data backup records. The backup recording module is connected to the database switching module and can record changes to the core storage center. In the database switching module, distributed storage technology is used to automatically synchronize data between multiple nodes. During data recovery, data consistency is ensured in each data storage center before data recovery can be performed.

[0083] The power grid application data protection system based on the active-active architecture provided in this embodiment sets up a distributed storage center with an active-active architecture in the system data module of the power grid system. The core storage center and the remote storage center are both provided with storage servers and network switches. The provided storage servers are used to synchronize backup and record the system data uploaded by the energy storage power station, power station and power supply center to ensure data consistency between the two sites. The network switch is used to achieve data synchronization to ensure high availability of network connection and data transmission between the two sites, and to achieve active-active storage and network active-active of the core storage center and the remote storage center. When recording system data, several distributed storage centers use data synchronization and mirror recording to synchronize the data of the core storage center in real time to ensure data consistency. The method for selecting a backup storage center based on the active-active mechanism is used to achieve data in the core Real-time synchronization between the storage center and the remote storage center, and the establishment of data copies between the active-active nodes through mirroring technology. When any of the data storage centers has an abnormality, it will not affect the record upload of system data. When the core storage center has an abnormality, the database switching module will quickly find a new core storage center in several remote storage databases, and synchronize data records through distributed storage and active-active architecture, so that two or more storage centers or systems are active at the same time, can process business in parallel, and synchronize data with each other in real time, ensuring that when a core storage center fails, it can quickly switch to another storage point, realizing the continuity and uninterrupted service of the system data backup, improving the reliability and availability of the system, and thus ensuring that the power grid system data will not be damaged or lost due to failures.

[0084] Example 2

[0085] Please refer to Figure 4 , Figure 4 This is a flow chart of a data protection method for a power grid application system based on an active-active architecture of the present invention. This embodiment provides a data protection method for a power grid application system based on an active-active architecture. The method uses the power grid application data protection system based on an active-active architecture provided in Example 1. The method specifically includes the following steps:

[0086] S20. The electric energy information data uploaded by the energy storage power station, power station and power supply center is uploaded to the power grid data dispatch server;

[0087] When the power grid application system data protection system is in normal operation, the electric energy information data uploaded by the energy storage power station, power station and power supply center is transmitted to the power grid data dispatching server. While uploading the data, each energy storage power station, power station and power supply center stores the uploaded electric energy information data in an independent local storage module for backup data.

[0088] S40, the data monitoring module issues an upload failure alarm according to the power information data upload status described in S20, and transmits the upload alarm information to the power grid data dispatching server;

[0089] The data monitoring module monitors the data upload status between the power grid dispatching center unit and each energy storage power station, power station and power supply center respectively. The data monitoring module can issue an upload failure alarm according to the data upload status and transmit the upload alarm information to the power grid data dispatching server. Specifically, it includes: the network monitoring device monitors the data upload status of the data upload module in each energy storage power station, power station and power supply center. When the network monitoring device detects that the data upload is terminated between the power grid dispatching center unit and at least one of the energy storage power station, power station and power supply center, that is, when the upload status is terminated, the network monitoring device can issue an upload failure alarm according to the data upload status to remind the staff. The staff quickly repairs the faulty storage center so that the faulty storage center can be restored to use as soon as possible. At the same time, the network monitoring device transmits the upload alarm information to the power grid data dispatching server. The upload alarm information includes the identity identification codes and error alarm logs of all energy storage power stations, power stations or power supply centers that terminated data upload.

[0090] S60. The data monitoring module monitors the server status of the core storage center and multiple remote storage centers based on a weighted polling algorithm. When a storage server in the core storage center or any of the multiple remote storage centers fails, the data monitoring module immediately issues a system failure alarm and transmits the failure information to the power grid data dispatching server.

[0091] The data monitoring module monitors the server status of the core storage center and multiple remote storage centers based on a weighted polling algorithm. When a failure occurs in the core storage center or any of the multiple remote storage centers, the data monitoring module transmits the failure information to the power grid data dispatch server. At the same time, the network monitoring equipment immediately issues a system failure alarm to quickly identify the storage center with the system failure.

[0092] Furthermore, the data monitoring module also includes a load balancing device and a network monitoring device. The network monitoring device is connected to the data upload module of the energy storage power station, the power station and the power supply center. The network monitoring device is also connected to the power grid data dispatching server. The network monitoring device is also respectively connected to the core storage center and the storage server of each remote storage center. The network monitoring device is also respectively connected to the network switch of the core storage center and each remote storage center. The load balancing device is respectively connected to the storage server of the core storage center and each remote storage center. The load balancing device is also connected to the power grid data dispatching server. The data monitoring module monitors the status of the storage servers of the core storage center and multiple remote storage centers based on a weighted polling algorithm, specifically including the following steps:

[0093] S601: The power grid data dispatching server assigns a load weight value to each storage center according to the hardware configuration of each storage center to form a load weight list of the core storage center and the multiple remote storage centers;

[0094] S602: The load balancing device distributes the load request to the corresponding storage center according to the latest value of the load weight list in a preset period;

[0095] Specifically, the load request is a query request, a storage request, etc.

[0096] S603. The network monitoring device monitors the status of each storage center in real time;

[0097] S604. When the network monitoring device detects a computer system hierarchy failure in one of the storage centers, or a storage server failure in any storage center, BIG / IP, which provides load balancing protection, removes the failed storage center from the storage center queue until the storage center recovers, and removes the storage center from the load weight list. The failed storage center will not participate in the next user request allocation.

[0098] Specifically, when a fault occurs in the core storage center or any of the multiple remote storage centers in at least two of the following application scenarios, the data monitoring module transmits the fault information to the power grid data dispatch server:

[0099] Scenario 1: When a fault occurs in the core storage center or any of the multiple remote storage centers at layer 2 to layer 7 of the computer system hierarchy, the data monitoring module transmits the fault information to the power grid data dispatch server.

[0100] Scenario 2: When the data monitoring module detects that the storage server of the core storage center and any of the multiple remote storage centers fails and cannot be backed up in time, the data monitoring module transmits the fault information to the power grid data dispatching server.

[0101] S605: Repeat steps S603 to S604 until a preset end condition is reached.

[0102] Specifically, the preset end condition may be that the actual number of executions reaches a preset number of iterations, or the actual execution time reaches a preset execution time, etc., which is not limited in the present invention.

[0103] S80. In response to the fault information transmitted by the data monitoring module including an indication that a core storage center has failed, the power grid data dispatching server can select a remote storage center from the multiple remote storage centers as a new core storage center based on a dual-active mechanism backup storage center selection method, where the dual-active mechanism backup storage center selection method is one of a fastest mode algorithm, a dynamic server supplementation algorithm, and a priority algorithm.

[0104] In response to the fault information transmitted by the data monitoring module including a failure of the core storage center, the power grid data dispatching server selects an off-site storage center from multiple off-site storage centers as a new core storage center based on the active-active mechanism backup storage center selection method. The core storage center and each off-site storage center can back up the electric energy information data through the power grid data dispatching server, and the core storage center exchanges and synchronizes data with each off-site storage center. The core storage center can serve as an external operation interface for daily queries of the entire power grid system or calls for data queries to ensure the continuity of data records, thereby avoiding the problem of failure to back up in time due to failure of the core storage center.

[0105] S100, the core storage center and each remote storage center can back up the electric energy information data through the power grid data dispatch server, and the core storage center exchanges and synchronizes data with each remote storage center to achieve synchronous mirroring of data between the core storage center and the remote storage center.

[0106] The core storage center can serve as an external operation interface.

[0107] Preferably, step S110 is further included between steps S100 and S120, and step S110 specifically includes:

[0108] S110. When the core storage center changes, the database switching module can update the local backup module to connect to the latest core storage center. The backup recording module is connected to the database switching module and can record the changes to the core storage center.

[0109] Specifically, the active-active architecture-based power grid application data protection system also includes a data backup module, which includes a local backup module, a backup record module, and a database switching module. The database switching module is connected to the power grid dispatch server, and the local backup module is connected to the storage server of the core storage center, used to back up data on the storage server of the core storage center. The database switching module is connected to the local backup module and the power grid data dispatch server. When the core storage center changes, the database switching module can update the local backup module to connect to the latest core storage center. The backup record module is connected to the database switching module and can record changes to the core storage center.

[0110] S120. The data monitoring module monitors the load and network traffic of the core storage center and multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded or experiences network fluctuations, the data monitoring module transmits performance parameter information to the power grid data dispatching server.

[0111] The data monitoring module monitors the load and network traffic of the core storage center and multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits performance parameter information to the power grid data dispatch server. Specifically, the following steps are included:

[0112] S1. The power grid data dispatching server sets load thresholds for the core storage center and the storage servers of the multiple remote storage centers in the load weight list;

[0113] S2. The network monitoring equipment monitors the load conditions of the core storage center and multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits the performance parameter information to the power grid data dispatching server.

[0114] Specifically, when the network monitoring device detects network fluctuations at any storage center or the actual load of any storage center exceeds the load threshold corresponding to that storage center in the load weight list, the data monitoring module transmits the performance parameter information of the core storage center and each remote storage center to the power grid data dispatch server. The performance parameters include server load parameters and server network traffic parameters. Specifically, the network monitoring device transmits the server load parameters and server network traffic parameters of each storage center during operation to the power grid data dispatch server.

[0115] S140. In response to a load overload or network fluctuation occurring in the core storage center or any of the multiple remote storage centers, the power grid data dispatching server sets a performance parameter adjustment policy for the core storage center and the multiple remote storage centers according to a dynamic performance allocation algorithm, and the data monitoring module adjusts resource allocation in the core storage center and the multiple remote storage centers according to the performance parameter adjustment policy.

[0116] In response to an overload situation in the core storage center or any of the multiple off-site storage centers, the power grid data dispatching server sets a performance parameter adjustment strategy for the core storage center and the multiple off-site storage centers according to the dynamic performance allocation algorithm, updates the load weight value in the load weight list according to the performance parameter adjustment strategy, and the load balancing device adjusts the resource configuration of the core storage center and the multiple off-site storage centers based on the performance parameter adjustment strategy, thereby achieving the purpose of setting the load parameters and network traffic parameters of the core storage center and the multiple off-site storage centers based on the dynamic performance allocation algorithm.

[0117] S160, the core storage center, and the remote storage center continuously perform synchronous mirroring of the power information data.

[0118] The power grid data dispatching server backs up and synchronizes all uploaded electric energy information data through the core storage center and multiple remote storage centers in the distributed storage center, realizing data synchronization between the core storage center and multiple remote storage centers, that is, after receiving the electric energy information data, the core storage center and the remote storage center respectively store them in the service storage they contain. After storage is completed, data synchronization verification is performed through the network switch to ensure data consistency between the main database of the core storage center and the backup database of the remote storage center, ensuring that the main database and the backup database store the electric energy information data of all energy storage power stations, power stations and power supply centers, and data mirroring is performed between the main database and all backup databases, and data copies are established in the active-active nodes formed by the core storage center and the remote storage center to ensure that all data are in multiple copies.

[0119] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A power grid application data protection system based on active-active architecture, characterized in that: It includes a power grid data dispatching server, a power grid dispatching center unit and a distributed storage center. The distributed storage center includes a core storage center, a data monitoring module and multiple remote storage centers. The core storage center, the data monitoring module and the multiple remote storage centers are respectively connected to the power grid data dispatching server. The core storage center and the multiple remote storage centers are also respectively connected to the data monitoring module. The data monitoring module is also connected to the power grid dispatching center unit. The power grid dispatching center unit can upload local electric energy information data to the power grid data dispatching server, the core storage center and multiple remote storage centers can respectively back up the electric energy information data, the data monitoring module can issue an upload fault alarm based on the upload status of the electric energy information data by the power grid dispatching center unit, and transmit the upload alarm information to the power grid data dispatching server, the data monitoring module can also monitor the server status of the core storage center and multiple remote storage centers based on a weighted polling algorithm, when the core storage center or any of the multiple remote storage centers fails, the data monitoring module issues a system fault alarm and transmits the fault information to the power grid data dispatching server, in response to the fault information transmitted by the data monitoring module including the core storage center failure, the power grid data dispatching server can select a remote storage center from the multiple remote storage centers as a new core storage center based on the active-active mechanism backup storage center selection method, wherein the active-active mechanism backup storage center selection method is one of the fastest mode algorithm, the dynamic server supplement algorithm and the priority algorithm; The power grid dispatching center unit includes an energy storage power station, a power station and a power supply center. The electric energy information data comes from the local electric energy data stored in the energy storage power station, the power station and the power supply center respectively. The energy storage power station, the power station and the power supply center are all provided with a local storage module and a data upload module connected to the local storage module. All data upload modules are connected to the power grid data dispatching server. The core storage center is provided with interconnected storage servers and network switches. The remote storage center is also provided with interconnected storage servers and network switches. The storage servers of the core storage center and the remote storage center are all connected to the power grid data dispatching server. The network switch in the core storage center is connected to the network switch in the remote storage center. The network switch in the core storage center and the network switch in the remote storage center can update and exchange data in real time, so that the storage servers in the core storage center and the storage servers in the remote storage center can realize data mirroring backup; the data monitoring module includes a network monitoring device, the network monitoring device is connected to the power grid data dispatching server, the network monitoring device is also respectively connected to the storage servers of the core storage center and each remote storage center, and the network monitoring device is also respectively connected to the network switch of the core storage center and each remote storage center; The network monitoring device can monitor the server status of storage servers in the core storage center and multiple remote storage centers based on a weighted polling algorithm. When a storage server in the core storage center or multiple remote storage centers fails, the network monitoring device transmits the fault information to the power grid data dispatch server and issues a system fault alarm. When the network monitoring device detects that the network switch of any storage center has network fluctuations or the actual load of the storage server of any storage center exceeds the load threshold corresponding to the storage server in the load weight list, the network monitoring device transmits the performance parameter information of the core storage center and each remote storage center to the power grid data dispatching server, wherein the load weight list includes the load thresholds set by the power grid data dispatching server for the core storage center and the multiple remote storage centers respectively.

2. A power grid application data protection system based on active-active architecture according to claim 1, characterized in that: The data monitoring module can also perform performance monitoring on the core storage center and multiple remote storage centers respectively to obtain performance parameters. When the core storage center or any of the multiple remote storage centers is overloaded or network fluctuations occur, the data monitoring module transmits the performance parameter information to the power grid data dispatching server, and the power grid data dispatching server sets the performance parameter adjustment strategy for the core storage center and multiple remote storage centers according to the dynamic performance allocation algorithm.

3. The power grid application data protection system based on active-active architecture according to claim 1, characterized in that: The data monitoring module includes a network monitoring device, which is connected to the data upload modules of the energy storage power station, power station and power supply center. The network monitoring device is also connected to the power grid data dispatching server. The network monitoring device can monitor the data upload status of each energy storage power station, power station and power supply center. The network monitoring device can issue an upload failure alarm based on the data upload status and transmit the upload alarm information to the power grid data dispatching server.

4. The power grid application data protection system based on active-active architecture according to claim 2, characterized in that: The data monitoring module also includes a load balancing device, which is respectively connected to the core storage center and the storage servers of each remote storage center. The load balancing device is also connected to the power grid data dispatching server. The load balancing device can adjust the resource configuration of the core storage center and multiple remote storage centers based on the performance parameter adjustment strategy.

5. The power grid application data protection system based on active-active architecture according to claim 1, characterized in that: It also includes a data backup module, which includes a local backup module, a backup record module and a database switching module. The database switching module is connected to the power grid dispatching server, and the local backup module is connected to the storage server of the core storage center, and is used to back up the data of the core storage center storage server. The database switching module is connected to the local backup module and the power grid data dispatching server respectively. When the core storage center changes, the database switching module can update the local backup module to connect with the latest core storage center. The backup record module is connected to the database switching module and can record the changes to the core storage center.

6. A data protection method for a power grid application system based on an active-active architecture, characterized in that: The data protection method for a power grid application system based on an active-active architecture is applied to the power grid application data protection system based on an active-active architecture according to claim 3, comprising the following steps: S20. The electric energy information data uploaded by the energy storage power station, power station and power supply center is uploaded to the power grid data dispatch server; S40, the data monitoring module issues an upload failure alarm according to the power information data upload status described in S20, and transmits the upload alarm information to the power grid data dispatching server; S60. The data monitoring module monitors the status of storage servers in the core storage center and multiple remote storage centers based on a weighted polling algorithm. When a storage server in the core storage center or any of the multiple remote storage centers fails, the data monitoring module immediately issues a system failure alarm and transmits the failure information to the power grid data dispatching server. S80. In response to the fault information transmitted by the data monitoring module including a core storage center failure, the power grid data dispatching server can select a remote storage center from the multiple remote storage centers as a new core storage center based on a dual-active mechanism backup storage center selection method, wherein the dual-active mechanism backup storage center selection method is one of a fastest mode algorithm, a dynamic server supplementation algorithm, and a priority algorithm; S100, the core storage center and each remote storage center can back up the electric energy information data through the power grid data dispatch server, and the core storage center exchanges and synchronizes data with each remote storage center, and the core storage center can serve as an external operation interface; S120. The data monitoring module monitors the load and network traffic of the core storage center and multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded or experiences network fluctuations, the data monitoring module transmits performance parameter information to the power grid data dispatching server. S140. In response to a load overload or network fluctuation in the core storage center or any of the multiple remote storage centers, the power grid data dispatching server sets a performance parameter adjustment strategy for the core storage center and the multiple remote storage centers based on a dynamic performance allocation algorithm, and the data monitoring module adjusts the resource configuration in the core storage center and the multiple remote storage centers based on the performance parameter adjustment strategy.

7. The data protection method for a power grid application system based on an active-active architecture according to claim 6, characterized in that: The data monitoring module also includes a load balancing device and a network monitoring device. The network monitoring device is connected to the data upload module of the energy storage power station, the power station, and the power supply center. The network monitoring device is also connected to the power grid data dispatching server. The network monitoring device is also respectively connected to the storage server of the core storage center and each remote storage center. The network monitoring device is also respectively connected to the network switch of the core storage center and each remote storage center. The load balancing device is respectively connected to the storage server of the core storage center and each remote storage center. The load balancing device is also connected to the power grid data dispatching server. The data monitoring module monitors the status of the storage servers of the core storage center and multiple remote storage centers based on a weighted polling algorithm, including: S601: The power grid data dispatching server assigns a load weight value to each storage center according to the hardware configuration of each storage center to form a load weight list of the core storage center and the multiple remote storage centers; S602: The load balancing device distributes the load request to the corresponding storage center according to the latest value of the load weight list in a preset period; S603. The network monitoring device monitors the status of each storage center in real time; S604. When the network monitoring device detects a failure in the computer system hierarchy of a storage center, or a failure in the storage server of any storage center, BIG / IP removes the failed storage center from the storage center queue until the storage center recovers, and removes the storage center from the load weight list. The failed storage center will not participate in the next allocation of user requests. S605: Repeat steps S603 to S604 until the preset end condition is reached.

8. The data protection method for a power grid application system based on an active-active architecture according to claim 6, characterized in that: When the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits the performance parameter information to the power grid data dispatching server, including the power grid data dispatching server setting load thresholds for the core storage center and the multiple remote storage centers in the load weight list, and the network monitoring equipment monitors the load conditions of the core storage center and the multiple remote storage centers. When the core storage center or any of the multiple remote storage centers is overloaded, the data monitoring module transmits the performance parameter information to the power grid data dispatching server.

Citation Information

Patent Citations

  • Method and device for synchronizing active-active main and standby dispatching messages of power system

    CN113225207A

  • Cross-machine-room data synchronization method and device, electronic equipment and storage medium

    CN117131131A