Alarm service control method and device and electronic equipment
By obtaining the calibrated lamp control safety power consumption and adaptively controlling the light intensity of the white light fill light, the image quality degradation of the intelligent dual-light monitoring device when the alarm service is superimposed is solved, and high-quality alarm monitoring effect is achieved.
Patent Information
- Application Number
- CN202311638754.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2043-11-29
AI Technical Summary
When the alarm service is superimposed, existing intelligent dual-light monitoring devices can easily lead to black screen of the monitoring screen, image quality deterioration, and affect the alarm monitoring effect.
By obtaining the calibrated lamp control safety power consumption, when an alarm command is detected, the white light fill light is controlled to be on, and the light intensity of the white light fill light is adaptively controlled based on the lamp control safety power consumption, the power consumption of the fill light and the pre-on power consumption to avoid power overlay and image quality reduction.
It effectively avoids the problem of black screen on the monitoring screen, improves the image quality after alarm triggering, ensures that the full range of light is in place, and improves the stability and image effect of the monitoring equipment.
Smart Images

Figure CN120075388A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of monitoring technology, and in particular to an alarm service control method, device and electronic equipment. Background Art
[0002] With the development of intelligent security monitoring, alarm monitoring equipment that can perform intelligent linkage alarms, such as intelligent dual-light monitoring equipment for alarms, has been widely used. Intelligent dual-light monitoring equipment can combine sound and light to perform linkage alarms, which can better meet the needs of security monitoring. However, the superposition of alarm services will have a greater impact on the power consumption of the camera, especially the instantaneous power consumption, which will affect the stability of the product and cause abnormal phenomena such as restart.
[0003] In related technologies, such as Figure 1 As shown in the figure, taking the lighting linkage as an example, after the alarm is triggered, the switching of the dual filter switch (IR-CUT), the turning off or on of the infrared light, the turning off or on of the white light, and other services are performed serially to ensure that there is no power consumption superposition at the same time. However, this method will reduce the image quality at the time of alarm triggering or alarm ending, and it is easy to cause the monitoring screen to go black, resulting in poor key frame image quality or even information loss after the alarm is triggered, affecting the alarm monitoring effect. Summary of the invention
[0004] The present invention provides an alarm service control method, device and electronic device, which are used to solve the problem that a black screen is easily generated when performing serial linkage alarm services in the prior art, and improve the image quality of an intelligent dual-light monitoring device for warning after triggering an alarm.
[0005] The present invention provides an alarm service control method, comprising:
[0006] When the alarm instruction information is detected, the calibrated light control safety power consumption is obtained; the alarm instruction information is used to instruct to switch the imaging screen of the monitoring device 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, and one of the first fill light and the second fill light is a white light fill light;
[0007] When it is determined that the light control safety power consumption is greater than the switching power consumption of the dual filter switch, the white light fill light is controlled to be in an on state, and the light intensity of the white light fill light in the on state is controlled based on the light control safety power consumption, the power consumption of the first fill light and the pre-on power consumption of the second fill light;
[0008] On the basis that the white light fill light is in the turned-on state, an 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 fill light is an infrared fill light, and the second fill light is the white light fill light;
[0010] Performing the alarm service process corresponding to the alarm instruction information includes:
[0011] Turn off the infrared fill light;
[0012] Control the dual filter switch to perform a first switching action to cut off the infrared light and restore the saturation of the imaging screen to the saturation of the color image.
[0013] According to an alarm service control method provided by the present invention, controlling the light intensity of the white light fill light in the on state based on the lamp control safe power consumption, the power consumption of the first fill light, and the pre-turn-on power consumption of the second fill light includes:
[0014] When the first total power consumption among the power consumption of the first fill light, the pre-turn-on power consumption of the second fill light, and the switching power consumption is less than the lamp control safe power consumption, determine the light intensity corresponding to the pre-turn-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 turning off the infrared fill light at the first target light intensity.
[0015] According to an alarm service control method provided by the present invention, it further includes:
[0016] When the first total power consumption is greater than or equal to the lamp control safe power consumption, determine the safe margin power consumption of the white light fill light based on the lamp control safe power consumption and the current power consumption of the first fill light;
[0017] Determine the first target light intensity of the white light fill light based on the safe margin power consumption and the pre-turn-on power consumption of the second fill light, and control the light intensity of the white light fill light in the on state before turning off the infrared fill light 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 end instruction, the first imaging color is color, the second imaging color is black and white, the first fill light is the white light fill light, and the second fill light is the infrared fill light;
[0019] Performing the alarm service process corresponding to the alarm instruction information includes:
[0020] Control the dual filter switch to perform a second switching action to allow the infrared light to pass through;
[0021] Determine the second target light intensity of the infrared supplementary light based on the lamp control safe power consumption and the current power consumption of the white light supplementary lamp;
[0022] Turn on the infrared supplementary light and control the light intensity of the infrared supplementary light at the second target light intensity;
[0023] Turn off the white light supplementary lamp and clear the saturation of the imaging picture.
[0024] According to an alarm service control method provided by the present invention, the controlling the light intensity of the white light supplementary lamp in the on state based on the lamp control safe power consumption, the power consumption of the first supplementary lamp, and the pre-turn-on power consumption of the second supplementary lamp includes:
[0025] When the second total power consumption among the power consumption of the first supplementary lamp, the pre-turn-on power consumption of the second supplementary lamp, and the switching power consumption is less than the lamp control safe power consumption, determine the pre-turn-on power consumption of the second supplementary lamp as the power consumption increment of the white light supplementary lamp, and determine the first light intensity increment of the white light supplementary lamp based on the power consumption increment;
[0026] Enhance the light intensity of the white light supplementary lamp based on the first light intensity increment to obtain the light intensity of the white light supplementary lamp in the on state.
[0027] According to an alarm service control method provided by the present invention, it further includes:
[0028] When the second total power consumption is greater than or equal to the lamp control safe power consumption and the third total power consumption between the power consumption of the first supplementary lamp and the switching power consumption is less than the lamp control safe power consumption, determine the second light intensity increment of the white light supplementary lamp based on the lamp control safe power consumption and the third total power consumption;
[0029] Enhance the light intensity of the white light supplementary lamp based on the second light intensity increment to obtain the light intensity of the white light supplementary lamp in the on state.
[0030] According to an alarm service control method provided by the present invention, it further includes:
[0031] When the third total power consumption is greater than or equal to the lamp control safe power consumption, determine the light intensity reduction amount of the white light supplementary lamp based on the lamp control safe power consumption and the third total power consumption;
[0032] Reduce the light intensity of the white light supplementary lamp based on the light intensity reduction amount to obtain the light intensity of the white light supplementary lamp in the on state.
[0033] The present invention further provides an alarm service control device, including:
[0034] A safety power consumption acquisition module, configured to acquire a calibrated lamp control safety power consumption when an alarm instruction message is detected; the alarm instruction message is used to instruct to switch the imaging picture of the monitoring device from a first imaging color to a second imaging color and switch the fill light from a first fill light to a second fill light; one of the first fill light and the second fill light is a white light fill light;
[0035] A fill light control module, configured to control the white light fill light to be in an on state when it is determined that the lamp control safety power consumption is greater than the switching power consumption of the dual filter switch, and control the light intensity of the white light fill light in the on state based on the lamp control safety power consumption, the power consumption of the first fill light, and the pre - turn - on power consumption of the second fill light;
[0036] A service execution module, configured to execute the alarm service process corresponding to the alarm instruction message on the basis that the white light fill light is in an on state.
[0037] The present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the alarm service control method described in any one of the above is implemented.
[0038] The present invention further provides a computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the alarm service control method described in any one of the above is implemented.
[0039] The present invention further provides a computer program product, including a computer program. When the computer program is executed by a processor, the alarm service control method described in any one of the above is implemented.
[0040] The alarm service control method, device, and electronic device provided by the present invention, when detecting alarm instruction information for indicating switching the imaging screen of a monitoring device from a first imaging color to a second imaging color and switching the fill light from a first fill light to a second fill light, obtain the calibrated safe power consumption of the light control, where one of the first fill light and the second fill light is a white light fill light; when determining that the safe power consumption of the light control is greater than the switching power consumption of the dual filter switch, it means that there is surplus power consumption beyond ensuring the completion of the alarm service corresponding to the alarm instruction information within the safe power consumption range of the light control, and this surplus power consumption can be effectively utilized to control the white light fill light; at this time, control the white light fill light to be in the on state, and control the light intensity of the white light fill light in the on state based on the safe power consumption of the light control, the power consumption of the first fill light, and the pre - turn - on power consumption of the second fill light. On the basis that the white light fill light is in the on state, execute the alarm service process corresponding to the alarm instruction information. In this way, before and after the alarm instruction information is triggered, full - time supplementary lighting is available, effectively avoiding the problem of the monitoring screen going black, and thus improving the image quality after the alarm is triggered by the warning - type intelligent dual - light monitoring device. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] To more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following - described drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0042] Figure 1 is a schematic flowchart of the dual - light alarm service after alarm triggering in the prior art;
[0043] Figure 2 is one of the schematic flowcharts of the alarm service control method provided by the embodiments of the present invention;
[0044] Figure 3 is another schematic flowchart of the alarm service control method provided by the embodiments of the present invention;
[0045] Figure 4 is yet another schematic flowchart of the alarm service control method provided by the embodiments of the present invention;
[0046] Figure 5 is a schematic structural diagram of the alarm service control device provided by the embodiments of the present invention;
[0047] Figure 6 is a schematic structural diagram of the electronic device provided by the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] It should be noted that the serial numbers assigned to the objects described in the present invention, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning.
[0050] Intelligent dual-light monitoring equipment for alarm can work in intelligent dual-light mode. At night, it is an infrared image. At this time, the imaging screen is black and white and is supplemented by infrared fill light, without light pollution. When an alarm of human body, face or area intrusion is detected, the imaging screen will switch from black and white to color. At this time, the fill light will switch from infrared fill light to white light fill light. It has a certain light warning effect and can realize the linkage alarm of light. In some scenarios, it can also be combined with sound alarm and pan-tilt linkage tracking and other actions to further ensure the authenticity and image effect of the collected image after the alarm is triggered. These linkage alarm actions will lead to an increase in instantaneous superimposed power consumption, which will affect the stability of the monitoring equipment and easily lead to abnormal phenomena such as restart. In addition, if Figure 1 As shown in the figure, after the alarm is triggered, the imaging screen switches from black and white to color and the fill light switches from infrared fill light to white light, resulting in differences in scene illumination and light source sensitivity. When the alarm ends, for example, if the human body has walked out of the monitoring area or the set warning area, the imaging screen will switch from color to black and white, and the fill light will switch from white light to infrared fill light. If there are other linkage services such as sound and PTZ tracking, these linkage services will also return to their original state.
[0051] If you use 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, and a black screen phenomenon may occur easily, resulting in loss of key frame information. The image at the critical moment of neighbor alarm triggering may also experience long-term brightness fluctuations, overexposure or darkness, etc. Moreover, insufficient fill light intensity will also lead to a decrease in the overall image clarity, as well as problems such as moving object ghosting and high noise, resulting in a decrease in image quality.
[0052] Based on this, the embodiment of the present invention utilizes the lighting control safety power consumption based on image quality calibration to adaptively allocate the instantaneous power consumption of the lighting linkage service after the alarm is triggered and the alarm ends, so that the fill light is present throughout the process before and after the alarm command information is triggered, avoiding the occurrence of a black screen phenomenon, thereby improving the image quality and alarm effect at the critical moment when the alarm command information is triggered.
[0053] The following describes Figures 2 - 4 the alarm service control method of the present invention. The alarm service control method can be applied to electronic devices such as monitoring devices or terminal devices or servers communicatively connected to the monitoring devices. Among them, the terminal device can include mobile phones, computers, vehicle-mounted devices, tablet computers, wearable devices, etc.; the server can include independent servers, cluster servers or cloud servers, etc.; the monitoring device can be an intelligent dual-light monitoring device. The alarm service control method can also be applied to an alarm service control device provided in the electronic device, and the alarm service control device can be implemented by software, hardware or a combination of both.
[0054] Figure 2 One of the flow diagrams of the alarm service control method provided by the embodiment of the present invention is exemplarily shown. Referring to Figure 2 as shown, the alarm service control method may include the following steps 210 to 230.
[0055] Step 210: When the alarm instruction information is detected, obtain the calibrated lamp control safety power consumption.
[0056] Among them, the alarm instruction information is used to instruct to switch the imaging picture of the monitoring device from the first imaging color to the second imaging color and 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, the alarm instruction information may include an alarm trigger instruction when the alarm is triggered or an alarm end instruction when the alarm ends, and the alarm instruction information can be determined based on the analysis of the monitoring images collected by the monitoring device. For example, stranger detection can be performed on the monitoring images of the collected monitoring area, or human body or face detection can be performed on the monitoring images of the set warning area. When a stranger appears in the monitoring image or a face or human body appears in the warning area of the monitoring image, it is determined that the alarm trigger instruction has been detected; when the stranger or human body in the monitoring image walks out of the monitoring area or the set warning area, it is determined that the alarm end instruction has been detected.
[0058] When the alarm instruction information is an alarm trigger instruction, correspondingly, the first imaging color is black and white, the second imaging color is color, the first fill light is an infrared fill light, and the second fill light is a white light fill light. That is, this alarm instruction information is used to indicate switching the imaging screen of the monitoring device from black and white to color and switching the fill light from the infrared fill light to the white light fill light. When the alarm instruction information is an alarm end instruction, correspondingly, the first imaging color is color, the second imaging color is black and white, the first fill light is a white light fill light, and the second fill light is an infrared fill light. That is, this alarm instruction information is used to indicate switching the imaging screen of the monitoring device from color to black and white and switching the fill light from the white light fill light to the infrared fill light.
[0059] For an intelligent dual-light monitoring device, its power consumption mainly comes from the basic 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 a microphone, speaker, and pan-tilt tracking are added, it also includes the power consumption of these linked services. Among them, the power consumption of IR-CUT switching, turning on or off the fill light, the speaker, and pan-tilt tracking is relatively high but does not always exist. Therefore, the total power consumption of the monitoring device is not the sum of these power consumption sources, but varies within a certain range following the real-time services. For example, the instantaneous power when the fill light is currently turned on in combination with IR-CUT switching may cause the instantaneous power consumption to exceed the standard.
[0060] Based on this, in the embodiments of the present invention, the power consumption of each module with power consumption superposition services can be determined based on the analysis of the alarm service process and the testing of the power consumption of the superimposed modules. For non-real-time maximum power consumption operation modules such as sound and fill lights, since their power consumption can vary in real time, the maximum safe power consumption of such modules can be calibrated, and then such modules can be controlled in stages.
[0061] Specifically, for the dual-light alarm service, it includes the superposition of IR-CUT switching and the fill light. Combining Figure 1 Analyzing the process of the dual-light alarm service shows that when the alarm is triggered, affected by the operation sequence among IR-CUT, the infrared fill light, and the white light fill light, problems such as black screen, red deviation, and overexposure will occur in the imaging screen, resulting in a decline in image quality. Moreover, the operation sequence of these three will directly affect the instantaneous power consumption of the device. Once the power consumption exceeds the standard, there will be a risk of device crash, affecting the normal operation of the monitoring service. In addition, during the operation of the monitoring device, the intensity of the fill light is related to the illuminance of the scene and does not work at the maximum intensity in real time. Therefore, in the embodiments of the present invention, the safe power consumption of the light control can be calibrated first, and then the calibrated safe power consumption of the light control can be saved. When the alarm instruction information is detected, the safe power consumption of the light control can be directly obtained.
[0062] During the calibration of the safe power consumption of the lamp control, the measurement of the safe power consumption value can be based on the combination of each service module in the dual-light warning service. In the dual-light warning service, the variable power consumption includes the light intensities of the white light supplementary lamp and the infrared supplementary lamp. During the test, the power consumption calibration can be based on the image quality and / or service configuration, rather than simply taking the maximum power consumption value of each module, and each service module does not operate at the same time. Therefore, there is a safe power consumption range.
[0063] For example, in the dual-light warning service, based on the maximum power consumption allowed by the monitoring device, the maximum current value when the infrared supplementary lamp is superimposed on the white light supplementary lamp during the IR-CUT switching can be measured. This maximum current value corresponds to a safe power consumption value of the supplementary lamp. The sum of this safe power consumption value of the supplementary lamp and the switching power of the IR-CUT can be determined as the safe power consumption of the lamp control, or the maximum current value can be directly used to represent the safe power consumption of the lamp control.
[0064] It can be understood that the calibrated safe power consumption of the lamp control can be expressed as "the safe power consumption value of the supplementary lamp + the switching power of the IR-CUT". During the real-time operation of the monitoring device, after the alarm is triggered, the instantaneous power consumption when the IR-CUT and the supplementary lamp are superimposed can be expressed as "the switching power of the IR-CUT + the current power consumption of the infrared supplementary lamp + the power consumption of the pre-activated white light supplementary lamp". Since both the calibrated safe power consumption of the lamp control and the instantaneous power consumption during the real-time operation of the monitoring device include the switching power of the IR-CUT, they can cancel each other out in the power consumption comparison. Therefore, the safe power consumption value of the supplementary lamp can be used to represent the safe power consumption of the lamp control. In practical applications, the sum of the current power consumption of the real-time detected infrared supplementary lamp and the power consumption of the pre-activated white light supplementary lamp can be compared with the safe power consumption value of the supplementary lamp to determine whether the superimposed instantaneous power consumption exceeds the safe power consumption of the lamp control.
[0065] Exemplarily, in the scenario where at least one of the linkage warning services such as pan-tilt linkage tracking, sound linkage warning, and day-night switching is further superimposed in the dual-light warning service, when calibrating the safe power consumption of the lamp control, the above calibration process can be executed on the basis of enabling the superimposed linkage warning service. That is, on the basis of enabling the superimposed linkage warning service, the safe power consumption value of the supplementary lamp when the infrared supplementary lamp is superimposed on the white light supplementary lamp during the IR-CUT switching is tested, and then the safe power consumption of the lamp control is determined. It can be understood that the safe power consumption of the lamp control determined in this scenario is less than the safe power consumption of the lamp control when the pan-tilt linkage tracking, sound linkage warning, and day-night switching and other linkage warning services are not superimposed.
[0066] Based on this, in an exemplary embodiment, when the alarm instruction information is detected, it is possible to first determine whether there is an additional linked alarm service superimposed on the dual-light alarm service. If not, directly obtain the lamp control safety power consumption corresponding to the dual-light alarm service. If there is an additional linked alarm service superimposed, it is possible to obtain the lamp control safety power consumption calibrated when this additional linked alarm service is superimposed.
[0067] Step 220: When it is determined that the lamp control safety power consumption is greater than the switching power consumption of the dual-band filter switch, control the white light supplementary lamp to be in the on state, and control the light intensity of the white light supplementary lamp in the on state based on the lamp control safety power consumption, the power consumption of the first supplementary lamp, and the pre-turn-on power consumption of the second supplementary lamp.
[0068] When the alarm instruction information is the alarm trigger instruction at the time of triggering the alarm, the first supplementary lamp is an infrared supplementary lamp, and the second supplementary lamp is a white light supplementary lamp. It is necessary to switch the supplementary lamp from the infrared supplementary lamp to the white light supplementary lamp. At this time, it is possible to first determine whether the lamp control safety power consumption is greater than the switching power consumption of the IR-CUT. If it is greater, it means that there is surplus power consumption outside the alarm service corresponding to the alarm instruction information within the lamp control safety power consumption range. This surplus power consumption can be used to control the light intensity of the white light supplementary lamp in the on state to ensure that the total power consumption after the white light supplementary lamp is turned on is within the lamp control safety power consumption range. Specifically, the white light supplementary lamp can be turned on, and the surplus power consumption can be determined based on the lamp control safety power consumption, the current power consumption of the infrared supplementary lamp, and the pre-turn-on power consumption of the white light supplementary lamp. The surplus power consumption is used to control the light intensity of the white light supplementary lamp in the on state before turning off the infrared supplementary lamp. If the lamp control safety power consumption is less than or equal to the switching power consumption of the IR-CUT, then it can be controlled according to the Figure 1 Process after the alarm is triggered, that is, sequentially execute the processes of turning off the infrared supplementary lamp, switching the IR-CUT to not allow infrared light to pass through, restoring the image saturation to the saturation of the color image, and turning on the white light supplementary lamp.
[0069] When the alarm instruction information is the alarm end instruction, the first supplementary lamp is a white light supplementary lamp, and the second supplementary lamp is an infrared supplementary lamp. It is necessary to switch the supplementary lamp from the white light supplementary lamp to the infrared supplementary lamp, that is, the white light supplementary lamp is currently in the on state. At this time, if it is determined that the lamp control safety power consumption is greater than the switching power consumption of the IR-CUT, then the surplus power consumption can be determined based on the lamp control safety power consumption, the current power consumption of the infrared supplementary lamp, and the pre-turn-on power consumption of the white light supplementary lamp. The surplus power consumption is used to adjust the current light intensity of the white light supplementary lamp. If the lamp control safety power consumption is less than or equal to the switching power consumption of the IR-CUT, then it can be controlled according to the Figure 1 Process after the alarm ends, that is, sequentially execute the processes of turning off the white light supplementary lamp, switching the IR-CUT to allow infrared light to pass through, clearing the image saturation to zero, and turning on the infrared supplementary lamp.
[0070] Step 230: On the basis that the white light supplementary lamp is in the on state, execute the alarm service process corresponding to the alarm instruction information.
[0071] In an exemplary 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 supplementary lamp; controlling the dual filter switcher to perform a first switching action to cut off the infrared light and restore the saturation of the imaging screen to the saturation of the color image. In this way, the supplementary lamp can be switched from the infrared supplementary lamp to the white light supplementary lamp, and the imaging screen of the monitoring device can be switched from black and white to color to meet the associated alarm requirements after the alarm is triggered.
[0072] Among them, the dual filter switcher (IR-CUT) includes two filters, one is an infrared cut-off filter or an infrared absorption filter, and the other is a full-transmission spectrum filter. Controlling the dual filter switcher to perform the first switching action means switching the filter to the infrared cut-off filter or the infrared absorption filter to work to cut off the infrared light, that is, not allowing the infrared light to pass 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, that is, the increased light intensity does not exceed the power consumption released after the infrared supplementary lamp is turned off. Among them, the increased light intensity can be determined by means of automatic exposure (AE) adjustment, such as determined by an equal exposure algorithm.
[0074] In an exemplary embodiment, when the alarm instruction information is an alarm end instruction, executing the alarm service process corresponding to the alarm instruction information may include: controlling the dual filter switcher to perform a second switching action to allow the infrared light to pass through; determining the second target light intensity of the infrared supplementary lamp based on the lamp control safety power consumption and the current power consumption of the white light supplementary lamp; turning on the infrared supplementary lamp and controlling the light intensity of the infrared supplementary lamp at the second target light intensity; turning off the white light supplementary lamp and clearing the saturation of the imaging screen. In this way, the supplementary lamp can be switched from the white light supplementary lamp to the infrared supplementary lamp, and the imaging screen of the monitoring device can be switched from color to black and white.
[0075] Among them, controlling the dual filter switcher to perform the second switching action means switching the filter to the full-transmission spectrum filter to allow the infrared light to pass through.
[0076] Exemplarily, determining the second target light intensity of the infrared supplementary lamp based on the lamp control safety power consumption and the current power consumption of the white light supplementary lamp may include: determining the power consumption difference between the lamp control safety power consumption and the current power consumption of the white light supplementary lamp; determining the light intensity corresponding to the power consumption difference as the second target light intensity.
[0077] The alarm service control method provided by the embodiment of the present invention, when detecting alarm instruction information for instructing to switch the imaging screen of the monitoring device from the first imaging color to the second imaging color and switch the fill light from the first fill light to the second fill light, obtains the calibrated safe power consumption of the light control, where one of the first fill light and the second fill light is a white light fill light; when determining that the safe power consumption of the light control is greater than the switching power consumption of the dual filter switch, it means that there is surplus power consumption outside ensuring the completion of the alarm service corresponding to the alarm instruction information within the safe power consumption range of the light control, and this surplus power consumption can be effectively utilized to control the white light fill light; at this time, control the white light fill light to be in the on state, and control the light intensity of the white light fill light in the on state based on the safe power consumption of the light control, the power consumption of the first fill light, and the pre-turn-on power consumption of the second fill light. On the basis that the white light fill light is in the on state, execute the alarm service process corresponding to the alarm instruction information. In this way, before and after the alarm instruction information is triggered, the supplementary lighting is always on, effectively avoiding the problem of the monitoring screen going black, and thus improving the image quality after the warning type intelligent dual-light monitoring device triggers an alarm.
[0078] Based on Figure 1 For the alarm service control method of the corresponding embodiment, when the alarm instruction information is an alarm trigger instruction, that is, in the alarm trigger scenario, the first fill light is an infrared fill light, the second fill light is a white light fill light, and the alarm service includes a dual-light alarm service, it is necessary to switch the imaging screen from black and white to color and switch the fill light from the infrared fill light to the white light fill light. The corresponding alarm service process includes turning off the infrared fill light, IR-CUT switching, the imaging screen becoming color, and the white light fill light turning on. Before turning off the infrared fill light, it is possible to first determine whether there is surplus power consumption for simultaneously turning on the white light fill light based on the safe power consumption of the light control, the power consumption of the first fill light, and the pre-turn-on power consumption of the second fill light. If there is, the white light fill light can be turned on simultaneously and the light intensity of the white light fill light in the on state can be controlled in stages based on this surplus power consumption. Then, on the basis of the white light fill light being turned on, execute the process of turning off the infrared light, IR-CUT switching, the imaging screen becoming color, and keeping the white light on.
[0079] Specifically, controlling the light intensity of the white light fill light in the on state based on the safe power consumption of the light control, the power consumption of the first fill light, and the pre-turn-on power consumption of the second fill light may include: when the first total power consumption among the power consumption of the first fill light, the pre-turn-on power consumption of the second fill light, and the switching power consumption is less than the safe power consumption of the light control, determining the light intensity corresponding to the pre-turn-on power consumption of the second fill light as the first target light intensity of the white light fill light, and controlling the light intensity of the white light fill light in the on state before turning off the infrared fill light to the first target light intensity.
[0080] Among them, the pre-turn-on power consumption of the second fill light can be determined using the AE algorithm based on the illuminance of the current environment to ensure the quality of the imaging screen.
[0081] Further, it further includes: when the first total power consumption is greater than or equal to the lamp control safety power consumption, determining the safety margin power consumption of the white light supplementary lamp based on the lamp control safety power consumption and the current power consumption of the first supplementary lamp; determining the first target light intensity of the white light supplementary lamp based on the safety margin power consumption and the pre-turn-on power consumption of the second supplementary lamp, and controlling the light intensity of the white light supplementary lamp in the on state before turning off the infrared supplementary lamp to the first target light intensity.
[0082] Exemplarily, determining the safety margin power consumption of the white light supplementary lamp based on the lamp control safety power consumption and the current power consumption of the first supplementary lamp may include: when it is determined that the fourth total power consumption between the current power consumption of the first supplementary lamp and the switching power consumption of the IR-CUT is less than the lamp control safety power consumption, determining the first power consumption difference between the lamp control safety power consumption and the current power consumption of the first supplementary lamp, and determining the first power consumption difference as the safety margin power consumption of the white light supplementary lamp; when it is determined that the fourth total power consumption between the current power consumption of the first supplementary lamp and the switching power consumption of the IR-CUT is greater than or equal to the lamp control safety power consumption and the lamp control safety power consumption is greater than the switching power consumption of the IR-CUT, determining the fifth total power consumption between the current power consumption of the first supplementary lamp and the switching power consumption of the IR-CUT; determining the second power consumption difference between the lamp 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 supplementary lamp.
[0083] Exemplarily, determining the first target light intensity of the white light supplementary lamp based on the safety margin power consumption and the pre-turn-on power consumption of the second supplementary lamp may include: determining the light intensity corresponding to the minimum value between the safety margin power consumption and the pre-turn-on power consumption of the second supplementary lamp as the first target light intensity.
[0084] In this way, when an alarm trigger is detected, the light intensity of the white light supplementary lamp can be adaptively and phased controlled based on the lamp control safety power consumption, the current power consumption of the first supplementary lamp, and the pre-turn-on power consumption of the second supplementary lamp, so that the white light supplementary lamp works in the best state allowed by the power consumption, provides the best supplementary light effect for the imaging picture, and ensures the image quality of the imaging picture.
[0085] For example, taking the dual-light alarm service in the alarm service, where it is necessary to switch the imaging picture from black and white to color and switch the supplementary lamp from the infrared supplementary lamp to the white light supplementary lamp as an example, Figure 3 Exemplarily shows the second schematic diagram of the process of the alarm service control method provided by the embodiment of the present invention. Refer to Figure 3 As shown, the alarm service control method may include the following steps 301 to step 315.
[0086] Step 301: When an alarm trigger instruction is detected, obtain the calibrated lamp control safety power consumption.
[0087] Step 302: Determine whether the first total power consumption among the switching power consumption of the IR-CUT, the current power consumption of the infrared fill light, and the pre-turn-on power consumption of the white light fill light is less than the lamp control safety power consumption.
[0088] If the first total power consumption is less than the lamp control safety power consumption, then execute Step 303; otherwise, execute Step 304.
[0089] Step 303: Turn on the white light fill light and control the light intensity of the white light fill light at the light intensity corresponding to the pre-turn-on power consumption of the white light fill light. After that, execute 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 lamp control safety power consumption.
[0091] If the fourth total power consumption is less than the lamp control safety power consumption, then execute Step 305; otherwise, execute Step 307.
[0092] Step 305: Turn on the white light fill light and determine the first power consumption difference between the lamp control safety power consumption and the current power consumption of the infrared fill light.
[0093] Step 306: Determine the first target light intensity as the minimum value corresponding to the first power consumption difference and the pre-turn-on power consumption of the white light fill light, and control the light intensity of the white light fill light at the first target light intensity. After that, execute Step 310.
[0094] Step 307: Determine whether the switching power consumption of the IR-CUT is less than the lamp control safety power consumption.
[0095] If the switching power consumption of the IR-CUT is less than the lamp control safety power consumption, then execute Step 308; otherwise, execute Step 312.
[0096] Step 308: Turn on the white light fill light, determine the fifth total power consumption between the current power consumption of the infrared fill light and the switching power consumption of the IR-CUT, and determine the second power consumption difference between the lamp control safety power consumption and the fifth total power consumption.
[0097] Step 309: Determine the first target light intensity as the minimum value corresponding to the second power consumption difference and the pre-turn-on power consumption of the white light fill light, and control the light intensity of the white light fill light at the first target light intensity. After that, execute Step 310.
[0098] Step 310: Turn off the infrared fill light.
[0099] Step 311: Switch the filter of the IR-CUT to an infrared cut-off filter and enhance the light intensity of the white light fill light based on AE adjustment. After that, execute Step 314.
[0100] Among them, 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 device to restore the true color.
[0101] Step 312: Turn off the infrared supplementary light.
[0102] Step 313: Switch the filter of the IR-CUT to an infrared cut-off filter.
[0103] Step 314: Restore the saturation of the imaging screen to the saturation of the color image.
[0104] Step 315: Enhance the light intensity of the white light supplementary light.
[0105] Specifically, the light intensity of the white light supplementary light can be enhanced by means of AE adjustment or equivalent exposure.
[0106] The alarm service control method provided by the embodiment of the present invention can perform adaptive phased lamp control by using the lamp control safety power consumption based on image quality calibration when an alarm trigger is detected, that is, first turn on the white light supplementary light in the first stage and adaptively control the light intensity of the white light supplementary light, then perform the IR-CUT switching in the second stage, as well as the white light supplementary light filling and saturation restoration, and then perform the white light filling enhancement in the third stage, so that the imaging screen is in a state of full-time light filling, avoiding the problem of black screen of the screen and improving the image quality of the imaging screen. Moreover, the light intensity of the supplementary light can be adaptively adjusted according to the real-time power consumption, improving the exposure smoothness when the alarm is triggered and further improving the image quality of the imaging screen.
[0107] Based on Figure 1 For the alarm service control method corresponding to the embodiment, when the alarm instruction information is an alarm end instruction, that is, when the alarm ends, the first supplementary light is a white light supplementary light, the second supplementary light is an infrared supplementary light, and the alarm service includes a dual-light alarm service, it is necessary to switch the imaging screen from color to black and white and switch the supplementary light from the white light supplementary light to the infrared supplementary light. The corresponding alarm service process includes IR-CUT switching, infrared supplementary light turning on, white light turning off, and saturation clearing. Before the IR-CUT switching, it is possible to first determine whether there is a remaining power consumption for simultaneously turning on the white light based on the lamp 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 there is, the light intensity of the white light supplementary light can be controlled in phases based on the remaining power consumption. Then, on the basis of the white light supplementary light working, the processes of IR-CUT switching, infrared supplementary light turning on, white light supplementary light turning off, and saturation clearing are executed.
[0108] Specifically, controlling the light intensity of the white light supplementary lamp in the on state based on the lamp control safety power consumption, the power consumption of the first supplementary lamp, and the pre - turn - on power consumption of the second supplementary lamp may include: when the second total power consumption between the power consumption of the first supplementary lamp, the pre - turn - on power consumption of the second supplementary lamp, and the switching power consumption is less than the lamp control safety power consumption, determining the pre - turn - on power consumption of the second supplementary lamp as the power consumption increment of the white light supplementary lamp, and determining the first light intensity increment of the white light supplementary lamp based on the power consumption increment; enhancing the light intensity of the white light supplementary lamp based on the first light intensity increment to obtain the light intensity of the white light supplementary lamp in the on state.
[0109] Among them, the pre - turn - on power consumption of the second supplementary lamp can be determined using the AE algorithm based on the illuminance of the current environment to ensure the quality of the imaging picture.
[0110] Further, it also includes: when the second total power consumption is greater than or equal to the lamp control safety power consumption and the third total power consumption between the power consumption of the first supplementary lamp and the switching power consumption is less than the lamp control safety power consumption, determining the second light intensity increment of the white light supplementary lamp based on the lamp control safety power consumption and the third total power consumption; enhancing the light intensity of the white light supplementary lamp based on the second light intensity increment to obtain the light intensity of the white light supplementary lamp in the on state.
[0111] Among them, determining the second light intensity increment of the white light supplementary lamp based on the lamp control safety power consumption and the third total power consumption includes: determining the third power consumption difference between the lamp control safety power consumption and the third total power consumption, and determining the third power consumption difference as the second light intensity increment of the white light supplementary lamp.
[0112] Further, it also includes: when the third total power consumption is greater than or equal to the lamp control safety power consumption, determining the light intensity reduction amount of the white light supplementary lamp based on the lamp control safety power consumption and the third total power consumption; reducing the light intensity of the white light supplementary lamp based on the light intensity reduction amount to obtain the light intensity of the white light supplementary lamp in the on state.
[0113] Among them, determining the light intensity reduction amount of the white light supplementary lamp based on the lamp 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 lamp control safety power consumption, and determining the fourth power consumption difference as the light intensity reduction amount of the white light supplementary lamp.
[0114] In this way, when detecting the end of the alarm, the light intensity of the white light supplementary lamp can be adaptively and phased - controlled based on the lamp control safety power consumption, the current power consumption of the first supplementary lamp, and the pre - turn - on power consumption of the second supplementary lamp, enabling the white light supplementary lamp to work in the best state allowed by the power consumption, providing the best supplementary light effect for the imaging picture, and ensuring the image quality of the imaging picture.
[0115] For example, taking the dual - light alarm service in the alarm service as an example, where it is necessary to switch the imaging picture from color to black - and - white and switch the supplementary lamp from the white light supplementary lamp to the infrared supplementary lamp. Figure 4Exemplarily shown is the third schematic flowchart of the alarm service control method provided by the embodiments of the present invention. Refer to Figure 4 As shown, the alarm service control method may include the following steps 401 to step 414.
[0116] Step 401: When an alarm end instruction is detected, obtain the calibrated lamp control safety power consumption.
[0117] Step 402: Determine whether the second total power consumption among the switching power consumption of the IR-CUT, the current power consumption of the white light supplementary lamp, and the pre-turn-on power consumption of the infrared supplementary lamp is less than the lamp control safety power consumption.
[0118] If the second total power consumption is less than the lamp control safety power consumption, execute step 403; otherwise, execute step 404.
[0119] Step 403: Control the light intensity of the white light supplementary lamp at the light intensity corresponding to the pre-turn-on power consumption of the infrared supplementary lamp. Then, execute 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 supplementary lamp is less than the lamp control safety power consumption.
[0121] If the third total power consumption is less than the lamp control safety power consumption, execute step 405; otherwise, execute step 406.
[0122] Step 405: Determine the power consumption difference between the lamp 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 supplementary lamp based on the second light intensity increment. Then, execute step 408.
[0123] Step 406: Determine whether the switching power consumption of the IR-CUT is less than the lamp control safety power consumption.
[0124] If the switching power consumption of the IR-CUT is less than the lamp control safety power consumption, execute step 407; otherwise, execute step 411.
[0125] Step 407: Determine the power consumption difference between the third total power consumption and the lamp control safety power consumption as the light intensity reduction amount of the white light supplementary lamp, and reduce the light intensity of the white light supplementary lamp based on the light intensity reduction amount.
[0126] Step 408: Switch the filter of the IR-CUT to a full-transmission spectrum filter.
[0127] Among them, when the full-transmission spectrum filter is working, infrared light is allowed to pass through, enabling the image sensor of the monitoring device to make full use of all light, effectively improving the low-light performance and making the night vision effect clearer.
[0128] Step 409: Turn on the infrared supplementary lamp and control the light intensity of the infrared supplementary lamp at the second target light intensity.
[0129] Among them, the second target light intensity can be the light intensity corresponding to the power consumption difference between the lamp control safety power consumption and the current power consumption of the white light supplementary lamp.
[0130] Step 410: Turn off the white light supplementary lamp.
[0131] So far, the purpose of switching the supplementary lamp from the white light supplementary lamp to the infrared supplementary lamp is achieved. And during the switching process of the supplementary lamp, the infrared supplementary lamp is turned on first and then the white light supplementary lamp is turned off, and the whole process of supplementary lighting is maintained. Then step 413 is executed.
[0132] Step 411: Turn off the white light supplementary lamp.
[0133] Step 412: Switch the filter of the IR-CUT to a full-transmission spectrum filter.
[0134] Exemplarily, the exposure can be temporarily turned off while turning off the white light supplementary lamp in step 411, and the exposure is turned on when the supplementary lamp is switched to the infrared supplementary lamp through the IR-CUT switching. This can avoid overexposure of the picture when the white light supplementary lamp is switched to the infrared supplementary lamp.
[0135] Step 413: Reset the saturation of the imaging picture to zero.
[0136] So far, the imaging picture can be switched from color to black and white.
[0137] Step 414: Enhance the light intensity of the infrared supplementary lamp.
[0138] Specifically, the light intensity of the infrared supplementary lamp can be enhanced by means of AE adjustment or equivalent exposure.
[0139] The warning service control method provided by the embodiment of the present invention can perform adaptive phased lamp control by using the lamp control safety power consumption based on image quality calibration when detecting the end of the warning, that is, first enhancing or weakening the light intensity of the white light supplementary lamp in the first stage, rather than turning off the white light lamp completely, then performing the second stage of IR-CUT switching and the supplementary lighting and saturation reset of the infrared supplementary lamp, and then performing the third stage of infrared supplementary lighting enhancement, so that the imaging picture is in the state of full supplementary lighting throughout the process, avoiding the problem of black screen of the picture and improving the image quality of the imaging picture. Moreover, the light intensity of the supplementary lamp can be adaptively adjusted according to the real-time power consumption, improving the exposure smoothness when the warning is triggered and further improving the image quality of the imaging picture.
[0140] Next, the warning service control device provided by the present invention is described. The warning service control device described below can be correspondingly referred to the warning service control method described above.
[0141] Figure 5The structural schematic diagram of the alarm service control device provided by the embodiment of the present invention is exemplarily shown. Refer to Figure 5 As shown, the alarm service control device may include: a safe power consumption acquisition module 510, configured to acquire the calibrated lamp control safe power consumption when detecting alarm instruction information, where the alarm instruction information is used to instruct to switch the imaging screen of the monitoring device from the first imaging color to the second imaging color and switch the supplementary light from the first supplementary light to the second supplementary light, and one of the first supplementary light and the second supplementary light is a white light supplementary light; a supplementary light control module 520, configured to control the white light supplementary light to be in the on state when determining that the lamp control safe power consumption is greater than the switching power consumption of the dual filter switcher, and control the light intensity of the white light supplementary light in the on state based on the lamp control safe power consumption, the power consumption of the first supplementary light, and the pre-turn-on power consumption of the second supplementary light; a service execution module 530, configured to execute the alarm service process corresponding to the alarm instruction information on the basis that the white light supplementary light is in the on state.
[0142] In an exemplary 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 turning-off unit, configured to turn off the infrared supplementary light; a first switching unit, configured to control the dual filter switcher to perform a first switching action to cut off the infrared light and restore the saturation of the imaging screen to the saturation of the color image.
[0143] In an exemplary embodiment, the supplementary light control module 520 may include: a first control unit, configured to determine the first target light intensity of the white light supplementary light as the light intensity corresponding to the pre-turn-on power consumption of the second supplementary light and control the light intensity of the white light supplementary light in the on state before turning off the infrared supplementary light at the first target light intensity when the first total power consumption among the power consumption of the first supplementary light, the pre-turn-on power consumption of the second supplementary light, and the switching power consumption is less than the lamp control safe power consumption.
[0144] In an exemplary embodiment, the supplementary light control module 520 further includes a second control unit. The second control unit is configured to: determine the safe margin power consumption of the white light supplementary light based on the lamp control safe power consumption and the current power consumption of the first supplementary light when the first total power consumption is greater than or equal to the lamp control safe power consumption; determine the first target light intensity of the white light supplementary light based on the safe margin power consumption and the pre-turn-on power consumption of the second supplementary light, and control the light intensity of the white light supplementary light in the on state before turning off the infrared supplementary light at the first target light intensity.
[0145] In an exemplary embodiment, the alarm instruction information is an alarm end instruction, the first imaging color is color, the second imaging color is black and white, the first fill light is a white light fill light, and the second fill light is an infrared fill light. Correspondingly, the service execution module 530 may include: a second switching unit configured to control the dual filter switch to perform a second switching action to allow infrared light to pass through; a light intensity determination unit configured to determine a second target light intensity of the infrared fill light based on the lamp control safety power consumption and the current power consumption of the white light fill light; a third control unit configured to turn on the infrared fill light and control the light intensity of the infrared fill light at the second target light intensity; and a fourth control unit configured to turn off the white light fill light and clear the saturation of the imaging screen.
[0146] In an exemplary embodiment, the fill light control module 520 may include a fifth control unit. The fifth control unit is configured to: when a second total power consumption among the power consumption of the first fill light, the pre-turn-on power consumption of the second fill light, and the switching power consumption is less than the lamp control safety power consumption, determine the pre-turn-on power consumption of the second fill light as the power consumption increment of the white light fill light, and determine a first light intensity increment of the white light fill light based on the power consumption increment; and enhance the light intensity of the white light fill light based on the first light intensity increment to obtain the light intensity of the white light fill light in the turned-on state.
[0147] In an exemplary embodiment, the fill light control module 520 further includes a sixth control unit. The sixth control unit is configured to: when the second total power consumption is greater than or equal to the lamp control safety power consumption and a third total power consumption among the power consumption of the first fill light and the switching power consumption is less than the lamp control safety power consumption, determine a second light intensity increment of the white light fill light based on the lamp control safety power consumption and the third total power consumption; and enhance the light intensity of the white light fill light based on the second light intensity increment to obtain the light intensity of the white light fill light in the turned-on state.
[0148] In an exemplary embodiment, the fill light control module 520 further includes a seventh control unit. The seventh control unit is configured to: when the third total power consumption is greater than or equal to the lamp control safety power consumption, determine a light intensity reduction amount of the white light fill light based on the lamp control safety power consumption and the third total power consumption;
[0149] reduce the light intensity of the white light fill light based on the light intensity reduction amount to obtain the light intensity of the white light fill light in the turned-on state.
[0150] Figure 6 An exemplary structural diagram of an electronic device is shown in Figure 6As shown in the figure, the electronic device may include: a processor 610, a communication interface 620, a memory 630, and a communication bus 640. Among them, the processor 610, the communication interface 620, and the memory 630 complete communication with each other through the communication bus 640. The processor 610 may call the logical instructions in the memory 630 to execute the alarm service control method provided by any of the above method embodiments.
[0151] In addition, when the logical instructions in the above-mentioned memory 630 are implemented in the form of a software functional unit and sold or used as an independent product, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc that can store program codes.
[0152] On the other hand, the present invention also provides a computer program product. The computer program product 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 by any of the above method embodiments.
[0153] On yet another aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the alarm service control method provided by any of the above method embodiments.
[0154] Exemplarily, the computer-readable storage medium includes a non-transitory computer-readable storage medium.
[0155] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.
[0156] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the essence of the above technical solution, 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 for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment 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 are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. And these modifications or replacements do not make the essence of the corresponding technical solutions 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, it includes: When detecting alarm instruction information, obtaining the calibrated safe power consumption of the light control; the alarm instruction information is used to indicate switching the imaging picture of the monitoring device from the first imaging color to the second imaging color and switching the supplementary light from the first supplementary light to the second supplementary light, and one of the first supplementary light and the second supplementary light is a white light supplementary light; When determining that the safe power consumption of the light control is greater than the switching power consumption of the dual filter switcher, controlling the white light supplementary light to be in the on state, and controlling the light intensity of the white light supplementary light in the on state based on the safe power consumption of the light control, the power consumption of the first supplementary light, and the pre-turn-on power consumption of the second supplementary light; Based on the white light supplementary light being in the on state, executing the alarm service process corresponding to the alarm instruction information.
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; Executing the alarm service process corresponding to the alarm instruction information includes: Turning off the infrared supplementary light; Controlling the dual filter switcher to perform a first switching action to cut off the infrared light, and restoring the saturation of the imaging picture to the saturation of the color image.
3. The alarm service control method according to claim 2, characterized in that, Controlling the light intensity of the white light supplementary light in the on state based on the safe power consumption of the light control, the power consumption of the first supplementary light, and the pre-turn-on power consumption of the second supplementary light includes: When the first total power consumption among the power consumption of the first supplementary light, the pre-turn-on power consumption of the second supplementary light, and the switching power consumption is less than the safe power consumption of the light control, determining the light intensity corresponding to the pre-turn-on power consumption of the second supplementary light as the first target light intensity of the white light supplementary light, and controlling the light intensity of the white light supplementary light in the on state before turning off the infrared supplementary light to the first target light intensity.
4. The alarm service control method according to claim 3, characterized in that, it further includes: When the first total power consumption is greater than or equal to the safe power consumption of the light control, determining the safe margin power consumption of the white light supplementary light based on the safe power consumption of the light control and the current power consumption of the first supplementary light; Determining the first target light intensity of the white light supplementary light based on the safe margin power consumption and the pre-turn-on power consumption of the second supplementary light, and controlling the light intensity of the white light supplementary light in the on state before turning off the infrared supplementary light to the first target light intensity.
5. The alarm service control method according to claim 1, characterized in that, the alarm instruction information is an alarm end instruction, the first imaging color is color, the second imaging color is black and white, the first supplementary light is the white light supplementary light, and the second supplementary light is an infrared supplementary light; Executing the alarm service process corresponding to the alarm instruction information includes: Control the dual filter switch to perform a second switching action to allow infrared light to pass through; Determine the second target light intensity of the infrared supplementary light based on the lamp control safe power consumption and the current power consumption of the white light supplementary lamp; Turn on the infrared supplementary light and control the light intensity of the infrared supplementary light at the second target light intensity; Turn off the white light supplementary lamp and clear the saturation of the imaging screen.
6. The alarm service control method according to claim 5, characterized in that The controlling the light intensity of the white light supplementary lamp in the on state based on the lamp control safe power consumption, the power consumption of the first supplementary lamp, and the pre-turn-on power consumption of the second supplementary lamp includes: When the second total power consumption among the power consumption of the first supplementary lamp, the pre-turn-on power consumption of the second supplementary lamp, and the switching power consumption is less than the lamp control safe power consumption, determine the pre-turn-on power consumption of the second supplementary lamp as the power consumption increment of the white light supplementary lamp, and determine the first light intensity increment of the white light supplementary lamp based on the power consumption increment; Enhance the light intensity of the white light supplementary lamp based on the first light intensity increment to obtain the light intensity of the white light supplementary lamp in the on state.
7. The alarm service control method according to claim 6, characterized in that It further includes: When the second total power consumption is greater than or equal to the lamp control safe power consumption and the third total power consumption between the power consumption of the first supplementary lamp and the switching power consumption is less than the lamp control safe power consumption, determine the second light intensity increment of the white light supplementary lamp based on the lamp control safe power consumption and the third total power consumption; Enhance the light intensity of the white light supplementary lamp based on the second light intensity increment to obtain the light intensity of the white light supplementary lamp in the on state.
8. The alarm service control method according to claim 7, characterized in that It further includes: When the third total power consumption is greater than or equal to the lamp control safe power consumption, determine the light intensity reduction amount of the white light supplementary lamp based on the lamp control safe power consumption and the third total power consumption; Reduce the light intensity of the white light supplementary lamp based on the light intensity reduction amount to obtain the light intensity of the white light supplementary lamp in the on state.
9. An alarm service control device, characterized in that includes: A safe power consumption acquisition module, configured to acquire the calibrated lamp control safe power consumption when detecting alarm instruction information; the alarm instruction information is used to indicate switching the imaging screen of the monitoring device from the first imaging color to the second imaging color and switching the supplementary lamp from the first supplementary lamp to the second supplementary lamp; one of the first supplementary lamp and the second supplementary lamp is a white light supplementary lamp; A supplementary lamp control module, configured to control the white light supplementary lamp to be in the on state when determining that the lamp control safe power consumption is greater than the switching power consumption of the dual filter switch, and control the light intensity of the white light supplementary lamp in the on state based on the lamp control safe power consumption, the power consumption of the first supplementary lamp, and the pre-turn-on power consumption of the second supplementary lamp; A service execution module, configured to execute the alarm service process corresponding to the alarm instruction information on the basis that the white light supplementary lamp is in the on state.
10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, when the processor executes the computer program, the warning service control method according to any one of claims 1 to 8 is implemented.
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
Hybrid light supplement control method and system for face snapshot camera, medium and terminal
CN112040108A
Dual-light camera, control system of dual-light camera and control method of control system
CN112217980A
Intelligent monitoring device and method
US20170099464A1