CN108447208A - Light warning method, equipment, web camera and storage medium - Google Patents

Light warning method, equipment, web camera and storage medium Download PDF

Info

Publication number
CN108447208A
CN108447208A CN201810474728.6A CN201810474728A CN108447208A CN 108447208 A CN108447208 A CN 108447208A CN 201810474728 A CN201810474728 A CN 201810474728A CN 108447208 A CN108447208 A CN 108447208A
Authority
CN
China
Prior art keywords
signal
light
event
alarming device
case detecting
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
Application number
CN201810474728.6A
Other languages
Chinese (zh)
Other versions
CN108447208B (en
Inventor
庞云天
欧光礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201810474728.6A priority Critical patent/CN108447208B/en
Publication of CN108447208A publication Critical patent/CN108447208A/en
Application granted granted Critical
Publication of CN108447208B publication Critical patent/CN108447208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19634Electrical details of the system, e.g. component blocks for carrying out specific functions

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of light warning methods, including:Obtain the case detecting signal that web camera detects;Judge whether case detecting signal is event commencing signal or whether is event duration signal;If case detecting signal is event commencing signal or is event duration signal, judge whether the light alarming device of web camera is in starting state;When light alarming device is not in starting state, start the light alarming device in the first preset time, and obtains the case detecting signal that the web camera detects again after first preset time;The starting state of light alarming device is adjusted according to the case detecting signal detected again.The embodiment of the present invention ignores influence of the startup to case detecting of light alarming device by shielding event signal caused by light alarm activation, the light warning of web camera is avoided to enter deadlock state, to realize the automatic light warning function of web camera.

Description

Light warning method, equipment, web camera and storage medium
Technical field
The present invention relates to monitoring technology fields more particularly to a kind of light warning method, web camera, light warning to set Standby and storage medium.
Background technology
With the continuous development of intelligent monitoring technology, the warning function of web camera itself is also developed rapidly, Such as when web camera detects mobile object, region invasion, anomalous event of crossing the border, warning function can be started to inform phase Pass personnel.And in mobile detection, region intrusion detecting, the anomalous events such as detecting of crossing the border detecting, web camera mainly passes through Compare the difference between front and back picture frame judge in image frame with the presence or absence of it is corresponding it is abnormal occur, when front and back picture frame it Between difference when reaching certain threshold value, then it is believed that corresponding anomalous event has occurred, warning function need to be started to inform correlation Personnel.
Currently, web camera is mainly opened by user's control light or light flash realizes mobile detection, area Warning function in domain intrusion detecting and the anomalous events such as detecting detecting of crossing the border, and cannot achieve light and automatically open or light Automatically the auto-alarm function flickered, because being automatically opened using light or light is flickered automatically as abnormal event alarming In occasion, since light opening, light closing, light flash itself can cause the variation of picture frame, to cause front and back image Difference between frame, and the difference can be then determined as anomalous event and alarmed by web camera so that once it detects When anomalous event occurs, the light of web camera can be then constantly in the deadlock state of opening or flicker, greatly shadow The warning function of web camera is rung.
To sum up, the Deadlock occurred in web camera light warning how is solved to realize the automatic of web camera Light warning becomes those skilled in the art's urgent problem to be solved.
Invention content
An embodiment of the present invention provides a kind of light warning method, web camera, light warning equipment and computers can Storage medium is read, influence of the startup to case detecting of light alarming device is can ignore that, avoids the light report of web camera It is alert to enter deadlock state, to realize that the automatic light of web camera is alarmed, the accuracy of guarantee web camera light warning, Validity.
The embodiment of the present invention in a first aspect, provide a kind of light warning method, including:
Obtain the case detecting signal that web camera detects;
Judge whether the case detecting signal is event commencing signal or whether is event duration signal;
If the case detecting signal is event commencing signal or is event duration signal, the web camera is judged Light alarming device whether be in starting state;
When the light alarming device is not in starting state, start the light warning dress in the first preset time It sets, and obtains the case detecting signal that the web camera detects again after first preset time;
The light alarming device is adjusted according to the case detecting signal detected again after first preset time Starting state.
Further, the light warning method further includes:
When the web camera does not detect case detecting signal again after first preset time, institute is obtained State the case detecting signal that web camera detects for the last time in first preset time;
The case detecting signal tune detected for the last time in first preset time according to the web camera The starting state of the whole light alarming device.
Preferably, the light warning method further includes:
If the case detecting signal is not event commencing signal and is not event duration signal, the network shooting is judged Whether the light alarming device of machine is closed;
When the light alarming device is not off, the light warning dress is closed in the second preset time It sets, and obtains the case detecting signal that the web camera detects again after second preset time;
The light alarming device is adjusted according to the case detecting signal detected again after second preset time Closed state.
Optionally, first preset time is:
Ti=Tae+Tla;
Wherein, Tae is the time required to image exposure is stablized, and Tla is that case detecting terminates delay time.
Further, first preset time is:
Tj=Tb+Tae+Tla;
Wherein, Tb is the flicker duration of light alarming device in an alarm cycle, and Tae is taken by image exposure stabilization Between, Tla is that case detecting terminates delay time.
Preferably, the light warning method further includes:
If the case detecting signal is not event commencing signal and is not event duration signal, the network shooting is judged Whether the light alarming device of machine is closed;
When the light alarming device is not off, the light alarming device is closed.
Optionally, if the case detecting signal is event commencing signal or is event duration signal, judge institute Whether the light alarming device for stating web camera is in starting state, including:
If the case detecting signal is event commencing signal or is event duration signal, whether acquisition responds the thing The processing signal of part detection signal;
When the processing signal is to respond the case detecting signal, the light warning dress of the web camera is judged It sets and whether is in starting state.
The second aspect of the embodiment of the present invention provides a kind of web camera, including:
Case detecting module, for obtaining the case detecting signal detected;
Event judge module, for judging whether the case detecting signal is event commencing signal or whether is event Persistent signal;
Light judgment module, if being event commencing signal for the case detecting signal or being event duration signal, Judge whether light alarming device is in starting state;
Light starting module, for when the light alarming device is not in starting state, in the first preset time Start the light alarming device, and obtains the case detecting signal detected again after first preset time;
Light adjusts module, for according to the case detecting signal adjustment detected again after first preset time The open state of the light alarming device.
The third aspect of the embodiment of the present invention, provides a kind of light warning equipment, including memory, processor and deposits The computer program that can be run in the memory and on the processor is stored up, the processor executes the computer journey It is realized when sequence as described in aforementioned first aspect the step of light warning method.
The fourth aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit Storage media is stored with computer program, and the light as described in aforementioned first aspect is realized when the computer program is executed by processor The step of alarm method.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, when the case detecting signal that web camera detects is event commencing signal or is thing When part persistent signal needs to start light alarming device, start light alarming device, and gauze screen in the first preset time Then the event signal that network video camera detects in first preset time obtains web camera in first preset time The case detecting signal detected again afterwards, and according to the case detecting signal detected again after first preset time come Adjust light alarming device starting state, i.e., by shield light alarming device startup moment caused by event signal come Influence of the startup to case detecting for ignoring light alarming device, avoids the light warning of web camera from entering deadlock state, To realize the automatic light alarm of web camera, ensure the accuracy and validity of web camera light warning.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the method flow diagram for the light warning method that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of light warning method provided by Embodiment 2 of the present invention;
Fig. 3 is the method flow diagram for the light warning method that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the web camera that the embodiment of the present invention four provides;
Fig. 5 is the schematic diagram for the light warning equipment that the embodiment of the present invention five provides.
Specific implementation mode
An embodiment of the present invention provides a kind of light warning method, web camera, light warning equipment and computers can It reads storage medium and avoids the lamp of web camera for solving influence of the startup moment of light alarming device to case detecting Light alarm enters deadlock state, to realize that the automatic light of web camera is alarmed, ensures the standard of web camera light warning True property, validity.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field All other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, the embodiment of the present invention one provides a kind of light warning method, the light warning method, including:
Step S101, the case detecting signal that web camera detects is obtained.
In the present embodiment, the case detecting signal refers to that web camera monitors that there are object shiftings for monitoring area Generated event signal when anomalous events such as is invaded, crosses the border in dynamic, region.When web camera carries out area monitoring, network The anomalous event detecting module of video camera can then carry out in real time mobile detection, region intrusion detecting, cross the border detecting etc. anomalous events Detecting, when detected it is corresponding it is abnormal occur when, anomalous event detecting module can then form the corresponding case detecting Signal.
Step S102, judge whether the case detecting signal is event commencing signal or whether is event duration letter Number.
It is understood that in web camera is monitored, when detecting anomalous event and starting, anomalous event is detectd It surveys module and can be formed and start corresponding event signal with event;It is abnormal when detecting anomalous event and being in persistent state Case detecting module can then form event signal corresponding with event duration;And at the end of detecting anomalous event, it is abnormal Case detecting module can then form and terminate corresponding event signal with event.
The present embodiment then judges the case detecting after obtaining the case detecting signal that web camera detects Whether signal is event commencing signal, or judges whether the case detecting signal is event duration signal, with according to being supervised The existence of anomalous event in region is controlled to determine the working condition of light alarming device in web camera, closes lamp in this way Light warning device, or start light alarming device.
If step S103, the described case detecting signal is event commencing signal or is event duration signal, described in judgement Whether the light alarming device of web camera is in starting state.
It is understood that when being determined that case detecting signal is event commencing signal or is event duration signal, Show that there are anomalous events, the i.e. light alarming device of web camera need to come in starting state different to this in monitoring area Ordinary affair part is alarmed, and in the present embodiment, after being determined that need to start light alarming device is alarmed, then judges that network is taken the photograph Whether the light alarming device of camera is in the starting state in alarm, need not further be opened if being in starting state It is dynamic;If if being not in starting state, needing to start it to carry out light warning.
Step S104, when the light alarming device is not in starting state, in the first preset time described in startup Light alarming device, and obtain the case detecting letter that the web camera detects again after first preset time Number.
It is understood that if if light alarming device is not in starting state, show that light alarming device need to be started, And jump in brightness caused by startup of light alarming device itself can impact case detecting.Thus, to avoid light Influence of the startup of warning device to case detecting, in the present embodiment, when needing to start light alarming device, light warning dress The lighting control module set then starts light alarming device in the first preset time, and shield web camera this first The event signal detected in preset time, i.e. lighting control module are not believed the event detected in first preset time It number alarms, the working condition of light alarming device is not adjusted according to the event signal detected in first preset time, Then the case detecting signal that is detected again after first preset time of web camera is obtained, with according to first pre- at this If the case detecting signal that is detected again after the time adjusts the working condition of light alarming device.
It is understood that in the present embodiment, lighting control module shields web camera in first preset time Before the shielding action of the event signal detected starts from light alarming device startup, and continue to light alarming device to start A period of time after the completion, i.e., to the shielding of event signal act the first preset time at the beginning when begin to execute, shield And then action immediately executes the startup of light alarming device after starting, to shield produced by light alarm activation moment Event signal, the working condition of light alarming device is influenced to avoid the startup of light alarming device itself, to realize net The automatic light of network video camera is alarmed.
Further, in this embodiment when light alarming device is with light opening come when alarming, the first preset time For:Ti=Tae+Tla;Wherein, Tae is the time required to image exposure is stablized, and Tla is that case detecting terminates delay time.
Here, image exposure stablizes required time Tae, often value is convergence required maximum time, with graphics hardware And image processing algorithm is related, can be determined according to practical concrete condition, can be such as determined as according to concrete scene 3 seconds.Event is detectd It surveys and terminates delay time Tla there is no corresponding event to terminate conclusion to outgoing event in judgement video in case detecting algorithm Time delay, can also be determined according to practical concrete condition, can be such as determined as according to concrete scene 5 seconds.
Preferably, in the present embodiment, when light alarming device is with light flash come when alarming, first preset time For:Tj=Tb+Tae+Tla;Wherein, Tb is the flicker duration of light alarming device in an alarm cycle, and Tae is image exposure The time required to stablizing, Tla is that case detecting terminates delay time.
Here, flicker duration Tb can voluntarily be selected according to flicker effect needed for practical application or voluntarily be determined. After determination, follow-up object is mobile, region invasion, cross the border lasting generation when, then be period progress light flash alarm using Tj, i.e., The light flash Tb times are first controlled, light is then controlled and closes (Tae+Tla) time, then control the light flash Tb times, with this It carries out.
Step S105, the light is adjusted according to the case detecting signal detected again after first preset time The starting state of warning device.
It is understood that in the present embodiment, detected again obtaining web camera after the first preset time Case detecting signal after, then can judge the abnormal thing in monitoring area according to the case detecting signal that this is detected again The situation occurred of part adjusts the starting state of light alarming device with this, if the anomalous event in monitoring area is still being held If continuous, then the starting state of light alarming device can be kept;, can if if the anomalous event in monitoring area has terminated Into the process flow for closing light alarming device.
Such as after obtaining the case detecting signal that web camera detects again after the first preset time, then sentence Whether whether the case detecting signal detected again after the first preset time that breaks be event commencing signal or be that event is held Continuous signal, if the case detecting signal detected again after the first preset time is event commencing signal or is event duration If signal, then show that the anomalous event in monitoring area is still continuing or new anomalous event has occurred, it is not right at this time The starting state of light alarming device is adjusted, to keep light alarming device to be in the alarm condition of startup;If The case detecting signal detected again after one preset time is not event commencing signal and is not event duration signal, and is thing If part end signal, then show that the anomalous event in monitoring area is over, i.e., need not abnormal thing be carried out to it again The alarm of part can enter the process flow for closing light alarming device, to terminate the alarm of light alarming device based on this at this time State.
Further, in this embodiment not detected again after the web camera is in first preset time When case detecting signal, then obtains the event that the web camera detects for the last time in first preset time and detect Survey signal, and the case detecting signal tune detected for the last time in first preset time according to the web camera The starting state of the whole light alarming device.
It is understood that the anomalous event detecting module of web camera can be constantly in anomalous event detecting, and The case detecting signal detected is sent to the lighting control module of light alarming device in real time, lighting control module then can root The working condition of light alarming device is controlled according to the case detecting signal.In the present embodiment, when light alarming device is in first When during the shielding of preset time, the case detecting signal that anomalous event detecting module sends over, but not root are still received The working condition of light alarming device is adjusted according to the case detecting signal in first preset time.And when anomalous event is in light When just having terminated during the shielding that warning device is in the first preset time and having occurred there is no new anomalous event, light control Molding block then can adjust light warning dress according to the case detecting signal that anomalous event detecting module last time sends over The working condition set such as closes light alarming device, to avoid lamp according to the event end signal sended over for the last time Light warning device is in starting state always, improves the accuracy of light warning.
In the present embodiment, when the case detecting signal that web camera detects is event commencing signal or is that event is held When continuous signal needs to start light alarming device, start light alarming device in the first preset time, and shield network and take the photograph Then the event signal that camera detects in first preset time obtains web camera weight after first preset time The case detecting signal newly detected, and lamp is adjusted according to the case detecting signal detected again after the first preset time The starting state of light warning device ignores lamp by shielding event signal caused by the startup moment of light alarming device Influence of the startup of light warning device to case detecting, avoids the light warning of web camera from entering deadlock state, to real The automatic light alarm of existing web camera, ensures the accuracy and validity of web camera light warning.
Referring to Fig. 2, second embodiment of the present invention provides a kind of light warning method, the light warning of embodiment offer Method is mainly used in the occasion using light opening as type of alarm, the master of the light warning method provided with embodiment one It will difference lies in the light warning method in the embodiment further includes:If the case detecting signal is not event commencing signal And be not event duration signal, judge whether the light alarming device of the web camera is closed;When the lamp When light warning device is not off, the light alarming device is closed in the second preset time, and obtains the net The case detecting signal that network video camera detects again after second preset time;According to after second preset time Again the case detecting signal detected adjusts the closed state of the light alarming device.
Specifically, as shown in Fig. 2, light warning method provided in this embodiment, including:Step S201, step S202, step Rapid S203, step S204, step S205 and step S206.
Wherein, the case detecting signal and the step in embodiment one that web camera detects step S201, are obtained S101 is similar;Step S202, judge whether the case detecting signal is event commencing signal or whether is event duration letter It is number similar to the step S102 in embodiment one;If step S203, the described case detecting signal is event commencing signal or is Whether event duration signal judges the light alarming device of the web camera in starting state and the step in embodiment one Rapid S103 is similar;Step S204, when the light alarming device is not in starting state, start institute in the first preset time Light alarming device is stated, and obtains the case detecting letter that the web camera detects again after first preset time Number similar to the step S104 in embodiment one, for simplicity, details are not described herein.
If step S205, the described case detecting signal is not event commencing signal and is not event duration signal, institute is judged Whether the light alarming device for stating web camera is closed;
Step S206, when the light alarming device is not off, in the second preset time described in closing Light alarming device, and obtain the case detecting letter that the web camera detects again after second preset time Number.
It is understood that above-mentioned steps S201 to step S204 be to case detecting signal be event commencing signal or For the process flow of event duration signal, above-mentioned steps S205 and step S206 are not started for event to case detecting signal Signal and be event duration signal process flow.
For above-mentioned steps S205 and step S206, it is to be understood that when judge case detecting signal not be event Commencing signal and be not event duration signal, and when being event end signal, show the anomalous event in area to be monitored at this time It has been terminated that, and light alarming device is no longer needed to start to alarm, then needed to close light alarming device at this time to terminate Its alarm condition, thus, in the present embodiment, further judge whether light alarming device at this time has been closed, if If light alarming device at this time has been closed, then it need not be adjusted, to continue to be held in pass In closed state;And if if light alarming device at this time is in open state, needs to adjust its open state, that is, need to close Light alarming device is closed, and jump in brightness caused by the closing of light alarming device can impact case detecting.
Thus, to avoid the closing of light alarming device to the influence of case detecting, in the present embodiment, when need close lamp When light warning device, the lighting control module of light alarming device then closes light alarming device in the second preset time, and And shield the event signal that is detected in second preset time of web camera, i.e., lighting control module not to this second The event signal detected in preset time is alarmed, and is not adjusted according to the event signal detected in second preset time Then the working condition of light alarming device obtains the event that web camera detects again after second preset time and detects Signal is surveyed, with the work for adjusting light alarming device according to the case detecting signal detected again after second preset time State.
It is understood that in the present embodiment, lighting control module shields web camera in second preset time Before the shielding action of the event signal detected starts from light alarming device closing, and continue to light alarming device to close A period of time after the completion, i.e., to the shielding of event signal act the second preset time at the beginning when begin to execute, shield And then action immediately executes the closing of light alarming device after starting, so that it is guaranteed that light alarming device turn-off transient can be shielded Generated event signal influences the working condition of light alarming device to avoid the closing of light alarming device itself, to Realize the automatic light alarm of web camera.
Such as after obtaining the case detecting signal that web camera detects again after the second preset time, then sentence Whether whether the case detecting signal detected again that breaks be event commencing signal or be event duration signal, if this If the case detecting signal detected again after two preset times is event commencing signal or is event duration signal, then table Occur anomalous event in bright monitoring area, needs to start light alarming device at this time to carry out abnormal alarm, the present embodiment is then Enter the process flow for starting light alarming device based on this, to open its alarm condition;If the weight after second preset time The case detecting signal newly detected is not event commencing signal and is not event duration signal, and is event end signal Words, or if not detecting any event signal after second preset time, then show without exception in monitoring area Event need not then be adjusted light alarming device, so that it is held in closed state.
It is understood that the second preset time in the present embodiment can be opened for alarming with embodiment one with light The first preset time in the occasion of mode is identical, i.e., the second preset time in the present embodiment can be:Ti=Tae+Tla; Wherein, Tae is the time required to image exposure is stablized, and Tla is that case detecting terminates delay time.Certainly, in the present embodiment Two preset times also can be different from the first preset time T i in embodiment, but identified any other as the case may be Time value.
In the embodiment of the present invention, when the case detecting signal that web camera detects is not event commencing signal and is not Event duration signal and be need close light alarming device event end signal when, close light in the second preset time Warning device, and the event signal that web camera detects in second preset time is shielded, it then obtains network and takes the photograph The case detecting signal that camera detects again after second preset time is detectd with basis after second preset time again The case detecting signal measured adjusts the closed state of light alarming device, that is, passes through the closing wink for shielding light alarming device Between generated event signal ignore influence of the closing to case detecting of light alarming device, avoid the lamp of web camera Light alarm enters deadlock state, to realize the automatic light alarm of web camera, ensures web camera light warning Accuracy and validity.
Referring to Fig. 3, the embodiment of the present invention three provides a kind of light warning method, the light warning which provides Method is mainly used in the occasion using light flash as type of alarm, the master of the light warning method provided with embodiment two Will be difference lies in, in the light warning method which provides, if the case detecting signal be not event commencing signal and It is not event duration signal, and when the light alarming device is not off, then directly closes the light warning dress It sets.
Further, in light warning method provided in this embodiment, if the case detecting signal is opened for event Beginning signal is event duration signal, judges whether the light alarming device of the web camera is in starting state, packet It includes:If the case detecting signal is event commencing signal or is event duration signal, whether acquisition, which responds the event, is detectd Survey the processing signal of signal;When the processing signal is to respond the case detecting signal, the web camera is judged Whether light alarming device is in starting state.
Specifically, as shown in figure 3, light warning method provided in this embodiment, including:Step S301, step S302, step Rapid S303, step S304, step S305, step S306, step S307 and step S308.
Wherein, the case detecting signal and the step in embodiment two that web camera detects step S301, are obtained S201 is similar;Step S302, judge whether the case detecting signal is event commencing signal or whether is event duration letter It is number similar to the step S202 in embodiment two;If step S305, the described case detecting signal is event commencing signal or is Whether event duration signal judges the light alarming device of the web camera in starting state and the step in embodiment two Rapid S203 is similar;Step S306, when the light alarming device is not in starting state, start institute in the first preset time Light alarming device is stated, and obtains the case detecting letter that the web camera detects again after first preset time It is number similar to the step S204 in embodiment two;For simplicity, details are not described herein.
If step S303, the described case detecting signal is event commencing signal or is event duration signal, whether acquisition Respond the processing signal of the case detecting signal;
Step S304, when the processing signal is to respond the case detecting signal, judge the web camera Whether light alarming device is in starting state.
For above-mentioned steps S303 and step S304, it is to be understood that be determined that case detecting signal opens for event Beginning signal or for after event duration signal, web camera then can be according to itself state in which come to case detecting at this time Signal makes a response.When web camera itself is configured to the state of masked event signal, as web camera open it is infrared When lamp, turning on light at this time may will produce case detecting signal, thus, web camera needs to ignore case detecting letter at this time Number, the processing signal without making a response the case detecting signal that is, will not be based on the case detecting signal come to light report The working condition of alarm device is adjusted.And when web camera itself is not in the state of masked event signal, show this When web camera need to carry out the response of detecting event, thus, web camera can respond the case detecting at this time The processing signal of signal, with the working condition for adjusting light alarming device according to the case detecting signal, to abnormal thing Part carries out light warning.
It is understood that step S303 and step S304 herein can also be applied to being opened with light for embodiment two As in the occasion of type of alarm, you can increase the processing procedure between the step S202 in embodiment two and step S203, To realize and identical effect in the present embodiment.
If step S307, the described case detecting signal is not event commencing signal and is not event duration signal, institute is judged State whether light alarming device is closed;
Step S308, when the light alarming device is not off, the light alarming device is directly closed.
It is understood that being with light flash come when alarming in light alarming device, the first preset time can be:Tj= Tb+Tae+Tla;Wherein, Tb is the flicker duration of light alarming device in an alarm cycle, and Tae stablizes institute for image exposure It takes time, Tla is that case detecting terminates delay time, is shown in an alarm cycle of light flash, light is first to flicker The Tb times are then shut off (Tae+Tla) time, that is to say, that the case detecting signal detected be event commencing signal or Person is to have closed generated event signal in the processing procedure of event duration signal to light flash and light and carried out Shielding has had ignored the influence of light flash and light closing to case detecting.Thus, after being spaced the first preset time Again the event signal detected is not event commencing signal and is not event duration signal, and is to need to close light warning dress When the event end signal set, the event signal is then no longer shielded in the present embodiment, but is directly closed according to the event signal Light alarming device promotes the use body-sensing of user to improve the treatment effeciency that alarm terminates.
In the embodiment of the present invention, when the case detecting signal that web camera detects is event commencing signal or is thing Part persistent signal and need light flash when alarming, to start light alarming device, and gauze screen in the first preset time Then the event signal that network video camera detects in first preset time obtains web camera in first preset time The case detecting signal detected again afterwards, and according to the case detecting signal detected again after first preset time come The starting state of light alarming device is adjusted, that is, passes through event caused by the flicker for shielding light alarming device and turn-off transient Signal ignores the startup of light alarming device, closes influence to case detecting, avoid the light warning of web camera into Enter deadlock state, to realize web camera automatic light alarm, ensure web camera light warning accuracy and Validity.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
A kind of light warning method is essentially described above, a kind of web camera will be described in detail below.
As shown in figure 4, the embodiment of the present invention four provides a kind of web camera, the web camera, including:
Case detecting module 401, for obtaining the case detecting signal detected;
Event judge module 402, for judge the case detecting signal whether be event commencing signal or whether be Event duration signal;
Light judgment module 403, if for the case detecting signal be event commencing signal or be event duration letter If number, judge whether light alarming device is in starting state;
Light starting module 404, for when the light alarming device is not in starting state, in the first preset time It is middle to start the light alarming device, and obtain the case detecting signal detected again after first preset time;
Light adjusts module 405, for according to the case detecting signal detected again after first preset time Adjust the open state of the light alarming device.
Further, the web camera further includes:
Event acquisition module does not detect event again for working as the web camera after first preset time When detection signal, the case detecting letter that the web camera detects for the last time in first preset time is obtained Number;
Light starts adjustment module, for being detectd for the last time in first preset time according to the web camera The case detecting signal measured adjusts the starting state of the light alarming device.
Preferably, the web camera further includes:
First light closes judgment module, if not being event commencing signal for the case detecting signal and not being event Persistent signal, judges whether the light alarming device of the web camera is closed;
First light closedown module, for when the light alarming device is not off, when second is default Between it is middle close the light alarming device, and obtain what the web camera detected again after second preset time Case detecting signal;
Light closes adjustment module, for according to the case detecting signal detected again after second preset time Adjust the closed state of the light alarming device.
Further, first preset time is:Ti=Tae+Tla;
Wherein, Tae is the time required to image exposure is stablized, and Tla is that case detecting terminates delay time.
Preferably, first preset time is:Tj=Tb+Tae+Tla;
Wherein, Tb is the flicker duration of light alarming device in an alarm cycle, and Tae is taken by image exposure stabilization Between, Tla is that case detecting terminates delay time.
Further, the web camera further includes:
Second light closes judgment module, if not being event commencing signal for the case detecting signal and not being event Persistent signal, judges whether the light alarming device of the web camera is closed;
Second light closedown module, for when the light alarming device is not off, closing the light Warning device.
Optionally, the light judgment module 403, including:
Response unit obtains if being event commencing signal for the case detecting signal or being event duration signal Whether the processing signal of the case detecting signal is responded;
Start judging unit, for when the processing signal is to respond the case detecting signal, judging the network Whether the light alarming device of video camera is in starting state.
Fig. 5 is a kind of structural schematic diagram for light warning equipment that the embodiment of the present invention five provides.As shown in figure 5, the reality The light warning equipment 500 for applying example includes:It processor 501, memory 502 and is stored in the memory 502 and can be The computer program 503 run on the processor 501, such as light warning program.The processor 501 executes the calculating Realize the step in above-mentioned each light warning embodiment of the method when machine program 503, such as step S101 shown in FIG. 1 is to step S105.Alternatively, the processor 501 realizes each module in above-mentioned each device embodiment/mono- when executing the computer program 503 The function of member, such as module shown in Fig. 4 401 is to the function of module 405.
Illustratively, the computer program 503 can be divided into one or more module/units, it is one or Multiple module/the units of person are stored in the memory 502, and are executed by the processor 501, to complete the present invention.Institute It can be the series of computation machine program instruction section that can complete specific function, the instruction segment to state one or more module/units For describing implementation procedure of the computer program 503 in the light warning equipment 500.For example, the computer journey Sequence 503 can be divided into case detecting module, event judge module, light judgment module, light starting module, light adjustment Module, each module concrete function are as follows:
Case detecting module, for obtaining the case detecting signal detected;
Event judge module, for judging whether the case detecting signal is event commencing signal or whether is event Persistent signal;
Light judgment module, if being event commencing signal for the case detecting signal or being event duration signal Words, judge whether light alarming device is in starting state;
Light starting module, for when the light alarming device is not in starting state, in the first preset time Start the light alarming device, and obtains the case detecting signal detected again after first preset time;
Light adjusts module, for according to the case detecting signal adjustment detected again after first preset time The open state of the light alarming device.
The light warning equipment 500 can be the meters such as desktop PC, notebook, palm PC and cloud server Calculate equipment.The light warning equipment may include, but be not limited only to, processor 501, memory 502.Those skilled in the art can To understand, Fig. 5 is only the example of light warning equipment 500, does not constitute the restriction to light warning equipment 500, can wrap It includes than illustrating more or fewer components, either combines certain components or different components, such as the light warning equipment Can also include input-output equipment, network access equipment, bus etc..
The processor 501 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 502 can be the internal storage unit of the light warning equipment 500, such as light warning equipment 500 hard disk or memory.The memory 502 can also be the External memory equipment of the light warning equipment 500, such as institute State the plug-in type hard disk being equipped in light warning equipment 500, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, the memory 502 can also both include The internal storage unit of the light warning equipment 500 also includes External memory equipment.The memory 502 is described for storing Other programs and data needed for computer program and the light warning equipment.The memory 502 can be also used for temporarily When store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each embodiment described in conjunction with the examples disclosed in this document Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of flow in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, light of the computer program code can be carried Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer The content that readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice, such as In certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these Modification or replacement, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of light warning method, which is characterized in that including:
Obtain the case detecting signal that web camera detects;
Judge whether the case detecting signal is event commencing signal or whether is event duration signal;
If the case detecting signal is event commencing signal or is event duration signal, the lamp of the web camera is judged Whether light warning device is in starting state;
When the light alarming device is not in starting state, start the light alarming device in the first preset time, And obtain the case detecting signal that the web camera detects again after first preset time;
Opening for the light alarming device is adjusted according to the case detecting signal detected again after first preset time Dynamic state.
2. light warning method according to claim 1, which is characterized in that further include:
When the web camera does not detect case detecting signal again after first preset time, the net is obtained The case detecting signal that network video camera detects for the last time in first preset time;
Institute is adjusted according to the case detecting signal that the web camera detects for the last time in first preset time State the starting state of light alarming device.
3. light warning method according to claim 1, which is characterized in that further include:
If the case detecting signal is not event commencing signal and is not event duration signal, the web camera is judged Whether light alarming device is closed;
When the light alarming device is not off, the light alarming device is closed in the second preset time, And obtain the case detecting signal that the web camera detects again after second preset time;
The pass of the light alarming device is adjusted according to the case detecting signal detected again after second preset time Closed state.
4. light warning method according to claim 1, which is characterized in that first preset time is:
Ti=Tae+Tla;
Wherein, Tae is the time required to image exposure is stablized, and Tla is that case detecting terminates delay time.
5. light warning method according to claim 1, which is characterized in that first preset time is:
Tj=Tb+Tae+Tla;
Wherein, Tb is the flicker duration of light alarming device in an alarm cycle, and Tae is that image exposure stablizes required time, Tla is that case detecting terminates delay time.
6. light warning method according to claim 5, which is characterized in that further include:
If the case detecting signal is not event commencing signal and is not event duration signal, the web camera is judged Whether light alarming device is closed;
When the light alarming device is not off, the light alarming device is closed.
7. light warning method according to any one of claim 1 to 6, which is characterized in that if the event is detectd It surveys signal to be event commencing signal or be event duration signal, judges whether the light alarming device of the web camera is located In starting state, including:
If the case detecting signal is event commencing signal or is event duration signal, whether acquisition, which responds the event, is detectd Survey the processing signal of signal;
When the processing signal is to respond the case detecting signal, judge that the light alarming device of the web camera is It is no to be in starting state.
8. a kind of web camera, which is characterized in that including:
Case detecting module, for obtaining the case detecting signal detected;
Event judge module, for judging whether the case detecting signal is event commencing signal or whether is event duration Signal;
Light judgment module judges if being event commencing signal for the case detecting signal or being event duration signal Whether light alarming device is in starting state;
Light starting module, for when the light alarming device is not in starting state, starting in the first preset time The light alarming device, and obtain the case detecting signal detected again after first preset time;
Light adjusts module, for according to described in the case detecting signal adjustment detected again after first preset time The open state of light alarming device.
9. a kind of light warning equipment, including memory, processor and it is stored in the memory and can be in the processing The computer program run on device, which is characterized in that the processor realizes such as claim 1 when executing the computer program The step of to any one of 7 light warning method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In the step of realization light warning method as described in any one of claim 1 to 7 when the computer program is executed by processor Suddenly.
CN201810474728.6A 2018-05-17 2018-05-17 Light warning method, equipment, web camera and storage medium Active CN108447208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810474728.6A CN108447208B (en) 2018-05-17 2018-05-17 Light warning method, equipment, web camera and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810474728.6A CN108447208B (en) 2018-05-17 2018-05-17 Light warning method, equipment, web camera and storage medium

Publications (2)

Publication Number Publication Date
CN108447208A true CN108447208A (en) 2018-08-24
CN108447208B CN108447208B (en) 2019-10-29

Family

ID=63203889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810474728.6A Active CN108447208B (en) 2018-05-17 2018-05-17 Light warning method, equipment, web camera and storage medium

Country Status (1)

Country Link
CN (1) CN108447208B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308778A (en) * 2018-09-11 2019-02-05 深圳市智美达科技股份有限公司 Mobile detection alarm method, device, acquisition equipment and storage medium
WO2022001024A1 (en) * 2020-06-30 2022-01-06 Zhejiang Dahua Technology Co., Ltd. Systems and methods for monitoring control
CN114166356A (en) * 2021-12-06 2022-03-11 普联技术有限公司 PIR threshold value adjusting method, PIR threshold value adjusting system and monitoring device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63186379A (en) * 1987-01-29 1988-08-01 Yaskawa Electric Mfg Co Ltd Fetching system for binary picture
GB2308262B (en) * 1995-12-16 1999-08-04 Paul Gordon Wilkins Method for analysing the content of a video signal
WO2000034913A1 (en) * 1998-12-08 2000-06-15 Esco Electronics Corporation Method for rejection of flickering lights in an imaging system
CN101266710A (en) * 2007-03-14 2008-09-17 中国科学院自动化研究所 An all-weather intelligent video analysis monitoring method based on a rule
CN101571982A (en) * 2009-05-11 2009-11-04 宁波海视智能系统有限公司 Method for judging stolen articles in video monitoring range
CN102479416A (en) * 2010-11-29 2012-05-30 上海银晨智能识别科技有限公司 Method, system and device for eliminating false alarm in monitoring system
CN103198595A (en) * 2013-03-11 2013-07-10 成都百威讯科技有限责任公司 Intelligent door and window anti-invasion system
US20140210624A1 (en) * 2011-08-16 2014-07-31 Tamperseal Ab Method and a system for monitoring the handling of an object
CN104700534A (en) * 2014-12-31 2015-06-10 大亚湾核电运营管理有限责任公司 Alarm method, device and system for nuclear power plant monitoring system
CN107016673A (en) * 2017-05-02 2017-08-04 上海控创信息技术股份有限公司 Railway signal cabinet status lamp image analysis method, device and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63186379A (en) * 1987-01-29 1988-08-01 Yaskawa Electric Mfg Co Ltd Fetching system for binary picture
GB2308262B (en) * 1995-12-16 1999-08-04 Paul Gordon Wilkins Method for analysing the content of a video signal
WO2000034913A1 (en) * 1998-12-08 2000-06-15 Esco Electronics Corporation Method for rejection of flickering lights in an imaging system
CN101266710A (en) * 2007-03-14 2008-09-17 中国科学院自动化研究所 An all-weather intelligent video analysis monitoring method based on a rule
CN101571982A (en) * 2009-05-11 2009-11-04 宁波海视智能系统有限公司 Method for judging stolen articles in video monitoring range
CN102479416A (en) * 2010-11-29 2012-05-30 上海银晨智能识别科技有限公司 Method, system and device for eliminating false alarm in monitoring system
US20140210624A1 (en) * 2011-08-16 2014-07-31 Tamperseal Ab Method and a system for monitoring the handling of an object
CN103198595A (en) * 2013-03-11 2013-07-10 成都百威讯科技有限责任公司 Intelligent door and window anti-invasion system
CN104700534A (en) * 2014-12-31 2015-06-10 大亚湾核电运营管理有限责任公司 Alarm method, device and system for nuclear power plant monitoring system
CN107016673A (en) * 2017-05-02 2017-08-04 上海控创信息技术股份有限公司 Railway signal cabinet status lamp image analysis method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308778A (en) * 2018-09-11 2019-02-05 深圳市智美达科技股份有限公司 Mobile detection alarm method, device, acquisition equipment and storage medium
WO2022001024A1 (en) * 2020-06-30 2022-01-06 Zhejiang Dahua Technology Co., Ltd. Systems and methods for monitoring control
CN114166356A (en) * 2021-12-06 2022-03-11 普联技术有限公司 PIR threshold value adjusting method, PIR threshold value adjusting system and monitoring device
CN114166356B (en) * 2021-12-06 2024-02-13 普联技术有限公司 PIR threshold adjustment method, PIR threshold adjustment system and monitoring device

Also Published As

Publication number Publication date
CN108447208B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN108447208B (en) Light warning method, equipment, web camera and storage medium
US10868818B1 (en) Systems and methods for generation of signature generation using interactive infection visualizations
CN102438026B (en) Industrial control network security protection method and system
US9773112B1 (en) Exploit detection of malware and malware families
CN106384409B (en) A kind of door access control system and method based on fire alarm
CN111160187B (en) Method, device and system for detecting left-behind object
CN108123939A (en) Malicious act real-time detection method and device
CN111507574B (en) Security personnel deployment method and device, computer equipment and storage medium
CN109697090B (en) Method for controlling terminal equipment, terminal equipment and storage medium
CN110400052A (en) The monitoring method and device of Key Performance Indicator
CN107315633A (en) Mobile payment means of defence, device and mobile terminal
CN103220277B (en) The monitoring method of cross-site scripting attack, Apparatus and system
CN111027518A (en) Suspicious crowd intelligent alarm method and device, computer equipment and storage medium
CN109743339A (en) The network security monitoring method and device of electric power plant stand, computer equipment
Vladimirovich et al. Model of optimization of arrangement of video surveillance means with regard to ensuring their own security
CN107292613A (en) Mobile payment means of defence, device and mobile terminal
CN114840376A (en) Alarm aggregation method based on Esper
CN106354071A (en) Comprehensive monitoring device for power distribution station
CN111414836A (en) Identification method and device of crossing gate, computer equipment and storage medium
CN106338953A (en) Integrated monitoring system of power distribution station
CN111970486B (en) Video occlusion method, device and storage medium
CN109856999A (en) Determine the method and system whether status information relevant to equipment is executed is tampered
CN112102543A (en) Security check system and method
CN112469185B (en) Lighting control device
CN211906472U (en) Building control system

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