Optimal selection processing method and system for data sources of multiple acquisition channels of power grid real-time data platform

By designing multi-source modeling and priority definition tables for the real-time grid data platform, the problems of telemetry jump and remote signal duplication processing during multi-channel data source reception are solved, and data accuracy and processing performance are improved.

CN119849127AActive Publication Date: 2025-04-18NARI NANJING CONTROL SYSTEM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411837020.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-04-18
Estimated Expiration
2044-12-13

AI Technical Summary

Technical Problem

When the power grid real-time data platform receives multiple channel data sources, it leads to the problem of telemetry jump and repeated processing of remote signal events.

Method used

By multi-source modeling of power grid equipment, measurement points and pre-acquisition channels, general multi-source priority definition tables are defined, multi-source data priority rules are loaded and stored, equipment measurement point data priority acquisition algorithm and data optimization algorithm are implemented, and subsequent business processing is carried out.

Benefits of technology

It solves the problems of data jump and repeated processing, improves data accuracy and processing performance, flexible and convenient configuration, and improves the maintenance efficiency of engineers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119849127A_ABST
    Figure CN119849127A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid real-time data platform multi-acquisition channel data source optimization processing method, which is based on a power grid real-time data platform, and comprises the following steps: (1) carrying out multi-source modeling on power grid equipment, measurement points and front acquisition channels, and maintaining priority criteria; (2) defining a multi-source data priority rule in the general multi-source priority definition table; (3) performing multi-source data interaction between the preposition and the SCADA system; (4) loading and storing a multi-source data priority rule; (5) executing an equipment measuring point data priority acquisition algorithm; (6) executing an equipment measuring point data optimization algorithm, and carrying out subsequent business processing; according to the invention, the maintenance efficiency of engineers is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of real-time data of power grids, and in particular to a method and system for optimally processing data sources of multiple acquisition channels of a real-time data platform of power grids. Background Art

[0002] The new features of the real-time data platform application function are "global, fast, and accurate". It is necessary to carry out power grid analysis and decision-making applications for integrated operation based on the whole network model and data. At present, State Grid Corporation of China has designed and built a unified real-time data platform for the two-level deployment modes of "national dispatch, network dispatch (divided dispatch), provincial dispatch" and "provincial dispatch, local dispatch, and county dispatch". The national real-time data platform is the leading node, and the real-time data source comes from the national dispatch, divided dispatch, and provincial dispatch systems. The provincial real-time data platform is a collaborative node, and the real-time data comes from the provincial dispatch, local dispatch, and county dispatch systems. Taking the national real-time data platform as an example, considering the data reliability, it is required to realize multi-source data backup. The real-time data of the same device may be collected and forwarded to the real-time data platform by several systems in the national dispatch, network dispatch, and provincial dispatch at the same time.

[0003] After the SCADA system receives the data forwarded by these different systems, if it processes all of these data without selection, it will cause inaccurate real-time data of the power grid and waste CPU and other computing resources. The main manifestations are: first, telemetry jumps, because there is a certain gap between the telemetry data collected by different data sources to the same device, such as different collection parameter configurations of different systems, or due to abnormal collection devices; another manifestation is abnormal telesignal processing, such as the same switch opening and closing signals are processed multiple times, and multiple telesignal position change alarms are sent. There is also the possibility of inconsistency in the telesignals collected by different systems. Which telesignal value the system finally collects depends on the order in which the data is received. Summary of the invention

[0004] Purpose of the invention: The purpose of the present invention is to provide a method and system for optimal processing of multi-acquisition channel data sources of a power grid real-time data platform, so as to solve the problem of repeated processing of telemetry jumps and telesignaling events caused by the power grid real-time data platform receiving data sources of multiple channels.

[0005] Technical solution: The method for optimally processing data sources of multiple acquisition channels of a real-time data platform for a power grid according to the present invention is based on the real-time data platform for a power grid and includes the following steps: (1) Conduct multi-source modeling of power grid equipment, measurement points, and front-end acquisition channels, and maintain priority criteria; (2) Define multi-source data priority rules in the general multi-source priority definition table; (3) Interact with SCADA system for multi-source data; (4) Priority rules for loading and storing multi-source data; (5) Execute the equipment measurement point data priority acquisition algorithm; (6) Execute the optimization algorithm for equipment measurement point data and perform subsequent business processing.

[0006] Further, in step (2), the details are as follows: the general multi-source priority definition table corresponds the data source to the five-level dispatching management agencies of the State Grid Corporation, namely the national dispatching data source, the network dispatching data source, the provincial dispatching data source, the local dispatching data source, and the county dispatching data source. On this basis, a dispatching management agency data source is added. The priorities of the six data sources here can be set to any number from 0 to 5. The smaller the number, the higher the priority. In addition, there are two special priorities, among which the data with abnormal real-time data quality code has a priority of 999, which represents the lowest priority; the real-time data priority of the equipment not defined in the general multi-source priority definition table is -1, which is the highest priority. As shown in Table 1.

[0007] Table 1 General multi-source priority definition table ; Further, in step (3), the details are as follows: the front-end interacts with SCADA multi-source data, and the interactive message carries the data source information. First, multiple acquisition channels must be modeled in the front-end channel table, and the data source of each acquisition channel must be maintained. The data source is represented by an integer data, and the message structure of the front-end sending data to the SCADA system is defined through Protobuf. The details are as follows: the front-end interacts with SCADA multi-source data, and the data source information in the message structure is represented by an integer data representing the area code. The format is as follows: National data source: 990000 Network-level data sources: 990101 (North China), 990102 (East China), 990103 (Central China), 990104 (Northeast China), 990105 (Northwest China), 990106 (Southwest China) Data source for a certain province: 320000 Data source for local adjustment: 320100 Data source for a certain county’s adjustment: 320115.

[0008] Furthermore, step (4) is as follows: multi-source data priority rule loading and storage design, the SCADA system loads the records in the table into the plant data source priority hash table, the regional data source priority hash table, and the voltage level data source priority ordered set according to the plant, region, and voltage level. When the data in the general multi-source priority definition table changes, the trigger program reloads the rules.

[0009] When the plant station ID is not empty, the rule is stored in the plant station data source priority hash table, the key is the plant station ID, and the value is the structure PRIORITY_STRUCT; When the area ID is not empty, the rule is stored in the plant data source priority hash table, the key is the plant ID, and the value is the structure PRIORITY_STRUCT; When both the plant ID and the area ID are empty, the rules are stored in the voltage level data source priority ordered set.

[0010] The above PRIORITY_STRUCT structure is defined as follows: struct PRIORITY_STRUCT { float low_voltage_lim; / / voltage level lower limit float up_voltage_lim; / / voltage level upper limit int nation_dispatch_pri; / / National dispatch data source priority int region_dispatch_pri; / / Network dispatch data source priority int prov_dispatch_pri; / / province dispatch data source priority int city_dispatch_pri; / / Local dispatch data source priority int county_dispatch_pri; / / County dispatch data source priority int dev_dispatch_pri; / / Data source priority of the dispatching organization to which the device belongs bool operator<(PRIORITY_STRUCT const&a,PRIORITY_STRUCT const&b) { if (a. low_voltage_lim == b. low_voltage_lim) return a. up_voltage_lim <b. up_voltage_lim; else return a. low_voltage_lim <b. low_voltage_lim; } }; Storing the voltage level data source priority ordered set requires overloading the "less than" operator.

[0011] Furthermore, in step (5), the real-time data priority acquisition algorithm includes the following steps: (51) Load the general multi-source priority definition table; (52) Receive the real-time data sent by the front-end acquisition channel. On the one hand, read the data source of the last adopted data of the device measurement point from the real-time library telemetry table or telesignaling table. On the other hand, parse the data source and data quality code of the data received this time from the message. (53) If the data source of the current data of the equipment measurement point is the same as the data source of the last received data, the data will be directly adopted, and the priority will be the same as the priority of the last adopted data; (54) If the data source of the current data of the device measurement point is inconsistent with the data source of the last received data, the following logic is executed: (54a) If the data quality code of the equipment measurement point is abnormal, the priority of this data is defined as the lowest priority 999; (54b) If the quality code of the data at the equipment measurement point is normal, read the device information of the receiving data from the real-time database, including the plant station, region, and voltage level of the device, and search the plant station data source priority hash table, the region data source priority hash table, and the voltage level priority ordered set respectively to obtain the priority of the data; (54c) If the priority rule of the device measurement point is not found in the above three sets, the priority of this data is set to the highest priority - 1.

[0012] Furthermore, step (6) includes the following steps: (61) If the current data source of the equipment measurement point is consistent with the data source used last time, the current data is used and the power grid business logic is executed to write the data into the real-time database; (62) If the current data source of the device measurement point is inconsistent with the data source used last time, the following logic is executed: (62a) If the priority of the data received by the equipment measuring point this time is higher than the priority of the data adopted last time, the data will be adopted and the power grid business logic will be executed. The data will be written into the real-time database, and the data source will be written into the telesignaling table or telemetering table, and a data source switching alarm will be sent.

[0013] (62b) If the priority of the data received this time by the device measuring point is lower than the priority of the data adopted last time, the data received this time is discarded.

[0014] The present invention discloses a multi-collection channel data source optimization processing system for a power grid real-time data platform, a power grid real-time data platform, comprising: Priority judgment module: used to perform multi-source modeling of power grid equipment, measurement points and front-end acquisition channels, and maintain priority judgment criteria; Priority rule module: used to define multi-source data priority rules in the general multi-source priority definition table; Multi-source data interaction module: used for multi-source data interaction with the SCADA system; Loading module: used to load and store multi-source data priority rules; Priority acquisition algorithm module: used to execute the equipment measurement point data priority acquisition algorithm; Execution module: used to execute the optimization algorithm of equipment measurement point data and perform subsequent business processing.

[0015] Furthermore, in the priority rule module, the details are as follows: the general multi-source priority definition table corresponds the data source to the five-level dispatching management agencies of the State Grid Corporation, namely the national dispatching data source, the network dispatching data source, the provincial dispatching data source, the local dispatching data source, and the county dispatching data source. On this basis, a dispatching management agency data source is added. The priorities of the six data sources here can be set to any number from 0 to 5. The smaller the number, the higher the priority. In addition, there are two special priorities, among which the data with abnormal real-time data quality code has a priority of 999, which represents the lowest priority; for devices not defined in the general multi-source priority definition table, their real-time data priority is -1, which is the highest priority.

[0016] Furthermore, in the multi-source data interaction module, the details are as follows: the front-end interacts with the SCADA multi-source data, and the interaction message carries the data source information. First, multiple acquisition channels must be modeled in the front-end channel table, and the data source of each acquisition channel must be maintained. The data source is represented by an integer data, and the message structure for sending data from the front-end to the SCADA system is defined through Protobuf.

[0017] Furthermore, in the priority acquisition algorithm module, the real-time data priority acquisition algorithm is as follows: First, load the general multi-source priority definition table; Secondly, receive the real-time data sent by the front-end acquisition channel. On the one hand, read the data source of the last adopted data of the device measuring point from the real-time library telemetry table or telesignal table. On the other hand, parse the data source and data quality code of the data received this time from the message. If the data source of the current data of the device measuring point is consistent with the data source of the last received data, the data is directly adopted with the same priority as the priority of the last adopted data. Finally, if the data source of the current data of the device measuring point is inconsistent with the data source of the last received data, execute the following logic: If the quality code of the current data of the device measuring point is abnormal, define the priority of this data as the lowest priority 999. If the quality code of the current data of the device measuring point is normal, read the device information of the receiving data from the real-time library, including the plant station, region and voltage level of the device, respectively search the plant station data source priority hash table, the regional data source priority hash table and the voltage level priority ordered set to obtain the priority of this data. If the priority rule of the device measuring point is not found in the above three sets, the priority of this data is set to the highest priority -1.

[0018] Furthermore, in the execution module, the details are as follows: if the data source of the equipment measurement point this time is consistent with the data source used last time, the current data is used and the power grid business logic is executed, and the data is written into the real-time database; If the data source of the device measuring point this time is inconsistent with the data source adopted last time, the following logic is executed: if the priority of the data received by the device measuring point this time is higher than the priority of the data adopted last time, the data is adopted this time and the power grid business logic is executed, the data is written into the real-time library, and the data source is written into the telesignaling table or telemetering table, and a data source switching alarm is sent; if the priority of the data received by the device measuring point this time is lower than the priority of the data adopted last time, the data received this time is discarded.

[0019] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: 1. Solve the risk of data jump. The data of multiple acquisition channels may differ greatly. If they are used at the same time, it will cause data jump; 2. Improve the accuracy of data. The data of some acquisition channels are wrong. By selecting data with the best quality code, the accuracy of the data can be improved, and reliable real-time data can be provided for applications such as upper-level state estimation; 3. Improve data processing performance. Data with low priority is directly discarded, reducing data processing logic, thereby achieving the effect of improving data processing performance. 4. Flexible and convenient configuration. The universal multi-source priority definition table designed by the present invention can flexibly modify the priority of the data of each regulation and control agency at any time, thereby improving the maintenance efficiency of engineering personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is the overall framework of multi-source data collection and optimization of the present invention; Figure 2It is the multi-source data priority acquisition algorithm of the present invention; Figure 3 It is the data optimization algorithm of the present invention. DETAILED DESCRIPTION

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

[0022] like Figure 1 As shown, the embodiment of the present invention provides a method and system for optimizing multi-channel data sources of a power grid real-time data platform, and the specific steps are as follows: Step 1: Perform multi-source modeling on power grid equipment, measurement points, and front-end acquisition channels, and maintain priority criteria.

[0023] Step 1.1: Modeling of power grid equipment. Power grid equipment includes generators, circuit breakers, switches, switches, busbars, transformers, transformer windings, loads, etc. The present invention requires the establishment and maintenance of priority criteria fields including "station", "voltage level", and "regulation agency". Taking the circuit breaker as an example, the modeling is as follows: Table 2 Modeling description of power grid equipment ; Circuit breaker A is a 220kV switch under the jurisdiction of the provincial dispatch (320000), and circuit breaker B is a 110kV switch under the jurisdiction of the local dispatch (320100).

[0024] Step 1.2: Modeling of measuring points. Measuring points refer to the telesignaling and telemetering of disconnected devices. For example, the telesignaling of circuit breakers includes "telesignaling value", "auxiliary node telesignaling value", "A / B / C three-phase telesignaling value", etc. These telemetering are triggered into the telesignaling table. Telemetering includes "current value", "voltage value", "active value", "reactive value", etc. These telemetering are triggered from the device table to the telesignaling table / telemetering table through database triggers. Taking the telemetering table as an example, the following are examples: Table 3 Telemetry table modeling description ; The first record in the above table is "circuit breaker A current", and the current data source is 320000, that is, Jiangsu Provincial Regulation; the second record is "bus A line voltage", and the current data source is 320100, that is, Nanjing Local Regulation.

[0025] Step 1.3: Modeling of the front-end acquisition channel. Each plant station can trigger multiple acquisition channels. The acquisition channel can be the forwarding channel of the dispatching system at all levels, or the channel for direct data collection of this system. After these channels collect data, they can send data to SCADA. For example: Table 4 Modeling description of the front acquisition channel ; In the above table, both records are triggered by plant station S, one data collection source is 320000 (provincial control), and the other data collection source is 320100 (local control).

[0026] Step 2: Define multi-source data priority rules in the general multi-source priority definition table.

[0027] Table 5 Data source priority definition

[0028] In the three rules in the table above, the data source priority of the dispatching agency is 0, that is, the data sent by the dispatching agency has a higher priority than the data sent by other systems. The dispatching agency is also one of the five-level dispatching agencies. For example, the East China Real-time Data Platform is a network dispatching system, and the Jiangsu Real-time Data Platform is a provincial dispatching system.

[0029] If the data does not come from the device's own regulatory agency, its priority is obtained according to the configuration in the table.

[0030] For example, in the first rule Id1, for the designated plant "Plant A", all equipment from 0kV to 1000kV, the data from local dispatch has the highest priority, followed by provincial dispatch, county dispatch, network dispatch, and national dispatch.

[0031] The second rule ID2, for the designated area "Jiangsu", for all equipment from 0kV to 1000kV, the data from the provincial dispatch has the highest priority, followed by the local dispatch, county dispatch, network dispatch, and national dispatch.

[0032] The third rule Id3, for other situations where there is no specified plant or region, for all equipment from 0kV to 1000kV, the data from the network dispatch has the highest priority, followed by the national dispatch, provincial dispatch, local dispatch, and county dispatch.

[0033] Note that the voltage levels in the above table can also be adjusted. For example, priority rules can be set for equipment in voltage level ranges such as 35kV, 110kV, 220kV, and 500kV.

[0034] Step 3: The front-end interacts with the SCADA system for multi-source data. The front-end and SCADA data exchange uses the Protobuf protocol. The header of each data packet needs to carry data source information. Taking change telemetry as an example, the data interaction structure is as follows: message ChangeYcPkg { required FesPkgHead package_head = 1; repeated ChangeYc yc_seq = 2; }; A telemetry packet consists of a header FesPkgHead and multiple ChangeYc telemetry point information. The header information is as follows: message FesPkgHead { required int32 package_type = 1; / / Package type required int32 data_num = 2; / / Number required int64 second = 3; / / Change time, seconds required int32 msecond = 4; / / Change time, milliseconds optional int32 para = 5; / / spare optional UData.TSgKeyID fac_id = 6; / / Factory site ID optional int32 data_source = 7; / / data source }; The data_source in the FesPkgHead structure of the above message header comes from the source of the collected data in Table 4, the modeling description of the front-end collection channel.

[0035] The single change telemetry information is as follows: message ChangeYc { required UData.TSgKeyID fac_id = 1; / / Factory site ID required UData.TSgKeyID keyid = 2; / / keyword required float value = 3; / / telemetry value required int32 status = 4; / / telemetry status optional int64 second = 5; / / Change time, seconds optional int32 msecond = 6; / / Change time, milliseconds }; Step 4: Load and store multi-source data priority rules. The SCADA system loads the records in the table into the plant data source priority hash table, regional data source priority hash table, and voltage level data source priority ordered set according to the plant, region, and voltage level.

[0036] When the plant station ID is not empty, the rule is stored in the plant station data source priority hash table, the key is the plant station ID, and the value is the structure PRIORITY_STRUCT; When the area ID is not empty, the rule is stored in the plant data source priority hash table, the key is the plant ID, and the value is the structure PRIORITY_STRUCT; When both the plant ID and the area ID are empty, the rules are stored in the voltage level data source priority ordered set.

[0037] The above PRIORITY_STRUCT structure is defined as follows: struct PRIORITY_STRUCT { float low_voltage_lim; / / voltage level lower limit float up_voltage_lim; / / voltage level upper limit int nation_dispatch_pri; / / National dispatch data source priority int region_dispatch_pri; / / Network dispatch data source priority int prov_dispatch_pri; / / province dispatch data source priority int city_dispatch_pri; / / Local dispatch data source priority int county_dispatch_pri; / / County dispatch data source priority int dev_dispatch_pri; / / Data source priority of the dispatching organization to which the device belongs bool operator<(PRIORITY_STRUCT const&a,PRIORITY_STRUCT const&b) { if (a. low_voltage_lim == b. low_voltage_lim) return a. up_voltage_lim <b. up_voltage_lim; else return a. low_voltage_lim <b. low_voltage_lim; } }; Storing the voltage level data source priority ordered set requires overloading the "less than" operator.

[0038] Step 5: Execute the device measurement point data priority acquisition algorithm. The priority acquisition algorithm design is as follows: Figure 2 As shown, after receiving multi-source data, the SCADA system parses the data source information, queries the plant station, the regulating agency, the region and other information of the data, and calculates the priority of the data according to the priority definition in the above hash table. The specific steps are as follows: (5.1) Load the general multi-source priority definition table; (5.2) Receive the real-time data sent by the front-end acquisition channel. On the one hand, read the data source of the last adopted data of the device measurement point from the real-time library telemetry table or telesignal table. On the other hand, parse the data source and data quality code of the data received this time from the message. (5.3) If the data source of the current data of the equipment measurement point is the same as the data source of the last received data, the data is directly adopted, and the priority is the same as the priority of the last adopted data; (5.4) If the data source of the current data of the device measurement point is inconsistent with the data source of the last received data, the following logic is executed: (5.4.1) If the data quality code of the equipment measurement point is abnormal, the priority of this data is defined as the lowest priority 999; (5.4.2) If the quality code of the data at the equipment measurement point is normal, read the device information of the receiving data from the real-time database, including the plant station, region, and voltage level of the equipment, and search the plant station data source priority hash table, regional data source priority hash table, and voltage level priority ordered set respectively to obtain the priority of the data; (5.4.3) If the priority rule for the device measurement point is not found in the above three sets, the priority of this data will be set to the highest priority - 1.

[0039] Step 6: Execute the device measurement point data optimization algorithm to perform subsequent business processing. The data optimization algorithm design is as shown in the attached Figure 3 As shown, the specific steps are as follows: (6.1) If the current data source of the equipment measurement point is consistent with the data source used last time, the current data is used and the power grid business logic is executed to write the data into the real-time database; (6.2) If the current data source of the device measurement point is inconsistent with the data source used last time, the following logic is executed: (6.2.1) If the priority of the data received by the equipment measuring point this time is higher than the priority of the data adopted last time, the data will be adopted and the power grid business logic will be executed. The data will be written into the real-time database, and the data source will be written into the telesignaling table or telemetering table, and a data source switching alarm will be sent.

[0040] (6.2.2) If the priority of the data received by the device measurement point this time is lower than the priority of the data adopted last time, the data received this time shall be discarded.

[0041] The embodiment of the present invention further provides a multi-collection channel data source optimization processing system for a power grid real-time data platform, the power grid real-time data platform comprising: Priority judgment module: used to perform multi-source modeling of power grid equipment, measurement points and front-end acquisition channels, and maintain priority judgment criteria; Priority rule module: used to define multi-source data priority rules in the general multi-source priority definition table; specifically as follows: The general multi-source priority definition table corresponds the data source to the five-level dispatching management agencies of the State Grid Corporation, namely the national dispatching data source, network dispatching data source, provincial dispatching data source, local dispatching data source, and county dispatching data source. On this basis, a dispatching management agency data source is added. The priorities of the six data sources here can be set to any number from 0 to 5. The smaller the number, the higher the priority. In addition, there are two special priorities, among which the data with abnormal real-time data quality code has a priority of 999, which represents the lowest priority; for devices not defined in the general multi-source priority definition table, their real-time data priority is -1, which is the highest priority.

[0042] Multi-source data interaction module: used for multi-source data interaction between the front-end and the SCADA system; specifically as follows: the front-end interacts with the SCADA multi-source data, and the interaction message carries the data source information. First, multiple acquisition channels must be modeled in the front-end channel table, and the data source of each acquisition channel must be maintained. The data source is represented by an integer data, and the message structure for sending data from the front-end to the SCADA system is defined through Protobuf.

[0043] Loading module: used to load and store multi-source data priority rules; Priority acquisition algorithm module: used to execute the equipment measurement point data priority acquisition algorithm; real-time data priority acquisition algorithm, as follows: First, load the general multi-source priority definition table; Secondly, receive the real-time data sent by the front-end acquisition channel. On the one hand, read the data source of the last adopted data of the device measuring point from the real-time library telemetry table or telesignal table. On the other hand, parse the data source and data quality code of the data received this time from the message. If the data source of the current data of the device measuring point is consistent with the data source of the last received data, the data is directly adopted with the same priority as the priority of the last adopted data. Finally, if the data source of the current data of the device measuring point is inconsistent with the data source of the last received data, execute the following logic: If the quality code of the current data of the device measuring point is abnormal, define the priority of this data as the lowest priority 999. If the quality code of the current data of the device measuring point is normal, read the device information of the receiving data from the real-time library, including the plant station, region and voltage level of the device, respectively search the plant station data source priority hash table, the regional data source priority hash table and the voltage level priority ordered set to obtain the priority of this data. If the priority rule of the device measuring point is not found in the above three sets, the priority of this data is set to the highest priority -1.

[0044] Execution module: used to execute the optimization algorithm of equipment measurement point data and perform subsequent business processing. Specifically: if the data source of the equipment measurement point is the same as the data source used last time, use the data and execute the power grid business logic, and write the data into the real-time database; If the data source of the device measuring point this time is inconsistent with the data source adopted last time, the following logic is executed: if the priority of the data received by the device measuring point this time is higher than the priority of the data adopted last time, the data is adopted this time and the power grid business logic is executed, the data is written into the real-time library, and the data source is written into the telesignaling table or telemetering table, and a data source switching alarm is sent; if the priority of the data received by the device measuring point this time is lower than the priority of the data adopted last time, the data received this time is discarded.

Claims

1. A method for optimizing the processing of multiple acquisition channel data sources of a power grid real-time data platform, characterized in that: The real-time data platform based on the power grid includes the following steps: (1) Conduct multi-source modeling of power grid equipment, measurement points, and front-end acquisition channels, and maintain priority criteria; (2) Define multi-source data priority rules in the general multi-source priority definition table; (3) Interact with SCADA system for multi-source data; (4) Priority rules for loading and storing multi-source data; (5) Execute the equipment measurement point data priority acquisition algorithm; (6) Execute the equipment measurement point data optimization algorithm and perform subsequent business processing.

2. The method for optimizing the data source of multiple acquisition channels of a power grid real-time data platform according to claim 1 is characterized in that: In step (2), the details are as follows: the general multi-source priority definition table corresponds the data source to the five-level dispatching management agencies of the State Grid Corporation, namely the national dispatching data source, the network dispatching data source, the provincial dispatching data source, the local dispatching data source, and the county dispatching data source. On this basis, a dispatching management agency data source is added. The priorities of the six data sources here can be set to any number from 0 to 5. The smaller the number, the higher the priority. In addition, there are two special priorities, among which the data with abnormal real-time data quality code has a priority of 999, which represents the lowest priority; For devices not defined in the general multi-source priority definition table, their real-time data priority is -1, which is the highest priority.

3. The method for optimizing the data source of multiple acquisition channels of a power grid real-time data platform according to claim 1 is characterized in that: In step (3), the details are as follows: the front-end interacts with SCADA multi-source data, and the interaction message carries the data source information. First, multiple acquisition channels must be modeled in the front-end channel table, and the data source of each acquisition channel must be maintained. The data source is represented by an integer data, and the message structure for sending data from the front-end to the SCADA system is defined through Protobuf.

4. The method for optimizing the data source of multiple acquisition channels of a power grid real-time data platform according to claim 1 is characterized in that: In step (5), the real-time data priority acquisition algorithm includes the following steps: (51) Load the general multi-source priority definition table; (52) Receive the real-time data sent by the front-end acquisition channel. On the one hand, read the data source of the last adopted data of the device measurement point from the real-time library telemetry table or telesignaling table. On the other hand, parse the data source and data quality code of the data received this time from the message. (53) If the data source of the current data of the equipment measurement point is the same as the data source of the last received data, the data will be directly adopted, and the priority will be the same as the priority of the last adopted data; (54) If the data source of the current data of the device measurement point is inconsistent with the data source of the last received data, the following logic is executed: (54a) If the data quality code of the equipment measurement point is abnormal, the priority of this data is defined as the lowest priority 999; (54b) If the quality code of the data at the equipment measurement point is normal, read the device information of the receiving data from the real-time database, including the plant station, region, and voltage level of the device, and search the plant station data source priority hash table, the regional data source priority hash table, and the voltage level priority ordered set respectively to obtain the priority of the data; (54c) If the priority rule of the device measurement point is not found in the above three sets, the priority of this data is set to the highest priority - 1.

5. The method for optimizing the data source of multiple acquisition channels of a power grid real-time data platform according to claim 1 is characterized in that: Step (6) includes the following steps: (61) If the current data source of the equipment measurement point is consistent with the data source used last time, the current data is used and the power grid business logic is executed to write the data into the real-time database; (62) If the current data source of the device measurement point is inconsistent with the data source used last time, the following logic is executed: (62a) If the priority of the data received by the equipment measuring point this time is higher than the priority of the data adopted last time, the data is adopted this time and the power grid business logic is executed, the data is written into the real-time database, the data source is written into the telemeter or telemeter table, and a data source switching alarm is sent; (62b) If the priority of the data received this time by the device measuring point is lower than the priority of the data adopted last time, the data received this time is discarded.

6. A multi-channel data source optimization processing system for a power grid real-time data platform, characterized in that: Power grid real-time data platform, including: Priority judgment module: used to perform multi-source modeling of power grid equipment, measurement points and front-end acquisition channels, and maintain priority judgment criteria; Priority rule module: used to define multi-source data priority rules in the general multi-source priority definition table; Multi-source data interaction module: used for multi-source data interaction with the SCADA system; Loading module: used to load and store multi-source data priority rules; Priority acquisition algorithm module: used to execute the equipment measurement point data priority acquisition algorithm; Execution module: used to execute the optimization algorithm of equipment measurement point data and perform subsequent business processing.

7. The power grid real-time data platform multi-collection channel data source optimization processing system according to claim 6, characterized in that: In the priority rule module, the details are as follows: The general multi-source priority definition table corresponds the data source to the five-level dispatching management agencies of the State Grid Corporation, namely the national dispatching data source, network dispatching data source, provincial dispatching data source, local dispatching data source, and county dispatching data source. On this basis, a dispatching management agency data source is added. The priorities of the six data sources here can be set to any number from 0 to 5. The smaller the number, the higher the priority. In addition, there are two special priorities, among which the data with abnormal real-time data quality code has a priority of 999, which represents the lowest priority; For devices not defined in the general multi-source priority definition table, their real-time data priority is -1, which is the highest priority.

8. A power grid real-time data platform multi-collection channel data source optimization processing system according to claim 6, characterized in that: In the multi-source data interaction module, the details are as follows: the front-end interacts with SCADA multi-source data, and the interaction message carries the data source information. First, multiple acquisition channels must be modeled in the front-end channel table, and the data source of each acquisition channel must be maintained. The data source is represented by an integer data, and the message structure for sending data from the front-end to the SCADA system is defined through Protobuf.

9. A power grid real-time data platform multi-collection channel data source optimization processing system according to claim 6, characterized in that: In the priority acquisition algorithm module, the real-time data priority acquisition algorithm is as follows: First, load the general multi-source priority definition table; Secondly, receive the real-time data sent by the front-end acquisition channel. On the one hand, read the data source of the last adopted data of the device measuring point from the real-time library telemetry table or telesignal table. On the other hand, parse the data source and data quality code of the data received this time from the message. If the data source of the current data of the device measuring point is consistent with the data source of the last received data, the data is directly adopted with the same priority as the priority of the last adopted data. Finally, if the data source of the current data of the device measuring point is inconsistent with the data source of the last received data, execute the following logic: If the quality code of the current data of the device measuring point is abnormal, define the priority of this data as the lowest priority 999. If the quality code of the current data of the device measuring point is normal, read the device information of the receiving data from the real-time library, including the plant station, region and voltage level of the device, respectively search the plant station data source priority hash table, the regional data source priority hash table and the voltage level priority ordered set to obtain the priority of this data. If the priority rule of the device measuring point is not found in the above three sets, the priority of this data is set to the highest priority -1.

10. A power grid real-time data platform multi-collection channel data source optimization processing system according to claim 6, characterized in that: In the execution module, the details are as follows: if the data source of the equipment measurement point is consistent with the data source used last time, the current data is used and the power grid business logic is executed, and the data is written into the real-time database; If the data source of the device measuring point this time is inconsistent with the data source adopted last time, the following logic is executed: if the priority of the data received by the device measuring point this time is higher than the priority of the data adopted last time, the data is adopted this time and the power grid business logic is executed, the data is written into the real-time library, and the data source is written into the telesignaling table or telemetering table, and a data source switching alarm is sent; if the priority of the data received by the device measuring point this time is lower than the priority of the data adopted last time, the data received this time is discarded.

Citation Information

Patent Citations

  • Base station system and transmitting method of Abis port data thereof

    CN102137464A

  • Data transmission method for redundancy protection measurement and control of monitoring system

    CN103353715A

  • Power dispatching real-time data quality improvement method based on multi-source arbitration

    CN112200485A

  • Credit platform data acquisition method and system, computer equipment and storage medium

    CN115293877A

  • Automatic operation and maintenance deployment method for power grid

    CN117993597A