CN112019817A - Monitoring equipment control method and system, storage medium and electronic device - Google Patents
Monitoring equipment control method and system, storage medium and electronic device Download PDFInfo
- Publication number
- CN112019817A CN112019817A CN202010918024.0A CN202010918024A CN112019817A CN 112019817 A CN112019817 A CN 112019817A CN 202010918024 A CN202010918024 A CN 202010918024A CN 112019817 A CN112019817 A CN 112019817A
- Authority
- CN
- China
- Prior art keywords
- sensor
- exposure
- time
- warning lamp
- condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000012806 monitoring device Methods 0.000 claims description 43
- 239000013589 supplement Substances 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 16
- 230000000694 effects Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 10
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- UDCXNLDCQOXJNC-UHFFFAOYSA-N 2-n,4-n,1,3-tetraphenyl-1,3,2,4-diazadiphosphetidine-2,4-diamine Chemical compound C=1C=CC=CC=1NP(N1C=2C=CC=CC=2)N(C=2C=CC=CC=2)P1NC1=CC=CC=C1 UDCXNLDCQOXJNC-UHFFFAOYSA-N 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B5/00—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
- G08B5/22—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
- G08B5/36—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
- G08B5/38—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources using flashing light
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention provides a monitoring equipment control method and system, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring exposure parameters of a sensor in monitoring equipment; controlling the monitoring equipment to output an image meeting a target condition under the condition that the relationship between the driving parameter of a warning lamp and the exposure parameter of the sensor in the monitoring equipment meets a preset condition, wherein the driving parameter of the warning lamp at least comprises one of the following parameters: flicker frequency, on time. The invention solves the problem that the monitoring image is influenced because the monitoring image flickers when the warning lamp flickers, thereby achieving good image monitoring effect.
Description
Technical Field
The embodiment of the invention relates to the technical field of camera monitoring, in particular to a monitoring equipment control method and system, a storage medium and an electronic device.
Background
The camera typically has sensors, warning lights, and a controller.
When the warning lamp of the camera gives an alarm, the lamp flickers for the eyes of people, and the flickering frequency of the lamp is not very high and is generally between 1HZ and 100 HZ. However, when the low-frequency warning light flashes, light is reflected and then captured by the sensor, so that the warning light flashes synchronously on an image when flashing, and the monitoring effect of the image is affected.
Aiming at the problem that monitoring images are influenced due to the fact that monitoring images flicker when warning lamps flicker in the related art, an effective solution does not exist at present.
Disclosure of Invention
The embodiment of the invention provides a monitoring equipment control method and system, a storage medium and an electronic device, which are used for at least solving the problem that image monitoring is influenced by flickering of a monitoring image caused by flickering of a warning lamp in the related art.
According to an embodiment of the present invention, there is provided a control apparatus control method including: acquiring exposure parameters of a sensor in monitoring equipment; controlling the monitoring equipment to output an image meeting a target condition under the condition that the relationship between the driving parameter of a warning lamp and the exposure parameter of the sensor in the monitoring equipment meets a preset condition, wherein the driving parameter of the warning lamp at least comprises one of the following parameters: flicker frequency, on time.
According to another embodiment of the present invention, there is provided a control device control system including: the LED driving circuit comprises a sensor, an alarm and a controller, and is characterized in that the controller is respectively connected with the sensor and the alarm, the controller is used for inputting a control signal into a first pin of the sensor, the controller is used for inputting a pulse width modulation signal into a second pin of an LED driving chip of the alarm, the controller is used for controlling the LED driving chip of the alarm according to the same frame rate of the control signal and the preset duty ratio of the pulse width modulation signal, wherein the control signal is used for controlling the output of image data and the output frame rate of the image data, and the preset duty ratio of the pulse width modulation signal is used for controlling the turn-on time of an LED.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, because the exposure parameters of the sensor in the monitoring equipment are obtained, the monitoring equipment is controlled to output the image which meets the target condition under the condition that the relationship between the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meets the preset condition. Therefore, the problem that monitoring images flicker when the warning lamp flickers so as to influence image monitoring can be solved, and a good image monitoring effect is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of an image pickup apparatus of a monitoring apparatus control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a monitoring device control method according to an embodiment of the present invention;
fig. 3 is a block diagram of a monitoring device control apparatus according to an embodiment of the present invention;
FIGS. 4(a) -4 (b) are schematic diagrams illustrating the sensor in a Global Shutter exposure mode according to an embodiment of the present invention;
FIGS. 5(a) -5 (b) are schematic diagrams of a sensor in a Global Shutter exposure mode according to an alternative embodiment of the present invention;
FIG. 6 is a schematic timing diagram of the operation of a sensor according to an alternative embodiment of the present invention;
FIG. 7 is a schematic diagram of a sensor exposure implementation according to an alternative embodiment of the present invention;
FIG. 8 is a schematic diagram of the operation of the sensor in the Rolling Shutter mode according to an alternative embodiment of the present invention;
FIG. 9 is a schematic illustration of the operation of the sensor in the Rolling Shutter mode according to an alternative embodiment of the present invention;
FIG. 10 is a schematic diagram of the operation of the sensor in the Rolling Shutter mode according to an alternative embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the embodiment of the application can be executed in the camera equipment or similar monitoring equipment. Taking an image pickup apparatus as an example, fig. 1 is a block diagram of a hardware configuration of an image pickup apparatus of a monitoring apparatus control method according to an embodiment of the present invention.
The main control chip controls image data output through an EFSYNC (external synchronization control) pin, and determines an image output frame rate according to the image data output frame rate. The main control chip provides a Main Clock (MCLK) to the Sensor, an EFSYNC signal of the Sensor is triggered through the GPIO1, and the Sensor synchronously outputs bare DATA (RAW DATA). The main control chip triggers frame reading through an EFSYNC signal, and GPIO2 and GPIO3 send a DIM/EN pin of the LED driving chip through PWM pulse width modulation signals.
In this embodiment, a monitoring device control method operating in the above hardware structure is provided, and fig. 2 is a flowchart of monitoring device control according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, obtaining exposure parameters of a sensor in monitoring equipment;
step S204, under the condition that the relationship between the driving parameter of the warning lamp in the monitoring equipment and the exposure parameter of the sensor meets a preset condition, controlling the monitoring equipment to output an image meeting a target condition, wherein the driving parameter of the warning lamp at least comprises one of the following parameters: flicker frequency, on time.
Under the condition that the flicker frequency or the turn-on time of the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meet preset conditions, the monitoring equipment can be controlled to output images meeting target conditions, namely images meeting image requirements. Therefore, when the warning lamp flickers, the image output of the corresponding monitoring equipment does not flicker, and a good image monitoring effect can be ensured.
When the intelligent LED warning lamp is implemented specifically, the main control chip triggers frame reading through an EFSYNC signal, the GPIO2 and the GPIO3 give a DIM/EN pin of the LED driving chip of the warning lamp through PWM signals with the same frequency, so that the exposure of the sensor is ensured to be synchronous with the driving lighting of the LED of the warning lamp, and the main controller inputs the DIM/EN pin of the LED driving chip of the warning lamp through the PWM duty ratio to realize the lighting and the extinguishing of the warning lamp.
Through the steps, because the exposure parameters of the sensor in the monitoring equipment are obtained, the monitoring equipment is controlled to output the image which meets the target condition under the condition that the relation between the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meets the preset condition. Therefore, the problem that monitoring images flicker when the warning lamp flickers so as to influence image monitoring can be solved, and a good image monitoring effect is achieved.
Preferably, the method further comprises: under the condition that the flicker frequency of the warning lamp is adjusted according to a monitored scene, a driving signal in driving parameters of the warning lamp and the image output of the sensor are synchronously started, and the frequency of the driving signal is the same as that of the image output; or, under the condition that the flicker frequency of the warning lamp is adjusted according to a monitored scene, a driving signal in the driving parameters of the warning lamp and the image output of the sensor are synchronously started, and the frequency of the driving signal is an integer multiple of the frequency of the image output. Namely, the flashing frequency of the warning lamp of the monitoring equipment is adjustable according to the monitoring scene requirement, and the warning LED drive and the sensor image output are required to be ensured to be synchronous and have the same frequency or one integral multiple.
Preferably, the method further comprises: adjusting the relation between the exposure time in the exposure parameters of the sensor and the opening time under the condition that the opening time in the driving parameters of the warning lamp is adjusted according to a monitoring scene; or adjusting the relation between the non-exposure time and the opening time in the exposure parameters of the sensor under the condition that the opening time in the driving parameters of the warning lamp is adjusted according to the monitoring scene. That is, the turn-on time of the warning light of the monitoring device is adjustable according to the monitoring scene, and it is required to ensure that the turn-on time of the warning LED driver is less than or equal to the exposure time or the non-exposure time of the sensor.
Specifically, the alarm lamp of the camera is driven to be started and synchronized with the image output of the Sensor, the starting frequency is the same as or one integral multiple of the image output frame rate of the Sensor, and the starting time is less than or equal to the exposure time or the non-exposure time of the Sensor, so that the problem that the corresponding image output flickers after the alarm lamp of the common camera is started is solved.
In addition, the non-exposure time of the sensor is started through the driving of the warning lamp of the camera, and corresponding colors of the warning lamp cannot enter the sensor when corresponding images are output, so that white balance is more real and accurate, and the problems of image color cast, poor color reducibility and the like are solved.
Optionally, the exposure parameters of the sensor include: in the first exposure mode, in the case that a relationship between a driving parameter of a warning light in the monitoring device and an exposure parameter of the sensor satisfies a preset condition, controlling the monitoring device to output an image meeting a target condition includes: the exposure parameters of the sensor comprise: a first exposure mode, wherein when the light supplement starting time of a light supplement device driver in the driving parameters of a warning light in the monitoring device is not more than the exposure time in the first exposure mode of the sensor, the monitoring device is controlled to output an image meeting a target condition; and/or controlling the monitoring equipment to output an image meeting target conditions under the condition that the light supplement starting time of the light supplement equipment drive in the drive parameters of the warning lamp in the monitoring equipment is the non-exposure time in the first exposure mode of the sensor. In the first exposure mode, the light supplement starting time of the light supplement device drive in the drive parameters of the warning lamp in the monitoring device needs to be not more than the exposure time of the sensor in the first exposure mode, and at the moment, the monitoring device is controlled to output an image meeting the target condition. In a first exposure mode, the light supplement starting time of a light supplement device driver in the driving parameters of a warning light in the monitoring device needs to be shorter than or equal to the non-exposure time in the first exposure mode of the sensor, and at the moment, the monitoring device is controlled to output an image meeting a target condition.
In specific implementation, when the sensor is in a Global Shutter exposure mode, the exposure of the whole frame is realized at the same time. All pixel points in the sensor are exposed simultaneously by sensing light at the same time. The same picture at the same time is read by the sensor. Therefore, Global Shutter can perform Global exposure, and mainly, Global Shutter adds a storage unit to each pixel to enable all pixels to be exposed simultaneously.
Since the exposure time of a general Global Shutter sensor is 200uS-2mS, when the frame rate of the sensor is the same as or several times an integer of the driving frequency of the warning LED lamp, the on-time of the fill-in light driven by the fill-in light device in the driving parameters of the warning LED lamp is less than or equal to the exposure time of the sensor as shown in fig. 4(a) and 4(b), wherein the exposure time is 2mS in a cycle of outputting 25 frames of sensor images and 40 mS. If the light of the warning lamp is captured by the sensor for the second time, the white balance compensation mode is used for optimization. Alternatively, when the sensor non-exposure time period is on, the accuracy of white balance under the condition that the image does not flicker can be ensured as shown in fig. 5(a) and 5(b), wherein the sensor image output 25 frames and 40ms cycle exposure time 2ms are taken as an example.
Optionally, when the relationship between the driving parameter of the warning light and the exposure parameter of the sensor in the monitoring device satisfies a preset condition, controlling the warning light to output an image meeting a target condition through the monitoring device in a working state includes: the exposure parameters of the sensor comprise: a second exposure mode, wherein under the condition that the light supplement starting time of the light supplement device drive in the drive parameters of the warning lamp in the monitoring device is not more than the exposure coincidence time in the second exposure mode of the sensor, the monitoring device is controlled to output an image meeting the target condition; and under the condition that the on-time of the light supplement device drive in the drive parameters of the warning lamp in the monitoring device is in the non-exposure time (exposure idle time) in the second exposure mode of the sensor, controlling the monitoring device to output an image meeting the target condition. In the second exposure mode, the light supplement starting time of the light supplement device drive in the drive parameters of the warning lamp in the monitoring device needs to be not more than the exposure coincidence time in the second exposure mode of the sensor, and at the moment, the monitoring device is controlled to output an image meeting the target condition. In a second exposure mode, the on-time of light supplement driven by light supplement equipment in the driving parameters of the warning lamp in the monitoring equipment is equal to or less than the non-exposure time (exposure idle time) in the second exposure mode of the sensor, and at the moment, the monitoring equipment is controlled to output an image meeting the target condition.
In specific implementation, when the sensor is in the Rolling Shutter exposure mode, the sensor is exposed line by line. When exposure starts, the sensor scans line by line to expose until all pixel points are exposed, and all actions are completed in a very short time. The exposure time of different rows of picture elements is the same.
As shown in fig. 6, the working flow of the Rolling Shutter Sensor exposure is shown, when the Sensor works in the Slave Mode, the main control chip controls the image data output through the EFSYNC pin, and thus determines the image frame rate.
Step S1, when the sensor works in the Slave Mode, the chip automatically enters an Active State State to wait for EFSYNC triggering;
step S2, EFSYNC trigger rising edge is effective, and EFSYNC high level duration is not less than 4 EXTCLK periods;
step S3, when EFSYNC is triggered, the chip enters RB Rows which is the waiting time before effective data is read out and is controlled by a register in row units;
step S4, Active Rows is reading chip image data, controlled by register, in line units;
step S5, Blank Rows is a blanking time after reading out chip image data, controlled by a register, in units of lines;
step S6, the Active State is that the chip waits for next EFSYNC triggering, the Active State should be as small as possible, and the suggestion is 0;
in step S7, the EFSYNC rising edge interval is a frame time, and the EFSYNC rising edge interval is allowed to have a deviation of 40 ns.
Further, the specific exposure implementation is as shown in figure 7,
step S1, starting exposure operation by Row Reset, ending the exposure operation before starting Row Readout, wherein the exposure comprises Active State Time;
step S2, VTS represents a frame length, and VTS is RB Rows + Active Rows + Blank Rows; (Extra Delays and Active State can be ignored);
step S3, when the chip stops outputting and stopping the Row reset operation, as shown in fig. 7, the exposure time of Row 1-Row e rows of one frame of image is longer than the exposure time of Row (e +1) -Row n rows, the extra time is the Active State time, in order to avoid the exposure difference, the external precise control of EFSYNC is required, so that the Active State is controlled within 40ns, and the exposure time of each Row in one frame is basically consistent;
in step S4, when RB Rows is greater than the exposure time, the exposure time in the frame is not consistent, and the exposure time in each row in a frame is consistent.
Fig. 8 shows that the exposure start time of the last line is less than the exposure end time of the first line, fig. 9 shows that the exposure time of the last line is equal to the exposure end time of the first line, and fig. 10 shows that the exposure time of the last line is less than the exposure end time of the first line. In fig. 8, 9, and 10, one cell indicates that the line time is 1/FPS/VTS, and FPS is the image frame rate.
One line exposure time is exposure register value one line time/half line time;
the exposure interval between two adjacent rows is equal to one row time;
the interval from the first line exposure to the last line exposure in effect is (effective VTS-1) × one line time;
one frame exposure coincidence time-the interval from the active first line exposure to the last line exposure time;
a frame has a coincidence time that must satisfy (effective VTS-1) × one line time < one line exposure time;
one frame time is 1/FPS;
one frame idle coincidence time-one frame time-interval from the first line exposure to the last line exposure start-one line exposure time;
to satisfy a frame idle coincidence time greater than zero, one line exposure time + interval from the first line exposure to the last line exposure time < one frame time must be satisfied.
In one embodiment, to meet a frame idle coincidence time greater than zero, a specific register setting of a 2 megapixel sensor (SC2239) is illustrated for ease of understanding.
The sensor frame length is {16 ' h320e [6:0],16 ' h320f }, default values of 16 ' h0465, maximum value of 7FFF, decimal 62767. Line length {16 ' h320c [6:0],16 ' h320d }, default value 16 ' h0a50, maximum value 7FFF, decimal 62767. Exposure time is {16 ' h3e00[3:0],16 ' h3e01[7:0],16 ' h3e02[3:0] }, default min is 0, max is 2 frame length-8, 8/10bit is supported by the SC2239 MIPI interface, serial output of 1lane, and the transmission rate is recommended to be not more than 1.0 Gbps. The MIPI has a transmission rate frame length line length frame rate bits per number of lanes/2, so there are limitations on frame length and line length, since the SC2239 has: 1928H 1088V, upper and lower 4rows Active Border, left and right 4cols Active Border, the effective array is 1928H 1088V.
Table data achievable is given below in table 1 below.
The above table 1 is illustrated, taking 1500 total frame length and 1980 total row length as examples:
one line time is 1/frame rate/frame length is 1/40/1500 is 26.67 us;
the maximum exposure time (register value) is 2 × frame length-8 × 2 × 1500-8 ═ 2992;
theoretical maximum exposure time (line time) maximum exposure time (register value)/2 26.67 2992/2 — 39.90 ms;
actual maximum exposure time theoretical maximum exposure time effective line length/total line length 39.90 1928/1980 ms 38.85ms
Delay time, (effective VTS-1) one line time, (1088-1) 26.67, 28.99 ms;
the coincidence time is the theoretical maximum exposure time-delay time is 39.90-28.99 is 10.91 ms.
By calculating the idle time and the coincidence time of the exposure of the sensor, the image output frame rate of the sensor is the same as (or is one integral multiple of) the driving frequency of the warning LED, and the opening time is less than or equal to the coincidence time of the exposure of the sensor or less than or equal to the non-exposure time of the sensor, namely the idle time, namely, the image output of the camera can be ensured not to flicker when the warning lamp flickers.
In summary, regardless of whether the sensor is Global Shutter or Rolling Shutter, as long as the image output of the sensor is synchronized with the turn-on of the warning LED drive and the frequency is the same (or one integral multiple), the turn-on time is less than or equal to the exposure coincidence time of the sensor or the non-exposure idle time, so that the camera is ensured not to flicker on the actual image when the warning flicker is turned on, and a good image effect is ensured.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a monitoring device control system is further provided, and the system is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a monitoring device control system according to an embodiment of the present invention, and as shown in fig. 3, the monitoring device control system includes a sensor 32, an alarm 36, and a controller 34, the controller is connected to the sensor and the alarm, respectively, the controller is configured to input a control signal to a first pin of the sensor, the controller is configured to input a pulse width modulation signal to a second pin of an LED driving chip of the alarm, and the controller is configured to control the LED driving chip of the alarm according to a same frame rate as the control signal and a preset duty ratio of the pulse width modulation signal, where the control signal is configured to control an output of image data and an output frame rate of the image data, and the preset duty ratio of the pulse width modulation signal is configured to control an on time of an LED. The controller provides a Master Clock (MCLK) to the sensor and triggers the EFSYNC signal of the sensor through the GPIO1, and the sensor synchronously outputs the RAW DATA. The controller triggers frame reading through an EFSYNC signal, and the GPIO2 and the GPIO3 send PWM signals with the same frequency (or an integer which is a multiple of a whole number) to a DIM/EN pin of an LED driving chip of the alarm, so that the exposure of the sensor is synchronous with the LED driving of the alarm.
Optionally, the first pin includes: an external synchronization control pin, the second pin comprising: a brightness control pin or a switch control pin. The controller inputs the DIM/EN foot of the LED driving chip through the PWM duty ratio to realize the on-off of the warning lamp.
Optionally, the controller is further configured to acquire an exposure parameter of a sensor in the monitoring device; controlling the monitoring equipment to output an image meeting a target condition under the condition that the relationship between the driving parameter of a warning lamp and the exposure parameter of the sensor in the monitoring equipment meets a preset condition, wherein the driving parameter of the warning lamp at least comprises one of the following parameters: flicker frequency, on time.
Under the condition that the flicker frequency or the turn-on time of the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meet preset conditions, the monitoring equipment can be controlled to output images meeting target conditions, namely images meeting image requirements. Therefore, when the warning lamp flickers, the image output of the corresponding monitoring equipment does not flicker, and a good image monitoring effect can be ensured.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring exposure parameters of a sensor in the monitoring equipment;
s2, controlling the monitoring device to output an image meeting a target condition when a relationship between a driving parameter of a warning light and an exposure parameter of the sensor in the monitoring device satisfies a preset condition, where the driving parameter of the warning light at least includes one of: flicker frequency, on time.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
s1, under the condition that the flicker frequency of the warning lamp is adjusted according to a monitored scene, a driving signal in the driving parameters of the warning lamp and the image output of the sensor are started synchronously, and the frequency of the driving signal is the same as that of the image output;
s2, under the condition that the flicker frequency of the warning lamp is adjusted according to the monitored scene, a driving signal in the driving parameters of the warning lamp and the image output of the sensor are started synchronously, and the frequency of the driving signal is an integer multiple of the frequency of the image output.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring exposure parameters of a sensor in the monitoring equipment;
s2, controlling the monitoring device to output an image meeting a target condition when a relationship between a driving parameter of a warning light and an exposure parameter of the sensor in the monitoring device satisfies a preset condition, where the driving parameter of the warning light at least includes one of: flicker frequency, on time.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A monitoring device control method, characterized by comprising:
acquiring exposure parameters of a sensor in monitoring equipment;
controlling the monitoring equipment to output an image meeting a target condition under the condition that the relationship between the driving parameter of a warning lamp and the exposure parameter of the sensor in the monitoring equipment meets a preset condition, wherein the driving parameter of the warning lamp at least comprises one of the following parameters: flicker frequency, on time.
2. The method of claim 1, further comprising:
under the condition that the flicker frequency of the warning lamp is adjusted according to a monitored scene, a driving signal in driving parameters of the warning lamp and the image output of the sensor are synchronously started, and the frequency of the driving signal is the same as that of the image output; or,
and under the condition that the flicker frequency of the warning lamp is adjusted according to a monitored scene, a driving signal in the driving parameters of the warning lamp and the image output of the sensor are synchronously started, and the frequency of the driving signal is an integer multiple of the frequency of the image output.
3. The method of claim 1, further comprising,
adjusting the relation between the exposure time in the exposure parameters of the sensor and the opening time under the condition that the opening time in the driving parameters of the warning lamp is adjusted according to a monitoring scene;
or adjusting the relation between the non-exposure time and the opening time in the exposure parameters of the sensor under the condition that the opening time in the driving parameters of the warning lamp is adjusted according to the monitoring scene.
4. A method according to claim 2 or 3, characterized in that the exposure parameters of the sensor comprise: in the first exposure mode, in the case that a relationship between a driving parameter of a warning light in the monitoring device and an exposure parameter of the sensor satisfies a preset condition, controlling the monitoring device to output an image meeting a target condition includes:
under the condition that the light supplement starting time of a light supplement device driver in the driving parameters of a warning lamp in the monitoring device is not more than the exposure time in a first exposure mode of the sensor, controlling the monitoring device to output an image meeting a target condition;
and/or;
and under the condition that the on-time of the light supplement device drive in the drive parameters of the warning lamp in the monitoring device is the non-exposure time in the first exposure mode of the sensor, controlling the monitoring device to output an image meeting the target condition.
5. A method according to claim 2 or 3, characterized in that the exposure parameters of the sensor comprise: in the second exposure mode, in the case that a relationship between a driving parameter of a warning lamp in the monitoring device and an exposure parameter of the sensor satisfies a preset condition, controlling the warning lamp to output an image meeting a target condition through the monitoring device in a working state includes:
under the condition that the light supplement starting time of a light supplement device driver in the driving parameters of a warning lamp in the monitoring device is not more than the exposure coincidence time in a second exposure mode of the sensor, controlling the monitoring device to output an image meeting a target condition;
and under the condition that the on-time of the light supplement device drive in the drive parameters of the warning lamp in the monitoring device is the non-exposure time in the second exposure mode of the sensor, controlling the monitoring device to output an image meeting the target condition.
6. A monitoring device control system comprises a sensor, an alarm and a controller, and is characterized in that the controller is respectively connected with the sensor and the alarm, the controller is used for inputting a control signal into a first pin of the sensor, the controller is used for inputting a pulse width modulation signal into a second pin of an LED driving chip of the alarm,
the controller is configured to control an LED driving chip of the alarm according to a same frame rate as the control signal and a preset duty ratio of the pulse width modulation signal, where the control signal is used to control output of image data and an output frame rate of the image data, and the preset duty ratio of the pulse width modulation signal is used to control on-time of an LED.
7. The system of claim 6, wherein the first pin comprises: an external synchronization control pin, the second pin comprising: a brightness control pin or a switch control pin.
8. The system of claim 6,
the controller is also used for acquiring the exposure parameters of the sensor in the monitoring equipment; controlling the monitoring equipment to output an image meeting a target condition under the condition that the relationship between the driving parameter of a warning lamp and the exposure parameter of the sensor in the monitoring equipment meets a preset condition, wherein the driving parameter of the warning lamp at least comprises one of the following parameters: flicker frequency, on time.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed, or to perform the method of any of claims 1 to 5.
10. An electronic apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5, or to perform the method of any of claims 1 to 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010918024.0A CN112019817B (en) | 2020-09-03 | 2020-09-03 | Monitoring equipment control method and system, storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010918024.0A CN112019817B (en) | 2020-09-03 | 2020-09-03 | Monitoring equipment control method and system, storage medium and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112019817A true CN112019817A (en) | 2020-12-01 |
| CN112019817B CN112019817B (en) | 2023-09-19 |
Family
ID=73515755
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010918024.0A Active CN112019817B (en) | 2020-09-03 | 2020-09-03 | Monitoring equipment control method and system, storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112019817B (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112672009A (en) * | 2020-12-14 | 2021-04-16 | 浙江大华技术股份有限公司 | Video processing method, device, equipment and storage medium |
| CN113225876A (en) * | 2021-05-28 | 2021-08-06 | 浙江大华技术股份有限公司 | Light supplementing method and device for monitoring equipment, storage medium and electronic equipment |
| CN113301220A (en) * | 2021-04-27 | 2021-08-24 | 上海欧菲智能车联科技有限公司 | Synchronization method for vehicle-mounted camera and vehicle lamp and FPGA chip |
| CN113345191A (en) * | 2021-04-23 | 2021-09-03 | 浙江大华技术股份有限公司 | Camera monitoring method, electronic equipment and computer storage medium |
| CN113438393A (en) * | 2021-05-31 | 2021-09-24 | 浙江大华技术股份有限公司 | Control method of monitoring device, computer device, and storage medium |
| CN115550530A (en) * | 2022-08-12 | 2022-12-30 | 浙江大华技术股份有限公司 | Control method and system for sound and light warning camera |
| US12283177B2 (en) | 2020-06-30 | 2025-04-22 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for monitoring control |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110149149A1 (en) * | 2009-12-23 | 2011-06-23 | Hongguang Jiao | Systems and methods for reduced image flicker |
| CN103093420A (en) * | 2011-11-02 | 2013-05-08 | 原相科技股份有限公司 | Image system and interference elimination method thereof |
| CN105911799A (en) * | 2016-05-18 | 2016-08-31 | 广州科易光电技术有限公司 | Rail transit contact network monitoring and light supplementing system and method |
| US20170054905A1 (en) * | 2015-08-19 | 2017-02-23 | Olympus Corporation | Image pickup apparatus and image pickup method |
| CN106847845A (en) * | 2015-12-04 | 2017-06-13 | 佳能株式会社 | The driving method of picture pick-up device, camera system and picture pick-up device |
| US20170201668A1 (en) * | 2016-01-13 | 2017-07-13 | Samsung Electronics Co., Ltd. | Image capturing apparatus and method of operating the same |
| CN109151256A (en) * | 2018-08-31 | 2019-01-04 | 惠州华阳通用电子有限公司 | A kind of camera flashing removing method and device based on sensor detection |
| US20200007737A1 (en) * | 2018-06-29 | 2020-01-02 | Canon Kabushiki Kaisha | Image pickup apparatus capable of performing image pickup with reduced flicker influence, method for controlling the same, and storage medium |
| CN110661982A (en) * | 2019-09-27 | 2020-01-07 | 思特威(上海)电子科技有限公司 | LED stroboscopic suppression method in imaging of image sensor |
| CN111107247A (en) * | 2020-02-26 | 2020-05-05 | 上海富瀚微电子股份有限公司 | Exposure method, image system and method for cooperative work of image system |
-
2020
- 2020-09-03 CN CN202010918024.0A patent/CN112019817B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110149149A1 (en) * | 2009-12-23 | 2011-06-23 | Hongguang Jiao | Systems and methods for reduced image flicker |
| CN103093420A (en) * | 2011-11-02 | 2013-05-08 | 原相科技股份有限公司 | Image system and interference elimination method thereof |
| US20170054905A1 (en) * | 2015-08-19 | 2017-02-23 | Olympus Corporation | Image pickup apparatus and image pickup method |
| CN106847845A (en) * | 2015-12-04 | 2017-06-13 | 佳能株式会社 | The driving method of picture pick-up device, camera system and picture pick-up device |
| US20170201668A1 (en) * | 2016-01-13 | 2017-07-13 | Samsung Electronics Co., Ltd. | Image capturing apparatus and method of operating the same |
| CN105911799A (en) * | 2016-05-18 | 2016-08-31 | 广州科易光电技术有限公司 | Rail transit contact network monitoring and light supplementing system and method |
| US20200007737A1 (en) * | 2018-06-29 | 2020-01-02 | Canon Kabushiki Kaisha | Image pickup apparatus capable of performing image pickup with reduced flicker influence, method for controlling the same, and storage medium |
| CN109151256A (en) * | 2018-08-31 | 2019-01-04 | 惠州华阳通用电子有限公司 | A kind of camera flashing removing method and device based on sensor detection |
| CN110661982A (en) * | 2019-09-27 | 2020-01-07 | 思特威(上海)电子科技有限公司 | LED stroboscopic suppression method in imaging of image sensor |
| CN111107247A (en) * | 2020-02-26 | 2020-05-05 | 上海富瀚微电子股份有限公司 | Exposure method, image system and method for cooperative work of image system |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12283177B2 (en) | 2020-06-30 | 2025-04-22 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for monitoring control |
| CN112672009A (en) * | 2020-12-14 | 2021-04-16 | 浙江大华技术股份有限公司 | Video processing method, device, equipment and storage medium |
| CN113345191A (en) * | 2021-04-23 | 2021-09-03 | 浙江大华技术股份有限公司 | Camera monitoring method, electronic equipment and computer storage medium |
| WO2022222319A1 (en) | 2021-04-23 | 2022-10-27 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for video surveillance |
| EP4309158A4 (en) * | 2021-04-23 | 2024-08-21 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for video surveillance |
| CN113301220A (en) * | 2021-04-27 | 2021-08-24 | 上海欧菲智能车联科技有限公司 | Synchronization method for vehicle-mounted camera and vehicle lamp and FPGA chip |
| CN113301220B (en) * | 2021-04-27 | 2024-01-05 | 上海欧菲智能车联科技有限公司 | Synchronization method of vehicle-mounted camera and car lamp and FPGA chip |
| CN113225876A (en) * | 2021-05-28 | 2021-08-06 | 浙江大华技术股份有限公司 | Light supplementing method and device for monitoring equipment, storage medium and electronic equipment |
| CN113225876B (en) * | 2021-05-28 | 2022-11-29 | 浙江大华技术股份有限公司 | Light supplementing method and device for monitoring equipment, storage medium and electronic equipment |
| CN113438393A (en) * | 2021-05-31 | 2021-09-24 | 浙江大华技术股份有限公司 | Control method of monitoring device, computer device, and storage medium |
| CN113438393B (en) * | 2021-05-31 | 2023-02-24 | 浙江大华技术股份有限公司 | Control method of monitoring device, computer device, and storage medium |
| CN115550530A (en) * | 2022-08-12 | 2022-12-30 | 浙江大华技术股份有限公司 | Control method and system for sound and light warning camera |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112019817B (en) | 2023-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112019817A (en) | Monitoring equipment control method and system, storage medium and electronic device | |
| US11445123B2 (en) | System and method for PWM control of a video display screen | |
| US7209652B2 (en) | Lighting control apparatus with a plurality of lighting devices | |
| US9148581B2 (en) | Multi-function control illumination device | |
| EP1576805B1 (en) | Illumination apparatus and illumination method for an imaging apparatus | |
| CN113225876B (en) | Light supplementing method and device for monitoring equipment, storage medium and electronic equipment | |
| CN111818272B (en) | Method for eliminating image flicker, electronic device and storage medium | |
| CN109076171B (en) | Method, drone, and storage medium for flash brightness compensation | |
| CN112672009B (en) | Video processing method, device, equipment and storage medium | |
| WO2022253010A1 (en) | Synchronous exposure processing method, apparatus, system, and device | |
| US11252337B1 (en) | Method and apparatus of performing automatic exposure control for image sensor with context switching | |
| CN113114926A (en) | Image processing method and device and camera | |
| JPH05328210A (en) | Led lighting device for television camera | |
| CN114158156B (en) | PWM (pulse-width modulation) adjusting method, device, equipment and storage medium of light supplementing lamp | |
| CN111935414B (en) | Image acquisition method, light-emitting control method, related equipment and system | |
| KR20090059043A (en) | Imaging Device and Imaging Method | |
| WO2020237268A1 (en) | Image capturing device and illumination setup | |
| CN113873101B (en) | Method and device for controlling warning lamp, storage medium and electronic device | |
| JP2003084341A (en) | Image capturing apparatus with flash device, light emitting method of light emitting section of image capturing apparatus, and program | |
| KR20150091578A (en) | LED lighting control device for high speed photography | |
| CN113438393B (en) | Control method of monitoring device, computer device, and storage medium | |
| US10992874B2 (en) | Camera system and camera fill light method | |
| EP3956723A1 (en) | External light source for mobile devices | |
| JP2007047544A (en) | Strobe apparatus | |
| JP3735384B2 (en) | Camera photometric device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |