A big data analysis system and method for dynamic visualization management of energy
The big data analysis system dynamically manages energy usage, detects and traces abnormal changes, and identifies energy theft, solving the problem of low efficiency of traditional energy management and achieving intelligent and real-time response to energy management.
Patent Information
- Application Number
- CN202410942032.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-15
AI Technical Summary
Traditional energy management methods are inefficient, difficult to respond and dynamically adjust in real time, and cannot detect energy theft issues in a timely manner, resulting in increased energy utilization.
Use a big data analysis system to divide areas by obtaining energy monitoring information, analyze energy usage, perform energy saving optimization and abnormality detection, trace the source of abnormality, and determine energy theft. Use generative adversarial networks and Markov chain models to detect energy abnormality. , combined with YOLOv5 algorithm for abnormal person detection.
It improves the comprehensiveness and intelligence of energy management, realizes real-time monitoring and data mining, provides scientific basis for energy management, avoids energy theft, and optimizes energy utilization.
Smart Images

Figure CN118469760B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy management technology, and in particular to a big data analysis system and method for dynamic visualization management of energy. Background Art
[0002] With the continuous increase in global energy demand and the growing awareness of environmental protection, energy management has become increasingly important. Traditional energy management methods mainly rely on manual monitoring and historical data analysis, which is not only inefficient, but also difficult to respond to and adjust dynamically in real time. At the same time, energy theft cannot be discovered in time, resulting in a significant increase in energy utilization.
[0003] With the rapid development of the Internet of Things (IoT), big data and artificial intelligence technologies, big data analysis technology can process and analyze massive amounts of data from different sources, provide scientific basis and optimization solutions for energy management through real-time monitoring and data mining, and effectively monitor large energy fluctuations to avoid energy theft. Therefore, how to improve the comprehensiveness and intelligence of energy management is an important issue. Summary of the invention
[0004] The present invention overcomes the defects of the prior art and provides a big data analysis system and method for dynamic visualization management of energy, an important purpose of which is to improve the comprehensiveness and intelligence of energy management.
[0005] To achieve the above-mentioned purpose, the present invention provides a big data analysis method for dynamic visualization management of energy in a first aspect, comprising:
[0006] Obtain energy monitoring information, divide energy monitoring areas, and analyze energy usage in each area to obtain energy usage analysis information;
[0007] Performing regional energy utilization analysis based on the energy usage status analysis information and performing energy saving optimization;
[0008] Based on the energy monitoring information, energy abnormality detection is performed on the energy monitoring area to obtain energy abnormality detection information;
[0009] Tracing the source of the energy anomaly according to the energy anomaly detection information, and regulating the source of the anomaly;
[0010] It is determined whether energy theft occurs based on the energy anomaly detection information. If energy theft occurs, regional monitoring image information is obtained to perform abnormal personnel detection.
[0011] In this solution, the energy monitoring information is obtained, the energy monitoring area is divided, and the energy usage status in each area is analyzed, specifically including:
[0012] Monitor the target area to obtain energy monitoring information, divide the target area into several sub-areas, extract the equipment used in each sub-area and obtain the energy consumption specification information of each equipment used;
[0013] Preset an energy consumption level judgment threshold, judge the energy consumption specification information of each device with the energy consumption level judgment threshold, define the energy consumption level of the device in each sub-area, and obtain the device energy consumption level information;
[0014] According to the equipment energy consumption level information, each sub-area is divided into energy consumption levels, a weighted average calculation is performed based on the equipment energy consumption level in each sub-area, and the energy consumption level of the sub-area is defined according to the calculation result to obtain first analysis information;
[0015] Extracting energy consumption characteristics of each sub-region according to the energy monitoring information to form a regional energy consumption curve graph and a regional equipment energy consumption curve graph;
[0016] Analyze the energy consumption trend of each sub-region per unit time based on the regional energy consumption curve graph, extract the energy consumption per unit time of each device based on the regional equipment energy consumption curve graph, make a judgment with a preset threshold, and analyze the working cycle of each device according to the judgment result to obtain second analysis information;
[0017] The first analysis information and the second analysis information are combined to form energy usage status analysis information.
[0018] In this solution, the regional energy utilization analysis is performed based on the energy usage status analysis information, and energy saving optimization is performed, specifically including:
[0019] Acquire energy usage status analysis information, extract equipment working cycle characteristics of each sub-area according to the energy usage status analysis information, perform equipment working habit analysis, and obtain equipment working habit analysis information;
[0020] Preset energy efficiency indicators, take sub-regions as decision-making units, and energy consumption as input indicators to build a DEA model. Calculate the energy consumption of each sub-region in each time period based on the energy usage status analysis information, and input it into the DEA model to analyze the energy utilization efficiency of each sub-region;
[0021] The energy efficiency level threshold is preset, and the energy efficiency score of each sub-region in each time period is obtained through the constructed DEA model, and the total energy efficiency score of each sub-region is obtained by weighted average calculation, and the total energy efficiency score of each sub-region is judged with the energy efficiency level threshold, the energy efficiency level of each sub-region is defined, and the energy efficiency level analysis information is obtained;
[0022] Extracting low energy efficiency level sub-areas according to the energy efficiency level analysis information, obtaining production demand information of low energy efficiency level sub-areas, and extracting production volume characteristics and working mode characteristics of low energy efficiency level sub-areas;
[0023] Obtaining a benchmark production volume of each working mode according to the extracted working mode characteristics, calculating the extracted production volume characteristics with the benchmark production volume to obtain the production volume deviation of each time period, and obtaining the production volume deviation information;
[0024] Calculate the ratio of the production volume deviation information to the corresponding benchmark production volume, and make a judgment with a preset threshold, and select the optimizable time period according to the judgment result to obtain the optimizable time period information;
[0025] The working mode is adapted through the production deviation information, the optimization time is determined according to the optimizable time period information, the equipment is controlled through the equipment working habit analysis information, and an energy-saving optimization plan is formulated to control energy utilization.
[0026] In this solution, the energy abnormality detection is performed on the energy monitoring area based on the energy monitoring information to obtain the energy abnormality detection information, which specifically includes:
[0027] Building an energy anomaly detection model based on a generative adversarial network, acquiring historical energy monitoring information, and extracting a normal energy utilization curve according to the historical energy monitoring information to form a first data set;
[0028] Constructing a training data set according to the first data set to train the energy anomaly detection model, introducing a Markov chain to optimize the model, constructing an energy state space through the first data set, and calculating the state transition probability of each state in the energy state space;
[0029] A state transfer matrix is constructed according to the calculated state transfer probability, a loss function is preset and a state transfer constraint is set according to the state transfer matrix, and a generated sequence that does not conform to the state transfer matrix is penalized by the state transfer constraint;
[0030] A discrimination rule is set based on the state transfer matrix, a generated sequence of the generator is obtained for consistency discrimination, and a transfer score of the generated sequence is calculated according to the state transfer matrix to determine whether to accept the target generated sequence and perform discriminator training;
[0031] Obtain the received sequence, calculate the reconstruction error with the original sequence, set the error judgment threshold, judge the calculated reconstruction error with the error judgment threshold, generate the anomaly detection result according to the judgment result, and obtain the energy anomaly detection model that meets the expectations;
[0032] Energy monitoring information is obtained and input into the energy change detection model to perform energy change detection to obtain energy change detection information.
[0033] In this solution, the abnormality tracing is performed based on the energy abnormality detection information, and the abnormality source is regulated, specifically including:
[0034] Acquire energy anomaly detection information, perform feature extraction on the energy anomaly detection information, extract anomaly degree features and anomaly area features, and obtain energy anomaly feature information;
[0035] According to the energy change feature information, the equipment information in the change area is obtained, and attribute feature extraction is performed, and category division is performed based on a clustering algorithm, and the category division is performed according to the energy consumption attribute of each device in the change area to obtain category division information;
[0036] Calculate the Mahalanobis distance between the energy change characteristic information and the classification information, and make a judgment with a preset threshold, perform a correlation analysis, and obtain correlation analysis information;
[0037] Calculate the energy consumption per unit time of each device in the abnormal area, and perform abnormal traceability based on the correlation analysis information to obtain abnormal traceability information;
[0038] Based on the abnormal traceability information, an early warning of abnormal energy consumption is issued, and a control plan is formulated for control.
[0039] In this solution, judging whether energy theft occurs based on the energy anomaly detection information, if energy theft occurs, obtaining regional monitoring image information and performing abnormal personnel detection specifically includes:
[0040] Obtain energy anomaly detection information, calculate the energy anomaly degree according to the energy anomaly detection information, and compare it with the preset threshold to analyze whether energy theft occurs. If energy theft occurs, analyze the energy theft area and the theft personnel;
[0041] Acquire regional monitoring image information, perform target detection based on the YOLOv5 algorithm, extract features from the regional monitoring image information, acquire features of different scales to generate an initial feature map, acquire the attention score of each feature through the attention mechanism and generate an attention feature map;
[0042] Constructing a feature pyramid network to fuse the initial feature map and the attention feature map, performing target detection and region locking according to the fused feature map, and obtaining target detection information;
[0043] Perform image segmentation based on the target detection information to obtain a detection target image, perform a two-dimensional Gabor wavelet transform on the detection target image, perform feature extraction on the transformed image, and obtain target image feature information;
[0044] Perform wavelet packet segmentation on the transformed image to segment the image into wavelet signals of different frequency bands, obtain regional features of different frequency bands and calculate the information entropy of each feature, determine whether to extract it based on the information entropy of each feature, and obtain regional feature information;
[0045] Constructing an energy theft behavior analysis model, inputting the target image feature information and the region feature information into the energy theft behavior analysis model for analysis, and obtaining energy theft behavior analysis information;
[0046] Based on the energy theft behavior analysis information, an early warning of the cause of energy changes is issued.
[0047] A second aspect of the present invention provides a big data analysis system for dynamic visualization management of energy, the system comprising: a memory, a processor, the memory containing a big data analysis method program for dynamic visualization management of energy, the big data analysis method program for dynamic visualization management of energy implementing the following steps when executed by the processor:
[0048] Obtain energy monitoring information, divide energy monitoring areas, and analyze energy usage in each area to obtain energy usage analysis information;
[0049] Performing regional energy utilization analysis based on the energy usage status analysis information and performing energy saving optimization;
[0050] Based on the energy monitoring information, energy abnormality detection is performed on the energy monitoring area to obtain energy abnormality detection information;
[0051] Tracing the source of the energy anomaly according to the energy anomaly detection information, and regulating the source of the anomaly;
[0052] It is determined whether energy theft occurs based on the energy anomaly detection information. If energy theft occurs, regional monitoring image information is obtained to perform abnormal personnel detection.
[0053] The present invention discloses a big data analysis system and method for dynamic visualization management of energy, including: obtaining energy monitoring information, dividing energy monitoring areas, and analyzing the energy usage status in each area to obtain energy usage status analysis information; performing regional energy utilization analysis based on the energy usage status analysis information, and performing energy saving optimization; performing energy change detection on the energy monitoring area based on the energy monitoring information to obtain energy change detection information; tracing the change source based on the energy change detection information, and regulating the change source; judging whether energy theft occurs based on the energy change detection information, and if energy theft occurs, obtaining regional monitoring image information and performing abnormal personnel detection. Through real-time monitoring and data mining, a scientific basis and optimization plan are provided for energy management, and effective monitoring can be performed for large energy changes to avoid energy theft. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments or exemplary embodiments of the present invention, the drawings required for use in the embodiments or exemplary descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained according to the drawings without paying creative work.
[0055] Figure 1 A flow chart of a big data analysis method for dynamic visualization management of energy provided by an embodiment of the present invention;
[0056] Figure 2 A flow chart of energy change detection provided by an embodiment of the present invention;
[0057] Figure 3 A block diagram of a big data analysis system for dynamic visualization management of energy provided by an embodiment of the present invention;
[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0059] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific 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.
[0060] 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 different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0061] Figure 1 A flow chart of a big data analysis method for dynamic visualization management of energy provided by an embodiment of the present invention;
[0062] like Figure 1 As shown, the present invention provides a flow chart of a big data analysis method for dynamic visualization management of energy, including:
[0063] S102, obtaining energy monitoring information, dividing energy monitoring areas, and analyzing energy usage status in each area to obtain energy usage status analysis information;
[0064] S104, performing regional energy utilization analysis based on the energy usage status analysis information, and performing energy saving optimization;
[0065] S106, performing energy change detection on the energy monitoring area based on the energy monitoring information to obtain energy change detection information;
[0066] S108, tracing the source of the energy abnormality according to the energy abnormality detection information, and regulating the source of the abnormality;
[0067] S110, judging whether energy theft occurs according to the energy abnormality detection information, and if energy theft occurs, acquiring regional monitoring image information and performing abnormal personnel detection.
[0068] It should be noted that the present invention provides a big data analysis system and method for dynamic visualization management of energy. First, energy monitoring information is obtained, the monitoring area is divided and the energy usage status of each area is analyzed, and energy usage status analysis information is generated. Then, regional energy utilization analysis and energy saving optimization are performed based on this information. Next, energy anomaly detection is performed based on the monitoring information, an energy anomaly detection model is constructed by generating an adversarial network, and the model is optimized by Markov chain to obtain energy anomaly detection information. Finally, the anomaly is traced based on the information, and the source of the anomaly is regulated. If energy theft is detected, the regional monitoring image information is obtained and abnormal personnel detection is performed. Through real-time monitoring and data mining, a scientific basis and optimization plan are provided for energy management, and at the same time, effective monitoring can be performed for large-scale energy anomalies to avoid energy theft.
[0069] Furthermore, in a preferred embodiment of the present invention, the energy monitoring information is obtained, the energy monitoring area is divided, and the energy usage status in each area is analyzed, specifically including:
[0070] Monitor the target area to obtain energy monitoring information, divide the target area into several sub-areas, extract the equipment used in each sub-area and obtain the energy consumption specification information of each equipment used;
[0071] Preset an energy consumption level judgment threshold, judge the energy consumption specification information of each device with the energy consumption level judgment threshold, define the energy consumption level of the device in each sub-area, and obtain the device energy consumption level information;
[0072] According to the equipment energy consumption level information, each sub-area is divided into energy consumption levels, a weighted average calculation is performed based on the equipment energy consumption level in each sub-area, and the energy consumption level of the sub-area is defined according to the calculation result to obtain first analysis information;
[0073] Extracting energy consumption characteristics of each sub-region according to the energy monitoring information to form a regional energy consumption curve graph and a regional equipment energy consumption curve graph;
[0074] Analyze the energy consumption trend of each sub-region per unit time based on the regional energy consumption curve graph, extract the energy consumption per unit time of each device based on the regional equipment energy consumption curve graph, make a judgment with a preset threshold, and analyze the working cycle of each device according to the judgment result to obtain second analysis information;
[0075] The first analysis information and the second analysis information are combined to form energy usage status analysis information.
[0076] It should be noted that, first, the energy monitoring information of the target area is obtained, including the usage data of energy such as electricity and water, and the target area is divided into several sub-areas. In each divided sub-area, the information of all the devices used therein is extracted, and the energy consumption specification information of these devices is obtained. The energy consumption specification information refers to the energy consumption parameters of the device when it is working normally. The energy consumption level judgment threshold is preset to measure whether the energy consumption of the device is within the normal range. The energy consumption specification information of each device is compared with this threshold to define the energy consumption level of the device. For example, the three levels of high energy consumption, medium energy consumption and low energy consumption are used to obtain the energy consumption level information of the device. Then, according to the obtained energy consumption level information of the device, the energy consumption level of each sub-area is divided. For the equipment in each sub-area, a weighted average calculation is performed according to its energy consumption level to obtain the comprehensive energy consumption level of the entire sub-area, and the energy consumption level of each sub-area is defined, thereby obtaining the first analysis information. At the same time, the energy consumption characteristics of each sub-area are extracted from the energy monitoring information, including the total consumption in the time period, the peak consumption time, etc., to form a regional energy consumption curve. Similarly, the energy consumption characteristics of each device are extracted to generate a regional device energy consumption curve to reflect the energy consumption of the device and region in different time periods. By analyzing the regional energy consumption curve, the energy consumption trend of each sub-region within a unit time can be understood. For example, the consumption curve of a sub-region shows that the energy consumption of the region is higher in the morning and afternoon. Based on the regional device energy consumption curve, the energy consumption per unit time of each device is extracted and compared with the preset consumption threshold to determine the working status of the device and analyze the working cycle of each device. Thus, the second analysis information is obtained. Finally, the first analysis information and the second analysis information are combined to form energy usage analysis information to help managers fully understand energy usage, identify energy consumption anomalies and optimize energy management strategies.
[0077] Furthermore, in a preferred embodiment of the present invention, performing regional energy utilization analysis based on the energy usage status analysis information and performing energy saving optimization specifically includes:
[0078] Acquire energy usage status analysis information, extract equipment working cycle characteristics of each sub-area according to the energy usage status analysis information, perform equipment working habit analysis, and obtain equipment working habit analysis information;
[0079] Preset energy efficiency indicators, take sub-regions as decision-making units, and energy consumption as input indicators to build a DEA model. Calculate the energy consumption of each sub-region in each time period based on the energy usage status analysis information, and input it into the DEA model to analyze the energy utilization efficiency of each sub-region;
[0080] The energy efficiency level threshold is preset, and the energy efficiency score of each sub-region in each time period is obtained through the constructed DEA model, and the total energy efficiency score of each sub-region is obtained by weighted average calculation, and the total energy efficiency score of each sub-region is judged with the energy efficiency level threshold, the energy efficiency level of each sub-region is defined, and the energy efficiency level analysis information is obtained;
[0081] Extracting low energy efficiency level sub-areas according to the energy efficiency level analysis information, obtaining production demand information of low energy efficiency level sub-areas, and extracting production volume characteristics and working mode characteristics of low energy efficiency level sub-areas;
[0082] Obtaining a benchmark production volume of each working mode according to the extracted working mode characteristics, calculating the extracted production volume characteristics with the benchmark production volume to obtain the production volume deviation of each time period, and obtaining the production volume deviation information;
[0083] Calculate the ratio of the production volume deviation information to the corresponding benchmark production volume, and make a judgment with a preset threshold, and select the optimizable time period according to the judgment result to obtain the optimizable time period information;
[0084] The working mode is adapted through the production deviation information, the optimization time is determined according to the optimizable time period information, the equipment is controlled through the equipment working habit analysis information, and an energy-saving optimization plan is formulated to control energy utilization.
[0085] It should be noted that, first, the energy usage status analysis information is obtained, the equipment working cycle characteristics of each sub-area are extracted, and the equipment working habits are analyzed to obtain the equipment working habits analysis information, so as to understand the working conditions and modes of each equipment in different time periods, so as to identify the equipment usage habits and rules. Then, the energy efficiency index is preset, the sub-area is used as the decision-making unit, and the energy consumption is used as the input index to construct the data envelopment analysis (DEA) model. According to the energy usage status analysis information, the energy consumption of each sub-area in different time periods is calculated, and these data are input into the DEA model to analyze the energy utilization efficiency of each sub-area. The DEA model is a method for evaluating the efficiency of a multi-input and multi-output system, which can compare the performance of different sub-areas in resource utilization. Then, the energy efficiency level threshold is preset, and the energy efficiency score of each sub-area in different time periods is obtained through the constructed DEA model. By performing a weighted average calculation on the energy efficiency score of each time period, the total energy efficiency score of each sub-area is obtained, and compared with the preset energy efficiency level threshold, the energy efficiency level of each sub-area is defined, and the energy efficiency level analysis information is obtained. According to the energy efficiency level analysis information, sub-areas with lower energy efficiency levels are extracted, and the production demand information of these areas is obtained. Extract the production volume characteristics and working mode characteristics of the low energy efficiency level sub-area, understand the production activities and working modes of the low energy efficiency sub-area in detail, and identify possible efficiency improvement space. Subsequently, according to the extracted working mode characteristics, obtain the benchmark production volume under each working mode. Compare the actual production volume characteristics with the benchmark production volume, calculate the production volume deviation of each time period, obtain the production volume deviation information, and identify the deviation from the expected output in the actual production process. According to the production volume deviation information, calculate the ratio of the actual production volume to the benchmark production volume, and compare it with the preset threshold, screen out the time period that can be optimized, and obtain the information of the optimizable time period, that is, in the time period with low production efficiency or insufficient energy utilization, efficiency can be improved by adjustment. Finally, by analyzing the production volume deviation information, adapt the working mode, and determine the specific optimization time according to the optimizable time period information. Use the equipment work habit analysis information to regulate the equipment, formulate an energy-saving optimization plan, and finally achieve effective control of energy utilization. The energy-saving optimization plan can include measures such as adjusting the equipment operation time, optimizing the production process, and improving equipment maintenance, aiming to improve energy utilization efficiency and reduce energy waste.
[0086] Further, in a preferred embodiment of the present invention, the energy abnormality detection is performed on the energy monitoring area based on the energy monitoring information to obtain the energy abnormality detection information, specifically including:
[0087] Building an energy anomaly detection model based on a generative adversarial network, acquiring historical energy monitoring information, and extracting a normal energy utilization curve according to the historical energy monitoring information to form a first data set;
[0088] Constructing a training data set according to the first data set to train the energy anomaly detection model, introducing a Markov chain to optimize the model, constructing an energy state space through the first data set, and calculating the state transition probability of each state in the energy state space;
[0089] A state transfer matrix is constructed according to the calculated state transfer probability, a loss function is preset and a state transfer constraint is set according to the state transfer matrix, and a generated sequence that does not conform to the state transfer matrix is penalized by the state transfer constraint;
[0090] A discrimination rule is set based on the state transfer matrix, a generated sequence of the generator is obtained for consistency discrimination, and a transfer score of the generated sequence is calculated according to the state transfer matrix to determine whether to accept the target generated sequence and perform discriminator training;
[0091] Obtain the received sequence, calculate the reconstruction error with the original sequence, set the error judgment threshold, judge the calculated reconstruction error with the error judgment threshold, generate the anomaly detection result according to the judgment result, and obtain the energy anomaly detection model that meets the expectations;
[0092] Energy monitoring information is obtained and input into the energy change detection model to perform energy change detection to obtain energy change detection information.
[0093] It should be noted that, first, an energy anomaly detection model is constructed based on a generative adversarial network (GAN), and the normal energy utilization curve is extracted using historical energy monitoring information to form a first data set. Next, a training data set is constructed based on the first data set to train the energy anomaly detection model. In this process, a Markov chain is introduced for model optimization. The energy state space is constructed through the first data set, and the state transition probability of each state in the energy state space is calculated to describe the possibility of transitioning from one energy usage state to another. Based on the calculated state transition probability, a state transition matrix is constructed, and a loss function is preset. State transition constraints are added to the loss function to penalize the generated sequence that does not conform to the state transition matrix, ensuring that the sequence generated by the generator conforms to the normal state transition law and improving the authenticity and rationality of the generated data. At the same time, a discrimination rule is set based on the state transition matrix, the generated sequence of the generator is judged for consistency, the transfer score of the generated sequence is calculated according to the state transition matrix, and it is judged whether to accept the target generated sequence, and then the discriminator is trained. Subsequently, the accepted sequence generated by the generator is compared with the original sequence, and the reconstruction error is calculated. An error judgment threshold is set, and the calculated reconstruction error is compared with the threshold to generate anomaly detection results. Through the above steps, an energy anomaly detection model that meets the expectations is obtained. Finally, the energy monitoring information is input into the trained model to perform energy anomaly detection, thereby obtaining energy anomaly detection information. This process can monitor and identify abnormal situations in energy use in real time, helping to take corresponding measures in a timely manner.
[0094] Furthermore, in a preferred embodiment of the present invention, the abnormality tracing is performed according to the energy abnormality detection information, and the abnormality source is regulated, specifically including:
[0095] Acquire energy anomaly detection information, perform feature extraction on the energy anomaly detection information, extract anomaly degree features and anomaly area features, and obtain energy anomaly feature information;
[0096] According to the energy change feature information, the equipment information in the change area is obtained, and attribute feature extraction is performed, and category division is performed based on a clustering algorithm, and the category division is performed according to the energy consumption attribute of each device in the change area to obtain category division information;
[0097] Calculate the Mahalanobis distance between the energy change characteristic information and the classification information, and make a judgment with a preset threshold, perform a correlation analysis, and obtain correlation analysis information;
[0098] Calculate the energy consumption per unit time of each device in the abnormal area, and perform abnormal traceability based on the correlation analysis information to obtain abnormal traceability information;
[0099] Based on the abnormal traceability information, an early warning of abnormal energy consumption is issued, and a control plan is formulated for control.
[0100] It should be noted that, first, energy anomaly detection information is obtained, and feature extraction is performed on this information, and the anomaly degree feature and anomaly area feature are extracted to generate energy anomaly feature information. Thus, the degree of abnormal energy use and the approximate area of occurrence are described, providing a basis for further analysis. Next, according to the extracted energy anomaly feature information, the device information in the anomaly area is obtained, and attribute feature extraction is performed on these devices. Based on these attribute features, the clustering algorithm is used to classify the devices, and the devices are divided into different categories according to the energy consumption attributes of each device in the anomaly area, so as to obtain the category classification information. Then, the Mahalanobis distance between the energy anomaly feature information and the category classification information is calculated, and the calculation result is compared with the preset threshold to determine the degree of association between the anomaly feature and the device category, so as to obtain the correlation analysis information. Next, the energy consumption per unit time of each device in the anomaly area is calculated. Combined with the previously obtained correlation analysis information, the anomaly is traced, the specific source device of the abnormal energy consumption is identified, and the anomaly traceability information is obtained. Finally, based on the abnormal traceability information, early warnings are issued for abnormal energy consumption, and corresponding control plans are formulated for control, including equipment operating parameter adjustments, maintenance or optimization of energy use strategies for identified abnormal equipment and areas, so as to reduce abnormal energy consumption and improve overall energy utilization efficiency.
[0101] Furthermore, in a preferred embodiment of the present invention, judging whether energy theft occurs according to the energy anomaly detection information, and if energy theft occurs, obtaining regional monitoring image information and performing abnormal personnel detection specifically includes:
[0102] Obtain energy anomaly detection information, calculate the energy anomaly degree according to the energy anomaly detection information, and compare it with the preset threshold to analyze whether energy theft occurs. If energy theft occurs, analyze the energy theft area and the theft personnel;
[0103] Acquire regional monitoring image information, perform target detection based on the YOLOv5 algorithm, extract features from the regional monitoring image information, acquire features of different scales to generate an initial feature map, acquire the attention score of each feature through the attention mechanism and generate an attention feature map;
[0104] Constructing a feature pyramid network to fuse the initial feature map and the attention feature map, performing target detection and region locking according to the fused feature map, and obtaining target detection information;
[0105] Perform image segmentation based on the target detection information to obtain a detection target image, perform a two-dimensional Gabor wavelet transform on the detection target image, perform feature extraction on the transformed image, and obtain target image feature information;
[0106] Perform wavelet packet segmentation on the transformed image to segment the image into wavelet signals of different frequency bands, obtain regional features of different frequency bands and calculate the information entropy of each feature, determine whether to extract it based on the information entropy of each feature, and obtain regional feature information;
[0107] Constructing an energy theft behavior analysis model, inputting the target image feature information and the regional feature information into the energy theft behavior analysis model for analysis, and obtaining energy theft behavior analysis information;
[0108] Based on the energy theft behavior analysis information, an early warning of the cause of energy changes is issued.
[0109] It should be noted that, first, energy anomaly detection information is obtained, the degree of energy anomaly is calculated based on this information, and the calculation result is compared with the preset threshold to determine whether there is energy theft. If energy theft is found, the specific area of energy theft and possible theft personnel are further analyzed. Next, regional monitoring image information is obtained, and target detection is performed based on the YOLOv5 algorithm. Feature extraction is performed on the regional monitoring image information, features of different scales are obtained, and an initial feature map is generated. By introducing the attention mechanism, the attention score of each feature is calculated, and an attention feature map is generated to highlight important features. Then, a feature pyramid network is constructed to fuse the initial feature map and the attention feature map. The fused feature map can more accurately reflect the important information in the image. Based on the fused feature map, target detection and regional locking are performed to obtain target detection information. After obtaining the target detection information, the detected target image is further processed. Image segmentation is performed to obtain the detection target image. Two-dimensional Gabor wavelet transform is performed on these target images, and features are extracted from the transformed images to obtain target image feature information. Subsequently, wavelet packet segmentation is performed on the transformed image to segment the image into wavelet signals of different frequency bands. By calculating the information entropy of the regional features of these different frequency bands, we can determine which features need to be extracted, and finally obtain regional feature information, thereby enriching the extracted image feature information. We build an energy theft behavior analysis model, input the target image feature information and regional feature information into the model for analysis, obtain energy theft behavior analysis information, analyze and identify potential energy theft behaviors, and obtain energy theft behavior analysis information. Finally, we issue an early warning based on the energy theft behavior analysis information. This process can help timely discover and respond to energy theft phenomena and ensure the safety and efficiency of energy use.
[0110] Figure 2A flow chart of energy change detection provided by an embodiment of the present invention;
[0111] like Figure 2 As shown, the present invention provides an energy change detection flow chart, including:
[0112] S202, obtaining energy monitoring information, and inputting it into an energy change detection model to perform energy change detection to obtain energy change detection information;
[0113] S204, tracing the energy change source according to the energy change detection information, and determining whether there is energy theft;
[0114] S206, if energy theft occurs, obtain regional monitoring image information, analyze the energy theft area and the theft personnel, perform target detection and obtain target detection information;
[0115] S208, locking the theft area according to the target detection information, acquiring the detection target image, and inputting it into the energy theft behavior analysis model for analysis to obtain energy theft behavior analysis information;
[0116] S210, issuing an early warning of the cause of energy change based on the energy theft behavior analysis information.
[0117] In addition, the present invention provides a big data analysis method for dynamic visualization management of energy, which further includes the following steps:
[0118] Acquire historical energy supply information of a target area, perform feature extraction on the historical energy supply information, acquire energy supply type features, supply degree features, supply environment features, and supply equipment features, and obtain historical energy supply feature information;
[0119] Building an energy supply analysis model based on SARIMA, inputting the historical energy supply characteristic information into the energy supply analysis model to perform energy supply trend analysis, and obtaining energy supply trend analysis information;
[0120] Combining the historical energy supply characteristic information and the energy supply trend analysis information to construct an energy supply profile of the target area, and forming an energy supply database based on the constructed energy supply profile;
[0121] Performing real-time monitoring of energy supply in a target area to obtain real-time energy supply monitoring information, extracting an energy supply portrait of the monitoring area according to the energy supply database, performing similarity calculation with the real-time energy supply monitoring information, and obtaining a similarity value;
[0122] The calculated similarity value is compared with the preset threshold value to determine whether the energy supply in the real-time monitoring area is normal, and the energy supply database is updated;
[0123] If the judgment result is abnormal, it means that there is energy theft in the target monitoring area, and an energy theft warning is issued.
[0124] It should be noted that by analyzing the historical energy supply trends and characteristics of the target area through the historical energy supply information, and further considering the seasonal energy supply influencing factors, a more realistic energy supply situation can be obtained. According to the analysis results, a corresponding energy supply image is constructed to clearly understand the normal energy supply situation in the target area. By constructing an energy supply database and updating it according to real-time monitoring data, when there is a difference between the acquired monitoring data and the energy supply portrait in the database, it means that energy theft has occurred, and then early warning prompts and abnormal personnel detection are carried out to avoid economic damage.
[0125] Figure 3 A big data analysis system 3 for dynamic visualization management of energy is provided in one embodiment of the present invention. The system includes: a memory 31 and a processor 32. The memory 31 contains a big data analysis method program for dynamic visualization management of energy. When the big data analysis method program for dynamic visualization management of energy is executed by the processor 32, the following steps are implemented:
[0126] Obtain energy monitoring information, divide energy monitoring areas, and analyze energy usage in each area to obtain energy usage analysis information;
[0127] Performing regional energy utilization analysis based on the energy usage status analysis information and performing energy saving optimization;
[0128] Based on the energy monitoring information, energy abnormality detection is performed on the energy monitoring area to obtain energy abnormality detection information;
[0129] Tracing the source of the energy anomaly according to the energy anomaly detection information, and regulating the source of the anomaly;
[0130] It is determined whether energy theft occurs based on the energy anomaly detection information. If energy theft occurs, regional monitoring image information is obtained to perform abnormal personnel detection.
[0131] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0132] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0133] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0134] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0135] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0136] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A big data analysis method for dynamic visualization management of energy, characterized in that: include: Obtain energy monitoring information, divide energy monitoring areas, and analyze energy usage in each area to obtain energy usage analysis information; Performing regional energy utilization analysis based on the energy usage status analysis information and performing energy saving optimization; Based on the energy monitoring information, energy abnormality detection is performed on the energy monitoring area to obtain energy abnormality detection information; Tracing the source of the energy anomaly according to the energy anomaly detection information, and regulating the source of the anomaly; Determine whether energy theft occurs based on the energy anomaly detection information. If energy theft occurs, obtain regional monitoring image information and perform abnormal personnel detection. The performing of regional energy utilization analysis and energy-saving optimization according to the energy usage status analysis information specifically includes: Acquire energy usage status analysis information, extract equipment working cycle characteristics of each sub-area according to the energy usage status analysis information, perform equipment working habit analysis, and obtain equipment working habit analysis information; Preset energy efficiency indicators, take sub-regions as decision-making units, and energy consumption as input indicators to build a DEA model. Calculate the energy consumption of each sub-region in each time period based on the energy usage status analysis information, and input it into the DEA model to analyze the energy utilization efficiency of each sub-region; The energy efficiency level threshold is preset, and the energy efficiency score of each sub-region in each time period is obtained through the constructed DEA model, and the total energy efficiency score of each sub-region is obtained by weighted average calculation, and the total energy efficiency score of each sub-region is judged with the energy efficiency level threshold, the energy efficiency level of each sub-region is defined, and the energy efficiency level analysis information is obtained; Extracting low energy efficiency level sub-areas according to the energy efficiency level analysis information, obtaining production demand information of low energy efficiency level sub-areas, and extracting production volume characteristics and working mode characteristics of low energy efficiency level sub-areas; Obtaining a benchmark production volume of each working mode according to the extracted working mode characteristics, calculating the extracted production volume characteristics with the benchmark production volume to obtain the production volume deviation of each time period, and obtaining the production volume deviation information; Calculate the ratio of the production volume deviation information to the corresponding benchmark production volume, and make a judgment with a preset threshold, and select the optimizable time period according to the judgment result to obtain the optimizable time period information; Adapt the working mode through the production deviation information, determine the optimization time according to the optimizable time period information, adjust the equipment through the equipment working habit analysis information, and formulate energy-saving optimization plans to control energy utilization; The energy abnormality detection is performed on the energy monitoring area based on the energy monitoring information to obtain the energy abnormality detection information, specifically including: Building an energy anomaly detection model based on a generative adversarial network, acquiring historical energy monitoring information, and extracting a normal energy utilization curve according to the historical energy monitoring information to form a first data set; Constructing a training data set according to the first data set to train the energy anomaly detection model, introducing a Markov chain to optimize the model, constructing an energy state space through the first data set, and calculating the state transition probability of each state in the energy state space; A state transfer matrix is constructed according to the calculated state transfer probability, a loss function is preset and a state transfer constraint is set according to the state transfer matrix, and a generated sequence that does not conform to the state transfer matrix is penalized by the state transfer constraint; A discrimination rule is set based on the state transfer matrix, a generated sequence of the generator is obtained for consistency discrimination, and a transfer score of the generated sequence is calculated according to the state transfer matrix to determine whether to accept the target generated sequence and perform discriminator training; Obtain the received sequence, calculate the reconstruction error with the original sequence, set the error judgment threshold, judge the calculated reconstruction error with the error judgment threshold, generate the anomaly detection result according to the judgment result, and obtain the energy anomaly detection model that meets the expectations; Energy monitoring information is obtained and input into the energy change detection model to perform energy change detection to obtain energy change detection information.
2. The big data analysis method for dynamic visualization management of energy according to claim 1 is characterized in that: The energy monitoring information is obtained, the energy monitoring area is divided, and the energy usage status in each area is analyzed, specifically including: Monitor the target area to obtain energy monitoring information, divide the target area into several sub-areas, extract the equipment used in each sub-area and obtain the energy consumption specification information of each equipment used; Preset an energy consumption level judgment threshold, judge the energy consumption specification information of each device with the energy consumption level judgment threshold, define the energy consumption level of the device in each sub-area, and obtain the device energy consumption level information; According to the equipment energy consumption level information, each sub-area is divided into energy consumption levels, a weighted average calculation is performed based on the equipment energy consumption level in each sub-area, and the energy consumption level of the sub-area is defined according to the calculation result to obtain first analysis information; Extracting energy consumption characteristics of each sub-region according to the energy monitoring information to form a regional energy consumption curve graph and a regional equipment energy consumption curve graph; Analyze the energy consumption trend of each sub-region per unit time based on the regional energy consumption curve graph, extract the energy consumption per unit time of each device based on the regional equipment energy consumption curve graph, make a judgment with a preset threshold, and analyze the working cycle of each device according to the judgment result to obtain second analysis information; The first analysis information and the second analysis information are combined to form energy usage status analysis information.
3. The big data analysis method for dynamic visualization management of energy according to claim 1 is characterized in that: The method of tracing the source of the energy change according to the energy change detection information and regulating the source of the change specifically includes: Acquire energy anomaly detection information, perform feature extraction on the energy anomaly detection information, extract anomaly degree features and anomaly area features, and obtain energy anomaly feature information; According to the energy change feature information, the equipment information in the change area is obtained, and attribute feature extraction is performed, and category division is performed based on a clustering algorithm, and the category division is performed according to the energy consumption attribute of each device in the change area to obtain category division information; Calculate the Mahalanobis distance between the energy change characteristic information and the classification information, and make a judgment with a preset threshold, perform a correlation analysis, and obtain correlation analysis information; Calculate the energy consumption per unit time of each device in the abnormal area, and perform abnormal traceability based on the correlation analysis information to obtain abnormal traceability information; Based on the abnormal traceability information, an early warning of abnormal energy consumption is issued, and a control plan is formulated for control.
4. The big data analysis method for dynamic visualization management of energy according to claim 1 is characterized in that: The determining whether energy theft occurs according to the energy anomaly detection information, and if energy theft occurs, obtaining regional monitoring image information and performing abnormal personnel detection specifically includes: Obtain energy anomaly detection information, calculate the energy anomaly degree according to the energy anomaly detection information, and compare it with the preset threshold to analyze whether energy theft occurs. If energy theft occurs, analyze the energy theft area and the theft personnel; Acquire regional monitoring image information, perform target detection based on the YOLOv5 algorithm, extract features from the regional monitoring image information, acquire features of different scales to generate an initial feature map, acquire the attention score of each feature through the attention mechanism and generate an attention feature map; Constructing a feature pyramid network to fuse the initial feature map and the attention feature map, performing target detection and region locking according to the fused feature map, and obtaining target detection information; Perform image segmentation based on the target detection information to obtain a detection target image, perform a two-dimensional Gabor wavelet transform on the detection target image, perform feature extraction on the transformed image, and obtain target image feature information; Perform wavelet packet segmentation on the transformed image to segment the image into wavelet signals of different frequency bands, obtain regional features of different frequency bands and calculate the information entropy of each feature, determine whether to extract the corresponding regional features based on the information entropy, and obtain regional feature information; Constructing an energy theft behavior analysis model, inputting the target image feature information and the regional feature information into the energy theft behavior analysis model for analysis, and obtaining energy theft behavior analysis information; Based on the energy theft behavior analysis information, an early warning of the cause of energy changes is issued.
5. A big data analysis system for dynamic visualization management of energy, characterized in that: The system includes: a memory and a processor, wherein the memory contains a big data analysis method program for dynamic visualization management of energy, and when the big data analysis method program for dynamic visualization management of energy is executed by the processor, the following steps are implemented: Obtain energy monitoring information, divide energy monitoring areas, and analyze energy usage in each area to obtain energy usage analysis information; Performing regional energy utilization analysis based on the energy usage status analysis information and performing energy saving optimization; Based on the energy monitoring information, energy abnormality detection is performed on the energy monitoring area to obtain energy abnormality detection information; Tracing the source of the energy anomaly according to the energy anomaly detection information, and regulating the source of the anomaly; Determine whether energy theft occurs based on the energy anomaly detection information. If energy theft occurs, obtain regional monitoring image information and perform abnormal personnel detection. The performing of regional energy utilization analysis and energy-saving optimization according to the energy usage status analysis information specifically includes: Acquire energy usage status analysis information, extract equipment working cycle characteristics of each sub-area according to the energy usage status analysis information, perform equipment working habit analysis, and obtain equipment working habit analysis information; Preset energy efficiency indicators, take sub-regions as decision-making units, and energy consumption as input indicators to build a DEA model. Calculate the energy consumption of each sub-region in each time period based on the energy usage status analysis information, and input it into the DEA model to analyze the energy utilization efficiency of each sub-region; The energy efficiency level threshold is preset, and the energy efficiency score of each sub-region in each time period is obtained through the constructed DEA model, and the total energy efficiency score of each sub-region is obtained by weighted average calculation, and the total energy efficiency score of each sub-region is judged with the energy efficiency level threshold, the energy efficiency level of each sub-region is defined, and the energy efficiency level analysis information is obtained; Extracting low energy efficiency level sub-areas according to the energy efficiency level analysis information, obtaining production demand information of low energy efficiency level sub-areas, and extracting production volume characteristics and working mode characteristics of low energy efficiency level sub-areas; Obtaining a benchmark production volume of each working mode according to the extracted working mode characteristics, calculating the extracted production volume characteristics with the benchmark production volume to obtain the production volume deviation of each time period, and obtaining the production volume deviation information; Calculate the ratio of the production volume deviation information to the corresponding benchmark production volume, and make a judgment with a preset threshold, and select the optimizable time period according to the judgment result to obtain the optimizable time period information; Adapt the working mode through the production deviation information, determine the optimization time according to the optimizable time period information, adjust the equipment through the equipment working habit analysis information, and formulate energy-saving optimization plans to control energy utilization; The energy abnormality detection is performed on the energy monitoring area based on the energy monitoring information to obtain the energy abnormality detection information, specifically including: Building an energy anomaly detection model based on a generative adversarial network, acquiring historical energy monitoring information, and extracting a normal energy utilization curve according to the historical energy monitoring information to form a first data set; Constructing a training data set according to the first data set to train the energy anomaly detection model, introducing a Markov chain to optimize the model, constructing an energy state space through the first data set, and calculating the state transition probability of each state in the energy state space; A state transfer matrix is constructed according to the calculated state transfer probability, a loss function is preset and a state transfer constraint is set according to the state transfer matrix, and a generated sequence that does not conform to the state transfer matrix is penalized by the state transfer constraint; A discrimination rule is set based on the state transfer matrix, a generated sequence of the generator is obtained for consistency discrimination, and a transfer score of the generated sequence is calculated according to the state transfer matrix to determine whether to accept the target generated sequence and perform discriminator training; Obtain the received sequence, calculate the reconstruction error with the original sequence, set the error judgment threshold, judge the calculated reconstruction error with the error judgment threshold, generate the anomaly detection result according to the judgment result, and obtain the energy anomaly detection model that meets the expectations; Energy monitoring information is obtained and input into the energy change detection model to perform energy change detection to obtain energy change detection information.
6. A big data analysis system for dynamic visualization management of energy according to claim 5, characterized in that: The energy monitoring information is obtained, the energy monitoring area is divided, and the energy usage status in each area is analyzed, specifically including: Monitor the target area to obtain energy monitoring information, divide the target area into several sub-areas, extract the equipment used in each sub-area and obtain the energy consumption specification information of each equipment used; Preset an energy consumption level judgment threshold, judge the energy consumption specification information of each device with the energy consumption level judgment threshold, define the energy consumption level of the device in each sub-area, and obtain the device energy consumption level information; According to the equipment energy consumption level information, each sub-area is divided into energy consumption levels, a weighted average calculation is performed based on the equipment energy consumption level in each sub-area, and the energy consumption level of the sub-area is defined according to the calculation result to obtain first analysis information; Extracting energy consumption characteristics of each sub-region according to the energy monitoring information to form a regional energy consumption curve graph and a regional equipment energy consumption curve graph; Analyze the energy consumption trend of each sub-region per unit time based on the regional energy consumption curve graph, extract the energy consumption per unit time of each device based on the regional equipment energy consumption curve graph, make a judgment with a preset threshold, and analyze the working cycle of each device according to the judgment result to obtain second analysis information; The first analysis information and the second analysis information are combined to form energy usage status analysis information.
