CN104089624A - Step counting method and terminal device - Google Patents

Step counting method and terminal device Download PDF

Info

Publication number
CN104089624A
CN104089624A CN201410344625.XA CN201410344625A CN104089624A CN 104089624 A CN104089624 A CN 104089624A CN 201410344625 A CN201410344625 A CN 201410344625A CN 104089624 A CN104089624 A CN 104089624A
Authority
CN
China
Prior art keywords
time
adjacent
maximum value
value
minimal
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
CN201410344625.XA
Other languages
Chinese (zh)
Other versions
CN104089624B (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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a step counting method and a terminal device. The step counting method comprises the steps: acquiring an acceleration magnitude of the terminal device in real time; determining maximal values and minimal values in the acceleration magnitude; transforming the frequency domain of the acceleration magnitude between each two adjacent maximal values and two adjacent minimal values when the difference between the adjacent maximal value and minimal value is greater than an acceleration threshold value, and acquiring a walking frequency in the time corresponding to the two adjacent maximal values or the two adjacent minimal values; determining that a user carrying the terminal device moves a step in the corresponding time if the walking frequency in the corresponding time is greater than a preset frequency threshold value, and adding 1 to the step number. By adopting the technical scheme, the probability in misjudging when the step is counted can be reduced, and the step counting precision is improved.

Description

Step-recording method and terminal device
[technical field]
The present invention relates to analyze and survey control technology field, relate in particular to a kind of step-recording method and terminal device.
[background technology]
Along with scientific and technical development and MEMS (micro electro mechanical system) (Micro-Electro-Mechanical System, MEMS) inertial sensor is universal, the increasing electronic equipment such as passometer, mobile phone, intelligent watch has had gyro and accelerometer, therefore can help user's statistics collection movable information, the running status of analysis user.
Existing step-recording method is by accelerometer collection user's accekeration mostly, finds crest and the trough of acceleration, and the difference of adjacent peaks and trough and default threshold value are compared, and judges according to comparative result whether user moves one's steps.The setting of the threshold value using in the method is subject to more multifactor, for example people's motion feature, the impact of accelerometer, the method is only applicable to the scene of user's uniform motion like this, is easy to judge by accident for the scene of non-uniform movements such as loitering, causes meter step precise decreasing.
[summary of the invention]
Many aspects of the present invention provide a kind of step-recording method and terminal device, in order to reduce the probability that erroneous judgement occurs when meter walks, improve meter and walk precision.
An aspect of of the present present invention, provides a kind of step-recording method, comprising:
The accekeration of Real-time Obtaining terminal device;
Determine maximum value and minimal value in described accekeration;
In the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, to comprising two adjacent maximum value of the maximum value in described adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in described adjacent maximum value and minimal value carries out frequency domain conversion, obtain described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value;
If described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are greater than predeterminated frequency threshold value, determine that the user who holds described terminal device moves and moves a step in described two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number.
Another aspect of the present invention, provides a kind of terminal device, comprising:
The first acquisition module, for the accekeration of terminal device described in Real-time Obtaining;
The first determination module, for determining maximum value and the minimal value of described accekeration;
The second acquisition module, for in the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, to comprising two adjacent maximum value of the maximum value in described adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in described adjacent maximum value and minimal value carries out frequency domain conversion, obtain described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value;
The second determination module, for in the time that described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are greater than predeterminated frequency threshold value, determine that the user who holds described terminal device moves and moves a step in described two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number.
In technical solution of the present invention, the accekeration of Real-time Obtaining terminal device, determine maximum value and minimal value in accekeration, the difference of adjacent maximum value and minimal value and acceleration rate threshold are compared, be not now directly to determine according to comparative result whether user moves one's steps, but continue two adjacent maximum value of the maximum value to comprising above-mentioned participation comparison or comprise that the accekeration between minimizing two adjacent minimal values of above-mentioned participation comparison carries out frequency domain conversion, obtain two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value, further judge from frequency domain, only in the time that walking frequency is greater than predeterminated frequency threshold value, just determine that the user who holds terminal device moves and moves a step two adjacent maximum value or in two corresponding times of adjacent minimal value, step number is added to 1, owing to counting step analysis based on time domain and frequency domain character simultaneously, therefore be conducive to occur while reducing meter step the probability of erroneous judgement, improve meter step precision.
[brief description of the drawings]
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
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.
[embodiment]
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to 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 shown in Figure 1, the method comprises:
101, the accekeration of Real-time Obtaining terminal device.
The executive agent of the present embodiment can be any terminal device that is built-in with inertial sensor, and this terminal device is carried by user conventionally, to user is counted to step by this terminal device.Illustrate, terminal device can be mobile phone, intelligent watch, passometer or iPad etc.Inertial sensor in terminal device can be the device of any acceleration that can measuring terminals equipment, for example, can be accelerometer.
Concrete, the movable information of the inertial sensor meeting measuring terminals equipment in terminal device, the movable information here mainly refers to the accekeration of terminal device.In terminal device, for counting the parts of step, for example controller, can be from the accekeration of inertial sensor Real-time Obtaining terminal device.
102, determine maximum value and the minimal value in above-mentioned accekeration.
In this step, terminal device is determined maximum value and minimal value with the absolute value of accekeration.That is to say, the maximum value here and minimal value all refer to the absolute value of accekeration.Concrete, terminal device can calculate maximum value and the minimal value in accekeration in such a way, if i.e. a k-1> a kand a k+1> a k, determine that the accekeration in k moment is minimal value; If a l-1< a land a l+1< a l, determine that the accekeration in l moment is maximum value.Wherein, a represents the absolute value of accekeration, and the subscript of a represents the moment that accekeration is corresponding, illustrates a k-1the accekeration in k-1 moment, a kthe accekeration in k moment, a l-1the accekeration in l-1 moment, a l+1the accekeration in l+1 moment, etc.
What deserves to be explained is, the maximum value of determining in step 102 and minimal value can be multiple.
103, in the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, to comprising two adjacent maximum value of the maximum value in this adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in this adjacent maximum value and minimal value carries out frequency domain conversion, obtain two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value.
After the maximum value and minimal value determined in above-mentioned accekeration, the difference of adjacent maximum value and minimal value and acceleration rate threshold are compared, judge that according to comparative result is preliminary the user who holds terminal device comprises two adjacent maximum value of the maximum value in " adjacent maximum value and the minimal value " relating to here or comprises that in the minimizing corresponding times of two adjacent minimal values in " adjacent maximum value and the minimal value " relating to, possibility is moved one's steps here at this.This judgement is mainly the preliminary judgement of carrying out from time domain angle.
In this explanation, two adjacent maximum value that comprise the maximum value in above-mentioned " adjacent maximum value and minimal value " refer to the maximum value in above-mentioned " adjacent maximum value and minimal value ", and another maximum value adjacent with maximum value in above-mentioned " adjacent maximum value and minimal value ".For ease of describing, following two the adjacent maximum value that will comprise the maximum value in above-mentioned " adjacent maximum value and minimal value " of the present embodiment, referred to as two adjacent maximum value.
Accordingly, comprise that minimizing two the adjacent minimal values in above-mentioned " adjacent maximum value and minimal value " refer to the minimal value in above-mentioned " adjacent maximum value and minimal value ", and another minimal value adjacent with minimal value in above-mentioned " adjacent maximum value and minimal value ".For ease of describing, the present embodiment is following will comprise minimizing two the adjacent minimal values in above-mentioned " adjacent maximum value and minimal value ", referred to as two adjacent minimal values.
Illustrate a in above-mentioned steps 102 land a kadjacent maximum value and minimal value, by a l-a kr compares with acceleration rate threshold, the user that terminal device is held in preliminary judgement according to comparative result two adjacent maximum value or in two corresponding times of adjacent minimal value possibility move one's steps.
In the time judging the difference of adjacent maximum value and minimal value and be greater than above-mentioned acceleration rate threshold, i.e. a l-a k> R, illustrates that the user who holds terminal device may move one's steps two adjacent maximum value or in two corresponding times of adjacent minimal value; In the time judging the difference of adjacent maximum value and minimal value and be not more than above-mentioned acceleration rate threshold, i.e. a l-a k≤ R, illustrates that the user who holds terminal device can not move one's steps two adjacent maximum value or in two corresponding times of adjacent minimal value.
In the time that the user who holds terminal device may move one's steps two adjacent maximum value or in two corresponding times of adjacent minimal value, terminal device further judges from frequency domain whether the user who holds terminal device can move one's steps in above-mentioned two adjacent maximum value or in two adjacent minimal value correspondence times according to the frequency domain information of accekeration.Concrete, the accekeration between above-mentioned two adjacent maximum value or two adjacent minimal values is carried out frequency domain conversion by terminal device, obtains above-mentioned two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value.Walking frequency refers to that the accekeration between above-mentioned two adjacent maximum value or two adjacent minimal values is carried out to frequency domain converts the frequency in the frequency domain obtaining.
Optionally, above-mentioned frequency domain conversion can be discrete Fourier transformation (Discrete Fourier Transform, DFT), also can use other frequency abstraction information such as wavelet transformation, but be not limited to this.For example, can be according to formula A ( k ) = DFT [ a ( n ) ] = &Sigma; n = 0 N - 1 a ( n ) e - j 2 &pi; N kn , Accekeration between above-mentioned two adjacent maximum value or two adjacent minimal values is carried out to DFT.Wherein, a (n) represents the sequence being made up of the accekeration between two adjacent maximum value or two adjacent minimal values, and k represents walking frequency, and A (k) represents amplitude corresponding to walking frequency.
In this explanation, in this step, can use two adjacent maximum value, also can use two adjacent minimal values.
The corresponding times of above-mentioned two adjacent maximum value refer to the time between moment corresponding to two maximum value; Two corresponding time of adjacent minimal value refers to the time between moment corresponding to two minimal values.
If 104 above-mentioned two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are greater than predeterminated frequency threshold value, determine that the user who holds above-mentioned terminal device moves and moves a step in above-mentioned two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number.
After two adjacent maximum value of acquisition or the walking frequency in two corresponding times of adjacent minimal value, this walking frequency and predeterminated frequency threshold value are compared, if this walking frequency is greater than predeterminated frequency threshold value, the movement range that user is described is larger, should be to have occurred to move one's steps, therefore, determine that the user who holds terminal device moves and moves a step in above-mentioned two adjacent maximum value or in two corresponding times of adjacent minimal value, step number is added to 1, realize the meter step to user.
As the above analysis, terminal device is obtaining after accekeration, determine maximum value and minimal value in accekeration, the difference of adjacent maximum value and minimal value and acceleration rate threshold are compared, be not now directly to determine according to comparative result whether user moves one's steps, and just as preliminary judgement; In the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, further by comprise above-mentioned participation comparison maximum value two adjacent maximum value or comprise that the accekeration between minimizing two adjacent minimal values of above-mentioned participation comparison carries out frequency domain conversion, obtain two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value, further judge from frequency domain, only in the time that walking frequency is greater than predeterminated frequency threshold value, just determine that the user who holds terminal device moves one's steps within the corresponding time, step number is added to 1 simultaneously.Owing to counting step analysis based on time domain and frequency domain character simultaneously, therefore, the present embodiment is conducive to occur while reducing meter step the probability of erroneous judgement, has improved meter step precision.
The schematic flow sheet of the step-recording method that Fig. 2 provides for another embodiment of the present invention.As shown in Figure 2, the method comprises:
201, the accekeration of Real-time Obtaining terminal device.
202, determine maximum value and the minimal value in above-mentioned accekeration.
203, the difference of adjacent maximum value and minimal value and acceleration rate threshold are compared, whether be greater than acceleration rate threshold with the difference that judges adjacent maximum value and minimal value, if so, perform step 204; If not, return to execution step 201 and follow-up other steps.
204,, to comprising two adjacent maximum value of the maximum value in above-mentioned adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in above-mentioned adjacent maximum value and minimal value carries out frequency domain conversion, obtain two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value.
205, above-mentioned two adjacent maximum value or walking frequency and predeterminated frequency threshold value in two corresponding times of adjacent minimal value are compared, to judge that whether this walking frequency is greater than default frequency domain threshold value, if so, performs step 206, if not, perform step 207.
206, determine that the user who holds above-mentioned terminal device moves and moves a step in above-mentioned two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number, and returns to execution step 201 and follow-up other steps.
207, determine that user is in above-mentioned two adjacent maximum value or not mobile in two corresponding times of adjacent minimal value, and return to execution step 201 and follow-up other steps.
The relevant description of above-mentioned steps 201-step 206 in can embodiment shown in Figure 1, does not repeat them here.
In the present embodiment, obtaining after two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value, this walking frequency and predeterminated frequency threshold value are compared.If this walking frequency is greater than predeterminated frequency threshold value, the movement range that user is described is larger, should be to have occurred to move one's steps, therefore, determine that the user who holds terminal device moves and moves a step in above-mentioned two adjacent maximum value or in two corresponding times of adjacent minimal value, step number is added to 1, realize the meter step to user.If this walking frequency is not more than predeterminated frequency threshold value, illustrate that user's movement range is less, can not move one's steps, therefore, determine that the user who holds terminal device is in above-mentioned two adjacent maximum value or not mobile, corresponding in two corresponding times of adjacent minimal value, step number does not also just need to add 1.
As the above analysis, in the present embodiment, when only all judging user and move one's steps from the angle of time domain and frequency domain, just determine that user really moves one's steps, and adds 1 by step number; Otherwise, only have and in time domain and frequency domain, have one to judge user and do not move one's steps, determine that user does not move one's steps, step number does not add 1, this while counts based on time domain and frequency domain character the probability that mode that step analyzes is conducive to occur while reducing meter step erroneous judgement, improves meter step precision.
On the basis of the various embodiments described above, after the difference of adjacent maximum value and minimal value and acceleration rate threshold are compared, step-recording method also comprises: calculate the variance of the accekeration in the very first time, above-mentioned acceleration rate threshold is updated to this variance.Wherein, the very first time refers to the time of putting current time and length and equal the first appointment duration from the very first time.For example, the very first time can be N second before current time, and N is natural number.For example, can be according to formula calculate the variance of the accekeration in the very first time.Wherein, δ represents variance; represent the average acceleration value in the very first time, a irepresent i accekeration in the very first time.
The object of above-mentioned steps is mainly to utilize the accekeration in the past period to upgrade acceleration rate threshold, so that acceleration rate threshold dynamic change, more adapt to the current motion state of user, and then improve the precision that uses the comparative result made of acceleration rate threshold, contribute for improving meter step precision.
In this explanation, the acceleration rate threshold after renewal is in the meter step process being used in next time, here said meter step process refer to execution graph 1 or embodiment illustrated in fig. 2 in the process of step.
The schematic flow sheet of the step-recording method that Fig. 3 provides for further embodiment of this invention.The present embodiment method can be based on Fig. 1 or realization embodiment illustrated in fig. 2, taking based on embodiment illustrated in fig. 1 as example, as shown in Figure 3, the method also comprises after step 104:
105, the accekeration in the second time is carried out to frequency domain conversion, obtain the walking frequency in the second time, the second time was from the second time point to current time and length equals time of the second appointment duration.
For example, the second time can be N second before current time, and N is natural number.
Optionally, above-mentioned frequency domain conversion can be DFT, but is not limited to this.For example, can be according to formula accekeration in the second time is carried out to DFT.Wherein, b (n) represents the sequence being made up of the accekeration in the second time, and k represents walking frequency, and B (k) represents amplitude corresponding to walking frequency.
106, according to the current step-length of walking frequency computation part user in the second time.
Concrete, after the walking frequency within second time of acquisition, the frequency component while determining that according to the walking frequency in the second time people walks, determines according to this frequency component the step-length that user is current.
The preferred implementation of one of step 106 can be: according to formula λ=af+b, calculate the current step-length of user.Wherein, λ is the current step-length of user; F is the walking frequency in the second time; A, b are empirical value, and for example a can get 0.63, b can get 0.7.
In the present embodiment, except calculating user's step number, further calculate user's step-length, in improving meter step precision, being conducive to provides more perfect meter step information to user.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.
The structural representation of the terminal device that Fig. 4 provides for one embodiment of the invention.As shown in Figure 4, this terminal device comprises: the first acquisition module 41, the first determination module 42, the second acquisition module 43 and the second determination module 44.
The first acquisition module 41, for the accekeration of Real-time Obtaining terminal device.Preferably, terminal device also comprises inertial sensor 45.The first acquisition module 41 can be connected with inertial sensor 45, utilizes the accekeration of inertial sensor 45 Real-time Obtaining terminal devices.
The first determination module 42, is connected with the first acquisition module 41, maximum value and the minimal value of the accekeration obtaining for definite the first acquisition module 41.
The second acquisition module 43, be connected with the first determination module 42, for in the time that the difference of the definite adjacent maximum value of the first determination module 42 and minimal value is greater than acceleration rate threshold, to comprising two adjacent maximum value of the maximum value in described adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in described adjacent maximum value and minimal value carries out frequency domain conversion, obtain described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value.
The second determination module 44, be connected with the second acquisition module 43, while being greater than predeterminated frequency threshold value for two adjacent maximum value obtaining at the second acquisition module 43 or the walking frequency in two corresponding times of adjacent minimal value, determine that the user who holds terminal device moves and moves a step in described two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number.
In an optional embodiment, when two adjacent maximum value that the second determination module 44 is also used in that the second acquisition module 43 obtains or the walking frequency in two corresponding times of adjacent minimal value are not more than predeterminated frequency threshold value, determine that user is in described two adjacent maximum value or not mobile in two corresponding times of adjacent minimal value, and trigger the first acquisition module 41 and the operation of other modules continuation execution meter step.
In an optional embodiment, as shown in Figure 5, described terminal device also comprises: the first computing module 46 and update module 47.
The first computing module 46, for calculating the variance of the accekeration in the very first time, the very first time is the time of putting current time and length and equal the first appointment duration from the very first time.
Update module 47, is connected with the first computing module 46, is updated to for degree of will speed up threshold value the variance that the first computing module 46 calculates.Update module 47 is also connected with the second acquisition module 43, for providing the acceleration rate threshold after renewal to the second acquisition module 43, so that the second acquisition module 43 uses in the operation of upper once meter step.
Further, as shown in Figure 5, this terminal device can also comprise: the 3rd acquisition module 48 and the second computing module 49.
The 3rd acquisition module 48, carries out frequency domain conversion for the accekeration in the second time, obtains the walking frequency in the second time, and the second time was from the second time point to current time and length equals time of the second appointment duration.
The second computing module 49, is connected with the 3rd acquisition module 48, for the current step-length of walking frequency computation part user in second time of obtaining according to the 3rd acquisition module 48.
For example, the second computing module 49 specifically can be used for according to formula λ=af+b, calculates the current step-length of user; Wherein, λ is the current step-length of user; F is the walking frequency in the second time; A, b are empirical value.
The terminal device that the present embodiment provides, obtaining after accekeration, determine maximum value and minimal value in accekeration, the difference of adjacent maximum value and minimal value and acceleration rate threshold are compared, be not now directly to determine according to comparative result whether user moves one's steps, and just as preliminary judgement; In the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, further by comprise above-mentioned participation comparison maximum value two adjacent maximum value or comprise that the accekeration between minimizing two adjacent minimal values of above-mentioned participation comparison carries out frequency domain conversion, obtain two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value, further judge from frequency domain, only in the time that walking frequency is greater than predeterminated frequency threshold value, just determine that the user who holds terminal device moves one's steps within the corresponding time, step number is added to 1 simultaneously.Because the terminal device that the present embodiment provides is counted step analysis based on time domain and frequency domain character simultaneously, therefore, be conducive to occur while reducing meter step the probability of erroneous judgement, improve meter step precision.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) or processor (processor) carry out the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, ROM), the various media that can be program code stored such as random access memory (Random Access Memory, RAM), magnetic disc or CD.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a step-recording method, is characterized in that, comprising:
The accekeration of Real-time Obtaining terminal device;
Determine maximum value and minimal value in described accekeration;
In the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, to comprising two adjacent maximum value of the maximum value in described adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in described adjacent maximum value and minimal value carries out frequency domain conversion, obtain described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value;
If described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are greater than predeterminated frequency threshold value, determine that the user who holds described terminal device moves and moves a step in described two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number.
2. method according to claim 1, is characterized in that, also comprises:
If described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are not more than predeterminated frequency threshold value, determine that described user is in described two adjacent maximum value or not mobile in two corresponding times of adjacent minimal value.
3. method according to claim 1, is characterized in that, also comprises:
The variance of calculating the accekeration in the very first time, is updated to described variance by described acceleration rate threshold, and the described very first time is the time of putting current time and length and equal the first appointment duration from the very first time.
4. according to the method described in claim 1-3 any one, it is characterized in that, described definite user who holds described terminal device also comprises after moving in described two adjacent maximum value or in two corresponding times of adjacent minimal value and moving a step:
Accekeration in the second time is carried out to frequency domain conversion, obtain the walking frequency in described the second time, according to the current step-length of user described in the walking frequency computation part in described the second time, described the second time is from the second time point to current time and length equals time of the second appointment duration.
5. method according to claim 4, is characterized in that, described according to the current step-length of user described in the walking frequency computation part in described the second time, comprising:
According to formula λ=af+b, calculate the current step-length of described user;
Wherein, λ is the current step-length of described user;
F is the walking frequency in described the second time;
A, b are empirical value.
6. a terminal device, is characterized in that, comprising:
The first acquisition module, for the accekeration of terminal device described in Real-time Obtaining;
The first determination module, for determining maximum value and the minimal value of described accekeration;
The second acquisition module, for in the time that the difference of adjacent maximum value and minimal value is greater than acceleration rate threshold, to comprising two adjacent maximum value of the maximum value in described adjacent maximum value and minimal value or comprising that the accekeration between minimizing two the adjacent minimal values in described adjacent maximum value and minimal value carries out frequency domain conversion, obtain described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value;
The second determination module, for in the time that described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are greater than predeterminated frequency threshold value, determine that the user who holds described terminal device moves and moves a step in described two adjacent maximum value or in two corresponding times of adjacent minimal value, adds 1 by step number.
7. terminal device according to claim 6, it is characterized in that, described the second determination module also, in the time that described two adjacent maximum value or the walking frequency in two corresponding times of adjacent minimal value are not more than predeterminated frequency threshold value, determines that described user is in described two adjacent maximum value or not mobile in two corresponding times of adjacent minimal value.
8. terminal device according to claim 6, is characterized in that, also comprises:
The first computing module, for calculating the variance of the accekeration in the very first time, the described very first time is the time of putting current time and length and equal the first appointment duration from the very first time;
Update module, for being updated to described variance by described acceleration rate threshold.
9. according to the terminal device described in claim 6-8 any one, it is characterized in that, also comprise:
The 3rd acquisition module, carries out frequency domain conversion for the accekeration in the second time, obtains the walking frequency in described the second time, and described the second time is from the second time point to current time and length equals time of the second appointment duration;
The second computing module, for according to the current step-length of user described in the walking frequency computation part in described the second time.
10. terminal device according to claim 9, is characterized in that, described the second computing module, specifically for according to formula λ=af+b, calculates the current step-length of described user;
Wherein, λ is the current step-length of described user;
F is the walking frequency in described the second time;
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 true CN104089624A (en) 2014-10-08
CN104089624B 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)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596537A (en) * 2015-02-02 2015-05-06 成都星炫科技有限公司 Step calculation method
CN105698815A (en) * 2016-03-24 2016-06-22 广东欧珀移动通信有限公司 Method and device for regulating step counting data
CN105953814A (en) * 2016-06-21 2016-09-21 广东欧珀移动通信有限公司 Step counting method, step counting device and mobile terminal
CN106525071A (en) * 2016-10-26 2017-03-22 上海与德信息技术有限公司 Method and device for monitoring motion state
CN106525068A (en) * 2016-11-08 2017-03-22 深圳市金立通信设备有限公司 Step-counting method and terminal
CN106767889A (en) * 2016-12-05 2017-05-31 广东思派康电子科技有限公司 A kind of step-recording method for being based on three axle G sensor
CN106895835A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 Localization method and device
CN106952652A (en) * 2017-02-21 2017-07-14 深圳市冠旭电子股份有限公司 The control method and system of noise reduction
CN107270932A (en) * 2017-07-25 2017-10-20 电子科技大学 Automatic step-recording method for terminal device
CN107588783A (en) * 2016-07-08 2018-01-16 深圳达阵科技有限公司 One kind meter step preprocess method, device and terminal
CN108960016A (en) * 2017-05-25 2018-12-07 富士通株式会社 The method and apparatus for detecting specific action
CN109561854A (en) * 2016-08-02 2019-04-02 美敦力公司 It is detected using the paces of accelerometer axis
CN111189469A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Step counting method, terminal device and storage medium
CN113537102A (en) * 2021-07-22 2021-10-22 深圳智微电子科技有限公司 Method for extracting characteristics of microseismic signals

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082025A1 (en) * 2006-09-29 2008-04-03 Hughes Robert D Method and apparatus for a self-powered RFID-readable pedometer
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082025A1 (en) * 2006-09-29 2008-04-03 Hughes Robert D Method and apparatus for a self-powered RFID-readable pedometer
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

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104596537A (en) * 2015-02-02 2015-05-06 成都星炫科技有限公司 Step calculation method
CN104596537B (en) * 2015-02-02 2017-12-29 林联华 A kind of step-recording method
US10579037B1 (en) 2015-12-17 2020-03-03 Alibaba Group Holding Limited Positioning method and apparatus
CN106895835A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 Localization method and device
CN105698815B (en) * 2016-03-24 2018-07-27 广东欧珀移动通信有限公司 Count the adjusting method and device of step data
CN105698815A (en) * 2016-03-24 2016-06-22 广东欧珀移动通信有限公司 Method and device for regulating step counting data
CN105953814A (en) * 2016-06-21 2016-09-21 广东欧珀移动通信有限公司 Step counting method, step counting device and mobile terminal
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
CN109561854B (en) * 2016-08-02 2022-01-04 美敦力公司 Step detection using accelerometer axes
CN109561854A (en) * 2016-08-02 2019-04-02 美敦力公司 It is detected using the paces of accelerometer axis
CN106525071B (en) * 2016-10-26 2019-09-27 上海与德信息技术有限公司 A kind of motion state monitoring method and device
CN106525071A (en) * 2016-10-26 2017-03-22 上海与德信息技术有限公司 Method and device for monitoring motion state
CN106525068A (en) * 2016-11-08 2017-03-22 深圳市金立通信设备有限公司 Step-counting method and terminal
CN106767889A (en) * 2016-12-05 2017-05-31 广东思派康电子科技有限公司 A kind of step-recording method for being based on three axle G sensor
CN106952652A (en) * 2017-02-21 2017-07-14 深圳市冠旭电子股份有限公司 The control method and system of noise reduction
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
CN113537102A (en) * 2021-07-22 2021-10-22 深圳智微电子科技有限公司 Method for extracting characteristics of microseismic signals
CN113537102B (en) * 2021-07-22 2023-07-07 深圳智微电子科技有限公司 Feature extraction method of microseismic signals

Also Published As

Publication number Publication date
CN104089624B (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN104089624A (en) Step counting method and terminal device
CN109959379B (en) Positioning method and electronic equipment
US7797106B2 (en) System and method for adjusting step detection based on motion information
CN103460722A (en) Methods, devices, and apparatuses for activity classification using temporal scaling of time-referenced features
CN110443190B (en) Object recognition method and device
CN106017502B (en) A kind of step-recording method and electronic equipment
KR101228336B1 (en) Personalization Service Providing Method by Using Mobile Terminal User&#39;s Activity Pattern and Mobile Terminal therefor
US20130304414A1 (en) Mobility determination
CN105487689A (en) Ring mouse and method for operating mobile terminal through same
CN103105852A (en) Method and device for displacement computing and method and device for simultaneous localization and mapping
CN113419233A (en) Method, device and equipment for testing perception effect
CN108053424A (en) Method for tracking target, device, electronic equipment and storage medium
CN102708900B (en) A kind of method controlling equipment audio frequency and mobile device thereof
CN106503631A (en) A kind of population analysis method and computer equipment
CN105261228A (en) Method and device for searching vehicle in parking lot
CN110398775A (en) Tunnel is dashed forward discharge disaster microseismic event signal fluctuation first break pickup method and system
CN113008242B (en) User behavior data processing method, device, equipment and storage medium
CN105446605A (en) Information processing method and electronic device
US8847948B2 (en) 3D model comparison
CN107360547B (en) Clustering processing method for preventing positioning jitter in static state in indoor positioning
CN105517018A (en) Method and device for acquiring position information
CN114739412B (en) Pedestrian gait real-time detection method and device based on smart phone
CN102999326A (en) Systems and methods for utilizing acceleration event signatures
US11507172B2 (en) Smart context subsampling on-device system
US10185304B2 (en) Timing a machine tool using an accelerometer

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