A security risk assessment method and system for power metering data
By conducting risk assessment on power metering data, calculating the risk coefficient and impact value of abnormal data, and generating comprehensive risk values, comprehensive analysis and priority processing of power metering data are realized, solving the problem of the inability of traditional methods to identify abnormal data and correlation, and improving improve the accuracy and automation of analysis.
Patent Information
- Application Number
- CN202311715890.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-12-13
AI Technical Summary
Traditional power metering data analysis methods usually only focus on a single data indicator, ignore the correlation between data and the overall trend, cannot identify the risk impact of abnormal data on power safety, and cannot achieve comprehensive analysis and comprehensive evaluation of data, which cannot meet the needs of modern Power system monitoring and management needs.
A safety risk assessment method for power metering data is adopted. By collecting and standardizing the power metering data, the risk coefficient and risk impact value of the abnormal data are calculated, a comprehensive risk value is generated, and the data is classified and processed to realize the grouping of multiple categories of power Comprehensive evaluation and prioritization of metrology data.
It improves the accuracy and efficiency of power metering data analysis, can identify abnormal data, reflect potential risks, and translate it into specific operation levels, improves the automation and intelligence of the system, and enables multi-faceted and varying degrees of assessment of power metering data. , avoiding the subjectivity of manual assessment, timely discovering risks of different levels and carrying out targeted processing.
Smart Images

Figure CN117709717B_ABST
Abstract
Description
Technical Field
[0001] The present invention proposes a method and system for security risk assessment of electric power metering data, and relates to the technical field of electric power metering data, and specifically to the technical field of security assessment methods for electric power metering data. Background Art
[0002] In the power system, power metering data is an important indicator for monitoring the operating status and performance of the system. These data include power generation data, power consumption data, power grid data and energy data, which can reflect the overall operation of the power system. In order to ensure the safe, stable and reliable operation of the power system, these power metering data need to be monitored and analyzed in real time. Traditional power metering data analysis methods usually only focus on single data indicators, such as power generation, power consumption, etc., while ignoring the correlation and overall trend between data, and cannot identify the impact of abnormal data in power metering data on the overall data and power security risks. In addition, traditional methods often only process specific types of power metering data, and cannot achieve comprehensive analysis and comprehensive evaluation of data. With the continuous expansion of the scale and increase in complexity of power systems, traditional data analysis methods can no longer meet the needs of modern power system monitoring and management. Therefore, a more comprehensive, accurate and efficient method is needed to analyze and evaluate the security and risks of power metering data. Summary of the invention
[0003] The present invention provides a method and system for assessing the security risks of electric power metering data, which is used to solve the problem that traditional electric power metering data analysis methods usually only focus on a single data indicator, such as power generation, power consumption, etc., while ignoring the correlation and overall trend between the data, and are unable to identify the impact of abnormal data in the electric power metering data on the overall data and the risk of electric power security. In addition, traditional methods often only process specific types of electric power metering data, and are unable to achieve comprehensive analysis and comprehensive evaluation of the data. With the continuous expansion of the scale and increase in complexity of the power system, traditional data analysis methods can no longer meet the needs of modern power system monitoring and management. Problems such as:
[0004] A method for assessing security risks of electric power metering data, the method comprising:
[0005] S1. Collecting power metering data, standardizing the power metering data according to data types, obtaining category groups, and calculating and obtaining abnormal data of the power metering data at daily power consumption time nodes according to the category groups;
[0006] S2. Calculate the risk coefficient of the abnormal data according to the abnormal data, obtain the natural ranking of the risk coefficient of each category grouping according to the calculation result, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and obtain the natural ranking of the risk impact value of each category grouping according to the calculation result;
[0007] S3. According to the natural sorting of risk coefficients and risk impact values, the comprehensive risk value of each abnormal data is calculated, and the data priority processing level is generated according to the comprehensive risk value, and the power metering data grouped in multiple categories are graded.
[0008] Further, the S1 includes:
[0009] S101, collecting power metering data of power consumption terminals, preprocessing the power metering data, and grouping the power metering data according to different data types to obtain multiple category groups, and labeling each category group according to the data type of each category group;
[0010] S102. Taking the peak time point and the trough time point of electricity consumption of each day as time nodes, calculate the difference between the historical mean of the category grouping data at the same time node of each evaluation date and all historical dates, compare the difference with the preset difference threshold, and obtain a comparison result. The comparison result is the data anomaly. According to the comparison result, the normal data and abnormal data annotations of the category grouping data are obtained.
[0011] Further, the S2 includes:
[0012] S201, calculating the risk coefficient of each abnormal data according to each category grouping;
[0013] S202. Obtain a natural ranking of risk coefficients of multiple groups in different categories according to the risk coefficients of multiple abnormal data in each category group.
[0014] Furthermore, the S2 further includes:
[0015] S301, calculating the risk impact value corresponding to each abnormal data according to each abnormal data of each category group and the risk coefficient corresponding to the abnormal data;
[0016] S302. Obtain a natural ranking of the risk impact values of multiple groups of different categories according to the risk impact values of multiple abnormal data grouped in each category.
[0017] Further, the S3 includes:
[0018] S401, calculating and obtaining the comprehensive risk value of each abnormal data in each category grouping according to the ranking of the abnormal data in the natural ranking of the risk coefficient and the natural ranking of the risk impact value;
[0019] S402. Obtain a natural ranking of the comprehensive hazard values according to the size of the comprehensive hazard values, generate a data processing priority according to the natural ranking of the comprehensive hazard values, and perform hierarchical processing on the power metering data grouped in multiple categories according to the data processing priority.
[0020] Furthermore, the system comprises:
[0021] A grouping value acquisition module is used to collect power metering data, standardize the power metering data according to the data type, obtain category groups, and calculate and obtain abnormal data of the power metering data at the daily power consumption time node according to the category groups;
[0022] A calculation and sorting module, used to calculate the risk coefficient of the abnormal data according to the abnormal data, obtain the natural sorting of the risk coefficient of each category grouping according to the calculation result, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and obtain the natural sorting of the risk impact value of each category grouping according to the calculation result;
[0023] The ranking processing module is used to calculate the comprehensive risk value of each abnormal data according to the natural sorting of risk coefficients and risk impact values, generate data priority processing levels according to the comprehensive risk values, and perform hierarchical processing on power metering data grouped in multiple categories.
[0024] Furthermore, the grouping value module includes:
[0025] A grouping module is used to collect power metering data from power consumption terminals, pre-process the power metering data, and group the power metering data into different categories according to different data types to obtain multiple category groups, and then label each category group according to the data type of each category group;
[0026] The comparison module is used to calculate the difference between the historical mean of the category grouping data at the same time node of each evaluation date and all historical dates with the peak time point and the trough time point of electricity consumption of each day as the time node, compare the difference with the preset difference threshold, and obtain the comparison result. The comparison result is the data anomaly. The normal data and abnormal data annotation of the category grouping data are obtained according to the comparison result.
[0027] Furthermore, the calculation and sorting module includes:
[0028] A data setting module, used for calculating the risk coefficient of each abnormal data according to each abnormal data grouped in each category;
[0029] The risk coefficient natural sorting module is used to obtain the natural sorting of risk coefficients of multiple different category groups according to the risk coefficient size of multiple abnormal data grouped in each category.
[0030] Furthermore, the calculation and sorting module also includes:
[0031] A data combining module, used to calculate the risk impact value corresponding to each abnormal data according to each abnormal data of each category grouping and the risk coefficient corresponding to the abnormal data;
[0032] The impact value sorting module is used to obtain the natural sorting of the risk impact values of multiple different category groups according to the risk impact values of multiple abnormal data grouped in each category.
[0033] Furthermore, the ranking processing module includes:
[0034] A ranking module is used to rank the abnormal data in the natural ranking of risk coefficient and the natural ranking of risk impact value, and calculate and obtain the comprehensive risk value of each abnormal data in each category grouping;
[0035] The hierarchical processing module is used to obtain the natural ranking of the comprehensive hazard values according to the size of the comprehensive hazard values, generate data processing priorities according to the natural ranking of the comprehensive hazard values, and hierarchically process the power metering data grouped in multiple categories according to the data processing priorities.
[0036] Beneficial effects of the present invention:
[0037] The present invention proposes a method and system for assessing the safety risk of electric power metering data, which obtains electric power metering data and performs preliminary processing on it. This step includes data cleaning, format conversion, abnormal value processing, etc. The processed data is divided into multiple categories. This step ensures the accuracy of subsequent processing and improves the efficiency and performance of the system. The electric power metering data of each category group is subjected to difference calculation and comparison, and multiple abnormal data of each category group is obtained according to the comparison result. This step can discover and identify abnormal values in the data, which plays an important role in understanding the true situation of the data and subsequent data analysis. The evaluation system sets the abnormal data as abnormal data, calculates the risk coefficient of the abnormal data according to the abnormal data, and obtains the natural ranking of the risk coefficient of each category group. This step can reflect the potential risk of the electric power metering data of each category group. The risk impact value of the abnormal data is calculated according to the abnormal data combined with the risk coefficient of the abnormal data, and then the natural ranking of the risk impact value of each category group is obtained. This step takes into account the impact of the abnormal data on the entire category group, making the risk assessment more comprehensive and accurate. The assessment system calculates the comprehensive risk value of each abnormal data according to the natural ranking of the risk coefficient and the ranking of the risk impact value in the corresponding category grouping, generates the data priority processing level according to the comprehensive risk value, and performs hierarchical processing on the power metering data of multiple category groups. This step converts the results of the risk assessment into a specific operation level, improving the automation and intelligence of the system in handling abnormal values. Through different levels of assessment, various aspects of the power metering data can be evaluated to different degrees, making the assessment results more accurate and comprehensive, avoiding the subjectivity of manual assessment, and timely discovering risks of different levels through different levels of assessment, and conducting targeted processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a security risk assessment method for power metering data. DETAILED DESCRIPTION
[0039] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0040] In one embodiment of the present invention, a method and system for security risk assessment of electric power metering data are provided, and the method specifically comprises:
[0041] S1. Collecting power metering data, performing preliminary processing on the power metering data to obtain multiple category groups, performing difference calculation and comparison on the category grouping data, and obtaining multiple abnormal data of each category grouping according to the comparison results;
[0042] S2. Calculate the risk coefficient of the abnormal data according to the abnormal data to obtain a natural ranking of the risk coefficients of each category grouping, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and then obtain a natural ranking of the risk impact value of each category grouping;
[0043] S3. Calculate the comprehensive hazard value of each abnormal data according to the ranking of the risk coefficient and the risk impact value in the corresponding category grouping, generate a data priority processing level according to the comprehensive hazard value, and perform hierarchical processing on the power metering data of multiple category groups.
[0044] The working principle of the above technical solution is: first, obtain power metering data, perform preliminary processing on the power metering data, obtain multiple category groups, perform difference calculation and comparison on the category grouping data, and obtain multiple abnormal data of each category grouping according to the comparison result; second, calculate the risk coefficient of the abnormal data according to the abnormal data, obtain the natural ranking of the risk coefficient of each category grouping, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and then obtain the natural ranking of the risk impact value of each category grouping; finally, calculate the comprehensive risk value of each abnormal data according to the ranking of each abnormal data in the natural ranking of the risk coefficient and the natural ranking of the risk impact value in the corresponding category grouping, generate the data priority processing level according to the comprehensive risk value, and perform graded processing on the power metering data of multiple category groups.
[0045] The technical effect of the above technical solution is: by obtaining the power metering data and performing preliminary processing on it, this step includes data cleaning, format conversion, outlier processing, etc., and the processed data is divided into multiple categories. This step ensures the accuracy of subsequent processing and improves the efficiency and performance of the system. The power metering data of each category group is subjected to difference calculation and comparison, and multiple abnormal data of each category group is obtained according to the comparison results. This step can discover and identify abnormal values in the data, which plays an important role in understanding the true situation of the data and subsequent data analysis. The abnormal data is set as abnormal data, and the risk coefficient of the abnormal data is calculated according to the abnormal data, and the natural ranking of the risk coefficient of each category group is obtained. This step can reflect the potential risk of the power metering data of each category group. The risk impact value of the abnormal data is calculated according to the abnormal data combined with the risk coefficient of the abnormal data, and then the natural ranking of the risk impact value of each category group is obtained. This step takes into account the impact of abnormal data on the entire category grouping, making the risk assessment more comprehensive and accurate. According to the ranking of each abnormal data in the natural ranking of risk coefficient and risk impact value in the corresponding category grouping, the comprehensive hazard value of each abnormal data is calculated, and the data priority processing level is generated according to the comprehensive hazard value, and the power metering data of multiple category groups are graded. This step converts the results of risk assessment into specific operation levels, which improves the automation and intelligence of the system in handling abnormal values. Through different levels of evaluation, various aspects of power metering data are evaluated to different degrees, making the evaluation results more accurate and comprehensive, avoiding the subjectivity of manual evaluation, and timely discovering risks of different levels through different levels of evaluation, and carrying out targeted processing.
[0046] In one embodiment of the present invention, the S1 specifically includes:
[0047] S101, collecting power metering data of power consumption terminals, preprocessing the power metering data to obtain preprocessed data, grouping the preprocessed data according to data types to obtain multiple category groups, and labeling each category group according to the data type of each category group;
[0048] S102. Taking the peak time point and the trough time point of electricity consumption of each day as time nodes, calculate the difference between the historical mean of the category grouping data at the same time node of each evaluation date and all historical dates, compare the difference with the preset difference threshold, and obtain a comparison result. The comparison result is the data anomaly. According to the comparison result, the normal data and abnormal data annotations of the category grouping data are obtained.
[0049] The working principle of the above technical solution is: collect the power metering data of the power consumption terminal, pre-process the power metering data, obtain the pre-processed data, group the pre-processed data according to the data type, obtain multiple category groups, and classify each category group according to the data type of each category group; the category group includes power generation data, power consumption data, power grid data and energy data. The category marking is to mark according to the name of the category group. Calculate the difference between each category grouping data corresponding to each time node of the day to be evaluated and the average value of the category grouping data at the same time node in history (for example, the difference between each group of data of each category grouping at a certain hour of a certain day and the average value of each group of data of the category grouping at the same time node of each day in history is calculated to obtain the difference), set the difference threshold, compare the difference with the difference threshold, when the difference is greater than the difference threshold, mark the category grouping data of the time node corresponding to the difference as abnormal data, when the difference is less than the difference threshold, mark the category grouping data of the time node corresponding to the difference as normal data.
[0050] The technical effect of the above technical solution is: the power metering data of the power consumption terminal can be effectively collected and preprocessed through the technical solution. Preprocessing includes data cleaning, format conversion and outlier processing to improve data quality and accuracy. The preprocessed power metering data is grouped according to data types, such as power generation data, power consumption data, power grid data and energy data. Each category group is labeled according to the name of the category group, which is helpful for subsequent data analysis and processing. For each time node, the difference between the corresponding data of each category group and the average value of the same time node in history is calculated. This difference calculation can effectively reflect the difference between current data and historical data, and help to find abnormal situations. By setting a difference threshold, the difference is compared with the difference threshold. When the difference is greater than the difference threshold, the category grouping data of the time node corresponding to the difference is marked as abnormal data; when the difference is less than the difference threshold, the category grouping data of the time node corresponding to the difference is marked as normal data. This labeling helps to find and identify abnormal situations in power metering data. The evaluation system can effectively collect, process and analyze electricity metering data. By setting time nodes and calculating differences, it can promptly detect abnormal data and provide data for the data risk operation of the power system.
[0051] In one embodiment of the present invention, S2 includes:
[0052] S201, calculating the risk coefficient of each abnormal data according to each category grouping;
[0053] S202. Obtain a natural ranking of risk coefficients of multiple groups in different categories according to the risk coefficients of multiple abnormal data in each category group.
[0054] The calculation formula of the risk factor is:
[0055]
[0056] Among them, F is the risk factor, d 1q is the abnormal data at a specific time node q, H dq is the power consumption of abnormal data at a specific time node q, d 1i is the abnormal data of the i-th time node of the category grouping, H di is the power consumption of the abnormal data of the i-th time node of the category grouping, and G is the average failure rate of each type of electrical equipment corresponding to the abnormal data in every two time nodes in the category grouping;
[0057] The working principle of the above technical solution is: according to the total number of time nodes of each category grouping of each abnormal data of each category grouping, the abnormal data of the i-th time node of the category grouping, the abnormal data of the i-th time node of the category grouping, the power loss of the abnormal data of the i-th time node of the category grouping, the power loss of the abnormal data of the i-th time node of the category grouping, and the average failure rate of each type of electrical equipment corresponding to the abnormal data in the category grouping every two time nodes, the risk coefficient of each abnormal data is calculated; according to the risk coefficient size of multiple abnormal data of each category grouping, the natural ranking of the risk coefficients of multiple different category groups is obtained. That is, each category grouping has a corresponding natural ranking of the risk coefficient.
[0058] The technical effect of the above technical solution is: according to each abnormal data of each category grouping, the risk coefficient of each abnormal data is calculated; by using the d 1q The abnormal data of a specific time node of a specific category group can be calculated by The mean of abnormal data of all time nodes before the abnormal data of the specific time node of the specific category grouping can be calculated, and the average value of abnormal data of all time nodes before the abnormal data of the specific time node can be calculated by H dq The power consumption of abnormal data at a specific time node of a specific category group can be calculated. The power consumption can be calculated by subtracting the preset value from the actual value. The average power consumption of abnormal data at all time nodes before the abnormal data at the specific time node of the specific category grouping can be calculated, through The deviation of abnormal data and the loss of abnormal data at a specific time node from the historical mean can be calculated. By adding G to the calculation of the formula, the failure rate factor can be added to the calculation of the formula, making the calculation result more applicable, comprehensive and accurate; according to the risk coefficient size of multiple abnormal data grouped in each category, the natural ranking of risk coefficients of multiple different category groups is obtained. That is, each category group has a corresponding natural ranking of risk coefficients.
[0059] In one embodiment of the present invention, the S2 specifically further includes:
[0060] S301, calculating the risk impact value corresponding to each abnormal data according to each abnormal data of each category group and the risk coefficient corresponding to the abnormal data;
[0061] S302: Obtain a natural ranking of risk impact values of multiple different category groups according to the risk impact values of multiple abnormal data in each category group, that is, each category group has a corresponding natural ranking of risk impact values.
[0062] The calculation formula of the risk impact value is:
[0063]
[0064] Among them, Y F is the risk impact value, F is the risk coefficient of abnormal data, n is the total number of days for risk assessment of power metering data, L Tae is the abnormal data value corresponding to the abnormal data at time node a on the specific date e to be evaluated, L 1ai is the abnormal data value of the abnormal data corresponding to the a time node on the ith day in the total number of days for risk assessment of power metering data, T x is the actual time to process the abnormal data value, T z It is the preset time for processing abnormal data; time node a is the specific time node for calculating the risk impact value of each day in the total number of risk assessment days;
[0065] For example, if you need to calculate the risk impact value of the 9th time node on the 8th day, then time node a is the 9th time node.
[0066] The working principle of the above technical solution is: according to each abnormal data of each category grouping and the risk coefficient corresponding to the abnormal data, the risk impact value corresponding to each abnormal data is calculated respectively; the risk impact value is calculated by the risk coefficient of the abnormal data, the total number of days for risk assessment of the power metering data, the abnormal data value of the abnormal data corresponding to the a time node of the specific date to be assessed, the abnormal data value of the abnormal data corresponding to the a time node of the ith day in the total number of days for risk assessment of the power metering data, the actual time for processing the abnormal data value and the preset time for processing the abnormal data; according to the size of the risk impact values of the multiple abnormal data of each category grouping, the natural ranking of the risk impact values of multiple different category groups is obtained. That is, each category grouping has a corresponding natural ranking of the risk impact value.
[0067] The technical effect of the above technical solution is: according to each abnormal data of each category grouping combined with the risk coefficient corresponding to the abnormal data, the risk impact value corresponding to each abnormal data is calculated respectively; the influence degree of each abnormal data on the overall data and loss can be obtained, and the formula is The ratio of the abnormal data at a specific time node to the sum of the abnormal data corresponding to the corresponding time node of each day to be evaluated can be calculated to obtain the degree of deviation of the abnormal data at a specific time node compared to the mean. The ratio of the processing time of the abnormal data to the processing time of the preset data can be calculated to obtain the impact of the processing time loss caused by the abnormal data. The risk coefficient corresponding to the abnormal data is combined through F to make the calculation result more accurate and comprehensive. According to the risk impact value of multiple abnormal data grouped in each category, the risk impact values of multiple different category groups are naturally sorted. The risk impact ranking corresponding to the abnormal data can be obtained through the sorting.
[0068] In one embodiment of the present invention, S3 specifically includes:
[0069] S401, respectively extracting the ranking of each abnormal data of each category group in the natural ranking of the risk coefficient and the natural ranking of the risk impact value of the category group, calculating the sum of the two rankings, and obtaining the comprehensive risk value of each abnormal data of each category group;
[0070] S402, sorting the comprehensive hazard values of multiple abnormal data grouped in different categories from large to small, generating data processing priorities of the multiple category groups through the sorting, and the evaluation system performs hierarchical processing on the power metering data of the multiple category groups according to the data processing priorities.
[0071] The working principle of the above technical solution is: extract the ranking of each abnormal data of each category grouping in the natural ranking of the risk coefficient and the natural ranking of the risk impact value of the category grouping, calculate the sum of the two rankings, and obtain the comprehensive hazard value of each abnormal data of each category grouping; sort the comprehensive hazard values of multiple abnormal data of different category groups from large to small, generate data processing priorities of multiple category groups through the sorting, and the evaluation system performs hierarchical processing on the power metering data of multiple category groups according to the data processing priorities.
[0072] The technical effect of the above technical scheme is: for each abnormal data of each category grouping, its ranking in the natural ranking of the risk coefficient and the natural ranking of the risk impact value of the category grouping is extracted, and the two rankings respectively reflect the risk degree of the abnormal data in the category grouping and the influence on the entire category grouping. By calculating the sum of the two rankings, the comprehensive risk value of each abnormal data of each category grouping is obtained. Through the comprehensive risk value, the enhanced evaluation of the double evaluation of the power metering data through double ranking is realized, and the comprehensive risk values of multiple abnormal data of different category groups are sorted from large to small, and the data processing priority of multiple category groups is generated through the sorting. This data processing priority reflects the influence and risk degree of the abnormal data of different category groups on the entire power metering data, and provides a clear order for subsequent data processing. The evaluation system performs hierarchical processing on the power metering data of multiple category groups according to the data processing priority. This hierarchical processing can effectively carry out targeted processing for category groups with different risk degrees and influence degrees, and improves processing efficiency and accuracy. The evaluation system can determine the risk degree and influence of the power metering data of different category groups through the calculation and sorting of the comprehensive risk value, and generate data processing priorities accordingly, so as to realize hierarchical processing of power metering data. This helps improve data processing efficiency and accuracy, and provides more reliable data support for the stable operation of the power system.
[0073] In one embodiment of the present invention, the system specifically comprises:
[0074] A grouping value acquisition module is used to obtain power metering data, perform preliminary processing on the power metering data, obtain multiple category groups, perform difference calculation and comparison on the category grouping data, and obtain multiple abnormal data of each category grouping according to the comparison result;
[0075] A calculation and sorting module is used to calculate the risk coefficient of the abnormal data according to the abnormal data, obtain the natural sorting of the risk coefficient of each category grouping, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and then obtain the natural sorting of the risk impact value of each category grouping;
[0076] The ranking processing module is used to calculate the comprehensive hazard value of each abnormal data according to the natural ranking of the risk coefficient and the natural ranking of the risk impact value of each abnormal data in the corresponding category grouping, generate the data priority processing level according to the comprehensive hazard value, and perform hierarchical processing on the power metering data of multiple category groups.
[0077] The working principle of the above technical solution is as follows: the grouping value acquisition module is used to obtain power metering data through the evaluation system, perform preliminary processing on the power metering data, obtain multiple category groups, perform difference calculation and comparison on the category grouping data, and obtain multiple abnormal data of each category grouping according to the comparison result; the calculation and sorting module is used to calculate the risk coefficient of the abnormal data according to the abnormal data through the evaluation system, obtain the natural ranking of the risk coefficient of each category grouping, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and then obtain the natural ranking of the risk impact value of each category grouping; the ranking processing module is used to calculate the comprehensive risk value of each abnormal data according to the natural ranking of the risk coefficient and the ranking of the risk impact value in the natural ranking of each abnormal data in the corresponding category grouping through the evaluation system, generate a data priority processing level according to the comprehensive risk value, and perform graded processing on the power metering data of multiple category groups.
[0078] The technical effect of the above technical solution is: the power metering data is obtained through the evaluation system and preliminarily processed. This step includes data cleaning, format conversion, outlier processing, etc. The processed data is divided into multiple categories. This step ensures the accuracy of subsequent processing and improves the efficiency and performance of the system. The power metering data of each category group is calculated and compared, and multiple abnormal data of each category group is obtained according to the comparison results. This step can discover and identify abnormal values in the data, which plays an important role in understanding the true situation of the data and subsequent data analysis. The evaluation system sets the abnormal data as abnormal data, calculates the risk coefficient of the abnormal data according to the abnormal data, and obtains the natural ranking of the risk coefficient of each category group. This step can reflect the potential risk of the power metering data of each category group. The risk impact value of the abnormal data is calculated according to the abnormal data combined with the risk coefficient of the abnormal data, and then the natural ranking of the risk impact value of each category group is obtained. This step takes into account the impact of abnormal data on the entire category grouping, making the risk assessment more comprehensive and accurate. The assessment system calculates the comprehensive risk value of each abnormal data according to the natural ranking of the risk coefficient and the ranking of the risk impact value in the corresponding category grouping, generates the data priority processing level according to the comprehensive risk value, and performs hierarchical processing on the power metering data of multiple category groups. This step converts the results of the risk assessment into a specific operation level, improving the automation and intelligence of the system in handling abnormal values. Through different levels of assessment, various aspects of the power metering data can be evaluated to different degrees, making the assessment results more accurate and comprehensive, avoiding the subjectivity of manual assessment, and timely discovering risks of different levels through different levels of assessment, and conducting targeted processing.
[0079] In one embodiment of the present invention, the grouping value module specifically includes:
[0080] A grouping module is used to collect power metering data of power consumption terminals, pre-process the power metering data to obtain pre-processed data, group the pre-processed data according to data types to obtain multiple category groups, and classify each category group according to the data type of each category group;
[0081] The comparison module is used to calculate the difference between the historical mean of the category grouping data at the same time node of each evaluation date and all historical dates with the peak time point and the trough time point of electricity consumption of each day as the time node, compare the difference with the preset difference threshold, and obtain the comparison result. The comparison result is the data anomaly. The normal data and abnormal data annotation of the category grouping data are obtained according to the comparison result.
[0082] The working principle of the above technical solution is as follows: the grouping module is used to collect the power metering data of the power consumption terminal, pre-process the power metering data, obtain the pre-processed data, group the pre-processed data according to the data type, obtain multiple category groups, and classify each category group according to the data type of each category group; the category group includes power generation data, power consumption data, power grid data and energy data. The category marking is to mark according to the name of the category group. The comparison module is used to calculate the difference between each category grouping data corresponding to each time node of each day to be evaluated and the average value of the category grouping data at the same time node in history (for example, the difference between each group of data of each category grouping at a certain hour of a certain day and the average value of each group of data of the category grouping at the same time node of each day in history is calculated to obtain the difference), set the difference threshold, compare the difference with the difference threshold, when the difference is greater than the difference threshold, the category grouping data of the time node corresponding to the difference is marked as abnormal data, when the difference is less than the difference threshold, the category grouping data of the time node corresponding to the difference is marked as normal data.
[0083] The technical effect of the above technical solution is: through the evaluation system, the power metering data of the power consumption terminal can be effectively collected and preprocessed. Preprocessing includes data cleaning, format conversion and outlier processing to improve data quality and accuracy. The preprocessed power metering data is grouped according to data types, such as power generation data, power consumption data, power grid data and energy data. Each category group is labeled according to the name of the category group, which is helpful for subsequent data analysis and processing. For each time node, the difference between the corresponding data of each category group and the average value of the same time node in history is calculated. This difference calculation can effectively reflect the difference between current data and historical data, and help to find abnormal situations. By setting a difference threshold, the difference is compared with the difference threshold. When the difference is greater than the difference threshold, the category grouping data of the time node corresponding to the difference is marked as abnormal data; when the difference is less than the difference threshold, the category grouping data of the time node corresponding to the difference is marked as normal data. This labeling helps to discover and identify abnormal situations in power metering data. The evaluation system can effectively collect, process and analyze electricity metering data. By setting time nodes and calculating differences, it can promptly detect abnormal data and provide data for the data risk operation of the power system.
[0084] In one embodiment of the present invention, the calculation and sorting module specifically includes:
[0085] A data setting module, used for calculating the risk coefficient of each abnormal data by grouping each abnormal data according to each category;
[0086] The risk coefficient natural ranking module is used to obtain the risk coefficient natural ranking of multiple different category groups according to the risk coefficient size of multiple abnormal data in each category group. That is, each category group has a corresponding risk coefficient natural ranking.
[0087] The calculation formula of the risk factor is:
[0088]
[0089] Among them, F is the risk factor, d 1q is the abnormal data at a specific time node q, H dq is the power consumption of abnormal data at a specific time node q, d 1i is the abnormal data of the i-th time node of the category grouping, H di is the power consumption of the abnormal data of the i-th time node of the category grouping, and G is the average failure rate of each type of electrical equipment corresponding to the abnormal data in every two time nodes in the category grouping;
[0090] The working principle of the above technical solution is: according to the total number of time nodes of each category grouping of each abnormal data of each category grouping, the abnormal data of the i-th time node of the category grouping, the abnormal data of the i-th time node of the category grouping, the power loss of the abnormal data of the i-th time node of the category grouping, the power loss of the abnormal data of the i-th time node of the category grouping, and the average failure rate of each type of electrical equipment corresponding to the abnormal data in the category grouping every two time nodes, the risk coefficient of each abnormal data is calculated; according to the risk coefficient size of multiple abnormal data of each category grouping, the natural ranking of the risk coefficients of multiple different category groups is obtained. That is, each category grouping has a corresponding natural ranking of the risk coefficient.
[0091] The technical effect of the above technical solution is: according to each abnormal data of each category grouping, the risk coefficient of each abnormal data is calculated; by using the d 1q The abnormal data of a specific time node of a specific category group can be calculated by The mean of abnormal data of all time nodes before the abnormal data of the specific time node of the specific category grouping can be calculated, and the average value of abnormal data of all time nodes before the abnormal data of the specific time node can be calculated by H dq The power consumption of abnormal data at a specific time node of a specific category group can be calculated. The power consumption can be calculated by subtracting the preset value from the actual value. The average power consumption of abnormal data at all time nodes before the abnormal data at the specific time node of the specific category grouping can be calculated, through The deviation of abnormal data and the loss of abnormal data at a specific time node from the historical mean can be calculated. By adding G to the calculation of the formula, the failure rate factor can be added to the calculation of the formula, making the calculation result more applicable, comprehensive and accurate; according to the risk coefficient size of multiple abnormal data grouped in each category, the natural ranking of risk coefficients of multiple different category groups is obtained. That is, each category group has a corresponding natural ranking of risk coefficients.
[0092] In one embodiment of the present invention, the calculation and sorting module specifically further includes:
[0093] A data combining module, used to calculate the risk impact value corresponding to each abnormal data by combining each abnormal data grouped according to each category with the risk coefficient corresponding to the abnormal data;
[0094] The impact value sorting module is used to obtain the natural sorting of the risk impact values of multiple different category groups according to the risk impact values of multiple abnormal data grouped in each category.
[0095] The calculation formula of the risk impact value is:
[0096]
[0097] Among them, Y F is the risk impact value, F is the risk coefficient of abnormal data, n is the total number of days for risk assessment of power metering data, L Tae is the abnormal data value corresponding to the abnormal data at time node a on the specific date e to be evaluated, L 1ai is the abnormal data value of the abnormal data corresponding to the a time node on the ith day in the total number of days for risk assessment of power metering data, T x is the actual time to process the abnormal data value, T z It is the preset time for processing abnormal data; time node a is the specific time node for calculating the risk impact value of each day in the total number of risk assessment days;
[0098] For example, if you need to calculate the risk impact value of the 9th time node on the 8th day, then time node a is the 9th time node.
[0099] The working principle of the above technical solution is as follows: the data combination module is used to calculate the risk impact value corresponding to each abnormal data according to each abnormal data of each category grouping and the risk coefficient corresponding to the abnormal data; the risk impact value is calculated by the risk coefficient of the abnormal data, the total number of days for risk assessment of the power metering data, the abnormal data value of the abnormal data corresponding to the a time node of the specific date to be assessed, the abnormal data value of the abnormal data corresponding to the a time node of the ith day in the total number of days for risk assessment of the power metering data, the actual time for processing the abnormal data value and the preset time for processing the abnormal data; according to the size of the risk impact value of the multiple abnormal data of each category grouping, the natural ranking of the risk impact values of multiple different category groups is obtained. That is, each category grouping has a corresponding natural ranking of the risk impact value.
[0100] The technical effect of the above technical solution is: according to each abnormal data of each category grouping combined with the risk coefficient corresponding to the abnormal data, the risk impact value corresponding to each abnormal data is calculated respectively; the influence degree of each abnormal data on the overall data and loss can be obtained, and the formula is The ratio of the abnormal data at a specific time node e to the sum of the abnormal data corresponding to the corresponding time nodes of each day to be evaluated can be calculated to obtain the degree of deviation of the abnormal data at a specific time node from the mean. The ratio of the processing time of the abnormal data to the processing time of the preset data can be calculated to obtain the impact of the processing time loss caused by the abnormal data. The risk coefficient corresponding to the abnormal data is combined through F to make the calculation result more accurate and comprehensive. According to the risk impact value of multiple abnormal data grouped in each category, the risk impact values of multiple different category groups are naturally sorted. The risk impact ranking corresponding to the abnormal data can be obtained through the sorting.
[0101] In one embodiment of the present invention, the ranking processing module specifically includes:
[0102] A ranking module, for respectively extracting the ranking of each abnormal data of each category grouping in the natural ranking of the risk coefficient and the natural ranking of the risk impact value of the category grouping, calculating the sum of the two rankings, and obtaining the comprehensive risk value of each abnormal data of each category grouping;
[0103] The hierarchical processing module is used to sort the comprehensive hazard values of multiple abnormal data grouped in different categories from large to small, generate data processing priorities for multiple category groups through the sorting, and the evaluation system performs hierarchical processing on the power metering data grouped in multiple categories according to the data processing priorities.
[0104] The working principle of the above technical solution is: the ranking module is used to extract the ranking of each abnormal data of each category grouping in the natural ranking of the risk coefficient and the natural ranking of the risk impact value of the category grouping, calculate the sum of the two rankings, and obtain the comprehensive hazard value of each abnormal data of each category grouping; the hierarchical processing module is used to sort the comprehensive hazard values of multiple abnormal data of different category groups from large to small, generate data processing priorities of multiple category groups through the sorting, and the evaluation system performs hierarchical processing on the power metering data of multiple category groups according to the data processing priorities.
[0105] The technical effect of the above technical scheme is: for each abnormal data of each category grouping, its ranking in the natural ranking of the risk coefficient and the natural ranking of the risk impact value of the category grouping is extracted, and the two rankings respectively reflect the risk degree of the abnormal data in the category grouping and the influence on the entire category grouping. By calculating the sum of the two rankings, the comprehensive risk value of each abnormal data of each category grouping is obtained. Through the comprehensive risk value, the enhanced evaluation of the double evaluation of the power metering data through double ranking is realized, and the comprehensive risk values of multiple abnormal data of different category groups are sorted from large to small, and the data processing priority of multiple category groups is generated through the sorting. This data processing priority reflects the influence and risk degree of the abnormal data of different category groups on the entire power metering data, and provides a clear order for subsequent data processing. The evaluation system performs hierarchical processing on the power metering data of multiple category groups according to the data processing priority. This hierarchical processing can effectively carry out targeted processing for category groups with different risk degrees and influence degrees, and improves processing efficiency and accuracy. The evaluation system can determine the risk degree and influence of the power metering data of different category groups through the calculation and sorting of the comprehensive risk value, and generate data processing priorities accordingly, so as to realize hierarchical processing of power metering data. This helps improve data processing efficiency and accuracy, and provides more reliable data support for the stable operation of the power system.
[0106] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A security risk assessment method for power metering data. It is characterized in that The method comprises: S1. Collecting power metering data, standardizing the power metering data according to data types, obtaining category groups, and calculating and obtaining abnormal data of the power metering data at daily power consumption time nodes according to the category groups; The category grouping includes power generation data, power consumption data, power grid data and energy data; S2. Calculate the risk coefficient of the abnormal data according to the abnormal data, obtain the natural ranking of the risk coefficient of each category grouping according to the calculation result, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and obtain the natural ranking of the risk impact value of each category grouping according to the calculation result; Wherein, the S2 includes: S201, calculating the risk coefficient of each abnormal data according to each category grouping; S202, obtaining a natural ranking of risk coefficients of multiple groups of different categories according to the risk coefficients of multiple abnormal data grouped in each category; The calculation formula of the risk factor is: Among them, F is the risk factor, d 1q is the abnormal data at a specific time node q, H dq is the power consumption of abnormal data at a specific time node q, d 1i is the abnormal data of the i-th time node of the category grouping, H di is the power consumption of the abnormal data of the i-th time node of the category grouping, and G is the average failure rate of each type of electrical equipment corresponding to the abnormal data in every two time nodes in the category grouping; The calculation formula of the risk impact value is: Among them, Y F is the risk impact value, F is the risk coefficient of abnormal data, n is the total number of days for risk assessment of power metering data, L Tae is the abnormal data value corresponding to the abnormal data at time node a on the specific date e to be evaluated, L 1ai is the abnormal data value of the abnormal data corresponding to the a time node on the ith day in the total number of days for risk assessment of power metering data, T x is the actual time to process the abnormal data value, T z It is the preset time for processing abnormal data; time node a is the specific time node for calculating the risk impact value of each day in the total number of risk assessment days; S3. According to the natural sorting of risk coefficients and risk impact values, the comprehensive risk value of each abnormal data is calculated, and the data priority processing level is generated according to the comprehensive risk value, and the power metering data grouped in multiple categories are graded.
2. According to the security risk assessment method of power metering data described in claim 1, It is characterized in that The S1 includes: S101, collecting power metering data of power consumption terminals, preprocessing the power metering data, and grouping the power metering data according to different data types to obtain multiple category groups; S102. Taking the peak time point and the trough time point of electricity consumption of each day as time nodes, calculate the difference between the historical mean of the category grouping data at the same time node of each evaluation date and all historical dates, compare the difference with the preset difference threshold, and obtain a comparison result. The comparison result is the data anomaly. According to the comparison result, the normal data and abnormal data annotations of the category grouping data are obtained.
3. According to the security risk assessment method of power metering data described in claim 1, It is characterized in that The S2 further includes: S301, calculating the risk impact value corresponding to each abnormal data according to each abnormal data of each category group and the risk coefficient corresponding to the abnormal data; S302. Obtain a natural ranking of the risk impact values of multiple groups of different categories according to the risk impact values of multiple abnormal data grouped in each category.
4. According to the method for security risk assessment of power metering data as described in claim 1, It is characterized in that The S3 includes: S401, calculating and obtaining the comprehensive risk value of each abnormal data in each category grouping according to the ranking of the abnormal data in the natural ranking of the risk coefficient and the natural ranking of the risk impact value; S402. Obtain a natural ranking of the comprehensive hazard values according to the size of the comprehensive hazard values, generate a data processing priority according to the natural ranking of the comprehensive hazard values, and perform hierarchical processing on the power metering data grouped in multiple categories according to the data processing priority.
5. A security risk assessment system for power metering data, It is characterized in that The system comprises: A grouping value acquisition module is used to collect power metering data, standardize the power metering data according to the data type, obtain category groups, and calculate and obtain abnormal data of the power metering data at the daily power consumption time node according to the category groups; The category grouping includes power generation data, power consumption data, power grid data and energy data; A calculation and sorting module, used to calculate the risk coefficient of the abnormal data according to the abnormal data, obtain the natural sorting of the risk coefficient of each category grouping according to the calculation result, calculate the risk impact value of the abnormal data according to the abnormal data combined with the risk coefficient of the abnormal data, and obtain the natural sorting of the risk impact value of each category grouping according to the calculation result; Wherein, the calculation and sorting module includes: A data setting module, used for calculating the risk coefficient of each abnormal data according to each abnormal data grouped in each category; A risk coefficient natural sorting module is used to obtain the natural sorting of risk coefficients of multiple different category groups according to the risk coefficient size of multiple abnormal data grouped in each category; The calculation formula of the risk factor is: Among them, F is the risk factor, d 1q is the abnormal data at a specific time node q, H dq is the power consumption of abnormal data at a specific time node q, d 1i is the abnormal data of the i-th time node of the category grouping, H di is the power consumption of the abnormal data of the i-th time node of the category grouping, and G is the average failure rate of each type of electrical equipment corresponding to the abnormal data in every two time nodes in the category grouping; The calculation formula of the risk impact value is: Among them, Y F is the risk impact value, F is the risk coefficient of abnormal data, n is the total number of days for risk assessment of power metering data, L Tae is the abnormal data value corresponding to the abnormal data at time node a on the specific date e to be evaluated, L 1ai is the abnormal data value of the abnormal data corresponding to the a time node on the ith day in the total number of days for risk assessment of power metering data, T x is the actual time to process the abnormal data value, T z It is the preset time for processing abnormal data; time node a is the specific time node for calculating the risk impact value of each day in the total number of risk assessment days; The ranking processing module is used to calculate the comprehensive risk value of each abnormal data according to the natural sorting of risk coefficients and risk impact values, generate data priority processing levels according to the comprehensive risk values, and perform hierarchical processing on power metering data grouped in multiple categories.
6. According to the security risk assessment system for power metering data of claim 5, It is characterized in that The grouping value module includes: A grouping module is used to collect power metering data from power consumption terminals, pre-process the power metering data, and group the power metering data into different categories according to different data types to obtain multiple category groups; The comparison module is used to calculate the difference between the historical mean of the category grouping data at the same time node of each evaluation date and all historical dates with the peak time point and the trough time point of electricity consumption of each day as the time node, compare the difference with the preset difference threshold, and obtain the comparison result. The comparison result is the data anomaly. The normal data and abnormal data annotation of the category grouping data are obtained according to the comparison result.
7. According to claim 5, a security risk assessment system for power metering data, It is characterized in that The calculation and sorting module also includes: A data combining module, used to calculate the risk impact value corresponding to each abnormal data according to each abnormal data of each category grouping and the risk coefficient corresponding to the abnormal data; The impact value sorting module is used to obtain the natural sorting of the risk impact values of multiple different category groups according to the risk impact values of multiple abnormal data grouped in each category.
8. According to the security risk assessment system for power metering data of claim 5, It is characterized in that The ranking processing module includes: A ranking module is used to rank the abnormal data in the natural ranking of risk coefficient and the natural ranking of risk impact value, and calculate and obtain the comprehensive risk value of each abnormal data in each category grouping; The hierarchical processing module is used to obtain the natural ranking of the comprehensive hazard values according to the size of the comprehensive hazard values, generate data processing priorities according to the natural ranking of the comprehensive hazard values, and hierarchically process the power metering data grouped in multiple categories according to the data processing priorities.
