Animal identification and repelling method applied to device protection and related device

By using multimodal recognition technology with a dual-spectrum gimbal camera and microphone array, and combining image and sound recognition results, the parameters for animal removal actions are generated. This solves the problems of insufficient perception and lack of targeting in existing animal removal devices, achieving efficient and accurate animal removal and reducing the risk of equipment failure.

CN123166171APending Publication Date: 2026-11-27DALI BUREAU OF ULTRA HIGH VOLTAGE TRANSMISSION CO CHINA SOUTHERN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611094734.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing animal deterrence devices suffer from limited sensing dimensions, insufficient environmental adaptability, lack of targeted deterrence methods, slow system response, and difficulties in deployment and maintenance, making it impossible to achieve high-reliability operation and maintenance.

Method used

The system uses a dual-spectrum gimbal camera and microphone array to acquire video frames and audio clips in parallel. By fusing image recognition and sound recognition, it generates parameters for animal removal actions, enabling accurate identification and targeted removal of animals.

Benefits of technology

It improved the accuracy of animal identification, reduced the false alarm rate, suppressed animal tolerance, improved the deterrence effect, and reduced the risk of equipment failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166171A_ABST
    Figure CN123166171A_ABST
Patent Text Reader

Abstract

The embodiment of the application provides an animal identification and driving away method applied to equipment protection and a related device, and belongs to the technical field of power facility protection. The method comprises the following steps: acquiring video frames and audio clips of a protection area in parallel; performing image identification on the video frames to obtain a visual identification result; performing sound identification on the audio clips to obtain an acoustic identification result; performing mutual verification and fusion based on confidence for the spatiotemporally aligned visual identification result and acoustic identification result to obtain a fused identification result; performing rule mapping on the fused identification result to generate driving action parameters; and driving a driving device according to the driving action parameters to drive away corresponding animals. The embodiment of the application can improve the animal identification accuracy and driving away effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power facility protection technology, and in particular to an animal identification and repelling method and related equipment for equipment protection. Background Technology

[0002] Power facilities such as converter stations and substations operating outdoors often face safety hazards such as short circuits caused by bird nesting and insulation damage caused by rodents gnawing on cables. Traditional protective measures, such as physical isolation, sound and light deterrence, or chemical agents, have problems such as poor adaptability, short-lasting effects, and potential ecological harm, and are no longer sufficient to meet the high reliability operation and maintenance requirements of smart grids.

[0003] Animal deterrence devices in related technologies generally suffer from several technical shortcomings. First, their perception is limited, relying on a single visual or audio sensor, resulting in insufficient environmental adaptability. Visible light cameras show significantly reduced effectiveness at night or in inclement weather and are susceptible to false alarms due to static objects; single audio sensors cannot effectively distinguish between target sound sources and environmental noise, leading to high rates of missed and false alarms. Second, the deterrence methods lack specificity, often employing fixed-frequency ultrasound or strong flashes, which target animals easily develop tolerance to, causing the deterrence effect to rapidly diminish over time.

[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention

[0005] The main objective of this application is to propose an animal identification and repelling method and related equipment for equipment protection, which can improve the accuracy of animal identification and the repelling effect.

[0006] To achieve the above objectives, one aspect of this application proposes an animal identification and repelling method for equipment protection, the method comprising: Parallel acquisition of video frames and audio clips from the protected area; Image recognition is performed on the video frames to obtain visual recognition results; The audio segment is subjected to sound recognition to obtain acoustic recognition results; The spatiotemporally aligned visual recognition results and acoustic recognition results are cross-verified and fused based on confidence level to obtain a fused recognition result; The fused recognition results are mapped according to rules to generate deportation action parameters; The driving device is driven according to the driving action parameters to drive away the corresponding animals.

[0007] In some embodiments, the step of performing image recognition on the video frame to obtain a visual recognition result includes: The video frames are preprocessed to obtain preprocessed video frames; Visual features are constructed and classified on the preprocessed video frames to obtain visual detection results; The visual detection results are then filtered by a detection box to obtain the visual recognition results.

[0008] In some embodiments, the construction and classification of visual features on the preprocessed video frames to obtain visual detection results includes: Multi-scale feature extraction is performed on the preprocessed video frames to obtain multi-scale feature maps; Upsampling or downsampling of the multi-scale feature map yields image enhancement features; Based on the image enhancement features, classification and regression processing are performed to obtain the first detection result; Small target detection is performed on the shallow feature map of the multi-scale feature map to obtain a second detection result; The first detection result and the second detection result are fused to obtain the visual detection result.

[0009] In some embodiments, performing sound recognition on the audio segment to obtain an acoustic recognition result includes: The audio segment is preprocessed to obtain a preprocessed audio segment; Log-Mel spectrum calculation is performed on the preprocessed audio segment to obtain a multi-channel spectrum; The multi-channel spectrogram is input into a trained densely connected network for multi-class classification to obtain the acoustic recognition result.

[0010] In some embodiments, the step of inputting the multi-channel spectrogram into a trained densely connected network for multi-class classification to obtain the acoustic recognition result includes: The multi-channel spectrogram is feature extracted and fused through the connection module of the dense connection network to obtain multi-channel audio features; The multi-channel audio features are enhanced based on a time-frequency attention mechanism to obtain audio enhancement features; The audio enhancement features are classified and identified to obtain the acoustic recognition result.

[0011] In some embodiments, the step of performing confidence-based mutual verification and fusion of the spatiotemporally aligned visual recognition results and acoustic recognition results to obtain a fused recognition result includes: The visual recognition results and the acoustic recognition results are spatiotemporally aligned to form a spatiotemporal correlation pair; Based on the confidence level of the recognition results in the spatiotemporal correlation pair, determine the visual recognition weight and the acoustic recognition weight; The visual recognition result and the acoustic recognition result are fused according to the visual recognition weight and the acoustic recognition weight to obtain the fused recognition result.

[0012] In some embodiments, the step of performing rule mapping on the fused identification result to generate deportation action parameters includes: The target type, time, regional attributes, risk level and environmental state of the fusion identification results are mapped according to the preset mapping rule table to obtain the output intensity, duration, interval and cooling of the drive-away signal; The parameters for the expulsion action include the output intensity, duration, interval, and cooling of the expulsion signal.

[0013] To achieve the above objectives, another aspect of this application proposes an animal identification and repelling device for equipment protection, the device comprising: The acquisition module is used to acquire video frames and audio clips of the protected area in parallel. The visual recognition module is used to perform image recognition on the video frames to obtain visual recognition results; An acoustic recognition module is used to perform sound recognition on the audio segment and obtain acoustic recognition results; The fusion module is used to perform confidence-based mutual verification and fusion of the spatiotemporally aligned visual recognition results and the acoustic recognition results to obtain a fused recognition result; The mapping module is used to perform rule mapping on the fused recognition results and generate deportation action parameters; The execution module is used to drive the driving device according to the driving action parameters in order to drive away the corresponding animals.

[0014] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.

[0015] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.

[0016] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer program product, including a computer program that, when executed by a processor, implements the aforementioned method.

[0017] The embodiments of this application include at least the following beneficial effects: This application provides an animal identification and repelling method, device, electronic device, storage medium, and program product applied to equipment protection. This solution simultaneously acquires video frames and audio segments, performs image recognition and sound recognition on the video frames and audio segments respectively, and fuses the two recognition results to determine the repelling action parameters, effectively improving the identification accuracy of the animals to be repelled, reducing the false alarm rate, and generating repelling action parameters based on the fused recognition results to repel the animals. This can suppress the tolerance of the target animals, improve the repelling effect, and reduce the risk of equipment failure caused by animal intrusion. Attached Figure Description

[0018] Figure 1 This is a flowchart of an animal identification and repelling method for equipment protection provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of the image recognition model provided in the embodiments of this application; Figure 3 This is a flowchart of image recognition provided in an embodiment of this application; Figure 4 This is a flowchart of acoustic recognition provided in the embodiments of this application; Figure 5 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0021] Power equipment in converter stations is frequently disturbed and damaged by small animals (such as birds and rats) during operation. For example, birds nesting on power equipment can cause short circuits, and rats gnawing on cables and fiber optic cables can lead to equipment malfunctions. These behaviors not only affect the stable operation of the power system but can also cause significant economic losses and safety hazards. Traditional protective measures (such as physical isolation, chemical repellents, and sound and light repellents) have limited effectiveness, lack specificity, and are not very effective at repelling animals, while also potentially causing negative impacts on the ecological environment.

[0022] Traditional methods such as physical isolation, chemical agents, and general sound and light stimulation are insufficient to address the risks of short circuits, malfunctions, and power outages caused by birds nesting and rodents gnawing on cables within converter stations. These methods are prone to developing "adaptation / immunity," have high maintenance costs, and pose significant ecological risks.

[0023] Animal deterrence devices in related technologies generally suffer from several technical shortcomings. First, their perception is limited, relying on a single visual or audio sensor, resulting in insufficient environmental adaptability. Visible light cameras show significantly reduced effectiveness at night or in inclement weather and are susceptible to false alarms due to static objects; single audio sensors cannot effectively distinguish target sound sources from environmental noise, leading to high rates of missed and false alarms. Second, the deterrence methods lack specificity, often employing fixed-frequency ultrasound or strong flashes, which target animals easily develop tolerance to, causing the deterrence effect to rapidly diminish over time. Third, the system response is slow; some cloud-based decision-making architectures suffer from excessively long closed-loop response times from recognition to action due to network transmission delays, failing to achieve timely deterrence. Fourth, equipment deployment and maintenance are difficult; outdoor sites often lack stable mains power and wired networks, limiting the protection range. Finally, many of these devices are isolated information systems, lacking centralized monitoring and management capabilities, and unable to perform data retrospective analysis and remote strategy optimization.

[0024] In view of this, this application provides an animal identification and repulsion method and related equipment for equipment protection. This solution effectively improves the identification accuracy of animals to be repelled, reduces the false alarm rate, and targets animals to repel them, thereby suppressing the tolerance of the target animals and improving the repulsion effect by integrating image recognition and sound recognition.

[0025] The animal identification and repelling method for device protection provided in this application relates to the field of animal identification and repelling technology for device protection. This method can be applied to a terminal, a server, or software running on either a terminal or a server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or vehicle terminal, but is not limited thereto. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the animal identification and repelling method for device protection, but is not limited to the above forms.

[0026] Figure 1 This is an optional flowchart of an animal identification and repelling method for equipment protection provided in this application embodiment. Figure 1 The method may include, but is not limited to, steps S101 to S106.

[0027] Step S101: Parallel acquisition of video frames and audio segments of the protected area; Step S102: Perform image recognition on the video frames to obtain visual recognition results; Step S103: Perform sound recognition on the audio segment to obtain the acoustic recognition result; Step S104: Perform confidence-based mutual verification and fusion on the spatiotemporally aligned visual recognition results and acoustic recognition results to obtain the fused recognition result; Step S105: Perform rule mapping on the fused recognition results to generate deportation action parameters; Step S106: Drive the driving device according to the driving action parameters to drive away the corresponding animals.

[0028] Steps S101 to S106 as shown in the embodiments of this application involve integrating a dual-spectrum gimbal camera component and a microphone array on the sensing side of the device. During the day, visible light detection is the primary method, while infrared thermal imaging enhancement is used at night or under low light conditions. Simultaneously, suspected targets in visible light are verified for liveness at the infrared end. Combined with the voiceprint results from the acoustic channel, the device's built-in recognition algorithm module identifies the collected audio and images and emits predator sounds to drive away animals based on the combined recognition results. This achieves real-time target identification and short-term triggering of drive-away, and supports 24 / 7 monitoring.

[0029] In step S101 of some embodiments, video frames are acquired using a dual-spectrum gimbal camera (including visible light and infrared thermal imaging), and target detection and recognition are performed by acquiring images in real time; audio clips are acquired through a microphone array to assist in the recognition of bird calls or rodent activity sounds, and the microphone array includes multiple directional microphones.

[0030] In some embodiments, step S102 may include, but is not limited to, steps S201 to S203: Step S201: Preprocess the video frames to obtain preprocessed video frames; Step S202: Construct and classify visual features of the preprocessed video frames to obtain visual detection results; Step S203: Filter the detection boxes from the visual detection results to obtain the visual recognition results.

[0031] In step S201 of some embodiments, such as Figure 3 As shown, preprocessing can include image resizing, normalization, or denoising to adapt to the input requirements of the YOLOv8 model.

[0032] In step S202 of some embodiments, such as Figure 2 As shown, the visual recognition module constructs and classifies visual features of preprocessed video frames using an image recognition model, which can be the YOLOv8 model. The visual recognition module uses a single-stage detection framework as its backbone, and incorporates lightweighting and small-target enhancement for distant small targets and day / night cross-domain conditions.

[0033] in, Figure 2 The CBS Block = Conv + BN + SiLU; FPN: top-down path, which fuses upsampling and lateral connections (features from the corresponding layer of the Backbone) to obtain high-resolution semantic enhancement features such as P3 and P4; PAN: bottom-up path, which further transmits localization information through downsampling and fusion to obtain multi-scale features such as P3, P4, and P5; The detection head adopts a decoupled structure, with Conv used in the classification branch and DFL (distributed regression) used in the regression branch to represent the bounding box, thereby improving localization accuracy.

[0034] The shallow small target detection branch directly utilizes P2 high-resolution features to enhance small target detection capabilities and independently outputs detection results (which can be fused with the main detection results). In some embodiments, step S202 may include, but is not limited to, steps S221 to S225: Step S221: Perform multi-scale feature extraction on the preprocessed video frames to obtain multi-scale feature maps; Step S222: Upsample or downsample the multi-scale feature map to obtain image enhancement features; Step S223: Perform classification and regression processing based on image enhancement features to obtain the first detection result; Step S224: Perform small target detection on the shallow feature map of the multi-scale feature map to obtain the second detection result; Step S225: The first detection result and the second detection result are fused to obtain the visual detection result.

[0035] In some embodiments, step S221 is described in detail below. Figure 2 The YOLOv8 model's backbone network is used to extract multi-scale features from video frames. The backbone network includes multiple convolutional modules (CBS Blocks). Each CBS Block consists of convolutional layers, batch normalization layers, and SiLU activation functions. The CBS Blocks output feature maps at different resolutions (such as P2, P3, P4, and P5) for subsequent feature pyramid fusion (FPN / PAN) and small object detection branches.

[0036] In step S222 of some embodiments, please refer to Figure 2 The shallow P2 and P3 feature maps are input into the PAN for downsampling, and the shallow P4 and P5 feature maps are input into the FPN for upsampling. Features at different scales are fused, and the feature pyramid (FPN / PAN) is used for up-down fusion, so that the shallow high-resolution features are combined with the deep semantic features, thereby enhancing the multi-scale expressive capability.

[0037] In step S223 of some embodiments, please refer to Figure 2 Channel attention (such as the SE attention mechanism) is inserted into the backbone and the detection head to recalibrate the discriminative channel. The detection head outputs the target category and small target bounding box through classification and regression branches.

[0038] In step S224 of some embodiments, please refer to Figure 2 The small target detection branch performs convolution processing on the shallow feature map P2 to identify small targets. Adding a small target detection branch in the shallow layer improves the detection rate of low-pixel targets, enabling the network to better capture the location and detail information of small, low-pixel targets (such as distant birds and rodents).

[0039] In step S225 of some embodiments, please refer to Figure 2 The output of the small target detection branch, together with the output of the detection head on layers P3, P4, and P5, is fed into the non-maximum suppression (NMS) or distance-aware variant.

[0040] In step S203 of some embodiments, please refer to Figure 3The detection box is screened by using non-maximum suppression (NMS) or a distance-aware variant to suppress neighbor interference and trigger the "infrared liveness verification" path in low light or complex backgrounds: the visible light suspected target is mapped to the infrared thermal image and its temperature distribution and morphological constraints are judged to suppress false positives caused by wind-driven foreign objects and non-living heat sources.

[0041] The visual recognition module in this embodiment supports multimodal input, static image detection, batch image processing, video stream detection, and real-time camera detection. It enables high-precision image recognition and localization of various animals, achieves rapid inference, with a single image detection time of <100ms, and is robust and adaptable to different lighting, angles, and background conditions.

[0042] In some embodiments, step S103 may include, but is not limited to, steps S301 to S303: Step S301: Preprocess the audio segment to obtain the preprocessed audio segment; Step S302: Perform logarithmic Mel spectrum calculation on the preprocessed audio segment to obtain a multi-channel spectrum; Step S303: Input the multi-channel spectrum into the trained densely connected network for multi-class recognition to obtain the acoustic recognition result.

[0043] In step S301 of some embodiments, please refer to Figure 4 The audio segments are uniformly set to a fixed sampling rate and segment length. After pre-emphasis, frame-by-frame windowing, and spectral subtraction denoising, the pre-processed audio segments are obtained.

[0044] In step S302 of some embodiments, please refer to Figure 4 For each frame of the denoised spectrum, a Mel filter bank is used for filtering. The energy output by the filter bank is calculated, and its logarithm is taken to obtain the log-Mel spectrum. Subsequently, the rate of change of the log-Mel spectrum in the time direction is calculated to capture dynamic features, resulting in the first-order difference of the log-Mel spectrum. The rate of change of the first-order difference is then calculated to capture acceleration features, resulting in the second-order difference of the log-Mel spectrum and a multi-channel spectrum. The log-Mel spectrum, along with its first and second-order differences, constitutes a three-channel spectrum.

[0045] In some embodiments, step S303 may include, but is not limited to, steps S331 to S333: Step S331: Feature extraction and fusion of multi-channel spectrograms are performed through the connection module of a densely connected network to obtain multi-channel audio features; Step S332: Based on the time-frequency attention mechanism, feature enhancement is performed on the multi-channel audio features to obtain audio enhancement features; Step S333: Classify and identify the audio enhancement features to obtain the acoustic recognition results.

[0046] In step S331 of some embodiments, the densely connected network (Attention-DenseNet model) body includes multiple cascaded Dense Blocks. Within each Dense Block, the input of each layer is the concatenation of the outputs of all preceding layers.

[0047] Densely connected networks can enhance gradient flow and enable feature reuse.

[0048] In step S332 of some embodiments, self-attention modules are inserted in the middle and deep layers of the densely connected network. These self-attention modules are based on a time-frequency attention mechanism, calculating temporal attention, learning the importance weight of each time frame, dynamically focusing on frames containing valid vocalizations, and suppressing silent or burst noise frames; they also calculate frequency attention, learning the importance weight of each frequency point, highlighting the frequency band where the target vocalization is located, and suppressing frequency regions dominated by non-stationary noise.

[0049] For example, global average pooling and global max pooling are performed on the frequency and time dimensions of the feature map, respectively, to generate two-dimensional weight vectors. These weight vectors are then multiplied element-wise to obtain the audio enhancement features. The time-frequency attention mechanism can reduce the impact of complex acoustic environments (such as outdoor wind noise and multi-source interference) on recognition accuracy.

[0050] In some embodiments, during inference, sliding window integration and temperature scaling calibration are performed on the audio segment. When a long audio segment is input, it is divided into multiple overlapping short windows. Each window is identified independently. The prediction results of all windows are averaged or voted to obtain the predicted category and average confidence of the entire segment. This can improve the robustness of detecting discontinuous calls and short calls.

[0051] Temperature scaling calibration can more accurately reflect the reliability of the recognition results, which facilitates the setting of the gating threshold for subsequent multimodal fusion.

[0052] In step S333 of some embodiments, please refer to Figure 4 The classifier calculates the category probability of the audio enhancement features to determine the category of the detected target. The acoustic recognition result includes at least the category label and confidence level.

[0053] In some embodiments, the densely connected network is trained based on a joint loss function, which employs joint optimization of classification loss and center constraint to improve inter-class separability. The classification loss prompts the network to output the correct animal category, while the center constraint causes voiceprint features belonging to the same category to cluster toward their respective centers in the feature space, making the feature boundaries of different categories clearer.

[0054] In some embodiments, step S104 may include, but is not limited to, steps S401 to S403: Step S401: Spatiotemporally align the visual recognition results and acoustic recognition results to form a spatiotemporal correlation pair; Step S402: Determine the visual recognition weight and acoustic recognition weight based on the confidence level of the recognition results in the spatiotemporal correlation pair. Step S403: The visual recognition result and the acoustic recognition result are fused according to the visual recognition weight and the acoustic recognition weight to obtain the fused recognition result.

[0055] In step S401 of some embodiments, the output results from the visual recognition module and the acoustic recognition module are time-aligned. A set of candidate targets is established within a preset sliding time window (e.g., 1 to 3 seconds), and the spatial orientation of the visual target is matched with the sound source direction of the microphone array in combination with the device calibration parameters to form a spatiotemporal correlation pair.

[0056] In steps S402 to S403 of some embodiments, the multimodal results are filtered and judged based on gating rules of confidence and consistency. The gating rules include, but are not limited to: (1) Consistency enhancement rule: When the visual recognition category class_v is consistent with the acoustic recognition category class_a, and both of their confidence scores are higher than the preset threshold (e.g., score_v>Tv and score_a>Ta), the fusion confidence score is increased and used as the output of the fusion recognition result; (2) Single-modal dominance rule: When only a single modality detects the target, or when the confidence of another modality is lower than the noise threshold, the dominant modality is dynamically selected according to the environmental conditions. For example, infrared vision results are given priority at night, and visual recognition results are given priority in strong noise environments. (3) Liveness verification rules: When the confidence level of the visual recognition result is low, infrared thermal imaging is used to confirm whether there is a heat source distribution that conforms to biological characteristics. At the same time, acoustic signals are combined to judge its activity in order to eliminate static interference. (4) Temporal stability rule: Time smoothing and voting fusion are performed on the recognition results of multiple consecutive frames / segments to avoid false triggering caused by instantaneous false detection.

[0057] In some embodiments, step S105 may include, but is not limited to, step S501: Step S501: Map the target type, time, area attributes, risk level and environmental status of the fusion identification results according to the preset mapping rule table to obtain the output intensity, duration, interval and cooling of the expulsion signal; The parameters for the expulsion action include the output strength, duration, interval, and cooling of the expulsion signal.

[0058] In step S501 of some embodiments, the driving behavior is mapped by rules and parameters are generated based on the multimodal fusion recognition results, so as to realize differentiated and dynamic driving control for different targets.

[0059] Specifically, based on a pre-built multidimensional mapping rule table, the recognition results are mapped to deportation action parameters. The mapping rule table contains at least the following input dimensions: Target species category (e.g., birds, rodents and their subcategories); time factors (daytime / nighttime / seasonal time); area attributes (equipment area, line area, perimeter area, etc.); risk level (assessed based on the historical frequency of the target and the importance of the equipment); environmental conditions (light intensity, noise level, power supply status, etc.).

[0060] Based on the above input information, the policy engine generates a four-tuple of expulsion actions (expulsion action parameters): Action={Intensity, Duration, Interval, Cooldown}; Among them, Intensity represents the output intensity of the expulsion signal, including volume, ultrasonic power, or strobe intensity; Duration represents the duration of a single expulsion action; Interval represents the time interval between two consecutive expulsion actions; Cooldown represents the shortest time for the system to enter a suppressed state after triggering a complete expulsion, used to prevent frequent triggering.

[0061] In step S106 of some embodiments, corresponding deterrence methods are adopted according to the characteristics of different species. For example, for bird targets, the predator's call is played first and strobe light stimulation can be superimposed. For rodent targets, an ultrasonic signal in the range of 16-30kHz is output and accompanied by intermittent deterrent sound. For high-risk or frequently appearing targets, a combination mode of superimposed multiple deterrence methods is further adopted to improve the deterrence effect and reduce the target's adaptability.

[0062] Meanwhile, the strategy engine adaptively adjusts the deportation action parameters based on the confidence level of the fused identification results and the risk level of the target's location. When the identification confidence is high and the target is in a key protection area, the deportation intensity and duration are increased; when the confidence is low or the uncertainty is high, a lower intensity is used or observation mode is entered to reduce interference from false triggers. In addition, by introducing a time-series scheduling mechanism, the intervals between deportation actions are randomly perturbed and a cooldown time is set to avoid the formation of fixed-frequency stimuli, thereby effectively suppressing the animal's behavioral adaptation; for targets that reappear repeatedly in a short period of time, the system gradually increases the deportation level or switches the deportation strategy, and when the target does not reappear for a long time, the intervention intensity is automatically reduced to achieve strategy rollback.

[0063] At the environmental constraints and system operation level, the policy engine further restricts the de-icing behavior by combining lighting conditions, power status, and regional compliance requirements. For example, it reduces the intensity of light stimulation at night or in sensitive areas, and reduces the de-icing frequency when the power is low, in order to improve the long-term stable operation and ecological friendliness of the system. Finally, the policy engine generates standardized de-icing action parameters and sends them to the end execution unit, while recording log information including trigger time, target category, confidence level, de-icing parameters, and execution status for subsequent data analysis on the platform side.

[0064] This embodiment uses a unified edge computing and control unit to carry out visual and acoustic reasoning, confidence gating and policy matching, and performs a four-tuple action of output intensity-duration-interval-cooling at the end point; it prioritizes playing predator sounds for birds and links them to strobe, and outputs ultrasonic segments of 16-30kHz for rodents and can superimpose deterrent sounds, taking into account both eco-friendliness and long-term effectiveness.

[0065] The hardware specifications of this embodiment include a dual-spectrum pan / tilt unit with a visible light resolution of 2688×1520, F1.6, and a minimum illumination of 0.0089 Lux; an infrared resolution of 256×192, 8–14μm, and NETD≤35mK; encoding / interface coverage of H.265 / H.264 / MJPEG, RJ45, RS485, 2DI / 2DO, audio input / output, and TF cards up to 256GB; power supply support of 12VDC and PoE (802.3at); and environmental adaptability up to IP67. 40~70℃; the detonation end is equipped with 16–30kHz ultrasound (approximately 120dB, 4 transmitters), 2×10W loudspeakers and 3.3Hz red / blue strobe, and can be configured with solar power, making it suitable for distributed rapid deployment.

[0066] Regarding edge-cloud collaboration and maintainability, this embodiment standardizes event logs on the device side by timestamp, device ID, category, confidence level, and action receipt. Evidence is packaged as thumbnails / short videos / audio clips, adhering to minimal external transmission and local caching and breakpoint resumption under weak network conditions. The platform is responsible for summarizing, archiving, visualizing, and reporting, and provides gray-scale distribution and rollback of models and policies, achieving continuous optimization without changing the device's form. The accompanying backend plugins / frontend components remove simulated data and use a unified API service to access nine types of interfaces, including device status, event logs, analysis data, system statistics, backup / restore, data export, and evidence files. It has built-in standard response formats and error handling, supports timed refresh, user-friendly display of empty data, and evidence playback, facilitating rapid integration, operation, maintenance, and auditing within the power grid.

[0067] This embodiment adopts a cloud-edge collaborative architecture, deploying the front-end recognition algorithm to business terminal devices, while centrally deploying the core model in a unified manner at the central hub—the power industry artificial intelligence innovation platform. The central platform, as the carrier of the general model, solves the problems of low efficiency, poor compatibility, and weak security in decentralized updates through centralized control and intelligent scheduling.

[0068] This application embodiment also provides an animal identification and repelling device for equipment protection, which can implement the above-described method. The device includes: The acquisition module is used to acquire video frames and audio clips of the protected area in parallel. The visual recognition module is used to perform image recognition on video frames and obtain visual recognition results. The acoustic recognition module is used to perform sound recognition on audio segments and obtain acoustic recognition results. The fusion module is used to perform confidence-based mutual verification and fusion of spatiotemporally aligned visual and acoustic recognition results to obtain a fused recognition result. The mapping module is used to perform rule mapping on the fused recognition results and generate deportation action parameters; The execution module is used to drive the driving device according to the driving action parameters in order to drive away the corresponding animals.

[0069] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0070] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method. This electronic device can include any smart terminal such as a tablet computer or an in-vehicle computer.

[0071] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0072] Please see Figure 5 , Figure 5 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 901 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 902 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 902 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902 and is called and executed by the processor 901 using the methods described in the embodiments of this application. The input / output interface 903 is used to implement information input and output; The communication interface 904 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 905 transmits information between various components of the device (e.g., processor 901, memory 902, input / output interface 903, and communication interface 904); The processor 901, memory 902, input / output interface 903, and communication interface 904 are connected to each other within the device via bus 905.

[0073] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0074] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0075] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0076] It is understood that the content of the above method embodiments is applicable to the embodiments of this program product. The specific functions implemented by the embodiments of this program product are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0077] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0078] This application provides an animal identification and repelling method, device, electronic device, storage medium, and program product for equipment protection. It solves the reliability bottleneck of single sensors in nighttime, backlight, and stray noise scenarios by using dual-spectrum and multimodal liveness verification and mutual verification decision-making with microphone arrays. It achieves rapid response from identification to action through an integrated closed loop of edge-side identification, judgment, repelling, and evidence storage. It supports all-weather deployment and large-scale replication with engineered interfaces, power supply, and environmental indicators. It supports auditing, remote operation and maintenance, and continuous upgrades with a plug-in platform of real APIs. Thus, without using chemical agents or physical killing, it stably reduces the safety risks and maintenance costs of small animal intrusion to power equipment.

[0079] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0080] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0081] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0082] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0083] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0084] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0085] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0086] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0087] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0088] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0089] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A method for animal identification and repelling applied to equipment protection, characterized in that, The method includes the following steps: Parallel acquisition of video frames and audio clips from the protected area; Image recognition is performed on the video frames to obtain visual recognition results; The audio segment is subjected to sound recognition to obtain acoustic recognition results; The spatiotemporally aligned visual recognition results and acoustic recognition results are cross-verified and fused based on confidence level to obtain a fused recognition result; The fused recognition results are mapped according to rules to generate deportation action parameters; The driving device is driven according to the driving action parameters to drive away the corresponding animals.

2. The method according to claim 1, characterized in that, The step of performing image recognition on the video frame to obtain visual recognition results includes: The video frames are preprocessed to obtain preprocessed video frames; Visual features are constructed and classified on the preprocessed video frames to obtain visual detection results; The visual detection results are then filtered by a detection box to obtain the visual recognition results.

3. The method according to claim 2, characterized in that, The step of constructing and classifying visual features of the preprocessed video frames to obtain visual detection results includes: Multi-scale feature extraction is performed on the preprocessed video frames to obtain multi-scale feature maps; Upsampling or downsampling of the multi-scale feature map yields image enhancement features; Based on the image enhancement features, classification and regression processing are performed to obtain the first detection result; Small target detection is performed on the shallow feature map of the multi-scale feature map to obtain a second detection result; The first detection result and the second detection result are fused to obtain the visual detection result.

4. The method according to claim 1, characterized in that, The process of performing sound recognition on the audio segment to obtain acoustic recognition results includes: The audio segment is preprocessed to obtain a preprocessed audio segment; Log-Mel spectrum calculation is performed on the preprocessed audio segment to obtain a multi-channel spectrum; The multi-channel spectrogram is input into a trained densely connected network for multi-class classification to obtain the acoustic recognition result.

5. The method according to claim 4, characterized in that, The step of inputting the multi-channel spectrogram into a trained densely connected network for multi-class classification to obtain the acoustic recognition result includes: The multi-channel spectrogram is feature extracted and fused through the connection module of the dense connection network to obtain multi-channel audio features; The multi-channel audio features are enhanced based on a time-frequency attention mechanism to obtain audio enhancement features; The audio enhancement features are classified and identified to obtain the acoustic recognition result.

6. The method according to claim 1, characterized in that, The process of performing confidence-based mutual verification and fusion of the spatiotemporally aligned visual recognition results and acoustic recognition results to obtain a fused recognition result includes: The visual recognition results and the acoustic recognition results are spatiotemporally aligned to form a spatiotemporal correlation pair; Based on the confidence level of the recognition results in the spatiotemporal correlation pair, determine the visual recognition weight and the acoustic recognition weight; The visual recognition result and the acoustic recognition result are fused according to the visual recognition weight and the acoustic recognition weight to obtain the fused recognition result.

7. The method according to claim 1, characterized in that, The step of performing rule mapping on the fused recognition results to generate deportation action parameters includes: The target type, time, regional attributes, risk level and environmental state of the fusion identification results are mapped according to the preset mapping rule table to obtain the output intensity, duration, interval and cooling of the drive-away signal; The parameters for the expulsion action include the output intensity, duration, interval, and cooling of the expulsion signal.

8. An animal identification and repelling device for equipment protection, characterized in that, The device includes: The acquisition module is used to acquire video frames and audio clips of the protected area in parallel. The visual recognition module is used to perform image recognition on the video frames to obtain visual recognition results; An acoustic recognition module is used to perform sound recognition on the audio segment and obtain acoustic recognition results; The fusion module is used to perform confidence-based mutual verification and fusion of the spatiotemporally aligned visual recognition results and the acoustic recognition results to obtain a fused recognition result; The mapping module is used to perform rule mapping on the fused recognition results and generate deportation action parameters; The execution module is used to drive the driving device according to the driving action parameters in order to drive away the corresponding animals.

9. An electronic device, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method as described in any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.