Alarm service control method, device and electronic equipment

CN120075388BActive Publication Date: 2026-09-25ZHEJIANG UNIVIEW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311638754.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2026-09-25
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

[0004]本发明提供一种告警业务控制方法、装置和电子设备,用以解决现有技术中串行进行联动告警业务容易出现监控画面黑屏的问题,提高警戒类智能双光监控设备触发告警后的图像质量

Benefits of technology

[0040]本发明提供的告警业务控制方法、装置和电子设备,在检测到用于指示将监控设备的成像画面从第一成像颜色切换为第二成像颜色且将补光灯从第一补光灯切换为第二补光灯的告警指令信息的情况下,获取标定的灯控安全功耗,其中,第一补光灯和第二补光灯中的一个为白光补光灯;在确定灯控安全功耗大于双滤光片切换器的切换功耗的情况下,表示在灯控安全功耗范围内有保证完成告警指令信息对应的告警业务之外的余量功耗,可以有效利用该余量功耗控制白光补光灯;此时,控制白光补光灯为开启状态,并基于灯控安全功耗、第一补光灯的功耗和第二补光灯的预开启功耗控制白光补光灯在开启状态下的光强,在白光补光灯为开启状态的基础上,执行告警指令信息对应的告警业务流程,这样,在告警指令信息触发前后,全程补光均在,有效避免了监控画面黑屏的问题,进而提高警戒类智能双光监控设备触发告警后的图像质量。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075388B_ABST
    Figure CN120075388B_ABST
Patent Text Reader

Abstract

The application provides an alarm service control method and device and electronic equipment, and relates to the technical field of monitoring. The method comprises the following steps: when an alarm instruction information is detected, a calibrated lamp control safety power consumption is acquired; the alarm instruction information is used for indicating that the imaging picture of a monitoring device is switched from a first imaging color to a second imaging color and a light supplement lamp is switched from a first light supplement lamp to a second light supplement lamp, and one of the first light supplement lamp and the second light supplement lamp is a white light supplement lamp; in the case that the lamp control safety power consumption is greater than the switching power consumption of a double optical filter switch, the white light supplement lamp is controlled to be in an open state, and the light intensity of the white light supplement lamp in the open state is controlled based on the lamp control safety power consumption, the power consumption of the first light supplement lamp and the pre-opening power consumption of the second light supplement lamp; and on the basis that the white light supplement lamp is in the open state, an alarm service process corresponding to the alarm instruction information is executed. The technical scheme provided by the application can improve the image quality of an intelligent double-light monitoring device after an alarm is triggered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of monitoring technology, and in particular to an alarm service control method, device, and electronic device. Background Technology

[0002] With the intelligent development of security monitoring, alarm-type monitoring equipment capable of intelligent linkage alarms, such as intelligent dual-light monitoring equipment, has been widely used. Intelligent dual-light monitoring equipment can combine sound and light for linked alarms, better meeting the needs of security monitoring. However, the superposition of alarm functions can significantly impact camera power consumption, especially instantaneous power consumption, thereby affecting product stability and leading to abnormal phenomena such as restarts.

[0003] In related technologies, such as Figure 1 As shown, taking lighting linkage as an example, after an alarm is triggered, the switching of the dual filter switcher (IR-CUT), the turning off or on of the infrared lights, and the turning off or on of the white lights are performed serially to ensure that there is no power consumption accumulation at the same time. However, this method will cause the image quality to degrade at the time of alarm triggering or alarm ending, and may easily lead to phenomena such as black screen in the monitoring screen, resulting in poor image quality or even information loss of key frames after alarm triggering, affecting the alarm monitoring effect. Summary of the Invention

[0004] This invention provides an alarm service control method, device, and electronic device to solve the problem of black screen in monitoring screens when performing serial linkage alarm services in the prior art, and to improve the image quality after alarm is triggered by intelligent dual-light monitoring equipment for alert purposes.

[0005] This invention provides an alarm service control method, comprising:

[0006] Upon detecting an alarm command message, the calibrated lighting control safety power consumption is obtained; the alarm command message is used to instruct the monitoring device to switch the imaging screen from the first imaging color to the second imaging color and to switch the fill light from the first fill light to the second fill light, wherein one of the first fill light and the second fill light is a white light fill light.

[0007] When it is determined that the safe power consumption of the lighting control is greater than the switching power consumption of the dual filter switcher, the white light fill light is controlled to be in the on state, and the light intensity of the white light fill light in the on state is controlled based on the safe power consumption of the lighting control, the power consumption of the first fill light, and the pre-on power consumption of the second fill light.

[0008] With the white light supplement light on, the alarm service process corresponding to the alarm instruction information is executed.

[0009] According to an alarm service control method provided by the present invention, the alarm instruction information is an alarm trigger instruction, the first imaging color is black and white, the second imaging color is color, the first supplementary light is an infrared supplementary light, and the second supplementary light is the white light supplementary light;

[0010] The alarm service process corresponding to the alarm instruction information includes:

[0011] Turn off the infrared fill light;

[0012] The dual filter switcher is controlled to perform a first switching action to cut off infrared light and restore the saturation of the image to the saturation of a color image.

[0013] According to an alarm service control method provided by the present invention, the step of controlling the light intensity of the white light fill light in the on state based on the lighting control safety power consumption, the power consumption of the first fill light, and the pre-on power consumption of the second fill light includes:

[0014] When the first total power consumption between the power consumption of the first supplementary light, the pre-on power consumption of the second supplementary light, and the switching power consumption is less than the lamp control safety power consumption, the light intensity corresponding to the pre-on power consumption of the second supplementary light is determined as the first target light intensity of the white light supplementary light, and the light intensity of the white light supplementary light in the on state before the infrared supplementary light is turned off is controlled at the first target light intensity.

[0015] An alarm service control method provided by the present invention further includes:

[0016] When the first total power consumption is greater than or equal to the lighting control safety power consumption, the safety margin power consumption of the white light fill light is determined based on the lighting control safety power consumption and the current power consumption of the first fill light.

[0017] The first target light intensity of the white light filler lamp is determined based on the safety margin power consumption and the pre-on power consumption of the second filler lamp, and the light intensity of the white light filler lamp in the on state before the infrared filler lamp is turned off is controlled at the first target light intensity.

[0018] According to an alarm service control method provided by the present invention, the alarm instruction information is an alarm termination instruction, the first imaging color is color, the second imaging color is black and white, the first supplementary light is a white light supplementary light, and the second supplementary light is an infrared supplementary light.

[0019] The alarm service process corresponding to the alarm instruction information includes:

[0020] The dual-filter switcher is controlled to perform a second switching action to allow infrared light to pass through;

[0021] The second target light intensity of the infrared fill light is determined based on the safe power consumption of the lighting control and the current power consumption of the white light fill light;

[0022] Turn on the infrared fill light and control the light intensity of the infrared fill light to the intensity of the second target light;

[0023] Turn off the white light fill light and reset the saturation of the image to zero.

[0024] According to an alarm service control method provided by the present invention, the step of controlling the light intensity of the white light fill light in the on state based on the lighting control safety power consumption, the power consumption of the first fill light, and the pre-on power consumption of the second fill light includes:

[0025] When the second total power consumption between the power consumption of the first fill light, the pre-on power consumption of the second fill light, and the switching power consumption is less than the lamp control safety power consumption, the pre-on power consumption of the second fill light is determined as the power consumption increment of the white fill light, and the first light intensity increment of the white fill light is determined based on the power consumption increment.

[0026] The light intensity of the white light fill light is enhanced based on the first light intensity increment to obtain the light intensity of the white light fill light in the on state.

[0027] An alarm service control method provided by the present invention further includes:

[0028] When the second total power consumption is greater than or equal to the lighting control safety power consumption, and the third total power consumption between the power consumption of the first fill light and the switching power consumption is less than the lighting control safety power consumption, the second light intensity increment of the white light fill light is determined based on the lighting control safety power consumption and the third total power consumption.

[0029] The light intensity of the white light fill lamp is enhanced based on the second light intensity increment to obtain the light intensity of the white light fill lamp in the on state.

[0030] An alarm service control method provided by the present invention further includes:

[0031] If the third total power consumption is greater than or equal to the lighting control safety power consumption, the amount of light intensity reduction of the white light supplement lamp is determined based on the lighting control safety power consumption and the third total power consumption;

[0032] The light intensity of the white light fill light is reduced based on the light intensity reduction amount to obtain the light intensity of the white light fill light in the on state.

[0033] The present invention also provides an alarm service control device, comprising:

[0034] The safety power consumption acquisition module is used to acquire the calibrated safety power consumption of the lighting control when an alarm command information is detected; the alarm command information is used to instruct the monitoring device to switch the imaging screen from the first imaging color to the second imaging color and to switch the fill light from the first fill light to the second fill light; one of the first fill light and the second fill light is a white light fill light;

[0035] The fill light control module is used to control the white fill light to be in the on state when it is determined that the safe power consumption of the lamp control is greater than the switching power consumption of the dual filter switcher, and to control the light intensity of the white fill light in the on state based on the safe power consumption of the lamp control, the power consumption of the first fill light, and the pre-on power consumption of the second fill light.

[0036] The business execution module is used to execute the alarm business process corresponding to the alarm instruction information when the white light fill light is in the on state.

[0037] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the alarm service control method as described above.

[0038] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the alarm service control method as described above.

[0039] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the alarm service control method as described above.

[0040] The alarm service control method, device, and electronic device provided by this invention, when detecting an alarm command message indicating that the imaging screen of the monitoring device should be switched from a first imaging color to a second imaging color and the supplementary light should be switched from a first supplementary light to a second supplementary light, acquires the calibrated lighting control safety power consumption, wherein one of the first and second supplementary lights is a white light supplementary light; when it is determined that the lighting control safety power consumption is greater than the switching power consumption of the dual filter switch, it indicates that there is a margin of power consumption within the lighting control safety power consumption range that guarantees the completion of the alarm service corresponding to the alarm command message, and this margin of power consumption can be effectively utilized to control the white light supplementary light; at this time, the white light supplementary light is controlled to be in the on state, and the light intensity of the white light supplementary light in the on state is controlled based on the lighting control safety power consumption, the power consumption of the first supplementary light, and the pre-on power consumption of the second supplementary light. Based on the white light supplementary light being in the on state, the alarm service process corresponding to the alarm command message is executed. In this way, supplementary light is present throughout the entire process before and after the alarm command message is triggered, effectively avoiding the problem of black screen in the monitoring screen, thereby improving the image quality of the intelligent dual-light monitoring device for alarm triggering. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in this 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 some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0042] Figure 1 This is a flowchart illustrating the dual-light alarm service process after an alarm is triggered in the existing technology.

[0043] Figure 2 This is one of the flowcharts of the alarm service control method provided in the embodiments of the present invention;

[0044] Figure 3 This is a second flowchart illustrating the alarm service control method provided in this embodiment of the invention.

[0045] Figure 4 This is the third flowchart of the alarm service control method provided in this embodiment of the invention;

[0046] Figure 5 This is a schematic diagram of the alarm service control device provided in an embodiment of the present invention;

[0047] Figure 6 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0049] It should be noted that the serial numbers assigned to the objects described in this invention, such as "first" and "second", are only used to distinguish the objects being described and do not have any sequential or technical meaning.

[0050] Intelligent dual-light monitoring devices for alert purposes can operate in intelligent dual-light mode. At night, they display infrared images in black and white, supplemented by infrared auxiliary lights, eliminating light pollution. When a human body, face, or area intrusion alarm is detected, the image switches from black and white to color, and the auxiliary lights switch from infrared to white light, providing a visual warning and enabling linked alarm functionality. In some scenarios, they can be combined with sound alarms and PTZ tracking to further ensure the authenticity and quality of the images captured after an alarm is triggered. These linked alarm actions all lead to a momentary increase in power consumption, which can affect the stability of the monitoring equipment and easily cause abnormal phenomena such as restarts. Additionally, such as... Figure 1 As shown, after an alarm is triggered, the image changes from black and white to color and the supplementary light changes from infrared to white light, resulting in differences in scene illumination and light source. When the alarm ends, for example, if the person has left the monitored area or the set warning area, the image will switch from color to black and white, and the supplementary light will also switch from white light to infrared light. If there are other linked services such as sound and PTZ tracking, these linked services will also return to their original state.

[0051] If adopts such Figure 1 The serial processing of the combined services shown, or the sacrifice of light intensity, will lead to a decrease in image quality at the critical moment of alarm triggering, which may easily result in black screen phenomenon and loss of key frame information. The images at the critical moment of nearby alarm triggering will also have long-term brightness fluctuations, overexposure or underexposure, etc. Moreover, insufficient supplementary light intensity will also lead to a decrease in overall image clarity, as well as problems such as motion blur and large noise, resulting in a decrease in image quality.

[0052] Based on this, the embodiments of the present invention utilize the lighting control safety power consumption based on image quality calibration to adaptively allocate instantaneous power consumption for lighting linkage services after alarm triggering and alarm termination, ensuring that supplementary lighting is available throughout the entire process before and after alarm command information is triggered, avoiding the occurrence of black screen phenomenon, thereby improving image quality and alarm effect at critical moments when alarm command information is triggered.

[0053] The following is combined Figures 2-4 The alarm service control method of the present invention is described below. This alarm service control method can be applied to monitoring equipment or electronic devices such as terminal devices or servers that are communicatively connected to the monitoring equipment. The terminal devices may include mobile phones, computers, in-vehicle devices, tablet computers, wearable devices, etc.; the servers may include independent servers, cluster servers, or cloud servers, etc.; the monitoring equipment may be intelligent dual-light monitoring equipment. This alarm service control method can also be applied to alarm service control devices installed in electronic devices, which can be implemented through software, hardware, or a combination of both.

[0054] Figure 2 An exemplary flowchart of an alarm service control method provided in an embodiment of the present invention is shown below. Figure 2 As shown, the alarm service control method may include the following steps 210 to 230.

[0055] Step 210: If an alarm command is detected, obtain the calibrated safe power consumption of the lighting control.

[0056] The alarm command information is used to instruct the monitoring device to switch the imaging screen from the first imaging color to the second imaging color and to switch the supplementary light from the first supplementary light to the second supplementary light; one of the first supplementary light and the second supplementary light is a white light supplementary light and the other is an infrared supplementary light.

[0057] Specifically, alarm command information can include alarm trigger commands when an alarm is triggered or alarm termination commands when an alarm ends. This alarm command information can be determined based on the analysis of monitoring images collected by the monitoring equipment. For example, stranger detection can be performed on the monitoring images of the monitored area, or human or face detection can be performed on the monitoring images of the monitored area with a set warning zone. When a stranger is detected in the monitoring image or a face or human body appears in the warning zone of the monitoring image, it is determined that an alarm trigger command has been detected; when a stranger or human body in the monitoring image is detected to have left the monitored area or the set warning zone, it is determined that an alarm termination command has been detected.

[0058] When the alarm command is an alarm trigger command, the first imaging color is black and white, the second imaging color is color, the first supplementary light is an infrared supplementary light, and the second supplementary light is a white light supplementary light. That is, this alarm command is used to instruct the monitoring device to switch its imaging screen from black and white to color and to switch the supplementary light from infrared to white light. When the alarm command is an alarm end command, the first imaging color is color, the second imaging color is black and white, the first supplementary light is a white light supplementary light, and the second supplementary light is an infrared supplementary light. That is, this alarm command is used to instruct the monitoring device to switch its imaging screen from color to black and white and to switch the supplementary light from white light to infrared.

[0059] For intelligent dual-light monitoring equipment, its power consumption mainly comes from base power consumption, IR-CUT switching power consumption, infrared fill light power consumption, and white light fill light power consumption. If other linked services such as microphones, speakers, and PTZ tracking are added, the power consumption of these linked services will also be included. Among these, the power consumption of IR-CUT switching, filling light on / off, speakers, and PTZ tracking is relatively high but not constant. Therefore, the total power consumption of the monitoring equipment is not the sum of these power sources, but rather varies within a certain range depending on real-time service changes. For example, the instantaneous power of turning on the fill light in conjunction with IR-CUT switching may cause the instantaneous power consumption to exceed the limit.

[0060] Based on this, in this embodiment of the invention, the power consumption of each module with power consumption superposition can be determined by analyzing the alarm service process and testing the power consumption of the superposition module. For modules such as sound and fill lights that are not operating at their maximum power consumption in real time, since their power consumption can change in real time, the maximum safe power consumption of these modules can be calibrated, and then these modules can be controlled in stages.

[0061] Specifically, for dual-light alarm services, this includes IR-CUT switching and the overlay of supplementary lighting. Combined with... Figure 1 Analysis of the dual-light alarm process reveals that when an alarm is triggered, the operational sequence of the IR-CUT, infrared supplementary light, and white light supplementary light can cause problems such as black screens, reddish tint, and overexposure in the imaging image, resulting in degraded image quality. Furthermore, the operational sequence of these three components directly affects the device's instantaneous power consumption. Excessive power consumption can lead to device crashes, disrupting the normal operation of the monitoring service. Additionally, during the operation of the monitoring equipment, the intensity of the supplementary light depends on the scene's illuminance, rather than operating at maximum intensity in real time. Therefore, in this embodiment of the invention, the safe power consumption of the lighting control can be calibrated first and then saved. Upon detecting an alarm command, this safe power consumption can be directly obtained.

[0062] During the calibration of lighting control safety power consumption, the safety power consumption value can be measured based on the combination of various service modules in the dual-light alarm service. In the dual-light alarm service, the variable power consumption includes the light intensity of the white light supplement lamp and the infrared supplement lamp. During testing, power consumption calibration can be based on image quality and / or service configuration, rather than simply taking the maximum power consumption value of each module. Furthermore, the various service modules are not executed at the same time, thus there is a safe power consumption range.

[0063] For example, in dual-light alarm services, the maximum current value allowed when infrared supplementary light lamps are superimposed with white light supplementary light lamps during IR-CUT switching can be tested based on the maximum power consumption allowed by the monitoring equipment. This maximum current value corresponds to a supplementary light lamp safe power consumption value. The sum of this supplementary light lamp safe power consumption value and the IR-CUT switching power can be determined as the lighting control safe power consumption, or the maximum current value can be directly used to characterize the lighting control safe power consumption.

[0064] It is understandable that the calibrated safe power consumption of lighting control can be expressed as "safe power consumption value of supplementary light + switching power consumption of IR-CUT". During the real-time operation of the monitoring equipment, after the alarm is triggered, the instantaneous power consumption when IR-CUT and supplementary light are superimposed can be expressed as "switching power consumption of IR-CUT + current power consumption of infrared supplementary light + power consumption of pre-activated white light supplementary light". Since both the calibrated safe power consumption of lighting control and the instantaneous power consumption during the real-time operation of the monitoring equipment include the switching power consumption of IR-CUT, they can cancel each other out in the power consumption comparison. Therefore, the safe power consumption value of supplementary light can be used to characterize the safe power consumption of lighting control. In practical applications, the sum of the current power consumption of infrared supplementary light and the power consumption of pre-activated white light supplementary light detected in real time can be compared with the safe power consumption value of supplementary light to determine whether the superimposed instantaneous power consumption exceeds the safe power consumption of lighting control.

[0065] For example, in a scenario where at least one of the following linked alarm services—PTZ-linked tracking, sound-linked alarm, and day / night switching—is further superimposed on the dual-light alarm service, the calibration process described above can be performed when calibrating the safe power consumption of the lighting control. Specifically, with the superimposed linked alarm service enabled, the safe power consumption value of the supplementary light when the infrared supplementary light is superimposed with the white light supplementary light during IR-CUT switching is tested, thereby determining the safe power consumption of the lighting control. It is understood that the safe power consumption of the lighting control determined in this scenario is lower than the safe power consumption of the lighting control without the superimposed PTZ-linked tracking, sound-linked alarm, and day / night switching linked alarm services.

[0066] Based on this, in one example embodiment, when an alarm command information is detected, it can first be determined whether the dual-light alarm service is superimposed with an additional linkage alarm service. If not superimposed, the lighting control safety power consumption corresponding to the dual-light alarm service can be directly obtained. If an additional linkage alarm service is superimposed, the lighting control safety power consumption calibrated when the additional linkage alarm service is superimposed can be obtained.

[0067] Step 220: When it is determined that the safe power consumption of the lighting control is greater than the switching power consumption of the dual filter switcher, the white light fill light is controlled to be in the on state, and the light intensity of the white light fill light in the on state is controlled based on the safe power consumption of the lighting control, the power consumption of the first fill light and the pre-on power consumption of the second fill light.

[0068] When the alarm command information is the alarm trigger command at the time of alarm triggering, the first supplementary light is an infrared supplementary light, and the second supplementary light is a white light supplementary light. It is necessary to switch the supplementary light from the infrared supplementary light to the white light supplementary light. In this case, it can be first determined whether the lighting control safety power consumption is greater than the IR-CUT switching power consumption. If it is greater, it means that within the lighting control safety power consumption range, there is a margin of power consumption beyond the guarantee of completing the alarm service corresponding to the alarm command information. This margin of power consumption can be used to control the light intensity of the white light supplementary light in the on state to ensure that the total power consumption superimposed after the white light supplementary light is turned on is within the lighting control safety power consumption range. Specifically, the white light supplementary light can be turned on, and the margin of power consumption can be determined based on the lighting control safety power consumption, the current power consumption of the infrared supplementary light, and the pre-on power consumption of the white light supplementary light. The margin of power consumption can be used to control the light intensity of the white light supplementary light in the on state before the infrared supplementary light is turned off. If the lighting control safety power consumption is less than or equal to the IR-CUT switching power consumption, it can be handled as follows: Figure 1 The process after the alarm is triggered is controlled, which involves sequentially executing the following steps: turning off the infrared fill light, switching the IR-CUT to not allow infrared light to pass through, restoring the image saturation to the saturation of a color image, and turning on the white light fill light.

[0069] When the alarm command is an alarm termination command, the first supplementary light is a white supplementary light, and the second supplementary light is an infrared supplementary light. It is necessary to switch the supplementary lights from white to infrared, meaning the white supplementary light is currently on. If it is determined that the lighting control's safe power consumption is greater than the IR-CUT's switching power consumption, then a margin of power consumption can be determined based on the lighting control's safe power consumption, the current power consumption of the infrared supplementary light, and the pre-on power consumption of the white supplementary light. This margin of power consumption can then be used to adjust the current light intensity of the white supplementary light. If the lighting control's safe power consumption is less than or equal to the IR-CUT's switching power consumption, then it can be adjusted as follows: Figure 1 After the alarm ends, the process is controlled by sequentially executing the following steps: turning off the white light fill light, switching the IR-CUT to allow infrared light to pass through, clearing the image saturation to zero, and turning on the infrared fill light.

[0070] Step 230: With the white light supplement light on, execute the alarm business process corresponding to the alarm command information.

[0071] In one example embodiment, when the alarm instruction information is an alarm trigger instruction, executing the alarm service process corresponding to the alarm instruction information may include: turning off the infrared fill light; controlling the dual filter switcher to perform a first switching action to cut off the infrared light and restore the saturation of the image to the saturation of a color image. In this way, the fill light can be switched from an infrared fill light to a white light fill light, and the image of the monitoring device can be switched from black and white to color to meet the linkage alarm requirements after an alarm is triggered.

[0072] The dual-filter switcher (IR-CUT) includes two filters: one is an infrared cutoff filter or an infrared absorption filter, and the other is a full-spectrum filter. Controlling the dual-filter switcher to perform the first switching action involves switching the filter to either the infrared cutoff filter or the infrared absorption filter to block infrared light, thus preventing infrared light from passing through.

[0073] Optionally, while controlling the dual filter switcher to perform the first switching action to cut off the infrared light, the light intensity of the white light supplementary lamp can also be enhanced based on the power consumption released after the infrared supplementary lamp is turned off, i.e., the increased light intensity does not exceed the power consumption released after the infrared supplementary lamp is turned off. The increased light intensity can be determined by automatic exposure (AE) adjustment, for example, by an algorithm based on equal exposure.

[0074] In one example embodiment, when the alarm command information is an alarm termination command, the alarm service process corresponding to the alarm command information may include: controlling the dual filter switcher to perform a second switching action to allow infrared light to pass through; determining the second target light intensity of the infrared fill light based on the lighting control safety power consumption and the current power consumption of the white light fill light; turning on the infrared fill light and controlling its light intensity to the second target light intensity; turning off the white light fill light and resetting the saturation of the image to zero. In this way, the fill light can be switched from a white light fill light to an infrared fill light, and the image of the monitoring device can be switched from color to black and white.

[0075] Specifically, controlling the dual filter switcher to perform the second switching action is to switch the filter to a full-transmittance spectrum filter to allow infrared light to pass through.

[0076] For example, determining the second target light intensity of the infrared fill light based on the safe power consumption of the lighting control and the current power consumption of the white light fill light may include: determining the power consumption difference between the safe power consumption of the lighting control and the current power consumption of the white light fill light; and determining the light intensity corresponding to the power consumption difference as the second target light intensity.

[0077] The alarm service control method provided in this embodiment of the invention, when detecting an alarm command message indicating that the imaging screen of the monitoring device should be switched from a first imaging color to a second imaging color and the supplementary light should be switched from a first supplementary light to a second supplementary light, obtains the calibrated lighting control safety power consumption, wherein one of the first and second supplementary lights is a white light supplementary light; when it is determined that the lighting control safety power consumption is greater than the switching power consumption of the dual filter switch, it indicates that there is a margin of power consumption within the lighting control safety power consumption range that guarantees the completion of the alarm service corresponding to the alarm command message, and this margin of power consumption can be effectively used to control the white light supplementary light; at this time, the white light supplementary light is controlled to be in the on state, and the light intensity of the white light supplementary light in the on state is controlled based on the lighting control safety power consumption, the power consumption of the first supplementary light, and the pre-on power consumption of the second supplementary light. Based on the white light supplementary light being in the on state, the alarm service process corresponding to the alarm command message is executed. In this way, supplementary light is present throughout the entire process before and after the alarm command message is triggered, effectively avoiding the problem of black screen in the monitoring screen, thereby improving the image quality of the intelligent dual-light monitoring device for alarm triggering.

[0078] based on Figure 1 In the alarm service control method of the corresponding embodiment, when the alarm instruction information is an alarm trigger instruction, i.e., in the scenario of alarm triggering, the first supplementary light is an infrared supplementary light, the second supplementary light is a white light supplementary light, and the alarm service includes a dual-light alarm service, which requires switching the imaging screen from black and white to color and switching the supplementary light from infrared supplementary light to white light supplementary light. The corresponding alarm service process includes turning off the infrared supplementary light, switching the IR-CUT, changing the imaging screen to color, and turning on the white light supplementary light. Before turning off the infrared supplementary light, it can be determined whether there is a margin of power consumption to simultaneously turn on the white light supplementary light based on the lighting control safety power consumption, the power consumption of the first supplementary light, and the pre-turn-on power consumption of the second supplementary light. If so, the white light supplementary light can be turned on simultaneously, and the light intensity of the white light supplementary light in the on state can be controlled in stages based on the margin of power consumption. Then, based on the white light supplementary light being on, the process of turning off the infrared light, switching the IR-CUT, changing the imaging screen to color, and keeping the white light on is executed.

[0079] Specifically, controlling the light intensity of the white light filler lamp in the on state based on the lighting control safety power consumption, the power consumption of the first filler lamp, and the pre-on power consumption of the second filler lamp may include: when the first total power consumption between the power consumption of the first filler lamp, the pre-on power consumption of the second filler lamp, and the switching power consumption is less than the lighting control safety power consumption, the light intensity corresponding to the pre-on power consumption of the second filler lamp is determined as the first target light intensity of the white light filler lamp, and the light intensity of the white light filler lamp in the on state before the infrared filler lamp is turned off is controlled at the first target light intensity.

[0080] The pre-on power consumption of the second supplementary light can be determined using the AE algorithm based on the current ambient illuminance to ensure the quality of the image.

[0081] Furthermore, it also includes: when the first total power consumption is greater than or equal to the lighting control safety power consumption, determining the safety margin power consumption of the white light fill light based on the lighting control safety power consumption and the current power consumption of the first fill light; determining the first target light intensity of the white light fill light based on the safety margin power consumption and the pre-on power consumption of the second fill light, and controlling the light intensity of the white light fill light in the on state before the infrared fill light is turned off to the first target light intensity.

[0082] For example, determining the safety margin power consumption of the white light fill light based on the lighting control safety power consumption and the current power consumption of the first fill light may include: if the fourth total power consumption between the current power consumption of the first fill light and the switching power consumption of the IR-CUT is determined to be less than the lighting control safety power consumption, determining a first power consumption difference between the lighting control safety power consumption and the current power consumption of the first fill light, and determining the first power consumption difference as the safety margin power consumption of the white light fill light; if the fourth total power consumption between the current power consumption of the first fill light and the switching power consumption of the IR-CUT is determined to be greater than or equal to the lighting control safety power consumption, and the lighting control safety power consumption is greater than the switching power consumption of the IR-CUT, determining a fifth total power consumption between the current power consumption of the first fill light and the switching power consumption of the IR-CUT; determining a second power consumption difference between the lighting control safety power consumption and the fifth total power consumption; and determining the second power consumption difference as the safety margin power consumption of the white light fill light.

[0083] For example, determining the first target light intensity of the white light filler lamp based on the safety margin power consumption and the pre-on power consumption of the second filler lamp may include: determining the light intensity corresponding to the minimum value between the safety margin power consumption and the pre-on power consumption of the second filler lamp as the first target light intensity.

[0084] In this way, when an alarm is detected, the light intensity of the white light fill light can be adaptively controlled in stages based on the lighting control safety power consumption, the current power consumption of the first fill light, and the pre-on power consumption of the second fill light. This ensures that the white light fill light operates in the optimal state allowed by the power consumption, providing the best fill light effect for the image and guaranteeing the image quality.

[0085] For example, taking a dual-light alarm service as an example, where the imaging screen needs to be switched from black and white to color and the supplementary light needs to be switched from infrared supplementary light to white light supplementary light, Figure 3 This is an exemplary second flowchart illustrating the alarm service control method provided in this embodiment of the invention. (Refer to...) Figure 3 As shown, the alarm service control method may include the following steps 301 to 315.

[0086] Step 301: If an alarm trigger command is detected, obtain the calibrated safe power consumption of the lighting control.

[0087] Step 302: Determine whether the first total power consumption between the switching power consumption of IR-CUT, the current power consumption of infrared fill light, and the pre-on power consumption of white light fill light is less than the lighting control safety power consumption.

[0088] If the first total power consumption is less than the safe power consumption of the lamp control, then proceed to step 303; otherwise, proceed to step 304.

[0089] Step 303: Turn on the white light fill light and control its intensity to the level corresponding to the pre-on power consumption of the white light fill light. Then, proceed to step 310.

[0090] Step 304: Determine whether the fourth total power consumption between the switching power consumption of the IR-CUT and the current power consumption of the infrared fill light is less than the safe power consumption of the lamp control.

[0091] If the total power consumption is less than the safe power consumption of the lighting control, then proceed to step 305; otherwise, proceed to step 307.

[0092] Step 305: Turn on the white light fill light and determine the first power consumption difference between the light control safe power consumption and the current power consumption of the infrared fill light.

[0093] Step 306: Determine the light intensity corresponding to the minimum value between the first power consumption difference and the pre-on power consumption of the white light fill light as the first target light intensity, and control the light intensity of the white light fill light to the first target light intensity. Then, execute step 310.

[0094] Step 307: Determine whether the switching power consumption of IR-CUT is less than the safe power consumption of lamp control.

[0095] If the switching power consumption of IR-CUT is less than the safe power consumption of lamp control, then proceed to step 308; otherwise, proceed to step 312.

[0096] Step 308: Turn on the white light supplement light, determine the fifth total power consumption between the current power consumption of the infrared supplement light and the switching power consumption of the IR-CUT, and determine the second power consumption difference between the light control safety power consumption and the fifth total power consumption.

[0097] Step 309: Determine the light intensity corresponding to the minimum value between the second power consumption difference and the pre-on power consumption of the white light fill light as the first target light intensity, and control the light intensity of the white light fill light to the first target light intensity. Then, execute step 310.

[0098] Step 310: Turn off the infrared fill light.

[0099] Step 311: Switch the IR-CUT filter to an infrared cutoff filter, and enhance the light intensity of the white light filler lamp based on AE adjustment. Then, proceed to step 314.

[0100] The increased light intensity does not exceed the power consumption released after the infrared supplementary light is turned off. When the infrared cut-off filter is working, infrared light is not allowed to pass through, which can avoid color distortion in the white light supplementary light environment and enable the image sensor of the monitoring equipment to restore true colors.

[0101] Step 312: Turn off the infrared fill light.

[0102] Step 313: Switch the IR-CUT filter to an infrared cutoff filter.

[0103] Step 314: Restore the saturation of the image to the saturation of the color image.

[0104] Step 315: Increase the light intensity of the white light fill light.

[0105] Specifically, the light intensity of the white light fill light can be enhanced by adjusting the after-effects (AE) or by using equal exposure.

[0106] The alarm service control method provided in this invention, upon detecting an alarm trigger, can perform adaptive, phased lighting control using lighting control safety power consumption based on image quality calibration. Specifically, in the first phase, the white light fill light is activated and its intensity is adaptively controlled. Next, in the second phase, IR-CUT switching, white light fill light supplementation, and saturation restoration are performed. Then, in the third phase, white light fill light enhancement is applied, ensuring the image is under continuous illumination, avoiding black screen issues and improving image quality. Furthermore, the light intensity of the fill light can be adaptively adjusted based on real-time power consumption, improving exposure smoothness upon alarm triggering and further enhancing image quality.

[0107] based on Figure 1 In the alarm service control method of the corresponding embodiment, when the alarm command information is an alarm termination command (i.e., when the alarm has ended), the first supplementary light is a white supplementary light, and the second supplementary light is an infrared supplementary light. The alarm service includes a dual-light alarm service, which requires switching the imaging image from color to black and white and switching the supplementary light from a white supplementary light to an infrared supplementary light. The corresponding alarm service process includes IR-CUT switching, infrared supplementary light activation, white light deactivation, and saturation zeroing. Before IR-CUT switching, it can be determined whether there is a margin of power consumption for simultaneously activating the white light based on the lamp control safety power consumption, the power consumption of the first supplementary light, and the pre-activation power consumption of the second supplementary light. If so, the light intensity of the white supplementary light can be controlled in stages based on this margin of power consumption. Then, based on the operation of the white supplementary light, the process of IR-CUT switching, infrared supplementary light activation, white light supplementary light deactivation, and saturation zeroing is executed.

[0108] Specifically, controlling the light intensity of the white fill light in the on state based on the lighting control safety power consumption, the power consumption of the first fill light, and the pre-on power consumption of the second fill light may include: when the second total power consumption between the power consumption of the first fill light, the pre-on power consumption of the second fill light, and the switching power consumption is less than the lighting control safety power consumption, the pre-on power consumption of the second fill light is determined as the power consumption increment of the white fill light, and the first light intensity increment of the white fill light is determined based on the power consumption increment; the light intensity of the white fill light is enhanced based on the first light intensity increment to obtain the light intensity of the white fill light in the on state.

[0109] The pre-on power consumption of the second supplementary light can be determined using the AE algorithm based on the current ambient illuminance to ensure the quality of the image.

[0110] Furthermore, it also includes: when the second total power consumption is greater than or equal to the lighting control safety power consumption, and the third total power consumption between the power consumption of the first supplementary light and the switching power consumption is less than the lighting control safety power consumption, determining the second light intensity increment of the white light supplementary light based on the lighting control safety power consumption and the third total power consumption; enhancing the light intensity of the white light supplementary light based on the second light intensity increment to obtain the light intensity of the white light supplementary light in the on state.

[0111] The determination of the second luminous intensity increment of the white light filler lamp based on the lighting control safety power consumption and the third total power consumption includes: determining the third power consumption difference between the lighting control safety power consumption and the third total power consumption, and determining the third power consumption difference as the second luminous intensity increment of the white light filler lamp.

[0112] Furthermore, it also includes: when the third total power consumption is greater than or equal to the lighting control safety power consumption, determining the light intensity reduction of the white light filler lamp based on the lighting control safety power consumption and the third total power consumption; reducing the light intensity of the white light filler lamp based on the light intensity reduction to obtain the light intensity of the white light filler lamp in the on state.

[0113] The determination of the light intensity reduction of the white light filler lamp based on the lighting control safety power consumption and the third total power consumption includes: determining the fourth power consumption difference between the third total power consumption and the lighting control safety power consumption, and determining the fourth power consumption difference as the light intensity reduction of the white light filler lamp.

[0114] In this way, when the alarm ends, the light intensity of the white light fill light can be adaptively controlled in stages based on the lighting control safety power consumption, the current power consumption of the first fill light, and the pre-on power consumption of the second fill light. This ensures that the white light fill light works in the optimal state allowed by the power consumption, providing the best fill light effect for the image and guaranteeing the image quality.

[0115] For example, taking a dual-light alarm service as an example, where the imaging screen needs to be switched from color to black and white and the supplementary light needs to be switched from white light to infrared light, the following scenario is taken: Figure 4This is an exemplary flowchart of the alarm service control method provided in this embodiment of the invention, shown in Figure 3. Figure 4 As shown, the alarm service control method may include the following steps 401 to 414.

[0116] Step 401: If an alarm end command is detected, obtain the calibrated safe power consumption of the lighting control.

[0117] Step 402: Determine whether the second total power consumption between the switching power consumption of the IR-CUT, the current power consumption of the white light fill light, and the pre-on power consumption of the infrared fill light is less than the lighting control safety power consumption.

[0118] If the second total power consumption is less than the safe power consumption of the lamp control, then proceed to step 403; otherwise, proceed to step 404.

[0119] Step 403: Control the light intensity of the white light supplementary light to the light intensity corresponding to the pre-on power consumption of the infrared supplementary light. Then, proceed to step 408.

[0120] Step 404: Determine whether the third total power consumption between the switching power consumption of the IR-CUT and the current power consumption of the white light fill light is less than the safe power consumption of the lighting control.

[0121] If the total power consumption is less than the safe power consumption of the lighting control, then proceed to step 405; otherwise, proceed to step 406.

[0122] Step 405: Determine the difference between the lighting control safety power consumption and the third total power consumption as the second light intensity increment, and enhance the light intensity of the white light supplement lamp based on the second light intensity increment. Then, execute step 408.

[0123] Step 406: Determine whether the switching power consumption of IR-CUT is less than the safe power consumption of lamp control.

[0124] If the switching power consumption of IR-CUT is less than the safe power consumption of lamp control, then proceed to step 407; otherwise, proceed to step 411.

[0125] Step 407: Determine the power difference between the third total power consumption and the lighting control safety power consumption as the amount of light intensity reduction of the white light supplement lamp, and reduce the light intensity of the white light supplement lamp based on the amount of light intensity reduction.

[0126] Step 408: Switch the IR-CUT filter to a full-spectrum filter.

[0127] In particular, when the full-spectrum filter is in operation, infrared light is allowed to pass through, which enables the image sensor of the monitoring equipment to make full use of all light, effectively improving low-light performance and making night vision clearer.

[0128] Step 409: Turn on the infrared fill light and control the light intensity of the infrared fill light to the intensity of the second target.

[0129] The second target light intensity can be the light intensity corresponding to the power difference between the safe power consumption of the lighting control and the current power consumption of the white light fill light.

[0130] Step 410: Turn off the white light fill light.

[0131] This completes the switch from white light to infrared fill light, ensuring continuous illumination during the switching process by turning on the infrared fill light first and then turning off the white light. Next, proceed to step 413.

[0132] Step 411: Turn off the white light fill light.

[0133] Step 412: Switch the IR-CUT filter to a full-spectrum filter.

[0134] For example, exposure can be temporarily turned off while the white light fill light is turned off in step 411, and then turned on again when the fill light is switched to an infrared fill light via IR-CUT switching. This can prevent overexposure of the image when the white light fill light is switched to an infrared fill light.

[0135] Step 413: Set the saturation of the image to zero.

[0136] At this point, the image can be switched from color to black and white.

[0137] Step 414: Increase the light intensity of the infrared fill light.

[0138] Specifically, the light intensity of the infrared fill light can be enhanced by adjusting the AE (Advanced After Effects) or by using equal exposure.

[0139] The alarm service control method provided in this invention, upon detecting the end of an alarm, can perform adaptive, phased lighting control using lighting control safety power consumption based on image quality calibration. Specifically, it first performs a first-stage increase or decrease in the intensity of the white light supplementary lamp, rather than completely turning it off. Next, it performs a second-stage IR-CUT switching and supplementary lighting and saturation clearing of the infrared supplementary lamp. Then, it performs a third-stage infrared supplementary lighting enhancement, ensuring the image is under continuous illumination, avoiding black screen issues and improving image quality. Furthermore, it can adaptively adjust the light intensity of the supplementary lamp based on real-time power consumption, improving exposure smoothness during alarm triggering and further enhancing image quality.

[0140] The alarm service control device provided by the present invention is described below. The alarm service control device described below can be referred to in correspondence with the alarm service control method described above.

[0141] Figure 5An exemplary schematic diagram of the alarm service control device provided in an embodiment of the present invention is shown, with reference to... Figure 5 As shown, the alarm service control device may include: a safety power consumption acquisition module 510, used to acquire the calibrated lighting control safety power consumption when an alarm command information is detected, wherein the alarm command information is used to instruct the monitoring device to switch the imaging screen from the first imaging color to the second imaging color and to switch the supplementary light from the first supplementary light to the second supplementary light, one of the first supplementary light and the second supplementary light being a white light supplementary light; a supplementary light control module 520, used to control the white light supplementary light to the on state when it is determined that the lighting control safety power consumption is greater than the switching power consumption of the dual filter switcher, and to control the light intensity of the white light supplementary light in the on state based on the lighting control safety power consumption, the power consumption of the first supplementary light and the pre-on power consumption of the second supplementary light; and a service execution module 530, used to execute the alarm service process corresponding to the alarm command information based on the white light supplementary light being in the on state.

[0142] In one example embodiment, the alarm instruction information is an alarm trigger instruction, the first imaging color is black and white, the second imaging color is color, the first supplementary light is an infrared supplementary light, and the second supplementary light is a white light supplementary light. Correspondingly, the service execution module 530 may include: a first shutdown unit for shutting down the infrared supplementary light; and a first switching unit for controlling the dual filter switcher to perform a first switching action to cut off the infrared light and restore the saturation of the image to the saturation of a color image.

[0143] In one example embodiment, the fill light control module 520 may include: a first control unit, configured to determine the light intensity corresponding to the pre-on power consumption of the second fill light as the first target light intensity of the white light fill light, and control the light intensity of the white light fill light in the on state before the infrared fill light is turned off, when the first total power consumption between the power consumption of the first fill light, the pre-on power consumption of the second fill light, and the switching power consumption is less than the light control safety power consumption.

[0144] In one example embodiment, the supplementary lighting control module 520 further includes a second control unit. This second control unit is configured to: determine a safe margin power consumption for the white light supplementary lighting based on the safe power consumption of the lighting control and the current power consumption of the first supplementary lighting, provided that the first total power consumption is greater than or equal to the safe power consumption of the lighting control; determine a first target light intensity for the white light supplementary lighting based on the safe margin power consumption and the pre-on power consumption of the second supplementary lighting; and control the light intensity of the white light supplementary lighting in its on state before the infrared supplementary lighting is turned off to the first target light intensity.

[0145] In one example embodiment, the alarm instruction information is an alarm termination instruction, the first imaging color is color, the second imaging color is black and white, the first supplementary light is a white light supplementary light, and the second supplementary light is an infrared supplementary light. Correspondingly, the service execution module 530 may include: a second switching unit, used to control the dual filter switcher to perform a second switching action to allow infrared light to pass through; a light intensity determination unit, used to determine the second target light intensity of the infrared supplementary light based on the lamp control safety power consumption and the current power consumption of the white light supplementary light; a third control unit, used to turn on the infrared supplementary light and control its light intensity to the second target light intensity; and a fourth control unit, used to turn off the white light supplementary light and reset the saturation of the image to zero.

[0146] In one example embodiment, the supplementary lighting control module 520 may include a fifth control unit. This fifth control unit is configured to: determine the pre-on power consumption of the second supplementary lighting as the power consumption increment of the white light supplementary lighting when the total power consumption between the power consumption of the first supplementary lighting, the pre-on power consumption of the second supplementary lighting, and the switching power consumption is less than the lighting control safety power consumption; and determine a first light intensity increment of the white light supplementary lighting based on the power consumption increment; and enhance the light intensity of the white light supplementary lighting based on the first light intensity increment to obtain the light intensity of the white light supplementary lighting in the on state.

[0147] In one example embodiment, the supplementary lighting control module 520 further includes a sixth control unit. This sixth control unit is configured to: determine a second light intensity increment of the white light supplementary lighting based on the lighting control safety power consumption and the third total power consumption, provided that the second total power consumption is greater than or equal to the lighting control safety power consumption, and the third total power consumption between the power consumption of the first supplementary lighting and the switching power consumption is less than the lighting control safety power consumption; and enhance the light intensity of the white light supplementary lighting based on the second light intensity increment to obtain the light intensity of the white light supplementary lighting in the on state.

[0148] In one example embodiment, the fill light control module 520 further includes a seventh control unit. This seventh control unit is configured to: determine the amount of light intensity reduction of the white fill light lamp based on the lamp control safety power consumption and the third total power consumption when the third total power consumption is greater than or equal to the lamp control safety power consumption;

[0149] The light intensity of the white light fill light is reduced by the amount of light intensity reduction to obtain the light intensity of the white light fill light when it is turned on.

[0150] Figure 6 An example is a schematic diagram of the structure of an electronic device, such as... Figure 6As shown, the electronic device may include a processor 610, a communication interface 620, a memory 630, and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute the alarm service control method provided in any of the above method embodiments.

[0151] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a 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 several 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 described in the various embodiments of the present invention. The aforementioned storage medium includes 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.

[0152] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the alarm service control method provided in any of the above method embodiments.

[0153] In another aspect, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the alarm service control method provided in any of the above method embodiments.

[0154] For example, computer-readable storage media include non-transitory computer-readable storage media.

[0155] The device embodiments described above are merely illustrative. The units described 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 modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0156] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An alarm service control method, characterized in that, include: Upon detecting an alarm command message, the calibrated lighting control safety power consumption is obtained; the alarm command message is used to instruct the monitoring device to switch the imaging screen from the first imaging color to the second imaging color and to switch the fill light from the first fill light to the second fill light, wherein one of the first fill light and the second fill light is a white light fill light. When it is determined that the safe power consumption of the lighting control is greater than the switching power consumption of the dual filter switcher, the white light fill light is controlled to be in the on state, and the light intensity of the white light fill light in the on state is controlled based on the safe power consumption of the lighting control, the power consumption of the first fill light, and the pre-on power consumption of the second fill light. With the white light supplement light on, the alarm service process corresponding to the alarm instruction information is executed.

2. The alarm service control method according to claim 1, characterized in that, The alarm instruction information is an alarm trigger instruction, the first imaging color is black and white, the second imaging color is color, the first supplementary light is an infrared supplementary light, and the second supplementary light is the white light supplementary light; The alarm service process corresponding to the alarm instruction information includes: Turn off the infrared fill light; The dual filter switcher is controlled to perform a first switching action to cut off infrared light and restore the saturation of the image to the saturation of a color image.

3. The alarm service control method according to claim 2, characterized in that, The method of controlling the light intensity of the white light fill light in the on state based on the lighting control safety power consumption, the power consumption of the first fill light, and the pre-on power consumption of the second fill light includes: When the first total power consumption between the power consumption of the first supplementary light, the pre-on power consumption of the second supplementary light, and the switching power consumption is less than the lamp control safety power consumption, the light intensity corresponding to the pre-on power consumption of the second supplementary light is determined as the first target light intensity of the white light supplementary light, and the light intensity of the white light supplementary light in the on state before the infrared supplementary light is turned off is controlled at the first target light intensity.

4. The alarm service control method according to claim 3, characterized in that, Also includes: When the first total power consumption is greater than or equal to the lighting control safety power consumption, the safety margin power consumption of the white light fill light is determined based on the lighting control safety power consumption and the current power consumption of the first fill light. The first target light intensity of the white light filler lamp is determined based on the safety margin power consumption and the pre-on power consumption of the second filler lamp, and the light intensity of the white light filler lamp in the on state before the infrared filler lamp is turned off is controlled at the first target light intensity.

5. The alarm service control method according to claim 1, characterized in that, The alarm command information is an alarm termination command, the first imaging color is color, the second imaging color is black and white, the first supplementary light is a white light supplementary light, and the second supplementary light is an infrared supplementary light; The alarm service process corresponding to the alarm instruction information includes: The dual-filter switcher is controlled to perform a second switching action to allow infrared light to pass through; The second target light intensity of the infrared fill light is determined based on the safe power consumption of the lighting control and the current power consumption of the white light fill light; Turn on the infrared fill light and control the light intensity of the infrared fill light to the intensity of the second target light; Turn off the white light fill light and reset the saturation of the image to zero.

6. The alarm service control method according to claim 5, characterized in that, The method of controlling the light intensity of the white light fill light in the on state based on the lighting control safety power consumption, the power consumption of the first fill light, and the pre-on power consumption of the second fill light includes: When the second total power consumption between the power consumption of the first fill light, the pre-on power consumption of the second fill light, and the switching power consumption is less than the lamp control safety power consumption, the pre-on power consumption of the second fill light is determined as the power consumption increment of the white fill light, and the first light intensity increment of the white fill light is determined based on the power consumption increment. The light intensity of the white light fill light is enhanced based on the first light intensity increment to obtain the light intensity of the white light fill light in the on state.

7. The alarm service control method according to claim 6, characterized in that, Also includes: When the second total power consumption is greater than or equal to the lighting control safety power consumption, and the third total power consumption between the power consumption of the first fill light and the switching power consumption is less than the lighting control safety power consumption, the second light intensity increment of the white light fill light is determined based on the lighting control safety power consumption and the third total power consumption. The light intensity of the white light fill lamp is enhanced based on the second light intensity increment to obtain the light intensity of the white light fill lamp in the on state.

8. The alarm service control method according to claim 7, characterized in that, Also includes: If the third total power consumption is greater than or equal to the lighting control safety power consumption, the amount of light intensity reduction of the white light supplement lamp is determined based on the lighting control safety power consumption and the third total power consumption; The light intensity of the white light fill light is reduced based on the light intensity reduction amount to obtain the light intensity of the white light fill light in the on state.

9. An alarm service control device, characterized in that, include: The safety power consumption acquisition module is used to acquire the calibrated safety power consumption of the lighting control when an alarm command information is detected; the alarm command information is used to instruct the monitoring device to switch the imaging screen from the first imaging color to the second imaging color and to switch the fill light from the first fill light to the second fill light; one of the first fill light and the second fill light is a white light fill light; The fill light control module is used to control the white fill light to be in the on state when it is determined that the safe power consumption of the lamp control is greater than the switching power consumption of the dual filter switcher, and to control the light intensity of the white fill light in the on state based on the safe power consumption of the lamp control, the power consumption of the first fill light, and the pre-on power consumption of the second fill light. The business execution module is used to execute the alarm business process corresponding to the alarm instruction information when the white light fill light is in the on state.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the alarm service control method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Camera shooting mode switching optimization method and apparatus, computer device and storage medium

    CN108401116A

  • Power adjustment method and device, computer equipment and storage medium

    CN110568899A