CN105953814B - A kind of step-recording method, step count set and mobile terminal - Google Patents
A kind of step-recording method, step count set and mobile terminal Download PDFInfo
- Publication number
- CN105953814B CN105953814B CN201610460503.6A CN201610460503A CN105953814B CN 105953814 B CN105953814 B CN 105953814B CN 201610460503 A CN201610460503 A CN 201610460503A CN 105953814 B CN105953814 B CN 105953814B
- Authority
- CN
- China
- Prior art keywords
- acceleration
- peak value
- mobile terminal
- user
- preset
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C22/00—Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
- G01C22/006—Pedometers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Telephone Function (AREA)
Abstract
The invention belongs to field of communication technology, a kind of step-recording method, step count set and mobile terminal are provided, which comprises obtain the acceleration information of sensor acquisition in mobile terminal, and corresponding acceleration change curve graph is established according to the acceleration information;According to the acceleration change curve graph, the corresponding frequency of peak value of the peak value and the acceleration of acceleration is obtained;When the corresponding frequency of peak value that the peak value of the acceleration is greater than preset acceleration rate threshold and the acceleration is less than preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, the numerical value of counting adds 1.It can effectively prevent false step counting through the invention, improve step counting precision.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of step-recording methods, step count set and mobile terminal.
Background technique
With the raising of modern life quality, people increasingly focus on the daily exercise of oneself, and step counting is as a kind of effective
Record the monitoring means taken exercise, be widely used in mobile terminal, general acceleration transducer by mobile terminal and
Certain algorithm, can calculate the step number of user's walking, and estimate the distance of walking and the calorie of consumption.Therefore, it counts
One step process largely decides the accuracy of step counting.
Currently, in existing step-recording method, generally according to the curve rail of the walking movement of the user of acquisition for mobile terminal
Mark, the number of peak value in the curvilinear path of the walking movement of counting user, using the number of peak value as the step number of user.However,
Existing step-recording method there are some low amplitudes (such as hand shaking) and quickly shake (such as user pass through hand wobble mobile terminal
Or mobile terminal is placed on some equipment specially rocked and gets on to rock mobile terminal) interference, these interference data can shadow
Ring the step counting precision of mobile terminal.
Therefore, it is necessary to propose a kind of new technical solution, to solve the above technical problems.
Summary of the invention
In consideration of it, the embodiment of the present invention provides a kind of step-recording method, step count set and mobile terminal, to improve step counting essence
Degree.
The embodiment of the present invention in a first aspect, providing a kind of step-recording method, which comprises
The acceleration information of sensor acquisition in mobile terminal is obtained, and corresponding add is established according to the acceleration information
Speed change curves figure;
According to the acceleration change curve graph, the corresponding frequency of peak value of the peak value and the acceleration of acceleration is obtained
Rate;
When the peak value of the acceleration is greater than the corresponding frequency of peak value of preset acceleration rate threshold and the acceleration
When rate is less than preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, the numerical value of counting adds 1.
The second aspect of the embodiment of the present invention, provides a kind of step count set, and the step count set includes:
Acquiring unit is believed for obtaining the acceleration information that sensor acquires in mobile terminal, and according to the acceleration
Breath establishes corresponding acceleration change curve graph;
Obtaining unit, for according to the acceleration change curve graph, obtaining the peak value and the acceleration of acceleration
The corresponding frequency of peak value;
Determination unit is greater than preset acceleration rate threshold and the acceleration for the peak value when the acceleration
When the corresponding frequency of peak value is less than preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, count
Several numerical value add 1.
The third aspect of the embodiment of the present invention, provides a kind of mobile terminal, and the mobile terminal includes such as second aspect institute
The step count set stated.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is according in mobile terminal
The acceleration information of sensor acquisition is established corresponding acceleration change curve graph and is added according to acceleration change curve graph
The peak value of speed and the corresponding frequency of the peak value of acceleration are greater than preset acceleration rate threshold in the peak value of acceleration and add
When the corresponding frequency of the peak value of speed is less than preset frequency threshold, the user mobile one for holding mobile terminal is just determined
Step, the numerical value of counting add 1.The embodiment of the present invention is by preset acceleration rate threshold and preset frequency threshold to holding
There is the walking movement of the user of mobile terminal to carry out step counting limitation, it is improper so as to effectively remove low amplitude and quick shaking etc.
The interference to step counting is moved, false step counting is prevented, improves step counting precision.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the schematic flow diagram for the step-recording method that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow diagram of step-recording method provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic flow diagram for the step-recording method that the embodiment of the present invention three provides;
Fig. 4 is the schematic block diagram for the step count set that the embodiment of the present invention four provides;
Fig. 5 is the schematic block diagram for the step count set that the embodiment of the present invention five provides;
Fig. 6 is the schematic block diagram for the mobile terminal that the embodiment of the present invention six provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
In the specific implementation, mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage
Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and mobile terminal on surface.In this way, the public physics frame of mobile terminal
Structure (for example, touch sensitive surface) can be supported various using journey with user interface intuitive and transparent for a user
Sequence.
It is the schematic flow diagram for the step-recording method that the embodiment of the present invention one provides referring to Fig. 1, this method as shown in the figure can be with
The following steps are included:
In step s101, the acceleration information of sensor acquisition in mobile terminal is obtained, and is believed according to the acceleration
Breath establishes corresponding acceleration change curve graph.
In embodiments of the present invention, mobile terminal can be acquired in real time by sensor holds the user of the mobile terminal and exists
Acceleration information in walking movement establishes corresponding acceleration change curve graph according to the acceleration information.For example, can be with
After the instruction that the acceleration information of the user of mobile terminal is held in the acquisition for receiving user's transmission, start to obtain movement in real time
The acceleration information that sensor acquires in real time in terminal, and corresponding acceleration change curve is established according to the acceleration information
Figure.Wherein, the acceleration information includes but is not limited to the acceleration for holding the user of the mobile terminal in walking movement
Time corresponding with the acceleration, the acceleration change curve graph can change with time figure for acceleration, the biography
Sensor includes but is not limited to acceleration transducer.
In step s 102, according to the acceleration change curve graph, the peak value and the acceleration of acceleration are obtained
The corresponding frequency of peak value.
It in embodiments of the present invention, can be according to the acceleration change curve established in step S101 according to acceleration information
Figure, obtains the corresponding frequency of peak value of the peak value and the acceleration of acceleration.Wherein, the peak value of the acceleration can pass through
Detection acceleration is obtained from the maximal point for being changed into reduction is increased, and the corresponding value of the maximal point is the peak value of acceleration, described
The corresponding frequency of the peak value of acceleration can be located at for the inverse of the time interval of two adjacent troughs, the peak value of the acceleration
Between described two adjacent troughs.
In step s 103, when the peak value of the acceleration is greater than preset acceleration rate threshold and the acceleration
When the corresponding frequency of peak value is less than preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, count
Several numerical value add 1.
In embodiments of the present invention, can be judged by preset acceleration rate threshold and preset frequency threshold
Whether the walking movement for holding the user of the mobile terminal is effective exercise, is preset when the peak value of the acceleration is greater than
Acceleration rate threshold and the acceleration the corresponding frequency of peak value be less than preset frequency threshold, it is determined that the walking fortune
It moves as effective exercise, user's shifting that the mobile terminal is held in determination moves a step, and step number also accordingly adds 1.
Wherein, the preset acceleration rate threshold both can be used for amplitude in filtered acceleration change curve and compare
The peak value of low acceleration, i.e. interference of the low amplitude (such as hand shaking) to step counting in removal acceleration change curve graph, and can be with
It is detected for slight walk to the user for holding mobile terminal, and then step counting is carried out to it.The preset frequency
Rate threshold value, which can be used for removing, quickly shakes (such as quickly being shaken by hand or swaying device to mobile terminal)
Interference to step counting identifies artificial fraud.The effective exercise is after the improper movement such as removing low amplitude and quickly shaking
The practical walking movement of user.
The embodiment of the present invention establishes corresponding acceleration change according to the acceleration information that sensor in mobile terminal acquires
Curve graph, according to acceleration change curve graph, the corresponding frequency of the peak value of the peak value and acceleration that obtain acceleration, in acceleration
Peak value be greater than preset acceleration rate threshold and acceleration the corresponding frequency of peak value be less than preset frequency threshold
When, it just determines that the user for holding mobile terminal moves and moves a step, the numerical value of counting adds 1.The embodiment of the present invention passes through preset
Acceleration rate threshold and preset frequency threshold carry out step counting limitation to the walking movement for the user for holding mobile terminal, thus
Low amplitude and quickly interference of the improper movement such as shaking to step counting can be effectively removed, false step counting is prevented, improves step counting precision.
It referring to fig. 2, is the schematic flow diagram of step-recording method provided by Embodiment 2 of the present invention, this method as shown in the figure can be with
The following steps are included:
In step s 201, acceleration rate threshold and frequency threshold are set.
In embodiments of the present invention, in order to filter improper movement (such as hand shaking, by hand or swaying device to movement
Terminal is quickly shaken) interference to step counting, acceleration threshold can be arranged in mobile terminal before obtaining acceleration information
Value and frequency threshold.
Wherein, acceleration rate threshold both can be used for the peak of the lower acceleration of Amplitude Ratio in filtered acceleration change curve
Value, i.e. interference of the low amplitude (such as hand shaking) to step counting in removal acceleration change curve graph, and can be used for the light of user
Micro- walk is detected, and then carries out step counting to it.Frequency threshold can be used for removing quickly shaking (such as by hand or
Swaying device quickly shakes mobile terminal) interference to step counting, identifies artificial fraud.
In embodiments of the present invention, can be using the user of different age group as sample set, the user of different age group exists
Flat to hold mobile terminal when most slow on foot, which can acquire user's adding when walking most slow in real time by sensor
The quantity of velocity information, the user of each age bracket can be configured according to actual needs, calculate each age bracket
Acceleration average value of the user when walking most slow, then the acceleration by the user of each age bracket of calculating when walking most slow
Degree average value adds up, divided by the age bracket number of division, acceleration of the user for seeking different age group when walking most slow
Average value is spent, the average value, example can be slightly lower than using the average value as the setting of acceleration rate threshold or acceleration rate threshold
Such as, acceleration rate threshold is used as by 0.8 times of the average value.
Illustratively, it can be carried out using the sample data of three age brackets in the sample set of the user of different age group
Acceleration rate threshold setting, old man (60~74 years old), a middle-aged person (45~59 years old), young people (15~44 years old), each age bracket
Sample size can be 100, and the age of 100 samples is uniformly distributed in age bracket, counts 100 respectively in each age bracket
The acceleration information of a sample seeks each age whithin a period of time according to the acceleration peak value in the acceleration information
The average value of the peak value of the acceleration of section seeks these three years further according to the average value of the peak value of the acceleration of each age bracket
The average value of the peak value of the acceleration of age section, can be using the average value as the setting of acceleration rate threshold or acceleration rate threshold slightly
It is micro- to be lower than the average value.
Optionally, which is also possible to be configured specifically for the user for holding mobile terminal.User exists
When most slow on foot, flat to hold mobile terminal, which can acquire user by sensor in real time and walk whithin a period of time
Acceleration information when most slow calculates user's acceleration average value during this period of time according to acceleration information, can should
0.8 times of average value is used as acceleration rate threshold.
Preferably, frequency threshold can be used as by 1.2 times of the most fast frequency of mankind's road-work, for removing quick rolling
The dynamic interference of (such as quickly being shaken by hand or swaying device to mobile terminal) to step counting identifies artificial fake.
Illustratively, in May, 2015, Su Ping Tian have run out of 9 seconds 99 Asia native country players in Eugene stands 100 meters and competes
Best result becomes the first yellow for breaking through 10 seconds high pointes, he probably spend 10 seconds, 47 steps run through 100 meters, that is, 1 second
4.7 steps are run, is approximately equal to 5 steps, runs within 1 second the limit that 5 steps have been many sportsmen, it is frequency threshold that we, which can take 1 second 8 step of race,
Value, i.e. predeterminated frequency threshold value are 8 steps/second.
In step S202, the acceleration information of sensor acquisition in mobile terminal is obtained, and believe according to the acceleration
Breath establishes corresponding acceleration change curve graph.
In the present embodiment, the implementation method of step S202 is identical with the implementation method of step S101 in embodiment one,
The explanation of its relational language, concept etc. explains the explanation or explanation specifically seen to step S101, and details are not described herein again.
In step S203, according to the acceleration change curve graph, the peak value and the acceleration of acceleration are obtained
The corresponding frequency of peak value.
In the present embodiment, the implementation method of step S203 is identical with the implementation method of step S102 in embodiment one,
The explanation of its relational language, concept etc. explains the explanation or explanation specifically seen to step S102, and details are not described herein again.
In step S204, when the peak value of the acceleration is greater than preset acceleration rate threshold and the acceleration
When the corresponding frequency of peak value is less than preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, count
Several numerical value add 1.
In the present embodiment, the implementation method of step S204 is identical with the implementation method of step S103 in embodiment one,
The explanation of its relational language, concept etc. explains the explanation or explanation specifically seen to step S103, and details are not described herein again.
Acceleration rate threshold and frequency threshold is arranged before obtaining acceleration information in the embodiment of the present invention, according to mobile whole
The acceleration information that sensor acquires in end is established corresponding acceleration change curve graph and is obtained according to acceleration change curve graph
The corresponding frequency of peak value for obtaining the peak value and acceleration of acceleration is greater than preset acceleration rate threshold in the peak value of acceleration
And the corresponding frequency of peak value of acceleration be less than preset frequency threshold when, just determine hold mobile terminal user move
The numerical value of one step, counting adds 1.The embodiment of the present invention passes through preset acceleration rate threshold and preset frequency threshold pair
The walking movement for holding the user of mobile terminal carries out step counting limitation, non-just so as to effectively remove low amplitude and quick shaking etc.
Often interference of the movement to step counting prevents false step counting, improves step counting precision.
It is the schematic flow diagram for the step-recording method that the embodiment of the present invention three provides referring to Fig. 3, this method as shown in the figure can be with
The following steps are included:
In step S301, the acceleration information of sensor acquisition in mobile terminal is obtained, and believe according to the acceleration
Breath establishes corresponding acceleration change curve graph.
In the present embodiment, step in step S101 or embodiment two in the implementation method Yu embodiment one of step S301
The implementation method of S202 is identical, the explanation of relational language, concept etc. or explain specifically see to step S101 or
The explanation or explanation of step S202, details are not described herein again.
In step s 302, according to the acceleration change curve graph, the peak value and the acceleration of acceleration are obtained
The corresponding frequency of peak value.
In the present embodiment, implementation method and the step in step S102 in embodiment one or embodiment two of step S302
The implementation method of S203 is identical, the explanation of relational language, concept etc. or explain specifically see to step S102 or
The explanation or explanation of step S203, details are not described herein again.
In step S303, the peak value of N number of acceleration is counted, wherein the peak value of the acceleration is greater than described pre-
The corresponding frequency of the peak value of the acceleration rate threshold and the acceleration that first set is less than the preset frequency threshold, and N is
Integer greater than zero.
In embodiments of the present invention, holding the user of mobile terminal, there may be multiple motion processes in walking movement.
For example, user after walking for a period of time, pauses a little while, is further continued for walking, then the walking before pausing is a motion process,
Walking after pause is a motion process.
Wherein, first acceleration of mobile terminal each motion process from the acceleration change curve graph
Peak value start, count the peak value of the N number of acceleration, the peak value of N number of acceleration can be used for filtering out as sitting
Interference of the irregular undulation of the generations such as vehicle shake to step counting, because the undulation of the generations such as shake is general by bus
It will not continue on always, may there was only one twice, we can filter out by the way that a threshold value N is arranged as shaking by bus
The irregular undulation of equal generations, to it without step counting.Preferably, the N can be 10.
In step s 304, if the peak value of N number of acceleration is continuous, to the user for holding the mobile terminal
It is started counting from N step.
Preferably, in order to enable step counting is more acurrate, with more practicability and more meets user demand, the embodiment of the present invention
If the peak value of N number of acceleration is continuous, starting counting to the user for holding the mobile terminal from N step can
To include:
If the peak value of N number of acceleration is continuous and the time interval of adjacent peak is less than or equal to and presets
Time, then started counting from N step to holding the user of the mobile terminal.
In embodiments of the present invention, the preset time, it is same to can be used for judging whether two adjacent peaks belong to
Motion process illustrates two adjacent peaks if the time interval of two adjacent peaks is less than or equal to the preset time
Value belongs to the same motion process, starts counting to user from N step;It is set in advance if the time interval of two adjacent peaks is greater than
The fixed time then illustrates that two adjacent peaks belong to two motion processes, and user may pause up a little while, it is necessary to from two
The latter peak value of adjacent peak starts, and counts the peak value of N number of acceleration, and judge the peak value of N number of acceleration it is whether continuous and
Whether the time interval of adjacent peak is less than or equal to the preset time, when the judgment result is yes, carries out step counting.Compared with
Good, the preset time can be 30 seconds.
Illustratively, if in the peak value of 10 acceleration the 6th be greater than with the time interval of the peak value of the 7th acceleration
At 30 seconds, the peak value of 10 acceleration is counted backward since the peak value of the 7th acceleration, and the peak value of 10 acceleration is big
In preset acceleration rate threshold, corresponding frequency are less than preset frequency threshold, the peak value of 10 acceleration connects
Continuous and adjacent peak time interval is less than or equal to preset time, the then step counting since step 16.
In step S305, when the peak value of the N+1 acceleration is greater than the preset acceleration rate threshold, institute
State acceleration the corresponding frequency of peak value be less than acceleration peak value described in the preset frequency threshold and n-th with it is described
The peak value consecutive hours of the N+1 acceleration determines that the user for holding the mobile terminal moves and moves a step that the numerical value of counting adds
1。
Preferably, in order to enable step counting is more acurrate, with more practicability and more meets user demand, the embodiment of the present invention
The peak value pair for being greater than the preset acceleration rate threshold, the acceleration when the peak value of the N+1 acceleration
The frequency answered is less than acceleration peak value described in the preset frequency threshold and n-th and the N+1 acceleration
The peak value consecutive hours of degree determines that the user for holding the mobile terminal moves and moves a step that the numerical value of counting, which adds, 1 may include:
When the peak value of the N+1 acceleration is greater than the peak of the preset acceleration rate threshold, the acceleration
It is worth corresponding frequency to add less than described in acceleration peak value described in the preset frequency threshold, n-th and the N+1
The peak value of speed is continuous and the peak value of the N+1 acceleration and the n-th described in acceleration peak value time
When interval is less than or equal to the preset time, determines that the user for holding the mobile terminal moves and move a step, the number of counting
Value plus 1.
The embodiment of the present invention establishes corresponding acceleration change according to the acceleration information that sensor in mobile terminal acquires
Curve graph, according to acceleration change curve graph, the corresponding frequency of the peak value of the peak value and acceleration that obtain acceleration is counted N number of
The peak value of acceleration is less than greater than preset acceleration rate threshold, corresponding frequency in the peak value of N number of acceleration and sets in advance
The peak value of fixed frequency threshold, N number of acceleration is continuously and the time interval of adjacent peak is less than or equal to preset
When the time, just determines that user moves and move a step, the numerical value of counting adds 1.The embodiment of the present invention by preset acceleration rate threshold,
Preset frequency threshold, N number of peak value are continuous and preset time carries out step counting limitation to the walking movement of user,
So as to effectively remove low amplitude and quickly interference of the improper movement such as shaking to step counting, false step counting is prevented, step counting essence is improved
Degree.
It referring to fig. 4, is the schematic block diagram for the step count set that the embodiment of the present invention four provides, as shown, the step count set
It may include: acquiring unit 41, obtaining unit 42 and determination unit 43.
Acquiring unit 41, for obtaining the acceleration information that sensor acquires in mobile terminal, and according to the acceleration
Information establishes corresponding acceleration change curve graph;
Obtaining unit 42, for obtaining the peak value and the acceleration of acceleration according to the acceleration change curve graph
The corresponding frequency of peak value;
Determination unit 43 is greater than preset acceleration rate threshold and the acceleration for the peak value when the acceleration
The corresponding frequency of peak value be less than preset frequency threshold when, determine hold the mobile terminal user move moves a step,
The numerical value of counting adds 1.
Mobile terminal provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method one, details referring to
The description of above-described embodiment one, details are not described herein.
It is the schematic block diagram for the step count set that the embodiment of the present invention five provides, as shown, the step count set referring to Fig. 5
It may include: setting unit 51, acquiring unit 52, obtaining unit 53 and determination unit 54.
Setting unit 51, for acceleration rate threshold and frequency threshold to be arranged before obtaining acceleration information;
Acquiring unit 51, for obtaining the acceleration information that sensor acquires in mobile terminal, and according to the acceleration
Information establishes corresponding acceleration change curve graph;
Obtaining unit 52, for obtaining the peak value and the acceleration of acceleration according to the acceleration change curve graph
The corresponding frequency of peak value;
Determination unit 53 is greater than preset acceleration rate threshold and the acceleration for the peak value when the acceleration
The corresponding frequency of peak value be less than preset frequency threshold when, determine hold the mobile terminal user move moves a step,
The numerical value of counting adds 1.
Further, the determination unit 53 includes:
Subelement 531 is counted, for counting the peak value of N number of acceleration, wherein the peak value of the acceleration is greater than institute
The corresponding frequency of peak value for stating preset acceleration rate threshold and the acceleration is less than the preset frequency threshold,
N is the integer greater than zero;
Count sub-element 532, if the peak value for N number of acceleration is continuous, to holding the mobile terminal
User from N step start counting;
It determines subelement 533, is greater than the preset acceleration threshold for the peak value when the N+1 acceleration
Value, the corresponding frequency of peak value of the acceleration are less than acceleration peak value described in the preset frequency threshold and n-th
With the peak value consecutive hours of the N+1 acceleration, determines that the user for holding the mobile terminal moves and move a step, counting
Numerical value adds 1.
Further, the count sub-element 532, and if phase continuous specifically for the peak value of N number of acceleration
The time interval of adjacent peak value is less than or equal to the preset time, then walks to the user for holding the mobile terminal from N
It starts counting;
The determining subelement 533 is greater than described preset specifically for the peak value when the N+1 acceleration
Acceleration rate threshold, the corresponding frequency of peak value of the acceleration, which are less than described in the preset frequency threshold, n-th, to be accelerated
Spend the peak value and the N+1 acceleration peak value is continuous and the peak value and the N of the N+1 acceleration
When the time interval of the peak value of a acceleration is less than or equal to the preset time, the mobile terminal is held in determination
User move move a step, the numerical value of counting adds 1.
Step count set provided in an embodiment of the present invention can be applied in preceding method embodiment, and details are referring to the above method
The description of embodiment, details are not described herein.
It is the schematic block diagram for the mobile terminal that the embodiment of the present invention six provides referring to Fig. 6.The mobile terminal as shown in the figure
It may include: one or more processors 601 (one is only shown in figure), one or more input equipments 602 (are only shown in figure
One), one or more output equipments 603 (one is only shown in figure) and memory 604.Above-mentioned processor 601, input equipment
602, output equipment 603 and memory 604 are connected by bus 605.Wherein:
The processor 601, the acceleration information of sensor acquisition in passing through 602 mobile terminal of input equipment,
And corresponding acceleration change curve graph is established according to the acceleration information, according to the acceleration change curve graph, obtain
The corresponding frequency of the peak value of the peak value of acceleration and the acceleration, when the peak value of the acceleration is greater than the memory 604
The corresponding frequency of peak value of the preset acceleration rate threshold and the acceleration of middle storage, which is less than in the memory 604, deposits
When the preset frequency threshold of storage, determines that the user for holding the mobile terminal moves and move a step, the numerical value of counting adds 1.
Further,
The processor 601 is also used to before obtaining acceleration information by the input equipment 602, described in setting
Acceleration rate threshold and the frequency threshold.
Further,
The processor 601, specifically for counting the peak value of N number of acceleration, wherein the peak value of the acceleration is big
The corresponding frequency of peak value of the preset acceleration rate threshold and the acceleration that store in the memory 604 is small
The preset frequency threshold stored in the memory 604, N are integer greater than zero, if it is described N number of described plus
The peak value of speed is continuous, then starts counting to the user for holding the mobile terminal from N step, when the N+1 acceleration
Peak value be greater than the preset acceleration rate threshold, the acceleration that are stored in the memory 604 peak value it is corresponding
Frequency be less than in the memory 604 acceleration peak value described in the preset frequency threshold that stores and n-th with
The peak value consecutive hours of the N+1 acceleration determines that the user's shifting for holding the mobile terminal moves a step, the number of counting
Value plus 1.
Further,
The processor 601, if between and the time of adjacent peak continuous specifically for the peak value of N number of acceleration
Every being less than or equal to the preset time stored in the memory 604, then to the user for holding the mobile terminal
It is started counting from N step.
Further,
The processor 601, specifically for being deposited when the peak value of the N+1 acceleration is greater than in the memory 604
The preset acceleration rate threshold, the corresponding frequency of peak value of the acceleration of storage, which are less than in the memory 604, deposits
The preset frequency threshold of storage, acceleration peak value and the N+1 described in the n-th acceleration peak value connect
The time interval of the peak value of acceleration described in the peak value of the continuous and described N+1 acceleration and the n-th be less than or
When equal to the preset time stored in the memory 604, determines that the user for holding the mobile terminal moves and moves a step,
The numerical value of counting adds 1.
The output equipment 603 is used for user feedback execution result information.
The memory 604, is also used to store software program and unit, and the processor 601 is stored in by operation
The software program and unit of the memory 604, to hold the various function application and data processing of mobile terminal.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 602 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user
Directional information), microphone etc., output equipment 603 may include display (LCD etc.), loudspeaker etc..
The memory 604 may include read-only memory and random access memory, and to processor 601 provide instruction and
Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited
Store up the information of device type.
In the specific implementation, processor 601 described in the embodiment of the present invention, input equipment 602, output equipment 603 can
Implementation described in all embodiments of step-recording method provided in an embodiment of the present invention is executed, it is real that the present invention also can be performed
The implementation of mobile terminal described in example is applied, details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the shifting of foregoing description
The specific work process of dynamic terminal and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed mobile terminal and method, Ke Yitong
Other modes are crossed to realize.For example, mobile terminal embodiment described above is only schematical, for example, the unit
Division, only a kind of logical function partition, there may be another division manner in actual implementation, such as can be by multiple lists
Member or component are combined or are integrated, or some features can be ignored or not executed.In addition, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (7)
1. a kind of step-recording method, which is characterized in that the described method includes:
After the instruction that the acceleration information of the user of mobile terminal is held in the acquisition for receiving user's transmission, mobile terminal is obtained
The acceleration information of middle sensor acquisition, and corresponding acceleration change curve graph is established according to the acceleration information;
According to the acceleration change curve graph, the corresponding frequency of peak value of the peak value and the acceleration of acceleration is obtained;
When the corresponding frequency of peak value that the peak value of the acceleration is greater than preset acceleration rate threshold and the acceleration is small
When preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, the numerical value of counting adds 1;
Before obtaining acceleration information, further includes:
The acceleration rate threshold and the frequency threshold are set, wherein are acquired in real time by the sensor and hold the movement
The acceleration information when user of terminal walks most slow whithin a period of time calculates user at this section according to the acceleration information
Interior acceleration average value, and acceleration rate threshold is used as by 0.8 times of the acceleration average value.
2. the method according to claim 1, wherein described when the peak value of the acceleration is greater than preset
When the corresponding frequency of the peak value of acceleration rate threshold and the acceleration is less than preset frequency threshold, the shifting is held in determination
The user of dynamic terminal moves and moves a step, and the numerical value of counting, which adds, 1 includes:
Count the peak value of N number of acceleration, wherein the peak value of the acceleration is greater than the preset acceleration rate threshold
And the corresponding frequency of peak value of the acceleration is less than the preset frequency threshold, N is the integer greater than zero;
If the peak value of N number of acceleration is continuous, the user for holding the mobile terminal is started counting from N step;
When the peak value of the N+1 acceleration is greater than the peak value pair of the preset acceleration rate threshold, the acceleration
The frequency answered is less than acceleration peak value described in the preset frequency threshold and n-th and the N+1 acceleration
The peak value consecutive hours of degree determines that the user for holding the mobile terminal moves and moves a step that the numerical value of counting adds 1.
If 3. according to the method described in claim 2, it is characterized in that, the peak value of N number of acceleration is continuous,
The user for holding the mobile terminal is started counting from N step and includes:
If the peak value of N number of acceleration is continuously and the time interval of adjacent peak is less than or equal to preset
Between, then the user for holding the mobile terminal is started counting from N step;
The peak for being greater than the preset acceleration rate threshold, the acceleration when the peak value of the N+1 acceleration
It is described less than acceleration peak value described in the preset frequency threshold and n-th and the N+1 to be worth corresponding frequency
The peak value consecutive hours of acceleration determines that the user for holding the mobile terminal moves and moves a step that the numerical value of counting, which adds, 1 includes:
When the peak value of the N+1 acceleration is greater than the peak value pair of the preset acceleration rate threshold, the acceleration
The frequency answered is less than acceleration peak value described in the preset frequency threshold, n-th and the N+1 acceleration
Peak value is continuous and the peak value of the N+1 acceleration and the n-th described in acceleration peak value time interval
When less than or equal to the preset time, determines that the user for holding the mobile terminal moves and move a step, the numerical value of counting adds
1。
4. a kind of step count set, which is characterized in that the step count set includes:
Acquiring unit, the instruction of the acceleration information of the user for holding mobile terminal in the acquisition for receiving user's transmission
Afterwards, the acceleration information of sensor acquisition in mobile terminal is obtained, and corresponding acceleration is established according to the acceleration information
Change curve;
Obtaining unit, for obtaining the peak value of acceleration and the peak value of the acceleration according to the acceleration change curve graph
Corresponding frequency;
Determination unit is greater than the peak value of preset acceleration rate threshold and the acceleration for the peak value when the acceleration
When corresponding frequency is less than preset frequency threshold, determines that the user for holding the mobile terminal moves and move a step, counting
Numerical value adds 1;
The step count set further include:
Setting unit, for the acceleration rate threshold and the frequency threshold to be arranged before obtaining acceleration information, wherein
Acquire the acceleration letter held when the user of the mobile terminal walks most slow whithin a period of time in real time by the sensor
Breath calculates user's acceleration average value during this period of time according to the acceleration information, and by the 0.8 of the acceleration average value
It is used as acceleration rate threshold again.
5. step count set according to claim 4, which is characterized in that the determination unit includes:
Subelement is counted, for counting the peak value of N number of acceleration, wherein the peak value of the acceleration is greater than described preparatory
The corresponding frequency of the peak value of the acceleration rate threshold of setting and the acceleration is less than the preset frequency threshold, and N is big
In zero integer;
Count sub-element, if the peak value for N number of acceleration is continuous, to hold the user of the mobile terminal from
N step starts counting;
It determines subelement, is greater than the preset acceleration rate threshold, described for the peak value when the N+1 acceleration
The corresponding frequency of the peak value of acceleration is less than acceleration peak value described in the preset frequency threshold and n-th and described the
The peak value consecutive hours of the N+1 acceleration determines that the user for holding the mobile terminal moves and moves a step that the numerical value of counting adds 1.
6. step count set according to claim 5, which is characterized in that
The count sub-element, if continuous specifically for the peak value of N number of acceleration and adjacent peak time interval
Less than or equal to the preset time, then the user for holding the mobile terminal is started counting from N step;
The determining subelement is greater than the preset acceleration specifically for the peak value when the N+1 acceleration
Threshold value, the corresponding frequency of peak value of the acceleration are less than acceleration peak value described in the preset frequency threshold, n-th
With the peak value of the N+1 acceleration described in the peak value of the continuous and described N+1 acceleration and the n-th
When the time interval of the peak value of acceleration is less than or equal to the preset time, the user for holding the mobile terminal is determined
Shifting moves a step, and the numerical value of counting adds 1.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes the described in any item step counting dresses of claim 4 to 6
It sets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610460503.6A CN105953814B (en) | 2016-06-21 | 2016-06-21 | A kind of step-recording method, step count set and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610460503.6A CN105953814B (en) | 2016-06-21 | 2016-06-21 | A kind of step-recording method, step count set and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105953814A CN105953814A (en) | 2016-09-21 |
CN105953814B true CN105953814B (en) | 2019-01-11 |
Family
ID=56903555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610460503.6A Active CN105953814B (en) | 2016-06-21 | 2016-06-21 | A kind of step-recording method, step count set and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105953814B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648460B (en) * | 2016-10-14 | 2019-08-30 | Oppo广东移动通信有限公司 | Step counting data filtering method and intelligent terminal |
CN106595696B (en) * | 2016-12-08 | 2023-12-08 | 臻鼎云智能科技(深圳)有限公司 | Step counting method of anti-cheating step counting device |
CN106895849B (en) * | 2017-02-23 | 2019-10-11 | 上海与德信息技术有限公司 | A kind of accurate method of counting and device of pedometer |
CN107091650A (en) * | 2017-04-27 | 2017-08-25 | 重庆邮电大学 | A kind of software step-recording method based on mobile phone acceleration and range sensor |
CN107941236B (en) * | 2017-12-05 | 2020-12-11 | 广东乐心医疗电子股份有限公司 | Step counting method, step counting device and storage medium |
CN108981745A (en) * | 2018-09-30 | 2018-12-11 | 深圳个人数据管理服务有限公司 | A kind of step-recording method, device, equipment and storage medium |
CN110263871B (en) * | 2019-06-26 | 2023-04-18 | 深圳市悦动天下科技有限公司 | Step-counting cheating detection method and device, intelligent terminal and storage medium |
CN112113581B (en) * | 2020-10-26 | 2024-03-08 | 平安科技(深圳)有限公司 | Abnormal step counting identification method, step counting method, device, equipment and medium |
CN113340322B (en) * | 2021-06-25 | 2023-04-07 | 歌尔科技有限公司 | Step counting method and device, electronic equipment and readable storage medium |
CN113551687B (en) * | 2021-09-23 | 2021-12-17 | 珠海市杰理科技股份有限公司 | Step counting method, step counting device, step counting equipment, computer storage medium and chip |
CN114125129B (en) * | 2021-11-03 | 2023-08-22 | 方正株式(武汉)科技开发有限公司 | Step number counting method and device based on mobile phone, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008250963A (en) * | 2007-03-30 | 2008-10-16 | Matsushita Electric Works Ltd | Pedometer |
CN101394787A (en) * | 2006-03-14 | 2009-03-25 | 索尼株式会社 | Body movement detector, body movement detection method and body movement detection program |
CN102297701A (en) * | 2010-06-22 | 2011-12-28 | 雅马哈株式会社 | Pedometer |
CN103250029A (en) * | 2011-07-11 | 2013-08-14 | 株式会社Ntt都科摩 | Mobile terminal and method for detecting continuous movement |
CN104089624A (en) * | 2014-07-18 | 2014-10-08 | 赵佳 | Step counting method and terminal device |
CN104215257A (en) * | 2014-10-08 | 2014-12-17 | 广州碧德电子科技有限公司 | High-precision and high pseudo-step removing human step-counting method integrating power consumption management |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4644274B2 (en) * | 2008-07-29 | 2011-03-02 | 京セラ株式会社 | Portable device, step count method, and gravity direction detection method |
-
2016
- 2016-06-21 CN CN201610460503.6A patent/CN105953814B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394787A (en) * | 2006-03-14 | 2009-03-25 | 索尼株式会社 | Body movement detector, body movement detection method and body movement detection program |
JP2008250963A (en) * | 2007-03-30 | 2008-10-16 | Matsushita Electric Works Ltd | Pedometer |
CN102297701A (en) * | 2010-06-22 | 2011-12-28 | 雅马哈株式会社 | Pedometer |
CN103250029A (en) * | 2011-07-11 | 2013-08-14 | 株式会社Ntt都科摩 | Mobile terminal and method for detecting continuous movement |
CN104089624A (en) * | 2014-07-18 | 2014-10-08 | 赵佳 | Step counting method and terminal device |
CN104215257A (en) * | 2014-10-08 | 2014-12-17 | 广州碧德电子科技有限公司 | High-precision and high pseudo-step removing human step-counting method integrating power consumption management |
Also Published As
Publication number | Publication date |
---|---|
CN105953814A (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105953814B (en) | A kind of step-recording method, step count set and mobile terminal | |
CN105635449B (en) | A kind of alarm clock control method and mobile terminal | |
CN106533735B (en) | Method, device, server and system for monitoring use behavior of mobile terminal | |
US20130152002A1 (en) | Data collection and analysis for adaptive user interfaces | |
CN106598253B (en) | Data prediction method and device | |
JP2023529125A (en) | User interface for tracking physical activity events | |
WO2016018746A1 (en) | Rich notifications | |
WO2016018742A1 (en) | Adaptive notifications on a screen | |
WO2016018837A1 (en) | Displaying different levels of personal information on a screen | |
WO2005119947A3 (en) | Feature finding assistant on a user interface | |
CN106705989B (en) | step recording method, device and terminal | |
JP6828174B2 (en) | Step counting method and treadmill equipment | |
CN106445347A (en) | Interface displaying method and device | |
CN109032447A (en) | A kind of icon processing method and mobile terminal | |
CN112214112A (en) | Parameter adjusting method and device | |
CN107003783A (en) | A kind of key detecting method and device | |
CN107247539A (en) | A kind of information displaying method and device, computer installation and readable storage medium storing program for executing | |
CN103873759B (en) | A kind of image pickup method and electronic equipment | |
CN106776223B (en) | Method and device for managing use duration of mobile equipment | |
CN106572004B (en) | Information pushing method, information pushing device and system | |
CN106844504B (en) | A kind of method and apparatus for sending song and singly identifying | |
CN107172302A (en) | Audio control method and device, computer installation and computer-readable recording medium | |
CN104049932B (en) | Information processing method and electronic device | |
CN106407792B (en) | Control the method and speaker of mobile terminal | |
CN106603392B (en) | Information pushing method, information pushing device and information pushing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |