Electrical safety information management method, system, electronic equipment and medium

By combining video and electrical data, identifying and allocating abnormal areas of the electric room and generating management strategies, the problem of insufficient comprehensive electrical safety management in the existing technology is solved, and management accuracy and efficiency are improved.

CN118887626BActive Publication Date: 2024-12-20SHENZHEN YIDIAN ENERGY INTERNET TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing electrical safety information management methods for distribution rooms are difficult to fully consider multi-dimensional electrical safety, resulting in low management accuracy and the inability to effectively identify and deal with abnormal behaviors and potential safety hazards of electrical equipment.

Method used

By obtaining video and electrical data from the monitoring area of ​​the distribution room, combining video image processing and computer vision technology, abnormal behaviors and equipment failures are identified, multiple target areas are divided, and management strategies are generated to improve the accuracy of electrical safety management.

Benefits of technology

The overall control of the overall safety status of the distribution room is achieved, potential safety hazards and equipment failures are discovered in a timely manner, management accuracy and efficiency are improved, and the missed and misjudgment of electrical safety hazards is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887626B_ABST
    Figure CN118887626B_ABST
Patent Text Reader

Abstract

The present application provides an electrical safety information management method, system, electronic device and medium, which relates to the field of data processing technology. The method includes: obtaining monitoring videos corresponding to multiple monitoring areas in the distribution room and electrical data of electrical equipment in each monitoring area; based on each monitoring video, determining a first area in each monitoring area where abnormal behavior exists; determining a second area in multiple monitoring areas where the distance from the first area is less than a preset distance; based on the electrical data of the electrical equipment in each monitoring area, evaluating a third area in each monitoring area where electrical equipment with abnormal operation exists; screening a first target area that exists in common among the first area, the second area and the third area, and a second target area that exists in common among any two areas; generating a management strategy based on the position of the first target area and the position of the second target area. The implementation of the technical solution provided by the present application achieves the effect of improving the management accuracy of electrical safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to an electrical safety information management method, system, electronic equipment and medium. Background Art

[0002] With the rapid development of industrial automation and information technology, ensuring the safe operation and timely and effective management of distribution rooms has become increasingly important. In modern power systems, the safe operation of distribution rooms is a key factor in ensuring the stability and reliability of power supply. Distribution rooms contain many high and low voltage electrical equipment, and the normal operation of these equipment is directly related to the safety and efficiency of the entire power system. Therefore, the monitoring and maintenance technology of electrical equipment inside distribution rooms continues to develop to meet the growing power demand and safety standards.

[0003] At present, the existing information management methods for electrical safety in distribution rooms rely on detecting data from different electrical equipment, identifying abnormal situations through data analysis, and formulating management strategies to manage the distribution room. However, in actual applications, since the area where the electrical equipment is located in the distribution room often has abnormal behaviors such as people entering by mistake, abnormal equipment appearance, and items left behind, which cause safety risks in the distribution room, it is difficult to consider the electrical safety of the distribution room in multiple dimensions for comprehensive management by only analyzing the data of electrical equipment to manage the distribution room, resulting in low accuracy in electrical safety management. Summary of the invention

[0004] The present application provides an electrical safety information management method, system, electronic equipment and medium, which have the effect of improving the accuracy of electrical safety management.

[0005] In a first aspect, the present application provides an electrical safety information management method, comprising:

[0006] Acquire monitoring videos corresponding to multiple monitoring areas in the power distribution room and electrical data corresponding to electrical equipment in each of the monitoring areas;

[0007] Based on each of the surveillance videos, determining a first area in each of the monitoring areas where abnormal behavior exists;

[0008] Determine a second area among the multiple detection areas that is less than a preset distance from the first area;

[0009] According to the electrical data corresponding to the electrical equipment in each of the monitoring areas, evaluating the third area in each of the monitoring areas where there is electrical equipment operating abnormally;

[0010] Screening a first target area that is common to the first area, the second area, and the third area, and a second target area that is common to any two areas;

[0011] A management policy is generated based on the location of the first target area and the location of the second target area.

[0012] By adopting the above technical solution, the monitoring video and electrical data of each monitoring area of ​​the distribution room are obtained, and potential safety hazards such as abnormal movement of personnel and illegal operation in each area can be discovered in time, and the area with such problems is defined as the first area. Based on electrical data monitoring and analysis, those areas with abnormal operating parameters of electrical equipment and the risk of failure can be accurately locked and defined as the third area. For the identified first area, the second area adjacent to it can be automatically circled by preset distance threshold, and the entire distribution room range is divided into multiple target areas. Through regional intersection screening, the high-risk first target area, that is, the three areas coexist, and the second target area with secondary risks, that is, any two areas coexist, are further locked. Based on the location information of the first target area and the second target area, a management strategy is generated. By combining abnormal behavior monitoring and data monitoring of electrical equipment itself for analysis, the overall control of the overall safety status of the distribution room is achieved, and the abnormal behavior and equipment operation status in the distribution room area are fully considered to avoid missing hidden dangers that affect electrical safety and improve management accuracy.

[0013] Optionally, based on the frame images in each of the surveillance videos, foreground targets in each of the surveillance videos are identified; according to the timestamp of each of the foreground targets and the position of each of the foreground targets in the surveillance video, a motion trajectory corresponding to each of the foreground targets is constructed; each of the motion trajectories is matched with the abnormal behavior trajectories in a preset abnormal behavior rule library to obtain the motion trajectory containing the abnormal behavior, and the monitoring area corresponding to the motion trajectory containing the abnormal behavior is used as the first area.

[0014] By adopting the above technical solution, video image processing and computer vision technology can be used to automatically track and analyze moving targets in surveillance videos. By extracting the timestamp and location information of the moving target to generate a trajectory sequence, and then matching it with a specially established abnormal behavior trajectory library, the false alarm rate caused by relying on manual judgment can be avoided, making the determination of the first area more accurate.

[0015] Optionally, pixel differences are performed on the frame images and preset background images in each of the surveillance videos to obtain foreground differential binary images corresponding to each of the surveillance videos; pixel points in each of the foreground differential binary images whose pixel values ​​are greater than or equal to a preset threshold are taken as corresponding foreground pixel points; and based on each of the foreground pixel points, a foreground target corresponding to each of the surveillance videos is generated.

[0016] By using the above technical solution, the difference between the current frame and the preset static background frame is calculated, and the foreground target and background area of ​​the image can be effectively distinguished. Binarization processing can filter noise and make foreground detection more accurate. Setting a preset threshold for segmentation can eliminate the interference of non-target objects with small movements or stillness, ensuring that significant moving foreground targets are extracted.

[0017] Optionally, extract harmonic current, leakage current and cable temperature from each of the electrical data; determine the failure rate of the electrical equipment in each of the monitoring areas based on the harmonic current, leakage current and cable temperature of the electrical equipment in each of the monitoring areas; take the electrical equipment whose failure rate is greater than or equal to a preset failure rate as the abnormally operating electrical equipment, and take the monitoring area where the abnormally operating electrical equipment is located as the third area.

[0018] By adopting the above technical solution, a number of key parameters that affect the operating status of electrical equipment, namely the harmonic current, leakage current and cable temperature of electrical equipment, are comprehensively considered, and the probability of failure is evaluated through data calculation, which can avoid missed judgments caused by relying solely on a single indicator. The preset failure rate threshold can ensure the objectivity and consistency of the judgment standard. Compared with direct data threshold judgment, this failure rate calculation method can achieve an overall assessment and risk prediction of the operating status of the equipment. Even if a certain indicator is not exceeded, the calculation of multiple parameters may indicate a failure risk, thereby avoiding omissions.

[0019] Optionally, the harmonic current, leakage current and cable temperature of the electrical equipment in each of the monitoring areas are substituted into a preset formula to obtain the failure rate of the electrical equipment in each of the monitoring areas; wherein the preset formula is:

[0020] ;

[0021] In the formula, represents the failure rate of electrical equipment in the i-th monitoring area, represents the number of electrical equipment in the i-th monitoring area, represents the weight coefficient of the harmonic current, represents the weight coefficient of the leakage current, represents the weight coefficient of the cable temperature, represents the base constant factor, represents the harmonic current of the jth electrical equipment in the i-th monitoring area, represents the base harmonic current, represents the leakage current of the jth electrical equipment in the i-th monitoring area, It represents the cable temperature of the jth electrical equipment in the i-th monitoring area.

[0022] By adopting the above technical solution, a mathematical formula was established and used to perform comprehensive parameter calculations. Different weight coefficients were set in the formula to reflect the different contributions of each parameter. Compared with simple comparison thresholds, this calculation method achieves quantitative analysis of equipment operation risks. The preset formula unifies the evaluation standards, and different equipment and regions can use the same calculation method to ensure consistency in judgment.

[0023] Optionally, the first area, the second area and the third area are mapped to the plane image corresponding to the distribution room to obtain the first boundary coordinates of the first area, the second boundary coordinates of the second area and the third boundary coordinates of the third area; based on the first boundary coordinates, the second boundary coordinates and the third boundary coordinates, determine the overlapping area of ​​the first area, the second area and the third area, and the overlapping area of ​​any two areas of the first area, the second area and the third area; the overlapping area of ​​the three areas is used as the first target area, and the overlapping area of ​​any two areas is used as the second target area.

[0024] By adopting the above technical solution, the identification area is combined with the actual plane layout of the power distribution room, and the image boundary coordinates are used to represent it, so as to achieve the correspondence between abnormal identification and the spatial position of the power distribution room. Based on the boundary coordinates, image processing technology can be used to calculate the overlap of regions, avoiding errors in subjective judgment of regional correlation, and calculating the common overlap area of ​​the three regions as the first target area, which meets the conditions of dual abnormal sources of video surveillance and electrical data, ensuring the comprehensive safety risk of the area, and calculating the overlap of the two regions as the second target area, achieving accurate correspondence and automatic mapping between the abnormal identification area and the actual layout of the power distribution room, making the determination of the first target area and the second target area more accurate.

[0025] Optionally, obtain the location of a preset management starting point in the distribution room; determine the shortest management path based on the location of the management starting point, the location of the first target area, and the location of the second target area; match corresponding management measures in the database based on the number and type of electrical equipment in the first target area and the second target area; generate the management strategy based on the management path and the management measures.

[0026] By adopting the above technical solutions, considering the actual needs of management, the actual location of managers and equipment determines the time and path efficiency of executing the strategy. Calculating the shortest path can minimize unnecessary consumption. Different devices and areas require targeted management measures. Matching databases can avoid missed judgments and misjudgments. Comprehensive management paths and corresponding measures can make the strategy specific and comprehensive, highly operational, and more targeted at the strategy goals, which can improve execution efficiency, shorten processing time, and reduce related risks.

[0027] In a second aspect of the present application, an electrical safety information management system is provided, the system comprising:

[0028] A data acquisition module, used to acquire monitoring videos corresponding to multiple monitoring areas in the power distribution room and electrical data corresponding to the electrical equipment in each of the monitoring areas;

[0029] A region identification module is used to determine, based on each of the monitoring videos, a first region in each of the monitoring regions where abnormal behavior exists; determine a second region in the multiple detection regions where the distance from the first region is less than a preset distance; and evaluate, based on electrical data corresponding to the electrical equipment in each of the monitoring regions, a third region in each of the monitoring regions where abnormally operating electrical equipment exists;

[0030] A region division module, used for screening a first target region common to the first region, the second region and the third region, and a second target region common to any two regions;

[0031] A management strategy determination module is used to generate a management strategy based on the location of the first target area and the location of the second target area.

[0032] In a third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can implement an electrical safety information management method when loaded and executed by the processor.

[0033] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements an electrical safety information management method.

[0034] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0035] By adopting the technical solution of the present application, the monitoring video and electrical data of each monitoring area of ​​the distribution room are obtained, and potential safety hazards such as abnormal movement of personnel and illegal operation in each area can be discovered in time, and the area with such problems is defined as the first area. Based on electrical data monitoring and analysis, it is possible to accurately lock those areas where the operating parameters of electrical equipment are abnormal and there is a risk of failure, and define them as the third area. For the identified first area, through the preset distance threshold, the second area adjacent to it can be automatically circled, and the entire distribution room range is divided into multiple target areas. Through regional intersection screening, the high-risk first target area, that is, the three areas coexist and the second target area of ​​secondary risk, that is, any two areas coexist, is further locked. Based on the location information of the first target area and the second target area, a management strategy is generated. By combining abnormal behavior monitoring and data monitoring of the electrical equipment itself for analysis, the overall control of the overall safety status of the distribution room is achieved, and the abnormal behavior and equipment operation status in the distribution room area are fully considered to avoid missing hidden dangers that affect electrical safety and improve management accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flowchart of an electrical safety information management method provided by an embodiment of the present application;

[0037] Figure 2 It is a structural schematic diagram of an electrical safety information management system disclosed in an embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application.

[0039] Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION

[0040] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0041] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0042] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0043] The present application embodiment provides an electrical safety information management method. In one embodiment, please refer to Figure 1 , Figure 1 This is a flow chart of the electrical safety information management method provided by the embodiment of the present application. The method can be implemented by a computer program, which can be integrated into an application or run as an independent tool application. The method can also be implemented by a single-chip microcomputer or run on an electrical safety information management system based on the von Neumann system. Specifically, the method can include the following steps:

[0044] Step 101: Acquire monitoring videos corresponding to multiple monitoring areas in a power distribution room and electrical data corresponding to electrical equipment in each monitoring area.

[0045] The monitoring area refers to the area space in the power distribution room covered by video surveillance and equipped with electrical equipment. In the embodiments of the present application, the monitoring area can be specifically understood as: the area unit in the power distribution room divided by function or geographical location, such as the substation area, the power distribution room area, the busbar trench area, etc. Multiple electrical equipment and cameras are arranged in each monitoring area to cover the area.

[0046] Monitoring video refers to video image data obtained by cameras installed in the monitoring area. In the embodiments of the present application, monitoring video can be specifically understood as: video stream data collected in real time by monitoring cameras arranged in each monitoring area of ​​the power distribution room.

[0047] Electrical equipment refers to various electrical equipment used in power distribution and power consumption. In the embodiments of the present application, electrical equipment can be specifically understood as: transformers, busbars, cables, switchgear and other high and low voltage power distribution and consumption equipment arranged in each monitoring area of ​​the power distribution room. These devices will generate parameter data such as harmonic current, leakage current, temperature rise, etc. during operation.

[0048] Electrical data refers to various parameter data describing the operating status of electrical equipment. In the embodiment of the present application, electrical data can be specifically understood as: key operating parameter data such as harmonic current, leakage current and cable temperature of electrical equipment in each monitoring area of ​​the power distribution room. These data reflect the working status of electrical equipment during actual operation.

[0049] Specifically, video surveillance systems and electrical data acquisition systems are arranged in different monitoring areas of the power distribution room. The video surveillance system includes surveillance cameras installed in each monitoring area, which are used to collect video stream data of the area in real time and transmit it to the central control system for storage through the network. The electrical data acquisition system is composed of sensors arranged on electrical equipment in each monitoring area, which are used to monitor key operating parameter data such as harmonic current, leakage current, cable temperature, etc. in real time and upload them to the control system. Through this arrangement, on the one hand, video surveillance data covering all monitoring areas of the power distribution room can be obtained to analyze whether there are abnormal behaviors such as people entering by mistake and items left behind; on the other hand, the operating data of all electrical equipment in each monitoring area can also be obtained to evaluate whether the equipment itself is in an abnormal state. Combining video analysis and electrical data analysis can comprehensively reflect the electrical safety risk status of each area of ​​the power distribution room, and provide accurate information support for the formulation of precise and efficient management strategies.

[0050] Step 102: Based on each surveillance video, determine a first area in each monitoring area where abnormal behavior exists; determine a second area in a plurality of detection areas where the distance from the first area is less than a preset distance; and evaluate a third area in each monitoring area where abnormal electrical equipment exists based on electrical data corresponding to the electrical equipment in each monitoring area.

[0051] Abnormal behavior refers to abnormal activities that occur in the monitoring area of ​​the power distribution room and may threaten the safe operation of electrical equipment. In the embodiment of the present application, abnormal behavior can be specifically understood as: people mistakenly entering the electrical equipment area, leaving items near electrical equipment, illegal operations, and other behaviors that may cause equipment failure or safety accidents.

[0052] Abnormal operation refers to the state in which some key parameter values ​​of electrical equipment deviate from the normal operating range during operation. In the embodiment of the present application, abnormal operation can be specifically understood as: by monitoring the operating parameter data of the electrical equipment such as harmonic current, leakage current, cable temperature, etc., it is found that these parameters exceed the normal threshold range, indicating that the equipment may have a hidden fault.

[0053] The first area refers to a monitoring area where abnormal behavior is determined by video analysis. In the embodiment of the present application, the first area can be specifically understood as: a monitoring area where abnormal behavior such as people entering by mistake or items being left behind is shown in the monitoring video after target detection and trajectory analysis.

[0054] The second area refers to a monitoring area adjacent to the first area with abnormal behavior and whose distance is less than a preset threshold. In the embodiment of the present application, the second area can be specifically understood as: other monitoring areas adjacent to the monitoring area determined as the first area (with abnormal behavior) and whose distance is less than the preset safety distance threshold. The main purpose of the second area in this solution is to expand the scope of influence of abnormal behavior on electrical safety and transfer the potential risks of the first area to the surrounding areas, so as to more comprehensively evaluate the electrical risk status of the distribution room.

[0055] The third area refers to a monitoring area where abnormally operating electrical equipment is determined based on electrical data analysis. In the embodiment of the present application, the third area can be specifically understood as: by analyzing the operating parameter data of the electrical equipment in each monitoring area, such as harmonic current, leakage current, cable temperature, etc., the equipment failure rate is calculated, and the monitoring area with a failure rate exceeding a preset threshold is determined as the third area, that is, a high-risk area where abnormally operating electrical equipment exists.

[0056] Specifically, computer vision technologies such as target detection and motion trajectory analysis are used to detect, track and match abnormal behavior patterns of foreground moving targets in the video stream. Once an abnormal behavior trajectory is found in a monitoring area, the area is determined as the first area, that is, a high-risk area with abnormal behavior. Considering that abnormal behavior may have an impact on the surrounding area, it is necessary to determine the second area that is closer to the first area. Specifically, a distance threshold can be set, and the adjacent monitoring area with a distance from the first area less than the threshold is determined as the second area as a potential high-risk area. The operating status of the electrical equipment in each monitoring area is analyzed, and the electrical data such as harmonic current, leakage current, and cable temperature of each device are extracted and substituted into the preset evaluation model to calculate the failure rate of the electrical equipment in each monitoring area. The monitoring area with a failure rate exceeding the threshold is determined as the third area, that is, a high-risk area with abnormally operating electrical equipment. Through the analysis of the three areas, three types of potential electrical safety risk areas can be comprehensively obtained: the first area (abnormal behavior area), the second area (the area adjacent to the first area) and the third area (abnormally operating equipment area). By superimposing and comparing these three types of areas, the electrical safety risks of each monitoring area can be more accurately and comprehensively evaluated.

[0057] Based on the above embodiment, as an optional embodiment, in step 102: based on each surveillance video, determining the first area in each monitoring area where abnormal behavior exists, this step may also include the following steps:

[0058] Step 201: Identify foreground targets in each surveillance video based on the frame images in each surveillance video.

[0059] Among them, a frame image refers to a single static image that constitutes a video stream. In the embodiment of the present application, a frame image can be specifically understood as: a static image sequence arranged in time series obtained after decoding and restoring the video surveillance data collected in each monitoring area, and each static image is a frame image.

[0060] Foreground targets refer to targets of interest that move in the video frame image and are different from the background. In the embodiment of the present application, foreground targets can be specifically understood as targets such as moving or newly appearing people and objects separated from each frame image of the surveillance video by background modeling and foreground detection algorithms.

[0061] Specifically, the video stream data corresponding to each monitoring area is obtained and decoded into a series of video frame image sequences in chronological order. Then, for each frame of the image, background modeling and foreground detection algorithms can be used to identify and segment foreground moving targets that are different from the background. For example, background modeling methods include Gaussian mixture model GMM, etc., which can adaptively construct a background model and compare the current frame image with the background model to detect the foreground area. You can also use an instance segmentation algorithm based on deep learning, such as the R-CNN algorithm, to directly detect and accurately segment the foreground target instances of interest from the image. Through target detection, you can quickly locate the moving target in the video screen and filter out irrelevant background information, thereby reducing the amount and complexity of subsequent processing. At the same time, for some foreground targets with continuous motion, you can also establish a target template based on the detection results to track and identify the same target in subsequent frames.

[0062] Based on the above embodiment, as an optional embodiment, in step 201: based on the frame images in each surveillance video, identifying the foreground target in each surveillance video, this step may also include the following steps:

[0063] Step 211: performing pixel difference on the frame image and the preset background image in each surveillance video to obtain a foreground difference binary image corresponding to each surveillance video.

[0064] The preset background image refers to a reference image that is acquired or modeled in advance and is used to represent the static background of the monitoring scene.

[0065] Pixel difference refers to subtracting the pixel values ​​at the same position of two images to obtain the pixel difference between them. In the embodiment of the present application, it can be specifically understood as: performing point-by-point subtraction operation on each frame of video image and the preset background image at the pixel level, calculating the difference in pixel values ​​at corresponding positions, and separating the moving foreground target area in the video frame.

[0066] The foreground difference binary image refers to a binary image containing only the foreground target area obtained by binarization after performing pixel difference between the video frame and the background image. In the embodiment of the present application, it can be specifically understood as: the difference value is calculated pixel by pixel for each frame of the video image and the preset background image, and the pixel points are binarized into foreground (1) or background (0) according to the difference threshold, so as to generate a binary image containing only the foreground target area corresponding to the frame, which is used for subsequent target detection and tracking.

[0067] Specifically, a preset background image of the surveillance scene is obtained, which can be an empty scene image or can be learned from a large number of video frames through a modeling algorithm. Then, for each frame of the input video image, a point-by-point subtraction operation is performed at the pixel level with the background image to calculate the difference in pixel values ​​at the corresponding positions. Since the pixel values ​​of the static background area are basically consistent in the video frame and the background image, the pixel difference value is close to 0. However, for the moving foreground target area, the difference value is not 0 due to the change in pixel value. Based on this principle, a difference threshold can be set to binarize the difference result into foreground pixels (1) and background pixels (0), and generate a foreground difference binary image corresponding to the frame. In the foreground difference binary image, the area with a pixel value of 1 corresponds to the moving foreground target, and the area with a pixel value of 0 corresponds to the static background. In this way, the foreground target area of ​​interest in the video frame can be effectively separated, reducing the complexity of subsequent processing.

[0068] Step 221: taking the pixel points whose pixel values ​​in each foreground differential binary image are greater than or equal to a preset threshold as corresponding foreground pixel points; and generating the foreground target corresponding to each monitoring video according to each foreground pixel point.

[0069] Among them, the foreground pixel point refers to the pixel point marked as belonging to the foreground target area in the foreground difference binary image. In the embodiment of the present application, it can be specifically understood that for the foreground difference binary image generated for each frame of video image, the pixel point whose pixel value is greater than or equal to the preset threshold (usually 1) is regarded as a foreground pixel point, indicating that there is a moving foreground target at this position.

[0070] Specifically, a foreground differential binary image corresponding to each frame of video image is obtained. In these binary images, the area with a pixel value of 1 represents a moving foreground target, while the area with a pixel value of 0 corresponds to a stationary background. Specific target instances are distinguished and extracted from the foreground area. A preset threshold is introduced here. For each pixel in the binary image, if its pixel value is greater than or equal to the threshold (usually 1), the pixel is marked as a foreground pixel. Then, by aggregating and connecting domain analysis of all adjacent foreground pixels, the specific contour range of the foreground target can be determined, thereby generating an independent foreground target instance corresponding to the frame. For example, a continuous foreground pixel area can be output as a foreground target, and its center position, area, aspect ratio and other features can be calculated to prepare for subsequent multi-target tracking. Compared with directly performing target detection on the original video frame, the foreground image-based method can reduce the computational complexity. Since the background area has been filtered out in the pixel difference step, target detection only needs to focus on the foreground area, which greatly reduces the search space and improves detection accuracy and real-time performance.

[0071] Step 202: construct a motion trajectory corresponding to each foreground target according to the timestamp of each foreground target and the position of each foreground target in the monitoring video.

[0072] Among them, the timestamp refers to a mark that records the exact time when an event occurs. In the embodiment of the present application, the timestamp can be specifically understood as: when decoding the surveillance video, the time stamp corresponding to each frame of the image obtained is used to determine the capture time point of the frame of the image.

[0073] The position of the foreground target in the surveillance video refers to the spatial position information of the target in the video image coordinate system. In the embodiment of the present application, it can be specifically understood as: after extracting the foreground target from each frame of the surveillance video image through the target detection algorithm, the pixel coordinate position of the target in the frame image is obtained, including the coordinate point information of the target boundary box or pixel mask.

[0074] The motion trajectory refers to the description of the motion path and change process of a moving target in time and space. In the embodiment of the present application, it can be specifically understood as: through the target detection and tracking algorithm, the detection position and corresponding timestamp of each foreground target in the continuous video frame image sequence are obtained, and these spatiotemporal coordinate information are connected in time order to form the complete motion trajectory of the target.

[0075] Specifically, for each detected foreground target instance, the timestamp of the video frame in which it is located and the position coordinates of the target in the image coordinate system of the frame can be recorded. Since the timestamps of adjacent video frames are continuous and the movement of the target is coherent, the target tracking algorithm can be used to associate the detection instances belonging to the same target in different frames. Common target tracking algorithms include traditional methods such as Kalman filtering and correlation filtering, as well as deep learning-based target re-identification and multi-target tracking algorithms, such as SORT and Deep SORT. These algorithms can continuously track and update the motion trajectory of the same target in the video sequence based on the target's appearance, motion state and other features. Through target tracking, the detection position coordinate sequence of each foreground target in continuous video frames can be obtained. Combined with the timestamp information corresponding to each frame, it can be connected in chronological order to restore the complete motion trajectory of the target in time and space.

[0076] Step 203: Match each motion trajectory with the abnormal behavior trajectory in the preset abnormal behavior rule library to obtain the motion trajectory with abnormal behavior, and use the monitoring area corresponding to the motion trajectory with abnormal behavior as the first area.

[0077] The preset abnormal behavior rule base refers to a database or knowledge base containing known abnormal behavior pattern definitions. In the embodiment of the present application, it can be specifically understood as: a set of abnormal behavior trajectory templates pre-built manually or automatically modeled by machine learning, which is used to match and compare with the moving target trajectory extracted from the video, so as to identify potential abnormal behaviors.

[0078] Abnormal behavior trajectory refers to the target motion trajectory that is significantly different from the normal behavior pattern and represents the occurrence of abnormal events. In the embodiment of the present application, it can be specifically understood that if the motion trajectory of the foreground target in time and space obtained by target detection and tracking is highly matched with the abnormal trajectory template defined in the preset abnormal behavior rule library, then the trajectory is determined to be an abnormal behavior trajectory.

[0079] Specifically, according to the scenario and task requirements, an abnormal behavior rule library is established in advance. The rule library contains various known abnormal behavior patterns, and each pattern corresponds to a defined motion trajectory template. For example, people entering restricted areas, items being left behind, vehicles entering, etc., all correspond to specific trajectory patterns. For each constructed motion trajectory, it is necessary to match and compare it with the trajectory template in the abnormal behavior rule library. Commonly used trajectory matching algorithms include nearest neighbor, DTW (dynamic time warping), HMM (hidden Markov model), etc. These algorithms can measure the similarity score between two trajectories. For trajectories with scores higher than the set threshold, that is, they are judged to match a certain abnormal behavior pattern, then the foreground target corresponding to the trajectory is identified as having abnormal behavior. According to the spatial area coordinate information corresponding to these abnormal trajectories, the specific monitoring areas where they are located can be determined, and these areas are marked as the first area.

[0080] Based on the above embodiment, as an optional embodiment, in step 102: evaluating the third area of ​​the electrical equipment in each monitoring area where abnormal operation of the electrical equipment exists according to the electrical data corresponding to the electrical equipment in each monitoring area, this step may also include the following steps:

[0081] Step 204: extracting harmonic current, leakage current and cable temperature from each electrical data; determining the failure rate of the electrical equipment in each monitoring area according to the harmonic current, leakage current and cable temperature of the electrical equipment in each monitoring area.

[0082] Among them, harmonic current refers to the non-fundamental component in the current waveform, that is, the current component whose frequency is an integer multiple of the fundamental frequency. In the embodiment of the present application, it can be specifically understood that due to reasons such as nonlinear load or system asymmetry, the current waveform is distorted, and components with a frequency of an integer multiple of 50Hz (fundamental frequency) appear.

[0083] Leakage current refers to the current that leaks from the circuit housing or grounding system due to insulation failure in the power system. In the embodiment of the present application, it can be understood that due to aging of the insulation of the electrical equipment, moisture, etc., part of the current leaks from an unexpected circuit, posing a safety hazard.

[0084] The cable temperature refers to the actual working temperature of the transmission cable. In the embodiment of the present application, it can be understood that: when the transmission cable is transmitting current, the temperature will rise due to resistance heating. Excessive temperature may cause the cable insulation layer to age or melt, causing serious failures.

[0085] The failure rate refers to the probability of an electrical device failing within a certain period of time. In the embodiments of the present application, it can be specifically understood as: comparing the monitored key parameters such as harmonic current, leakage current, cable temperature, etc. with the pre-set thresholds, performing weighted summation on the part exceeding the thresholds, and obtaining a comprehensive evaluation score. When the score exceeds the preset failure rate threshold, it is considered that the electrical equipment in the monitoring area has a high failure risk and a high failure rate.

[0086] Specifically, three key parameters, namely harmonic current, leakage current and cable temperature, are extracted from electrical data. Harmonic current refers to the non-fundamental component in the current waveform. If it is too high, it will cause problems such as equipment heating and insulation loss. Leakage current is the current leaked due to insulation failure in the power system, which is an important indicator of safety hazards. Cable temperature directly reflects the working state of the cable. Excessive temperature may cause serious failures. After extracting these parameters, the operating conditions of electrical equipment in each monitoring area can be analyzed according to the pre-established fault model and threshold. Generally speaking, the greater the harmonic current and leakage current, and the higher the cable temperature, the greater the risk of electrical equipment failure. According to the failure rate assessment results, for areas with high failure rates, it is necessary to promptly investigate the causes, take emergency measures, and perform equipment maintenance; for areas with low failure rates, a reasonable inspection and maintenance plan can be formulated to ensure long-term safe operation.

[0087] Based on the above embodiment, as an optional embodiment, in step 204: determining the failure rate of the electrical equipment in each monitoring area according to the harmonic current, leakage current and cable temperature of the electrical equipment in each monitoring area, this step may also include the following steps:

[0088] Step 214: Substitute the harmonic current, leakage current and cable temperature of the electrical equipment in each monitoring area into a preset formula to obtain the failure rate of the electrical equipment in each monitoring area; wherein the preset formula is:

[0089] ;

[0090] In the formula, represents the failure rate of electrical equipment in the i-th monitoring area, represents the number of electrical equipment in the i-th monitoring area, Represents the weight coefficient of harmonic current, represents the weight coefficient of leakage current, represents the weight coefficient of cable temperature, represents the base constant factor, represents the harmonic current of the jth electrical equipment in the i-th monitoring area, represents the base harmonic current, represents the leakage current of the jth electrical equipment in the i-th monitoring area, Indicates the cable temperature of the jth electrical equipment in the ith monitoring area.

[0091] The preset formula refers to a mathematical formula used to calculate the failure rate of electrical equipment in each monitoring area. In the embodiment of the present application, the preset formula can be understood as a multivariate analysis formula that includes factors such as harmonic current, leakage current, and cable temperature of electrical equipment in each monitoring area. The preset formula is used to quantitatively calculate and evaluate the failure rate of electrical equipment in each monitoring area. By substituting actual detection data, the failure rate of electrical equipment in each monitoring area can be calculated.

[0092] Specifically, a failure rate formula model is established in advance, which includes harmonic current terms, leakage current terms, cable temperature terms, and other possible influencing factors. Each item is set with a corresponding weight coefficient to reflect the degree of influence of different factors on the failure rate. The specific form of this formula can be a linear weighted summation or a nonlinear complex model, which needs to be trained and optimized based on a large amount of historical data and expert experience to obtain the optimal solution. During implementation, the parameter values ​​such as harmonic current, leakage current, cable temperature, etc. collected in real time in each monitoring area are substituted into the formula one by one according to the position of the corresponding variable in the model, and the comprehensive failure rate assessment value of the electrical equipment in the area can be calculated. Through this preset formula, the degree of influence of different parameters on the failure risk can be quantified, and the effects of multiple parameters can be comprehensively considered to obtain a unified failure rate assessment index, making the assessment result more objective and comprehensive.

[0093] The formula consists of two parts. The first part is the numerator, which represents the combined effect of harmonic current, leakage current and cable temperature on the failure rate. It represents the ratio of harmonic current to base harmonic current, that is, the influence of total harmonic distortion on the fault rate. Since harmonic distortion in current may have a significant negative impact on the normal operation of electrical equipment, its square value is used to emphasize this influence. The square value is multiplied by the weight coefficient. , reflecting its importance, The mapping relationship between harmonic current and fault rate is set by analyzing experimental data. Indicates the effect of leakage current on the failure rate, which is multiplied by the square of the leakage current and the weight coefficient. , which indicates the influence of leakage current on the failure rate, The mapping relationship between leakage current and failure rate is set by analyzing experimental data. Indicates the effect of cable temperature on the failure rate. Rising temperature may cause aging or damage of cable insulation materials, thereby increasing the risk of failure. Therefore, its square value is used to emphasize the effect of temperature. The square is multiplied by the weight coefficient. , indicating the influence of cable temperature on the failure rate, The mapping relationship between cable temperature and failure rate is analyzed based on experimental data. , weight coefficient And the weight coefficient The sum of is 1.

[0094] The first part is the denominator, which adjusts the calculation process of the failure rate through a basic constant term and a combination of the average and minimum values ​​of harmonic current, leakage current and cable temperature. is a constant term, i.e., a base constant factor, used to avoid the denominator being zero. It represents the average value of harmonic current, leakage current and cable temperature. It combines the influence of harmonic current, leakage current and cable temperature. It represents the minimum value among harmonic current, leakage current and cable temperature, and is used to amplify the impact on the failure rate. The main function of the denominator is to adjust and stabilize the calculation results of the failure rate to avoid calculation instability or distortion caused by extreme values.

[0095] In summary, this preset formula combines different monitoring indicators, such as harmonic current, leakage current and cable temperature, and comprehensively considers the impact of these factors on the system failure rate. Through appropriate weights and adjustment items, the calculation results are more reasonable and stable. In the power system, factors such as harmonic current, leakage current and temperature have a vital impact on the operation of equipment. This preset formula can be used to monitor and evaluate the failure risks of various areas in the power system in real time, helping managers to detect potential problems in advance and perform preventive maintenance.

[0096] Step 205: The electrical equipment with a failure rate greater than or equal to a preset failure rate is regarded as an abnormally operating electrical equipment, and the monitoring area where the abnormally operating electrical equipment is located is regarded as a third area.

[0097] Specifically, for each monitoring area, the failure rate evaluation value of all electrical devices in the area is compared with a preset failure rate threshold. If the failure rate evaluation value of a device is greater than or equal to the threshold, the device is classified as an abnormally operating electrical device. The monitoring area containing these abnormal devices is determined as the third area.

[0098] Step 103: Screening a first target region that is common to the first region, the second region, and the third region, and a second target region that is common to any two regions.

[0099] The first target area refers to the overlapping area of ​​the abnormal behavior detection area of ​​the video, the adjacent area of ​​the abnormal behavior detection area, and the abnormal failure rate area of ​​the electrical equipment. In the embodiment of the present application, it can be specifically understood as: by comparing the position distribution of the first area, i.e., the abnormal behavior detection area of ​​the video, the second area, i.e., the adjacent area of ​​the abnormal behavior detection area, and the third area, i.e., the abnormal failure rate area of ​​the electrical equipment, the overlapping part of the three areas is determined as the first target area.

[0100] The second target area refers to the overlapped portion of any two areas among the video abnormal behavior detection area, the video congestion abnormal area, and the electrical equipment failure rate abnormal area. In the embodiment of the present application, it can be specifically understood that by comparing the position distribution of the first area, the second area, and the third area, the overlapped portion of any two areas is determined as the second target area.

[0101] Specifically, the location data of the three input areas are compared and their overlapping parts are screened out. If an area is listed as the first, second and third areas at the same time, it means that not only abnormal video behavior and abnormal video congestion have occurred in the area, but also the electrical equipment is in poor operation. The triple abnormality is superimposed, and there is a high possibility of serious electrical safety hazards. Therefore, this part of the area is divided into the first target area. The overlapping part of any two input areas is screened and divided into the second target area. There are two abnormal conditions, and the risk level is lower than the first target area. For example, if an area is listed as the first and third areas, it means that not only abnormal video behavior has occurred in the area, but also the electrical equipment is in poor operation, and the hidden danger is relatively large. If an area is listed as the second and third areas, it implies that the electrical equipment has a high failure rate, personnel activities are crowded, and the operation risk may also increase. These second target areas need to be included in the appropriate monitoring and control scope. By integrating the detection results of the two dimensions of video analysis and electrical data analysis, the monitoring efficiency is improved, limited resources are reasonably allocated, and it is ensured that the real high-risk areas are given priority and focus, which minimizes the situation where electrical safety hazards are ignored or handled in a timely manner.

[0102] Based on the above embodiment, as an optional embodiment, in step 103: screening the first target area common to the first area, the second area and the third area, and the second target area common to any two areas, this step may also include the following steps:

[0103] Step 301: Map the first area, the second area and the third area to the plane image corresponding to the power distribution room to obtain the first boundary coordinates of the first area, the second boundary coordinates of the second area and the third boundary coordinates of the third area.

[0104] Among them, the plane image refers to an image file that can reflect the actual plane layout of the distribution room. The plane image intuitively shows the spatial position relationship between the abnormal area and the overall distribution room.

[0105] The first boundary coordinates refer to the specific boundary coordinates of the first area on the plane image of the power distribution room. In the embodiment of the present application, it can be specifically understood as: after mapping the position distribution information of the first area obtained by video analysis to the plane image of the power distribution room, a series of coordinate points corresponding to the boundary contour of the area in the plane image are extracted, and the set of these coordinate points constitutes the first boundary coordinates.

[0106] The second boundary coordinates refer to the specific boundary coordinates of the second area on the plane image of the power distribution room. In the embodiment of the present application, it can be specifically understood as: after mapping the position distribution information of the second area obtained by video analysis onto the plane image of the power distribution room, a series of coordinate points corresponding to the boundary contour of the area in the plane image are extracted, and the set of these coordinate points constitutes the second boundary coordinates.

[0107] The third boundary coordinates refer to the specific boundary coordinates of the third area on the plane image of the power distribution room. In the embodiment of the present application, it can be specifically understood as: after mapping the location distribution information of the third area obtained by analyzing the operation data of the electrical equipment to the plane image of the power distribution room, a series of coordinate points corresponding to the boundary contour of the area in the plane image are extracted, and the collection of these coordinate points constitutes the third boundary coordinates.

[0108] Specifically, an image file that can reflect the actual plane layout of the power distribution room is obtained, which can be an electronic CAD design drawing or a real-life aerial orthophoto. The plane image should clearly mark the specific location distribution of each building and device in the power distribution room. And obtain the location distribution data of the first area, the second area and the third area obtained in the previous analysis, which can be video frame coordinates, equipment failure locations, etc. Then, through the spatial data processing software, these location distribution data are accurately spatially registered and coordinate mapped with the plane image to make it accurately correspond to the actual position on the plane map. Next, the boundary extraction of the mapping result of each area on the plane map is performed to obtain the outer rectangular frame or polygonal contour coordinates of the area, and the set of these coordinate points constitutes the first boundary coordinates, the second boundary coordinates and the third boundary coordinates respectively. Through the step of obtaining the boundary coordinates, the abnormal area that originally only had a rough distribution position is converted into a physical area with precise boundary coordinates on the plane image of the power distribution room. The outlines of these areas can not only clearly see the actual area range of each area, but also analyze their spatial position relationship with other important devices and areas in the power distribution room.

[0109] Step 302: Based on the first boundary coordinates, the second boundary coordinates and the third boundary coordinates, determine the overlapping area among the first area, the second area and the third area, and the overlapping area among any two areas among the first area, the second area and the third area.

[0110] Specifically, according to the first, second and third boundary coordinates obtained, the entity area models of the three areas on the plane image are constructed respectively, which can be polygons or arbitrary shapes. Using spatial analysis software or algorithms, geometric operations are performed on the three area models to obtain the intersection areas between them. For the intersection of the first, second and third areas, it is the common part that completely overlaps; for the intersection of any two areas such as the first and second, it is the area where the two areas partially overlap. The final calculation result will obtain the contour coordinates of one or more overlapping areas as the key input for subsequent risk analysis. With the overlap analysis results between abnormal areas, the superposition effect of potential risks in different areas can be fully evaluated. For example, if there is an intersection area where the first, second and third areas overlap, then the area may not only have the risk of violations and intrusion, but also may have serious consequences such as power outages and fires caused by electrical equipment failures. It needs to be listed as the highest risk level and take the most stringent monitoring and prevention and control measures. If there is some overlap between the first and third areas, it means that not only should we focus on preventing violations, but we should also be highly vigilant against electrical equipment failures, and we should formulate targeted inspections, maintenance and other preventive measures. If there is some overlap between the second and third areas, it means that there are hidden dangers of electrical failures in areas with abnormal crowds, which may cause casualties. Therefore, they also need to be designated as high-risk areas, and corresponding measures such as evacuation of personnel and equipment maintenance should be taken as a priority. If there is no overlap between the three types of areas, it means that their problems are relatively independent, and regional monitoring and response strategies can be adopted.

[0111] Step 303: The area where the three areas overlap is taken as the first target area, and the area where any two areas overlap is taken as the second target area.

[0112] Specifically, according to the overlap of abnormal areas obtained, the overlapping part of the three areas is defined as the first target area; the overlapping part between any two areas is defined as the second target area. The purpose of this is to distinguish the comprehensive risk level of different overlapping areas in order to formulate corresponding differentiated risk management and control strategies. Among them, the first target area concentrates multiple risk factors and has the highest risk, which requires priority prevention and control; the second target area is second and also needs attention; a single abnormal area not covered in the target area has a lower risk and conventional prevention and control measures are taken. Through this classification, the potential comprehensive risks of each area can be evaluated and responded to more accurately and efficiently, thereby ensuring the safe operation of the distribution room.

[0113] Step 104: Generate a management policy based on the location of the first target area and the location of the second target area.

[0114] Among them, the management strategy refers to a series of comprehensive management measures such as monitoring, maintenance, and guidance formulated for high-risk areas such as the first target area and the second target area.

[0115] Specifically, for the location of the first target area, since it is concentrated with multiple high-risk factors such as abnormal video behavior, crowded personnel and electrical failures, the most stringent management strategy needs to be formulated, including increasing the density of video surveillance probes to implement intensive surveillance around the clock, arranging sufficient on-site inspection personnel to deal with hidden dangers in a timely manner, prioritizing and appropriately increasing the frequency of electrical equipment maintenance in the area, pre-planning personnel evacuation routes and emergency assembly points, and establishing a multi-departmental emergency response mechanism. For the location of the second target area, it is necessary to formulate a moderate management strategy, such as appropriately increasing the density of monitoring or the frequency of personnel inspections, timely scheduling routine maintenance plans for electrical equipment, planning emergency evacuation routes as appropriate, and establishing a coordinated response mechanism with relevant departments when necessary. For other single abnormal low-risk areas not covered in the first and second target areas, it is sufficient to maintain conventional video surveillance, equipment maintenance and other management. Through this hierarchical and classified management strategy, the potential safety hazards brought by various high-risk areas can be avoided and reduced to the greatest extent. For the first target area with the highest risk, comprehensive and strict prevention and control measures have been taken to ensure that there are no mistakes; for the second target area of ​​the next level, appropriate prevention policies have also been formulated; other low-risk areas maintain routine management to avoid waste of resources.

[0116] Based on the above embodiment, as an optional embodiment, in step 104: generating a management strategy based on the location of the first target area and the location of the second target area, this step may also include the following steps:

[0117] Step 401: Obtain the location of a preset management starting point in the power distribution room; determine a management path with the shortest time consumption according to the location of the management starting point, the location of the first target area, and the location of the second target area.

[0118] The location of the management starting point refers to the starting position when the manager starts to perform the management task. In the embodiment of the present application, it can be specifically understood as: the manager's office area or other fixed area is used as the starting point for all management actions. Multiple management starting points can be set inside the power distribution room to facilitate quick response by managers.

[0119] The location of the first target area refers to the specific location of the comprehensive area with the highest risk level and requiring priority prevention in the distribution room, which is determined through superposition analysis of the video abnormal behavior area, the adjacent area of ​​the first area, and the electrical fault area.

[0120] The location of the second target area refers to the specific location in the distribution room of an area whose risk level is lower than that of the first target area but still needs to be focused on, which is determined through superposition analysis of video abnormal behavior areas, crowded areas and electrical fault areas.

[0121] The management path refers to the route that the manager takes from the management starting point to the first target area or the second target area.

[0122] Specifically, obtain the exact location information of the management starting point. The management starting point can be the office area or other fixed area of ​​the manager, which serves as the starting point for all management actions. Multiple management starting points can be set inside the distribution room to facilitate quick response. Secondly, the location of the management starting point is combined with the determined location of the first target area and the second target area, and all feasible management path plans are calculated using the path planning algorithm. When planning the path, it is necessary to fully consider multiple influencing factors such as actual distance, road conditions, and traffic conditions, and accurately evaluate and compare the time consumption of each possible path. For the first target area with the highest risk level, it is necessary to develop multiple alternative optimal path plans to ensure that at least one path meets the conditions of shortest time and reliable path. The entire planning process also needs to keep track of the dynamic information of changes in the target area and the location of the management starting point, and adjust the optimal path plan at any time to ensure that the path always remains in the optimal state.

[0123] Step 402: Based on the number and type of electrical devices in the first target area and the second target area, corresponding management measures are matched in the database.

[0124] Among them, the number of electrical equipment and the types of electrical equipment refer to the number and types of various electrical equipment actually existing in the first target area and the second target area. In the embodiment of the present application, it can be specifically understood that: there are various electrical equipment such as transformers, high and low voltage switch cabinets in the first target area and the second target area, and the number of electrical equipment refers to the specific number of sets of each type of electrical equipment in the area, such as 30 transformers and 20 high and low voltage switch cabinets; the types of electrical equipment refer to the different types of electrical equipment existing in the area, such as transformers, high and low voltage switch cabinets, etc.

[0125] The database refers to a professional data storage system that stores a large amount of electrical equipment management experience and management measures. In the embodiment of the present application, it can be specifically understood as: a digital knowledge base with built-in targeted management methods for various electrical equipment (such as transformers, high and low voltage switchgear, etc.), covering management experience and corresponding professional management measures lists for different types of electrical equipment and different numbers of equipment.

[0126] Management measures refer to a series of professional inspection, maintenance, inspection and other operational activities taken for different types and quantities of electrical equipment. In the embodiment of the present application, it can be specifically understood as: two sets of management plan lists specifically used to eliminate hidden dangers of electrical equipment and ensure safe operation of equipment are obtained by intelligent matching from the management database according to the actual distribution of electrical equipment in the first target area and the second target area.

[0127] Specifically, the number and types of electrical equipment in the first target area and the second target area are counted to obtain accurate equipment distribution information. For example, there are 30 transformers, 20 high and low voltage switchgears, etc. in the first target area, and 15 transformers, 10 high and low voltage switchgears, etc. in the second target area. The number and type information of electrical equipment obtained by statistics are matched with the pre-established management database. The database has a lot of professional knowledge and practical experience in electrical equipment management, and provides corresponding management measures for different types and quantities of electrical equipment. For example, conventional management measures for transformers include regular testing of insulation strength, inspection of cooling systems, monitoring of vibration conditions, etc.; while management measures for high and low voltage switchgears include infrared thermal imaging detection, vacuum detection, mechanical operation inspection, etc. If the number of a certain type of electrical equipment is large, the cycle frequency of management needs to be appropriately encrypted. The database has detailed guidance specifications for the management measures of these different equipment. By automatically matching with the equipment conditions in the first and second target areas, a list of suitable management items, as well as specific work requirements and implementation standards can be quickly determined.

[0128] Step 403: Generate a management policy according to the management path and the management measures.

[0129] Specifically, the multiple optimal management path solutions for the first target area and the second target area obtained through algorithm planning are sorted out, and the specific direction of each path, the estimated time consumption and other key information are clarified. Secondly, the two independent solutions, the most stringent management measures for electrical equipment in the first target area and the moderate management measures for electrical equipment in the second target area, obtained from the management database, are sorted out to form a clear list of management measures. Then the optimal path solution and the management measures solution are arranged to ensure that the two are highly consistent in time nodes and operation processes. For example, three optimal paths are formulated for the first target area, corresponding to three sets of strict management measures operations; for the second target area, one optimal path is determined to correspond to one set of moderate management measures operations. When arranging, it is necessary to reasonably arrange that after each management path arrives at the site, the management personnel immediately switch to the corresponding management measures operation mode to achieve seamless docking and avoid wasting the time window. According to the risk level and electrical equipment conditions of the target area, reasonable planning and arrangements are made for the implementation intensity, workload and time limit of the management measures, which can provide specific guidance for on-site operations.

[0130] Reference Figure 2 , is an electrical safety information management system provided by an embodiment of the present application, the system includes: a data acquisition module, a region identification module, a region division module, and a management strategy determination module, wherein:

[0131] A data acquisition module is used to acquire monitoring videos corresponding to multiple monitoring areas in the power distribution room and electrical data corresponding to electrical equipment in each monitoring area;

[0132] A region identification module is used to determine, based on each monitoring video, a first region in each monitoring region where abnormal behavior exists; determine a second region in a plurality of detection regions where the distance from the first region is less than a preset distance; and evaluate, based on electrical data corresponding to the electrical equipment in each monitoring region, a third region in each monitoring region where abnormally operating electrical equipment exists;

[0133] A region division module, used for screening a first target region common to the first region, the second region and the third region, and a second target region common to any two regions;

[0134] The management strategy determination module is used to generate a management strategy based on the location of the first target area and the location of the second target area.

[0135] On the basis of the above embodiments, the area identification module is also used to identify the foreground targets in each surveillance video based on the frame images in each surveillance video; construct the motion trajectory corresponding to each foreground target according to the timestamp of each foreground target and the position of each foreground target in the surveillance video; match each motion trajectory with the abnormal behavior trajectory in the preset abnormal behavior rule library to obtain the motion trajectory with abnormal behavior, and use the monitoring area corresponding to the motion trajectory with abnormal behavior as the first area.

[0136] On the basis of the above embodiment, the region identification module is also used to perform pixel differentiation on the frame image and the preset background image in each monitoring video to obtain a foreground differential binary image corresponding to each monitoring video; the pixel points in each foreground differential binary image whose pixel values ​​are greater than or equal to the preset threshold are taken as corresponding foreground pixel points; and based on each foreground pixel point, a foreground target corresponding to each monitoring video is generated.

[0137] Based on the above embodiments, the area identification module is also used to extract harmonic currents, leakage currents and cable temperatures from each electrical data; determine the failure rate of electrical equipment in each monitoring area based on the harmonic currents, leakage currents and cable temperatures of the electrical equipment in each monitoring area; treat electrical equipment with a failure rate greater than or equal to a preset failure rate as abnormally operating electrical equipment, and treat the monitoring area where the abnormally operating electrical equipment is located as the third area.

[0138] On the basis of the above embodiment, the area identification module is further used to substitute the harmonic current, leakage current and cable temperature of the electrical equipment in each monitoring area into a preset formula to obtain the failure rate of the electrical equipment in each monitoring area; wherein the preset formula is:

[0139] ;

[0140] In the formula, represents the failure rate of electrical equipment in the i-th monitoring area, represents the number of electrical equipment in the i-th monitoring area, Represents the weight coefficient of harmonic current, represents the weight coefficient of leakage current, represents the weight coefficient of cable temperature, represents the base constant factor, represents the harmonic current of the jth electrical equipment in the i-th monitoring area, represents the base harmonic current, represents the leakage current of the jth electrical equipment in the i-th monitoring area, Indicates the cable temperature of the jth electrical equipment in the ith monitoring area.

[0141] On the basis of the above embodiment, the area division module is also used to map the first area, the second area and the third area into the plane image corresponding to the distribution room to obtain the first boundary coordinates of the first area, the second boundary coordinates of the second area and the third boundary coordinates of the third area; based on the first boundary coordinates, the second boundary coordinates and the third boundary coordinates, determine the overlapping area of ​​the first area, the second area and the third area, and the overlapping area of ​​any two areas of the first area, the second area and the third area; take the overlapping area of ​​the three areas as the first target area, and take the overlapping area of ​​any two areas as the second target area.

[0142] Based on the above embodiment, the management strategy determination module is also used to determine the shortest management path based on the location of the management starting point, the location of the first target area, and the location of the second target area; match the corresponding management measures in the database based on the number and type of electrical equipment in the first target area and the second target area; and generate a management strategy based on the management path and management measures.

[0143] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0144] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0145] The communication bus 302 is used to realize the connection and communication between these components.

[0146] The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0147] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0148] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.

[0149] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may also be optionally at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of an electrical safety information management method.

[0150] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call an application program storing an electrical safety information management method in the memory 305, and when executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0151] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0152] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which 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 integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0153] 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.

[0154] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0155] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 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 steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0156] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0157] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not recorded in the present disclosure. The description and examples are to be regarded as exemplary only.

Claims

1. An electrical safety information management method, characterized in that: include: Acquire monitoring videos corresponding to multiple monitoring areas in the power distribution room and electrical data corresponding to electrical equipment in each of the monitoring areas; Based on each of the surveillance videos, determining a first area in each of the monitoring areas where abnormal behavior exists; Determine a second area among the multiple monitoring areas that is less than a preset distance from the first area; According to the electrical data corresponding to the electrical equipment in each of the monitoring areas, evaluating the third area in each of the monitoring areas where there is electrical equipment operating abnormally; Screening a first target area that is common to the first area, the second area, and the third area, and a second target area that is common to any two areas; generating a management policy based on the location of the first target area and the location of the second target area; The step of evaluating the third area in each of the monitoring areas where there is abnormally operating electrical equipment according to the electrical data corresponding to the electrical equipment in each of the monitoring areas comprises: Extracting harmonic current, leakage current and cable temperature from each of the electrical data; Determine the failure rate of the electrical equipment in each of the monitoring areas according to the harmonic current, leakage current and cable temperature of the electrical equipment in each of the monitoring areas; The electrical equipment with a failure rate greater than or equal to a preset failure rate is regarded as the abnormally operating electrical equipment, and the monitoring area where the abnormally operating electrical equipment is located is regarded as the third area; Determining the failure rate of the electrical equipment in each of the monitoring areas according to the harmonic current, leakage current and cable temperature of the electrical equipment in each of the monitoring areas includes: Substituting the harmonic current, leakage current and cable temperature of the electrical equipment in each monitoring area into a preset formula to obtain the failure rate of the electrical equipment in each monitoring area; Wherein, the preset formula is: In the formula, R i represents the failure rate of the electrical equipment in the i-th monitoring area, n represents the number of electrical equipment in the i-th monitoring area, α represents the weight coefficient of the harmonic current, β represents the weight coefficient of the leakage current, γ represents the weight coefficient of the cable temperature, δ represents the reference constant factor, I i,j represents the harmonic current of the jth electrical equipment in the i-th monitoring area, I0 represents the reference harmonic current, M i,j represents the leakage current of the jth electrical device in the i-th monitoring area, T i,j It represents the cable temperature of the jth electrical equipment in the i-th monitoring area.

2. The electrical safety information management method according to claim 1, characterized in that: The determining, based on each of the surveillance videos, of a first area in each of the monitoring areas where abnormal behavior exists comprises: Based on the frame images in each of the surveillance videos, identifying the foreground target in each of the surveillance videos; Constructing a motion trajectory corresponding to each foreground target according to the timestamp of each foreground target and the position of each foreground target in the monitoring video; Each of the motion trajectories is matched with an abnormal behavior trajectory in a preset abnormal behavior rule library to obtain a motion trajectory containing the abnormal behavior, and a monitoring area corresponding to the motion trajectory containing the abnormal behavior is used as the first area.

3. The electrical safety information management method according to claim 2, characterized in that: The identifying of the foreground target in each of the surveillance videos based on the frame images in each of the surveillance videos includes: Performing pixel difference on the frame image and the preset background image in each of the surveillance videos to obtain a foreground difference binary image corresponding to each of the surveillance videos; The pixel points whose pixel values ​​in each foreground difference binary image are greater than or equal to a preset threshold are taken as corresponding foreground pixel points; and the foreground targets corresponding to each monitoring video are generated according to each foreground pixel point.

4. The electrical safety information management method according to claim 1, characterized in that: The screening of a first target area that is common to the first area, the second area, and the third area, and a second target area that is common to any two areas, includes: Mapping the first area, the second area, and the third area to the plane image corresponding to the power distribution room to obtain first boundary coordinates of the first area, second boundary coordinates of the second area, and third boundary coordinates of the third area; Based on the first boundary coordinates, the second boundary coordinates, and the third boundary coordinates, determine an overlapping area among the first area, the second area, and the third area, and an overlapping area among any two areas among the first area, the second area, and the third area; An area where the three areas overlap is taken as the first target area, and an area where any two areas overlap is taken as the second target area.

5. The electrical safety information management method according to claim 1, characterized in that: The generating a management strategy based on the location of the first target area and the location of the second target area includes: Obtaining the location of a preset management starting point in the power distribution room; Determining a management path with the shortest time consumption according to the location of the management starting point, the location of the first target area, and the location of the second target area; Based on the number and type of electrical equipment in the first target area and the second target area, matching corresponding management measures in the database; The management strategy is generated according to the management path and the management measures.

6. An electrical safety information management system, characterized in that: The system comprises: A data acquisition module, used to acquire monitoring videos corresponding to multiple monitoring areas in the power distribution room and electrical data corresponding to the electrical equipment in each of the monitoring areas; A region identification module is used to determine, based on each of the monitoring videos, a first region in each of the monitoring regions where abnormal behavior exists; determine a second region in the multiple monitoring regions where the distance from the first region is less than a preset distance; and evaluate, based on electrical data corresponding to electrical equipment in each of the monitoring regions, a third region in each of the monitoring regions where electrical equipment in abnormal operation exists; a region division module is used to screen a first target region in which the first region, the second region, and the third region are common, and a second target region in which any two regions are common; a management strategy determination module, configured to generate a management strategy based on the location of the first target area and the location of the second target area; The step of evaluating the third area in each of the monitoring areas where there is abnormally operating electrical equipment according to the electrical data corresponding to the electrical equipment in each of the monitoring areas comprises: Extracting harmonic current, leakage current and cable temperature from each of the electrical data; Determine the failure rate of the electrical equipment in each of the monitoring areas according to the harmonic current, leakage current and cable temperature of the electrical equipment in each of the monitoring areas; The electrical equipment with a failure rate greater than or equal to a preset failure rate is regarded as the abnormally operating electrical equipment, and the monitoring area where the abnormally operating electrical equipment is located is regarded as the third area; Determining the failure rate of the electrical equipment in each of the monitoring areas according to the harmonic current, leakage current and cable temperature of the electrical equipment in each of the monitoring areas includes: Substituting the harmonic current, leakage current and cable temperature of the electrical equipment in each monitoring area into a preset formula to obtain the failure rate of the electrical equipment in each monitoring area; Wherein, the preset formula is: In the formula, R i represents the failure rate of the electrical equipment in the i-th monitoring area, n represents the number of electrical equipment in the i-th monitoring area, α represents the weight coefficient of the harmonic current, β represents the weight coefficient of the leakage current, γ represents the weight coefficient of the cable temperature, δ represents the reference constant factor, I i,j represents the harmonic current of the jth electrical equipment in the i-th monitoring area, I0 represents the reference harmonic current, M i,j represents the leakage current of the jth electrical device in the i-th monitoring area, T i,j It represents the cable temperature of the jth electrical equipment in the i-th monitoring area.

7. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes an electrical safety information management method as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, an electrical safety information management method as described in any one of claims 1 to 5 is executed.