Security device and control method thereof

CN122994594APending Publication Date: 2026-10-27SHENZHEN ZHILING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611184217.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]本发明提供了一种安防设备及其控制方法,以至少解决相关技术中户外智能设备的指示灯缺乏分级告警能力的问题

Benefits of technology

[0006]通过本发明,由于设置处理器以及与处理器连接的照明组件和图像捕获组件,处理器将预训练模型对第一图像的识别结果转化为风险等级,并将不同风险等级映射为不同的灯珠点亮位置运动状态参数组合,从而使照明组件的动态光效与AI风险等级联动,相较于仅由传感器开关量触发固定灯光模式的方案,本发明能够相关技术中户外智能设备的指示灯缺乏分级告警能力的问题,使用户可以通过照明组件的多个灯珠的点亮位置的运动状态的变化直观获悉风险等级,提高安防设备的人机交互体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122994594A_ABST
    Figure CN122994594A_ABST
Patent Text Reader

Abstract

The application discloses a security and protection equipment and a control method and a computer readable storage medium thereof, and relates to the technical field of security and protection, wherein a processor, an illumination assembly and an image capturing assembly connected with the processor are arranged, the processor converts the recognition result of a pre-training model on a first image into a risk level, and maps different risk levels into different light bead lighting position motion state parameter combinations, so that the dynamic light effect of the illumination assembly is linked with the AI risk level, compared with the scheme that only the fixed light mode is triggered by the sensor switching quantity, the application can solve the problem that the indicator light of the outdoor intelligent equipment in the related art lacks a grading alarm capability, so that the user can intuitively know the risk level through the change of the motion state of the lighting position of the multiple light beads of the illumination assembly, and the human-computer interaction experience of the security and protection equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of security technology, and in particular to a security device and its control method. Background Technology

[0002] With the increasing popularity of outdoor smart devices, setting indicator lights on these devices to provide status alerts or alarms has become a common feature. However, outdoor smart devices in related technologies typically only support a single color or fixed dynamic effects, such as constant light or flashing, resulting in relatively simple alarm methods that cannot provide tiered warnings based on the degree of risk. Summary of the Invention

[0003] This invention provides a security device and its control method to at least solve the problem of the lack of hierarchical alarm capabilities of indicator lights in outdoor smart devices in related technologies.

[0004] To solve the above-mentioned technical problems, the present invention provides a security device, comprising: a processor, a lighting component, and an image capture component; The lighting assembly includes at least two LEDs; The processor is used to call a pre-trained model to identify the first image acquired by the image capture component, determine the risk level based on the identification result, and control the movement state of the lighting position of the lamp beads in the lighting component according to the risk level. Different risk levels correspond to different combinations of motion state parameters.

[0005] To address the aforementioned technical problems, the present invention also provides a control method for security equipment, applied to a processor of the security equipment, comprising: Acquire the first image captured by the image capture component; The pre-trained model is invoked to identify the first image, and the risk level is determined based on the identification results; The movement state of the lamp beads in the lighting assembly is controlled according to the risk level. The lighting component includes at least two LEDs, and different risk levels correspond to different combinations of motion state parameters.

[0006] Through this invention, by setting up a processor and lighting and image capture components connected to the processor, the processor converts the recognition results of the pre-trained model on the first image into risk levels, and maps different risk levels to different combinations of motion state parameters of the lamp bead lighting positions. This enables the dynamic light effect of the lighting components to be linked with the AI ​​risk level. Compared with the solution that only triggers a fixed lighting mode by the sensor switching quantity, this invention solves the problem of the lack of graded alarm capabilities of the indicator lights of outdoor smart devices in related technologies. It allows users to intuitively understand the risk level by the changes in the motion state of the lighting positions of multiple lamp beads in the lighting components, thereby improving the human-computer interaction experience of security equipment. Attached Figure Description

[0007] To more clearly illustrate the technical solutions of the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0008] Figure 1 This is a schematic diagram of the structure of a security device provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of another security device provided in an embodiment of the present invention; Figure 3 A system architecture diagram of a security device provided in an embodiment of the present invention; Figure 4 A logic block diagram of an encoding device 201 provided in an embodiment of the present invention; Figure 5 A logic block diagram of a decoding device 203 provided in an embodiment of the present invention; Figure 6 A flowchart of a control method for a security device provided in an embodiment of the present invention. Detailed Implementation

[0009] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.

[0010] It should be noted that, in the description of this invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0011] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0012] With the increasing popularity of outdoor smart devices, indicator lights have become a common human-computer interaction method for providing status prompts or alarms. However, the indicator lights of existing outdoor smart devices typically only support a single color or fixed dynamic effects (such as constant light, flashing, or scrolling lights), and cannot dynamically adjust the light pattern according to the multi-level risk status detected by artificial intelligence (AI) (such as intrusion, approach, and interaction). This results in users not being able to intuitively perceive changes in the level of danger, and lacks a feedback mechanism that links with the intelligent recognition system.

[0013] To address the lack of tiered alarm capabilities in indicator lights of outdoor smart devices in related technologies, this invention provides a security device and its control method. By setting up a processor and connecting it to a lighting component and an image capture component, the processor converts the recognition results of a pre-trained model on a first image into risk levels. Different risk levels are then mapped to different combinations of motion state parameters of the illuminated LED positions. This allows the dynamic lighting effect of the lighting component to be linked to the AI ​​risk level. Compared to solutions that only trigger fixed lighting patterns through sensor switching, this invention addresses the lack of tiered alarm capabilities in indicator lights of outdoor smart devices in related technologies. Users can intuitively understand the risk level by observing changes in the motion state of multiple illuminated LEDs in the lighting component, thus improving the human-computer interaction experience of the security device.

[0014] Figure 1 This is a schematic diagram of the structure of a security device provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of another security device provided in an embodiment of the present invention.

[0015] like Figure 1As shown, this embodiment of the invention provides a security device, which may include: a processor, a lighting component 101, and an image capture component 305. The lighting component 101 includes at least two LEDs; the processor is used to call a pre-trained model to identify the first image acquired by the image capture component 305, determine the risk level based on the identification result, and control the motion state of the lighting positions of the LEDs in the lighting component 101 according to the risk level; wherein, different risk levels correspond to different combinations of motion state parameters.

[0016] In this embodiment of the invention, the recognition results output by the pre-trained model can be converted into risk levels by the processor, and the risk levels can be mapped to the motion state parameter combination of the lighting component 101, so that the light effect of the indicator light can be linked with the recognition results of the artificial intelligence model in real time, and the user can intuitively perceive the changes in risk levels.

[0017] In this embodiment of the invention, the types of security equipment may include, but are not limited to, surveillance cameras, smart doorbells, smart door locks, outdoor PTZ cameras, bullet cameras, courtyard monitoring lights, perimeter alarm detectors, etc.

[0018] In this embodiment of the invention, the lit position refers to the position of a single lamp bead in the lighting assembly that is lit, or the position of an area formed by multiple adjacent lamp beads in the lit state. When the lit lamp beads change over time, the lit position moves, stretches, or switches accordingly along the lamp bead arrangement direction of the lighting assembly.

[0019] In this embodiment of the invention, the motion state parameters may include at least one of the following: moving speed, moving direction, and moving trajectory shape.

[0020] Specifically, the movement speed is the speed at which multiple LEDs move along the illuminated position (e.g., 100ms / LED). The direction of movement can include, but is not limited to, unidirectional movement and reciprocating movement. The movement trajectory pattern can include, but is not limited to, a comet shape (bright head, dark tail) and a synchronized flashing pattern of all LEDs. By changing the movement speed, direction of movement, and movement trajectory pattern, diverse visual warning effects corresponding to different risk levels can be created.

[0021] Furthermore, motion state parameters can also include parameters such as the length of the light strip, the color of the light, the shape of the light strip, the number of LED beads, and the continuous spacing of the lights.

[0022] Specifically, the length of the light strip depends on the number and spacing of the LEDs. The light color can be set to different colors such as red, orange, yellow, and blue according to the risk level. The shape of the light strip can be straight, curved, or ring-shaped. The number of LEDs can be 5, 8, 10, 12, or 16, etc. The continuous spacing of the light determines the continuity and resolution of the light spot. All of the above parameters can be adjusted according to the specific application scenario and design requirements.

[0023] The lighting component 101 includes at least two LEDs, which are arranged in a certain form, such as in a line, an arc, or a ring, to meet the appearance design requirements of different security equipment.

[0024] The image capture component 305 may employ, but is not limited to, complementary metal-oxide-semiconductor (CMOS) image sensors, charge-coupled device (CCD) image sensors, etc., to acquire environmental images for the processor to perform artificial intelligence model recognition.

[0025] The processor can be, but is not limited to, a microcontroller unit (MCU) or a system on chip (SoC), and is responsible for running event detection algorithms (such as pedestrian detection) and lighting strategy control center.

[0026] The security device provided in this embodiment of the invention may further include an LED driver circuit. The LED driver circuit may employ a constant current pulse width modulation (PWM) driver chip. Each light-emitting diode (LED) has an independent PWM control channel to achieve precise brightness levels such as 100%, 50%, and 20%, as well as smooth scrolling LED transitions. Through independent PWM control channels, the brightness of each LED can be precisely controlled, achieving brightness gradients and smooth transitions, thus improving the display effect of light efficiency.

[0027] The security device provided in this embodiment of the invention may further include an audio acquisition and processing component, which may include a microphone acquisition circuit, an analog-to-digital converter (ADC), and a digital signal processor (DSP) for real-time voiceprint analysis in two-way communication scenarios. Through the audio acquisition and processing module, the energy intensity of the voice signal can be acquired in real time, providing precise driving parameters for the sound wave stretching light effect and realizing the physical mapping from sound energy to light energy.

[0028] Taking a surveillance camera as an example, the security equipment provided in this embodiment of the invention may further include: a lighting component 101, a first passive infrared sensor 102, a wide-angle lens 103, a telephoto lens 104, a second passive infrared sensor 105, a fill light 106, a PTZ camera 107, a connecting rod 108, a bullet camera 109, a bracket 110, an antenna 111, a cable 112, a rotating shaft 113, and a solar panel 114.

[0029] The lighting component 101 can be a strip-shaped indicator light, located on the front of the surveillance camera, and consists of multiple LED chips arranged in a straight line. The wide-angle lens 103 and telephoto lens 104 are used to capture environmental images from different fields of view, achieving a monitoring effect that covers both near and far views. The first passive infrared (PIR) sensor 102 and the second passive infrared sensor 105 are used to detect human movement, assisting the AI ​​recognition algorithm to improve detection accuracy. The supplementary light 106 provides auxiliary lighting in nighttime or low-light environments, ensuring the imaging quality of the image capture component. The PTZ camera 107 and bullet camera 109 are different camera forms and can be installed and fixed via the connecting rod 108 and the bracket 110. The antenna 111 is used for wireless communication, the cable 112 is used for power supply and data transmission, the hinge 113 is used to adjust the camera angle, and the solar panel 114 is used to power the security equipment.

[0030] Through the coordinated operation of multiple sensors and functional modules, the surveillance camera can operate stably in complex outdoor environments and achieve multi-level dynamic light effect feedback based on AI recognition results.

[0031] The front of the surveillance camera has a strip of indicator lights (such as...). Figure 2 As shown in the lighting component 101, the light strip consists of multiple LED chip beads arranged in a horizontal line to present various dynamic light effects such as comet running lights, strobe, and sound wave expansion based on AI recognition results.

[0032] The following provides a functional description of each logical entity in the system architecture of the security equipment provided in the embodiments of the present invention.

[0033] Figure 2 This is a system architecture diagram of a security device provided in an embodiment of the present invention.

[0034] like Figure 3 As shown, the system architecture of the security equipment provided in this embodiment of the invention may include: an encoding device 201, a decoding device 203, and a communication network 202. The encoding device 201 can capture image data and control lighting effects in real time (or near real time) for transmission to the decoding device 203 directly or via the communication network 202. In some cases, video data can be broadcast live via the communication network 202.

[0035] Although the following discussion is presented within the context of encoding apparatus 201 and decoding apparatus 203, those skilled in the art will readily understand that the technology can be widely extended to other topologies and / or systems. For example, the encoding apparatus can transmit video that has been encoded in the first pass to another apparatus for a second pass of encoding (e.g., with a larger storage buffer and best-effort scheduling). As another example, the apparatus can capture media and real-time information for another apparatus for encoding.

[0036] The following discussion provides a functional description of each of the logical entities in the system architecture of this application. Those skilled in the art will readily understand that other logical entities that perform the same work in substantially the same way to achieve the same result are equivalent and freely interchangeable. Specific discussions of the structural implementation, internal operation, design considerations, and / or alternatives for each of the logical entities in the system architecture of this application are provided separately below.

[0037] In this embodiment of the invention, the encoding device 201 captures images and encodes and controls lighting effects. In one aspect, the encoding device 201 collects and / or generates supplementary data to guide lighting control. In another aspect, the encoding device 201 performs real-time encoding within a set of fixed resources. In yet another aspect, the processing units of the encoding device 201 can share resources.

[0038] The technology described throughout can be widely applied to encoding devices, such as surveillance cameras, smart doorbells, smart door locks, outdoor PTZ cameras, bullet cameras, courtyard monitoring lights, perimeter alarm detectors, etc.

[0039] Figure 4 This is a logic block diagram of the instance encoding device 201.

[0040] In this embodiment of the invention, the encoding device 201 may include: a sensor subsystem, a user interface, a communication subsystem, a control and data subsystem, and a bus for implementing data transmission.

[0041] The sensor subsystem is used to sense the environmental state and capture and / or record environmental perception data. The sensor subsystem may include, but is not limited to, an image capture component 305, a microphone 312, a first accelerometer 307, a first gyroscope 308, and a first magnetometer 309. The image capture component 305 is used to acquire environmental images (such as the first image in the above embodiment) for analysis by artificial intelligence (AI) algorithms, such as pedestrian detection and face recognition. The microphone 312 is used to collect environmental sounds, especially user voice signals in two-way communication scenarios. The first accelerometer 307, the first gyroscope 308, and the first magnetometer 309 constitute an inertial measurement unit (IMU) for detecting the motion state of the security equipment.

[0042] The image signal processor 301 is connected to the image capture component 305 and is used to preprocess the raw image data acquired by the image capture component 305 and send the processed image data to the subsequent processing unit.

[0043] In this embodiment of the invention, the processor may include a first graphics processing unit 302 and a first central processing unit 303.

[0044] The first graphics processing unit 302 is connected to the image signal processor 301 and the first central processing unit 303, and is used to perform image processing tasks that require parallel computing, such as image enhancement.

[0045] The first central processing unit 303 is the core control unit of the encoding device 201, responsible for running event detection algorithms (such as pedestrian detection, intrusion detection, and behavior analysis) and the lighting strategy control center. The first central processing unit 303 is used to call the pre-trained model to identify the first image acquired by the image capture component 305, determine the risk level based on the identification result, and control the movement state of the lighting position of the lamp beads in the lighting component 101 according to the risk level.

[0046] The first codec 304 is connected to the image signal processor 301 and the first central processing unit 303, and is used to encode and compress image data for storage or transmission over a network.

[0047] The LED driver circuit 306 is connected to the first central processing unit 303 and the lighting component 101, and uses a constant current pulse width modulation (PWM) driver chip. Each light-emitting diode (LED) has an independent PWM control channel to achieve precise brightness levels such as 100%, 50%, and 20%, as well as smooth marquee transitions. The first central processing unit 303 controls the lighting component 101 through the LED driver circuit 306 to present dynamic light effects such as comet marquee, strobe, and sound wave expansion.

[0048] The first image orientation / camera orientation 310 is connected to the first accelerometer 307, the first gyroscope 308, and the first magnetometer 309, and is used to calculate the attitude and motion trajectory of the device in space based on inertial measurement data, thereby assisting in image stabilization and motion detection.

[0049] The first gravity vector 311 is connected to the first accelerometer 307 and is used to calculate the direction of gravity, providing a reference for determining the attitude of the device.

[0050] The first user interface 313 is used to present information to the user and / or receive input from the user. The information may include visual and / or auditory content. The first user interface 313 may include a touch screen, physical buttons, and a microphone 312, etc.

[0051] The first network / data interface 314 is used to transmit data to and / or receive data from external entities, including network interfaces (such as Wireless Fidelity (Wi-Fi), Bluetooth, 4G / 5G cellular networks, Ethernet) and data interfaces (such as Secure Digital (SD) cards).

[0052] A first computer-readable storage medium stores first program code 315 and first program data 316. The first program data 316 includes a shared image processing unit and a central processing unit buffer, and a codec buffer. When the first program code 315 is executed by a processor, it implements the control method of the security device of the present invention.

[0053] like Figure 4 As shown, when executing the control method of the security equipment, the encoding device 201 can be used to perform the following steps based on the first program code 315: Step S3151: Obtain real-time information. The first central processing unit 303 obtains a first image acquired in real time from the image capture component 305, obtains real-time audio data from the microphone 312, and obtains real-time inertial measurement data from the first accelerometer 307, the first gyroscope 308, and the first magnetometer 309.

[0054] Step S3152: Determine encoding parameters. Based on the obtained real-time information, the first central processing unit 303 determines the lighting control parameters, including brightness gradient, movement speed, flashing frequency, extension length, etc.

[0055] Step S3153: Configure the encoder. The first central processing unit 303 configures the lamp bead driving circuit 306 according to the determined lighting control parameters to drive the lighting component 101 to present the corresponding dynamic lighting effect.

[0056] Step S3154: Provide encoded media. The first central processing unit 303 encodes the encoded image data through the first codec 304 and provides it to the decoding device 203 via the first network / data interface 314.

[0057] Through the above-mentioned operation of the encoding device 201, the AI ​​recognition result can be converted into lighting control parameters in real time, driving the lighting component 101 to present dynamic light effects corresponding to the risk state, thereby achieving precise technical feedback for visual warning and dispersal.

[0058] Figure 5 This is a logic block diagram of a decoding device 203 provided in an embodiment of the present invention.

[0059] The decoding device 203 is similar to the encoding device 201 in many ways in operation and implementation. The following description focuses on the specific settings of the decoding device 203.

[0060] In this embodiment of the invention, the decoding device 203 may include: a second user interface 413, a second network / data interface 414, a second codec 404, a second computer-readable storage medium 415, and components such as a second accelerometer 407, a second gyroscope 408, a second magnetometer 409, a second image orientation / camera orientation 410, a second gravity vector 411, and a second computer-readable storage medium.

[0061] The second computer-readable storage medium stores second program code 415 and second program data 416. The second program data 416 includes an image processing unit, a central processing unit buffer, and a codec buffer. When the second program code 415 is executed by the processor, it implements the control method of the security device of the present invention.

[0062] like Figure 5 As shown, when executing the control method of the security equipment, the decoding device 203 can be used to perform the following steps based on the second program code 415: Step S4151: Obtain real-time information. The decoding device 203 obtains encoded image data and lighting control parameters from the encoding device 201 through the second network / data interface 414.

[0063] Step S4152: Determine the encoding parameters. The second central processing unit 403 of the decoding device 203 parses the received data and determines the corresponding decoding parameters.

[0064] Step S4153: Configure the encoder. The decoding device 203 configures the second codec 404 according to the determined decoding parameters to correctly decode the received image data.

[0065] Step S4154: Provide the encoded media. The decoding device 203 presents the decoded image data and lighting status information to the user through the second user interface 413, or feeds it back to the encoding device 201 through the communication network.

[0066] Through the above-described operation of the decoding device 203, users can remotely view the images collected by the security equipment and the corresponding lighting status in real time, realizing remote monitoring and interaction.

[0067] Based on the above embodiments, in this embodiment of the invention, the lighting component 101 may have a first working state, a second working state, and a third working state, each corresponding to a different combination of motion state parameters. The processor can also control the lighting component 101 according to a preset priority when triggering conditions for at least two working states are simultaneously met, wherein the second working state has a higher priority than the third working state, and the third working state has a higher priority than the first working state.

[0068] In specific implementation, the combination of motion state parameters may include at least one of the following: the moving speed of the illuminated position, the moving direction, the moving trajectory shape, the flashing frequency, the brightness distribution, and the number of illuminated LED beads.

[0069] The processor can also be used to control the lighting component 101 according to a preset priority when the triggering conditions of at least two of the first working state, the second working state and the third working state are met at the same time, so as to avoid multiple lighting control strategies acting on the lighting component at the same time and causing light effect conflicts.

[0070] Specifically, the second working state has a higher priority than the third working state, and the third working state has a higher priority than the first working state. That is, when the triggering condition of the second working state is met, the processor prioritizes controlling the lighting component 101 to enter the second working state; when the triggering condition of the second working state is not met but the triggering condition of the third working state is met, the processor controls the lighting component to enter the third working state; when the triggering conditions of both the second and third working states are not met but the triggering condition of the first working state is met, the processor controls the lighting component 101 to enter the first working state.

[0071] By using the above priority control method, higher priority alarm or interactive lighting effects can override lower priority prompt lighting effects, thereby ensuring that the lighting effect output by the lighting components matches the actual working scenario of the security equipment.

[0072] In some optional embodiments of the present invention, the first working state and the second working state may correspond to different risk levels, and the third working state is a two-way communication state.

[0073] In some alternative embodiments of the present invention, the first working state, the second working state, and the third working state may correspond to different risk levels.

[0074] In some alternative embodiments of the present invention, more working states corresponding to risk levels are set.

[0075] In the following embodiments of the present invention, the working status and two-way communication status corresponding to different risk levels will be further explained.

[0076] Based on the above embodiments, in this embodiment of the invention, the risk level may include a first risk level, which is used to characterize the entry of a target into a monitored area. The processor is used to control the lighting component 101 to a first operating state when the risk level is the first risk level; in the first operating state, one illuminated position corresponds to multiple adjacent LEDs, the illuminated position moves along a first direction of the multiple LEDs of the lighting component 101, and the brightness of the corresponding LEDs decreases from the head to the tail of the moving direction of the illuminated position.

[0077] Specifically, when the processor detects a stranger entering the monitored area (but not yet approaching) through the image capture component 305, the processor controls the lighting component 101 to enter its first working state. Taking 10 LEDs as an example, the comet consists of 5 LEDs: 3 main bodies with 100% brightness, 1 tail with 50% brightness, and 1 tail with 20% brightness. The comet first gradually appears from left to right along the light strip to form its complete shape, advancing one LED every 100 milliseconds. After the last tail leaves the light strip on the right, it returns from right to left, repeating the cycle. Through the brightness gradient of the bright head and dark tail (i.e., the brightness decreases from the head to the tail), users can intuitively perceive the existence and direction of movement of the comet's light spot, which is different from traditional constant-brightness running lights and enhances the visual warning's recognizability.

[0078] In some optional implementations, corresponding to the first working state, the processor controls the motion state parameters of the lighting positions of the lamps in the lighting assembly 101, which may include: increasing or decreasing the starting index position of the brightness sequence corresponding to the lighting position by a step length according to a first cycle; when the ending index position of the brightness sequence exceeds the boundary of the brightness array of the lighting assembly 101, switching the starting index position from increasing to decreasing or from decreasing to increasing, so as to switch the movement direction of the lighting position; wherein, the brightness array is an array corresponding to the brightness values ​​of multiple lamps of the lighting assembly, and the brightness sequence is a sequence corresponding to the brightness values ​​of multiple lamps included in the lighting position.

[0079] Specifically, the processor can create a brightness array of length N in memory. A timer is set to increment or decrement the starting index of the comet sequence 100, 100, 100, 50, 20 by 1 every 100ms interval. When the end of the comet sequence (the 20% brightness tail) exceeds index N-1, a state flip is triggered, changing the movement direction from left to right to right to left, or vice versa.

[0080] Furthermore, corresponding to the first working state, the processor can also be used to interpolate the brightness of at least some of the LEDs in the lighting component between two adjacent first cycles, based on the difference between the brightness sequence of the current cycle and the brightness sequence of the next cycle, so that the brightness of the LEDs changes continuously over time.

[0081] Specifically, to prevent visual flicker, linear interpolation is used to achieve a gradual brightness transition (Fading Effect) during the 100ms transition interval. For example, when a certain LED needs to change from 100% brightness to 0% brightness in the current cycle, the processor calculates intermediate brightness values ​​(such as 75%, 50%, 25%) between two adjacent cycles, so that the brightness of the LED gradually decreases instead of jumping instantaneously.

[0082] It should be noted that the parameters such as the first period (100ms), comet sequence (100,100,100,50,20), first step length (1), and brightness array length N (total number of LEDs) in this embodiment are all exemplary. In other optional embodiments of the present invention, the above parameters can be adjusted according to actual design requirements.

[0083] Based on the above embodiments, the security device provided in this embodiment of the invention may further include a sound alarm; the risk level includes a second risk level, which is used to characterize the approach of a target and the existence of a risk. The processor is used to control the lighting component 101 to a second operating state and control the sound alarm to emit an alarm when the risk level is the second risk level; in the second operating state, multiple LEDs in the lighting component 101 flash synchronously at a preset frequency, and the alarm sound is synchronized with the flashing of the LEDs, so that the peak volume of the alarm sound is aligned with the peak brightness of the LEDs in time, and the sound alarm is controlled to propagate the alarm sound directionally to the target area.

[0084] In practice, the sound alarm can be, but is not limited to, a buzzer.

[0085] In this embodiment of the invention, when the processor identifies that a stranger is getting closer to the current device through the image capture component 305 and identifies that the stranger has high-risk behavior (such as crossing the fence, damaging the device, staying for a long time, etc.), the processor controls the lighting component 101 to enter the second working state and also simultaneously controls the sound alarm (such as a buzzer) to emit an alarm sound.

[0086] In this embodiment of the invention, the triggering condition for the second working state can be: the processor calls the first pre-trained model to identify the first image, and when an intrusion object is identified and the intrusion object is in a second preset state (such as a stranger approaching and exhibiting high-risk behavior), the second working state is triggered.

[0087] As an example, the second operating state of the lighting component 101 can be: 10 LEDs flashing simultaneously at 100% brightness, flashing twice per second at a frequency of 2.0 Hz (i.e., a cycle of 500 ms, 250 ms on and 250 ms off).

[0088] To enhance the deterrent effect, the processor controls the alarm sound frequency to match the preset flashing frequency of the LED beads, and the two are synchronized in time. Specifically, the processor can use a high-priority interrupt mechanism to ensure that the drive signal of the audible alarm and the square wave signal of the LED bead drive circuit 306 are strictly aligned in phase, so that when the LED beads flash to their brightest point (brightness peak), the alarm sound volume also reaches its maximum (volume peak); conversely, when the LED beads are off or in a low-brightness state, the alarm sound volume is correspondingly at its lowest point or silent. This sound-light synchronization mechanism, compared to the asynchronous sound-light method, can create a strong sensory impact and significantly enhance the deterrent effect on intruders.

[0089] Specifically, when the alarm occurs, the system invokes a high-priority interrupt, and the LED driver circuit 306 outputs a 2.0Hz square wave signal (50% duty cycle), ensuring that the peak value of the audible alarm and the peak value of the LED strobe light are aligned on the time axis. Then, the processor can continuously call artificial intelligence (AI) algorithms (pedestrian detection / visual tracking). As long as the target within the detection frame does not disappear, the timer does not reset, maintaining the strobe state.

[0090] Furthermore, to avoid unnecessary disturbance to personnel outside the target area, the processor also controls the audible alarm to adopt a directional propagation method, concentrating the energy of the alarm sound towards the target area (e.g., the direction or location of the intruder identified by the image capture component 305). Directional propagation can be achieved through the directional sound-emitting structure of the audible alarm, or by controlling the phase difference of multiple sound-emitting units to form a directional sound beam. Through this directional propagation control, the alarm sound mainly propagates towards the target area, thereby reducing noise interference to the surrounding environment.

[0091] Based on the above embodiments, the security device provided in this embodiment of the invention may further include an audio acquisition component; the processor may also be used to control the lighting component 101 to a third working state according to the sound intensity of the two-way communication acquired by the audio acquisition component when the security device is in a two-way communication state; in the third working state, at least one reference lamp bead in the lighting component 101 remains constantly lit, and starting from the reference lamp bead, additional lamp beads are dynamically extended and retracted to at least one side along the arrangement direction of the lighting component 101, wherein the extension length of the lit position increases with the increase of the sound intensity, and the contraction length of the lit position shortens with the decrease of the sound intensity.

[0092] In a practical implementation, the audio acquisition component can be a microphone 312. The reference LED can be located in the center of the illumination component 101 (e.g., the 5th or 6th of 10 LEDs), remaining constantly lit and at its highest brightness. The processor acquires uplink (application to device) or downlink (device to app) Pulse Code Modulation (PCM) audio stream data in real time, calculates the root mean square (RMS) or decibel (dB) value of the audio through short-time energy analysis, and obtains the sound intensity. Then, the sound intensity is linearly mapped to the number of LEDs lit. For example, when the volume is less than 30 dB, only the middle two LEDs are lit; when the volume is greater than 80 dB, all 10 LEDs are lit.

[0093] In this embodiment of the invention, in the third working state, the rate at which the number of extended lit LEDs decreases as the sound intensity decreases is less than the rate at which it increases as the sound intensity increases.

[0094] Specifically, to prevent short pauses in speech from causing frequent and abrupt changes in the lights, the processor introduces an attenuation coefficient: when the sound intensity increases, the LED extends and lights up more quickly; when the sound intensity decreases, the LED retracts and lights up more slowly. In other words, the lights retract more slowly when the sound is softer and extend more quickly when the sound is louder, resulting in a more natural extension and retraction effect.

[0095] Based on the above embodiments, in the security equipment provided by the present invention, the processor identifies the first image captured by the image capture component 305 by running an artificial intelligence (AI) detection algorithm, determines the risk level based on the identification result, and then selects the working state and motion state parameter combination of the lighting component 101 based on the risk level.

[0096] Specifically, when the AI ​​identifies an intrusion target as being at the highest risk level (such as a stranger entering a monitored area), it triggers the lighting component 101 to enter its first operating state (comet running light mode). For example, a dynamic light cluster composed of 5 light-emitting diode (LED) beads, including 3 main beads with 100% brightness, 1 trail bead with 50% brightness, and 1 trail bead with 20% brightness, moves unidirectionally along the light strip at a step speed of 100 milliseconds (ms) per bead. After completely exiting at the end, it repeats in the opposite direction, forming an asymmetrical and quantifiable visual warning sequence.

[0097] When the AI ​​identifies an intruder as being at the second risk level (e.g., a stranger approaching and exhibiting high-risk behavior), it triggers the lighting component 101 to enter its second operating state (full-lamp synchronous high-frequency flashing mode). In this mode, more than 10 LED beads can simultaneously flash at 100% brightness and a frequency of 2.0 Hz. This frequency has been measured to be the warning threshold of the human visual sensitivity zone, and it is triggered synchronously with the sound alarm, forming a sound and light linkage alarm decoy mechanism. The frequency and flashing synchronization can be precisely controlled by the LED bead driver circuit 306.

[0098] When the security equipment is in two-way voice interaction mode, it triggers the lighting component 101 to its third operating state (sound wave response brightness distribution mode). In this mode, the brightness of the LEDs in the middle area of ​​the light strip is higher than that at both ends, and the width of the high-brightness area in the middle dynamically expands and contracts with the intensity of the voice sound wave energy. The sound wave energy is collected by the microphone 312 and then normalized and converted into a pulse width modulation (PWM) duty cycle control signal, which drives the brightness change of the LEDs at the corresponding positions, realizing the physical mapping between sound energy and light domain. This mapping relationship is modeled based on a linear function of sound pressure level and brightness gradient, ensuring that the response is reproducible and not subjectively perceived.

[0099] When multiple triggering conditions are met simultaneously, the processor can arbitrate according to the following priority strategy: the second working state has higher priority than the third working state, and the third working state has higher priority than the first working state. Specifically, when the AI ​​detects an intrusion and meets the alarm rules, the processor immediately interrupts all other lighting effects and forces the system into a 2.0Hz strobe mode; when the user opens the call button on the application and the second working state is not triggered, the processor overrides the marquee effect of the first working state with the third working state; the first working state only operates when the system is in a non-alarm, non-call state.

[0100] The security equipment provided in this invention transforms AI recognition results into measurable and reproducible changes in physical parameters of light, allowing users to intuitively perceive the level of danger without understanding AI logic. This improves the response efficiency and user experience of outdoor safety interactions, while reducing invalid warnings caused by misjudgments and enhancing system reliability.

[0101] The embodiments of the present invention provide a control method for security equipment. The method is described in detail below in conjunction with the execution flow of the control method for security equipment.

[0102] Figure 6 A flowchart of a control method for a security device provided in an embodiment of the present invention.

[0103] like Figure 6 As shown, the processor applied to security equipment, the control method of the security equipment provided in this embodiment of the invention may include: S601: acquiring the first image captured by the image capture component.

[0104] S602: Call the pre-trained model to identify the first image and determine the risk level based on the identification result.

[0105] S603: Control the movement state of the lamp beads in the lighting assembly according to the risk level.

[0106] The lighting component includes at least two LEDs, with different risk levels corresponding to different combinations of motion state parameters.

[0107] In a specific implementation, for S601, the processor acquires the environmental images around the security device in real time through the image capture component 305 to obtain the first image data.

[0108] For S602, the processor calls a pre-trained model to perform target recognition, behavior recognition, or scene recognition on the first image, and determines the risk level based on the recognition results.

[0109] For S603, the processor determines the operating status of lighting component 101 and the corresponding lighting control parameters based on the risk level.

[0110] The processor controls the movement of the LED beads based on the images captured by the image capture component, so that the light effect of the indicator light is linked with the AI ​​recognition results in real time, and users can intuitively perceive changes in risk level.

[0111] In this embodiment of the invention, the motion state parameters may include at least one of the following: moving speed, moving direction, and moving trajectory shape.

[0112] Specifically, the movement speed is the speed at which multiple LEDs move along the illuminated position (e.g., 100ms / LED). The direction of movement can include, but is not limited to, unidirectional movement and reciprocating movement. The movement trajectory pattern can include, but is not limited to, a comet shape (bright head, dark tail) and a synchronized flashing pattern of all LEDs. By changing the movement speed, direction of movement, and movement trajectory pattern, diverse visual warning effects corresponding to different risk levels can be created.

[0113] In this embodiment of the invention, S603, which controls the motion state of the lamp beads in the lighting assembly according to the risk level, may include: when the triggering conditions of at least two working states are met simultaneously, controlling the lighting assembly according to a preset priority; wherein, the priority of the second working state is higher than that of the third working state, the priority of the third working state is higher than that of the first working state, and the first working state, the second working state, and the third working state correspond to different combinations of motion state parameters.

[0114] In specific implementation, the combination of motion state parameters may include at least one of the following: the moving speed of the illuminated position, the moving direction, the moving trajectory shape, the flashing frequency, the brightness distribution, and the number of illuminated LED beads.

[0115] The processor can also be used to control the lighting component 101 according to a preset priority when the triggering conditions of at least two of the first working state, the second working state and the third working state are met at the same time, so as to avoid multiple lighting control strategies acting on the lighting component at the same time and causing light effect conflicts.

[0116] Specifically, the second working state has a higher priority than the third working state, and the third working state has a higher priority than the first working state. That is, when the triggering condition of the second working state is met, the processor prioritizes controlling the lighting component 101 to enter the second working state; when the triggering condition of the second working state is not met but the triggering condition of the third working state is met, the processor controls the lighting component to enter the third working state; when the triggering conditions of both the second and third working states are not met but the triggering condition of the first working state is met, the processor controls the lighting component 101 to enter the first working state.

[0117] By using the above priority control method, higher priority alarm or interactive lighting effects can override lower priority prompt lighting effects, thereby ensuring that the lighting effect output by the lighting components matches the actual working scenario of the security equipment.

[0118] In some optional embodiments of the present invention, the first working state and the second working state may correspond to different risk levels, and the third working state is a two-way communication state.

[0119] In some alternative embodiments of the present invention, the first working state, the second working state, and the third working state may correspond to different risk levels.

[0120] In some alternative embodiments of the present invention, more working states corresponding to risk levels are set.

[0121] In the following embodiments of the present invention, the working status and two-way communication status corresponding to different risk levels will be further explained.

[0122] In this embodiment of the invention, S603, which controls the movement state of the lighting position of the lamp beads in the lighting assembly according to the risk level, may include: when the risk level is the first level, controlling the lighting assembly to be in a first working state; in the first working state, one lighting position corresponds to multiple adjacent lamp beads, the lighting position moves along the first direction of multiple lamp beads in the lighting assembly, and from the head to the tail of the moving direction of the lighting position, the brightness of the corresponding lamp beads decreases.

[0123] Specifically, taking 10 LED beads as an example, the comet consists of 5 LED beads: 3 main bodies with 100% brightness, 1 tail with 50% brightness, and 1 tail with 20% brightness. The comet gradually appears from left to right along the light strip to form its complete shape, advancing one LED bead every 100ms. After the last tail leaves the light strip on the right, it returns from right to left, repeating the cycle. Through the brightness gradient of the bright head and dark tail (i.e., the brightness decreases from the head to the tail), users can intuitively perceive the existence and direction of movement of the comet's light spot, which is different from traditional constant-brightness running lights and enhances the visual recognition of the warning.

[0124] In this embodiment of the invention, controlling the lighting component to a first working state may include: increasing or decreasing the starting index position of the brightness sequence corresponding to the illuminated position by a step length according to a first cycle; when the ending index position of the brightness sequence exceeds the boundary of the brightness array of the lighting component, switching the starting index position from increasing to decreasing or from decreasing to increasing, thereby switching the movement direction of the illuminated position. Here, the brightness array is an array corresponding to the brightness values ​​of multiple LEDs in the lighting component, and the brightness sequence is a sequence corresponding to the brightness values ​​of the multiple LEDs included in the illuminated position.

[0125] Specifically, the processor can create a brightness array of length N in memory. A timer is set to increment or decrement the starting index of the comet sequence 100, 100, 100, 50, 20 by 1 every 100ms interval. When the end of the comet sequence (the 20% brightness tail) exceeds index N-1, a state flip is triggered, changing the movement direction from left to right to right to left, or vice versa.

[0126] In this embodiment of the invention, S603, which controls the movement state of the illuminated position of the lamp beads in the lighting assembly according to the risk level, may include: when the risk level is the second risk level, controlling the lighting assembly to a second working state and controlling the sound alarm to emit an alarm; wherein, in the second working state, controlling multiple lamp beads in the lighting assembly to flash synchronously at a preset frequency, and synchronizing the alarm sound emitted by the sound alarm with the flashing of the lamp beads, aligning the peak volume of the alarm sound with the peak brightness of the lamp beads in time, and directionally propagating the alarm sound to the target area.

[0127] Specifically, when the processor detects a stranger approaching the device and identifies high-risk behavior (such as crossing a fence, damaging the device, or lingering for an extended period), it controls 10 LEDs to simultaneously flash at 100% brightness and a frequency of 2.0Hz (500ms cycle, 250ms on, 250ms off), while simultaneously emitting an alarm sound. To achieve sound and light synchronization, the system invokes a high-priority interrupt when the alarm occurs, and the LED driver circuit 306 outputs a 2.0Hz square wave signal (50% duty cycle), ensuring that the peak of the alarm's beep is aligned with the peak brightness of the LED's flash on the time axis. The processor continuously calls the AI ​​algorithm (pedestrian detection / visual tracking), and as long as the target within the detection frame does not disappear, the timer does not reset, maintaining the flashing state.

[0128] The control method for the security device provided in this embodiment of the invention may further include: when the security device is in a two-way communication state, controlling the lighting component to a third working state based on the sound intensity of the two-way communication collected by the audio acquisition component; in the third working state, at least one reference LED in the lighting component remains constantly lit, and starting from the reference LED, additional LEDs are dynamically extended and retracted to at least one side along the arrangement direction of the lighting component, wherein the extension length of the lit position increases with the increase of the sound intensity, and the contraction length of the lit position shortens with the decrease of the sound intensity.

[0129] Specifically, the reference LED can be located in the center of the lighting assembly 101 (e.g., the 5th or 6th of 10 LEDs), remaining constantly lit and at its highest brightness. The processor acquires uplink (application to device) or downlink (device to app) Pulse Code Modulation (PCM) audio stream data in real time, calculates the root mean square (RMS) or decibel (dB) value of the audio through short-time energy analysis, and obtains the sound intensity. Then, the sound intensity is linearly mapped to the number of LEDs lit. For example, when the volume is less than 30 dB, only the middle two LEDs are lit; when the volume is greater than 80 dB, all 10 LEDs are lit.

[0130] It should be noted that the parameters such as the first period (100ms), comet sequence (100,100,100,50,20), first step length (1), preset frequency (2.0Hz), sound intensity threshold (30dB, 80dB), and number of LED beads (10) in the embodiments of the present invention are all exemplary. In other optional embodiments of the present invention, the above parameters can be adjusted according to actual design requirements.

[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0132] It should be noted that in the embodiments of the control methods for various security devices of the present invention, some steps or features may be omitted or not executed. The division of hardware or software functional modules for ease of explanation is not the only implementation of the control methods for security devices provided in the embodiments of the present invention.

[0133] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, can implement the steps of the control method for the security device provided in any of the above embodiments.

[0134] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0135] For a description of the computer-readable storage medium provided in the embodiments of the present invention, please refer to the above method embodiments. The effects it achieves are the same as those of the control method for security equipment provided in the embodiments of the present invention, and the present invention will not repeat them here.

[0136] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0137] The security device and its control method provided by the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only intended to help understand the method and core ideas of the present invention. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the present invention.

Claims

1. A security device, characterized in that, include: Processor, lighting components, and image capture components; The lighting assembly includes at least two LEDs; The processor is used to call a pre-trained model to identify the first image acquired by the image capture component, determine the risk level based on the identification result, and control the movement state of the lighting position of the lamp beads in the lighting component according to the risk level. Different risk levels correspond to different combinations of motion state parameters.

2. The security equipment according to claim 1, characterized in that, The lighting component has a first working state, a second working state, and a third working state, and the first working state, the second working state, and the third working state respectively correspond to different combinations of motion state parameters; The processor is further configured to control the lighting component according to a preset priority when the triggering conditions of at least two working states are met simultaneously, wherein the priority of the second working state is higher than that of the third working state, and the priority of the third working state is higher than that of the first working state.

3. The security equipment according to claim 1, characterized in that, The risk level includes a first risk level, which is used to characterize the target entering the surveillance area; The processor is used to control the lighting component to a first operating state when the risk level is the first risk level; In the first working state, one of the lit positions corresponds to multiple adjacent LED beads. The lit position moves along a first direction of the multiple LED beads of the lighting component, and the brightness of the corresponding LED beads decreases from the head to the tail of the moving direction of the lit position.

4. The security equipment according to claim 3, characterized in that, Corresponding to the first working state, the processor controls the first movement state of the lit position of the lamp bead in the lighting assembly, including: According to the first cycle, the starting index position of the brightness sequence corresponding to the lit position is increased or decreased by the first step length; When the end index position of the brightness sequence exceeds the boundary of the brightness array of the lighting component, the starting index position is switched from increasing to decreasing or from decreasing to increasing to switch the direction of movement of the lighting position; Wherein, the brightness array is an array corresponding to the brightness values ​​of the plurality of lamp beads in the lighting component, and the brightness sequence is a sequence corresponding to the brightness values ​​of the plurality of lamp beads included in the lit position.

5. The security equipment according to claim 4, characterized in that, Corresponding to the first working state, the processor is further configured to perform interpolation calculation on the brightness of at least some of the LEDs in the lighting component between two adjacent first cycles, based on the difference between the brightness sequence of the current cycle and the brightness sequence of the next cycle, so that the brightness of the LEDs changes continuously over time.

6. The security equipment according to claim 1, characterized in that, It also includes audible alarms; The risk level includes a second risk level, which is used to characterize that the target is approaching and there is a risk. The processor is used to control the lighting component to a second operating state and control the sound alarm to emit an alarm when the risk level is the second risk level. In the second working state, the multiple LED beads in the lighting assembly flash synchronously at a preset frequency, and the alarm sound is synchronized with the flashing of the LED beads, so that the volume peak of the alarm sound is aligned with the brightness peak of the LED beads in time, and the sound alarm is controlled to propagate the alarm sound in a direction to the target area.

7. The security equipment according to claim 1, characterized in that, It also includes an audio capture component; The processor is also used to control the lighting component to a third working state based on the sound intensity of the two-way communication collected by the audio acquisition component when the security device is in a two-way communication state. In the third operating state, at least one reference LED in the lighting assembly remains constantly lit, and starting from the reference LED, additional LEDs are dynamically extended and retracted to at least one side along the arrangement direction of the lighting assembly, wherein the extension length of the lit position increases with the increase of the sound intensity, and the contraction length of the lit position decreases with the decrease of the sound intensity.

8. A control method for a security device, characterized in that, Processors used in security equipment include: Acquire the first image captured by the image capture component; The pre-trained model is invoked to identify the first image, and the risk level is determined based on the identification results; The movement state of the lamp beads in the lighting assembly is controlled according to the risk level. The lighting component includes at least two LEDs, and different risk levels correspond to different combinations of motion state parameters.

9. The control method for security equipment according to claim 8, characterized in that, Controlling the movement state of the lamp beads in the lighting assembly according to the risk level includes: When the triggering conditions of at least two working states are met simultaneously, the lighting component is controlled according to a preset priority. The second working state has a higher priority than the third working state, and the third working state has a higher priority than the first working state. The first working state, the second working state, and the third working state each correspond to different combinations of motion state parameters.

10. The control method for security equipment according to claim 8, characterized in that, Controlling the movement state of the lamp beads in the lighting assembly according to the risk level includes: When the risk level is the second risk level, the lighting component is controlled to the second working state, and the sound alarm is controlled to sound an alarm. In the second working state, the multiple LED beads in the lighting assembly are controlled to flash synchronously at a preset frequency, and the alarm sound emitted by the sound alarm is synchronized with the flashing of the LED beads, so that the volume peak of the alarm sound is aligned with the brightness peak of the LED beads in time, and the alarm sound is directionally propagated to the target area.