CN104244169A - Anti-loss method and system based on RSSI wireless connection - Google Patents

Anti-loss method and system based on RSSI wireless connection Download PDF

Info

Publication number
CN104244169A
CN104244169A CN201410442958.6A CN201410442958A CN104244169A CN 104244169 A CN104244169 A CN 104244169A CN 201410442958 A CN201410442958 A CN 201410442958A CN 104244169 A CN104244169 A CN 104244169A
Authority
CN
China
Prior art keywords
current
value
lost
rssi value
rssi
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.)
Pending
Application number
CN201410442958.6A
Other languages
Chinese (zh)
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.)
Shanghai Tongshi Information Science & Technology Co Ltd
Original Assignee
Shanghai Tongshi Information Science & 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 Shanghai Tongshi Information Science & Technology Co Ltd filed Critical Shanghai Tongshi Information Science & Technology Co Ltd
Priority to CN201410442958.6A priority Critical patent/CN104244169A/en
Publication of CN104244169A publication Critical patent/CN104244169A/en
Pending legal-status Critical Current

Links

Landscapes

  • Emergency Alarm Devices (AREA)

Abstract

The invention provides an anti-loss method and system based on RSSI wireless connection. Averaging smoothing processing and linear filtering processing are carried out on an acquired current RSSI value of an anti-loss main device so that a current anti-loss basic value and current modeling parameters corresponding to the current RSSI value can be determined and the current modeling parameters are stored; then, a current alarm value corresponding to the current anti-loss basic value is determined according to preset rules, when it is determined that the filtered current RSSI value is larger than the current alarm value, the preset modeling rules and all the stored current modeling parameters are utilized for modeling, a built current model with a preset anti-loss mode is matched with a corresponding standard model, and an anti-loss alarm is given only when matching is successful. Compared with the mode that in the prior art, an acquired current RSSI value is compared with a fixed alarm value, the influences caused by surroundings are reduced, false alarms under some specific conditions are avoided, and the accuracy of anti-loss alarms under various conditions is guaranteed.

Description

A kind of anti-lost method based on RSSI wireless connections and system
Technical field
The present invention relates to wireless communication technology field, be specifically related to a kind of anti-lost method based on RSSI wireless connections and system.
Background technology
At present; in daily life; frequent meeting is lost or stolen carry-on important item because of the carelessness of oneself; cause any property loss; simultaneously also for the live and work of user brings a lot of inconvenience; belongings have key, wallet, baggages, smart mobile phone etc.; based on the anti-lost technology that signal strength signal intensity anti-lost is a low cost; be widely used in wireless short-distance location technology; but this anti-lost method is easy to by the impact of the barriers such as water, human body, metal object and produces wrong report, brings very large puzzlement to user.
Summary of the invention
The object of this invention is to provide a kind of anti-lost method based on RSSI wireless connections and system, solve in existing anti-lost method, producing wrong report because being subject to the impact of barrier, thus bring the problem of serious puzzlement to user.
For achieving the above object, the invention provides following scheme:
Based on an anti-lost method for RISS wireless connections, be applied to at least one of anti-lost main equipment wireless connections anti-lost from equipment, then described method comprises:
Gather the current RSSI value of described anti-lost main equipment;
Described current RSSI value is averaged smoothing processing, determines the current anti-lost base value corresponding with described current RSSI value;
Utilize predetermined linear filtering algorithm, described current RSSI value is processed, obtain the current modeling parameters corresponding with described current RSSI value and store;
According to preset rules, determine the current alerts value corresponding with described current anti-lost base value;
Judge whether filtered current RSSI value is greater than described current alerts value;
If so, utilize all current modeling parameters presetting modeling rule and storage to carry out modeling, obtain the "current" model of default anti-lost pattern;
Judge whether described "current" model matches with the described master pattern presetting anti-lost pattern;
If coupling, carries out anti-loss alarm.
Preferably, after the current RSSI value collecting described anti-lost main equipment, and described judge whether filtered current RSSI value is greater than described current alerts value before, described method also comprises:
According to the RSSI value collected in the first Preset Time, judge whether to open Intelligent lost-proof type algorithm application;
If so, then perform and describedly judge whether filtered current RSSI value is greater than described current alerts value step;
If not, then the current RSSI value step returning the described anti-lost main equipment of described collection continues to perform.
Preferably, after carrying out anti-loss alarm, described method also comprises:
Close described Intelligent lost-proof type algorithm application.
Preferably, described described current RSSI value to be averaged smoothing processing, to determine the current anti-lost base value corresponding with described current RSSI value, comprising:
Described current RSSI value is filled into first queue that can comprise the first predetermined number element;
All RSSI value in described first queue are averaged value computing, using operation result as the current anti-lost base value corresponding with described current RSSI value.
Preferably, describedly utilize predetermined linear filtering algorithm, described current RSSI value processed, obtain the current modeling parameters corresponding with described current RSSI value and store comprising:
The RSSI value of current RSSI value and the predetermined number adjacent with described current RSSI value that described first team lines up tail is averaged value computing, using operation result as the current modeling parameters corresponding with described current RSSI value;
Described current modeling parameters is stored into second queue that can comprise the second predetermined number element.
Preferably, when collecting first RSSI value, describedly described current RSSI value being filled into first queue that can comprise the first predetermined number element being specially:
Described first RSSI value is filled the tail of the queue that completely can comprise the first queue of the first predetermined number element;
Then when collecting second RSSI value, describedly described current RSSI value being filled into first queue that can comprise the first predetermined number element being specially:
According to first-in first-out rule, described second RSSI value is filled into the tail of the queue of first queue that can comprise the first predetermined number element.
Preferably, when described preset anti-lost pattern for walking apotype time, describedly judge that whether described "current" model matches with the described master pattern presetting anti-lost pattern and be specially:
Judge whether the absolute value of the modeling parameters of current modeling parameters and three predetermined number adjacent with described current modeling parameters increases along with storing postponing of moment.
Preferably, described according to preset rules, determine that the current alerts value corresponding with described current anti-lost base value comprises:
Add operation is carried out to current anti-lost base value and predetermined threshold value, using operation result as the current alerts value corresponding with described current anti-lost base value.
Preferably, the RSSI value collected in described foundation first Preset Time, judges whether to open Intelligent lost-proof type algorithm application, comprising:
Judge that the fluctuation range of all RSSI value of continuous acquisition in the first Preset Time is whether in preset range;
If so, then Intelligent lost-proof type algorithm application is opened.
Based on an anti-lose system for RSSI wireless connections, comprising: anti-lost from equipment with at least one of anti-lost main equipment wireless connections, eachly anti-lostly to comprise from equipment:
Collecting unit, for gathering the current RSSI value of described anti-lost main equipment;
First processing unit, for the smoothing processing that is averaged to described current RSSI value, determines the current anti-lost base value corresponding with described current RSSI value;
Second processing unit, for utilizing predetermined linear filtering algorithm, processing described current RSSI value, obtaining the current modeling parameters corresponding with described current RSSI value and storing;
Determining unit, for according to preset rules, determines the current alerts value corresponding with described current anti-lost base value;
First judging unit, for judging whether filtered current RSSI value is greater than described current alerts value;
Modeling unit, for when the judged result of described first judging unit is for being, utilizes all current modeling parameters presetting modeling rule and described second processing unit storage to carry out modeling, obtaining the "current" model of default anti-lost pattern;
Second judging unit, for judging whether described "current" model matches with the described master pattern presetting anti-lost pattern;
Alarm unit, for when described second judging unit is for being, carries out anti-loss alarm.
Known via above-mentioned technical scheme, compared with prior art, the invention provides a kind of anti-lost method based on RSSI wireless connections and system, by radio connection by anti-lost main equipment and anti-lost from apparatus bound, the anti-lost article physical bindings anti-lost with needs from equipment, anti-lostly gather current RSSI (the Received Signal Strength Indication of this anti-lost main equipment from device periodically, the signal strength signal intensity instruction received) value, again this current RSSI value is averaged smoothing processing, to determine the current anti-lost base value that RSSI value current with this is corresponding, and utilize predetermined linear filtering algorithm to process this current RSSI value, obtain the current modeling parameters that RSSI value current with this is corresponding, and store current modeling parameters, afterwards, the current alerts value that anti-lost base value current with this is corresponding is determined according to preset rules, and when determining that filtered current RSSI value is greater than current alerts value, modeling is carried out by utilizing all current modeling parameters presetting modeling rule and storage, and the "current" model of constructed default anti-lost pattern is mated with corresponding master pattern, only have when the match is successful, just carry out anti-loss alarm, compared with the mode in prior art, the current RSSI value gathered and fixing alarming value compared, decrease the impact of surrounding environment, avoid the wrong report under some particular case (situation that such as current RSSI value is undergone mutation), thus the accuracy of anti-loss alarm under ensure that various situation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the 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 accompanying drawing provided.
Fig. 1 is the flow chart of a kind of anti-lost method based on RSSI wireless connections of the present invention;
Fig. 2 is the another kind of flow chart based on the anti-lost method of RSSI wireless connections of the present invention;
Fig. 3 is the structural representation of a kind of anti-lose system based on RSSI wireless connections of the present invention;
Fig. 4 is that the present invention is a kind of based on the anti-lost structural representation from equipment in the anti-lose system of RSSI wireless connections.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in 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 of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention provides a kind of anti-lost method based on RSSI wireless connections and system, by wireless connect technology by anti-lost main equipment and anti-lost from apparatus bound, the anti-lost article physical bindings anti-lost with needs from equipment, anti-lostly gather current RSSI (the Received Signal Strength Indication of this anti-lost main equipment from device periodically, the signal strength signal intensity instruction received) value, again to the smoothing process of this current RSSI value, to determine the current anti-lost base value that RSSI value current with this is corresponding, and utilize predetermined linear filtering algorithm to process this current RSSI value, obtain the current modeling parameters that RSSI value current with this is corresponding, and store this current modeling parameters, afterwards, the current alerts value that anti-lost base value current with this is corresponding is determined according to preset rules, and when determining that filtered current RSSI value is greater than current alerts value, modeling is carried out by utilizing all modeling parameters presetting modeling rule and storage, and the "current" model of constructed default anti-lost pattern is mated with corresponding master pattern, only have when the match is successful, just carry out anti-loss alarm, compared with the mode in prior art, the current RSSI value gathered and fixing alarming value compared, decrease the impact of surrounding environment, avoid the wrong report under some particular case (situation that such as current RSSI value is undergone mutation), thus the accuracy of anti-loss alarm under ensure that various situation.
Embodiment one:
As shown in Figure 1, for the flow chart of a kind of anti-lost method based on RSSI wireless connections of the present invention, in actual applications, the method can be applied to at least one of anti-lost main equipment wireless connections anti-lost from equipment, eachly anti-lostly all can perform following anti-lost method from equipment, then the method specifically can comprise:
Step S110: the current RSSI value gathering anti-lost main equipment.
In actual applications, the anti-lost current RSSI value that periodically can gather anti-lost main equipment from equipment according to default sample frequency, and this default sample frequency is higher, this anti-lost method is sensitiveer, and this default sample frequency is all at more than 1 time per second usually.
It should be noted that, anti-lost main equipment is the wireless device of any band RSSI function, as smart mobile phone and smart camera etc. with RSSI function.And the RSSI value collected be all be less than 0 numerical value, its unit is that (namely decibel milli x) for dBm, such as, when anti-lost from equipment be BLE (Bluetooth Low Energy, Bluetooth Low Energy) equipment, then when this BLE equipment presses close to anti-lost main equipment, the RSSI value collected is :-32dBm.Wherein, need anti-lostly to bind all from equipment and this anti-lost main equipment, concrete binding procedure can refer to existing apparatus bound technology, and the present invention is not described in detail in this.
Step S120: this current RSSI value is averaged smoothing processing, determines the current anti-lost base value corresponding with described current RSSI value.
Wherein, this average smooth process is actually the process adopting smothing filtering algorithm to carry out sampled data, specifically can adopt the smoothing process of method such as the method for average, splines method or five-spot triple smoothing.Preferably, the embodiment of the present invention is only described the method for average simple to operate, and the specific operation process of other smoothing processing methods can refer to the method to the smoothing processing of sampled data in prior art, and the present invention will describe in detail no longer one by one at this.
Then according to average smooth filtering algorithm, above-mentioned steps S120 specifically can comprise:
Step S121: current RSSI value is filled into first queue that can comprise the first predetermined number element.
Step S122: to be averaged value computing to all RSSI value in this first queue, using operation result as current anti-lost base value corresponding to this current RSSI value.
In actual applications, pre-determine the quantity of the RSSI value that will be averaging processing, be assumed to be N number of RSSI value, predeterminable first queue that can comprise N number of element of the present embodiment, when anti-lost collect first RSSI value of anti-lost main equipment from equipment after, this first RSSI value can be utilized to fill full by this first queue, then to be averaged value computing to all RSSI value of this first queue, acquired results i.e. first RSSI value is current anti-lost base value; After collecting second RSSI value, it will be filled into the tail of the queue of this first queue, now this first queue will comprise N-1 described first RSSI value, and 1 described second RSSI value, afterwards all RSSI value before this first team's broomrape are averaged value computing, namely ask for the mean value of N-1 first RSSI value and 1 second RSSI value, acquired results is the current anti-lost base value corresponding with this second RSSI value; In like manner, after collecting the 3rd RSSI value, it will be filled into the tail of the queue of the first queue, thus the queue that formation one is new, again RSSI value all in new queue are averaged value computing, obtain the current anti-lost base value that the RSSI value of the queue tail of the queue new with this is corresponding, the like, the RSSI value collected is filled in the first queue by according to the principle of first in first out, afterwards, ask for the mean value of all RSSI value in this first queue again, can obtain lining up with this first team the current anti-lost base value that the RSSI value of tail is corresponding.
From step S121, contained by the queue that the embodiment of the present invention obtains, number of elements is constant all the time, but the element in this queue is not immobilize, and this element is to fill queue according to first in first out, then be averaged after value computing to all RSSI value in this queue, gained operation result is inevitable have certain corresponding relation with the RSSI value (namely finally filling RSSI value) being positioned at tail of the queue.
Wherein, it should be noted that, for the concrete processing procedure of above-mentioned average smooth filtering algorithm, except the mode that above-mentioned steps S121 ~ step S122 records, also can adopt other processing modes existing, will describe in detail no longer one by one at this.
Preferably, after the current anti-lost base value obtained, this current anti-lost base value can also be stored, to inquire about from now on.
Step S130: utilize predetermined linear filtering algorithm, processes the current RSSI value collected, and obtains current modeling parameters corresponding to RSSI value current with this and stores.
In the present embodiment, this predetermined linear filtering algorithm can be above-mentioned average smooth filtering algorithm, then this step S130 is specifically as follows: after the current RSSI value collected is stored into the first queue, and the RSSI value of current RSSI value and the predetermined number adjacent with this current RSSI value that this first team lines up tail is averaged value computing, using operation result as the current modeling parameters corresponding with this current RSSI value, this current modeling parameters is stored into second queue that can comprise the second predetermined number element.
Wherein, 3 ~ 5 RSSI value that the RSSI value of predetermined number is normally adjacent with current RSSI value, but need to illustrate, the numerical value of predetermined number is larger, and the anti-lost method effect of the present embodiment is better, but this predetermined number is less than the first predetermined number.
The current modeling parameters that the present embodiment obtains can be stored in second queue that can comprise the second predetermined number element according to first in first out, is stored into the tail of the queue of the second queue, calls for follow-up modeling after namely obtaining current modeling parameters.
Step S140: according to preset rules, determine the current alerts value that anti-lost base value current with this is corresponding.
In the embodiment of the present invention, this preset rules can for increase by a predetermined threshold value on current anti-lost base value basis, acquired results is current alerts value, certainly, the preset function that this preset rules can also be is variable with current anti-lost base value, this concrete function can experimentally data be determined, the present invention is not construed as limiting this.
Learnt by above-mentioned analysis, because the current RSSI value of current anti-lost base value and collection has certain corresponding relation, its change along with the RSSI value of up-to-date collection and changing, thus, the current alerts value determined according to current anti-lost base value is inevitable also be a dynamic value, and the RSSI value of itself and up-to-date collection also has certain corresponding relation.
Step S150: judge whether filtered current RSSI value is greater than described current alerts value, if so, then performs step S160, if not, then returns step S110.
Wherein, before execution step S150, the threshold value of anti-lost main equipment can also be obtained, usually can think infinity, certainly, operator also can carry out equipment according to the characteristic of the RSSI function of anti-lost main equipment, when user carries out anti-lost setting, directly obtain.And and, in order to improve the accuracy of anti-lost method of the present invention, after determining the current alerts value corresponding with current RSSI value, filtering process will be carried out to current RSSI value, then be compared by filtered current RSSI value and this current alarming value.
Learnt by above-mentioned analysis, the current alerts value that the present embodiment obtains is a dynamic value corresponding with the RSSI value of up-to-date collection, compared with fixing alarming value default in prior art, the change of surrounding environment can be adapted to, avoid because of anti-lost main equipment and anti-lostly between equipment, increase bar, and RSSI value is increased, thus exceed default fixing alarming value, produce the situation of wrong report, then the present invention is when determining that filtered current RSSI value is greater than the current alerts value corresponding with it, directly carry out anti-loss alarm, in the ordinary course of things, compared with carrying out the anti-lost method of anti-loss alarm with the comparative result presetting fixing alarming value according to current RSSI value and certain in prior art, this anti-lost method of the present invention improves anti-lost alarm reliability.
But, at some in particular cases, the anti-lost current RSSI value from the up-to-date collection of equipment increases suddenly, but when in fact anti-lost main equipment does not need to carry out anti-loss alarm, because this filtered current RSSI value is greater than current alerts value, anti-lost wrong report will be produced, that is, if under any circumstance, as long as filtered current RSSI value is greater than current alerts value, anti-lost wrong report cannot be avoided with regard to the anti-lost method of carrying out anti-loss alarm, so, continuation, after completing steps S150, is performed step S160 by the embodiment of the present invention.
Step 160: utilize all modeling parameters presetting modeling rule and storage to carry out modeling, obtain the "current" model of default anti-lost pattern.
In the practical application of the present embodiment, by carrying out simulated experiment to anti-lost pattern in each, experimentally result builds corresponding master pattern, and sums up corresponding modeling rule (being specifically as follows various types of function), calls during application anti-lost for reality.
Such as, when user needs to learn whether anti-lost main equipment is moved, by by this anti-lost main equipment constantly movement, and gather its corresponding RSSI value, by the analysis to this RSSI value and motion track, therefrom summing up the relation of RSSI value and shift position, may be specifically a kind of tables of data, also may be a kind of relation function, as modeling rule during practical application.As can be seen here, presetting modeling rule in step S160 can be obtained according to the test of anti-lost actual needs by user, and it is diversified, and the present invention is only described to walk apotype at this, and other patterns will describe in detail no longer one by one.
Concrete, when default anti-lost pattern is for walking apotype, step S160 is specifically as follows: according to the sequencing in current modeling parameters current storage moment, builds comparison expression to the modeling parameters of the second predetermined number stored.
Step S170: judge whether this "current" model matches with the master pattern presetting anti-lost pattern, if so, then performs step S180; If not, then step S110 is returned.
Still for above-mentioned walk apotype, when anti-lost main equipment gradually away from anti-lost from equipment time, the absolute value of the RSSI value of anti-lost this anti-lost main equipment collected from equipment will increase gradually, thus, the current modeling parameters of the correspondence obtained also can increase gradually, known accordingly, this master pattern walking apotype will can increase along with postponing of moment of storage for the absolute value of the modeling parameters of current modeling parameters and the 3rd predetermined number be adjacent, if the absolute value of the modeling parameters of the second predetermined number of the "current" model constructed by step S160 and current modeling parameters and storage is with storing postponing and increasing of moment, then illustrate that this "current" model and this master pattern walking apotype match, now, anti-lostly anti-loss alarm will be carried out from equipment, with the anti-lost main equipment of reminding user away from anti-lost from equipment.
Wherein, for walking apotype, whether the RSSI value that also can directly judge to gather in Preset Time (namely comprising current RSSI value that current time gathers and the RSSI value that adjacent time correspondence gathers) postpones with acquisition time and increases, if so, then illustrate that this anti-lost main equipment is in away apotype.
Preferably, in actual applications, the "current" model of multiple anti-lost pattern can also be built simultaneously, and it is mated with corresponding master pattern, thus improve anti-lost reliability.For other anti-lost patterns, because user determines respective standard model according to reality anti-lost needs, be diversified, the present invention will will not enumerate at this.
Step S180: carry out anti-loss alarm.
As the above analysis, the embodiment of the present invention by radio connection by anti-lost main equipment and anti-lost from apparatus bound, the anti-lost article physical bindings anti-lost with needs from equipment, this is anti-lost gathers the current RSSI value of this anti-lost main equipment from device periodically, again this current RSSI value is averaged smoothing processing, to determine the current anti-lost base value that RSSI value current with this is corresponding, and utilize predetermined linear filtering algorithm, this current RSSI value is processed and obtains current modeling parameters corresponding to RSSI value current with this and store, afterwards, the current alerts value that anti-lost base value current with this is corresponding is determined according to preset rules, and when determining that filtered current RSSI value is greater than current alerts value, modeling is carried out by utilizing all current modeling parameters presetting modeling rule and storage, and the "current" model of constructed default anti-lost pattern is mated with corresponding master pattern, only have when the match is successful, just carry out anti-loss alarm, compared with the mode in prior art, the current RSSI value gathered and fixing alarming value compared, decrease the impact of surrounding environment, avoid the wrong report under some particular case (situation that such as current RSSI value is undergone mutation), thus the accuracy of anti-loss alarm under ensure that various situation.
Embodiment two:
As shown in Figure 2, for the another kind of flow chart based on the anti-lost method of RISS wireless connections of the present invention, in actual applications, the method can be applied to at least one of anti-lost main equipment wireless connections anti-lost from equipment, eachly anti-lostly all can perform following anti-lost method from equipment, then the method specifically can comprise:
Step S210: the current RSSI value gathering anti-lost main equipment.
Step S220: according to the RSSI value collected in the first Preset Time, judges whether to open Intelligent lost-proof type algorithm application, if so, then performs step S230; If not, then step S210 is returned.
In the embodiment of the present invention, in order to avoid continuous several times carries out anti-loss alarm, for user causes puzzlement, only anti-lost main equipment with anti-lost from equipment relative motionless time, just open Intelligent lost-proof type algorithm, that is, when the RSSI value fluctuation collected in the first Preset Time is less, as when undulating value is in certain preset range, determine that now anti-lost main equipment is relative motionless with anti-lost from equipment, can open Intelligent lost-proof type algorithm; Otherwise, illustrate anti-lost main equipment and anti-lost be relative motion from equipment, before this, inevitable carry out anti-loss alarm, no longer need to open Intelligent lost-proof type algorithm.
Step S230: current RSSI value is averaged smoothing processing, determines the current anti-lost base value that RSSI value current with this is corresponding.
Preferably, this smoothing processing specifically can adopt average smooth filtering algorithm to realize, and detailed process can refer to the appropriate section of above-described embodiment one, will repeat at this at this.
Step S240: utilize predetermined linear filtering algorithm, processes current RSSI value, obtains the current modeling parameters corresponding with described current RSSI value and stores.
Wherein, can refer to the description of the corresponding part of above-described embodiment about the concrete acquisition of current modeling parameters and storage means, the present invention is not described in detail in this.
Step S250: according to preset rules, determine to state current alerts value corresponding to current anti-lost base value and current threshold value with this.
In actual applications, if this current anti-lost base value is the absolute value of the mean value of current 60 RSSI value, then current alerts value can add 10dBm for deserving front anti-lost base value, now, corresponding current threshold value can also be determined, namely on current alerts value basis, add 30dBm.As can be seen here, the change of current anti-lost base value changes from the distance between equipment and anti-lost main equipment or the change of effective mean number of RSSI value that collects along with anti-lost, it is a dynamic changing value, thus, by this current anti-lost base value simply add current alerts value that a threshold value obtains and current threshold value inevitable also be dynamic changing value.
As another embodiment of the present invention, the judgement operation described in above-mentioned steps S220 can perform when execution of step S230 again, then, when judged result is no, directly enter step S260.
Step S260: judge whether filtered current RSSI value is greater than current alerts value and is less than current threshold value, if so, enters step S270; If not, then step S210 is returned.
Wherein, judging described in step S260 operates normally two kinds of results: judged result is yes, and namely filtered current RSSI value is greater than current alerts value and is less than current threshold value; Judged result is no, and namely filtered current RSSI value is less than current alerts value, usually there will not be current RSSI value to be greater than the situation of current threshold value.
Step S270: utilize all modeling parameters presetting modeling rule and storage to carry out modeling, obtain the "current" model of default anti-lost pattern.
Step S280: judge whether this "current" model matches with the master pattern presetting anti-lost pattern, if so, then enters step S290; If not, then step S210 is returned.
Step S290: carry out anti-loss alarm, and close above-mentioned Intelligent lost-proof type algorithm application.
As can be seen here, the embodiment of the present invention is according to the current RSSI value of the anti-lost main equipment gathered, determine dynamic current alerts value and current threshold value, and this filtered current RSSI value and this current alarming value and current threshold value are compared, with in prior art by filtered current RSSI value with preset compared with fixing alarming value, decrease the impact of surrounding environment, greatly reduce anti-lost rate of false alarm, and, when determining that filtered current RSSI value is greater than this current alarming value and is less than current threshold value, the present invention carries out modeling to all modeling parameters stored, and mate with the master pattern presetting anti-lost pattern, when the match is successful, just anti-loss alarm can be carried out, further avoid anti-lost wrong report when some RSSI value in particular cases gathered is undergone mutation, and, after completing once anti-loss alarm, Intelligent lost-proof type algorithm will be closed, thus avoid because continuous alarm is the puzzlement that user causes.
Embodiment three:
As shown in Figure 3, for the structural representation of a kind of anti-lose system based on RSSI wireless connections of the present invention, this system can comprise: anti-lost from equipment 320 (anti-lost from equipment N1, anti-lost from equipment N2 as Fig. 3 with at least one of anti-lost main equipment 310 wireless connections ... anti-lost from equipment Nm, wherein, m is positive integer), wherein, as shown in Figure 4 a kind of based on the anti-lost structural representation from equipment in the anti-lose system of RSSI wireless connections, eachly anti-lostly all can to comprise from equipment:
Collecting unit 321, for gathering the current RSSI value of described anti-lost main equipment.
First processing unit 322, for the smoothing processing that is averaged to described current RSSI value, determines the current anti-lost base value corresponding with described current RSSI value.
In the present embodiment, this processing unit 322 specifically can comprise: the first filler cells and the first mean value arithmetic element, wherein:
First filler cells, for being filled into first queue that can comprise the first predetermined number element by the current RSSI value collected.
In actual applications, when collecting first RSSI value, this filler cells will fill this first RSSI value with full described first queue that can comprise the first predetermined number element, when collecting second RSSI value, this filler cells according to first in first out, will be filled into this second RSSI value the tail of the queue of this queue, the like, when filler cells fills the RSSI value of up-to-date collection, it is all the tail of the queue filling it into queue.
First mean value arithmetic element, for the value computing that is averaged to all RSSI value in this queue, using operation result as be positioned at this first team and line up current anti-lost base value corresponding to the RSSI value of tail.
Second processing unit 323, for utilizing predetermined linear filtering algorithm, processes current RSSI value, obtains current modeling parameters corresponding to RSSI value current with this and stores.
Concrete, in the present embodiment, the first processing unit 322 can comprise: the second filler cells, the second mean value arithmetic element and memory cell, wherein:
Second filler cells is identical with the function of the first filler cells, all for the current RSSI value collected being filled into first queue that can comprise the first predetermined number element.
Second mean value arithmetic element, the RSSI value for the current RSSI value and the predetermined number adjacent with this current RSSI value of first team being lined up to tail is averaged value computing, using operation result as the current modeling parameters corresponding with this current RSSI value.
Wherein, this second mean value arithmetic element also can be identical with the function of above-mentioned first mean value arithmetic element, then the current modeling parameters that the second mean value arithmetic element obtains is the current anti-lost base value that the first mean value arithmetic element obtains.
Memory cell, for storing the current modeling parameters that this second mean value arithmetic element obtains.
Concrete, the current modeling parameters that second mean value arithmetic element obtains can be stored into second queue that can comprise the second predetermined number element by memory cell, in like manner, the storage of current modeling also can be carried out according to the principle of first in first out, and the current modeling parameters that namely the second mean value arithmetic element obtains will be stored into the tail of the queue of the second queue.
Determining unit 324, for according to preset rules, determines the current alerts value corresponding with described current anti-lost base value.
In actual applications, this determining unit 324 specifically can carry out add operation to current anti-lost base value and predetermined threshold value, using operation result as the current alerts value corresponding with this current anti-lost base value.
Wherein, the embodiment of the present invention can also comprise:
3rd judging unit, for according to the RSSI value collected in the first Preset Time, judges whether to open Intelligent lost-proof type algorithm application, if so, then opens described Intelligent lost-proof type algorithm application, and trigger described first judging unit; If not, then described collecting unit is triggered.
Concrete, the 3rd judging unit can judge that the fluctuation range of all RSSI value of continuous acquisition in the first Preset Time is whether in preset range, if so, then opens Intelligent lost-proof type algorithm application.
First judging unit 325, for judging whether filtered current RSSI value is greater than described current alerts value.
Modeling unit 326, for when the judged result of described first judging unit is for being, utilizes all modeling parameters presetting modeling rule and storage to carry out modeling, obtaining the "current" model of default anti-lost pattern.
Second judging unit 327, for judging whether described "current" model matches with the described master pattern presetting anti-lost pattern.
In the present embodiment practical application, when default anti-lost pattern is for walking apotype, this second judging unit 327 will judge whether current modeling parameters and the absolute value of the modeling parameters of the 3rd predetermined number be adjacent increase along with postponing of moment of storage, if, then illustrate that anti-lost main equipment enters away apotype, need to report to the police.
Alarm unit 328, for when the second judging unit is for being, carries out anti-loss alarm.
Preferably, in order to avoid anti-lost from equipment continuous alarm, above-mentioned anti-lose system can also comprise:
Closing unit, for after completing once anti-loss alarm, closes above-mentioned Intelligent lost-proof type algorithm application.
It should be noted that, above-mentioned each anti-lost from equipment in advance in needing anti-lost anti-lost main equipment to bind in the present embodiment, concrete binding procedure please refer to the binding technology of existing equipment room, and the present invention is not described in detail in this.
To sum up, the embodiment of the present invention is by the smoothing processing that is averaged to the current RSSI value of the anti-lost main equipment collected, determine the current anti-lost base value that RSSI value current with this is corresponding, again according to preset rules, determine the current alerts value that anti-lost base value current with this is corresponding, now, filtered current RSSI value and this current alarming value are compared, compared with the technical scheme compared with RSSI value current in prior art and fixing alarming value, reduce anti-lost rate of false alarm, afterwards, when current RSSI value is after the filtering greater than current alerts value, modeling is carried out by utilizing all modeling parameters presetting modeling rule and storage, and the "current" model of constructed default anti-lost pattern is mated with corresponding master pattern, only have when the match is successful, just carry out anti-loss alarm, avoid the wrong report under some particular case (situation that such as current RSSI value is undergone mutation), thus the accuracy of anti-loss alarm under ensure that various situation.In addition, it should be noted that, about in the various embodiments described above, the such as relational terms of first, second grade and so on is only used for an operation or unit and another operates or cellular zone separates, and not necessarily requires or imply the relation or order that there is any this reality between these unit or operation.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For system disclosed in embodiment, because it is corresponding with method disclosed in embodiment, so description is fairly simple, relevant part illustrates see device section.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. based on an anti-lost method for RISS wireless connections, it is characterized in that, be applied to at least one of anti-lost main equipment wireless connections anti-lost from equipment, then described method comprises:
Gather the current RSSI value of described anti-lost main equipment;
Described current RSSI value is averaged smoothing processing, determines the current anti-lost base value corresponding with described current RSSI value;
Utilize predetermined linear filtering algorithm, described current RSSI value is processed, obtain the current modeling parameters corresponding with described current RSSI value and store;
According to preset rules, determine the current alerts value corresponding with described current anti-lost base value;
Judge whether filtered current RSSI value is greater than described current alerts value;
If so, utilize all current modeling parameters presetting modeling rule and storage to carry out modeling, obtain the "current" model of default anti-lost pattern;
Judge whether described "current" model matches with the described master pattern presetting anti-lost pattern;
If coupling, carries out anti-loss alarm.
2. method according to claim 1, is characterized in that, after the current RSSI value collecting described anti-lost main equipment, and before judging whether filtered current RSSI value is greater than described current alerts value, described method also comprises:
According to the RSSI value collected in the first Preset Time, judge whether to open Intelligent lost-proof type algorithm application;
If so, then perform and describedly judge whether filtered current RSSI value is greater than described current alerts value step;
If not, then the current RSSI value step returning the described anti-lost main equipment of described collection continues to perform.
3. method according to claim 2, is characterized in that, after carrying out anti-loss alarm, described method also comprises:
Close described Intelligent lost-proof type algorithm application.
4. method according to claim 3, is characterized in that, to be describedly averaged smoothing processing to described current RSSI value, determines the current anti-lost base value corresponding with described current RSSI value, comprising:
Described current RSSI value is filled into first queue that can comprise the first predetermined number element;
All RSSI value in described first queue are averaged value computing, using operation result as the current anti-lost base value corresponding with described current RSSI value.
5. method according to claim 4, is characterized in that, describedly utilizes predetermined linear filtering algorithm, processes described current RSSI value, obtains the current modeling parameters corresponding with described current RSSI value and store comprising:
The RSSI value of current RSSI value and the predetermined number adjacent with described current RSSI value that described first team lines up tail is averaged value computing, using operation result as the current modeling parameters corresponding with described current RSSI value;
Described current modeling parameters is stored into second queue that can comprise the second predetermined number element.
6. method according to claim 4, is characterized in that, when collecting first RSSI value, describedly described current RSSI value being filled into first queue that can comprise the first predetermined number element being specially:
Described first RSSI value is filled the tail of the queue that completely can comprise the first queue of the first predetermined number element;
Then when collecting second RSSI value, describedly described current RSSI value being filled into first queue that can comprise the first predetermined number element being specially:
According to first-in first-out rule, described second RSSI value is filled into the tail of the queue of first queue that can comprise the first predetermined number element.
7. the method according to any one of claim 1-6, is characterized in that, when described preset anti-lost pattern for walking apotype time, describedly judge that whether described "current" model matches with the described master pattern presetting anti-lost pattern and be specially:
Judge whether the absolute value of the modeling parameters of current modeling parameters and three predetermined number adjacent with described current modeling parameters increases along with storing postponing of moment.
8. the method according to any one of claim 1-6, is characterized in that, described according to preset rules, determines that the current alerts value corresponding with described current anti-lost base value comprises:
Add operation is carried out to current anti-lost base value and predetermined threshold value, using operation result as the current alerts value corresponding with described current anti-lost base value.
9. the method according to any one of claim 2-6, is characterized in that, the RSSI value collected in described foundation first Preset Time, judges whether to open Intelligent lost-proof type algorithm application, comprising:
Judge that the fluctuation range of all RSSI value of continuous acquisition in the first Preset Time is whether in preset range;
If so, then Intelligent lost-proof type algorithm application is opened.
10. based on an anti-lose system for RSSI wireless connections, it is characterized in that, comprising: be anti-lost from equipment with at least one of anti-lost main equipment wireless connections, eachly anti-lostly to comprise from equipment:
Collecting unit, for gathering the current RSSI value of described anti-lost main equipment;
First processing unit, for the smoothing processing that is averaged to described current RSSI value, determines the current anti-lost base value corresponding with described current RSSI value;
Second processing unit, for utilizing predetermined linear filtering algorithm, processing described current RSSI value, obtaining the current modeling parameters corresponding with described current RSSI value and storing;
Determining unit, for according to preset rules, determines the current alerts value corresponding with described current anti-lost base value;
First judging unit, for judging whether filtered current RSSI value is greater than described current alerts value;
Modeling unit, for when the judged result of described first judging unit is for being, utilizes all current modeling parameters presetting modeling rule and described second processing unit storage to carry out modeling, obtaining the "current" model of default anti-lost pattern;
Second judging unit, for judging whether described "current" model matches with the described master pattern presetting anti-lost pattern;
Alarm unit, for when described second judging unit is for being, carries out anti-loss alarm.
CN201410442958.6A 2014-09-02 2014-09-02 Anti-loss method and system based on RSSI wireless connection Pending CN104244169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410442958.6A CN104244169A (en) 2014-09-02 2014-09-02 Anti-loss method and system based on RSSI wireless connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410442958.6A CN104244169A (en) 2014-09-02 2014-09-02 Anti-loss method and system based on RSSI wireless connection

Publications (1)

Publication Number Publication Date
CN104244169A true CN104244169A (en) 2014-12-24

Family

ID=52231359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410442958.6A Pending CN104244169A (en) 2014-09-02 2014-09-02 Anti-loss method and system based on RSSI wireless connection

Country Status (1)

Country Link
CN (1) CN104244169A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657587A (en) * 2016-09-30 2017-05-10 上海斐讯数据通信技术有限公司 Handset loss prevention method and system based on wearable equipment
CN106850004A (en) * 2017-02-21 2017-06-13 广州视源电子科技股份有限公司 Equipment anti-loss parameter calibration method, device and system and anti-loss method and device
CN106875604A (en) * 2015-12-11 2017-06-20 上海同优信息科技有限公司 Based on wireless connection dual chip anti-lose system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101194293A (en) * 2005-06-06 2008-06-04 L·凯茨 System and method for variable threshold sensor
CN101237479A (en) * 2008-02-25 2008-08-06 青岛海信移动通信技术股份有限公司 Active miss prevention system and method for handheld device
CN101697242A (en) * 2009-10-23 2010-04-21 罗富强 Method, device and system for preventing burglaries wirelessly and intelligently
CN202534117U (en) * 2012-03-30 2012-11-14 厦门市拙雅科技有限公司 Losing prevention device
CN103247142A (en) * 2012-02-14 2013-08-14 滕繁 Anti-lost management device for self-organizing team based on Zigbee technology
CN103729982A (en) * 2014-01-08 2014-04-16 杭州晟元芯片技术有限公司 Implementation method for multifunctional anti-loss apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101194293A (en) * 2005-06-06 2008-06-04 L·凯茨 System and method for variable threshold sensor
CN101237479A (en) * 2008-02-25 2008-08-06 青岛海信移动通信技术股份有限公司 Active miss prevention system and method for handheld device
CN101697242A (en) * 2009-10-23 2010-04-21 罗富强 Method, device and system for preventing burglaries wirelessly and intelligently
CN103247142A (en) * 2012-02-14 2013-08-14 滕繁 Anti-lost management device for self-organizing team based on Zigbee technology
CN202534117U (en) * 2012-03-30 2012-11-14 厦门市拙雅科技有限公司 Losing prevention device
CN103729982A (en) * 2014-01-08 2014-04-16 杭州晟元芯片技术有限公司 Implementation method for multifunctional anti-loss apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875604A (en) * 2015-12-11 2017-06-20 上海同优信息科技有限公司 Based on wireless connection dual chip anti-lose system and method
CN106657587A (en) * 2016-09-30 2017-05-10 上海斐讯数据通信技术有限公司 Handset loss prevention method and system based on wearable equipment
CN106850004A (en) * 2017-02-21 2017-06-13 广州视源电子科技股份有限公司 Equipment anti-loss parameter calibration method, device and system and anti-loss method and device
CN106850004B (en) * 2017-02-21 2019-09-17 广州视源电子科技股份有限公司 Equipment anti-loss parameter calibration method, device and system and anti-loss method and device

Similar Documents

Publication Publication Date Title
CN103473889A (en) Floor early warning system and early warning method of floor early warning system
CN107426539B (en) Drainage pipe network monitoring system and method based on narrow-band Internet of things
CN202918379U (en) Article losing and stealing prevention system based on bluetooth mobile phone
CN104484996B (en) Road segment traffic state distinguishing method based on multi-source data
CN106761798B (en) A kind of large diameter shield tunnel face management system based on BIM
CN104244169A (en) Anti-loss method and system based on RSSI wireless connection
CN104967970B (en) The method and system of terminal device pairing connection
CN104464189A (en) Intelligent monitoring shoe and monitoring method thereof
CN205354288U (en) Mountain landslide monitoring and early warning device based on internet of things
CN103618993A (en) Pet locating tracker
CN105629759A (en) Intelligent household monitoring system
CN105225417A (en) The system and method preventing from child from climbing window falling
CN103197644A (en) Integration monitoring system and method of tunnel construction and operation phase
CN106297252A (en) A kind of industrial park air pollution surveillance system
CN107493567A (en) For supervising place personnel positions and the system and method for behavior in special chamber
CN110196438A (en) Localization method, positioning device and terminal device
CN104462855A (en) Underground structure monitoring data processing and analyzing method and device
CN103533153A (en) Shaking help-seeking mechanism based on mobile terminal
CN115471865A (en) Operation site digital safety control method, device, equipment and storage medium
CN102256381A (en) Distributed adaptive particle filter-based wireless sensor network target tracking method
CN104751615A (en) Debris flow evolution process based hierarchy early-warning method
CN107989599B (en) Low-power-consumption wireless communication system and method for plunger pressure gauge
CN204480426U (en) Based on the household fire monitoring system of Internet of Things and mobile phone terminal
CN104298988A (en) Method for property protection based on video image local feature matching
KR20180117430A (en) Gateway device for managing underground utility and method of operating the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180928

AD01 Patent right deemed abandoned