CN108447208B - 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
CN108447208B
CN108447208B CN201810474728.6A CN201810474728A CN108447208B CN 108447208 B CN108447208 B CN 108447208B CN 201810474728 A CN201810474728 A CN 201810474728A CN 108447208 B CN108447208 B CN 108447208B
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.)
Active
Application number
CN201810474728.6A
Other languages
Chinese (zh)
Other versions
CN108447208A (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

Abstract

The invention discloses a kind of light warning methods, comprising: obtains 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;According to the starting state of the case detecting signal adjustment light alarming device detected again.The embodiment of the present invention ignores influence of the starting to case detecting of light alarming device by event signal caused by shielding 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 technique
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 the picture frame of front and back 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 flashed, because light automatically opens or light is flashed automatically as abnormal event alarming using In occasion, since light is opened, light is closed, 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 detecting When anomalous event occurs, the light of web camera can be then constantly in the deadlock state of opening or flashing, 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.
Summary of the invention
The embodiment of the invention provides a kind of light warning method, web camera, light warning equipment and computers can Storage medium is read, influence of the starting 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, providing a kind of light warning method, comprising:
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 after first preset time again, 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 in close state;
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 are as follows:
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 are as follows:
Tj=Tb+Tae+Tla;
Wherein, Tb is the flashing 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 in close state;
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, comprising:
If the case detecting signal is event commencing signal or is event duration signal, obtain whether respond 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 whether sets in starting state.
The second aspect of the embodiment of the present invention provides a kind of web camera, comprising:
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 advantage that
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 starting moment caused by event signal come Influence of the starting 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, guarantee the accuracy and validity of web camera light warning.
Detailed description of the invention
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 is only of the invention some Embodiment for those of ordinary skill in the art without any 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 embodiment
The embodiment of the 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 starting moment of light alarming device to case detecting Light alarm enters deadlock state, to realize the automatic light alarm of web camera, guarantees 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 Those of ordinary skill's all other embodiment 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, comprising:
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 then can real-time perfoming mobile detection, region intrusion detecting, the anomalous events such as detecting of crossing the border Detecting, when detected it is corresponding it is abnormal occur when, anomalous event detecting module then will 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 will form and start corresponding event signal with event;It is abnormal when detecting anomalous event and being in persistent state Case detecting module then will form event signal corresponding with event duration;And at the end of detecting anomalous event, it is abnormal Case detecting module, which then will form, terminates 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 starting 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 event in monitoring area, i.e. the light alarming device of web camera need to come different to this in starting state 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, does not need further to open 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 starting 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 showing that light alarming device need to be started, And jump in brightness brought by starting of light alarming device itself can impact case detecting.Thus, to avoid light Influence of the starting 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, not according to the working condition of the event signal adjustment light alarming device detected in first preset time, Then the case detecting signal that detects again after first preset time of web camera is obtained, according to first pre- at this If the case detecting signal detected again after the time adjusts the working condition of light alarming device.
It is understood that lighting control module shields web camera in first preset time in the present embodiment Before the shielding movement of the event signal detected starts from light alarming device starting, and continue to light alarming device to start A period of time after the completion, i.e., to the shielding of event signal movement the first preset time at the beginning when begin to execute, shield And then movement immediately executes the starting of light alarming device after starting, to shield produced by light alarm activation moment Event signal, to avoid light alarming device starting itself influence light alarming device working condition, to realize net The automatic light of network video camera is alarmed.
Further, in this embodiment when light alarming device be with light opening to alarm when, the first preset time Are as follows: 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 maximum time needed for convergence, 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 is to determine do not have corresponding event to terminate conclusion to outgoing event in video in case detecting algorithm that surveying, which terminates delay time Tla, 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 be with light flash to alarm when, first preset time Are as follows: Tj=Tb+Tae+Tla;Wherein, Tb is the flashing 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, flashing duration Tb flicker effect according to needed for practical application voluntarily to select or voluntarily determine. After determination, subsequent 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 time is first controlled, light is then controlled and closes (Tae+Tla) time, then control the light flash Tb time, 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 the abnormal thing in monitoring area can be judged 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 starting;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, that is, does not need to carry out abnormal thing to it again The alarm of part can enter the process flow for closing light alarming device, based on this at this time to terminate the alarm of light alarming device 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 According to the working condition of case detecting signal control light alarming device.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 According to the working condition of the case detecting signal adjustment light alarming device in first preset time.And when anomalous event is in light Just terminate during the shielding that warning device is in the first preset time and there is no when the generation of 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 according to the event end signal sended over for the last time, to avoid lamp 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 shields 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 starting moment of light alarming device Influence of the starting of light warning device to case detecting, avoids the light warning of web camera from entering deadlock state, thus real The automatic light alarm of existing web camera, guarantees 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 distinguishes and is, 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 in close state;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, comprising: step S201, step S202, step Rapid S203, step S204, step S205 and step S206.
Wherein, the step in the case detecting signal and embodiment one that web camera detects step S201, is 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 Event duration signal judges the step whether light alarming device of the web camera is in starting state and 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 in close state;
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 then not start to case detecting signal for event Signal and be event duration signal process flow.
For above-mentioned steps S205 and step S206, it is to be understood that when judging that case detecting signal is not 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 starting is no longer needed then to need to close light alarming device at this time to terminate to alarm Its alarm condition, thus, in the present embodiment, further whether the light alarming device of judgement at this time has been in close state, if It if light alarming device at this time has been in close state, then does not need to be adjusted it, to continue to be held in pass In closed state;If needing to adjust its open state and if light alarming device at this time is in the open state, that is, needing to close Light alarming device is closed, and jump in brightness brought 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 needing to 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 detects 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 lighting control module shields web camera in second preset time in the present embodiment Before the shielding movement 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 movement the second preset time at the beginning when begin to execute, shield And then movement 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, thus 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 starting light alarming device to carry out abnormal alarm at this time, the present embodiment is then Enter the process flow of 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 does not need then to 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 with are as follows: 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 can also 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 when being the event end signal for needing to close light alarming device, 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 after second preset time again with basis The case detecting signal measured adjusts the closed state of light alarming device, that is, passes through the closing wink of 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, guarantees 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 Distinguish and be, the embodiment provide light warning method in, 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, is wrapped Include: 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, comprising: step S301, step S302, step Rapid S303, step S304, step S305, step S306, step S307 and step S308.
Wherein, the step in the case detecting signal and embodiment two that web camera detects step S301, is 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 Event duration signal judges the step whether light alarming device of the web camera is in starting state and 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 generate 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, thus to abnormal thing Part carries out light warning.
It is understood that step S303 and step S304 herein also can be applied to opening with light for embodiment two As in the occasion of type of alarm, the treatment process can be increased between step S202 and step S203 in example 2, 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 in close state;
Step S308, when the light alarming device is not off, the light alarming device is directly closed.
It is understood that light alarming device be with light flash to alarm when, the first preset time can are as follows: Tj= Tb+Tae+Tla;Wherein, Tb is the flashing 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 flash The Tb time is then shut off (Tae+Tla) time, that is to say, that the case detecting signal detected be event commencing signal or Person is to close generated event signal in the treatment process of event duration signal to light flash and light and carry 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 flashing of shielding light alarming device and turn-off transient Signal ignores the starting of light alarming device, closes influence to case detecting, avoid the light warning of web camera into Enter deadlock state, thus realize web camera automatic light alarm, guarantee 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, comprising:
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 The middle starting 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 obtains module, for not detecting event again after the web camera is in 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 starting 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 in close state;
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 are as follows: 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 are as follows: Tj=Tb+Tae+Tla;
Wherein, Tb is the flashing 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 in close state;
Second light closedown module, for closing the light when the light alarming device is not off Warning device.
Optionally, the light judgment module 403, comprising:
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 judging the network when the processing signal is to respond the case detecting signal 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: 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 Installation practice/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 Stating one or more module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment 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 meter 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, perhaps combines certain components or different components, such as the light warning equipment It 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), 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 is also possible to 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 is also possible to 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) card, 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 be aware 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, the specific application and design constraint depending on 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 logical function partition, there may be another division manner in actual implementation, such as multiple units or components 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 through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process 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 It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program code 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 the requirement made laws in jurisdiction with patent practice, such as It does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium in certain jurisdictions.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of light warning method characterized by comprising
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 after first preset time again, 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 in close state;
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 are as follows:
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 are as follows:
Tj=Tb+Tae+Tla;
Wherein, Tb is the flashing 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 in close state;
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, comprising:
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 characterized by comprising
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, if being event commencing signal for the case detecting signal or being event duration signal, judgement Whether light alarming device is in starting state;
Light starting module, for starting in the first preset time when the light alarming device is not in starting state The light alarming device, and obtain 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 starting state of light alarming device.
9. a kind of light warning equipment, including memory, processor and storage are 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 To described in any one of 7 the step of light warning method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the step of realization light warning method as described in any one of claims 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 CN108447208A (en) 2018-08-24
CN108447208B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308778B (en) * 2018-09-11 2020-08-18 深圳市智美达科技股份有限公司 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
CN114166356B (en) * 2021-12-06 2024-02-13 普联技术有限公司 PIR threshold adjustment method, PIR threshold adjustment system and monitoring device

Citations (9)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2745281A2 (en) * 2011-08-16 2014-06-25 Tamperseal AB A method and a system for monitoring the handling of an object

Patent Citations (9)

* 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
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

Also Published As

Publication number Publication date
CN108447208A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108447208B (en) Light warning method, equipment, web camera and storage medium
US9773112B1 (en) Exploit detection of malware and malware families
CN102438026B (en) Industrial control network security protection method and system
CN106897720A (en) A kind of firework detecting method and device based on video analysis
CN109164780A (en) A kind of industrial field device control method based on edge calculations, apparatus and system
CN105656693B (en) A kind of method and system of the information security abnormality detection based on recurrence
CN107465575A (en) The monitoring method and system of a kind of cluster
CN105808368B (en) A kind of method and system of the information security abnormality detection based on random probability distribution
CN109697090B (en) Method for controlling terminal equipment, terminal equipment and storage medium
CN111612422B (en) Emergency response method, device, storage medium and equipment
CN113628236A (en) Camera shielding detection method, device, equipment, storage medium and program product
CN111027518A (en) Suspicious crowd intelligent alarm method and device, computer equipment and storage medium
CN111160187A (en) Method, device and system for detecting left-behind object
CN112469179B (en) Lighting control device based on policy management
CN108925019A (en) outdoor lighting intelligent control method and system
CN114840376A (en) Alarm aggregation method based on Esper
Vladimirovich et al. Model of optimization of arrangement of video surveillance means with regard to ensuring their own security
CN106354071A (en) Comprehensive monitoring device for power distribution station
CN106874769B (en) The defence method and device of loophole
CN112469185B (en) Lighting control device
CN111970486B (en) Video occlusion method, device and storage medium
CN108510701A (en) A kind of intelligent smog alarm method, apparatus and system
CN108170088A (en) A kind of stereo garage safety monitoring system
US10909242B2 (en) System and method for detecting security risks in a computer system
CN106909261A (en) Status information of equipment processing method and processing 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