CN104658186A - Intelligent alarm method and system - Google Patents

Intelligent alarm method and system Download PDF

Info

Publication number
CN104658186A
CN104658186A CN201510062168.XA CN201510062168A CN104658186A CN 104658186 A CN104658186 A CN 104658186A CN 201510062168 A CN201510062168 A CN 201510062168A CN 104658186 A CN104658186 A CN 104658186A
Authority
CN
China
Prior art keywords
signal strength
terminal
wireless signal
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.)
Granted
Application number
CN201510062168.XA
Other languages
Chinese (zh)
Other versions
CN104658186B (en
Inventor
郑发
郑战海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201510062168.XA priority Critical patent/CN104658186B/en
Publication of CN104658186A publication Critical patent/CN104658186A/en
Application granted granted Critical
Publication of CN104658186B publication Critical patent/CN104658186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0236Threshold setting
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0277Communication between units on a local network, e.g. Bluetooth, piconet, zigbee, Wireless Personal Area Networks [WPAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an intelligent alarm method and system, wherein the method comprises the following steps: the method comprises the steps that a first terminal and a second terminal are connected in a short-distance communication mode, the wireless signal strength of the short-distance wireless communication connection is obtained, if the wireless signal strength obtained currently is smaller than a preset wireless signal strength alarm threshold value, the stored wireless signal strength obtained last time is read, the attenuation proportion of the wireless signal strength is obtained according to the wireless signal strength obtained currently and the wireless signal strength obtained last time, and if the attenuation proportion is smaller than the preset proportion threshold value, an alarm is sent. The two terminals of the invention realize communication or information interaction by establishing short-distance communication connection, judge whether the interference of the surrounding environment or the distance between the two parties exceeds the reminding range by the attenuation ratio of the wireless signal intensity, improve the alarm accuracy to a great extent and reduce the possibility of misjudgment as much as possible.

Description

A kind of method and system of intelligent alarm
Technical field
The present invention relates to wireless communications application technical field, particularly relate to a kind of method and system of intelligent alarm.
Background technology
Society, along with the development of science and technology, wireless communication technology is also further ripe, and due to its convenience, wireless communications application is very extensive, and progressively replaces wire communication in multiple field.Wireless communication technology has been deep into the various aspects of people's live and work, comprise mobile phone used in everyday, wireless telephone etc., wherein 3G (3rd-Generation, G mobile communication), WLAN (Wireless Local AreaNetworks, WLAN), bluetooth, broadband satellite system, Digital Television etc. are all the application of 21 century the most popular wireless communication technology.Wherein, bluetooth, due to characteristics such as its low-power consumption, efficient data transfer, connective stability height, is applied very extensive.
Children's location watch mostly possesses bluetooth and follows function, the principle that bluetooth follows function utilizes the low-power consumption of bluetooth and is connected distance property, when exceeding certain distance apart between two terminals being set up radio communication connection by bluetooth, connection both sides can be reminded by automatic alarm, prevent hypertelorism, the problem such as cause that child loses.
In prior art, some are complex environment comparatively, as market, inside market, the detection factors of undesired signal is a lot, and child is when some affects near the article of signal or commodity, and wireless signal strength can be decayed very fast, erroneous judgement can be caused to remind, cause the serious discontented of functional experience.
Summary of the invention
The embodiment of the present invention provides a kind of method and system of intelligent alarm, solves above technical matters.
For reaching this object, the present invention by the following technical solutions:
First aspect, the embodiment of the present invention provides a kind of method of intelligent alarm, comprising:
First terminal is set up short haul connection with the second terminal and is connected;
Obtain the wireless signal strength that described short-distance wireless communication connects;
If the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value, read the wireless signal strength of the last time acquisition stored;
According to wireless signal strength and the last wireless signal strength obtained of current acquisition, obtain the attenuation ratio of wireless signal strength;
If described attenuation ratio is less than default proportion threshold value, send warning.
Preferably, described step: after obtaining the wireless signal strength of described short-distance wireless communication connection, also comprise:
Judge whether the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value;
The wireless signal strength that the last time of if so, reading storage obtains;
Otherwise, return step: obtain the wireless signal strength that described short-distance wireless communication connects.
Preferably, described step: according to wireless signal strength and the last wireless signal strength obtained of current acquisition, after obtaining the attenuation ratio of wireless signal strength, also comprise:
Judge whether described attenuation ratio is less than default proportion threshold value;
If so, warning is sent;
Otherwise, detect the connection of described short haul connection and whether disconnect.
Preferably, described step: detect described short haul connection connect whether disconnect after, also comprise:
Disconnect if described short haul connection connects, start timing;
Do not disconnect if described short haul connection connects, obtain the translational speed that the second terminal is current.
Preferably, described step: disconnect if described short haul connection connects, after starting timing, also comprises:
The link setup signal of described short haul connection connection is sent to the second terminal;
Detect the return signal whether receiving the described link setup signal of response that the second terminal sends;
If so, re-establish short haul connection with the second terminal to be connected; Be back to step: obtain the wireless signal strength that described short-distance wireless communication connects;
Otherwise, obtain a timing duration;
Described step: after obtaining a timing duration, also comprise:
Judge whether described timing duration is greater than default time threshold;
If so, warning is sent;
Otherwise, return step: the link setup signal sending the connection of described short haul connection to the second terminal.
Preferably, described step: do not disconnect if described short haul connection connects, after obtaining the current translational speed of the second terminal, also comprise:
Judge whether the current translational speed of the second terminal is greater than default threshold speed;
If so, warning is sent;
Otherwise, return step: obtain the wireless signal strength that described short-distance wireless communication connects.
Preferably, described step: first terminal and the second terminal are set up before short-distance wireless communication is connected, and also comprise:
Pre-set a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
Preferably, described step: first terminal is set up short-distance wireless communication with the second terminal and is connected, and is specially:
First terminal is set up short-distance wireless communication with the second terminal by bluetooth and is connected.
Second aspect, the embodiment of the present invention provides a kind of system of intelligent alarm, comprising: first terminal and the second terminal;
Described first terminal comprises:
First communication connection module, is connected for setting up short haul connection with the second terminal;
Wireless signal strength acquisition module, for obtaining the wireless signal strength that described short-distance wireless communication connects;
Storer, for storing the wireless signal strength of acquisition;
Numerical value processing module, for obtaining the wireless signal strength that current described short-distance wireless communication connects from described wireless signal strength acquisition module; If the wireless signal strength also for current acquisition is less than default wireless signal strength alarm threshold value, the wireless signal strength that the last time of reading storage from described storer obtains; Also for according to the wireless signal strength of current acquisition and the wireless signal strength of last acquisition, obtain the attenuation ratio of wireless signal strength; If be also less than default proportion threshold value for described attenuation ratio, send alarm control signal to the first alarm module;
First alarm module, if for receiving described alarm control signal, send warning.
Preferably, described numerical value processing module is also for judging whether the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value; The wireless signal strength that the last time of if so, reading storage from described storer obtains; Otherwise, continue the wireless signal strength obtaining the connection of described short-distance wireless communication from described wireless signal strength acquisition module.
Preferably, described numerical value processing module is also for judging whether described attenuation ratio is less than default proportion threshold value; If so, alarm control signal is sent to described first alarm module; Otherwise, the notification signal that described in real-time reception, the first communication connection module sends;
Whether described first communication connection module also disconnects for detecting the connection of described short haul connection in real time; If so, the notification signal of the state that disconnects is sent to described numerical value processing module; Otherwise, the notification signal of normal connection status is sent to described numerical value processing module.
Preferably, first terminal also comprises clock module and speed acquiring module; Second terminal comprises second communication link block and speed monitoring module;
Described second communication link block is used for setting up short haul connection with first terminal and is connected;
Described speed monitoring module is used for the current translational speed of Real-Time Monitoring second terminal;
Described speed acquiring module is used for obtaining the current translational speed of the second terminal from described speed monitoring module in real time by described first communication connection module;
If described numerical value processing module is also for receiving the notification signal of the state of disconnecting, send the notification signal starting timing to described clock module; If also for receiving the notification signal of normal connection status, obtain the current translational speed of the second terminal from described speed acquiring module;
Described clock module is used for, after receiving the notification signal starting timing, starting timing.
Preferably, described first communication connection module also for after detecting that described short haul connection connects disconnection, sends the link setup signal of described short haul connection connection to the second terminal;
Described first communication connection module also for after the link setup signal sending the connection of described short haul connection to the second terminal, detects the return signal whether receiving the described link setup signal of response that the second terminal sends; If so, re-establish short haul connection with the second terminal to be connected; Otherwise, the notification signal of connection failure is sent to described numerical value processing module;
If described numerical value processing module, also for receiving the notification signal of connection failure, obtains current timing duration from described clock module; Also for judging whether described timing duration is greater than default time threshold; If so, alarm control signal is sent to the first alarm module; Otherwise, notify that described first communication connection module continues to send to the second terminal the link setup signal of described short haul connection connection.
Preferably, described numerical value processing module is also for judging whether the current translational speed of the second terminal is greater than default threshold speed; If so, alarm control signal is sent to the first alarm module; Otherwise, continue the wireless signal strength obtaining current described short-distance wireless communication connection from described wireless signal strength acquisition module.
Preferably, first terminal also comprises threshold setting module, for pre-setting a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
Preferably, described first communication connection module and described second communication link block are Bluetooth function module;
First terminal is set up short-distance wireless communication with the second terminal by bluetooth and is connected.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought: two terminals of the present invention connect by setting up short haul connection, realize communication or information mutual, the speed of combining wireless signal intensity and the second terminal, judge that surrounding environment is disturbed or both sides' distance exceedes prompting scope really, greatly enhance the degree of accuracy of warning, decrease the possibility of erroneous judgement as much as possible.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing the embodiment of the present invention is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the content of the embodiment of the present invention and these accompanying drawings.
Fig. 1 is the block diagram of the system of the intelligent alarm that the first embodiment provides.
Fig. 2 is the method flow diagram of the intelligent alarm that the first embodiment provides.
In figure: 10, first terminal; 20, the second terminal; 11, the first communication connection module; 12, wireless signal strength acquisition module; 13, numerical value processing module; 14, speed acquiring module; 15, clock module; 16, storer; 17, threshold setting module; 18, the first alarm module; 21, second communication link block; 22, the second alarm module; 23, speed monitoring module.
Embodiment
The technical matters solved for making the present invention, the technical scheme of employing and the technique effect that reaches are clearly, be described in further detail below in conjunction with the technical scheme of accompanying drawing to the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, Fig. 1 is the block diagram of the system of the intelligent alarm that the first embodiment provides.This system comprises: first terminal 10 and the second terminal 20.
First terminal 10 comprises: the first communication connection module 11, wireless signal strength acquisition module 12, numerical value processing module 13, speed acquiring module 14, clock module 15, storer 16, threshold setting module 17 and the first alarm module 18.Second terminal 20 comprises: second communication link block 21, second alarm module 22 and speed monitoring module 23.
Concrete, the first communication connection module 11 and second communication link block 21 are bluetooth module, set up short haul connection and are connected, realize data and information interaction for being made first terminal 10 by bluetooth with the second terminal 20.
Concrete, threshold setting module 17 is for pre-setting a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
Concrete, the wireless signal strength that wireless signal strength acquisition module 12 connects for this short-distance wireless communication of real-time sampling; Storer 16 is for storing the wireless signal strength of acquisition.
During work, the wireless signal strength that numerical value processing module 13 connects for obtaining this short-distance wireless communication current from wireless signal strength acquisition module 12, and judge whether the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value; The wireless signal strength that the last time of if so, reading storage from storer 16 obtains; Otherwise, continue from wireless signal strength acquisition module 12 wireless signal strength obtaining the connection of this short-distance wireless communication.
Wherein, numerical value processing module 13 periodically obtains the wireless signal strength of this short-distance wireless communication connection from wireless signal strength acquisition module 12, in the present embodiment, because the translational speed of carrying the people of first terminal 10 or the second terminal 20 can not be very fast, 1, distance too far away can not be run out of in 2 seconds, so do not need numerical value processing module 13 pairs of wireless signal strength Real-Time Monitorings could realize following function between two terminals, for ensureing the saving of the electric energy of terminal, realize following on the basis of function in guarantee, the acquisition cycle that can set the wireless signal strength of numerical value processing module 13 is 30 milliseconds, namely numerical value processing module 13 obtains the wireless signal strength of this short-distance wireless communication connection every 30 milliseconds to wireless signal strength acquisition module 12, adopt this setting, the realization of following function can be ensured.
More specifically, numerical value processing module 13 also for according to the wireless signal strength of current acquisition and the wireless signal strength of last acquisition, obtains the attenuation ratio of wireless signal strength; Also for judging whether this attenuation ratio is less than default proportion threshold value; If so, alarm control signal is sent to the first alarm module 18; Otherwise, the connection status of current this short haul connection connection is obtained from the first communication connection module 11; Wherein, the connection status that this short haul connection connects comprises normal connection status and disconnects state.
In the present embodiment, proportion threshold value is set to 50%.When it is generally acknowledged that the attenuation ratio of wireless signal strength is greater than 50%, think that the interference receiving extraneous signal causes, now, need the translational speed of follow-up the second terminal 20 further to carry out comprehensive descision.
When the attenuation ratio of wireless signal strength is greater than default proportion threshold value, first needs to detect short haul connection connection and whether disconnect.
Concrete, whether the first communication connection module 11 also disconnects for detecting the connection of this short haul connection in real time; If so, the notification signal of the state that disconnects is sent to numerical value processing module 13; Otherwise, the notification signal of normal connection status is sent to numerical value processing module 13.
Second communication link block 21 is connected for setting up short haul connection with first terminal 10; Speed monitoring module 23 is for the current translational speed of Real-Time Monitoring second terminal 20; Speed acquiring module 14 is for obtaining the current translational speed of the second terminal 20 from speed monitoring modular 23 in real time by the first communication connection module 11, and Real-Time Monitoring obtain the current translational speed of first terminal 10.
If numerical value processing module 13 is also for receiving the notification signal of the state of disconnecting, send the notification signal starting timing to clock module 15; Clock module 15, for after receiving the notification signal starting timing, starts timing.
Concrete, the first communication connection module 11 also for after detecting that described short haul connection connects disconnection, sends the link setup signal of described short haul connection connection to the second terminal 20; First communication connection module 11 also for after the link setup signal sending the connection of described short haul connection to the second terminal 20, detects the return signal whether receiving this link setup signal of response that the second terminal 20 sends; If so, re-establish short haul connection with the second terminal 20 to be connected; Otherwise, the notification signal of connection failure is sent to numerical value processing module 13.
If numerical value processing module 13, also for receiving the notification signal of connection failure, obtains current timing duration from clock module 15; Also for judging whether described timing duration is greater than default time threshold; If so, alarm control signal is sent to the first alarm module 18; Otherwise, notify that the first communication connection module 11 continues to send to the second terminal 20 the link setup signal of described short haul connection connection.
In the present embodiment, if described short haul connection disconnects suddenly, need immediately to carry out chain rupture to reconnect, first terminal 10 as master terminal starts the link setup signal or the terminal searches signal that send the connection of described short haul connection, to search the second terminal 20, when again receive the second terminal 20 return signal or after again searching the second terminal 20, re-start link setup with the second terminal 20, re-establish short haul connection connect.
In the present embodiment, in order to ensure the safety of child, should not long timi requirement less than the distance carried between the child of the second terminal 20 and first terminal 10.Concrete, threshold setting module 17 pre-sets a time threshold, can be set to 2 seconds, 4 seconds or 5 seconds etc. as required.When re-establishing short haul connection connection and exceeding this time threshold, send alarm control signal to the first alarm module 18, control the first alarm module 18 and send warning.
In the present embodiment, first terminal 10 and the second terminal 20 also comprise 3G and to communicate (3rd-Generation, G mobile communication) module.For in the information of two terminals when disconnecting short haul connection or the transmission of signal.
First alarm module 18 is also for after sending warning, if now two terminals disconnect short haul connection connection, an alarm control signal is sent to the second terminal 20 by 3G module, second alarm module 22 also for after the alarm control signal receiving the first alarm module 18 transmission, sends warning.If now two terminals do not disconnect short haul connection connection, connected send an alarm control signal to the second terminal 20 by described short haul connection, the second alarm module 22 also for after the alarm control signal receiving the first alarm module 18 transmission, sends warning.
When the attenuation ratio of wireless signal strength is greater than default proportion threshold value, do not disconnect if short haul connection connects, need to judge that whether the translational speed of the second terminal 20 is too fast further, because the decrease fast of signal during this period of time, if child runs too fast, the position or distance of locating less than child may be caused, child is caused to lose, therefore, now need the translational speed detecting the second terminal 20 further, judge whether to need to report to the police with the warning causing adult and/or child.
Concrete, if numerical value processing module 13 receives the notification signal of normal connection status, obtain the current translational speed of the second terminal 20 from speed acquiring module 14.Numerical value processing module 13 is also for judging whether the current translational speed of the second terminal 20 is greater than default threshold speed; If so, alarm control signal is sent to the first alarm module 18; Otherwise, continue the wireless signal strength obtaining current described short-distance wireless communication connection from wireless signal strength acquisition module 12.
In the present embodiment, the first communication connection module 11 and second communication link block 21 are Bluetooth function module.First terminal is set up short-distance wireless communication with the second terminal by bluetooth and is connected.
Please refer to Fig. 2, Fig. 2 is the method flow diagram of the intelligent alarm that the first embodiment provides, and the method comprises:
S100, pre-set a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
In the present embodiment, threshold setting module 17 provides a user setup interface, and each threshold value can set according to demand, comprising:
Wireless signal strength alarm threshold value can set according to demand.Concrete, can in advance under the environment of spaciousness, the corresponding relation of test wireless signal strength and distance, then this corresponding relation is stored, user can set alarm distance according to demand, the alarm distance that first terminal 10 sets according to user and this corresponding relation, be converted into wireless signal strength alarm threshold value.
Proportion threshold value can be set to 50%, also can adjust accordingly according to demand, as 70%, 80% etc.Time threshold 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, setting up before short haul connection is connected with the second terminal 20, can be set above-mentioned threshold value by threshold setting module 17.
S101, first terminal 10 are set up short haul connection with the second terminal 20 and are connected.
This communication connection is connect based on the radio communication of bluetooth, wherein, first communication connection module 11 and second communication link block 21 are bluetooth module, make first terminal 10 set up radio communication with the second terminal 20 be connected, realize data and information interaction by bluetooth.
S102, obtain described short-distance wireless communication connect wireless signal strength.
The wireless signal strength that short-distance wireless communication described in wireless signal strength acquisition module 12 real-time sampling connects.Digital signal processing module 13 periodically obtains current wireless signal strength from wireless signal strength acquisition module 12.The acquisition cycle that can set the wireless signal strength of numerical value processing module 13 is 30 milliseconds, and namely numerical value processing module 13 obtains the wireless signal strength of this short-distance wireless communication connection every 30 milliseconds to wireless signal strength acquisition module 12.
S103, judge whether the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value; If so, step S104 is entered, otherwise, return step S102.
If the wireless signal strength of the current acquisition of S104 is less than default wireless signal strength alarm threshold value, read the wireless signal strength of the last time acquisition stored.
If the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value, the wireless signal strength that the last time that numerical value processing module 13 reads storage from storer 16 obtains.
In the present embodiment, storer 16 only stores 2 wireless signal strengths obtained, the i.e. wireless signal strength A1 of current acquisition and the wireless signal strength A2 of last acquisition, when numerical value processing module 13 gets wireless signal strength A3 again, wireless signal strength A2 is capped, now, wireless signal strength A3 as the wireless signal strength of current acquisition, the wireless signal strength that wireless signal strength A1 obtained as the last time.
The attenuation ratio of S105, acquisition wireless signal strength.
Numerical value processing module 13, according to the wireless signal strength of current acquisition and the last wireless signal strength obtained, obtains the attenuation ratio of wireless signal strength; Wireless signal strength as current acquisition is 1, and the last wireless signal strength obtained is 10, and namely attenuation ratio is (10-1)/10, and attenuation ratio is 90%.
S106, judge whether described attenuation ratio is less than default proportion threshold value; If so, step S107 is entered, otherwise, enter step S108.
Numerical value processing module 13 gets default proportion threshold value from threshold setting module 17, judges whether described attenuation ratio is less than default proportion threshold value, if so, enters step S107, otherwise, enter step S108.
S107, send warning.
If described attenuation ratio is less than default proportion threshold value, show that wireless signal strength does not receive the strong impact of outer signals disturbing factor, numerical value processing module 13 sends alarm control signal to the first alarm module 18, controls the first alarm module 18 and sends warning.
S108, detect described short haul connection connect whether disconnect, if so, enter step S109, otherwise, enter step S115.
First communication connection module 11 detects the connection status that described short haul connection connects in real time; Numerical value processing module 13, when described attenuation ratio is more than or equal to default proportion threshold value, obtains the connection status of current this short haul connection connection from the first communication connection module 11, thus knows whether the connection of described short haul connection disconnects; Wherein, the connection status that this short haul connection connects comprises normal connection status and disconnects state.
The connection status connected when this current short haul connection of numerical value processing module 13 acquisition is normal connection status, shows that current described short haul connection connects and does not disconnect; The connection status connected when this current short haul connection of numerical value processing module 13 acquisition is off connection status, shows that current described short haul connection connects and disconnects.
S109, beginning timing.
The connection status connected when this current short haul connection of numerical value processing module 13 acquisition is off connection status, show that current described short haul connection connects to disconnect, numerical value processing module 13 sends the control signal starting to count to clock module 15, enter step S110.
S110, to send the link setup signal that described short haul connection connects to the second terminal 20.
If current described short haul connection connects disconnect, the first communication connection module 11 starts the link setup signal sending the connection of described short haul connection to the second terminal 20.
S111, detect the return signal of the described link setup signal of response whether receiving the second terminal 20 and send; If so, step S112 is entered; Otherwise, return step S113.
S112, re-establish short haul connection with the second terminal 20 and be connected.And return step S102.
In the time threshold preset, first terminal 10 can re-establish short haul connection with the second terminal 20 and be connected, and now without the need to reporting to the police, returns step S102.
S113, obtain a timing duration.
Digital signal processing module 13 obtains the timing duration of present timing from clock module 15, namely currently re-establishes the consuming time of short haul connection connection procedure.
S114, judge whether described timing duration is greater than default time threshold, if so, enters step S107; Otherwise, enter step S110.
Digital signal processing module 13 judges whether described timing duration is greater than default time threshold; If so, enter step S107, control the first alarm module 18 and send warning; Otherwise, return the link setup signal that the step S110: the first communication connection module 11 continues to send to the second terminal 20 connection of described short haul connection.
S115, obtain the current translational speed of the second terminal 20.
Do not disconnect if described short haul connection connects, digital signal processing module 13 obtains the current translational speed of the second terminal 20 from speed acquiring module 14.
S116, judge whether the current translational speed of the second terminal 20 is greater than default threshold speed; If so, step S107 is back to; Otherwise, be back to step S102.
In the present embodiment; first alarm module 18 can be the same with the type of alarm of the second alarm module 22; also can be different; as the first alarm module 18 and the second alarm module 22 adopt audio alert or sound and light alarm simultaneously; or first alarm module 18 sampled speech report to the police; second alarm module 22 adopts sound and light alarm etc., and it all should within protection scope of the present invention.Wherein, sound and light alarm be audio alert and light flash and a kind of type of alarm.
In the present embodiment, the translational speed of the second terminal 20 can substitute by the parameter of the situation of movement of description second terminals 20 such as the relative velocity between the acceleration of the second terminal 20 or two terminals, and what also can realize two terminals follows function.
In the present embodiment, the order between step is not changeless, can change accordingly according to demand, as: step S115 can before step S102 or before step S103.
In the present embodiment, first terminal 10 is for initiatively to follow terminal, and the second terminal 20 is for be followed terminal.
In the present embodiment, the second terminal 20 can be consistent with the structure of first terminal 10, that is, the second terminal 20 both can have been done and followed terminal, also can be used as and initiatively followed terminal, and in like manner, first terminal 10 both can do and followed terminal, also can be used as and initiatively followed terminal.
In the present embodiment, the second terminal 20 and first terminal 10 are Wearable, comprising: wrist-watch, watch type mobile telephone, wrist strap etc.This Wearable also comprises: storer, one or more than one processor, and one or more than one program; Wherein, more than one or one program is stored in storer, and is configured by more than one or one processor execution, and more than one or one routine package is containing the instruction for carrying out above step.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise storer, disk or CD etc.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.

Claims (16)

1. a method for intelligent alarm, is characterized in that, comprising:
First terminal is set up short haul connection with the second terminal and is connected;
Obtain the wireless signal strength that described short-distance wireless communication connects;
If the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value, read the wireless signal strength of the last time acquisition stored;
According to wireless signal strength and the last wireless signal strength obtained of current acquisition, obtain the attenuation ratio of wireless signal strength;
If described attenuation ratio is less than default proportion threshold value, send warning.
2. method according to claim 1, is characterized in that, described step: after obtaining the wireless signal strength of described short-distance wireless communication connection, also comprise:
Judge whether the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value;
The wireless signal strength that the last time of if so, reading storage obtains;
Otherwise, return step: obtain the wireless signal strength that described short-distance wireless communication connects.
3. method according to claim 2, is characterized in that, described step: according to wireless signal strength and the last wireless signal strength obtained of current acquisition, after obtaining the attenuation ratio of wireless signal strength, also comprise:
Judge whether described attenuation ratio is less than default proportion threshold value;
If so, warning is sent;
Otherwise, detect the connection of described short haul connection and whether disconnect.
4. method according to claim 3, is characterized in that, described step: detect described short haul connection connect whether disconnect after, also comprise:
Disconnect if described short haul connection connects, start timing;
Do not disconnect if described short haul connection connects, obtain the translational speed that the second terminal is current.
5. method according to claim 4, is characterized in that, described step: disconnect if described short haul connection connects, and after starting timing, also comprises:
The link setup signal of described short haul connection connection is sent to the second terminal;
Detect the return signal whether receiving the described link setup signal of response that the second terminal sends;
If so, re-establish short haul connection with the second terminal to be connected; Be back to step: obtain the wireless signal strength that described short-distance wireless communication connects;
Otherwise, obtain a timing duration;
Described step: after obtaining a timing duration, also comprise:
Judge whether described timing duration is greater than default time threshold;
If so, warning is sent;
Otherwise, return step: the link setup signal sending the connection of described short haul connection to the second terminal.
6. method according to claim 5, is characterized in that, described step: do not disconnect if described short haul connection connects, after obtaining the current translational speed of the second terminal, also comprise:
Judge whether the current translational speed of the second terminal is greater than default threshold speed;
If so, warning is sent;
Otherwise, return step: obtain the wireless signal strength that described short-distance wireless communication connects.
7. method according to claim 6, is characterized in that, described step: first terminal and the second terminal are set up before short-distance wireless communication is connected, and also comprise:
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, is characterized in that, described step: first terminal is set up short-distance wireless communication with the second terminal and is connected, and is specially:
First terminal is set up short-distance wireless communication with the second terminal by bluetooth and is connected.
9. a system for intelligent alarm, is characterized in that, comprising: first terminal and the second terminal;
Described first terminal comprises:
First communication connection module, is connected for setting up short haul connection with the second terminal;
Wireless signal strength acquisition module, for obtaining the wireless signal strength that described short-distance wireless communication connects;
Storer, for storing the wireless signal strength of acquisition;
Numerical value processing module, for obtaining the wireless signal strength that current described short-distance wireless communication connects from described wireless signal strength acquisition module; If the wireless signal strength also for current acquisition is less than default wireless signal strength alarm threshold value, the wireless signal strength that the last time of reading storage from described storer obtains; Also for according to the wireless signal strength of current acquisition and the wireless signal strength of last acquisition, obtain the attenuation ratio of wireless signal strength; If be also less than default proportion threshold value for described attenuation ratio, send alarm control signal to the first alarm module;
First alarm module, if for receiving described alarm control signal, send warning.
10. system according to claim 9, is characterized in that, described numerical value processing module is also for judging whether the wireless signal strength of current acquisition is less than default wireless signal strength alarm threshold value; The wireless signal strength that the last time of if so, reading storage from described storer obtains; Otherwise, continue the wireless signal strength obtaining the connection of described short-distance wireless communication from described wireless signal strength acquisition module.
11. systems according to claim 10, is characterized in that, described numerical value processing module is also for judging whether described attenuation ratio is less than default proportion threshold value; If so, alarm control signal is sent to described first alarm module; Otherwise, the notification signal that described in real-time reception, the first communication connection module sends;
Whether described first communication connection module also disconnects for detecting the connection of described short haul connection in real time; If so, the notification signal of the state that disconnects is sent to described numerical value processing module; Otherwise, the notification signal of normal connection status is sent to described numerical value processing module.
12. systems according to claim 11, is characterized in that, first terminal also comprises clock module and speed acquiring module; Second terminal comprises second communication link block and speed monitoring module;
Described second communication link block is used for setting up short haul connection with first terminal and is connected;
Described speed monitoring module is used for the current translational speed of Real-Time Monitoring second terminal;
Described speed acquiring module is used for obtaining the current translational speed of the second terminal from described speed monitoring module in real time by described first communication connection module;
If described numerical value processing module is also for receiving the notification signal of the state of disconnecting, send the notification signal starting timing to described clock module; If also for receiving the notification signal of normal connection status, obtain the current translational speed of the second terminal from described speed acquiring module;
Described clock module is used for, after receiving the notification signal starting timing, starting timing.
13. systems according to claim 12, is characterized in that, described first communication connection module also for after detecting that described short haul connection connects disconnection, sends the link setup signal of described short haul connection connection to the second terminal;
Described first communication connection module also for after the link setup signal sending the connection of described short haul connection to the second terminal, detects the return signal whether receiving the described link setup signal of response that the second terminal sends; If so, re-establish short haul connection with the second terminal to be connected; Otherwise, the notification signal of connection failure is sent to described numerical value processing module;
If described numerical value processing module, also for receiving the notification signal of connection failure, obtains current timing duration from described clock module; Also for judging whether described timing duration is greater than default time threshold; If so, alarm control signal is sent to the first alarm module; Otherwise, notify that described first communication connection module continues to send to the second terminal the link setup signal of described short haul connection connection.
14. systems according to claim 13, is characterized in that, described numerical value processing module is also for judging whether the current translational speed of the second terminal is greater than default threshold speed; If so, alarm control signal is sent to the first alarm module; Otherwise, continue the wireless signal strength obtaining current described short-distance wireless communication connection from described wireless signal strength acquisition module.
15. systems according to claim 14, it is characterized in that, first terminal also comprises threshold setting module, for pre-setting a wireless signal strength alarm threshold value, a proportion threshold value, a time threshold and a threshold speed.
16., according to the system in claim 9 to 15 described in any one, is characterized in that, described first communication connection module and described second communication link block are Bluetooth function module;
First terminal is set up short-distance wireless communication with the second terminal by bluetooth and is connected.
CN201510062168.XA 2015-02-05 2015-02-05 Intelligent alarm method and system Active CN104658186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510062168.XA CN104658186B (en) 2015-02-05 2015-02-05 Intelligent alarm method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510062168.XA CN104658186B (en) 2015-02-05 2015-02-05 Intelligent alarm method and system

Publications (2)

Publication Number Publication Date
CN104658186A true CN104658186A (en) 2015-05-27
CN104658186B 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 Intelligent alarm method and system

Country Status (1)

Country Link
CN (1) CN104658186B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744470A (en) * 2016-03-30 2016-07-06 北京小米移动软件有限公司 Location information transmission methods and apparatuses, 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
CN109041024A (en) * 2018-08-14 2018-12-18 Oppo广东移动通信有限公司 Optimization of rate method, apparatus, electronic equipment and storage medium
CN110389336A (en) * 2018-04-20 2019-10-29 睿鑫科技(天津)有限公司 Method for measuring distance, localization method based on short haul connection, device and system
CN111142067A (en) * 2019-08-27 2020-05-12 广东小天才科技有限公司 Three-dimensional positioning method of mobile equipment and mobile equipment
CN111447544A (en) * 2018-12-28 2020-07-24 中兴通讯股份有限公司 Monitoring method, device, equipment and storage medium
CN112660186A (en) * 2020-12-29 2021-04-16 漫趣汉都网络科技股份有限公司 Networking intercommunication identification type safety handle implementation method

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744470A (en) * 2016-03-30 2016-07-06 北京小米移动软件有限公司 Location information transmission methods and apparatuses, and system
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
CN109041024A (en) * 2018-08-14 2018-12-18 Oppo广东移动通信有限公司 Optimization of rate method, apparatus, 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

Also Published As

Publication number Publication date
CN104658186B (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN104658186A (en) Intelligent alarm method and system
CN104599455B (en) Intelligent alarm method and system
US9967710B2 (en) Method and apparatus for reminding user based on set position by using mobile terminal
CN105744498B (en) Method and apparatus for generating a distress signal
CN105575052A (en) Security early warning system and method
CN104104983A (en) Method and system for automatically turning off television when detecting sleep state of user
CN104954981A (en) Method and device for determining safety position
CN102761898B (en) Radiation power detection, system and equipment
CN104921426A (en) Intelligent crutch, intelligent crutch alarm system and intelligent crutch alarm method
CN103813268A (en) Bluetooth tracking method and dynamic tracking network system
CN103297918A (en) Method and system for automatically recording article loss position
US20190116574A1 (en) Position tracking system, positioning apparatus, and position tracking method
CN105520295A (en) Umbrella with emergency help-seeking function
CN108711251A (en) Intelligent smog warning system based on NB-IoT and its implementation
CN104952207A (en) Control method for preventing misinformation of Bluetooth losing preventer
CN104408873A (en) Intelligent alarm method and system
CN111586588A (en) Positioning method and system of smart watch
CN204742879U (en) Intelligence walking stick and intelligent walking stick alarm system
CN105185057A (en) Method and device for positioning smart watch
CN106535106B (en) Wireless Bluetooth intelligent positioning device
CN202568212U (en) Household remote infant body temperature real-time monitoring device
TW202004684A (en) Timing method and competition timing system capable of calculating the time required for the movable object to move from the starting position to the terminal position
CN112394346B (en) Distance measurement method and device and terminal equipment
CN109068308A (en) A kind of automatic alarm method and system based on bracelet
CN204887150U (en) Oldmanphone system with prevent that cell -phone from losing

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