CN107331129A - A kind of loss determination methods and device based on motion sensor - Google Patents

A kind of loss determination methods and device based on motion sensor Download PDF

Info

Publication number
CN107331129A
CN107331129A CN201710451737.9A CN201710451737A CN107331129A CN 107331129 A CN107331129 A CN 107331129A CN 201710451737 A CN201710451737 A CN 201710451737A CN 107331129 A CN107331129 A CN 107331129A
Authority
CN
China
Prior art keywords
bluetooth equipment
rssi
bluetooth
data
walking
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
CN201710451737.9A
Other languages
Chinese (zh)
Other versions
CN107331129B (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.)
Qianhai Bao Bao (shenzhen) Technology Co Ltd
Original Assignee
Qianhai Bao Bao (shenzhen) 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 Qianhai Bao Bao (shenzhen) Technology Co Ltd filed Critical Qianhai Bao Bao (shenzhen) Technology Co Ltd
Priority to CN201710451737.9A priority Critical patent/CN107331129B/en
Publication of CN107331129A publication Critical patent/CN107331129A/en
Priority to PCT/CN2018/090900 priority patent/WO2018228398A1/en
Application granted granted Critical
Publication of CN107331129B publication Critical patent/CN107331129B/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/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B29/00Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
    • G08B29/18Prevention or correction of operating errors
    • G08B29/185Signal analysis techniques for reducing or preventing false alarms or for enhancing the reliability of the system
    • G08B29/188Data fusion; cooperative systems, e.g. voting among different detectors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present invention is applied to terminal device technical field there is provided a kind of loss determination methods based on motion sensor and device, including:Obtain bluetooth signal intensity RSSI desired values;When the RSSI desired values exceed default RSSI critical values, whether the first bluetooth equipment and the second bluetooth equipment of interconnection have walking data in N seconds before detection;According to testing result and default loss judgment model, judge that first bluetooth equipment and the second bluetooth equipment whether there is loss event;If in the presence of loss event, then triggering alarm.Motion sensor is added bluetooth equipment by the present invention, judged with the anti-loss that motion sensor coordinates RSSI decay to make, loss prevention function is set accurately to judge situation about alarming and situation about should not alarm, alarm accuracy is improved relative to prior art, the effect of antitheft anti-loss can be preferably served.

Description

A kind of loss determination methods and device based on motion sensor
Technical field
The invention belongs to terminal device technical field, more particularly to a kind of loss determination methods based on motion sensor and Device.
Background technology
With the development of electric consumers, bluetooth equipment is increasingly popularized, and user can connect mobile phone by bluetooth equipment, To realize anti-lost function, by anti-lost function, mobile phone is easily found.
In anti-lost function, radio communication is carried out by Bluetooth protocol between bluetooth equipment and mobile phone, it is strong with Bluetooth signal Angle value RSSI or bluetooth connection state, go to judge whether mobile phone exceeds preset range, as long as exceed preset range, Jiu Huifa Go out alarm.Such as, but because a variety of causes, human body is disturbed, bluetooth frequency hopping, environmental disturbances etc. cause the feelings of anti-lost function wrong report Condition happens occasionally.
The content of the invention
In view of this, the embodiments of the invention provide a kind of loss determination methods based on motion sensor and device, with Solve existing loss prevention function, it is difficult to accurately judge object loss, the problem of being unfavorable for reduction rate of false alarm.
The first aspect of the embodiment of the present invention provides a kind of loss determination methods based on motion sensor, including:
Obtain bluetooth signal intensity RSSI desired values;
When the RSSI desired values exceed default RSSI critical values, the first bluetooth equipment interconnected before detection in N seconds Whether there are walking data with the second bluetooth equipment;
According to testing result and default loss judgment model, first bluetooth equipment and the second bluetooth equipment are judged With the presence or absence of the event of loss;
Alarm module, if in the presence of loss event, then triggering alarm.
The second aspect of the embodiment of the present invention provides a kind of loss judgment means based on motion sensor, including:
Acquisition module, for obtaining bluetooth signal intensity RSSI desired values;
Detection module, for when the RSSI desired values exceed default RSSI critical values, being interconnected before detection in N seconds The first bluetooth equipment and the second bluetooth equipment whether have walking data;
Judge module, for according to testing result and default loss judgment model, judging first bluetooth equipment It whether there is loss event with the second bluetooth equipment;
Alarm module, if in the presence of loss event, then triggering alarm.
The third aspect of the embodiment of the present invention is set there is provided a kind of loss judgment means/terminal based on motion sensor It is standby, including memory, processor and the computer program that can be run in the memory and on the processor is stored in, The step of above method being realized described in the computing device during computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, it is characterised in that the computer program realizes the step of the above method when being executed by processor Suddenly.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:
Motion sensor is added into bluetooth equipment, is judged with the anti-loss that motion sensor coordinates RSSI decay to make, made Loss prevention function can accurately judge situation about alarming and situation about should not alarm, and report is improved relative to prior art Alert accuracy, can preferably serve the effect of antitheft anti-loss.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process figure of the loss determination methods provided in an embodiment of the present invention based on motion sensor;
Fig. 2 is the implementation process of the loss determination methods step S101 provided in an embodiment of the present invention based on motion sensor Figure;
Fig. 3 is the implementation process of the loss determination methods step S102 provided in an embodiment of the present invention based on motion sensor Figure;
Fig. 4 is the interaction diagrams of the first bluetooth equipment provided in an embodiment of the present invention and the second bluetooth equipment;
Fig. 5 is the structured flowchart that the embodiment of the present invention provides the device based on motion sensor;
Fig. 6 is the schematic diagram of loss judgment means/terminal device provided in an embodiment of the present invention based on motion sensor.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " indicates described spy Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal device described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal device including display and touch sensitive surface is described.However, should manage Solution, one or more of the other physical User that terminal device can include such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Terminal device supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on the terminal device can use at least one of such as touch sensitive surface Public physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch The corresponding information shown in the one or more functions and terminal of sensing surface.So, the public physical structure (example of terminal Such as, touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
With reference to Fig. 1, Fig. 1 is the implementation process of the loss determination methods provided in an embodiment of the present invention based on motion sensor Figure, this method is applied to terminal device, and the loss determination methods based on motion sensor can include following step as shown in Figure 1 Suddenly:
S101, obtains bluetooth signal intensity RSSI desired values;
First bluetooth equipment and the second bluetooth equipment are interconnected by bluetooth communication mode, the first bluetooth equipment and the second bluetooth Equipment is any one bluetooth equipment, including but not limited to blue-tooth intelligence wearing product, blue-tooth intelligence portable product, bluetooth ear Machine, mobile phone, tablet personal computer.
S102, when the RSSI desired values exceed default RSSI critical values, the first bluetooth interconnected before detection in N seconds Whether equipment and the second bluetooth equipment have walking data;
Wherein, N is positive number.
Wherein, start and see back mechanism, by built in the motion sensor built in the first bluetooth equipment and the second bluetooth equipment Motion sensor, whether the first bluetooth equipment and the second bluetooth equipment interconnected before detection in N second have walking data.
Wherein, if the motion sensor of the first bluetooth equipment does not have generation walking data in first N seconds, N seconds before detecting Walking data are not present in interior first bluetooth equipment, if the motion sensor of the first bluetooth equipment produces walking data in first N seconds, In N seconds there are walking data in the first bluetooth equipment before then detecting.
Wherein, if the motion sensor of the second bluetooth equipment does not have generation walking data in first N seconds, N seconds before detecting Walking data are not present in interior second bluetooth equipment, if the motion sensor of the second bluetooth equipment produces walking data in first N seconds, In N seconds there are walking data in the second bluetooth equipment before then detecting.
S103, according to testing result and default loss judgment model, judges first bluetooth equipment and the second indigo plant Tooth equipment whether there is loss event;
Further, it is described according to testing result and default loss judgment model, judge first bluetooth equipment It whether there is loss event with the second bluetooth equipment, be specially:
When testing result is that the first bluetooth equipment and the second bluetooth equipment are without walking data in first N seconds, judge Loss event is not present in first bluetooth equipment and the second bluetooth equipment;
When testing result is that first N second interior first bluetooth equipment does not have a walking data, the second bluetooth equipment have walking data and When the duration of the walking data exceedes preset time threshold, judge that first bluetooth equipment has loss event;
When testing result is that first N second interior second bluetooth equipment does not have a walking data, the first bluetooth equipment have walking data and When the duration of the walking data exceedes preset time threshold, judge that second bluetooth equipment has loss event;
When testing result is that the first bluetooth equipment and the second bluetooth equipment have walking data in first N seconds, by described The walking data of first bluetooth equipment and the second bluetooth equipment, relatively first bluetooth equipment per second and second bluetooth are set Whether standby walking movement is consistent, according to comparative result, judges that first bluetooth equipment and the second bluetooth equipment whether there is Loss event.
Further, it is described according to testing result and default loss judgment model, judge first bluetooth equipment It whether there is loss event with the second bluetooth equipment, be specially:
When testing result is that the first bluetooth equipment and the second bluetooth equipment have walking data in first N seconds, every default Time, the walking data of the walking data of the second bluetooth equipment and the first bluetooth equipment are contrasted;
If all there are walking data in the first bluetooth equipment and the second bluetooth equipment within the same second, as a result to be consistent;
If the first bluetooth equipment and the second bluetooth equipment all occur without walking data within the same second, as a result to be consistent;
If within the same second, there are walking data in only the first bluetooth equipment or the side of the second bluetooth equipment one, as a result for not Unanimously;
Statistical result, if in first N seconds, being as a result higher than preset ratio for consistent ratio, then judges that described first is blue Loss event is not present in tooth equipment or the second bluetooth equipment, if in first N seconds, being as a result not higher than default ratio for consistent ratio Example, then judge that first bluetooth equipment or the second bluetooth equipment have loss event, to first bluetooth equipment and the Two bluetooth equipments are alerted.
S104, if during in the presence of loss event, then triggering alarm.
Wherein, S104, be specially:
If determining first bluetooth equipment has loss event, then alarm command is sent to itself, trigger itself Alarm, if determining second bluetooth equipment has loss event, then sends alarm command, triggering to the first bluetooth equipment First bluetooth equipment is alarmed.
For purposes of illustration only, the first bluetooth equipment is referred to as mobile phone, the second bluetooth equipment is the equipment in addition to mobile phone, referred to as For bluetooth equipment, the motion sensor comparative analysis of mobile phone and bluetooth equipment, details are as follows:
The RSSI desired values for detecting chopped-off head processing are less than set critical value, can start the mechanism seen back (Look Back Mechanism), the motion sensor (three axle accelerators) of the mobile phone of 15 seconds and bluetooth equipment before is carried out to score Analysis, the walking data of bluetooth equipment are obtained by in-built motion sensor, and mobile phone walking data are then with the motion built in mobile phone The function output that sensor and related system are given is acquired, and bluetooth equipment transmits walking data to mobile phone, sees back the good of mechanism Place's delay is very low, because the data before simply seeing back, and do not need the extra time.
Contrasted in the motion sensor of bluetooth equipment and mobile phone, have four kinds of situations:
1. bluetooth equipment and mobile phone do not have walking movement situation.
When testing result is that mobile phone and bluetooth equipment are without walking data in first N seconds, bluetooth equipment and mobile phone are represented There is no walking movement situation, judge that loss event is not present in the mobile phone and bluetooth equipment;
2. bluetooth equipment does not have walking movement situation, but mobile phone has walking movement situation.
When testing result is that bluetooth equipment does not have walking data in first N seconds, mobile phone has walking data and the walking data Duration exceed preset time threshold when, represent bluetooth equipment there is no motion conditions, mobile phone has motion conditions.
Because mobile phone takes the various operations of progress by user sometimes, such as answer a call, browse webpage etc..So being System can analyze whether preceding 15 seconds mobile phones motion belongs to walking movement, and walking along the street campaign can be via the meter built in present intelligent mobile phone system Walk device function and obtain, or substitute into pedometer algorithm again from data after motion sensor output and obtain.If mobile phone is moved It is to be stored in walking movement, system can judge mobile phone belt with user, and bluetooth equipment is left behind by user, this application program of mobile phone meeting User is notified to bring back bluetooth equipment.
3. bluetooth equipment has walking movement situation, but mobile phone does not have walking movement situation.
When testing result is that mobile phone does not have walking data in first N seconds, bluetooth equipment has walking data and the walking data Duration when exceeding preset time threshold, represent that bluetooth equipment has motion conditions, but mobile phone does not have motion conditions, judges There is loss event in the mobile phone.
Because bluetooth equipment has motion conditions, but mobile phone does not have motion conditions, and system, which can analyze preceding 15 seconds bluetooth equipments, is No to be stored in walking movement, walking along the street campaign can be obtained via the pedometer function algorithm in firmware.If bluetooth equipment is to be stored in Walking movement, this situation can be determined as that bluetooth equipment is taken with oneself by user, and mobile phone is left behind by user, and now bluetooth equipment can lead to Cross buzzer and send alarm, notify user to bring back mobile phone.
4. bluetooth equipment and mobile phone have walking movement situation.
When testing result is that mobile phone and bluetooth equipment there are walking data in first N seconds, represent that bluetooth equipment and mobile phone are equal There are motion conditions, by the walking data of the mobile phone and bluetooth equipment, the relatively mobile phone per second and the bluetooth equipment Whether walking movement is consistent, according to comparative result, judges that the mobile phone and bluetooth equipment whether there is loss event.
Because bluetooth equipment and mobile phone have motion conditions, system can analyze the motion state of preceding 15 seconds mobile phones and bluetooth, Mobile phone and bluetooth are compared as the walking movement result produced by respective motion sensor, in units of 1.5 seconds, are had The period for walking movement occurred is 1, and the period for walking movement do not occurred is 0, and mobile phone relatively more per second and bluetooth are set Standby row walks the uniformity of motion, and system admits of the priority error of positive and negative 1 second, if both walking movement uniformity are makeed an appointment, is System judges that loss event is not present in first bluetooth equipment or the second bluetooth equipment, does not make alarm.
It is two aspects in beneficial effect of the embodiment of the present invention, on the one hand, motion sensor is added into bluetooth equipment, to transport The anti-loss that dynamic sensor coordinates RSSI decay to make judges, allow loss prevention function accurately judge situation about alarming and Situation about should not alarm, improves alarm accuracy, on the other hand, can independently set detection time, first 10 seconds or first 15 seconds, The flexibility of loss prevention function is added, the effect of antitheft anti-loss can be preferably served.
Embodiment two
The embodiment of the present invention describes the realization that RSSI desired values are obtained in the loss determination methods based on motion sensor Flow, the loss determination methods are applied to terminal device, obtain bluetooth signal intensity RSSI desired values, are specially:
The former data of RSSI are obtained, process of convolution are carried out with default normal distyribution function to the former data of RSSI, after convolution The RSSI data of output carry out linear regression, obtain RSSI desired values;
Or, for obtaining the former data of RSSI, using median filter, median filter process is carried out to the former data of RSSI, It regard the RSSI intermediate values exported after medium filtering as RSSI desired values;
Or, for obtaining the former data of RSSI, in the former data of RSSI, multiple bluetooth signal intensity RSSI are gathered, to many Individual bluetooth signal intensity RSSI carries out data fluctuations smoothing techniques, filters out the peak in multiple bluetooth signal intensity RSSI And minimum, remaining bluetooth signal intensity RSSI is obtained, the average for choosing remaining bluetooth signal intensity RSSI is used as bluetooth Signal intensity RSSI desired values.
For purposes of illustration only, with reference to Fig. 2, Fig. 2 is the loss judgement side provided in an embodiment of the present invention based on motion sensor Method step S101 implementation process figure, as shown in Fig. 2 S101 may comprise steps of:
S201, obtains the former data of RSSI, in the former data of RSSI, gathers multiple bluetooth signal intensity RSSI;
Multiple bluetooth signal intensity RSSI are carried out data fluctuations smoothing techniques, filter out multiple Bluetooth signals by S202 Peak and minimum in intensity RSSI, obtain remaining bluetooth signal intensity RSSI;
S203, the average for choosing remaining bluetooth signal intensity RSSI is used as bluetooth signal intensity RSSI desired values.
With reference to Fig. 3, Fig. 3 is the loss determination methods step S102 provided in an embodiment of the present invention based on motion sensor Implementation process figure, is somebody's turn to do the loss determination methods based on motion sensor and is applied to terminal device, as shown in figure 3, S102 can be wrapped Include following steps:
S301, detects that the RSSI desired values exceed default RSSI critical values whether continuous three times;
S302, when continuous three times of the RSSI desired values exceed default RSSI critical values, interconnection in N second before detection The first bluetooth equipment and the second bluetooth equipment whether have walking data.
For purposes of illustration only, the first bluetooth equipment is referred to as mobile phone, the second bluetooth equipment is the equipment in addition to mobile phone, referred to as For bluetooth equipment, details are as follows for RSSI algorithm flows:
RSSI sampling frequencies only need 500ms (0.5 second) once, set a window size, size is 7, represent The RSSI signals received by current seven can be remembered in Window always.
Chopped-off head processing
Filter (ignoring):For the of short duration prominent interference fallen of sharp rising, the of short duration data sharp risen with bust, mode can be first filtered It is the highest and minimum tail of choping off the head RSSI in Window.So as to which the of short duration prominent interference fallen of sharp rising is removed;
It is average:For self slight and long-term fluctuation, RSSI desired values are taken, the long-term slight situation of fluctuation up and down can be from Self is offset in Window moving process, or as the part as baseline (Baseline) that routinizes, so that slight Data fluctuations smoothing.
When continuous three times of RSSI desired values exceed set RSSI critical values, mobile phone and bluetooth equipment will be coordinated Motion sensor carries out next step judgement.
The embodiment of the present invention is added on the basis of embodiment one " carries out data wave to multiple bluetooth signal intensity RSSI Dynamic smoothing techniques, filter out the peak and minimum in multiple bluetooth signal intensity RSSI, obtain remaining Bluetooth signal Intensity RSSI ", so as to remove of short duration interference, is easy to get suitable RSSI desired values.
Embodiment three
With reference to Fig. 4, Fig. 4 is the interaction flow of the first bluetooth equipment provided in an embodiment of the present invention and the second bluetooth equipment Figure, as shown in figure 4, the first bluetooth equipment is mobile phone, the second bluetooth equipment is equipment in addition to mobile phone, abbreviation bluetooth equipment, This method may comprise steps of:
Bluetooth connection is set up in S401, request;
S402, sends the walking data of bluetooth equipment;
S403, obtains the walking data of mobile phone;
S404, the walking data of the walking data of mobile phone and bluetooth equipment are contrasted.
For purposes of illustration only, being below the first bluetooth equipment and the second bluetooth equipment preferably interaction flow, details are as follows:
1) the walking movement analysis of bluetooth equipments
First, three axles are obtained and accelerates data
1st, sample frequency is set:
(1) the limbs repeating motion of common people, each cycle is not over 200mS, so most fast motion frequency is 5Hz.
(2) it can be seen from sampling thheorem, when sample frequency fs is not less than 2 times of highest frequency fmax in signal, fs>= Data signal after being sampled during 2fmax intactly remains the information in primary signal.
According to (1) (2) two conditions, this algorithm is in order to preferably reduce limb motion information, so using than most fast freight Three axles are accelerated sensing acquisition xyz acceleration by use frequency 20Hz higher dynamic frequency 5Hz.
Sample frequency:Fs=20Hz (gathers an xyz axle acceleration per 50mS)
2nd, windowing obtains data and processing:
(1) forms length:
The general time is walked not over 1.5 seconds in view of common people, so the time width of forms is set as 1.5 Second.According to the sample frequency fs=20Hz (an xyz axle acceleration is gathered per 50mS) of this algorithm, therefore the forms of this algorithm are slow Depositing length is:1500mS/50mS=30.
Window size:WIND_LEN=30;
(2) data filtering:
A. filtering principle
In order to obtain round and smooth meter step data curve, this algorithm is used:Recurrence average filter method (is also known as moving average filter Method) the 3-axis acceleration data collected are filtered.(note:Recurrence average filter method principle:Continuously taking N number of sampled value The length for regarding a queue as is fixed as N and samples a new data every time being put into tail of the queue, and throws away a number of original head of the queue According to (first in first out), N number of data in queue are carried out arithmetic average computing, so that it may obtain new filter result.
B. code description:
This meter walks algorithm:N=4,
Average value is cached:AVERAGE_DATA[N];
Freshly harvested xyz axles data:new_axis_converted;
Forms data is cached:axis_converted_avg[WIND_LEN];
Average function:ADXL_AVERAGE(AVERAGE_DATA,4);
LPF:Recurrence average filter method;
C. information contrast before and after filtering:Filtered data becomes rounder and more smooth, improves the precision of meter step
(3) maximin is sought:The various parameters for needing maximin to ask meter to walk in several steps.
Maximum structure:MAX_DATA{X,Y,Z}
Minimum value structure:MIN_DATA{X,Y,Z}
2nd, meter step algorithm
After the completion of windowing, start Data Post and several steps
1st, relevant parameter is sought:
(1) new threshold value (THRESH):After the data acquisition for often completing a forms, threshold values is reacquired.New threshold value is many The data of secondary forms are averaging.
(2) extreme difference value (DELTA):Maximum subtracts the difference of minimum value.
DELTA=ADXL_MINUS (MAX_DATA, MIN_DATA);
(3) broadband of threshold values half is worth:Subtract the poor difference for subtracting minimum value with new threshold value that new threshold value obtains with maximum to be compared, take big Difference divided by wideband coefficients constant.
Wideband coefficients constant broadband=8.0, wideband coefficients constant (bigger broadband is narrower)
2nd, meter step:
(1) active degree of pedometer is judged:By judging whether the data maximums of each axle are more than new threshold value plus work Jump constant, if greater than showing that pedometer has walking motion
Enliven constant:Brisk=0.3, (smaller sensitiveer)
(2) judge that axle is most active when first three axle accelerator:Compare three axle xyz pole absolute difference, extreme difference value is exhausted It is the direction that walking is advanced to being worth very most active axle.
(3) judgement data is successively decreased direction:Subtract afterwards because the acceleration of a cycle of paces action first increases, this algorithm With direction of successively decreasing as meter step operation.
(4) threshold values judges:Data, which are met, successively decreases, and to cross threshold values.
Judge whether number crosses the threshold values upper limit, obtain the data ceiling more than higher limit:
Judge whether number crosses lower threshold, yield less than the data floor of lower limit:
And the data ceiling more than higher limit is greater than data floor less than lower limit, and step number adds 1.
2) the walking data of mobile portable phones
First, mobile portable phone walking data acquisition flow
With mobile phone is placed on, when people's walking, by monitoring the acceleration transducer GSensor of mobile phone, acceleration is passed Sensor can produce initial data, i.e. x, y, the acceleration magnitude of z-axis always.The incoming detection step after certain conversion In detectorNewStep, wherein can judgment value whether be crest value, finally determine whether meter step.
3) sends the walking data result of bluetooth equipment to mobile phone
After pedometer and Bluetooth of mobile phone successful connection, start meter step algorithm.When pedometer and Bluetooth of mobile phone disconnect, close Close meter step algorithm.So as to reduce pedometer power consumption.
Complete windowing gathered data and algorithm completes to calculate step number, pedometer is transferred to mobile phone by bluetooth approach.However, The meter step and step number for often completing a forms are transmitted, and the time cycle is 1.5 seconds.Every 1.5 seconds of pedometer, by opening bluetooth garment Business 0XFE22 passages transmit step number to mobile phone in an informed way.
4) carries out the contrast of the walking data of bluetooth equipment and mobile phone
In mobile phone, system can be to the walking data progress pair in the mobile phone of first 15 seconds with the respective generation of bluetooth equipment Than being contrast unit with 1.5 seconds, the period for occurring walking movement is 1, and the period for walking movement do not occurred is 0, the uniformity of mobile phone and bluetooth equipment row step motion relatively more per second,
One, bluetooth equipments and mobile phone do not have walking movement situation;
If mobile phone did not had walking data (full 0) within 15 seconds, and bluetooth equipment did not had walking number within 15 seconds According to (full 0), bluetooth equipment and the mobile phone situation without walking movement are represented.Because two objects are virtually free from leaving pair Side, so not having situation about being lost, it is possible to judge that the alarm of anti-loss, as erroneous judgement, does not make alarm.
Two, bluetooth equipments do not have walking movement situation, but mobile phone has walking movement situation;
If bluetooth equipment did not had walking data (full 0) within 15 seconds, mobile phone had walking data and held within 15 seconds It is continuous to be more than 3 seconds (result for occurring twice 1)), system can judge mobile phone belt with user, and bluetooth equipment is lost by user Under, now application program of mobile phone is notified that user brings back bluetooth equipment.
Three, bluetooth equipments have walking movement situation, but mobile phone does not have walking movement situation;
If mobile phone did not had walking data (full 0) within 15 seconds, bluetooth equipment had walking data and held within 15 seconds Continuous to be more than 3 seconds (result for occurring twice 1), system can judge mobile phone belt with user, and bluetooth equipment is left behind by user, This situation can be determined as that bluetooth equipment is taken with oneself by user, and mobile phone is then left behind by user, and now bluetooth equipment can pass through buzzing Device sends alarm, notifies user to bring back mobile phone.
Four, bluetooth equipments and mobile phone have walking movement situation;
If mobile phone and bluetooth equipment had walking data (both sides occurred 1 result), system within 15 seconds It can be that chronomere is contrasted the walking data of the walking data of mobile phone and bluetooth equipment with every 1.5 seconds, check in the time On uniformity.
In 15 seconds every 1.5 seconds once, can carry out 10 times contrast.
If both sides occur 1 (mobile phone and bluetooth equipment all singly close in the time and be detected simultaneously by step in section between at the same time Row motion), it is as a result " consistent ".
If both sides occur 0 (mobile phone and bluetooth equipment are not all examined in the time single contract in section between at the same time Survey walking), it is as a result " consistent ".
If anti-, so one of them is 0 (without walking) in same amount of time, and another is 1 (having walking), as a result for " inconsistent ".
Under the contrast of 10 times, if result be consistent ratio more than 70%, represent mobile phone and bluetooth equipment walking The uniformity of motion is high, and system can be determined as erroneous judgement, not make alarm.If result, which is consistent ratio, is less than 70%, represent Mobile phone is not consistent with bluetooth equipment walking movement, and system can alarm mobile phone with bluetooth equipment.
The embodiment of the present invention adds the interaction flow of mobile phone and bluetooth equipment, mobile phone on the basis of embodiment one, two The walking data of bluetooth equipment can be received, by the way that the walking data of the walking data of itself and bluetooth equipment are compared, and According to comparative result, it is accurately judged to whether there is loss event, improves alarm accuracy, improve Consumer's Experience.
It should be understood that the size of the sequence number of each step is not meant to the elder generation of execution sequence in above-described embodiment one, two, three Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention Limited into any.
Example IV
Corresponding to the method described in foregoing embodiments one, two, three, with reference to Fig. 5, Fig. 5 is base provided in an embodiment of the present invention In the structured flowchart of the device of motion sensor, applied to terminal device, terminal device includes but is not limited to blue-tooth intelligence wearing Product, blue-tooth intelligence portable product, bluetooth earphone, mobile phone, tablet personal computer pocket computer (Pocket Personal Computer, PPC), palm PC, computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA).For purposes of illustration only, illustrate only part related to the present embodiment.For convenience of description, it illustrate only Part related to the present embodiment.
Reference picture 5, being somebody's turn to do the loss judgment means based on motion sensor includes:
Acquisition module 51, for obtaining bluetooth signal intensity RSSI desired values;
Detection module 52, it is mutual in N seconds before detection for when the RSSI desired values exceed default RSSI critical values Whether the first bluetooth equipment and the second bluetooth equipment of connection have walking data;
Judge module 53, for according to testing result and default loss judgment model, judging that first bluetooth is set Standby and the second bluetooth equipment whether there is loss event;
Alarm module 54, if in the presence of loss event, then triggering alarm.
As a kind of implementation of the present embodiment, in the loss judgment means based on motion sensor,
The acquisition module specifically for:
The former data of RSSI are obtained, process of convolution are carried out with default normal distyribution function to the former data of RSSI, after convolution The RSSI data of output carry out linear regression, obtain RSSI desired values;
Or, for obtaining the former data of RSSI, using median filter, median filter process is carried out to the former data of RSSI, It regard the RSSI intermediate values exported after medium filtering as RSSI desired values;
Or, for obtaining the former data of RSSI, in the former data of RSSI, multiple bluetooth signal intensity RSSI are gathered, to many Individual bluetooth signal intensity RSSI carries out data fluctuations smoothing techniques, filters out the peak in multiple bluetooth signal intensity RSSI And minimum, remaining bluetooth signal intensity RSSI is obtained, the average for choosing remaining bluetooth signal intensity RSSI is used as bluetooth Signal intensity RSSI desired values;
The detection module is specifically for when continuous three times of the RSSI desired values exceed default RSSI critical values, inspection Whether the first bluetooth equipment and the second bluetooth equipment of interconnection have walking data in N seconds before surveying.
It is described to sentence in the loss judgment means based on motion sensor as a kind of implementation of the present embodiment Disconnected module includes:
First judging unit, for being that the first bluetooth equipment and the second bluetooth equipment do not have in first N seconds when testing result During walking data, judge that loss event is not present in first bluetooth equipment and the second bluetooth equipment;
Second judging unit, for being that the first bluetooth equipment does not have walking data, the second bluetooth in first N seconds when testing result When the duration that equipment has walking data and the walking data exceedes preset time threshold, judge that first bluetooth is set It is standby to there is loss event;
3rd judging unit, for being that the second bluetooth equipment does not have walking data, the first bluetooth in first N seconds when testing result When the duration that equipment has walking data and the walking data exceedes preset time threshold, judge that second bluetooth is set It is standby to there is loss event;
4th judging unit, for being that the first bluetooth equipment and the second bluetooth equipment have step in first N seconds when testing result During row data, by the walking data of first bluetooth equipment and the second bluetooth equipment, first bluetooth relatively more per second is set It is standby whether consistent with the walking movement of second bluetooth equipment, according to comparative result, judge first bluetooth equipment and the Two bluetooth equipments whether there is loss event;
4th judging unit is specifically for being the first bluetooth equipment and the second bluetooth equipment in first N seconds when testing result When having walking data, every preset time, by the walking data of the second bluetooth equipment and the walking data of the first bluetooth equipment Contrasted;
If all there are walking data in the first bluetooth equipment and the second bluetooth equipment within the same second, as a result to be consistent;
If the first bluetooth equipment and the second bluetooth equipment all occur without walking data within the same second, as a result to be consistent;
If within the same second, there are walking data in only the first bluetooth equipment or the side of the second bluetooth equipment one, as a result for not Unanimously;
Statistical result, if in first N seconds, being as a result higher than preset ratio for consistent ratio, then judges that described first is blue Loss event is not present in tooth equipment or the second bluetooth equipment, if in first N seconds, being as a result not higher than default ratio for consistent ratio Example, then judge that first bluetooth equipment or the second bluetooth equipment have loss event, to first bluetooth equipment and the Two bluetooth equipments are alerted.
Embodiment five
Fig. 6 is the signal for the judgment means of the loss based on motion sensor/terminal device that one embodiment of the invention is provided Figure.As shown in fig. 6, the judgment means of the loss based on motion sensor/terminal device 6 of the embodiment includes:Processor 60, Memory 61 and the computer program 62 that can be run in the memory 61 and on the processor 60 is stored in, for example Loss determining program based on motion sensor.The processor 60 realized when performing the computer program 62 it is above-mentioned each Step in loss determination methods embodiment based on motion sensor, such as step 101 shown in Fig. 1 to 104.Or, institute The function that each module/unit in above-mentioned each device embodiment is realized when processor 60 performs the computer program 62 is stated, for example The function of module 51 to 54 shown in Fig. 5.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 62 in the loss judgment means/terminal device 6 based on motion sensor is described. For example, the computer program 62 can be divided into acquisition module, detection module, judge module, alarm module, each module tool Body function is as follows:
Acquisition module, for obtaining bluetooth signal intensity RSSI desired values;
Detection module, for when the RSSI desired values exceed default RSSI critical values, being interconnected before detection in N seconds The first bluetooth equipment and the second bluetooth equipment whether have walking data;
Judge module, for according to testing result and default loss judgment model, judging first bluetooth equipment It whether there is loss event with the second bluetooth equipment;
Alarm module, if in the presence of loss event, then triggering alarm.
Loss judgment means/the terminal device 6 based on motion sensor can be desktop PC, notebook, The computing device such as palm PC and cloud server.Loss judgment means/the terminal device based on motion sensor can be wrapped Include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 is only based on motion-sensing The example of loss judgment means/terminal device 6 of device, is not constituted to loss judgment means/terminal based on motion sensor The restriction of equipment 6, can include than illustrating more or less parts, either combine some parts or different parts, example Loss judgment means/terminal device based on motion sensor can also be set including input-output equipment, network insertion as described Standby, bus etc..
Alleged processor 60 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 61 can be that the inside of the loss judgment means/terminal device 6 based on motion sensor is deposited Storage unit, such as hard disk or internal memory of loss judgment means/terminal device 6 based on motion sensor.The memory 61 Can be the External memory equipment of the loss judgment means/terminal device 6 based on motion sensor, such as it is described based on fortune The plug-in type hard disk being equipped with loss judgment means/terminal device 6 of dynamic sensor, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, it is described to deposit Reservoir 61 can also both include the loss judgment means/terminal device 6 based on motion sensor internal storage unit or Including External memory equipment.The memory 61 is used to store the computer program and the something lost based on motion sensor Lose other programs and data needed for judgment means/terminal device.The memory 61 can be also used for temporarily storing Output or the data that will be exported.It is apparent to those skilled in the art that, it is for convenience of description and simple It is clean, only with above-mentioned each functional unit, module division progress for example, in practical application, can as needed will be above-mentioned Function distribution is completed by different functional units, module, i.e., the internal structure of described device is divided into different functional units Or module, to complete all or part of function described above.Each functional unit, module in embodiment can be integrated in one In individual processing unit or unit is individually physically present, can also two or more units be integrated in one In unit, above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is real It is existing.In addition, the specific name of each functional unit, module is also only to facilitate mutually differentiation, is not limited to the application's Protection domain.Unit, the specific work process of module, may be referred to corresponding in preceding method embodiment in said system Journey, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium include be electric carrier signal and Telecommunication signal.
Described device/terminal device can be that desktop PC, notebook, palm PC and cloud server etc. are calculated Equipment.Described device/terminal device may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that The schematic diagram is only the example of device/terminal device, not the restriction of structure twin installation/terminal device, can include than More or less parts are illustrated, either some parts or different parts, such as described device/terminal device are combined also Input-output equipment, network access equipment, bus etc. can be included.
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of described device/terminal device, utilizes various interfaces and connection whole device/end The various pieces of end equipment.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module being stored in the memory, and the data being stored in memory are called, realize described The various functions of device/terminal device.The memory can mainly include storing program area and storage data field, wherein, storage Program area can be needed for storage program area, at least one function application program (such as sound-playing function, image player function Deng) etc.;Storage data field can be stored uses created data (such as voice data, phone directory according to the second bluetooth equipment Deng) etc..In addition, memory can include high-speed random access memory, nonvolatile memory can also be included, for example firmly Disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of loss determination methods based on motion sensor, it is characterised in that including:
Obtain bluetooth signal intensity RSSI desired values;
When the RSSI desired values exceed default RSSI critical values, the first bluetooth equipments for being interconnected before detection in N second and the Whether two bluetooth equipments have walking data;
According to testing result and default loss judgment model, judge whether are first bluetooth equipment and the second bluetooth equipment In the presence of the event of loss;
If in the presence of loss event, then triggering alarm.
2. the method as described in claim 1, it is characterised in that the acquisition bluetooth signal intensity RSSI desired values, is specially:
The former data of RSSI are obtained, process of convolution is carried out with default normal distyribution function to the former data of RSSI, will be exported after convolution RSSI data carry out linear regression, obtain RSSI desired values;
Or, the former data of RSSI are obtained, using median filter, median filter process is carried out to the former data of RSSI, intermediate value is filtered The RSSI intermediate values exported after ripple are as RSSI desired values;
Or, the former data of RSSI are obtained, in the former data of RSSI, multiple bluetooth signal intensity RSSI is gathered, multiple bluetooths is believed Number intensity RSSI carries out data fluctuations smoothing techniques, filters out peak in multiple bluetooth signal intensity RSSI and minimum Value, obtains remaining bluetooth signal intensity RSSI, and the average for choosing remaining bluetooth signal intensity RSSI is strong as Bluetooth signal Spend RSSI desired values.
3. the method as described in claim 1, it is characterised in that when the RSSI desired values exceed default RSSI critical values When, whether the first bluetooth equipment and the second bluetooth equipment of interconnection have walking data in N seconds before detection, are specially:
When continuous three times of the RSSI desired values exceed default RSSI critical values, the first bluetooth interconnected before detection in N second Whether equipment and the second bluetooth equipment have walking data.
4. the method as described in claim 1, it is characterised in that described that mould is judged according to testing result and default loss Formula, judges that first bluetooth equipment and the second bluetooth equipment whether there is loss event, is specially:
When testing result is that the first bluetooth equipment and the second bluetooth equipment are without walking data in first N seconds, judge described Loss event is not present in first bluetooth equipment and the second bluetooth equipment;
When testing result is that the first bluetooth equipment does not have walking data in first N seconds, the second bluetooth equipment has walking data and described When the duration of walking data exceedes preset time threshold, judge that first bluetooth equipment has loss event;
When testing result is that the second bluetooth equipment does not have walking data in first N seconds, the first bluetooth equipment has walking data and described When the duration of walking data exceedes preset time threshold, judge that second bluetooth equipment has loss event;
When testing result is that the first bluetooth equipment and the second bluetooth equipment there are walking data in first N seconds, pass through described first The walking data of bluetooth equipment and the second bluetooth equipment, relatively first bluetooth equipment per second and second bluetooth equipment Whether walking movement is consistent, according to comparative result, judges first bluetooth equipment and the second bluetooth equipment with the presence or absence of loss Event.
5. the method as described in claim 1 or 4, it is characterised in that described to be judged according to testing result and default loss Pattern, judges that first bluetooth equipment and the second bluetooth equipment whether there is loss event, is specially:
When testing result is that the first bluetooth equipment and the second bluetooth equipment have walking data in first N seconds, every preset time, The walking data of the walking data of second bluetooth equipment and the first bluetooth equipment are contrasted;
If all there are walking data in the first bluetooth equipment and the second bluetooth equipment within the same second, as a result to be consistent;
If the first bluetooth equipment and the second bluetooth equipment all occur without walking data within the same second, as a result to be consistent;
If within the same second, there are walking data in only the first bluetooth equipment or the side of the second bluetooth equipment one, as a result to be inconsistent;
Statistical result, if in first N seconds, being as a result higher than preset ratio for consistent ratio, then judging that first bluetooth is set Loss event is not present in standby or the second bluetooth equipment, if in first N seconds, being as a result not higher than preset ratio for consistent ratio, then Judge that first bluetooth equipment or the second bluetooth equipment have loss event, to first bluetooth equipment and the second bluetooth Equipment is alerted.
6. a kind of loss judgment means based on motion sensor, it is characterised in that including:
Acquisition module, for obtaining bluetooth signal intensity RSSI desired values;
Detection module, for when the RSSI desired values exceed default RSSI critical values, detecting first of interconnection in first N seconds Whether bluetooth equipment and the second bluetooth equipment have walking data;
Judge module, for according to testing result and default loss judgment model, judging first bluetooth equipment and Two bluetooth equipments whether there is loss event;
Alarm module, if in the presence of loss event, then triggering alarm.
7. device as claimed in claim 6, it is characterised in that the acquisition module specifically for:
The former data of RSSI are obtained, process of convolution is carried out with default normal distyribution function to the former data of RSSI, will be exported after convolution RSSI data carry out linear regression, obtain RSSI desired values;
Or, for obtaining the former data of RSSI, using median filter, median filter process is carried out to the former data of RSSI, by The RSSI intermediate values exported after value filtering are as RSSI desired values;
Or, for obtaining the former data of RSSI, in the former data of RSSI, multiple bluetooth signal intensity RSSI are gathered, to multiple indigo plants Tooth signal intensity RSSI carries out data fluctuations smoothing techniques, filters out peak in multiple bluetooth signal intensity RSSI and most Low value, obtains remaining bluetooth signal intensity RSSI, and the average for choosing remaining bluetooth signal intensity RSSI is used as Bluetooth signal Intensity RSSI desired values;
The detection module is specifically for when continuous three times of the RSSI desired values exceed default RSSI critical values, before detection Whether the first bluetooth equipment and the second bluetooth equipment of interconnection have walking data in N seconds.
8. device as claimed in claim 6, it is characterised in that the judge module includes:
First judging unit, for being the no walking of the first bluetooth equipment and the second bluetooth equipment in first N seconds when testing result During data, judge that loss event is not present in first bluetooth equipment and the second bluetooth equipment;
Second judging unit, for being that the first bluetooth equipment does not have walking data, the second bluetooth equipment in first N seconds when testing result When the duration for having walking data and the walking data exceedes preset time threshold, judge that first bluetooth equipment is deposited In the event of loss;
3rd judging unit, for being that the second bluetooth equipment does not have walking data, the first bluetooth equipment in first N seconds when testing result When the duration for having walking data and the walking data exceedes preset time threshold, judge that second bluetooth equipment is deposited In the event of loss;
4th judging unit, for being that the first bluetooth equipment and the second bluetooth equipment have walking number in first N seconds when testing result According to when, by the walking data of first bluetooth equipment and the second bluetooth equipment, first bluetooth equipment relatively more per second and Whether the walking movement of second bluetooth equipment is consistent, according to comparative result, judges first bluetooth equipment and the second indigo plant Tooth equipment whether there is loss event;
4th judging unit is specifically for being that the first bluetooth equipment and the second bluetooth equipment have in first N seconds when testing result During walking data, every preset time, the walking data of the second bluetooth equipment and the walking data of the first bluetooth equipment are carried out Contrast;
If all there are walking data in the first bluetooth equipment and the second bluetooth equipment within the same second, as a result to be consistent;
If the first bluetooth equipment and the second bluetooth equipment all occur without walking data within the same second, as a result to be consistent;
If within the same second, there are walking data in only the first bluetooth equipment or the side of the second bluetooth equipment one, as a result to be inconsistent;
Statistical result, if in first N seconds, being as a result higher than preset ratio for consistent ratio, then judging that first bluetooth is set Loss event is not present in standby or the second bluetooth equipment, if in first N seconds, being as a result not higher than preset ratio for consistent ratio, then Judge that first bluetooth equipment or the second bluetooth equipment have loss event, to first bluetooth equipment and the second bluetooth Equipment is alerted.
9. a kind of loss judgment means/terminal device based on motion sensor, including memory, processor and it is stored in institute State the computer program that can be run in memory and on the processor, it is characterised in that counted described in the computing device Realized during calculation machine program such as the step of any one of claim 1 to 5 methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realizing such as any one of claim 1 to 5 methods described when the computer program is executed by processor.
CN201710451737.9A 2017-06-14 2017-06-14 A kind of loss judgment method and device based on motion sensor Active CN107331129B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710451737.9A CN107331129B (en) 2017-06-14 2017-06-14 A kind of loss judgment method and device based on motion sensor
PCT/CN2018/090900 WO2018228398A1 (en) 2017-06-14 2018-06-12 Method and device for loss determination based on motion sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710451737.9A CN107331129B (en) 2017-06-14 2017-06-14 A kind of loss judgment method and device based on motion sensor

Publications (2)

Publication Number Publication Date
CN107331129A true CN107331129A (en) 2017-11-07
CN107331129B CN107331129B (en) 2018-10-12

Family

ID=60195208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710451737.9A Active CN107331129B (en) 2017-06-14 2017-06-14 A kind of loss judgment method and device based on motion sensor

Country Status (2)

Country Link
CN (1) CN107331129B (en)
WO (1) WO2018228398A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580141A (en) * 2017-09-19 2018-01-12 张柏林 Prevent the method and device of bluetooth anti-losing device false alarm
WO2018228398A1 (en) * 2017-06-14 2018-12-20 前海随身宝(深圳)科技有限公司 Method and device for loss determination based on motion sensor
CN111752372A (en) * 2019-03-28 2020-10-09 深圳市冠旭电子股份有限公司 Action recognition method and device and computer readable storage medium
CN112133067A (en) * 2020-09-22 2020-12-25 上海闻泰电子科技有限公司 Equipment loss detection method, device, system, storage medium and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167137A (en) * 2012-09-07 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving mobile phone thievery prevention based on bluetooth
CN104167068A (en) * 2014-08-11 2014-11-26 浙江工业大学 Android intelligent device anti-theft alarm method and device based on external Bluetooth
CN105761455A (en) * 2016-05-03 2016-07-13 北京自在科技有限责任公司 Device and method for preventing mobile phone from being lost
KR20160123794A (en) * 2015-04-17 2016-10-26 주식회사 피엘앤씨테크놀로지 Method for providing service of tracking location using smart sensor
CN106056013A (en) * 2016-06-03 2016-10-26 深圳市金立通信设备有限公司 Terminal burglary prevention method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107331129B (en) * 2017-06-14 2018-10-12 前海随身宝(深圳)科技有限公司 A kind of loss judgment method and device based on motion sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167137A (en) * 2012-09-07 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving mobile phone thievery prevention based on bluetooth
CN104167068A (en) * 2014-08-11 2014-11-26 浙江工业大学 Android intelligent device anti-theft alarm method and device based on external Bluetooth
KR20160123794A (en) * 2015-04-17 2016-10-26 주식회사 피엘앤씨테크놀로지 Method for providing service of tracking location using smart sensor
CN105761455A (en) * 2016-05-03 2016-07-13 北京自在科技有限责任公司 Device and method for preventing mobile phone from being lost
CN106056013A (en) * 2016-06-03 2016-10-26 深圳市金立通信设备有限公司 Terminal burglary prevention method and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018228398A1 (en) * 2017-06-14 2018-12-20 前海随身宝(深圳)科技有限公司 Method and device for loss determination based on motion sensor
CN107580141A (en) * 2017-09-19 2018-01-12 张柏林 Prevent the method and device of bluetooth anti-losing device false alarm
CN107580141B (en) * 2017-09-19 2020-05-08 张柏林 Method and device for preventing false alarm of Bluetooth anti-lost device
CN111752372A (en) * 2019-03-28 2020-10-09 深圳市冠旭电子股份有限公司 Action recognition method and device and computer readable storage medium
CN112133067A (en) * 2020-09-22 2020-12-25 上海闻泰电子科技有限公司 Equipment loss detection method, device, system, storage medium and equipment

Also Published As

Publication number Publication date
CN107331129B (en) 2018-10-12
WO2018228398A1 (en) 2018-12-20

Similar Documents

Publication Publication Date Title
CN107331129B (en) A kind of loss judgment method and device based on motion sensor
Wang et al. LDPA: A local data processing architecture in ambient assisted living communications
CN105953814B (en) A kind of step-recording method, step count set and mobile terminal
CN107360327A (en) Audio recognition method, device and storage medium
CN110380917A (en) Control method, device, terminal device and the storage medium of federal learning system
CN106462239A (en) Finger tracking
US20140249891A1 (en) Social Sensing And Behavior Analysis System
CN104754470A (en) Multifunctional intelligent headset, multifunctional intelligent headset system and communication method of multifunctional intelligent headset system
CN106705989B (en) step recording method, device and terminal
CN108245880A (en) Body-sensing detection method for visualizing and system based on more wearing annulus sensor fusions
CN109697010A (en) A kind of suspended window position control method, terminal and computer readable storage medium
CN108182626A (en) Service push method, information acquisition terminal and computer readable storage medium
KR20200094732A (en) Method and system for classifying time series data
Perumal et al. IoT based activity recognition among smart home residents
CN108362304A (en) A kind of data processing method and mobile terminal
CN108073458A (en) Method for recovering internal storage, mobile terminal and computer readable storage medium
CN111951021B (en) Method and device for discovering suspicious communities, storage medium and computer equipment
CN108770046B (en) Method for saving electric quantity of smart watch
CN110428311A (en) Bidding information recommendation method and Related product
CN104898838B (en) The incoming call response method and device of handheld device
AU2014275396B2 (en) Social sensing and behavioral analysis system
CN104063221B (en) Polling method of low-power consumption sensor for context-aware service of smartphone
CN108920085A (en) Information processing method and device for wearable device
CN109870172A (en) Step counting detection method, device, equipment and storage medium
CN112826514B (en) Atrial fibrillation signal classification method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A loss judgment method and device based on motion sensor

Effective date of registration: 20220120

Granted publication date: 20181012

Pledgee: Shenzhen huaruixin Asset Management Co.,Ltd.

Pledgor: QIANHAI R-GUARDIAN (SHENZHEN) TECHNOLOGY Co.,Ltd.

Registration number: Y2022440020011

PE01 Entry into force of the registration of the contract for pledge of patent right