CN104089624B - Step-recording method and terminal device - Google Patents

Step-recording method and terminal device Download PDF

Info

Publication number
CN104089624B
CN104089624B CN201410344625.XA CN201410344625A CN104089624B CN 104089624 B CN104089624 B CN 104089624B CN 201410344625 A CN201410344625 A CN 201410344625A CN 104089624 B CN104089624 B CN 104089624B
Authority
CN
China
Prior art keywords
adjacent
time
maximum
minimum
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410344625.XA
Other languages
Chinese (zh)
Other versions
CN104089624A (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.)
Graphic Optimization (Beijing) Technology Co., Ltd.
Original Assignee
赵佳
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 赵佳 filed Critical 赵佳
Priority to CN201410344625.XA priority Critical patent/CN104089624B/en
Publication of CN104089624A publication Critical patent/CN104089624A/en
Application granted granted Critical
Publication of CN104089624B publication Critical patent/CN104089624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers

Abstract

The present invention provides a kind of step-recording method and terminal device.Step-recording method includes: obtain the accekeration of terminal device in real time;Determine the maximum in accekeration and minimum;When the difference of adjacent maximum and minimum is more than acceleration rate threshold, frequency-domain transform is carried out to the accekeration between two adjacent maximum or two adjacent minimums, it is thus achieved that two adjacent maximum or the walk frequency in two adjacent minimum correspondence times;If the walk frequency in the aforementioned corresponding time is more than predeterminated frequency threshold value, it is determined that hold the user of terminal device and move within the aforementioned corresponding time and move a step, step number is added 1.There is the probability of erroneous judgement in technical solution of the present invention, improves meter step precision when can reduce meter step.

Description

Step-recording method and terminal device
[technical field]
The present invention relates to analyze and survey control technology field, particularly relate to a kind of step-recording method and terminal sets Standby.
[background technology]
With scientific and technical development and MEMS (Micro-Electro-Mechanical System, MEMS) inertial sensor universal, pedometer, mobile phone, intelligent watch etc. get more and more Electronic equipment have gyro and accelerometer, therefore can help user's statistics collection movable information, Analyze the running status of user.
Existing step-recording method is the accekeration by accelerometer collection user mostly, finds acceleration The difference of adjacent peaks and trough is compared, according to comparative result by crest and trough with the threshold value preset Judge whether user moves one's steps.The setting of the threshold value using in the method is subject to more multifactor, such as people's Motion feature, the impact of accelerometer, such the method is only applicable to the scene of user's uniform motion, right It is easy to judge by accident in the scene of non-uniform movements such as loitering, cause meter step precise decreasing.
[content of the invention]
The many aspects of the present invention provide a kind of step-recording method and terminal device, occur during in order to reduce meter step The probability of erroneous judgement, improves meter step precision.
An aspect of of the present present invention, provides a kind of step-recording method, comprising:
Obtain the accekeration of terminal device in real time;
Determine the maximum in described accekeration and minimum;
When adjacent maximum and minimum difference more than acceleration rate threshold when, to include described adjacent maximum and Two adjacent maximum of the maximum in minimum or include in described adjacent maximum and minimum minimum Accekeration between two adjacent minimums of value carries out frequency-domain transform, it is thus achieved that the adjacent maximum of said two Or the walk frequency in two adjacent minimum correspondence times;
If the adjacent maximum of said two or the walk frequency in two adjacent minimum correspondence times are big In predeterminated frequency threshold value, it is determined that hold the user of described terminal device in the adjacent maximum of said two or Move in two adjacent minimum correspondence times and move a step, step number is added 1.
Another aspect of the present invention, provides a kind of terminal device, comprising:
First acquisition module, for the real-time accekeration obtaining described terminal device;
First determining module, is used for determining the maximum in described accekeration and minimum;
Second acquisition module, for when the difference of adjacent maximum and minimum is more than acceleration rate threshold, to bag Include two adjacent maximum of the maximum in described adjacent maximum and minimum or include described adjacent greatly The accekeration between minimizing two adjacent minimums in value and minimum carries out frequency-domain transform, it is thus achieved that The adjacent maximum of said two or the walk frequency in two adjacent minimum correspondence times;
Second determining module, in the adjacent maximum of said two or two adjacent minimum correspondence times When interior walk frequency is more than predeterminated frequency threshold value, determine the user holding described terminal device described two Individual adjacent maximum or two adjacent minimum correspondence times interior shiftings move a step, and add 1 by step number.
In technical solution of the present invention, obtain the accekeration of terminal device in real time, determine in accekeration Maximum and minimum, difference and the acceleration rate threshold of adjacent maximum and minimum are compared, this When be not directly to determine whether user moves one's steps according to comparative result, and be to continue with to including above-mentioned ginseng With the two of the maximum comparing adjacent maximum or include minimizing two that above-mentioned participation compares adjacent Accekeration between minimum carries out frequency-domain transform, it is thus achieved that two adjacent maximum or two adjacent minimum Walk frequency in the value corresponding time, judges from frequency domain further, only at walk frequency more than in advance If during frequency threshold, just determine the user holding terminal device at two adjacent maximum or two consecutive roots Little value is moved in the corresponding time and is moved a step, and adds 1 by step number, carries out owing to being simultaneously based on time domain and frequency domain character Meter step is analyzed, and is thus advantageous to when reducing meter step the probability of erroneous judgement, improves meter step precision.
[brief description]
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or existing In technology description, the accompanying drawing of required use is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creation On the premise of property is laborious, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the step-recording method that Fig. 1 provides for one embodiment of the invention;
The schematic flow sheet of the step-recording method that Fig. 2 provides for another embodiment of the present invention;
The schematic flow sheet of the step-recording method that Fig. 3 provides for further embodiment of this invention;
The structural representation of the terminal device that Fig. 4 provides for one embodiment of the invention;
The structural representation of the terminal device that Fig. 5 provides for another embodiment of the present invention.
[detailed description of the invention]
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of not making creative work The every other embodiment obtaining, broadly falls into the scope of protection of the invention.
The schematic flow sheet of the step-recording method that Fig. 1 provides for one embodiment of the invention.As it is shown in figure 1, should Method includes:
101st, the accekeration of terminal device is obtained in real time.
The executive agent of the present embodiment can be any terminal device being built-in with inertial sensor, this terminal Equipment is generally carried with by user, in order to carries out meter by this terminal device to user and walks.Illustrate, Terminal device can be mobile phone, intelligent watch, pedometer or iPad etc..Inertia in terminal device passes Sensor can be any can be able to be for example accelerometer with the device of the acceleration of measuring terminals equipment.
Concrete, the movable information of the inertial sensor meeting measuring terminals equipment in terminal device, here Movable information is primarily referred to as the accekeration of terminal device.The parts walking based on carrying out in terminal device, Such as controller, can obtain the accekeration of terminal device in real time from inertial sensor.
102nd, the maximum in above-mentioned accekeration and minimum are determined.
In this step, terminal device uses the absolute value of accekeration to determine maximum and minimum. It is to say, maximum here and minimum are all referring to the absolute value of accekeration.Concrete, terminal Equipment can calculate maximum and minimum in accekeration in such a way, if i.e. ak-1> akAnd ak+1> ak, it is determined that the accekeration in k moment is minimum;If al-1< alAnd al+1< al, it is determined that during l The accekeration carved is maximum.Wherein, a represents the absolute value of accekeration, and the subscript of a represents and adds In the velocity amplitude corresponding moment, illustrate, ak-1It is the accekeration in k-1 moment, akIt is adding of k moment Velocity amplitude, al-1It is the accekeration in l-1 moment, al+1It is the accekeration in l+1 moment, etc..
What deserves to be explained is, the maximum determined in a step 102 and minimum can be multiple.
103rd, when the difference of adjacent maximum and minimum is more than acceleration rate threshold, to including this consecutive roots Two adjacent maximum of the maximum in big value and minimum or include in this adjacent maximum and minimum Minimizing two adjacent minimums between accekeration carry out frequency-domain transform, it is thus achieved that two consecutive roots Big value or the walk frequency in two adjacent minimum correspondence times.
After maximum in determining above-mentioned accekeration and minimum, by adjacent maximum and minimum Difference compare with acceleration rate threshold, tentatively judge that according to comparative result the user holding terminal device exists This include the maximum in " adjacent maximum and the minimum " referring here to two adjacent maximum or Including minimizing two the adjacent minimums in " adjacent maximum and the minimum " that refer here to are corresponding Whether it may happen that move one's steps in time.The preliminary judgement that this judgement is mainly carried out from time domain angle.
Illustrate at this, including two consecutive roots of the maximum in above-mentioned " adjacent maximum and minimum " Big value refers to the maximum in above-mentioned " adjacent maximum and minimum ", and with above-mentioned " adjacent greatly Adjacent another maximum of maximum in value and minimum ".For ease of describing, below the present embodiment Two adjacent maximum of maximum in above-mentioned " adjacent maximum and minimum " will be included, referred to as Two adjacent maximum.
Accordingly, including minimizing two in above-mentioned " adjacent maximum and minimum " adjacent minimum Value refers to the minimum in above-mentioned " adjacent maximum and minimum ", and with above-mentioned " adjacent maximum And minimum " in adjacent another minimum of minimum.For ease of describing, will below the present embodiment Including minimizing two the adjacent minimums in above-mentioned " adjacent maximum and minimum ", referred to as two Individual adjacent minimum.
Illustrate, a in above-mentioned steps 102lAnd akIt is adjacent maximum and minimum, then will al-akCompare with acceleration rate threshold R, tentatively judge to hold the user of terminal device according to comparative result Whether it may happen that move one's steps within two adjacent maximum or two the adjacent minimums corresponding times.
When the difference judging adjacent maximum and minimum is more than above-mentioned acceleration rate threshold, i.e. al-ak> R, Illustrating to hold the user of terminal device can within two adjacent maximum or two the adjacent minimums corresponding times Can move one's steps;When the difference judging adjacent maximum and minimum is not more than above-mentioned acceleration rate threshold, I.e. al-ak≤ R, illustrates to hold the user of terminal device in two adjacent maximum or two adjacent minimums Can not move one's steps in the corresponding time.
When holding the user of terminal device in two adjacent maximum or two the adjacent minimums corresponding times In it may happen that move one's steps when, terminal device is sentenced from frequency domain according to the frequency domain information of accekeration further The disconnected user holding terminal device is in the adjacent maximum of above-mentioned two or in two adjacent minimum correspondence times Whether can move one's steps.Concrete, terminal device is by adjacent minimum to adjacent for above-mentioned two maximum or two Accekeration between value carries out frequency-domain transform, it is thus achieved that the adjacent maximum of above-mentioned two or two adjacent minimum Walk frequency in the value corresponding time.Walk frequency refer to above-mentioned two adjacent maximum or two adjacent Accekeration between minimum carries out the frequency in the frequency domain that frequency-domain transform obtains.
Optionally, above-mentioned frequency-domain transform can be discrete Fourier transform (Discrete Fourier Transform, DFT), it is possible to use other frequency abstraction information such as wavelet transformation, but it is not limited to this. For example, it is possible to according to formula A ( k ) = DFT [ a ( n ) ] = Σ n = 0 N - 1 a ( n ) e - j 2 π N kn , The adjacent maximum or two to above-mentioned two Accekeration between individual adjacent minimum carries out DFT.Wherein, a (n) represents by two adjacent maximum Or the sequence that the accekeration between two adjacent minimums is constituted, k represents walk frequency, and A (k) represents The corresponding amplitude of walk frequency.
Illustrate at this, in this step, it is possible to use two adjacent maximum, it is possible to use two phases Adjacent minimum.
The adjacent maximum of the above-mentioned two corresponding time refers to the time between two maximum corresponding moment; Two adjacent minimums corresponding time refers to the time between two minimums corresponding moment.
If the 104 adjacent maximum of above-mentioned two or the walking frequency in two adjacent minimums corresponding times Rate is more than predeterminated frequency threshold value, it is determined that the user holding above-mentioned terminal device is adjacent greatly in above-mentioned two Value or two adjacent minimum correspondence times interior shiftings move a step, and add 1 by step number.
After walk frequency in obtaining two adjacent maximum or two adjacent minimum correspondence times, will This walk frequency compares with predeterminated frequency threshold value, if this walk frequency is more than predeterminated frequency threshold value, Illustrate that the movement range of user is bigger, it should be to there occurs to move one's steps, accordingly, it is determined that hold terminal device User moves within the adjacent maximum of above-mentioned two or two the adjacent minimums corresponding times and moves a step, by step number Add 1, it is achieved the meter step to user.
As the above analysis, terminal device is obtaining after accekeration, and determine in accekeration is very big Difference and the acceleration rate threshold of adjacent maximum and minimum are compared, now not by value and minimum It is directly to determine whether user moves one's steps according to comparative result, and be intended only as tentatively judging;Adjacent When the difference of maximum and minimum is more than acceleration rate threshold, very big by including that above-mentioned participation is compared further Two adjacent maximum of value or include between minimizing two adjacent minimums that above-mentioned participation is compared Accekeration carries out frequency-domain transform, it is thus achieved that two adjacent maximum or in two adjacent minimums corresponding times Walk frequency, judge from frequency domain further, only walk frequency more than predeterminated frequency threshold value when, Just determine that the user holding terminal device moved one's steps within the corresponding time, added 1 by step number simultaneously.Due to It is simultaneously based on time domain and frequency domain character carries out meter step and analyzes, therefore, when the present embodiment advantageously reduces meter step There is the probability of erroneous judgement, improve meter step precision.
The schematic flow sheet of the step-recording method that Fig. 2 provides for another embodiment of the present invention.As in figure 2 it is shown, The method includes:
201st, the accekeration of terminal device is obtained in real time.
202nd, the maximum in above-mentioned accekeration and minimum are determined.
203rd, the difference of adjacent maximum and minimum is compared with acceleration rate threshold, adjacent to judge Whether the difference of maximum and minimum is more than acceleration rate threshold, if it is, step 204;If No, then return step 201 and other steps follow-up.
204th, to two adjacent maximum of the maximum including in above-mentioned adjacent maximum and minimum or Including the accekeration between minimizing two adjacent minimums in above-mentioned adjacent maximum and minimum Carry out frequency-domain transform, it is thus achieved that two adjacent maximum or the walking frequency in two adjacent minimum correspondence times Rate.
205th, the walk frequency by adjacent for above-mentioned two maximum or in two adjacent minimum correspondence times Compare with predeterminated frequency threshold value, preset frequency domain threshold value to judge whether this walk frequency is more than, if It is, then step 206, if it is not, then step 207.
206th, determine that the user holding above-mentioned terminal device is adjacent the adjacent maximum of above-mentioned two or two Move in the minimum corresponding time and move a step, step number is added 1, and return step 201 and follow-up other Step.
207th, determine that user does not has in the adjacent maximum of above-mentioned two or in two adjacent minimum correspondence times Mobile, and return step 201 and other steps follow-up.
Above-mentioned steps 201-step 206 can be found in the relevant description in embodiment illustrated in fig. 1, at this no longer Repeat.
In the present embodiment, in obtaining two adjacent maximum or two adjacent minimum correspondence times After walk frequency, this walk frequency is compared with predeterminated frequency threshold value.If this walk frequency is more than Predeterminated frequency threshold value, illustrates that the movement range of user is bigger, it should be to there occurs to move one's steps, accordingly, it is determined that The user holding terminal device moves in the adjacent maximum of above-mentioned two or in two adjacent minimum correspondence times Move a step, step number is added 1, it is achieved the meter step to user.If this walk frequency is not more than predeterminated frequency Threshold value, illustrates that the movement range of user is less, will not move one's steps, accordingly, it is determined that hold terminal device User not mobile within the adjacent maximum of above-mentioned two or two the adjacent minimums corresponding times, accordingly , step number also avoids the need for adding 1.
As the above analysis, in the present embodiment, only all judge from the angle of time domain and frequency domain to use When moving one's steps in family, just determine that user really moves one's steps, and adds 1 by step number;Otherwise, only time domain and Having one to judge that user does not move one's steps in frequency domain, it is determined that user does not move one's steps, step number is not Add 1, this be simultaneously based on time domain and frequency domain character carries out the mode that meter step analyzes when advantageously reducing meter step There is the probability of erroneous judgement, improve meter step precision.
On the basis of the various embodiments described above, by the difference of adjacent maximum and minimum and acceleration rate threshold After comparing, step-recording method also includes: calculate the variance of accekeration in the very first time, by upper State acceleration rate threshold and be updated to this variance.Wherein, the very first time refers to from first time point to current time And length is equal to the time of the first appointment duration.For example, the very first time can be the N second before current time, N is natural number.For example, it is possible to according to formulaCalculate the acceleration in the very first time The variance of angle value.Wherein, δ represents variance;Average acceleration value in the expression very first time,aiI-th accekeration in the expression very first time.
Acceleration rate threshold is entered by the purpose of above-mentioned steps mainly by the accekeration in the past period Row updates, so that acceleration rate threshold dynamically changes, more adapts to the current motion state of user, Jin Erti The precision of the high comparative result using acceleration rate threshold to make, contributes for improving meter step precision.
Illustrate at this, during the meter being used in next time is walked by the acceleration rate threshold after renewal, institute here The meter step process said refers to perform the process of the step in Fig. 1 or embodiment illustrated in fig. 2.
The schematic flow sheet of the step-recording method that Fig. 3 provides for further embodiment of this invention.The present embodiment method Can realize based on Fig. 1 or embodiment illustrated in fig. 2, as a example by based on embodiment illustrated in fig. 1, then such as Fig. 3 Shown in, the method also includes after step 104:
105th, frequency-domain transform is carried out to the accekeration in the second time, it is thus achieved that the walking in the second time Frequency, the second time was the time being equal to the second appointment duration from the second time point to current time and length.
For example, the second time can be the N second before current time, and N is natural number.
Optionally, above-mentioned frequency-domain transform can be DFT, but is not limited to this.For example, it is possible to according to formulaDFT is carried out to the accekeration in the second time.Wherein, b (n) table Showing the sequence being made up of the accekeration in the second time, k represents walk frequency, and B (k) represents walk frequency Corresponding amplitude.
106th, the current step-length of user is calculated according to the walk frequency in the second time.
Concrete, after the walk frequency within second time of acquisition, according to the walk frequency in the second time Frequency component when determining that people walks, determines the current step-length of user according to this frequency component.
A kind of preferred implementation of step 106 can be: according to formula λ=af+b, calculates user and works as Front step-length.Wherein, λ is the current step-length of user;F be the second time in walk frequency;A, b are Empirical value, such as a can take 0.63, and b can take 0.7.
In the present embodiment, in addition to the step number calculating user, the step-length of user is calculated further, While improving meter step precision, be conducive to providing a user with more perfect meter step information.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore by its all table Stating as a series of combination of actions, but those skilled in the art should knowing, the present invention is not by being retouched The restriction of the sequence of movement stated, because according to the present invention, some step can use other sequentially or same Shi Jinhang.Secondly, those skilled in the art also should know, embodiment described in this description all belongs to In preferred embodiment, necessary to involved action and the module not necessarily present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part describing in detail, may refer to the associated description of other embodiments.
The structural representation of the terminal device that Fig. 4 provides for one embodiment of the invention.As shown in Figure 4, should Terminal device includes: the first acquisition module the 41st, the first determining module the 42nd, the second acquisition module 43 and Two determining modules 44.
First acquisition module 41, for the real-time accekeration obtaining terminal device.Preferably, terminal device Also include inertial sensor 45.First acquisition module 41 can be connected with inertial sensor 45, utilizes inertia Sensor 45 obtains the accekeration of terminal device in real time.
First determining module 42, is connected with the first acquisition module 41, for determining that the first acquisition module 41 obtains Maximum in the accekeration taking and minimum.
Second acquisition module 43, is connected with the first determining module 42, for determining in the first determining module 42 Adjacent maximum and the difference of minimum more than acceleration rate threshold when, to including described adjacent maximum and minimum Two adjacent maximum of the maximum in value or include in described adjacent maximum and minimum minimizing Accekeration between two adjacent minimums carries out frequency-domain transform, it is thus achieved that the adjacent maximum of said two or two Walk frequency in the individual adjacent minimum corresponding time.
Second determining module 44, is connected with the second acquisition module 43, for obtaining at the second acquisition module 43 Two adjacent maximum or the walk frequency in two adjacent minimums corresponding times be more than predeterminated frequency threshold value When, determine hold the user of terminal device the adjacent maximum of said two or two adjacent minimums to correspondence when Interior shifting moves a step, and adds 1 by step number.
In an optional embodiment, the second determining module 44 can be additionally used in and obtains at the second acquisition module 43 Two the adjacent maximum taking or the walk frequency in two adjacent minimum correspondence times are not more than presets frequency During rate threshold value, determine that user does not has in the adjacent maximum of said two or in two adjacent minimum correspondence times There is a movement, and trigger the first acquisition module 41 and other modules continue executing with meter step operation.
In an optional embodiment, as it is shown in figure 5, described terminal device also includes: the first calculating mould Block 46 and more new module 47.
First computing module 46, for calculating the variance of the accekeration in the very first time, the very first time is From first time point to current time and length be equal to first appointment duration time.
More new module 47, is connected with the first computing module 46, for acceleration rate threshold is updated to first The variance that computing module 46 calculates.More new module 47 is also connected with the second acquisition module 43, is used for There is provided the acceleration rate threshold after updating to the second acquisition module 43, in order to the second acquisition module 43 is at next Secondary meter step operation uses.
Further, as it is shown in figure 5, this terminal device can also include: the 3rd acquisition module 48 and Two computing modules 49.
3rd acquisition module 48, for carrying out frequency-domain transform to the accekeration in the second time, it is thus achieved that second Walk frequency in time, the second time was to be equal to the second appointment from the second time point to current time and length The time of duration.
Second computing module 49, is connected with the 3rd acquisition module 48, for obtaining according to the 3rd acquisition module 48 Walk frequency in the second time taking calculates the current step-length of user.
For example, the second computing module 49 is particularly used according to formula λ=af+b, calculates the current step of user Long;Wherein, λ is the current step-length of user;F be the second time in walk frequency;A, b are empirical value.
The terminal device that the present embodiment provides, is obtaining after accekeration, and determine in accekeration is very big Difference and the acceleration rate threshold of adjacent maximum and minimum are compared, now not by value and minimum It is directly to determine whether user moves one's steps according to comparative result, and be intended only as tentatively judging;Adjacent When the difference of maximum and minimum is more than acceleration rate threshold, very big by including that above-mentioned participation is compared further Two adjacent maximum of value or include between minimizing two adjacent minimums that above-mentioned participation is compared Accekeration carries out frequency-domain transform, it is thus achieved that two adjacent maximum or in two adjacent minimums corresponding times Walk frequency, judge from frequency domain further, only walk frequency more than predeterminated frequency threshold value when, Just determine that the user holding terminal device moved one's steps within the corresponding time, added 1 by step number simultaneously.Due to The terminal device that the present embodiment provides is simultaneously based on time domain and frequency domain character carries out meter step and analyzes, and therefore, has It is beneficial to when reducing meter step the probability of erroneous judgement, improve meter step precision.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and Method, can realize by another way.For example, device embodiment described above is only shown Meaning property, for example, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, for example multiple unit or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not perform.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit Or communication connection, can be electrical, machinery or other form.
The described unit illustrating as separating component can be or may not be physically separate, makees Can be for the parts that unit shows or may not be physical location, i.e. may be located at a place, Or also can be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit In, it is also possible to it is that unit is individually physically present, it is also possible to two or more unit are integrated in one In individual unit.Above-mentioned integrated unit both can use the form of hardware to realize, it would however also be possible to employ hardware adds The form of SFU software functional unit realizes.
The above-mentioned integrated unit realizing with the form of SFU software functional unit, can be stored in a computer In read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some fingers Order is with so that a computer equipment (can be personal computer, server, or the network equipment etc.) Or processor (processor) performs the part steps of method described in each embodiment of the present invention.And it is aforementioned Storage medium include: USB flash disk, portable hard drive, read-only storage (Read-Only Memory, ROM), Random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various The medium of program code can be stored.
Last it is noted that above example is only in order to illustrating technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that it still can the technical scheme described in foregoing embodiments be modified, or Person carries out equivalent to wherein portion of techniques feature;And these modifications or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a step-recording method, it is characterised in that include:
Obtain the accekeration of terminal device in real time;
Determine the maximum in described accekeration and minimum;
When adjacent maximum and minimum difference more than acceleration rate threshold when, to include described adjacent maximum and Two adjacent maximum of the maximum in minimum or include in described adjacent maximum and minimum minimum Accekeration between two adjacent minimums of value carries out frequency-domain transform, it is thus achieved that the adjacent maximum of said two Or the walk frequency in two adjacent minimum correspondence times;
If the adjacent maximum of said two or the walk frequency in two adjacent minimum correspondence times are more than in advance If frequency threshold, it is determined that hold the user of described terminal device in the adjacent maximum of said two or two phases Adjacent minimum is moved in the corresponding time and is moved a step, and adds 1 by step number.
2. method according to claim 1, it is characterised in that also include:
If the adjacent maximum of said two or the walk frequency in two adjacent minimum correspondence times are not more than Predeterminated frequency threshold value, it is determined that described user is corresponding in the adjacent maximum of said two or two adjacent minimums Do not move in time.
3. method according to claim 1, it is characterised in that also include:
Described acceleration rate threshold is updated to described variance by the variance of the accekeration in the calculating very first time, The described very first time is from first time point to current time and length was equal to for the first time specifying duration.
4. the method according to any one of claim 1-3, it is characterised in that described determination is held described The user of terminal device moves within the adjacent maximum of said two or two the adjacent minimums corresponding times and moves a step Afterwards, also include:
Frequency-domain transform is carried out to the accekeration in the second time, it is thus achieved that the walk frequency in described second time, Calculate the current step-length of described user according to the walk frequency in described second time, described second time be from Second time point is equal to the time of the second appointment duration to current time and length.
5. method according to claim 4, it is characterised in that described according in described second time Walk frequency calculates the current step-length of described user, comprising:
According to formula λ=af+b, calculate the current step-length of described user;
Wherein, λ is the current step-length of described user;
F be described second time in walk frequency;
A, b are empirical value.
6. a terminal device, it is characterised in that include:
First acquisition module, for the real-time accekeration obtaining described terminal device;
First determining module, is used for determining the maximum in described accekeration and minimum;
Second acquisition module, for when the difference of adjacent maximum and minimum is more than acceleration rate threshold, to bag Include two adjacent maximum of the maximum in described adjacent maximum and minimum or include described adjacent greatly The accekeration between minimizing two adjacent minimums in value and minimum carries out frequency-domain transform, it is thus achieved that The adjacent maximum of said two or the walk frequency in two adjacent minimum correspondence times;
Second determining module, in the adjacent maximum of said two or in two adjacent minimum correspondence times Walk frequency more than predeterminated frequency threshold value when, determine and hold the user of described terminal device in said two phase Adjacent maximum or two adjacent minimum correspondence times interior shiftings move a step, and add 1 by step number.
7. terminal device according to claim 6, it is characterised in that described second determining module is also used It is not more than in the walk frequency in the adjacent maximum of said two or in two adjacent minimum correspondence times and preset During frequency threshold, determine described user in the adjacent maximum of said two or two adjacent minimum correspondence times Interior not mobile.
8. terminal device according to claim 6, it is characterised in that also include:
First computing module, for calculating the variance of the accekeration in the very first time, the described very first time is From first time point to current time and length be equal to first appointment duration time;
More new module, for being updated to described variance by described acceleration rate threshold.
9. the terminal device according to any one of claim 6-8, it is characterised in that also include:
3rd acquisition module, for carrying out frequency-domain transform to the accekeration in the second time, it is thus achieved that described the Walk frequency in two times, described second time is to be equal to the from the second time point to current time and length The time of two appointment durations;
Second computing module, current for calculating described user according to the walk frequency in described second time Step-length.
10. terminal device according to claim 9, it is characterised in that described second computing module tool Body, for according to formula λ=af+b, calculates the current step-length of described user;
Wherein, λ is the current step-length of described user;
F be described second time in walk frequency;
A, b are empirical value.
CN201410344625.XA 2014-07-18 2014-07-18 Step-recording method and terminal device Active CN104089624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410344625.XA CN104089624B (en) 2014-07-18 2014-07-18 Step-recording method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410344625.XA CN104089624B (en) 2014-07-18 2014-07-18 Step-recording method and terminal device

Publications (2)

Publication Number Publication Date
CN104089624A CN104089624A (en) 2014-10-08
CN104089624B true CN104089624B (en) 2016-11-09

Family

ID=51637362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410344625.XA Active CN104089624B (en) 2014-07-18 2014-07-18 Step-recording method and terminal device

Country Status (1)

Country Link
CN (1) CN104089624B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596537B (en) * 2015-02-02 2017-12-29 林联华 A kind of step-recording method
CN106895835B (en) 2015-12-17 2021-01-22 阿里巴巴集团控股有限公司 Positioning method and device
CN105698815B (en) * 2016-03-24 2018-07-27 广东欧珀移动通信有限公司 Count the adjusting method and device of step data
CN105953814B (en) * 2016-06-21 2019-01-11 Oppo广东移动通信有限公司 A kind of step-recording method, step count set and mobile terminal
CN107588783A (en) * 2016-07-08 2018-01-16 深圳达阵科技有限公司 One kind meter step preprocess method, device and terminal
US10610132B2 (en) * 2016-08-02 2020-04-07 Medtronic, Inc. Step detection using accelerometer axis
CN106525071B (en) * 2016-10-26 2019-09-27 上海与德信息技术有限公司 A kind of motion state monitoring method and device
CN106525068A (en) * 2016-11-08 2017-03-22 深圳市金立通信设备有限公司 Step-counting method and terminal
CN106767889B (en) * 2016-12-05 2020-08-04 广东思派康电子科技有限公司 Step counting method based on three-axis G-sensor
CN106952652B (en) * 2017-02-21 2020-06-26 深圳市冠旭电子股份有限公司 Noise reduction control method and system
CN108960016A (en) * 2017-05-25 2018-12-07 富士通株式会社 The method and apparatus for detecting specific action
CN107270932A (en) * 2017-07-25 2017-10-20 电子科技大学 Automatic step-recording method for terminal device
CN111189469A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Step counting method, terminal device and storage medium
CN113537102B (en) * 2021-07-22 2023-07-07 深圳智微电子科技有限公司 Feature extraction method of microseismic signals

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009266060A (en) * 2008-04-28 2009-11-12 Aichi Micro Intelligent Corp Pedometer
CN102087109A (en) * 2009-12-04 2011-06-08 财团法人资讯工业策进会 System, device and method for estimating position
CN102282575A (en) * 2009-01-19 2011-12-14 西铁城控股株式会社 Pedometer
CN102297701A (en) * 2010-06-22 2011-12-28 雅马哈株式会社 Pedometer
CN103076619A (en) * 2012-12-27 2013-05-01 山东大学 System and method for performing indoor and outdoor 3D (Three-Dimensional) seamless positioning and gesture measuring on fire man
CN103344249A (en) * 2013-06-17 2013-10-09 中国人民解放军总参谋部第六十一研究所 Step counting method based on short-time spectral analysis of inertial sensor
CN103411607A (en) * 2013-08-30 2013-11-27 华中师范大学 Method for pedestrian step size estimation and dead reckoning
CN103591959A (en) * 2013-09-28 2014-02-19 曹元� Positioning method of indoor personnel
CN103727959A (en) * 2013-12-31 2014-04-16 歌尔声学股份有限公司 Step counting method and step counting device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7610813B2 (en) * 2006-09-29 2009-11-03 Intel Corporation Method and apparatus for a self-powered RFID-readable pedometer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009266060A (en) * 2008-04-28 2009-11-12 Aichi Micro Intelligent Corp Pedometer
CN102282575A (en) * 2009-01-19 2011-12-14 西铁城控股株式会社 Pedometer
CN102087109A (en) * 2009-12-04 2011-06-08 财团法人资讯工业策进会 System, device and method for estimating position
CN102297701A (en) * 2010-06-22 2011-12-28 雅马哈株式会社 Pedometer
CN103076619A (en) * 2012-12-27 2013-05-01 山东大学 System and method for performing indoor and outdoor 3D (Three-Dimensional) seamless positioning and gesture measuring on fire man
CN103344249A (en) * 2013-06-17 2013-10-09 中国人民解放军总参谋部第六十一研究所 Step counting method based on short-time spectral analysis of inertial sensor
CN103411607A (en) * 2013-08-30 2013-11-27 华中师范大学 Method for pedestrian step size estimation and dead reckoning
CN103591959A (en) * 2013-09-28 2014-02-19 曹元� Positioning method of indoor personnel
CN103727959A (en) * 2013-12-31 2014-04-16 歌尔声学股份有限公司 Step counting method and step counting device

Also Published As

Publication number Publication date
CN104089624A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104089624B (en) Step-recording method and terminal device
CN105263113A (en) Wi-Fi location fingerprint map building method and system based on crowd-sourcing
CN106017502B (en) A kind of step-recording method and electronic equipment
CN109959379B (en) Positioning method and electronic equipment
CN111152266B (en) Control method and system of cleaning robot
CN105301558A (en) Indoor positioning method based on bluetooth position fingerprints
CN104598621A (en) Track compression method based on sliding window
CN108810849A (en) A kind of moving method, device and the unmanned plane of unmanned plane calculating task
CN104267798B (en) A kind of data processing method and device
CN107515004B (en) Step length calculation device and method
CN105989079B (en) Obtain the method and device of device-fingerprint
CN109685109A (en) A kind of base station label track classification method based on twin neural network
CN105758404A (en) Real-time positioning method and system of intelligent equipment
CN103973263A (en) Novel approximation filter method
CN110231592A (en) Indoor orientation method, device, computer readable storage medium and terminal device
CN105678246A (en) Motion mode excavation method based on base station label locus
CN106570479B (en) A kind of pet motions recognition methods of Embedded platform
CN104616458A (en) Losing prevention method and system of article
CN103260238A (en) Mobile node positioning method based on speed sampling zone in wireless sensor network
CN106649489B (en) Continuous skyline query processing mechanism in geographic text information data
CN107360547B (en) Clustering processing method for preventing positioning jitter in static state in indoor positioning
CN105404529A (en) Popup method, device and system of operation system popup for reinstallation
CN102928783A (en) Method and device for estimating available time of battery power and mobile equipment
CN109582713A (en) A kind of recognition methods of motion state, device and terminal
EP4266004A1 (en) User trajectory positioning method, electronic device and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190620

Address after: 100070 Room 2I10, 2nd Floor, Building 1, Xinghuo Road, Fengtai District, Beijing

Patentee after: Graphic Optimization (Beijing) Technology Co., Ltd.

Address before: 100089 mailbox 8955, Haidian District, Beijing

Patentee before: Zhao Jia

TR01 Transfer of patent right