CN106017502B - A kind of step-recording method and electronic equipment - Google Patents

A kind of step-recording method and electronic equipment Download PDF

Info

Publication number
CN106017502B
CN106017502B CN201610325891.7A CN201610325891A CN106017502B CN 106017502 B CN106017502 B CN 106017502B CN 201610325891 A CN201610325891 A CN 201610325891A CN 106017502 B CN106017502 B CN 106017502B
Authority
CN
China
Prior art keywords
electronic equipment
acceleration
motion
kinematic
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610325891.7A
Other languages
Chinese (zh)
Other versions
CN106017502A (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.)
China University of Geosciences
Original Assignee
China University of Geosciences
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 China University of Geosciences filed Critical China University of Geosciences
Priority to CN201610325891.7A priority Critical patent/CN106017502B/en
Publication of CN106017502A publication Critical patent/CN106017502A/en
Application granted granted Critical
Publication of CN106017502B publication Critical patent/CN106017502B/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)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of step-recording method and electronic equipment, the method is applied in electronic equipment, comprising: obtains the kinematic parameter and corresponding time parameter of electronic equipment;According to kinematic parameter and time parameter, judge whether the motion state of electronic equipment meets preset condition;Motion state includes the combination of one or more of: the period of motion, kinematic similarity feature and motion continuity feature;When the motion state of electronic equipment meets the preset condition, to step number plus 1 and store;When the motion state of electronic equipment is unsatisfactory for the preset condition, without step counting.Method provided by the invention and electronic equipment, to solve step-recording method in the prior art, due to the considerations of lacking to wrong ambulatory status, the technical issues of caused excessive counting.It realizes and reduces excessive step counting, improve the technical effect of step counting accuracy.

Description

A kind of step-recording method and electronic equipment
Technical field
The present invention relates to field of computer technology more particularly to a kind of step-recording methods and electronic equipment.
Background technique
With the fast development of sensor technology, smart phone is integrated with sensor abundant, can support widely to move Dynamic application, such as indoor positioning navigation, moving state identification, health monitoring, mobile social networking.In general, the sensing in mobile phone Device includes acceleration, magnetometer, gyroscope, barometer, optical sensor etc..Smart phone of today has been not only a kind of logical Believe equipment, more becomes the important life tool of people's social activity, amusement, study, health care etc..
Step number statistics becomes the key components of most of smart mobile phone applications, these applications generally require estimation user The step number of walking.We can use mobile phone sensor reading to calculate the step number of user's walking.When the user walks, sensor Reading shows certain repeatability rule.This repeatability rule when by being walked using user, it will be able to calculate The step number of user's walking simultaneously infers the mobile distance of user.
There are mainly two types of step number calculation methods at present: method and wave crest detection method is arranged in threshold value.It is by sentencing that method, which is arranged, in threshold value Whether link sensor reading has been more than specific threshold, is more than threshold value then step counting.And wave crest detection method is read by statistics sensor Several wave crest number calculates step number.
But the problem of these methods do not account for wrong ambulatory status is only moved for example, user is practically without walking Mobile phone causes sensor reading to be more than threshold value or wave crest occur, but pedometer still reports a walking event, and adds to step number 1。
That is, step-recording method in the prior art causes to exist due to the considerations of lacking to wrong ambulatory status The technical issues of degree counts.
Summary of the invention
The present invention solves step-recording method in the prior art by providing a kind of step-recording method and electronic equipment, due to The technical issues of the considerations of lacking to wrong ambulatory status, caused excessive counting.
On the one hand, in order to solve the above technical problems, the present invention provides the following technical scheme that
A kind of step-recording method, the method are applied in electronic equipment, which comprises
Obtain the kinematic parameter and the corresponding time parameter of the kinematic parameter of the electronic equipment;
According to the kinematic parameter and the time parameter, it is default to judge whether the motion state of the electronic equipment meets Condition;The motion state includes the combination of one or more of: the period of motion, kinematic similarity feature and motion continuity Feature;Wherein, the kinematic similarity feature is used to characterize the repetition degree of the electronic equipment movement;The motion continuity Feature is used to characterize the smoothness of the electronic equipment movement;
When the motion state of the electronic equipment meets the preset condition, to step number plus 1 and store;
When the motion state of the electronic equipment is unsatisfactory for the preset condition, without step counting.
Optionally, the kinematic parameter and the corresponding time parameter of the kinematic parameter for obtaining the electronic equipment, tool Body are as follows: by the sensor on the electronic equipment, acceleration and the acceleration for obtaining the electronic equipment movement are corresponding Time parameter.
Optionally, whether the motion state for judging the electronic equipment meets preset condition, specifically includes: according to institute Acceleration and the corresponding time parameter of the acceleration are stated, determination is corresponding with two adjacent wave peak values of the acceleration Two time parameters, using the time difference between described two time parameters as the period of motion;Judge the period of motion Whether preset period zones are in.
Optionally, whether the motion state for judging the electronic equipment meets preset condition, specifically includes: according to institute Acceleration and the corresponding time parameter of the acceleration are stated, two interval crest values of the acceleration are determined, with described two The negative of the absolute value of the difference of crest value is spaced as the kinematic similarity feature;Wherein, described two interval crest values Between be spaced 1 acceleration wave peak value;Judge whether the kinematic similarity feature is greater than preset similarity threshold.
Optionally, whether the motion state for judging the electronic equipment meets preset condition, specifically includes: according to institute Acceleration and the corresponding time parameter of the acceleration are stated, determines the variance of the acceleration in preset time period;According to described Variance and preset continuity threshold value, using Boolean variable as the motion continuity feature;Judging the Boolean variable is No is true.
On the other hand, a kind of electronic equipment is provided, comprising:
Acquiring unit, for obtaining the kinematic parameter and the corresponding time parameter of the kinematic parameter of the electronic equipment;
Computing unit, for judging the movement shape of the electronic equipment according to the kinematic parameter and the time parameter Whether state meets preset condition;The motion state includes the combination of one or more of: the period of motion, kinematic similarity are special Motion continuity of seeking peace feature;Wherein, the kinematic similarity feature is used to characterize the repetition degree of the electronic equipment movement; The motion continuity feature is used to characterize the smoothness of the electronic equipment movement;
Execution unit, for when the motion state of the electronic equipment meets the preset condition, to step number plus 1;When When the motion state of the electronic equipment is unsatisfactory for the preset condition, without step counting.
Optionally, the acquiring unit is specially the sensor on the electronic equipment, for obtaining the electronic equipment The acceleration of movement and the corresponding time parameter of the acceleration.
Optionally, the computing unit is also used to: according to the acceleration and the corresponding time parameter of the acceleration, really Fixed two time parameters corresponding with two adjacent wave peak values of the acceleration, between described two time parameters Time difference is as the period of motion;Judge whether the period of motion is in preset period zones.
Optionally, the computing unit is also used to: according to the acceleration and the corresponding time parameter of the acceleration, really Two interval crest values of the fixed acceleration, using the negative of the absolute value of the difference of described two interval crest values described in Kinematic similarity feature;Wherein, 1 acceleration wave peak value is spaced between described two interval crest values;Judge the movement phase Whether it is greater than preset similarity threshold like property feature.
Optionally, the computing unit is also used to: according to the acceleration and the corresponding time parameter of the acceleration, really Determine the variance of the acceleration in preset time period;According to the variance and preset continuity threshold value, made using Boolean variable For the motion continuity feature;Judge whether the Boolean variable is true.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
Method and apparatus provided by the embodiments of the present application, it is contemplated that walking or the existing periodical, similitude of running and company The feature of continuous property, it is only all to movement is met according to the kinematic parameter of electronic equipment and the corresponding time parameter of the kinematic parameter In phase, kinematic similarity and motion continuity one or more features motion state carry out step counting, will be unsatisfactory for the period of motion, The motion state of one or more features is excluded as wrong ambulatory status in kinematic similarity and motion continuity, is effectively reduced Excessive step counting problem, improves the accuracy of step counting.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only the embodiment of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other Attached drawing.
Fig. 1 is the flow chart of step-recording method in the embodiment of the present application;
Fig. 2 is the flow chart of step number calculated examples in the embodiment of the present application;
Fig. 3 is the structure chart of electronic equipment in the embodiment of the present application.
Specific embodiment
The embodiment of the present application solves step counting side in the prior art by providing a kind of step-recording method and electronic equipment Method, due to the considerations of lacking to wrong ambulatory status, the technical issues of caused excessive counting.It realizes and reduces excessive step counting, Improve the technical effect of step counting accuracy.
In order to solve the above technical problems, the general thought that the embodiment of the present application provides technical solution is as follows:
The application provides a kind of step-recording method, and the method is applied in electronic equipment, which comprises
Obtain the kinematic parameter and the corresponding time parameter of the kinematic parameter of the electronic equipment;
According to the kinematic parameter and the time parameter, it is default to judge whether the motion state of the electronic equipment meets Condition;The motion state includes the combination of one or more of: the period of motion, kinematic similarity feature and motion continuity Feature;Wherein, the kinematic similarity feature is used to characterize the repetition degree of the electronic equipment movement;The motion continuity Feature is used to characterize the smoothness of the electronic equipment movement;
When the motion state of the electronic equipment meets the preset condition, to step number plus 1 and store;
When the motion state of the electronic equipment is unsatisfactory for the preset condition, without step counting.
Method and apparatus provided by the embodiments of the present application, it is contemplated that walking or the existing periodical, similitude of running and company The feature of continuous property, it is only all to movement is met according to the kinematic parameter of electronic equipment and the corresponding time parameter of the kinematic parameter In phase, kinematic similarity and motion continuity one or more features motion state carry out step counting, will be unsatisfactory for the period of motion, The motion state of one or more features is excluded as wrong ambulatory status in kinematic similarity and motion continuity, is effectively reduced Excessive step counting problem, improves the accuracy of step counting.
In order to better understand the above technical scheme, being carried out below in conjunction with specific embodiment to above-mentioned technical proposal It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical scheme Illustrate, rather than the restriction to technical scheme, in the absence of conflict, in the embodiment of the present application and embodiment Technical characteristic can be combined with each other.
Embodiment one
In the present embodiment, a kind of step-recording method is provided, referring to FIG. 1, Fig. 1 is step-recording method in the embodiment of the present application Flow chart, the method be applied to electronic equipment in, as shown in Figure 1, which comprises
Step S101 obtains the kinematic parameter and the corresponding time parameter of the kinematic parameter of the electronic equipment;
Step S102 judges that the motion state of the electronic equipment is according to the kinematic parameter and the time parameter It is no to meet preset condition;The motion state includes the combination of one or more of: the period of motion, kinematic similarity feature and Motion continuity feature;Wherein, the kinematic similarity feature is used to characterize the repetition degree of the electronic equipment movement;It is described Motion continuity feature is used to characterize the smoothness of the electronic equipment movement;
Step S103 to step number plus 1 and is stored when the motion state of the electronic equipment meets the preset condition;
Step S104, when the motion state of the electronic equipment is unsatisfactory for the preset condition, without step counting.
In the specific implementation process, the electronic equipment can be smart phone, be also possible to smartwatch, can also be The users such as motion bracelet can will not enumerate herein with portable equipment.
It should be noted that according to previous step counting data, it can be found that when user is hand held by mobile phone, is placed on pocket In or in other posture walking processes, there are some stable, identifiable features, such as periodically, similitude or continuous Property.By making full use of these features, it will be able to remove the interference of wrong ambulatory status, and then obtain more accurate step number.
In the following, describing in detail in conjunction with Fig. 1 to step-recording method provided by the present application:
Firstly, executing step S101, kinematic parameter and the kinematic parameter corresponding time of the electronic equipment are obtained Parameter.
In the embodiment of the present application, the electronic equipment can be the sensor by being arranged on the electronic equipment come Obtain the kinematic parameter and the time parameter of electronic equipment.The sensor can be accelerometer, magnetometer, gyro Instrument, barometer or optical sensor etc., this is not restricted.
In the specific implementation process, the kinematic parameter can be the acceleration or speed of the electronic equipment movement, This is with no restriction.
Further, according to the kinematic parameter and the time parameter, the song between the kinematic parameter delay can be obtained Line, in order to subsequent calculating or judgement.
In the specific implementation process, in kinematic parameter and the kinematic parameter corresponding time for obtaining the electronic equipment After parameter, the kinematic parameter and the kinematic parameter that can also be obtained sensor according to specific time interval or hits The data such as corresponding time parameter are divided into different windows, in order to which electronic equipment is as unit of each window, to judge to be It is no that step counting is carried out to each window.
The electronic equipment is judged according to the kinematic parameter and the time parameter next, executing step S102 Whether motion state meets preset condition;The motion state includes the combination of one or more of: the period of motion, movement phase Like property feature and motion continuity feature;Wherein, the kinematic similarity feature is used to characterize the weight of the electronic equipment movement Multiple degree;The motion continuity feature is used to characterize the smoothness of the electronic equipment movement;
Specifically, judge whether the motion state of the electronic equipment meets preset condition, can be and judge the electricity Whether the period of motion of sub- equipment moving meets preset condition, is also possible to judge the kinematic similarity feature of the electronic equipment Whether meet preset condition, can also be and judge whether the motion continuity feature of the electronic equipment meets preset condition.When So, it can also be and any two in the period of motion, kinematic similarity feature and motion continuity feature required to meet default item Part just carries out step counting.
Further, in order to exclude the step counting to wrong ambulatory status to greatest extent, the period of motion, movement phase can be required Being all satisfied preset condition like property feature and motion continuity feature just can be carried out step counting.
Three kinds of period of motion, kinematic similarity feature and motion continuity feature motion states are said respectively below It is bright:
The first, the period of motion.
Specifically, it is contemplated that when user's walking, the reading of the sensor on electronic equipment often have repeatability and Periodic regularity.Due to user be during walking or running with a kind of relatively-stationary speed, movement (such as Walk, run, go upstairs, go downstairs) periodicity be also relatively-stationary.However, when user is in the state of remaining stationary, When the operation such as carrying out input text, make a phone call, play game using electronic equipment, it frequently can lead to this periodicity and change, Get accidental kinematic parameter.I.e. if the range of walking period is limited to a specific value, so that it may in certain journey The problem of this step number mistake of statistics is reduced on degree.
It in the embodiment of the present application, can be speed reading by this period definition when the kinematic parameter is speed Time difference between several two adjacent peaks;It can be to add by this period definition when the kinematic parameter is acceleration Time difference between two adjacent peaks of velocity readings.
By taking the kinematic parameter is acceleration as an example: it is default whether the motion state for judging the electronic equipment meets Condition specifically includes:
According to the acceleration and the corresponding time parameter of the acceleration, determining two adjacent waves with the acceleration Corresponding two time parameters of peak value, using the time difference between described two time parameters as the period of motion;
Judge whether the period of motion is in preset period zones.
Specifically, according to acceleration and the corresponding time parameter of the acceleration, the acceleration delay can be obtained Between the curve that changes, have wave crest and trough on the curve, the time difference that the period of motion is equal to two adjacent peaks be set, I.e.Wherein, TiIndicate the period of motion,WithRespectively indicate acceleration readings i+1 wave crest peaki+1With i-th of wave crest peakiCorresponding time when appearance.
Further, judge whether the motion state of the electronic equipment meets preset condition, i.e. judgment formula Ti∈[Tmin, Tmax] whether meet, wherein [Tmin,Tmax] it is the period zones;TminAnd TmaxRespectively based on experience value or test obtain Normal gait when the period minimum value and maximum value.
Second, kinematic similarity feature.
Specifically, it is contemplated that when pedestrian walks naturally or runs, the motion state of two steps is very similar.Cause This can measure the wave crest distance sim between two sensor reading windows according to the similitude of this motor patterni=-| | peakacc(i+2)-peakacc(i) | |, with simiAs the kinematic similarity feature, wherein peakacc(i+2) and peakacc (i) two adjacent motion parameter readings crest values of left foot or right crus of diaphragm are respectively indicated, specifically, it is assumed that i-th of wave crest is a left side When foot is taken a step, then i+1 wave crest is taken a step for right crus of diaphragm, and the i-th+2 wave crests are taken a step again for left foot, due to needing to exclude left and right foot Using the acceleration value of same foot when taking a step to be accustomed to difference, therefore calculating similitude, so with the i-th+2 wave crests and i-th of wave The quantity difference at peak measures wave crest distance simi
By taking the kinematic parameter is acceleration as an example: it is default whether the motion state for judging the electronic equipment meets Condition specifically includes:
According to the acceleration and the corresponding time parameter of the acceleration, two interval wave crests of the acceleration are determined Value, using the negative of the absolute value of the difference of described two interval crest values as the kinematic similarity feature;Wherein, described two 1 acceleration wave peak value is spaced between a interval crest value;
Judge whether the kinematic similarity feature is greater than preset similarity threshold.
At this point, peakacc(i+2) and peakacc(i) two adjacent acceleration wave peak values of left foot or right crus of diaphragm are respectively indicated.
Further, it is contemplated that can be found that the corresponding sensor reading of left foot by comparing the sensor reading of same foot Slightly some differences between right crus of diaphragm.The rule successively decreased is presented with the distance between two wave crests in similarity.If distance is got over Closely, then similitude is higher.In order to avoid the similitude of stationary state becomes very high, by the kinematic similarity feature simiAmendment Are as follows:
Wherein, (1) is stationary state, and (2) are other states in addition to stationary state.
Further, whether the motion state for judging the electronic equipment meets preset condition, i.e. judgment formula simi> δsimWhether meet, wherein δsimFor according to empirical value or the preset similarity threshold of test.
The third, motion continuity feature.
Specifically, it is contemplated that user during walking or running will not sudden change motion state, and move State can continue for some time, thus, the motion state of user is usually smoother and continuous.However, when user keeps Stationary state using mobile phone input text, make a phone call, watch movie, play game etc. to operate when, fortune that sensor reading is reflected Dynamic state is discontinuous.This feature be can use to remove some type of wrong ambulatory status.
In the specific implementation process, it can use Boolean CiCarry out the continuity of measure user state, that is, the fortune is set Dynamic continuity Characteristics are Ci, wherein CiIndicate each acceleration in the adjacent N+1 window for the kinematic parameter that sensor obtains Variance be greater than single window internal variance threshold value δvarThe sum of number whether be more than to control successional threshold value M.If number it Be more than or equal to M, then it represents that in normal continuous ambulatory status, otherwise indicate wrong ambulatory status., i.e.,
Ci=sum (var (acci-N+1:i+1) > δvar) >=M? 1:0
Wherein, N is window number, and M is for controlling successional threshold value, δvarFor the variance of kinematic parameter in single window Threshold value, N, M and δvarValue can by test or it is empirically determined.If meeting condition var (acci) > δvar, then table Show that current ambulatory status is normal ambulatory status.In this case the influence of stationary state can be removed.
By taking the kinematic parameter is acceleration as an example: it is default whether the motion state for judging the electronic equipment meets Condition specifically includes:
According to the acceleration and the corresponding time parameter of the acceleration, the acceleration in preset time period is determined Variance;
According to the variance and preset continuity threshold value, using Boolean variable as the motion continuity feature;
Judge whether the Boolean variable is very, that is, to judge whether the Boolean variable is equal to 1.
Further, whether the motion state for judging the electronic equipment meets preset condition, i.e. judgment formula Ci= Whether=1 meet.
When the Boolean variable is true, indicate that movement is continuous;Otherwise, indicate that movement is discontinuous.
Subsequently, it according to the judging result of step S102, determines and executes step S103, when the movement shape of the electronic equipment When state meets the preset condition, to step number plus 1 and store;Or step S104 is executed, when the motion state of the electronic equipment When being unsatisfactory for the preset condition, without step counting.
Help to understand the complete step counting process of the application by taking the kinematic parameter is acceleration as an example below:
Firstly, the acceleration information that sensor acquires is divided into according to specific time interval or hits different Window.
Then, user movement type is identified.User movement patterns affect sensor reading, and then influence step number calculation method Accuracy.For example, the reading when user's running when mobile phone accelerometer read-around ratio walking is big.Divided by decision tree Class identifies user movement type, can be carried out efficiently more accurate classification of type.Since acceleration readings have differences, This classifier cannot identify the ambulatory status of mistake.But three kinds of delimiting period, similitude and continuity walkings can be passed through Feature eliminates wrong ambulatory status particular constraints are arranged.The output of this step is that user movement type and correlation time stamp add Velocity readings.
Next, calculating walking feature.In order to calculate walking feature, it is necessary first to calculate some essential characteristics, such as accelerate The variance of the wave crest of degree, acceleration, and then calculate these three walking features.It is public by utilizing according to the type of sports being calculated Formula Ci=sum (var (acci-N+1:i+1) > δvar) >=M? 1:0 calculates motion continuity feature.Likewise, being utilized respectively formulaWithIt calculates the period of motion and kinematic similarity is special Sign.Since in calculating, these three are characterized in needing using a series of acceleration readings and type of sports as input, and not only It is the data of a single window, it is therefore desirable to store a certain number of windows that continue using caching and read.Particularly, it needs Using two adjacent window apertures there are the acceleration readings of timestamp to calculate the period of motion and kinematic similarity feature, utilizes N+1 A motion state calculates continuity Characteristics.
Finally, referring to FIG. 2, calculating step number in conjunction with walking feature.It first carries out D1 and judges CiWhether==1 meets.Such as Fruit Ci==1 is unsatisfactory for, then repeatedly D1, until Ci==1 meets.If Ci==1 meets, then continues to execute D2, judge simisimAnd Ti∈[Tmin,Tmax] whether meet.If simisimAnd Ti∈[Tmin,Tmax] meet, then step number S adds 1, then executes D3 judges whether also to have data to judge;Otherwise it returns and judges D1.If when in D3 without more data, exporting total step number Steps;Otherwise D1 is returned to, is repeated the above steps.
Based on the same inventive concept, present invention also provides the corresponding electronic equipment of method in embodiment one, it is detailed in implementation Example two.
Embodiment two
In the present embodiment, a kind of electronic equipment is provided, referring to FIG. 3, Fig. 3 is electronic equipment in the embodiment of the present application Structure chart, as shown in figure 3, the electronic equipment includes:
Acquiring unit 301, the corresponding time ginseng of kinematic parameter and the kinematic parameter for obtaining the electronic equipment Number;
Computing unit 302, for judging the movement of the electronic equipment according to the kinematic parameter and the time parameter Whether state meets preset condition;The motion state includes the combination of one or more of: the period of motion, kinematic similarity Feature and motion continuity feature;Wherein, the kinematic similarity feature is used to characterize the repetition journey of the electronic equipment movement Degree;The motion continuity feature is used to characterize the smoothness of the electronic equipment movement;
Execution unit 303, for when the motion state of the electronic equipment meets the preset condition, to step number plus 1; When the motion state of the electronic equipment is unsatisfactory for the preset condition, without step counting.
In the embodiment of the present application, the acquiring unit 301 is specially the sensor on the electronic equipment, for obtaining The acceleration and the corresponding time parameter of the acceleration of the electronic equipment movement.
In the embodiment of the present application, the computing unit 302 is also used to:
According to the acceleration and the corresponding time parameter of the acceleration, determining two adjacent waves with the acceleration Corresponding two time parameters of peak value, using the time difference between described two time parameters as the period of motion;
Judge whether the period of motion is in preset period zones.
In the embodiment of the present application, the computing unit 302 is also used to:
According to the acceleration and the corresponding time parameter of the acceleration, two interval wave crests of the acceleration are determined Value, using the negative of the absolute value of the difference of described two interval crest values as the kinematic similarity feature;Wherein, described two 1 acceleration wave peak value is spaced between a interval crest value;
Judge whether the kinematic similarity feature is greater than preset similarity threshold.
In the embodiment of the present application, the computing unit 302 is also used to:
According to the acceleration and the corresponding time parameter of the acceleration, the acceleration in preset time period is determined Variance;
According to the variance and preset continuity threshold value, using Boolean variable as the motion continuity feature;
Judge whether the Boolean variable is very, that is, to judge whether the Boolean variable is equal to 1.
By the device that the embodiment of the present invention two is introduced, filled used by the method to implement the embodiment of the present invention one It sets, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand the specific structure of the device And deformation, so details are not described herein.Device used by the method for all embodiment of the present invention one belongs to the present invention and is intended to The range of protection.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
Method and apparatus provided by the embodiments of the present application, it is contemplated that walking or the existing periodical, similitude of running and company The feature of continuous property, it is only all to movement is met according to the kinematic parameter of electronic equipment and the corresponding time parameter of the kinematic parameter In phase, kinematic similarity and motion continuity one or more features motion state carry out step counting, will be unsatisfactory for the period of motion, The motion state of one or more features is excluded as wrong ambulatory status in kinematic similarity and motion continuity, is effectively reduced Excessive step counting problem, improves the accuracy of step counting.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (6)

1. a kind of step-recording method, which is characterized in that the method is applied in electronic equipment, which comprises
Obtain the kinematic parameter and the corresponding time parameter of the kinematic parameter of the electronic equipment;The kinematic parameter includes adding Speed;
According to the kinematic parameter and the time parameter, judge whether the motion state of the electronic equipment meets default item Part;The motion state includes the combination of one or more of: the period of motion, kinematic similarity feature and motion continuity are special Sign;Wherein, the kinematic similarity feature is used to characterize the repetition degree of the electronic equipment movement;The motion continuity is special It takes over for use in the smoothness for characterizing the electronic equipment movement;
When the motion state of the electronic equipment meets the preset condition, to step number plus 1 and store;Wherein, described in judgement Whether the motion state of electronic equipment meets preset condition, specifically includes: corresponding according to the acceleration and the acceleration Time parameter determines two interval crest values of the acceleration, with the absolute value of the difference of described two interval crest values Negative is as the kinematic similarity feature;Wherein, 1 acceleration wave peak value is spaced between described two interval crest values;Sentence Whether the kinematic similarity feature of breaking is greater than preset similarity threshold;
When the motion state of the electronic equipment is unsatisfactory for the preset condition, without step counting.
2. the method as described in claim 1, which is characterized in that the kinematic parameter for obtaining the electronic equipment and the fortune The dynamic corresponding time parameter of parameter, specifically:
By the sensor on the electronic equipment, acceleration and the acceleration for obtaining the electronic equipment movement are corresponding Time parameter.
3. method according to claim 2, which is characterized in that whether the motion state for judging the electronic equipment meets Preset condition specifically includes:
According to the acceleration and the corresponding time parameter of the acceleration, determining two adjacent wave peak values with the acceleration Corresponding two time parameters, using the time difference between described two time parameters as the period of motion;
Judge whether the period of motion is in preset period zones.
4. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Acquiring unit, for obtaining the kinematic parameter and the corresponding time parameter of the kinematic parameter of the electronic equipment;It is described Kinematic parameter includes acceleration;
Computing unit, for judging that the motion state of the electronic equipment is according to the kinematic parameter and the time parameter It is no to meet preset condition;The motion state includes the combination of one or more of: the period of motion, kinematic similarity feature and Motion continuity feature;Wherein, the kinematic similarity feature is used to characterize the repetition degree of the electronic equipment movement;It is described Motion continuity feature is used to characterize the smoothness of the electronic equipment movement;
Execution unit, for when the motion state of the electronic equipment meets the preset condition, to step number plus 1;When described When the motion state of electronic equipment is unsatisfactory for the preset condition, without step counting, wherein judge the movement of the electronic equipment Whether state meets preset condition, specifically includes: according to the acceleration and the corresponding time parameter of the acceleration, determining institute Two interval crest values for stating acceleration, using the negative of the absolute value of the difference of described two interval crest values as the movement Similarity feature;Wherein, 1 acceleration wave peak value is spaced between described two interval crest values;Judge the kinematic similarity Whether feature is greater than preset similarity threshold.
5. electronic equipment as claimed in claim 4, which is characterized in that the acquiring unit is specially on the electronic equipment Sensor, for obtaining the acceleration and the corresponding time parameter of the acceleration of the electronic equipment movement.
6. electronic equipment as claimed in claim 5, which is characterized in that the computing unit is also used to:
According to the acceleration and the corresponding time parameter of the acceleration, determining two adjacent wave peak values with the acceleration Corresponding two time parameters, using the time difference between described two time parameters as the period of motion;
Judge whether the period of motion is in preset period zones.
CN201610325891.7A 2016-05-17 2016-05-17 A kind of step-recording method and electronic equipment Active CN106017502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610325891.7A CN106017502B (en) 2016-05-17 2016-05-17 A kind of step-recording method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610325891.7A CN106017502B (en) 2016-05-17 2016-05-17 A kind of step-recording method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106017502A CN106017502A (en) 2016-10-12
CN106017502B true CN106017502B (en) 2019-02-26

Family

ID=57097147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610325891.7A Active CN106017502B (en) 2016-05-17 2016-05-17 A kind of step-recording method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106017502B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106108913B (en) * 2016-07-25 2019-05-07 北京顺源开华科技有限公司 Error count walks removing method, device and wearable device
CN106895849B (en) * 2017-02-23 2019-10-11 上海与德信息技术有限公司 A kind of accurate method of counting and device of pedometer
CN107167159B (en) * 2017-04-26 2020-06-23 青岛海信移动通信技术股份有限公司 Mobile terminal step counting method and mobile terminal
CN109374014B (en) * 2018-12-14 2020-09-11 歌尔科技有限公司 Step counting method, system and mobile device
CN111442785B (en) * 2020-03-27 2021-01-26 广东工业大学 Step counting method, device and equipment based on inertia and storage medium
CN112113581B (en) * 2020-10-26 2024-03-08 平安科技(深圳)有限公司 Abnormal step counting identification method, step counting method, device, equipment and medium
CN114125129B (en) * 2021-11-03 2023-08-22 方正株式(武汉)科技开发有限公司 Step number counting method and device based on mobile phone, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101444427A (en) * 2007-11-30 2009-06-03 株式会社百利达 Body movement detecting apparatus
CN102265295A (en) * 2008-12-26 2011-11-30 欧姆龙健康医疗事业株式会社 Number-of-steps detection system, number-of-steps detection method, and active mass meter
CN102297701A (en) * 2010-06-22 2011-12-28 雅马哈株式会社 Pedometer
CN103411607A (en) * 2013-08-30 2013-11-27 华中师范大学 Method for pedestrian step size estimation and dead reckoning
CN104075730A (en) * 2014-07-02 2014-10-01 电子科技大学 Gait counting method and gait counter
CN104121925A (en) * 2014-08-08 2014-10-29 沈迪 Step counting method and device
CN104406604A (en) * 2014-11-21 2015-03-11 中国科学院计算技术研究所 Step counting method
CN104713568A (en) * 2015-03-31 2015-06-17 上海帝仪科技有限公司 Gait recognition method and corresponding pedometer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101444427A (en) * 2007-11-30 2009-06-03 株式会社百利达 Body movement detecting apparatus
CN102265295A (en) * 2008-12-26 2011-11-30 欧姆龙健康医疗事业株式会社 Number-of-steps detection system, number-of-steps detection method, and active mass meter
CN102297701A (en) * 2010-06-22 2011-12-28 雅马哈株式会社 Pedometer
CN103411607A (en) * 2013-08-30 2013-11-27 华中师范大学 Method for pedestrian step size estimation and dead reckoning
CN104075730A (en) * 2014-07-02 2014-10-01 电子科技大学 Gait counting method and gait counter
CN104121925A (en) * 2014-08-08 2014-10-29 沈迪 Step counting method and device
CN104406604A (en) * 2014-11-21 2015-03-11 中国科学院计算技术研究所 Step counting method
CN104713568A (en) * 2015-03-31 2015-06-17 上海帝仪科技有限公司 Gait recognition method and corresponding pedometer

Also Published As

Publication number Publication date
CN106017502A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106017502B (en) A kind of step-recording method and electronic equipment
CN106289309B (en) Step-recording method and device based on 3-axis acceleration sensor
Lu et al. The jigsaw continuous sensing engine for mobile phone applications
US8930300B2 (en) Systems, methods, and apparatuses for classifying user activity using temporal combining in a mobile device
US7797106B2 (en) System and method for adjusting step detection based on motion information
Cho et al. Design and implementation of practical step detection algorithm for wrist-worn devices
De La Concepción et al. Discrete techniques applied to low-energy mobile human activity recognition. A new approach
CN103892840A (en) Intelligent wearing device and method for extracting human body motion features
CN105996984A (en) Method using wearable electronic device to detect sedentary time period
Lu et al. A Step Length Estimation Model of Coefficient Self‐Determined Based on Peak‐Valley Detection
Agac et al. Context-aware and dynamically adaptable activity recognition with smart watches: A case study on smoking
Yang et al. Physical activity recognition with mobile phones: challenges, methods, and applications
Cola et al. Continuous authentication through gait analysis on a wrist-worn device
Han et al. The Case for Onloading Continuous {High-Datarate} Perception to the Phone
CN109582713A (en) A kind of recognition methods of motion state, device and terminal
Tootaghaj et al. High five: improving gesture recognition by embracing uncertainty
Niu et al. Pedestrian Dead Reckoning Based on Complex Motion Mode Recognition Using Hierarchical Classification
Zhang et al. [Retracted] Accurate Detection of Intelligent Running Posture Based on Artificial Intelligence Sensor
Qin et al. Real-time monitoring system of exercise status based on internet of health things using safety architecture model
Wei et al. Research on a novel strategy for automatic activity recognition using wearable device
Ge [Retracted] Intelligent Analysis and Evaluation Method of Athletics Running Data Based on Big Data Statistical Model
Taleb et al. EGO: Optimized sensor selection for multi-context aware applications with an ontology for recognition models
CN106073791B (en) Calorie computing method and device based on Intelligent bracelet
Faye et al. Toward a characterization of human activities using smart devices: A micro/macro approach
Sun et al. An intelligent optimization strategy based on deep reinforcement learning for step counting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant