CN104658186B - A kind of method and system of intelligent alarm - Google Patents
A kind of method and system of intelligent alarm Download PDFInfo
- Publication number
- CN104658186B CN104658186B CN201510062168.XA CN201510062168A CN104658186B CN 104658186 B CN104658186 B CN 104658186B CN 201510062168 A CN201510062168 A CN 201510062168A CN 104658186 B CN104658186 B CN 104658186B
- Authority
- CN
- China
- Prior art keywords
- signal strength
- wireless signal
- terminal
- module
- connection
- 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
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/0202—Child monitoring systems using a transmitter-receiver system carried by the parent and the child
- G08B21/0236—Threshold setting
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/0202—Child monitoring systems using a transmitter-receiver system carried by the parent and the child
- G08B21/0277—Communication between units on a local network, e.g. Bluetooth, piconet, zigbee, Wireless Personal Area Networks [WPAN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
The invention discloses a kind of method and system of intelligent alarm, methods described includes:First terminal is set up short haul connection and is connected with second terminal, obtain the wireless signal strength of the short-distance wireless communication connection, if the current wireless signal strength for obtaining is less than default wireless signal strength alarm threshold value, read the last wireless signal strength for obtaining of storage, according to the current wireless signal strength for obtaining and the last wireless signal strength for obtaining, the attenuation ratio of wireless signal strength is obtained, if the attenuation ratio is less than default proportion threshold value, alarm is sent.Two terminal of the invention is connected by setting up short haul connection, realize communication or the interaction of information, by the attenuation ratio of wireless signal strength, judge surrounding environment interference or both sides' distance exceedes prompting scope really, the accuracy of alarm is greatly enhanced, the possibility of erroneous judgement is reduced as far as possible.
Description
Technical field
The present invention relates to wireless communications application technical field, more particularly to a kind of method and system of intelligent alarm.
Background technology
Today's society, with the development of science and technology, wireless communication technology is also further ripe, due to its convenience, radio communication
Using quite varied, and progressively replace wire communication in multiple fields.Wireless communication technology has been deep into people's life and work
The various aspects of work, including mobile phone used in everyday, radio telephone etc., (3rd-Generation, third generation movement is logical for wherein 3G
Letter technology), WLAN (Wireless Local Area Networks, WLAN), bluetooth, broadband satellite system, number
Word TV etc. is all the application of 21 century most popular wireless communication technology.Wherein, bluetooth is due to its low-power consumption, efficient data biography
The characteristic such as defeated, connective stability is high, using quite varied.
Children's location watch possesses bluetooth and follows function mostly, and it is using the low-power consumption of bluetooth that bluetooth follows the principle of function
With connection distance property, when between two terminals that wireless communication connection is set up by bluetooth at a distance of more than a certain distance, meeting
Automatic alarm reminds connection both sides, prevents hypertelorism, the problems such as cause child to lose.
In the prior art, some are compared with complex environment, such as market, and the detection factors of market the inside interference signal are a lot, small
When child is near the article or commodity of some influence signals, wireless signal strength can decay quickly, and erroneous judgement can be caused to remind,
Cause the serious discontented of functional experience.
The content of the invention
The embodiment of the present invention provides a kind of method and system of intelligent alarm to solve above technical problem.
It is that, up to this purpose, the present invention uses following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of method of intelligent alarm, including:
First terminal is set up short haul connection and is connected with second terminal;
Obtain the wireless signal strength of the short-distance wireless communication connection;
If the current wireless signal strength for obtaining is less than default wireless signal strength alarm threshold value, upper the one of storage is read
The wireless signal strength of secondary acquisition;
According to the current wireless signal strength for obtaining and the last wireless signal strength for obtaining, wireless signal is obtained strong
The attenuation ratio of degree;
If the attenuation ratio is less than default proportion threshold value, alarm is sent.
Preferably, the step:Obtain after the wireless signal strength of the short-distance wireless communication connection, also include:
Judge whether the current wireless signal strength for obtaining is less than default wireless signal strength alarm threshold value;
If so, reading the last wireless signal strength for obtaining of storage;
Otherwise, return to step:Obtain the wireless signal strength of the short-distance wireless communication connection.
Preferably, the step:It is strong according to the current wireless signal strength for obtaining and the last wireless signal for obtaining
Degree, obtains after the attenuation ratio of wireless signal strength, also includes:
Judge the attenuation ratio whether less than default proportion threshold value;
If so, sending alarm;
Otherwise, detect whether the short haul connection connection disconnects.
Preferably, the step:After detecting whether the short haul connection connection disconnects, also include:
If the short haul connection connection disconnects, start timing;
If the short haul connection connection does not disconnect, the current translational speed of second terminal is obtained.
Preferably, the step:If the short haul connection connection disconnects, start after timing, also include:
The link setup signal that the short haul connection is connected is sent to second terminal;
Detect whether to receive the return signal for responding the link setup signal that second terminal sends;
If so, re-establish short haul connection with second terminal being connected;It is back to step:The short-distance wireless is obtained to lead to
Believe the wireless signal strength of connection;
Otherwise, a timing duration is obtained;
The step:Obtain after a timing duration, also include:
Judge the timing duration whether more than default time threshold;
If so, sending alarm;
Otherwise, return to step:The link setup signal that the short haul connection is connected is sent to second terminal.
Preferably, the step:If the short haul connection connection does not disconnect, the current translational speed of second terminal is obtained
Afterwards, also include:
Judge the current translational speed of second terminal whether more than default threshold speed;
If so, sending alarm;
Otherwise, return to step:Obtain the wireless signal strength of the short-distance wireless communication connection.
Preferably, the step:First terminal and second terminal are set up before short-distance wireless communication is connected, and are also included:
Pre-set a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
Preferably, the step:First terminal is set up short-distance wireless communication and is connected with second terminal, specially:
First terminal is set up short-distance wireless communication and is connected with second terminal by bluetooth.
Second aspect, the embodiment of the present invention provides a kind of system of intelligent alarm, including:First terminal and second terminal;
The first terminal includes:
First communication connection module, is connected for setting up short haul connection with second terminal;
Wireless signal strength acquisition module, the wireless signal strength for obtaining the short-distance wireless communication connection;
Memory, for storing the wireless signal strength for obtaining;
Numerical value processing module, for obtaining presently described short-distance wireless communication from the wireless signal strength acquisition module
The wireless signal strength of connection;If the wireless signal strength for being additionally operable to current acquisition is less than default wireless signal strength warning level
Value, reads the last wireless signal strength for obtaining of storage from the memory;It is additionally operable to according to the wireless of current acquisition
Signal intensity and the last wireless signal strength for obtaining, obtain the attenuation ratio of wireless signal strength;If being additionally operable to described
Attenuation ratio is less than default proportion threshold value, and alarm control signal is sent to the first alarm module;
First alarm module, if for receiving the alarm control signal, sending alarm.
Preferably, whether the numerical value processing module is additionally operable to judge the wireless signal strength of current acquisition less than default
Wireless signal strength alarm threshold value;If so, reading the last wireless signal strength for obtaining of storage from the memory;It is no
Then, continue to obtain the wireless signal strength that the short-distance wireless communication is connected from the wireless signal strength acquisition module.
Preferably, whether the numerical value processing module is additionally operable to judge the attenuation ratio less than default proportion threshold value;
If so, sending alarm control signal to first alarm module;Otherwise, the first communication connection module described in real-time reception sends
Notification signal;
First communication connection module is additionally operable to whether short haul connection connection described in real-time detection disconnects;If so, to
The numerical value processing module sends the notification signal of the state that disconnects;Otherwise, sent to the numerical value processing module and normally connected
Connect the notification signal of state.
Preferably, first terminal also includes clock module and speed acquiring module;Second terminal includes the second communication connection
Module and speed monitoring module;
Second communication connection module is connected for setting up short haul connection with first terminal;
The speed monitoring module is used for the current translational speed of real-time monitoring second terminal;
The speed acquiring module is used to be obtained from the speed monitoring module in real time by first communication connection module
Take the current translational speed of second terminal;
If the numerical value processing module is additionally operable to receive the notification signal of the state of disconnecting, sent to the clock module
Start the notification signal of timing;If being additionally operable to receive the notification signal of normal connection status, obtained from the speed acquiring module
The current translational speed of second terminal;
The clock module is used for after the notification signal for starting timing is received, and starts timing.
Preferably, first communication connection module is additionally operable to after the short haul connection connection disconnection is detected, to
Second terminal sends the link setup signal of the short haul connection connection;
First communication connection module is additionally operable to sending the link setup letter that the short haul connection is connected to second terminal
After number, detect whether to receive the return signal of the response link setup signal of second terminal transmission;If so, with second terminal again
Set up short haul connection connection;Otherwise, the notification signal of connection failure is sent to the numerical value processing module;
If the numerical value processing module is additionally operable to receive the notification signal of connection failure, obtain current from the clock module
Timing duration;Whether it is additionally operable to judge the timing duration more than default time threshold;If so, being sent out to the first alarm module
Send alarm control signal;Otherwise, notify that first communication connection module continues to send the short haul connection to second terminal
The link setup signal of connection.
Preferably, whether the numerical value processing module is additionally operable to judge the current translational speed of second terminal more than default
Threshold speed;If so, sending alarm control signal to the first alarm module;Otherwise, continue to be obtained from the wireless signal strength
Module obtains the wireless signal strength of presently described short-distance wireless communication connection.
Preferably, first terminal also include threshold setting module, for pre-set a wireless signal strength alarm threshold value,
One proportion threshold value, a time threshold and a threshold speed.
Preferably, first communication connection module and second communication connection module are Bluetooth function module;
First terminal is set up short-distance wireless communication and is connected with second terminal by bluetooth.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought:Two terminal of the invention is by setting up short distance
Communication connection, realizes communication or the interaction of information, the speed of combining wireless signal intensity and second terminal, judges it is around ring
Border interference or really both sides' distance exceed reminds scope, greatly enhances the accuracy of alarm, reduces as far as possible
The possibility of erroneous judgement.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, institute in being described to the embodiment of the present invention below
The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also implement according to the present invention
The content and these accompanying drawings of example obtain other accompanying drawings.
Fig. 1 is the block diagram of the system of the intelligent alarm that first embodiment is provided.
Fig. 2 is the method flow diagram of the intelligent alarm that first embodiment is provided.
In figure:10th, first terminal;20th, second terminal;11st, the first communication connection module;12nd, wireless signal strength is obtained
Module;13rd, numerical value processing module;14th, speed acquiring module;15th, clock module;16th, memory;17th, threshold setting module;
18th, the first alarm module;21st, the second communication connection module;22nd, the second alarm module;23rd, speed monitoring module.
Specific embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below
The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Fig. 1 is refer to, Fig. 1 is the block diagram of the system of the intelligent alarm that first embodiment is provided.The system includes:
First terminal 10 and second terminal 20.
First terminal 10 includes:First communication connection module 11, wireless signal strength acquisition module 12, numerical value processing module
13rd, speed acquiring module 14, clock module 15, memory 16, the alarm module 18 of threshold setting module 17 and first.Second eventually
End 20 includes:Second communication connection module 21, the second alarm module 22 and speed monitoring module 23.
Specifically, the first communication connection module 11 and the second communication connection module 21 are bluetooth module, for by indigo plant
Tooth makes first terminal 10 and second terminal 20 set up short haul connection connection, realizes data and information exchange.
Specifically, threshold setting module 17 is used to pre-set a wireless signal strength alarm threshold value, a proportion threshold value, one
Time threshold and a threshold speed.
Specifically, wireless signal strength acquisition module 12 is used for the wireless communication of real-time sampling short-distance wireless communication connection
Number intensity;Memory 16 is used to store the wireless signal strength for obtaining.
During work, numerical value processing module 13 is used to obtain the current short-distance wireless from wireless signal strength acquisition module 12
The wireless signal strength of communication connection, and judge whether the current wireless signal strength for obtaining is less than default wireless signal strength
Alarm threshold value;If so, reading the last wireless signal strength for obtaining of storage from memory 16;Otherwise, from wireless signal
Intensity acquisition module 12 continues to obtain the wireless signal strength of short-distance wireless communication connection.
Wherein, numerical value processing module 13 periodically obtains the short-distance wireless and leads to from wireless signal strength acquisition module 12
The wireless signal strength of connection is believed, in the present embodiment, because carrying the translational speed of the people of first terminal 10 or second terminal 20
Too remote distance will not can not be run out of in 1,2 seconds quickly, so not needing numerical value processing module 13 simultaneously to wireless signal strength reality
When monitoring could realize following function between two terminals, be ensure terminal electric energy saving, ensure realize follow function
On the basis of, the acquisition cycle that can set the wireless signal strength of numerical value processing module 13 is 30 milliseconds, i.e. numerical value processing module 13
The wireless signal strength that the short-distance wireless communication is connected is obtained to wireless signal strength acquisition module 12 every 30 milliseconds, is used
The setting, you can ensure to follow the realization of function.
More specifically, numerical value processing module 13 is additionally operable to according to the current wireless signal strength for obtaining and last acquisition
Wireless signal strength, obtain wireless signal strength attenuation ratio;Whether it is additionally operable to judge the attenuation ratio less than default
Proportion threshold value;If so, sending alarm control signal to the first alarm module 18;Otherwise, obtained from the first communication connection module 11
The connection status of current short haul connection connection;Wherein, the connection status of short haul connection connection includes normal connection
State and disconnect state.
In the present embodiment, proportion threshold value is set to 50%.It is generally acknowledged that the attenuation ratio of wireless signal strength is more than 50%
When, it is believed that be that the interference for receiving extraneous signal causes, at this time, it may be necessary to further follow-up second terminal 20 translational speed carry out it is comprehensive
Close and judge.
When the attenuation ratio of wireless signal strength is more than default proportion threshold value, it is necessary first to detect that short haul connection connects
Connect and whether disconnect.
Specifically, the first communication connection module 11 is additionally operable to whether real-time detection short haul connection connection disconnects;If so,
The notification signal of the state that disconnects is sent to numerical value processing module 13;Otherwise, normal connection is sent to numerical value processing module 13
The notification signal of state.
Second communication connection module 21 is connected for setting up short haul connection with first terminal 10;Speed monitoring module 23 is used
In the current translational speed of real-time monitoring second terminal 20;Speed acquiring module 14 is used for real by the first communication connection module 11
When obtain the current translational speed of second terminal 20 from speed monitoring modular 23, and real-time monitoring and obtain first terminal 10 and work as
Preceding translational speed.
If numerical value processing module 13 is additionally operable to receive the notification signal of the state of disconnecting, is sent to clock module 15 and started
The notification signal of timing;Clock module 15 is used for after the notification signal for starting timing is received, and starts timing.
Specifically, the first communication connection module 11 is additionally operable to detecting after short haul connection connection disconnects, to the
Two terminals 20 send the link setup signal of the short haul connection connection;First communication connection module 11 is additionally operable to second terminal
After the 20 link setup signals for sending the short haul connection connection, detect whether to receive the response of the transmission of second terminal 20 link setup letter
Number return signal;If so, re-establish short haul connection with second terminal 20 being connected;Otherwise, sent out to numerical value processing module 13
Send the notification signal of connection failure.
If numerical value processing module 13 is additionally operable to receive the notification signal of connection failure, current meter is obtained from clock module 15
Shi Shichang;Whether it is additionally operable to judge the timing duration more than default time threshold;If so, being sent to the first alarm module 18
Alarm control signal;Otherwise, notify that the first communication connection module 11 continues to send the short haul connection company to second terminal 20
The link setup signal for connecing.
In the present embodiment, if the short haul connection disconnects suddenly being reconnected, it is necessary to immediately carry out chain rupture, as master terminal
First terminal 10 starts to send the link setup signal or terminal searches signal of the short haul connection connection, to search second terminal
20, when the return signal for receiving second terminal 20 again or after search second terminal 20 again, enter again with second terminal 20
Row link setup, re-establishes short haul connection connection.
In the present embodiment, in order to ensure the safety of child, should not long timi requirement less than carrying second terminal 20
The distance between child and first terminal 10.Specifically, threshold setting module 17 pre-sets a time threshold, can be as needed
It is set to 2 seconds, 4 seconds or 5 seconds etc..When short haul connection connection is re-established more than the time threshold, to the first alarm module
18 send alarm control signal, and the first alarm module 18 of control sends alarm.
In the present embodiment, first terminal 10 and second terminal 20 also include 3G communications (3rd-Generation, third generation shifting
The dynamic communication technology) module.For the transmission of information or signal in two terminals when short haul connection is disconnected.
First alarm module 18 is additionally operable to after alarm is sent, if now two terminals disconnect short haul connection connection, is led to
Cross 3G module and send an alarm control signal to second terminal 20, the second alarm module 22 is additionally operable to receiving the first alarm mould
After the alarm control signal that block 18 sends, alarm is sent.If now two terminals do not disconnect short haul connection connection, by described short
Distance communication is connected and sends an alarm control signal to second terminal 20, and the second alarm module 22 is additionally operable to receiving the first report
After the alarm control signal that alert module 18 sends, alarm is sent.
When the attenuation ratio of wireless signal strength is more than default proportion threshold value, if short haul connection connection does not disconnect,
Need the translational speed for determining whether second terminal 20 whether too fast, because the decrease fast of signal this period, if child
Son is run too fast, is likely to result in position of the positioning less than child or distance, causes child to lose, therefore, now need into one
The translational speed of step detection second terminal 20, judges whether the warning for needing alarm to cause adult and/or child.
If specifically, numerical value processing module 13 receives the notification signal of normal connection status, being obtained from speed acquiring module 14
Take the current translational speed of second terminal 20.Numerical value processing module 13 is additionally operable to judge that the current translational speed of second terminal 20 is
It is no more than default threshold speed;If so, sending alarm control signal to the first alarm module 18;Otherwise, continue from wireless communication
Number intensity acquisition module 12 obtains the wireless signal strength of presently described short-distance wireless communication connection.
In the present embodiment, the first communication connection module 11 and the second communication connection module 21 are Bluetooth function module.First
Terminal is set up short-distance wireless communication and is connected with second terminal by bluetooth.
Fig. 2 is refer to, Fig. 2 is the method flow diagram of the intelligent alarm that first embodiment is provided, and the method includes:
S100, pre-set a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a speed threshold
Value.
In the present embodiment, threshold setting module 17 provides a user setup interface, and each threshold value can be set according to demand
It is fixed, including:
Wireless signal strength alarm threshold value can be set according to demand.Specifically, can survey in advance under spacious environment
The corresponding relation of examination wireless signal strength and distance, then stores the corresponding relation, and user can according to demand set report
Alert distance, alarm distance and the corresponding relation that first terminal 10 sets according to user are converted into wireless signal strength alarm
Threshold value.
Proportion threshold value may be configured as 50%, is adjusted correspondingly also dependent on demand, and such as 70%, 80%.Time threshold
Value can be set to 2 seconds, 4 seconds or 5 seconds etc. according to demand.Threshold speed is set to 3 meter per seconds, 5 meter per seconds etc..
This step is initialization step, and first terminal 10 passed through before short haul connection connection is set up with second terminal 20
Threshold setting module 17 can set to above-mentioned threshold value.
S101, first terminal 10 and second terminal 20 set up short haul connection connection.
The communication connection is the wireless communication connection based on bluetooth, wherein, the first communication connection module 11 and second communicates
Link block 21 is bluetooth module, first terminal 10 and second terminal 20 is set up wireless communication connection by bluetooth, realizes
Data and information exchange.
S102, the wireless signal strength for obtaining the short-distance wireless communication connection.
The wireless signal strength of short-distance wireless communication connection described in the real-time sampling of wireless signal strength acquisition module 12.Number
Word processing module 13 periodically obtains current wireless signal strength from wireless signal strength acquisition module 12.Numerical value can be set
The acquisition cycle of the wireless signal strength of processing module 13 is for 30 milliseconds, i.e. numerical value processing module 13 every 30 milliseconds to wireless communication
Number intensity acquisition module 12 obtains the wireless signal strength of short-distance wireless communication connection.
Whether S103, the current wireless signal strength for obtaining of judgement are less than default wireless signal strength alarm threshold value;If
It is, into step S104, otherwise, return to step S102.
If S104, the current wireless signal strength for obtaining are less than default wireless signal strength alarm threshold value, storage is read
The last wireless signal strength for obtaining.
If the current wireless signal strength for obtaining is less than default wireless signal strength alarm threshold value, numerical value processing module 13
The last wireless signal strength for obtaining of storage is read from memory 16.
In the present embodiment, memory 16 only stores 2 wireless signal strengths of acquisition, i.e., the current wireless signal for obtaining is strong
The degree A1 and last wireless signal strength A2 for obtaining, when numerical value processing module 13 gets wireless signal strength A3 again
When, wireless signal strength A2 is capped, and now, wireless signal strength A3 is used as the current wireless signal strength for obtaining, wireless communication
Number intensity A 1 is used as the last wireless signal strength for obtaining.
S105, the attenuation ratio for obtaining wireless signal strength.
The wireless signal strength that numerical value processing module 13 is obtained according to the current wireless signal strength for obtaining and last time,
Obtain the attenuation ratio of wireless signal strength;If the current wireless signal strength for obtaining is 1, the wireless signal that the last time obtains is strong
It is 10 to spend, i.e., attenuation ratio is (10-1)/10, and attenuation ratio is 90%.
S106, judge the attenuation ratio whether less than default proportion threshold value;If so, into step S107, otherwise, entering
Enter step S108.
Numerical value processing module 13 gets default proportion threshold value from threshold setting module 17, judges that the attenuation ratio is
It is no less than default proportion threshold value, if so, into step S107, otherwise, into step S108.
S107, send alarm.
If the attenuation ratio be less than default proportion threshold value, show wireless signal strength do not receive outer signals interference because
The strong influence of element, numerical value processing module 13 sends alarm control signal to the first alarm module 18, controls the first alarm module
18 send alarm.
Whether S108, the detection short haul connection connection disconnect, if so, into step S109, otherwise, into step
S115。
The connection status of short haul connection connection described in the real-time detection of first communication connection module 11;Numerical value processing module 13
When the attenuation ratio is more than or equal to default proportion threshold value, the current short distance is obtained from the first communication connection module 11
From the connection status of communication connection, so as to know whether the short haul connection connection disconnects;Wherein, short haul connection connection
Connection status include normal connection status and disconnecting state.
When the connection status that current short haul connection that numerical value processing module 13 is obtained is connected is normal connection status,
Show that presently described short haul connection connection does not disconnect;When the current short haul connection connection that numerical value processing module 13 is obtained
Connection status to disconnect state, show that presently described short haul connection connection has disconnected.
S109, beginning timing.
When the connection status that current short haul connection that numerical value processing module 13 is obtained is connected is to disconnect state,
Show that presently described short haul connection connection has disconnected, numerical value processing module 13 sends the control for starting counting up to clock module 15
Signal, into step S110.
S110, the link setup signal that the short haul connection connection is sent to second terminal 20.
If presently described short haul connection connection has disconnected, the first communication connection module 11 starts to be sent to second terminal 20
The link setup signal of the short haul connection connection.
S111, detect whether to receive the transmission of second terminal 20 the response link setup signal return signal;If so, into
Step S112;Otherwise, return to step S113.
S112 and second terminal 20 re-establish short haul connection connection.And return to step S102.
In default time threshold, first terminal 10 can re-establish short haul connection and be connected with second terminal 20, this
Shi Wuxu alarms, return to step S102.
S113, one timing duration of acquisition.
Digital signal processing module 13 obtains the timing duration of present timing from clock module 15, i.e., currently re-establish short distance
Communications connection procedure it is time-consuming.
S114, whether the timing duration is judged more than default time threshold, if so, into step S107;Otherwise, enter
Enter step S110.
Whether digital signal processing module 13 judges the timing duration more than default time threshold;If so, into step
S107, the first alarm module 18 of control sends alarm;Otherwise, return to step S110:First communication connection module 11 continues to
Two terminals 20 send the link setup signal of the short haul connection connection.
The current translational speed of S115, acquisition second terminal 20.
If the short haul connection connection does not disconnect, digital signal processing module 13 obtains second terminal from speed acquiring module 14
20 current translational speeds.
S116, judge the current translational speed of second terminal 20 whether more than default threshold speed;If so, being back to step
Rapid S107;Otherwise, it is back to step S102.
In the present embodiment, the first alarm module 18 also may be used as being with the type of alarm of the second alarm module 22
To be different, such as the first alarm module 18 and the second alarm module 22 use audio alert or sound and light alarm, or first simultaneously
The sampled speech of alarm module 18 is alarmed, and, using sound and light alarm etc., it all should be in protection scope of the present invention for the second alarm module 22
Within.Wherein, sound and light alarm is a kind of type of alarm of audio alert and light flash.
In the present embodiment, the translational speed of second terminal 20 can use the phase between the acceleration of second terminal 20 or two terminals
The parameter of the situation of movement of the description second terminal 20 such as speed is substituted, can also realize two terminals follows function.
In the present embodiment, the order between step is not changeless, can be changed accordingly according to demand,
Such as:Step S115 can be before step S102 or before step S103.
In the present embodiment, actively to follow terminal, second terminal 20 is to be followed terminal to first terminal 10.
In the present embodiment, second terminal 20 can be consistent with the structure of first terminal 10, i.e. second terminal 20 can both do by
Follow terminal, also can be used as terminal be actively followed, similarly, first terminal 10 can both be followed terminal, also can as active with
With terminal.
In the present embodiment, second terminal 20 and first terminal 10 are Wearable, including:Wrist-watch, watch type mobile telephone, wrist
Band etc..The Wearable also includes:Memory, one or more than one processor, and one or more than one
Program;Wherein, one or more than one program storage are in memory, and are configured by one or more than one treatment
Device is performed, and one or more than one program bag are containing the instruction for carrying out above step.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, it is also possible to instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable storage medium
In matter, storage medium can be including memory, disk or CD etc..
Above content is only presently preferred embodiments of the present invention, for one of ordinary skill in the art, according to of the invention
Thought, will change in specific embodiments and applications, and this specification content should not be construed as to the present invention
Limitation.
Claims (16)
1. a kind of method of intelligent alarm, it is characterised in that including:
First terminal is set up short haul connection and is connected with second terminal;
Obtain the wireless signal strength of the short-distance wireless communication connection;
If the current wireless signal strength for obtaining is less than default wireless signal strength alarm threshold value, the last time for reading storage is obtained
The wireless signal strength for taking;
According to the current wireless signal strength for obtaining and the last wireless signal strength for obtaining, nothing is obtained according to below equation
The attenuation ratio of line signal intensity:(wireless signal strength that the last time obtains-current wireless signal strength for obtaining)/it is last
The wireless signal strength of acquisition;
If the attenuation ratio is less than default proportion threshold value, alarm is sent.
2. method according to claim 1, it is characterised in that the step:Obtain the short-distance wireless communication connection
Wireless signal strength after, also include:
Judge whether the current wireless signal strength for obtaining is less than default wireless signal strength alarm threshold value;
If so, reading the last wireless signal strength for obtaining of storage;
Otherwise, return to step:Obtain the wireless signal strength of the short-distance wireless communication connection.
3. method according to claim 2, it is characterised in that the step:According to the current wireless signal strength for obtaining
And the last wireless signal strength for obtaining, obtain after the attenuation ratio of wireless signal strength, also include:
Judge the attenuation ratio whether less than default proportion threshold value;
If so, sending alarm;
Otherwise, detect whether the short haul connection connection disconnects.
4. method according to claim 3, it is characterised in that the step:Whether detect the short haul connection connection
After disconnection, also include:
If the short haul connection connection disconnects, start timing;
If the short haul connection connection does not disconnect, the current translational speed of second terminal is obtained.
5. method according to claim 4, it is characterised in that the step:If the short haul connection connection disconnects, open
After beginning timing, also include:
The link setup signal that the short haul connection is connected is sent to second terminal;
Detect whether to receive the return signal for responding the link setup signal that second terminal sends;
If so, re-establish short haul connection with second terminal being connected;It is back to step:The short-distance wireless communication is obtained to connect
The wireless signal strength for connecing;
Otherwise, a timing duration is obtained;
The step:Obtain after a timing duration, also include:
Judge the timing duration whether more than default time threshold;
If so, sending alarm;
Otherwise, return to step:The link setup signal that the short haul connection is connected is sent to second terminal.
6. method according to claim 5, it is characterised in that the step:If the short haul connection connection does not disconnect,
Obtain after the current translational speed of second terminal, also include:
Judge the current translational speed of second terminal whether more than default threshold speed;
If so, sending alarm;
Otherwise, return to step:Obtain the wireless signal strength of the short-distance wireless communication connection.
7. method according to claim 6, it is characterised in that the step:First terminal sets up short distance with second terminal
Before wireless communication connection, also include:
Pre-set a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
8. method as claimed in any of claims 1 to 7, it is characterised in that the step:First terminal and second
Terminal sets up short-distance wireless communication connection, specially:
First terminal is set up short-distance wireless communication and is connected with second terminal by bluetooth.
9. a kind of system of intelligent alarm, it is characterised in that including:First terminal and second terminal;
The first terminal includes:
First communication connection module, is connected for setting up short haul connection with second terminal;
Wireless signal strength acquisition module, the wireless signal strength for obtaining the short-distance wireless communication connection;
Memory, for storing the wireless signal strength for obtaining;
Numerical value processing module, for obtaining presently described short-distance wireless communication connection from the wireless signal strength acquisition module
Wireless signal strength;If being additionally operable to the wireless signal strength of current acquisition less than default wireless signal strength alarm threshold value,
The last wireless signal strength for obtaining of storage is read from the memory;It is additionally operable to according to the current wireless signal for obtaining
Intensity and the last wireless signal strength for obtaining, the attenuation ratio of wireless signal strength is obtained according to below equation:(upper one
The wireless signal strength of the secondary acquisition-current wireless signal strength for obtaining)/last the wireless signal strength for obtaining;It is additionally operable to
If the attenuation ratio is less than default proportion threshold value, alarm control signal is sent to the first alarm module;
First alarm module, if for receiving the alarm control signal, sending alarm.
10. system according to claim 9, it is characterised in that the numerical value processing module is additionally operable to judge current acquisition
Wireless signal strength whether be less than default wireless signal strength alarm threshold value;If so, reading storage from the memory
The last wireless signal strength for obtaining;Otherwise, continue to obtain the short distance from the wireless signal strength acquisition module
The wireless signal strength of wireless communication connection.
11. systems according to claim 10, it is characterised in that the numerical value processing module is additionally operable to judge the decay
Whether ratio is less than default proportion threshold value;If so, sending alarm control signal to first alarm module;Otherwise, in real time
Receive the notification signal that first communication connection module sends;
First communication connection module is additionally operable to whether short haul connection connection described in real-time detection disconnects;If so, to described
Numerical value processing module sends the notification signal of the state that disconnects;Otherwise, normal connection shape is sent to the numerical value processing module
The notification signal of state.
12. systems according to claim 11, it is characterised in that first terminal also includes that clock module and speed obtain mould
Block;Second terminal includes the second communication connection module and speed monitoring module;
Second communication connection module is connected for setting up short haul connection with first terminal;
The speed monitoring module is used for the current translational speed of real-time monitoring second terminal;
The speed acquiring module is used for by first communication connection module in real time from speed monitoring module acquisition the
The current translational speed of two terminals;
If the numerical value processing module is additionally operable to receive the notification signal of the state of disconnecting, is sent to the clock module and started
The notification signal of timing;If being additionally operable to receive the notification signal of normal connection status, second is obtained from the speed acquiring module
The current translational speed of terminal;
The clock module is used for after the notification signal for starting timing is received, and starts timing.
13. systems according to claim 12, it is characterised in that first communication connection module is additionally operable to detecting
After the short haul connection connection disconnects, the link setup signal that the short haul connection is connected is sent to second terminal;
First communication connection module is additionally operable to after the link setup signal that the short haul connection is connected is sent to second terminal,
Detect whether to receive the return signal for responding the link setup signal that second terminal sends;If so, being re-established with second terminal
Short haul connection is connected;Otherwise, the notification signal of connection failure is sent to the numerical value processing module;
If the numerical value processing module is additionally operable to receive the notification signal of connection failure, current meter is obtained from the clock module
Shi Shichang;Whether it is additionally operable to judge the timing duration more than default time threshold;If so, sent to the first alarm module reporting
Alert control signal;Otherwise, notify that first communication connection module continues to send the short haul connection connection to second terminal
Link setup signal.
14. systems according to claim 13, it is characterised in that the numerical value processing module is additionally operable to judge second terminal
Whether current translational speed is more than default threshold speed;If so, sending alarm control signal to the first alarm module;It is no
Then, continue strong from the wireless signal of the presently described short-distance wireless communication connection of wireless signal strength acquisition module acquisition
Degree.
15. systems according to claim 14, it is characterised in that first terminal also includes threshold setting module, for pre-
One wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed are first set.
16. system according to any one in claim 12 to 15, it is characterised in that first communication connection module
It is Bluetooth function module with second communication connection module;
First terminal is set up short-distance wireless communication and is connected with second terminal by bluetooth.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510062168.XA CN104658186B (en) | 2015-02-05 | 2015-02-05 | A kind of method and system of intelligent alarm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510062168.XA CN104658186B (en) | 2015-02-05 | 2015-02-05 | A kind of method and system of intelligent alarm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104658186A CN104658186A (en) | 2015-05-27 |
CN104658186B true CN104658186B (en) | 2017-07-04 |
Family
ID=53249252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510062168.XA Active CN104658186B (en) | 2015-02-05 | 2015-02-05 | A kind of method and system of intelligent alarm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104658186B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105744470B (en) * | 2016-03-30 | 2019-07-23 | 北京小米移动软件有限公司 | Positioning information transmission method, apparatus and system |
CN107690145A (en) * | 2016-08-05 | 2018-02-13 | 李明 | A kind of safety communicating method and system |
CN108010265A (en) * | 2017-10-30 | 2018-05-08 | 捷开通讯(深圳)有限公司 | Displacement based reminding method, storage device under mobile terminal and its off-line mode |
CN110389336A (en) * | 2018-04-20 | 2019-10-29 | 睿鑫科技(天津)有限公司 | Method for measuring distance, localization method based on short haul connection, device and system |
CN109041024B (en) * | 2018-08-14 | 2022-01-11 | Oppo广东移动通信有限公司 | Code rate optimization method and device, electronic equipment and storage medium |
CN111447544A (en) * | 2018-12-28 | 2020-07-24 | 中兴通讯股份有限公司 | Monitoring method, device, equipment and storage medium |
CN111142067A (en) * | 2019-08-27 | 2020-05-12 | 广东小天才科技有限公司 | Three-dimensional positioning method of mobile equipment and mobile equipment |
CN112660186A (en) * | 2020-12-29 | 2021-04-16 | 漫趣汉都网络科技股份有限公司 | Networking intercommunication identification type safety handle implementation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008022491A (en) * | 2006-07-14 | 2008-01-31 | Sanyo Electric Co Ltd | Presence confirmation method and wireless apparatus utilizing the same and presence confirmation system |
CN101697242A (en) * | 2009-10-23 | 2010-04-21 | 罗富强 | Method, device and system for preventing burglaries wirelessly and intelligently |
CN202918379U (en) * | 2012-10-30 | 2013-05-01 | 金陵科技学院 | Article losing and stealing prevention system based on bluetooth mobile phone |
CN103426268A (en) * | 2013-07-31 | 2013-12-04 | 福州瑞芯微电子有限公司 | Method and system for preventing thievery for mobile equipment by aid of WIFI (wireless fidelity) module |
CN104023132A (en) * | 2014-05-23 | 2014-09-03 | 北京金山安全软件有限公司 | Anti-lost method and device for mobile terminal |
-
2015
- 2015-02-05 CN CN201510062168.XA patent/CN104658186B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008022491A (en) * | 2006-07-14 | 2008-01-31 | Sanyo Electric Co Ltd | Presence confirmation method and wireless apparatus utilizing the same and presence confirmation system |
CN101697242A (en) * | 2009-10-23 | 2010-04-21 | 罗富强 | Method, device and system for preventing burglaries wirelessly and intelligently |
CN202918379U (en) * | 2012-10-30 | 2013-05-01 | 金陵科技学院 | Article losing and stealing prevention system based on bluetooth mobile phone |
CN103426268A (en) * | 2013-07-31 | 2013-12-04 | 福州瑞芯微电子有限公司 | Method and system for preventing thievery for mobile equipment by aid of WIFI (wireless fidelity) module |
CN104023132A (en) * | 2014-05-23 | 2014-09-03 | 北京金山安全软件有限公司 | Anti-lost method and device for mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104658186A (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104658186B (en) | A kind of method and system of intelligent alarm | |
CN108718431B (en) | Wireless earphone and alarm method thereof | |
US9967710B2 (en) | Method and apparatus for reminding user based on set position by using mobile terminal | |
CN105575052A (en) | Security early warning system and method | |
CN205428136U (en) | Urgent alarm device of intelligence bracelet | |
WO2017049493A1 (en) | Loss-prevention method, smart wristband, and terminal | |
CN102761898A (en) | Radiation power detection method, system and equipment | |
CN203328700U (en) | Motion-state tracking and real-time transmission system | |
CN202495138U (en) | Novel household composite intelligent safety-prevention system | |
WO2015139451A1 (en) | Wireless terminal monitoring method, apparatus and system and computer storage medium | |
CN104408873A (en) | Intelligent alarm method and system | |
CN204742879U (en) | Intelligence walking stick and intelligent walking stick alarm system | |
CN105046875A (en) | Infant monitoring system and method | |
CN202568212U (en) | Household remote infant body temperature real-time monitoring device | |
CN105185057A (en) | Method and apparatus for localizing smart watch | |
CN108765900B (en) | Method and system for preventing intelligent equipment from being lost by using wearable equipment | |
CN207123921U (en) | A kind of Retail commodity wireless anti-theft system | |
CN106535106B (en) | Wireless Bluetooth intelligent positioning device | |
CN203283185U (en) | Anti-theft tracking device of car | |
CN105979074A (en) | Help seeking method based on mobile terminal and system thereof | |
CN109068308A (en) | A kind of automatic alarm method and system based on bracelet | |
CN202103691U (en) | Intelligent household apparatus based on 3G mobile communication network | |
CN204791431U (en) | Infant guards device | |
CN108242133A (en) | One kind prevents article loss method | |
CN104700567A (en) | Individual security alarm terminal for old person |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |