CN109600736A - A kind of method of warning device and alarm - Google Patents
A kind of method of warning device and alarm Download PDFInfo
- Publication number
- CN109600736A CN109600736A CN201811216415.7A CN201811216415A CN109600736A CN 109600736 A CN109600736 A CN 109600736A CN 201811216415 A CN201811216415 A CN 201811216415A CN 109600736 A CN109600736 A CN 109600736A
- Authority
- CN
- China
- Prior art keywords
- alarm
- signal
- trigger signal
- networking module
- protenchyma networking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/90—Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B25/00—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
- G08B25/12—Manually actuated calamity alarm transmitting arrangements emergency non-personal manually actuated alarm, activators, e.g. details of alarm push buttons mounted on an infrastructure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Public Health (AREA)
- Alarm Systems (AREA)
- Emergency Alarm Devices (AREA)
Abstract
The present embodiments relate to safety-security areas, disclose the method for a kind of warning device and alarm.Warning device in the present invention, power module are electrically connected with warning circuit and protenchyma networking module respectively;The interruptive port of protenchyma networking module is electrically connected with the first output end of warning circuit, and the universal input and output port of protenchyma networking module is electrically connected with the second output terminal of warning circuit;Protenchyma networking module for obtaining the first trigger signal by interruptive port, and switches to operating mode from battery saving mode under the triggering of the first trigger signal;In the case where protenchyma networking module is in operating mode, the second trigger signal is obtained by universal input and output port, and alarm signal is determined according to the duration for obtaining the second trigger signal, determining alarm signal is sent to alarm platform.Warning device in present embodiment, reduces the power consumption and cost of warning device, and improves the alarm velocity of warning device.
Description
Technical field
The present embodiments relate to safety-security area, in particular to the method for a kind of warning device and alarm.
Background technique
Warning device is a kind of consequence to prevent or preventing caused by certain event occurs, in the form of sound, light, air pressure etc.
Come the electronic product for reminding or warning us that certain should be taken to take action, for example, smoke alarm unit, fire alarm installation etc..
With the continuous development in security protection market, warning device is also becoming better and approaching perfection day by day and grows up.
Current warning device receives alarm signal by wireless module, and alarm signal is transmitted to the network platform in time
On, the alarm to hazard event is rapidly completed.Meanwhile in order to improve the safety protection function of warning device, usual warning device has
The warning function for being damaged or being split.
At least there are the following problems in the prior art for inventor's discovery: at present usually using single-chip microcontroller as warning device
Main control module, there are many functional pins on single-chip microcontroller, and different alarm buttons is connected by different pins, may be implemented to
The warning function of the dynamic triggering warning device of householder, and realize warning function when warning device is damaged or is disassembled;Pass through
The 2G/3G/4G communication module of connection, is uploaded to the network platform for alarm signal.But the power consumption of single-chip microcontroller and 2G/3G/4G
Communication module energy consumption is all very big, increases the cost of warning device, meanwhile, using single-chip microcontroller as main control module by alarm signal
During number being uploaded to the network platform, after needing to transmit a signal to the communication module connecting with single-chip microcontroller, then signal is carried out
Transmission, time delay can be generated, influence the warning function of warning device.
Summary of the invention
The method for being designed to provide a kind of warning device and alarm of embodiment of the present invention, reduces the function of warning device
Consumption and cost, and improve the alarm velocity of warning device.
In order to solve the above technical problems, embodiments of the present invention provide a kind of warning device, comprising: narrowband Internet of Things
Module, the warning circuit and power module for being equipped with key, power module respectively with warning circuit and narrowband Internet of Things mould
Block electrical connection;The interruptive port of protenchyma networking module is electrically connected with the first output end of warning circuit, protenchyma networking module
Universal input and output port be electrically connected with the second output terminal of warning circuit;In the case where key is in triggering state, the
One output end exports the first trigger signal, and second output terminal exports the second trigger signal;Protenchyma networking module, used in passing through
Interruptive port obtains the first trigger signal, and switches to operating mode from battery saving mode under the triggering of the first trigger signal;Narrow
In the case that band Internet of Things module is in operating mode, by universal input and output port the second trigger signal of acquisition, and according to
The duration for obtaining the second trigger signal determines alarm signal, and determining alarm signal is sent to alarm platform.
Embodiments of the present invention additionally provide a kind of method of alarm, comprising: obtain the first trigger signal;In the first touching
Under the triggering of signalling, operating mode is switched to from battery saving mode;In the case where being in operating mode, the second triggering letter is obtained
Number, wherein the first trigger signal and the second trigger signal are that warning circuit is generated in the case where key is in triggering state;According to acquisition
The duration of second trigger signal, determine alarm signal;And determining alarm signal is sent to alarm platform.
In terms of existing technologies, in the warning device, protenchyma networking module is the report to embodiment of the present invention
Main power consumption module in alarm device, in the case where the key of warning circuit is not triggered, protenchyma networking module is in
Under battery saving mode, and in the case where being in battery saving mode due to protenchyma networking module, power consumption is very low, this is greatly lowered
The power consumption of entire warning device.Simultaneously as only one interruptive port of protenchyma networking module, and interruptive port is only used for calling out
Awake protenchyma networking module, the first output port of interruptive port and warning circuit is connected, universal input and output port and report
The second output terminal mouth connection of alert circuit exports the first trigger signal by the first output port in the case where key is triggered,
And wake up protenchyma networking module from battery saving mode, second output terminal mouth exports the second trigger signal, in narrowband Internet of Things mould
In the case that block enters operating mode, different alarm signals is determined by the second trigger signal, so that the warning device can be with
It realizes different types of alarm, and since protenchyma networking module itself can be communicated with base station, is not necessarily to narrowband Internet of Things
Alarm signal is sent to other communication module by module, sends alarm signal by other communication module, thus reduce by
Alarm signal is uploaded to the time of alarm platform, improves alarm velocity.
In addition, protenchyma networking module includes timer;It is narrow in the case where protenchyma networking module is in operating mode
Band Internet of Things module be specifically used for: open timer, statistics universal input and output port obtain the second trigger signal it is lasting when
Between;Duration is compared with preset time, if the duration is less than preset time and greater than 0, determines the first alarm signal
Number, and the first determining alarm signal is sent to alarm platform, if the duration is greater than preset time, it is determined that the second alarm
Signal, and the second determining alarm signal is sent to alarm platform;Wherein, the first alarm signal is used to indicate warning device quilt
Actively the state of triggering, the second alarm signal are used to indicate the impaired state of warning device.Pass through statistics universal input output
Port persistently receives the time of the second trigger signal, and determines alarm signal according to the duration and preset time, realizes letter
It is single, determine that the speed of alarm signal is fast, the first alarm signal is used to indicate the state that warning device is actively triggered, and second reports
The alert impaired situation of signal designation warning device, two kinds of alarm modes meet initiative alarming and warning devices is split or damage
The alarm of situation, so that the function of the warning device is more perfect.
Warning circuit includes: resistance, the first triode, the second triode and key;The input terminal and power module of resistance
Electrical connection, the output end of resistance are electric with the first end of the base stage of the first triode, the base stage of the second triode and key respectively
The emitter of connection, the emitter of the first triode and the second triode is grounded respectively, wherein the second end of key is grounded;In
Interruptive port is electrically connected with the collector of the first triode, for obtaining the one or three pole in the case where key is in triggering state
The first trigger signal that pipe generates;Universal input and output port is electrically connected with the collector of the second triode, in protenchyma
In the case that networking module is in operating mode, the second trigger signal generated in the second triode is obtained.Warning circuit passes through
Resistance, the first triode, the second triode generate the first trigger signal and the second trigger signal, the realization letter of the warning circuit
It is single, reduce the cost of warning circuit.
In addition, key is mechanical switch, the triggering state of key is the state disconnected.The performance of mechanical switch is steady
Fixed, connection is simple, further decreases the cost of the warning device.
In addition, warning circuit further include: third transistor and trigger device;The output end and third transistor of trigger device
Base stage electrical connection, interruptive port be electrically connected with the collector of third transistor, and the emitter of third transistor is grounded;The middle broken ends of fractured bone
Mouth is in the case where trigger device is in triggering state, obtaining the third trigger signal that third transistor generates, protenchyma
Networking module switches to operating mode from battery saving mode under the triggering of third trigger signal;Protenchyma networking module is also used to:
If receiving third trigger signal, and the second trigger signal is not received, it is determined that the first alarm signal, and by the first alarm signal
Number it is sent to alarm platform, the first alarm signal is used to indicate the state that warning device is actively triggered.Pass through third transistor
And trigger device, the mode for increasing warning device another kind triggering alarm improve the alarm to provide a variety of type of alarms
The applicability of device.
In addition, the protenchyma networking module is also used to before key is in triggering state: being communicated with communication base station foundation
Connection, and determine that the protenchyma networking module enters the interval period of operating mode from battery saving mode;Protenchyma networking module is every
Every interval period, the feedback signal of normal condition is sent to alarm platform.By being communicated once with base station with the fixed intervals period,
It will be in the feedback information of normal condition, alarm platform is avoided to lose the monitoring to the warning device.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is a kind of concrete structure schematic diagram of the warning device provided in first embodiment according to the present invention;
Fig. 2 is a kind of concrete structure schematic diagram of the warning device provided in second embodiment according to the present invention;
Fig. 3 is a kind of concrete structure schematic diagram of the warning device provided in third embodiment according to the present invention;
Fig. 4 is a kind of idiographic flow schematic diagram of the method for the alarm provided in the 4th embodiment according to the present invention;
Fig. 5 is a kind of idiographic flow schematic diagram of the method for the alarm provided in the 5th embodiment according to the present invention;
Fig. 6 is a kind of idiographic flow schematic diagram of the method for the alarm provided in sixth embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of warning devices.The warning device includes: protenchyma networking module
101, the warning circuit 103 and power module 104 of key 102 are installed, the structure of the warning device is as shown in Figure 1.
Power module 104 is electrically connected with warning circuit 103 and protenchyma networking module 101 respectively;Narrowband Internet of Things mould
The first output end (institute as shown in figure 1 of interruptive port (port PSM_EINT as shown in Figure 1) and warning circuit 103 of block 101
The P1 shown) electrical connection, the universal input and output port (GPIO as shown in Figure 1) and alarm electricity of protenchyma networking module 101
The second output terminal (P2 as shown in Figure 1) on road 103 is electrically connected.
Specifically, as shown in Figure 1, the power input port (port VBAT as shown in figure 1) of protenchyma networking module 101
It is electrically connected with power module 104, is that the protenchyma networking module 101 provides power supply by power module 104, in addition, the protenchyma
Booting port (port PWRKEY as shown in figure 1) that there are one networking modules 101, the booting port and capacitor (as shown in Figure 1
C1 it) is electrically connected, (such as predetermined level value is level arrival predetermined level value of the booting port by capacitor C1 in the booting port
When 500ms), the protenchyma networking module 101 booting is triggered.
The power port electric connection of power supply module 104 of warning circuit 103 is warning circuit power supply by power module 104,
The input terminal of the warning circuit 103 is electrically connected key 102, and the first output end (P1 as shown in Figure 1) and interruptive port are (as schemed
The port PSM_EINT shown in 1) electrical connection, second output terminal P2 as shown in Figure 1 and universal input output end are (as shown in figure 1
Shown in GPIO) electrical connection.In the case where key 102 is in triggering state, the first output end exports the first trigger signal, the
Two output ends export the second trigger signal;Protenchyma networking module 101, for obtaining the first trigger signal by interruptive port,
And operating mode is switched to from battery saving mode under the triggering of the first trigger signal;Work is in protenchyma networking module 101
In the case where mode, the second trigger signal, and holding according to the second trigger signal of acquisition are obtained by universal input and output port
The continuous time determines alarm signal, and determining alarm signal is sent to alarm platform.
Specifically, protenchyma networking module 101 has communication function, (as shown in Figure 1 by the radio-frequency antenna of setting
The port RF, the port RF are electrically connected radio-frequency antenna) it realizes and the communication connection of base station.101 data of protenchyma networking module are usual
With both of which, i.e. battery saving mode and operating mode, under battery saving mode, Internet of Things 101 module dissipation in narrowband is very low, usually
Only 4uA.The GPIO port of protenchyma networking module 101 can be configured to internal pull-up level, i.e., GPIO port is by low electricity
Flat triggering.Similarly, interruptive port equally can be set to be triggered by low level.In the present embodiment by way of example only, real
In the application of border, the triggering mode of GPIO port and interruptive port that the protenchyma networking module 101 is set can according to need, this
Embodiment is restricted not to this.Each section completes connection in the warning device, after powering on, if key 102 is not triggered
In the case where, which is under battery saving mode, and interruptive port and GPIO port do not execute any operation;
In the case that key 102 is triggered, warning circuit 103 generates the first trigger signal and the second trigger signal, works as interruptive port
The first trigger signal is got, operating mode is switched to from battery saving mode under the triggering of the first trigger signal, in operating mode
Under, the duration of the second trigger signal is received according to GPIO port, determines alarm signal.
In one concrete implementation, protenchyma networking module 101 includes timer;It is in protenchyma networking module 101
In the case where operating mode, protenchyma networking module 101 opens timer, and statistics universal input and output port obtains the second triggering
The duration of signal;Duration is compared with preset time, if the duration is less than preset time and is greater than 0, really
Fixed first alarm signal, and the first determining alarm signal is sent to alarm platform, if the duration is greater than preset time,
It determines the second alarm signal, and the second determining alarm signal is sent to alarm platform;Wherein, the first alarm signal is for referring to
Show that the state that the warning device is actively triggered, the second alarm signal are used to indicate the impaired state of warning device.
It will illustrate that the warning device realizes the whole process of alarm below with a specific example.
For example, protenchyma networking module 101 is electrically connected with the completion of warning circuit 103 in the warning device, and power module
104 are electrically connected with the protenchyma networking module 101 and warning circuit 103 respectively, and the protenchyma networking module 101 is in key 102
In the case where not being triggered, be in battery saving mode, when key 102 is triggered, warning circuit 103 generate the first trigger signal and
Second trigger signal, interruptive port trigger the protenchyma networking module 101 from battery saving mode by the first trigger signal obtained
Operating mode is switched to, if GPIO port receives the time of the second trigger signal as T, and 0 < T < T0, then it is determined that the first report
Alert signal, is sent to alarm platform by radio-frequency antenna for first alarm signal, and alarm platform gets the first alarm signal,
You can learn that this time alarm is initiative alarming, this time alarm according to the processing strategie processing of initiative alarming.If preset time is T0,
If the time that GPIO port receives the second trigger signal is T, and T > T0, it is determined that the second alarm signal, and this second is reported
Alert signal is sent to alarm platform by radio-frequency antenna, and alarm platform gets the second alarm signal, you can learn that the alarm fills
In damaged condition (such as artificial destruction, apparatus structure loosen failure) is set, can be needed at this time damaged according to warning device
Strategy processing is this time alarmed.Certainly, preset time can be configured according to actual needs, be restricted herein not to this, example
Such as, the preset time can be set to 10 seconds.
In terms of existing technologies, in the warning device, protenchyma networking module is the report to embodiment of the present invention
Main power consumption module in alarm device, in the case where the key of warning circuit is not triggered, protenchyma networking module is in
Under battery saving mode, and in the case where being in battery saving mode due to protenchyma networking module, power consumption is very low, this is greatly lowered
The power consumption of entire warning device.Simultaneously as only one interruptive port of protenchyma networking module, for waking up narrowband Internet of Things
Module connects the first output port of interruptive port and warning circuit, the second of universal input and output port and warning circuit
Output port connection exports the first trigger signal by the first output port, and by narrowband Internet of Things in the case where key is triggered
Net module wakes up from battery saving mode, and second output terminal mouth exports the second trigger signal, enters Working mould in protenchyma networking module
In the case where formula, different alarm signals is determined by the second trigger signal, so that variety classes may be implemented in the warning device
Alarm, and since protenchyma networking module itself can be communicated with base station, without protenchyma networking module by alarm signal
Number it is sent to other communication module, alarm signal is sent by other communication module, thus reduced and upload alarm signal
To the time of alarm platform, alarm velocity is improved.
Second embodiment of the present invention is related to a kind of warning device.Second embodiment be to first embodiment into
One step is improved, and is mainly theed improvement is that: narrow before key 102 is in triggering state in second embodiment of the invention
Normal feedback signal is sent to alarm platform according to the interval period of setting with Internet of Things module 101.
In one concrete implementation, warning circuit 103 includes: resistance 1034, the first triode 1035, the second triode
1036 and key 102, the specific structure of the warning circuit 103 it is as shown in Figure 2, wherein in Fig. 2 power module 104 and alarm electricity
The specific connection on road 103 is not shown.
The input terminal of resistance 1034 is electrically connected with power module 104, the output end of resistance 1034 respectively with the first triode
The first end of 1035 base stage, the base stage of the second triode 1036 and key 102 is electrically connected, the transmitting of the first triode 1035
The emitter of pole and the second triode 1036 is grounded respectively, wherein the second end of key 102 is grounded;Interruptive port and the one or three
The collector of pole pipe 1035 is electrically connected, and is produced in the case where key 102 is in triggering state, obtaining the first triode 1035
The first raw trigger signal;Universal input and output port is electrically connected with the collector of the second triode 1036, in protenchyma
In the case that networking module 101 is in operating mode, the second trigger signal generated in the second triode is obtained.
Specifically, in the present embodiment, resistance 1034 is for avoiding in the case where key is in connection status, electricity
The case where road is shorted, thus, resistance 1034 can be selected according to practical application, for example, using in present embodiment
Resistance value is the resistance of 10K.First triode 1035 and the second triode 1036 can use NPN type, can also use PNP
Type.The warning circuit 103 and the protenchyma networking module 101 is described in detail in present embodiment by taking the triode of NPN type as an example
Working principle.
As shown in Fig. 2, in the case where not being triggered when key 102, the first triode 1035 and the second triode 1036
Base stage is low level, and first triode 1035 and the second triode 1036 do not turn on, the end GIPO of protenchyma networking module 101
Mouth and interruptive port are equivalent to vacantly, at this point, the protenchyma networking module 101 is in battery saving mode;It is triggered when key 102
In the case of (as shown in Figure 2), key 102 disconnects, the base stage of the base stage of the first triode 1035 and the second triode 1036
Level be raised, at this point, the conducting of the first triode 1035 and the second triode 1036, that is, protenchyma networking module 101
GPIO port is connected with interruptive port, and herein, the current signal (or voltage signal) of the collector of the first triode 1035 is
First trigger signal;The current signal (or voltage signal) of the collector of second triode 1036 is the second trigger signal.In
The protenchyma networking module 101 is switched to operating mode from battery saving mode by first trigger signal by interruptive port 1011, when
In the case that protenchyma networking module 101 is in operating mode, the timer in the protenchyma networking module 101 is opened, is counted
The GPIO port persistently receives the time of the second trigger signal.According to the duration of statistics, alarm signal is determined, and should
Determining alarm signal reports to alarm platform.
In one concrete implementation, before key 102 is in triggering state, the protenchyma networking module 101 with communicate
Communication connection is established in base station, and determines that the protenchyma networking module 101 enters the interval period of operating mode from battery saving mode;It is narrow
Band Internet of Things module 101 sends the feedback signal of normal condition to alarm platform every interval period.
Specifically, when in the warning device various pieces connection finish, after powering on, be not triggered it in key 102
Before, protenchyma networking module 101, which needs to establish with communication base station in advance, to be communicated to connect, and negotiates the narrowband Internet of Things from province with base station
Power mode switches to the interval period of operating mode, and interval period can be to be configured according to actual needs.The narrowband Internet of Things
Net module 101 switches to operating mode from battery saving mode every the interval period, which can pass through the narrowband Internet of Things
Timer (such as T3412) in module is realized.Protenchyma networking module 101 enters operating mode at this time, sends to alarm platform
Normal feedback signal will be in the feedback information of normal condition, avoid by being communicated once with base station with the fixed intervals period
Alarm platform loses the monitoring to the warning device.
The warning device provided in present embodiment, warning circuit are generated by resistance, the first triode, the second triode
First trigger signal and the second trigger signal, the realization of the warning circuit is simple, reduces the cost of warning circuit.In addition,
Before key is triggered, protenchyma networking module and communication base station are established and are communicated to connect, and determine the narrowband Internet of Things from power saving mould
Formula switches to the interval period of operating mode, by communicating once with base station with the fixed intervals period, will be in normal condition
Feedback information avoids alarm platform from losing the monitoring to the warning device.
Third embodiment of the invention is related to a kind of warning device, and present embodiment is to the further of second embodiment
It improves, mainly thes improvement is that: in present embodiment, warning circuit 103 further include: third transistor 1037 and trigger device
1038.The specific structure is shown in FIG. 3 for the warning device:
Warning circuit 103 further include: third transistor 1037 and trigger device 1038;The output end of trigger device 1038 with
The base stage of third transistor 1037 is electrically connected, and interruptive port is electrically connected with the collector of third transistor 1037, third transistor
1037 emitter ground connection;Interruptive port is used in the case where trigger device 1038 is in triggering state, obtains the three or three pole
The third trigger signal that pipe 1037 generates, protenchyma networking module 101 are cut under the triggering of third trigger signal from battery saving mode
Shift to operating mode;Protenchyma networking module 101 is also used to: if receiving third trigger signal, and not receiving the second triggering
Signal, it is determined that the first alarm signal, and the first alarm signal is sent to alarm platform, the first alarm signal is used to indicate this
The state that warning device is actively triggered.
Specifically, trigger device 1038 can be sensor, for example, smoke sensor device, infrared sensor etc..Work as triggering
After device 1038 is triggered, output signal, and then third transistor 1037 is connected, so that the interruption of protenchyma networking module 101
Port obtains the third trigger signal of the generation of third transistor 1037, believes at this point, protenchyma networking module 101 is triggered in third
Number triggering under from battery saving mode switch to operating mode, if key 102 does not trigger, which will not
The second trigger signal is received, then the protenchyma networking module 101 can determine that this time triggering is the first alarm signal, and should
First alarm signal is sent to alarm platform.
It is understood that third transistor 1037 is connected, protenchyma networking module 101 receives third trigger signal,
If key 102 is triggered simultaneously, then determining alarm signal also according to the mode in first embodiment or second embodiment
Number, i.e., protenchyma networking module 101 receives third trigger signal, operating mode is switched to from battery saving mode, meanwhile, key
101 are triggered, and start timer, and statistics GPIO port obtains the duration of the second trigger signal, if duration and default
Time is compared, the duration be less than preset time and be greater than 0, it is determined that be the first alarm signal, if the duration and it is default when
Between compare, the duration be greater than preset time, it is determined that be the second alarm signal.
A kind of warning device that present embodiment provides increases the warning device by third transistor and trigger device
The mode of another kind triggering alarm improves the applicability of the warning device to provide a variety of type of alarms.
Four embodiment of the invention is related to a kind of method of alarm, applied to the narrowband Internet of Things mould in warning device
The detailed process of block, the alarm method is as shown in Figure 4.
Protenchyma networking module in present embodiment is electrically connected with warning circuit, and the power module in warning device point
It is not electrically connected the protenchyma networking module and warning circuit, includes key in warning circuit, passes through the triggering of key, alarm electricity
Road generates the first trigger signal and the second trigger signal.Protenchyma networking module, power module and the report in present embodiment
The connection relationship of alert circuit is roughly the same with the warning device in first embodiment or second embodiment, no longer superfluous herein
It states.
Step 401: obtaining the first trigger signal.
Specifically, the interruptive port of the protenchyma networking module is for obtaining the first trigger signal.
Step 402: under the triggering of the first trigger signal, switching to operating mode from battery saving mode.
Specifically, interruptive port obtain the first trigger signal, under the triggering of the first signal, protenchyma networking module from
Battery saving mode switches to operating mode.
Step 403: in the case where being in operating mode, obtaining the second trigger signal, wherein the first trigger signal and the
Two trigger signals are that warning circuit is generated in the case where key is in triggering state.
Specifically, protenchyma networking module is logical in the protenchyma networking module in the case where being in operating mode
The second trigger signal is obtained with input/output port.
Step 404: according to the duration for obtaining the second trigger signal, determining alarm signal.
In one concrete implementation, statistics obtains the duration of the second trigger signal;By duration and preset time
It being compared, if the duration is less than preset time and is greater than 0, it is determined that the first alarm signal determines the first alarm signal, if
Duration is greater than preset time, it is determined that the second alarm signal;Wherein, the first alarm signal is used to indicate warning device and is led
The state of dynamic triggering, the second alarm signal are used to indicate the impaired state of warning device.
Specifically, in the case where the protenchyma networking module is in operating mode, timer is opened, statistics persistently obtains
The duration of statistics is compared by the time for taking the second trigger signal with the preset time, according to comparison result, determines
One alarm signal, and the first alarm signal is sent to alarm platform, similarly, however, it is determined that be the second alarm signal, then by this
Two alarm signals are sent to alarm platform.It should be noted that the first alarm signal and the second alarm signal can be stored in advance
In the protenchyma networking module.
Step 405: and determining alarm signal is sent to alarm platform.
Specifically, protenchyma networking module immediately reports the first alarm signal or second after alarm signal has been determined
Alert signal invention prevents the opportunity for affecting processing alarm signal adversely to alarm platform, it is ensured that and alarm signal is sent with most fast speed,
So that it is guaranteed that the timeliness of alarm.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
It is not difficult to find that present embodiment is embodiment of the method corresponding with first embodiment, present embodiment can be with
First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
Fifth embodiment of the invention is related to a kind of method of alarm.5th embodiment be to the 4th embodiment into
One step is improved, and is mainly theed improvement is that: in fifth embodiment of the invention, before obtaining the first trigger signal, every
Determining interval period sends the feedback signal of normal condition to alarm platform.The detailed process of the alarm method such as Fig. 5 institute
Show.
Step 501: establishing and communicate to connect with communication base station, and determine when entering the interval of operating mode from battery saving mode
Section.
Specifically, contain the protenchyma networking module warning device power on after, first established with communication base station logical
Letter connection, and according to actual needs, the interval period which switches to operating mode from battery saving mode is set.
It can of course be realized by timer in the protenchyma networking module, such as timer T3412.
Step 502: every interval period, the feedback signal of normal condition is sent to alarm platform.
Specifically, out of touch to the protenchyma networking module in warning device in order to avoid losing, when interval
Section, which switches to operating mode from battery saving mode, and the feedback signal of normal condition is sent to alarm
Platform.It is understood that the protenchyma networking module is not after the feedback signal for sending normal condition to alarm platform
In the case where receiving manipulation instruction, battery saving mode is switched to from operating mode.For example, at the T1 moment, protenchyma networking module
The feedback signal of normal condition is sent to alarm platform, within T1~T2 period, which does not receive any
Operational order, then, the protenchyma networking module switch to battery saving mode.
Step 503: obtaining the first trigger signal.
Step 504: under the triggering of the first trigger signal, switching to operating mode from battery saving mode.
Step 505: in the case where being in operating mode, obtaining the second trigger signal, wherein the first trigger signal and the
Two trigger signals are that warning circuit is generated in the case where key is in triggering state.
Step 506: according to the duration for obtaining the second trigger signal, determining alarm signal.
The alarm method that present embodiment provides will be in normal by being communicated once with base station with the fixed intervals period
The feedback information of state avoids alarm platform from losing the monitoring to the warning device.
Step 507: and determining alarm signal is sent to alarm platform.
It should be noted that step 401 of the step 503 into step 507 and third embodiment in present embodiment
It is roughly the same to step 405, it will no longer repeat herein.
Since second embodiment is corresponded to each other with present embodiment, present embodiment can be mutual with second embodiment
Match implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, implement second
The attainable technical effect of institute similarly may be implemented in the present embodiment in mode, no longer superfluous here in order to reduce repetition
It states.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
Sixth embodiment of the invention is related to a kind of method of alarm.Sixth embodiment be to the 5th embodiment into
One step is improved, and is mainly theed improvement is that:, can also third trigger signal based on the received in sixth embodiment of the invention
And second trigger signal, determine alarm signal.The detailed process of the alarm method is as shown in Figure 6.
Step 601: establishing and communicate to connect with communication base station, and determine when entering the interval of operating mode from battery saving mode
Section.
Step 602: every interval period, the feedback signal of normal condition is sent to alarm platform.
Step 603: obtaining third trigger signal.
Specifically, after the trigger device in warning circuit is triggered, the third transistor in warning circuit generates third
Trigger signal, the interruptive port of the protenchyma networking module obtain the third trigger signal.
Step 604: under the triggering of third trigger signal, switching to operating mode from battery saving mode.
Specifically, interruptive port obtain third trigger signal, under the triggering of third signal, protenchyma networking module from
Battery saving mode switches to operating mode.
Step 605: if it is determined that receiving the third trigger signal, and not receiving second trigger signal, it is determined that the
One alarm signal.
Specifically, protenchyma networking module judges whether the GPIO port connects in the case where being in operating mode
The second trigger signal is received, i.e., if it is determined that the duration for obtaining the second trigger signal is zero, it is determined that the GPIO port does not connect
The second trigger signal is received, then the protenchyma networking module can determine that alarm signal is the first alarm signal, i.e. the alarm fills
It sets in the state actively triggered.
Step 606: and determining alarm signal is sent to alarm platform.
It should be noted that step of the step 601 into step 602, step 606 and the 5th embodiment in present embodiment
Rapid 501 to step 502,507 roughly the same, and present embodiment repeats no more, wherein in present embodiment after step 605 and
It can be executed before step 606 such as the step 503 in the 5th embodiment to step 506;It is, of course, also possible in step 602
It executes later and executes step 603 in present embodiment such as the step 503 in the 5th embodiment to step 506 later to step
Rapid 606.
Since third embodiment is corresponded to each other with present embodiment, present embodiment can be mutual with third embodiment
Match implementation.The relevant technical details mentioned in third embodiment are still effective in the present embodiment, implement in third
The attainable technical effect of institute similarly may be implemented in the present embodiment in mode, no longer superfluous here in order to reduce repetition
It states.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in third embodiment.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of warning device characterized by comprising protenchyma networking module, the warning circuit and electricity for being equipped with key
Source module, the power module are electrically connected with the warning circuit and the protenchyma networking module respectively;
The interruptive port of the protenchyma networking module is electrically connected with the first output end of the warning circuit, the narrowband Internet of Things
The universal input and output port of net module is electrically connected with the second output terminal of the warning circuit;
In the case where the key is in triggering state, first output end exports the first trigger signal, and described second is defeated
Outlet exports the second trigger signal;
The protenchyma networking module, for obtaining first trigger signal by the interruptive port, and described first
Operating mode is switched to from battery saving mode under the triggering of trigger signal;
In the case where the protenchyma networking module is in the operating mode, obtained by the universal input and output port
Second trigger signal, and alarm signal is determined according to the duration for obtaining second trigger signal, by determining report
Alert signal is sent to alarm platform.
2. warning device according to claim 1, which is characterized in that the protenchyma networking module includes timer;
In the case where the protenchyma networking module is in the operating mode, the protenchyma networking module is specifically used for:
Timer is opened, the duration that the universal input and output port obtains second trigger signal is counted;
The duration is compared with preset time, if the duration is less than preset time and is greater than 0, determines the
One alarm signal, and determining first alarm signal is sent to the alarm platform, if the duration is greater than institute
State preset time, it is determined that the second alarm signal, and determining second alarm signal is sent to the alarm platform;
Wherein, first alarm signal is used to indicate the state that the warning device is actively triggered, second alarm signal
Number it is used to indicate the impaired state of the warning device.
3. warning device according to claim 1 or 2, which is characterized in that the warning circuit includes: resistance, the one or three
Pole pipe, the second triode and the key;
The input terminal of the resistance is electrically connected with the power module, the output end of the resistance respectively with first triode
Base stage, the electrical connection of the first end of the base stage of the second triode and the key, the emitter of first triode and institute
The emitter for stating the second triode is grounded respectively, wherein the second end of the key is grounded;
The interruptive port is electrically connected with the collector of first triode, for being in the feelings of triggering state in the key
Under condition, first trigger signal that first triode generates is obtained;
The universal input and output port is electrically connected with the collector of second triode, in the narrowband Internet of Things mould
In the case that block is in the operating mode, second trigger signal generated in second triode is obtained.
4. warning device according to claim 1 or 2, which is characterized in that the key is mechanical switch, the key
Triggering state is the state disconnected.
5. warning device according to claim 3, which is characterized in that the warning circuit further include: third transistor and
Trigger device;
The output end of the trigger device is electrically connected with the base stage of the third transistor, the interruptive port and the described 3rd 3
The collector of pole pipe is electrically connected, the emitter ground connection of the third transistor;
The interruptive port is used in the case where the trigger device is in triggering state, is obtained the third transistor and is generated
Third trigger signal, the protenchyma networking module switches to institute from battery saving mode under the triggering of the third trigger signal
State operating mode;
The protenchyma networking module is also used to: if receiving the third trigger signal, and not receiving second triggering
Signal, it is determined that the first alarm signal, and first alarm signal is sent to the alarm platform, first alarm signal
Number it is used to indicate the state that the warning device is actively triggered.
6. warning device according to claim 3, which is characterized in that described before the key is in triggering state
Protenchyma networking module is also used to:
It establishes and communicates to connect with communication base station, and determine that the protenchyma networking module enters between operating mode from battery saving mode
Every the period;
The protenchyma networking module sends the feedback signal of normal condition every the interval period, Xiang Suoshu alarm platform.
7. warning device according to claim 5, which is characterized in that the trigger device is sensor.
8. a kind of method of alarm, which is characterized in that be applied to protenchyma networking module, comprising:
Obtain the first trigger signal;
Under the triggering of first trigger signal, operating mode is switched to from battery saving mode;
In the case where being in the operating mode, the second trigger signal is obtained, wherein first trigger signal and described the
Two trigger signals are that warning circuit is generated in the case where key is in triggering state;
According to the duration for obtaining second trigger signal, alarm signal is determined;
And determining alarm signal is sent to alarm platform.
9. the method for alarm according to claim 8, which is characterized in that according to continuing for acquisition second trigger signal
Time determines alarm signal, specifically includes:
Statistics obtains the duration of second trigger signal;
The duration is compared with preset time, if the duration is less than preset time and is greater than 0, determines the
One alarm signal, if the duration is greater than the preset time, it is determined that the second alarm signal;
Wherein, first alarm signal is used to indicate the state that the key is actively triggered, and second alarm signal is used
In the instruction impaired state of warning device.
10. the method for alarm according to claim 9, which is characterized in that before obtaining the first trigger signal, alarm
Method further include:
It establishes and communicates to connect with communication base station, and determine the interval period for entering operating mode from battery saving mode;
Every the interval period, Xiang Suoshu alarm platform sends the feedback signal of normal condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811216415.7A CN109600736B (en) | 2018-10-18 | 2018-10-18 | Alarm device and alarm method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811216415.7A CN109600736B (en) | 2018-10-18 | 2018-10-18 | Alarm device and alarm method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109600736A true CN109600736A (en) | 2019-04-09 |
CN109600736B CN109600736B (en) | 2021-11-23 |
Family
ID=65958035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811216415.7A Active CN109600736B (en) | 2018-10-18 | 2018-10-18 | Alarm device and alarm method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109600736B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2089503U (en) * | 1990-08-30 | 1991-11-27 | 戴世钧 | Reed alarm lock |
CN103795775A (en) * | 2012-10-29 | 2014-05-14 | 三星电子株式会社 | Alarm operation method and mobile terminal supporting the same |
CN104464136A (en) * | 2013-09-23 | 2015-03-25 | 深圳市海洋王照明工程有限公司 | Infrared alarm control circuit |
CN206497558U (en) * | 2016-12-29 | 2017-09-15 | 东莞亿动智能科技有限公司 | Ship, underwater propeller, single-button Digiplex and its individual palpation key circuit |
CN107157459A (en) * | 2017-07-03 | 2017-09-15 | 李凤麟 | A kind of wearable smart machine and intelligent rescue system |
CN206805735U (en) * | 2017-04-13 | 2017-12-26 | 上海昊想智能科技有限公司 | Intelligent base and fire alarm installation |
-
2018
- 2018-10-18 CN CN201811216415.7A patent/CN109600736B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2089503U (en) * | 1990-08-30 | 1991-11-27 | 戴世钧 | Reed alarm lock |
CN103795775A (en) * | 2012-10-29 | 2014-05-14 | 三星电子株式会社 | Alarm operation method and mobile terminal supporting the same |
CN104464136A (en) * | 2013-09-23 | 2015-03-25 | 深圳市海洋王照明工程有限公司 | Infrared alarm control circuit |
CN206497558U (en) * | 2016-12-29 | 2017-09-15 | 东莞亿动智能科技有限公司 | Ship, underwater propeller, single-button Digiplex and its individual palpation key circuit |
CN206805735U (en) * | 2017-04-13 | 2017-12-26 | 上海昊想智能科技有限公司 | Intelligent base and fire alarm installation |
CN107157459A (en) * | 2017-07-03 | 2017-09-15 | 李凤麟 | A kind of wearable smart machine and intelligent rescue system |
Also Published As
Publication number | Publication date |
---|---|
CN109600736B (en) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201341258Y (en) | Intelligent network type LED lamp management system | |
CN201142013Y (en) | Monitoring and warning system of outdoor advertising lamp board | |
CN105258103A (en) | Full-automatic boiler intelligent warning prompt system and method | |
CN205281222U (en) | Sewage treatment's remote monitering system | |
CN206522012U (en) | A kind of intelligent door lock system for realizing Pickproof alarm function | |
CN109600736A (en) | A kind of method of warning device and alarm | |
CN206021494U (en) | A kind of Intelligent internet of things monitoring and warning main frame | |
CN105116778A (en) | Dry contact conversion module and control system and method therefor | |
CN103093565B (en) | Door magnetic anti-theft alarming device based on Zigbee | |
CN204904004U (en) | Dry contact conversion module and control system thereof | |
CN201111697Y (en) | Anti-theft alarm using wireless network | |
CN108063711A (en) | A kind of things-internet gateway controller | |
CN205451425U (en) | Domestic security alarm | |
CN107975910A (en) | A kind of monitoring system of central air-conditioning | |
CN208241794U (en) | A kind of intelligent signal interruption alarm device | |
CN205827627U (en) | wireless charging intelligent alarm host | |
CN203242144U (en) | Wireless network alarm system | |
CN206389383U (en) | A kind of intelligent domestic gateway with background music | |
CN201207216Y (en) | Joint defense alarm having anti-theft function | |
CN104346908A (en) | Armed police sentry post linkage alarming system based on ZIGBEE | |
CN206741635U (en) | A kind of simple low-power consumption warning device of Internet of Things | |
CN211015871U (en) | Anti-theft heating device and system applied to heating system | |
CN208778259U (en) | A kind of intelligence chemical water pump | |
CN218446942U (en) | Intelligent alarm gateway system compatible with self-generating functional module | |
CN2031952U (en) | Damage-proof alarm device with signal identification |
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 |