Digital plan generation method for rapid and accurate early warning response based on big data analysis

Through big data analysis and Bayesian optimized LightGBM model, multi-source data is integrated for power grid risk assessment and early warning response, which solves the problem of inaccurate risk assessment caused by a single data source in the existing technology, and improves the timeliness of early warning and the effectiveness of plans. Adaptability.

CN118761632AInactive Publication Date: 2024-10-11STATE GRID SHANDONG ELECTRIC POWER CO

Patent Information

Application Number
CN202411237528.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing power grid early warning response methods rely on a single data source and cannot fully integrate and utilize multi-source data, resulting in insufficiently comprehensive and accurate risk assessments and affecting the timeliness and accuracy of early warnings.

Method used

Using a method based on big data analysis, we build a risk assessment model through data collection and integration, and Bayesian optimized lightweight gradient boosting machine LightGBM, set flexible early warning rules, and generate personalized digital plans when the early warning is triggered. Continuously optimize plans to improve adaptability.

Benefits of technology

It achieves a more accurate assessment and early warning response to the potential risks of the power grid, improves the timeliness of early warning and the efficiency and quality of the plan, and ensures the safe and stable operation of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761632A_ABST
    Figure CN118761632A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of digital plan generation, in particular to a rapid and accurate early warning response digital plan generation method based on big data analysis. The method comprises the following steps: firstly, collecting data from multiple sources and preprocessing the data to construct a big data resource library; then constructing a risk assessment model by using a Bayesian optimized LightGBM, and carrying out quantitative assessment on potential risks; setting a flexible early warning rule; when early warning is triggered, a personalized digital plan is generated in combination with real-time data and a risk assessment result; and finally, continuously collecting real-time data, and timely optimizing and adjusting the plan. According to the method, risks can be evaluated more accurately, accurate early warning can be given out in time, personalized plans are generated, the effectiveness and adaptability of the plans are ensured, the efficiency and quality of power grid early warning response and plan generation are improved, and powerful support is provided for guaranteeing safe and stable operation of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital emergency plan generation, and in particular to a digital emergency plan generation method for rapid and accurate early warning response based on big data analysis. Background Art

[0002] In the operation of the power grid, various emergencies and potential risks pose a serious threat to the safe and stable operation of the power grid. In order to ensure the reliable power supply of the power grid, rapid and accurate early warning response and scientific and effective digital plan generation are essential. However, existing methods usually have a single data source and only rely on limited monitoring data for analysis. They cannot fully integrate and utilize multi-source data, resulting in an incomplete and inaccurate assessment of potential risks. In addition, the risk assessment model is not accurate enough, and it is difficult to accurately quantify the level and possibility of risks, which affects the timeliness and accuracy of the early warning response.

[0003] With the continuous expansion of the scale of power grids and the improvement of their intelligence level, the application of big data technology in power grids is becoming more and more extensive. By integrating multi-source data such as sensor data, power grid operation data, geographic information data, meteorological data, and social media data, we can have a more comprehensive understanding of the operating status and potential risks of the power grid. Based on these needs and challenges in the field of power grids, the present invention proposes a method for generating digital plans for power grids with fast and accurate early warning responses based on big data analysis, which improves the efficiency and quality of early warning responses and plan generation, and provides strong support for ensuring social security and stability. Summary of the invention

[0004] In response to the above-mentioned technical problems existing in the power grid early warning response and digital plan, the present invention proposes a method for generating a power grid digital plan for fast and accurate early warning response based on big data analysis.

[0005] In order to achieve the above object, the technical solution adopted by the present invention comprises the following steps:

[0006] S1. The first step is data collection and integration. Collect data from multiple sources, use data preprocessing technology to integrate multi-source data into a unified format, and build a comprehensive big data resource library.

[0007] S2. Then, we use the Bayesian optimized lightweight gradient boosting machine LightGBM to build a risk assessment model, consider multiple factors, quantitatively assess potential risks, and determine the level and possibility of risks;

[0008] S3. Next is the setting of early warning rules. Flexible early warning rules are set according to risk assessment results and actual needs.

[0009] S4. Then, when the warning is triggered, the pre-made plan template is automatically called, and combined with real-time data and risk assessment results, a personalized digital plan is quickly generated;

[0010] S5. Finally, continue to collect real-time data and optimize and adjust the plan in a timely manner based on the evaluation results to ensure the effectiveness and adaptability of the plan;

[0011] The implementation process of step S2 using the Bayesian optimized lightweight gradient boosting machine LightGBM is as follows:

[0012] S21. First, the collected data set is divided into training set, test set and validation set, with the training set accounting for 70%, the test set accounting for 15%, and the validation set accounting for 15%;

[0013] S22. Next, build the initial LightGBM model and select a suitable loss function L ( i ) =− 1 N ∑ i = 1 N [ y i log( p i ) + ( 1 − y i )log( 1 − p i )] in, is the true value, is the probability predicted by the model, N is the total number of samples, It is a hyperparameter in LightGBM;

[0014] S23, then define the parameter space, and define the hyper parameters, the number of leaf nodes num_leaves, the maximum tree depth max_depth, the learning rate learning_rate, the feature subsampling rate feature_fraction, the sample subsampling rate bagging_fraction, the L1 regularization coefficient lambda_l1, the L2 regularization coefficient lambda_l2, the minimum number of leaf node samples min_child_sample, the minimum leaf node sample weight and min_child_weight, and the subsample rate subsample;

[0015] S24. Next, randomly select the initial parameter combination in the parameter space for model training and calculate the objective function value. Based on the Gaussian process, construct the objective function The probability model of , the updated prediction distribution is Where D is the known sampling data, are the predicted mean and variance respectively;

[0016] S25. Finally, select the next set of parameters based on the expected improvement criteria IE ( i ) = E [max( f ( i ′ ) − f ( i ), 0 )] in, is the current optimal objective function value, is the optimal parameter combination, ensuring that the improvement is calculated only when the new sampling point brings improvement, otherwise it is zero.

[0017] Preferably, it is characterized in that the data collected from multiple sources in step S1 include sensor data, social media data, historical event data, geographic information data and meteorological data.

[0018] Preferably, the step S1 uses data preprocessing technology including:

[0019] S11. First, when dealing with missing values, use the k-nearest neighbor method to fill in the missing values ​​using the features of similar samples;

[0020] S12, secondly, identify outliers through the statistical method Z-score, convert data types, and unify data types;

[0021] S13, then use the common identifier to connect the data to ensure that the data between data sources are correctly matched; unify the classification names of different data sources;

[0022] S14, then identify and remove duplicate data through text similarity calculation;

[0023] S15. Finally, the processed data is standardized and normalized.

[0024] Preferably, the step S2 is to quantitatively evaluate the potential risk and determine the level and possibility of the risk by first predicting the risk score. Where X is the input feature vector, are the optimized model parameters, is the risk score predicted by the model; the risk probability is ; Then, based on the predicted risk probability P, a threshold is set to classify the risk into different levels. For low risk, For medium risk, For high risk.

[0025] Preferably, the setting of the warning rules in step S3 includes risk threshold, trigger condition, and warning level, to ensure that an accurate warning signal can be issued in a timely manner when the risk reaches a certain level.

[0026] Preferably, the process of generating a personalized digital plan in step S4 is to first call a pre-made plan template library and select a plan template that matches the current risk type; input real-time data into the Bayesian optimized LightGBM model to update the current risk level and the assessment of the possibility of occurrence; and according to the model evaluation results, adjust the response strategy, resource allocation and other contents of the plan in a personalized manner to ensure that the plan matches the actual risk.

[0027] Compared with the prior art, the advantages and positive effects of the present invention are:

[0028] 1. The risk assessment model is built using the Bayesian optimized lightweight gradient boosting machine LightGBM, which can efficiently process large-scale data. Bayesian optimization can automatically search for the optimal hyperparameter combination to improve model performance and accuracy, thereby more accurately assessing the level and possibility of risk.

[0029] 2. Set flexible early warning rules based on risk assessment results and actual needs, including risk thresholds, trigger conditions and warning levels, to ensure that accurate early warning signals can be issued in a timely manner when the risk reaches a certain level, thereby improving the timeliness and accuracy of the early warning.

[0030] 3. During the implementation of the plan, real-time data is continuously collected and evaluated, and the plan is optimized and adjusted in a timely manner to ensure the effectiveness and adaptability of the plan, so that the emergency response is transformed from a static plan to a dynamic decision, thereby improving the efficiency and accuracy of the digital plan in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A structural flow chart of a method for generating a digital plan for rapid and accurate early warning response based on big data analysis provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described below in conjunction with embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0034] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways than those described herein. Therefore, the present invention is not limited to the specific embodiments of the following disclosure.

[0035] Embodiment: During the operation of the power grid, there are various emergencies and potential risks, such as equipment failure, natural disasters, human operational errors, etc. These risks pose a serious threat to the safe and stable operation of the power grid. In order to ensure the reliable power supply of the power grid, it is necessary to establish a fast and accurate early warning response power grid digital plan generation method. First, sensor data, social media data, historical event data, geographic information data and meteorological data are collected from multiple sources, and data preprocessing technology is used. First, when processing missing values, the k-nearest neighbor method is used to fill in the missing values ​​through the characteristics of similar samples; secondly, the statistical method Z value Z-score is used to identify abnormal values; data type conversion is performed to unify data types; then a common identifier is used for data connection to ensure that the data between data sources are correctly matched; the classification names of different data sources are unified; then the duplicate data is identified and removed through text similarity calculation; finally, the processed data is standardized and normalized. Through the above operations, a comprehensive big data resource library is constructed to improve the quality, integration and availability of data.

[0036] Taking into further consideration the construction of the prediction model and how to ensure its prediction quality, the present invention uses the Bayesian optimized lightweight gradient boosting machine LightGBM to construct a risk assessment model. LightGBM can efficiently process large-scale data and is suitable for the integration and analysis of multi-source data. Bayesian optimization can automatically search for the optimal hyperparameter combination, improve the performance and accuracy of the model, and thus more accurately assess risks. The lightweight gradient boosting machine LightGBM using Bayesian optimization is to first divide the collected data set into a training set, a test set, and a validation set, with the training set being 70%, the test set being 15%, and the validation set being 15%; secondly, construct the initial LightGBM model and select a suitable loss function L ( i ) =− 1 N ∑ i = 1 N [ y i log( p i ) + ( 1 − y i )log( 1 − p i )] in, is the true value, is the probability predicted by the model, N is the total number of samples, It is the hyperparameter in LightGBM; then define the parameter space, define the hyperparameters, the number of leaf nodes num_leaves, the maximum tree depth max_depth, the learning rate learning_rate, the feature subsampling rate feature_fraction, the sample subsampling rate bagging_fraction, the L1 regularization coefficient lambda_l1, the L2 regularization coefficient lambda_l2, the minimum number of leaf node samples min_child_sample, the minimum leaf node sample weight and min_child_weight, the subsample rate subsample; next, randomly select the initial parameter combination in the parameter space for model training, and calculate the objective function value, based on the Gaussian process, construct the objective function The probability model of , the updated prediction distribution is Where D is the known sampling data, are the predicted mean and variance respectively; finally, the next set of parameters is selected based on the expected improvement criterion IE ( i ) = E [max( f ( i ′ ) − f ( i ), 0 )] in, is the current optimal objective function value, The optimal parameter combination ensures that the improvement is calculated only when the new sampling point brings improvement, otherwise it is zero. After completing the construction of the model, various factors are considered to quantitatively evaluate the potential risks and determine the level and possibility of the risks. First, predict the risk score Where X is the input feature vector, are the optimized model parameters, is the risk score predicted by the model; the risk probability is ; Then, based on the predicted risk probability P, a threshold is set to classify the risk into different levels. For low risk, For medium risk, For high risk.

[0037] Next, the setting of early warning rules is a crucial link. In this process, we will fully rely on the results of risk assessment and closely combine with actual needs to set flexible and diverse early warning rules, including risk thresholds, trigger conditions, and early warning levels, to ensure that accurate early warning signals can be issued in a timely manner when the risk reaches a certain level. In this way, we can ensure that the early warning system can accurately send out early warning signals when facing different situations. When the early warning is triggered, the pre-established plan template library is called first, and the plan template that matches the current risk type is selected; the real-time data is input into the Bayesian optimized LightGBM model to update the current risk level and the possibility of occurrence assessment; according to the model evaluation results, the response strategy, resource allocation and other contents of the plan are adjusted in a personalized manner to ensure that the plan matches the actual risk and quickly generate a personalized digital plan.

[0038] Finally, during the execution of the plan, continuous collection and analysis of real-time data is a key step to ensure the effectiveness and adaptability of the plan. By constantly monitoring the latest status of the external environment and internal systems, the system can obtain the most cutting-edge information and immediately feed this data into the risk assessment model. This dynamic process allows the system to quickly optimize and adjust the plan based on the real-time evaluation results. When new data indicates that the risk level has increased or the situation has changed, the response strategy, resource allocation, and operational procedures can be adjusted in a timely manner. This continuous optimization mechanism ensures that the plan is not only effective in the initial stage, but also remains adaptable throughout the response process, and can flexibly respond to changing risk situations and avoid response failures caused by environmental changes. The main advantage of this approach is that it transforms emergency response from static planning to dynamic decision-making, ensuring the efficiency and accuracy of digital plans in practical applications.

[0039] The above description is only a preferred embodiment of the present invention and does not limit the present invention in other forms. Any technician familiar with the profession may use the technical content disclosed above to change or modify it into an equivalent embodiment with equivalent changes and apply it to other fields. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A digital emergency plan generation method for rapid and accurate early warning response based on big data analysis, characterized in that: The following steps are involved: S1. The first step is data collection and integration. Collect data from multiple sources, use data preprocessing technology to integrate multi-source data into a unified format, and build a comprehensive big data resource library. S2. Then, we use the Bayesian optimized lightweight gradient boosting machine LightGBM to build a risk assessment model, consider multiple factors, quantitatively assess potential risks, and determine the level and possibility of risks; S3. Next is the setting of early warning rules. Flexible early warning rules are set according to risk assessment results and actual needs. S4. Then, when the warning is triggered, the pre-made plan template is automatically called, and combined with real-time data and risk assessment results, a personalized digital plan is quickly generated; S5. Finally, continue to collect real-time data and optimize and adjust the plan in a timely manner based on the evaluation results to ensure the effectiveness and adaptability of the plan; The implementation process of step S2 using the Bayesian optimized lightweight gradient boosting machine LightGBM is as follows: S21. First, the collected data set is divided into training set, test set and validation set, with the training set accounting for 70%, the test set accounting for 15%, and the validation set accounting for 15%; S22. Next, build the initial LightGBM model and select a suitable loss function in, is the true value, is the probability predicted by the model, N is the total number of samples, It is a hyperparameter in LightGBM; S23, then define the parameter space, and define the hyper parameters, the number of leaf nodes num_leaves, the maximum tree depth max_depth, the learning rate learning_rate, the feature subsampling rate feature_fraction, the sample subsampling rate bagging_fraction, the L1 regularization coefficient lambda_l1, the L2 regularization coefficient lambda_l2, the minimum number of leaf node samples min_child_sample, the minimum leaf node sample weight and min_child_weight, and the subsample rate subsample; S24. Next, randomly select the initial parameter combination in the parameter space for model training and calculate the objective function value. Based on the Gaussian process, construct the objective function The probability model of , the updated prediction distribution is Where D is the known sampling data, are the predicted mean and variance respectively; S25. Finally, select the next set of parameters based on the expected improvement criteria in, is the current optimal objective function value, is the optimal parameter combination, ensuring that the improvement is calculated only when the new sampling point brings improvement, otherwise it is zero.

2. According to claim 1, a method for generating a digital emergency plan for rapid and accurate early warning response based on big data analysis is characterized in that: The step S1 collects data from multiple sources including sensor data, social media data, historical event data, geographic information data, and meteorological data.

3. According to claim 1, a method for generating a digital emergency plan for rapid and accurate early warning response based on big data analysis is characterized in that: The step S1 uses data preprocessing technology including: S11. First, when dealing with missing values, use the k-nearest neighbor method to fill in the missing values ​​using the features of similar samples; S12, secondly, identify outliers through the statistical method Z-score, convert data types, and unify data types; S13, then use the common identifier to connect the data to ensure that the data between data sources are correctly matched; unify the classification names of different data sources; S14, then identify and remove duplicate data through text similarity calculation; S15. Finally, the processed data is standardized and normalized.

4. According to claim 1, a method for generating a digital emergency plan for rapid and accurate early warning response based on big data analysis is characterized in that: The process of quantitatively evaluating the potential risk and determining the level and possibility of the risk in step S2 is to first predict the risk score. Where X is the input feature vector, are the optimized model parameters, is the risk score predicted by the model; the risk probability is ; Then, based on the predicted risk probability P, a threshold is set to classify the risk into different levels. For low risk, For medium risk, For high risk.

5. According to claim 1, a method for generating a digital emergency plan for rapid and accurate early warning response based on big data analysis is characterized in that: The setting of the warning rules in step S3 includes risk threshold, trigger conditions, and warning level, to ensure that accurate warning signals can be issued in a timely manner when the risk reaches a certain level.

6. According to claim 1, a method for generating a digital emergency plan for rapid and accurate early warning response based on big data analysis is characterized in that: The process of generating a personalized digital plan in step S4 is to first call a pre-made plan template library and select a plan template that matches the current risk type; input real-time data into the Bayesian optimized LightGBM model to update the current risk level and the likelihood of occurrence assessment; and according to the model evaluation results, adjust the response strategy, resource allocation and other contents of the plan in a personalized manner to ensure that the plan matches the actual risk.

Citation Information

Patent Citations

  • Access control method based on block chain and risk assessment

    CN116633615A

  • Alarm information processing method and risk level identification model training method

    CN117767541A

  • Road construction safety monitoring method and system

    CN118094396A

  • Typhoon influence range prediction and early warning method, device, equipment and medium

    CN118297395A

  • Meteorological disaster risk assessment and prevention method based on artificial intelligence

    CN118350630A

Cited By

  • Regional atmospheric waveguide real-time detection method and system based on multi-source data fusion

    CN120802244A

  • Graphite purification method and system based on gradient density separation

    CN120922864A

  • Graphite purification method and system based on gradient density separation

    CN120922864B