Cable anti-theft system

By collecting real-time data of power systems and equipment, performing weighted assessments and machine learning early warnings, the failure problem of the cable anti-theft system in the event of power failure is solved, and the stability and responsiveness of the system are improved.

CN118397771BActive Publication Date: 2024-09-10GUANGDONG SHUANGLI CABLE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410799221.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-10
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

Existing cable anti-theft systems may fail during a power failure, and the maintenance and reliability of the backup power supply affects its effectiveness, causing the system to fail while the fault persists.

Method used

The data monitoring module collects real-time data of the power system and equipment power consumption, uses the operating status judgment module to perform a weighted average calculation of the operating status evaluation coefficient of the power system, and combines the machine learning model to provide early warning of risk events in the cable system to prevent failures. or an accident occurs.

Benefits of technology

Effectively prevent the anti-theft system from failing due to power system failures, improve system security and operational efficiency, reduce losses and improve maintenance and management response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397771B
    Figure CN118397771B
Patent Text Reader

Abstract

The invention discloses a cable anti-theft system, which relates to the technical field of cables. An intelligent cable anti-theft system is constructed by integrating a data monitoring module, an operation status judgment module and a maintenance management module. The data monitoring module is used to collect power data in each monitoring area and the power consumption of anti-theft system equipment in real time; the operation status judgment module calculates the weight coefficient of the power data in each area by weighted average to generate an operation status evaluation coefficient of the power system; the maintenance management module analyzes the received data in combination with a machine learning model, predicts risk events of the cable system in advance and generates early warning signals, can effectively identify potential faults in advance, improves the reliability and safety of the system, and even in the event of a fault in the power system, can rely on perfect data analysis and early warning functions to reduce the risk of system downtime.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of cables, and in particular to a cable theft prevention system. Background Art

[0002] The cable theft prevention system is a security solution specially designed to protect cables from theft. The system usually includes a variety of technologies and equipment, such as surveillance cameras, vibration sensors, fiber optic sensors and alarm systems. When someone tries to cut, move or steal the cable, the system will immediately trigger an alarm to notify relevant personnel to take action to ensure the safety and timely restoration of the cable.

[0003] In addition, the cable theft prevention system can also be integrated into a larger security management platform to achieve remote monitoring and real-time data analysis through network monitoring. This comprehensive management method not only improves the effectiveness of theft prevention, but also provides detailed event records and analysis reports to help managers better understand the security situation and optimize protective measures.

[0004] The shortcomings of the prior art:

[0005] In the existing technology, cable anti-theft systems can be integrated into a larger security management platform to achieve remote monitoring and real-time data analysis through networked monitoring. However, if the power system fails, it may cause the entire anti-theft system to lose power, directly causing monitoring equipment, sensors, servers and network equipment to stop working. Although some anti-theft systems may be designed with backup power or uninterruptible power supplies (UPS) to cope with power failures, these redundant systems also rely on electricity to keep running. If the failure lasts too long and the backup power is exhausted, the entire system will still fail. In addition, the maintenance and reliability of the backup power system itself will also affect its effectiveness. Summary of the invention

[0006] The purpose of the present invention is to provide a cable theft prevention system to solve the shortcomings of the background technology.

[0007] In order to achieve the above object, the present invention provides the following technical solutions: a cable theft prevention system, comprising a data monitoring module, an operation status judgment module and a maintenance management module;

[0008] The data monitoring module is used to divide the power system into several monitoring areas, collect real-time power data in each monitoring area, and send the collected real-time power data to the operation status judgment module; it is also used to monitor the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and send the real-time power consumption to the maintenance management module;

[0009] An operation status judgment module is used to receive the real-time power data sent by the data monitoring module, determine the weight coefficient of the real-time power data of each monitoring area, and calculate the operation status evaluation coefficient of the power system by weighted average according to the weight coefficient of the real-time power data of each monitoring area, and send the operation status evaluation coefficient of the power system to the maintenance management module;

[0010] The maintenance management module is used to analyze the operating status assessment coefficient of the receiving power system and the real-time power consumption of the monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and to make early predictions and warnings of risk events in the cable system through machine learning models.

[0011] In a preferred embodiment, the real-time voltage data and real-time current data in the real-time power data are respectively obtained, and the real-time voltage data and real-time current data are analyzed. According to the analysis results, the power load anomaly index and the grid frequency fluctuation index of the real-time power data are respectively obtained, and the weight coefficient of the real-time power data of each monitoring area is determined.

[0012] In a preferred embodiment, the method for obtaining the power load abnormality index is:

[0013] Collect power load data, including voltage and current, and express the collected time series data as: ; represents the power load value at time t, N is the total number of time series data, and the power load value is denoised using a moving average filter. The specific calculation expression is: = ;in, represents the denoised power load value, k is the window size, and the denoised load data is modeled to capture its trend and seasonal patterns. The SARIMA model is expressed as: = ; In the formula, , , , and , , , are the autoregressive and moving average coefficients respectively, p is a positive integer greater than 0, represents the p observations before time t, is the p error terms before time point t, which represents the error between the observed value and the predicted value. The SARIMA model is used for load forecasting and the forecast error is calculated, that is, ; To predict the error, extract features from the time series and extract the statistical features within the time window, including its mean and variance. The specific calculation expression is: = and = ;in, is the mean of the time series, is the variance of the time series. The mean and variance of the time series are analyzed to calculate the power load anomaly index. The specific calculation expression is: ; In the formula, It is the power load abnormality index.

[0014] In a preferred embodiment, the method for obtaining the power grid frequency fluctuation index is:

[0015] Collect the grid frequency data, smooth the data, use the wavelet function to perform wavelet transform on the pre-processed frequency data, and obtain the wavelet coefficient of the frequency signal. The specific calculation expression is: = ;in, is the frequency signal, is the wavelet function, is the scale parameter, is the translation parameter, is the wavelet coefficient, and the wavelet coefficient is threshold processed to remove the coefficients less than the threshold to reduce the influence of noise. The threshold processing formula is: = ; Where T is the threshold, The processed wavelet coefficients are used to reconstruct the frequency signal using the retained wavelet coefficients. The reconstructed signal is expressed as: ; To reconstruct the frequency signal;

[0016] The reconstructed signal is subjected to empirical mode decomposition to obtain a series of intrinsic mode functions. The first IMF is obtained by fitting the extreme points of the original signal. The first IMF is then subtracted from the original signal, and the new signal is fitted continuously until it cannot be decomposed. Frequency analysis is performed on each IMF to extract the frequency change value. The frequency change values ​​of each IMF are summed up to calculate the grid frequency fluctuation index.

[0017] In a preferred embodiment, the power load anomaly index and the power grid frequency fluctuation index are normalized, and the score of the real-time power data of each monitoring area is calculated based on the normalized power load anomaly index and power grid frequency fluctuation index.

[0018] In a preferred embodiment, the scores of the real-time power data of each monitoring area are weighted according to the time-weighted method to determine the weight value of the real-time power data in each monitoring area, specifically:

[0019] Collect real-time power data from each monitoring area, divide the monitoring time period into certain time intervals, perform time-weighted calculation on the real-time power data of each time period, determine the attenuation coefficient α according to the length of the time interval, and then calculate the weight according to the distance from the time to the current time. The exponential weighted formula is: = ; In the formula, is the weight value of time period s in each monitoring area, The time from the current time to the start time of the time period is normalized for the weight value of each time period in each monitoring area, and the score of each time period is assigned according to the calculated weight to obtain the weight value of the real-time power data in each monitoring area; the weight coefficient of the real-time power data of the monitoring area is weighted averaged to obtain the operation status evaluation coefficient of the power system.

[0020] In a preferred embodiment, a linear regression model is used to predict and warn risk events of the cable system in advance, specifically including:

[0021] The operating status evaluation coefficient of the power system and the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system are used as inputs to the model;

[0022] Preprocess the model input data and build a model based on the historical data characteristics of the power system and the cable theft prevention system. The historical data characteristics include the historical operation status evaluation coefficient of the power system and the historical power consumption of monitoring equipment, sensors, servers and network equipment.

[0023] Using the collected data, a linear regression model is used for training. The formula of the linear regression model is as follows: ;in, is the risk factor of the cable system, , ,..., is the historical data feature, , , ,..., are the coefficients of the model, and c is the error term;

[0024] Use the trained linear regression model to predict new real-time data, and compare the risk coefficient of the cable system with the risk coefficient reference threshold pre-set in the historical data. If the risk coefficient of the cable anti-theft system is greater than or equal to the risk coefficient reference threshold, an early warning signal is generated; if the risk coefficient of the cable anti-theft system is less than the risk coefficient reference threshold, no early warning signal is generated.

[0025] In the above technical solution, the technical effects and advantages provided by the present invention are:

[0026] 1. The present invention collects power data and power consumption of anti-theft system equipment in each monitoring area, calculates power data of each area by weighted average, generates an evaluation coefficient of the operation status of the power system, and analyzes the received data by combining a machine learning model, predicts risk events of the cable system in advance and generates early warning signals, so as to take repair or adjustment measures in time to prevent potential failures or accidents. In this way, not only can the failure of the anti-theft system caused by power system failure be effectively prevented, but also the security and operational efficiency of the system can be improved through intelligent analysis and early warning mechanisms, reducing losses and improving the responsiveness of maintenance management.

[0027] 2. The present invention effectively realizes real-time monitoring of the power system operation status and cable anti-theft system by collecting and monitoring the monitoring area and equipment of the power system in real time. At the same time, the operation status judgment module is used to perform weight analysis and evaluation on the collected data, and the real-time power data of each monitoring area is integrated to accurately calculate the operation status evaluation coefficient of the power system, providing reliable data support for the maintenance and management of the system. It can not only timely discover problems in the operation of the power system, but also help the operation and maintenance personnel to respond quickly, improve the stability and reliability of the power system, help reduce potential failure risks, and improve the operation efficiency and safety of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0029] Figure 1 The figure is a flow chart of the method of the present invention.

[0030] Figure 2 It is a system module diagram of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] Example 1

[0033] See also Figure 1, 2 As shown, a cable theft prevention system described in this embodiment includes a data monitoring module, an operation status judgment module and a maintenance management module;

[0034] The data monitoring module is used to divide the power system into several monitoring areas, collect real-time power data in each monitoring area, and send the collected real-time power data to the operation status judgment module; it is also used to monitor the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and send the real-time power consumption to the maintenance management module;

[0035] An operation status judgment module is used to receive the real-time power data sent by the data monitoring module, determine the weight coefficient of the real-time power data of each monitoring area, and calculate the operation status evaluation coefficient of the power system by weighted average according to the weight coefficient of the real-time power data of each monitoring area, and send the operation status evaluation coefficient of the power system to the maintenance management module;

[0036] The maintenance management module is used to analyze the operating status assessment coefficient of the receiving power system and the real-time power consumption of the monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and to make early predictions and warnings of risk events in the cable system through machine learning models.

[0037] Among them, in the data monitoring module, it is used to divide the power system into several monitoring areas, collect real-time power data in each monitoring area, and send the collected real-time power data to the operation status judgment module; it is also used to monitor the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and send the real-time power consumption to the maintenance management module.

[0038] Identify the scope of the power system that needs to be monitored, including all key equipment and cables. Determine the type of power data that needs to be collected, such as voltage, current, power factor, frequency, etc. Determine how to divide the monitoring area based on factors such as geographical location, equipment distribution, and power load.

[0039] Divide the entire power system into several independent monitoring areas, each of which should cover one or more key equipment or cable segments. Define the boundaries of each monitoring area based on the topology of the power system and the location of the equipment. Assign a unique identifier or number to each monitoring area to facilitate subsequent data management and analysis.

[0040] According to the monitoring indicators, select appropriate sensors and monitoring equipment, such as current sensors, voltage sensors, power analyzers, etc. Determine the specific installation location of each monitoring device to ensure that the key points of each monitoring area are covered. Select and configure communications (such as wireless sensor networks, fiber optic communications, etc.) to ensure that the data of the monitoring equipment can be transmitted to the central monitoring system in real time.

[0041] Install a data acquisition unit (DCU) in each monitoring area to collect sensor data and perform preliminary processing. Design and deploy a data transmission network to ensure that each DCU can transmit data to the central server in real time. You can choose wired (such as Ethernet, optical fiber) or wireless (such as Wi-Fi, LoRa) methods. The data of each monitoring area is centrally stored and processed through the central monitoring system.

[0042] Install monitoring equipment, DCU and communication equipment according to the design plan, and perform system debugging to ensure the normal operation of each device. Test the stability and speed of the data transmission network to ensure that the data of each monitoring area can be transmitted to the central monitoring system in a timely manner. Perform system integration testing to verify the functions and performance of the entire data acquisition system, ensure that the data of each monitoring area can be accurately collected and processed, and send the collected real-time power data to the operation status judgment module.

[0043] Monitor the real-time power consumption of monitoring devices, sensors, servers and network devices in the cable theft prevention system, mainly including:

[0044] Identify the types of equipment that need to be monitored, including monitoring equipment (cameras, etc.), sensors, servers, and network equipment. Determine the types of power data that need to be collected, such as current, voltage, power, and energy consumption. Select appropriate power monitoring equipment, such as smart meters, power meters, and current sensors, to measure the real-time power consumption of each device. Determine the specific installation location of the power monitoring equipment to ensure that each device that needs to be monitored can be measured independently.

[0045] Install a data acquisition unit (DCU) at each monitoring point to collect data from power monitoring equipment. Design and deploy a data transmission network to ensure that power monitoring data can be transmitted to the central monitoring system in real time. Install power monitoring equipment at the power input of each monitoring device, sensor, server, and network device. Connect the power monitoring equipment to the corresponding DCU to ensure that data can be collected and transmitted. Perform system debugging to ensure that the power monitoring equipment and DCU are operating normally and can accurately measure and transmit data.

[0046] The power consumption data of each device is collected in real time through the power monitoring equipment and transmitted to the DCU. The real-time power consumption data collected by the DCU is transmitted to the central monitoring system through a wired or wireless network. The central monitoring system receives and stores the real-time power consumption data transmitted from each DCU. The received data is cleaned and processed, and after removing noise and abnormal values, the processed real-time power consumption is sent to the maintenance management module.

[0047] The operation status judgment module is used to receive the real-time power data sent by the data monitoring module, determine the weight coefficient of the real-time power data of each monitoring area, and calculate the operation status evaluation coefficient of the power system by weighted average based on the weight coefficient of the real-time power data of each monitoring area, and send the operation status evaluation coefficient of the power system to the maintenance management module.

[0048] The real-time power data sent by the data monitoring module is processed, and the real-time voltage data and real-time current data in the real-time power data are obtained respectively. The real-time voltage data and real-time current data are analyzed, and the power load anomaly index and grid frequency fluctuation index of the real-time power data are obtained respectively according to the analysis results, and the weight coefficient of the real-time power data of each monitoring area is determined.

[0049] In the present invention, the real-time power data sent by the data monitoring module is processed to obtain real-time voltage data and real-time current data respectively, and the power load anomaly index and the power grid frequency fluctuation index are obtained by analysis to determine the weight coefficient of the real-time power data of each monitoring area. The purpose of this is to improve the response capability of the cable theft prevention system to abnormal conditions of the power system, ensure that the monitoring system can accurately and in real time detect and warn of abnormalities in power load and frequency fluctuations, optimize resource allocation, and improve the reliability and stability of the system.

[0050] Among them, the method for obtaining the power load abnormality index is:

[0051] Collect power load data, including voltage and current, and express the collected time series data as: ; represents the power load value at time t, N is the total number of time series data, and the power load value is denoised using a moving average filter. The specific calculation expression is: = ;in, represents the denoised power load value, k is the window size, and the denoised load data is modeled to capture its trend and seasonal patterns. The SARIMA model is expressed as: = ; In the formula, , , , and , , , are the autoregressive and moving average coefficients respectively, p is a positive integer greater than 0, represents the p observations before time t, is the p error terms before time point t, which represents the error between the observed value and the predicted value. The SARIMA model is used for load forecasting and the forecast error is calculated, that is, ; To predict the error, extract features from the time series and extract the statistical features within the time window, including its mean and variance. The specific calculation expression is: = and = ;in, is the mean of the time series, is the variance of the time series. The mean and variance of the time series are analyzed to calculate the power load anomaly index. The specific calculation expression is: ; In the formula, It is the power load abnormality index.

[0052] A high load anomaly index is usually accompanied by a dramatic load fluctuation, which means that the supply and demand balance of the power system is broken, possibly due to a sudden increase or decrease in power load. Drastic load fluctuations may cause voltage and frequency fluctuations, affecting the stability of the power system and the normal operation of equipment.

[0053] A high abnormal index may indicate that some key equipment in the system (such as transformers, lines, and switchgear) is faulty or seriously aged. Equipment failure can reduce the efficiency of power transmission and distribution, and even cause large-scale power outages and equipment damage.

[0054] The increase of abnormal index is usually accompanied by the decline of power quality, such as the increase of total harmonic distortion (THD), voltage sag, frequency deviation and other problems. Power quality problems will affect the performance and life of electrical equipment, and may cause malfunction of industrial production equipment and computer system failure.

[0055] A high abnormal index may mean that the system load is close to or exceeds the design capacity, resulting in system overload operation. Overload operation will increase heat loss of lines and equipment, shorten equipment life, and increase the risk of failure.

[0056] Obtaining the grid frequency fluctuation index helps to evaluate the stability of the power system's operating status, because frequency fluctuations reflect the immediate changes in the supply and demand balance and the system's responsiveness. The higher the frequency fluctuation index, the more likely it is that the power system will have an imbalance in supply and demand, insufficient regulation capacity, or potential failures. By monitoring this index, we can promptly detect and respond to power system anomalies and ensure the reliable operation of the system.

[0057] Among them, the method for obtaining the power grid frequency fluctuation index is:

[0058] Collect the grid frequency data, smooth the data, use the wavelet function to perform wavelet transform on the pre-processed frequency data, and obtain the wavelet coefficient of the frequency signal. The specific calculation expression is: = ;in, is the frequency signal, is the wavelet function, is the scale parameter, is the translation parameter, is the wavelet coefficient, and the wavelet coefficient is threshold processed to remove the coefficients less than the threshold to reduce the influence of noise. The threshold processing formula is: = ; Where T is the threshold, The processed wavelet coefficients are used to reconstruct the frequency signal using the retained wavelet coefficients. The reconstructed signal is expressed as: ; To reconstruct the frequency signal;

[0059] The reconstructed signal is subjected to empirical mode decomposition to obtain a series of intrinsic mode functions. The first IMF is obtained by fitting the extreme points of the original signal. The first IMF is then subtracted from the original signal, and the new signal is fitted continuously until it cannot be decomposed. Frequency analysis is performed on each IMF to extract the frequency change value. The frequency change values ​​of each IMF are summed up to calculate the grid frequency fluctuation index.

[0060] The larger the frequency fluctuation index, the more unstable or abnormal the operation of the power system. Increased frequency fluctuations usually indicate a problem with the balance between supply and demand in the power system. If the power supply capacity of the power system cannot meet the needs of users, or if user demand suddenly increases without a corresponding increase in power supply capacity, it will lead to increased frequency fluctuations.

[0061] Increased frequency fluctuations may be related to rapid changes in load. If the load fluctuations are large, the power system needs to adjust quickly to keep the frequency stable, but if the system regulation capacity is insufficient or the regulation response speed is slow, it will lead to increased frequency fluctuations.

[0062] The increase in frequency fluctuations may also be due to the failure or aging of key equipment in the power system (such as generators, transformers, etc.), resulting in a decrease in power supply capacity, which in turn affects the frequency stability of the system.

[0063] The power load anomaly index and the power grid frequency fluctuation index are normalized, and the score of the real-time power data of each monitoring area is calculated based on the normalized power load anomaly index and the power grid frequency fluctuation index.

[0064] For example, the present invention can use the following formula to calculate the real-time power data score of each monitoring area, and the calculation expression is: = + ; In the formula, Score the real-time power data of each monitoring area, is the power load abnormality index, is the grid frequency fluctuation index.

[0065] The scores of the real-time power data of each monitoring area are weighted according to the time-weighted method to determine the weight value of the real-time power data in each monitoring area, specifically:

[0066] Real-time power data is collected from each monitoring area, and the monitoring time period is divided into certain time intervals, such as hours, half an hour or shorter time periods. Time-weighted calculation is performed on the real-time power data of each time period to consider the degree of influence of different time periods on system operation. The weight is usually calculated by exponential weighting method or linear weighting method. An attenuation coefficient α is determined according to the length of the time interval, and then the weight is calculated according to the distance from the time to the current time. The commonly used exponential weighting formula is: = ; In the formula, is the weight value of time period s in each monitoring area, The distance between the current time and the start time of the time period is normalized for each time period in each monitoring area to ensure that the sum of the weights of each time period is 1.

[0067] The score of each time period is assigned according to the calculated weight to obtain the weight value of the real-time power data in each monitoring area.

[0068] The weight coefficients of the real-time power data in the monitoring area are weighted averaged to obtain the operating status evaluation coefficient of the power system, and the operating status evaluation coefficient of the power system is sent to the maintenance management module.

[0069] Assigning weights to real-time power data according to the time-weighted method can more accurately reflect the impact of different time periods on the operating status of the power system, improve the accuracy and credibility of the evaluation results, and help to understand the actual operating conditions of the power system in real time, thereby providing more comprehensive and effective data support for the monitoring and regulation of system operations.

[0070] In this embodiment, the data monitoring module collects and monitors the monitoring area and equipment of the power system in real time, effectively realizing the real-time monitoring of the power system operation status and cable anti-theft system. At the same time, the operation status judgment module is used to perform weight analysis and evaluation on the collected data, and the real-time power data of each monitoring area is integrated to accurately calculate the operation status evaluation coefficient of the power system, providing reliable data support for the maintenance and management of the system. This solution can timely discover problems in the operation of the power system, help operation and maintenance personnel respond quickly, improve the stability and reliability of the power system, help reduce potential failure risks, and improve the operation efficiency and safety of the system.

[0071] Example 2

[0072] The maintenance management module is used to analyze the operating status assessment coefficient of the receiving power system and the real-time power consumption of the monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and to make early predictions and warnings of risk events in the cable system through machine learning models.

[0073] Among them, machine learning models include: Linear regression model: used to predict the linear relationship of continuous output variables. Logistic regression model: used for binary classification problems to predict the probability of an event. Decision tree model: a tree model that makes decisions based on feature conditions. Random forest model: an integrated learning model composed of multiple decision trees, used for classification and regression problems. Support vector machine model: a supervised learning algorithm for classification and regression problems, capable of performing data classification in high-dimensional space, etc.

[0074] In the present invention, a linear regression model is used to predict and warn risk events of the cable system in advance, specifically including:

[0075] The operating status evaluation coefficient of the power system and the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system are used as inputs to the model;

[0076] Preprocess the model input data, including data cleaning, missing value processing, outlier detection and processing, and feature engineering, to ensure data quality and accuracy.

[0077] Modeling is done based on the historical data characteristics of the power system and cable theft prevention system. The historical data characteristics include the historical operating status evaluation coefficient of the power system and the historical power consumption of monitoring equipment, sensors, servers and network equipment;

[0078] Using the collected data, a linear regression model is used for training. The formula of the linear regression model is as follows: ;in, is the risk factor of the cable system, , ,..., is the historical data feature, , , ,..., are the coefficients of the model, and c is the error term;

[0079] Use the evaluation dataset to evaluate the trained model and assess its performance and accuracy. You can use some indicators such as Mean Squared Error (MSE) or Coefficient of Determination (R²) to assess the fit of the model.

[0080] Use the trained linear regression model to predict new real-time data, and compare the risk coefficient of the model output item, the cable system, with the risk coefficient reference threshold pre-set in the historical data. If the risk coefficient of the cable anti-theft system is greater than or equal to the risk coefficient reference threshold, it means that the cable anti-theft system may be abnormal, and an early warning signal is generated at this time, so that timely measures can be taken to repair or adjust it to prevent potential failures or accidents.

[0081] If the risk factor of the cable anti-theft system is less than the reference threshold of the risk factor, it means that the cable anti-theft system may be in a normal state, and no warning signal is generated. Continuously monitor the operating status of the cable anti-theft system, and regularly update the model and reference threshold to adapt to system changes and improve prediction accuracy.

[0082] In the present invention, the risk events of the cable system are predicted and warned in advance through a linear regression model. The operating status evaluation coefficient of the power system and the real-time power consumption of each device in the cable anti-theft system can be effectively used as input data. Data quality is ensured through data preprocessing and feature engineering, and historical data features are used for model training and evaluation to ensure the accuracy and reliability of the model. In practical applications, the model can predict the risk coefficient of the cable system in real time, compare it with the reference threshold, generate early warning signals in time, and effectively prevent potential failures or accidents. Continuous monitoring and updating of the model and reference threshold can adapt to changes in the system, improve the accuracy of the prediction, and ultimately improve the safety and operational efficiency of the cable anti-theft system, reduce losses and enhance the responsiveness of maintenance management.

[0083] In this embodiment, the linear regression model is used to predict and warn the risk events of the cable system in advance. The operating status evaluation coefficient of the power system and the real-time power consumption of each device in the cable anti-theft system can be effectively used as input data. The data quality is ensured through data preprocessing and feature engineering, and the historical data features are used for model training and evaluation to ensure the accuracy and reliability of the model. In practical applications, the model can predict the risk coefficient of the cable system in real time, compare it with the reference threshold, generate early warning signals in time, and effectively prevent potential failures or accidents. Continuous monitoring and updating of the model and reference threshold can adapt to changes in the system, improve the accuracy of the prediction, and ultimately improve the safety and operational efficiency of the cable anti-theft system, reduce losses and enhance the responsiveness of maintenance management.

[0084] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0085] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0086] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0088] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.

[0089] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0090] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0091] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A cable anti-theft system, characterized in that: Including data monitoring module, operation status judgment module and maintenance management module; The data monitoring module is used to divide the power system into several monitoring areas, collect real-time power data in each monitoring area, and send the collected real-time power data to the operation status judgment module; it is also used to monitor the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and send the real-time power consumption to the maintenance management module; The operation status judgment module is used to receive the real-time power data sent by the data monitoring module, determine the weight coefficient of the real-time power data of each monitoring area, and calculate the operation status evaluation coefficient of the power system by weighted average according to the weight coefficient of the real-time power data of each monitoring area, and send the operation status evaluation coefficient of the power system to the maintenance management module, specifically: Real-time voltage data and real-time current data in the real-time power data are respectively obtained, the real-time voltage data and the real-time current data are analyzed, and according to the analysis results, the power load anomaly index and the power grid frequency fluctuation index of the real-time power data are respectively obtained, and the weight coefficient of the real-time power data of each monitoring area is determined; Among them, the method for obtaining the power load abnormality index is: Collect power load data, including voltage and current, and express the collected time series data as: ; represents the power load value at time t, N is the total number of time series data, and the power load value is denoised using a moving average filter. The specific calculation expression is: ;in, represents the denoised power load value, k is the window size, and the denoised load data is modeled to capture its trend and seasonal patterns. The SARIMA model is expressed as: ; In the formula, and are the autoregressive and moving average coefficients respectively, p is a positive integer greater than 0, represents the p observations before time t, is the p error terms before time point t, which represents the error between the observed value and the predicted value. The SARIMA model is used for load forecasting and the forecast error is calculated, that is, ; To predict the error, extract features from the time series and extract the statistical features within the time window, including its mean and variance. The specific calculation expression is: and ;in, is the mean of the time series, is the variance of the time series. The mean and variance of the time series are analyzed to calculate the power load anomaly index. The specific calculation expression is: ; In the formula, is the power load abnormality index; Among them, the method for obtaining the power grid frequency fluctuation index is: Collect the grid frequency data, smooth the data, use the wavelet function to perform wavelet transform on the pre-processed frequency data, and obtain the wavelet coefficient of the frequency signal. The specific calculation expression is: ;in, is the frequency signal, is the wavelet function, is the scale parameter, is the translation parameter, is the wavelet coefficient, and the wavelet coefficient is threshold processed to remove the coefficients less than the threshold to reduce the influence of noise. The threshold processing formula is: ; Where T is the threshold, The processed wavelet coefficients are used to reconstruct the frequency signal using the retained wavelet coefficients. The reconstructed signal is expressed as: ; To reconstruct the frequency signal; Perform empirical mode decomposition on the reconstructed signal to obtain a series of intrinsic mode functions. The first IMF is obtained by fitting the extreme points of the original signal. Then, the first IMF is subtracted from the original signal, and the new signal is fitted again until it cannot be decomposed. Perform frequency analysis on each IMF, extract the frequency change value, and sum the frequency change values ​​of each IMF to calculate the power grid frequency fluctuation index. The maintenance management module is used to analyze the operating status assessment coefficient of the receiving power system and the real-time power consumption of the monitoring equipment, sensors, servers and network equipment in the cable theft prevention system, and to make early predictions and warnings of risk events in the cable system through machine learning models.

2. A cable anti-theft system according to claim 1, characterized in that: The power load anomaly index and the power grid frequency fluctuation index are normalized, and the score of the real-time power data of each monitoring area is calculated based on the normalized power load anomaly index and the power grid frequency fluctuation index.

3. A cable anti-theft system according to claim 2, characterized in that: The scores of the real-time power data of each monitoring area are weighted according to the time-weighted method to determine the weight value of the real-time power data in each monitoring area, specifically: Collect real-time power data from each monitoring area, divide the monitoring time period into certain time intervals, perform time-weighted calculation on the real-time power data of each time period, determine the attenuation coefficient α according to the length of the time interval, and then calculate the weight according to the distance from the time to the current time. The exponential weighted formula is: ; In the formula, is the weight value of the s time period in each monitoring area, The time from the current time to the start time of the time period is normalized for each time period in each monitoring area, and the score of each time period is assigned according to the calculated weight to obtain the weight value of the real-time power data in each monitoring area; The weight coefficients of the real-time power data in the monitoring area are weighted averaged to obtain the operating status evaluation coefficient of the power system.

4. A cable theft prevention system according to claim 3, characterized in that: The linear regression model is used to predict and warn of risk events in the cable system in advance, including: The operating status evaluation coefficient of the power system and the real-time power consumption of monitoring equipment, sensors, servers and network equipment in the cable theft prevention system are used as inputs to the model; Preprocess the model input data and build a model based on the historical data characteristics of the power system and the cable theft prevention system. The historical data characteristics include the historical operation status evaluation coefficient of the power system and the historical power consumption of monitoring equipment, sensors, servers and network equipment. Using the collected data, a linear regression model is used for training. The formula of the linear regression model is as follows: ;in, is the risk factor of the cable system, is the historical data feature, are the coefficients of the model, and c is the error term; Use the trained linear regression model to predict new real-time data, and compare the risk coefficient of the cable system with the risk coefficient reference threshold pre-set in the historical data. If the risk coefficient of the cable anti-theft system is greater than or equal to the risk coefficient reference threshold, an early warning signal is generated; if the risk coefficient of the cable anti-theft system is less than the risk coefficient reference threshold, no early warning signal is generated.