CN109011397B - Push-up counting method and device based on wearable equipment - Google Patents

Push-up counting method and device based on wearable equipment Download PDF

Info

Publication number
CN109011397B
CN109011397B CN201810751054.XA CN201810751054A CN109011397B CN 109011397 B CN109011397 B CN 109011397B CN 201810751054 A CN201810751054 A CN 201810751054A CN 109011397 B CN109011397 B CN 109011397B
Authority
CN
China
Prior art keywords
acceleration
maximum
time
push
zero
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
CN201810751054.XA
Other languages
Chinese (zh)
Other versions
CN109011397A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201810751054.XA priority Critical patent/CN109011397B/en
Publication of CN109011397A publication Critical patent/CN109011397A/en
Application granted granted Critical
Publication of CN109011397B publication Critical patent/CN109011397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B23/00Exercising apparatus specially adapted for particular parts of the body
    • A63B23/035Exercising apparatus specially adapted for particular parts of the body for limbs, i.e. upper or lower limbs, e.g. simultaneously
    • A63B23/12Exercising apparatus specially adapted for particular parts of the body for limbs, i.e. upper or lower limbs, e.g. simultaneously for upper limbs or related muscles, e.g. chest, upper back or shoulder muscles
    • A63B23/1209Involving a bending of elbow and shoulder joints simultaneously
    • A63B23/1236Push-ups in horizontal position, i.e. eccentric movement
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0619Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
    • A63B71/0669Score-keepers or score display devices
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/40Acceleration

Abstract

The invention discloses a push-up technical method and a device based on wearable equipment, wherein the method comprises the following steps: entering a push-up counting mode, and periodically acquiring acceleration data and ambient light data; and judging whether the change rule of the acceleration data and the change rule of the ambient light data have time correlation on the period, and if so, accumulating the push-up count once. According to the technical scheme, the information of acceleration change collected by the acceleration sensor and the ambient light change information caused by body position change (shielding) are simultaneously utilized, the push-up counting is carried out according to the correlation information of the acceleration change and the ambient light change in time, the misjudgment caused by the push-up counting only by utilizing the acceleration change information is avoided, and the push-up counting result is more accurate.

Description

Push-up counting method and device based on wearable equipment
Technical Field
The invention relates to the field of wearable equipment, in particular to a push-up technical method and a push-up technical device based on the wearable equipment.
Background
At present, wearable equipment focuses more and more on function integration and application of sensor information which can provide sensor information suitable for human body such as motion monitoring, posture recognition and sleep detection. Along with the emergence of a large number of sensors with low power consumption and high precision, and a series of pattern recognition and algorithm application oriented to independent specific scenes, special crowds and the like, a more flexible, accurate and specific motion recognition and statistical system can be established, and a more accurate data basis is provided for deeper human behavior data input (such as calorie calculation, diet guidance, health advice and the like).
General wearable equipment provides basic meter step function, and the function is some can different motion modes such as automatic identification walking, running, ride, but to the automatic identification of body-building action and count thereof always be a difficult point (for example automatic identification bench press, squat deeply, sit up etc.), especially like the motion form that the relative position of the body variation range is little such as push-up. Most of the existing solutions rely on an acceleration sensor in combination with a corresponding algorithm to implement the counting function of push-ups, as shown in fig. 1, fig. 1 is a flow chart of a conventional method for implementing push-up counting, as shown in fig. 1, the method includes the following steps:
step S11: entering a push-up counting mode, and selecting a corresponding application through a menu to click to enter or enter through other modes;
step S12: the processor periodically reads the measurement data of the acceleration sensor and calculates to obtain the vector acceleration;
step S13: presetting a change rule of the vector acceleration, wherein the change rule of the preset vector acceleration is as follows: the lowest point of the prone position has upward maximum acceleration, the highest point of the prone position has downward maximum acceleration, and the two points have acceleration change, namely the acceleration gradually changes from the upward maximum acceleration to the downward maximum acceleration or from the downward maximum acceleration to the upward maximum acceleration;
step S14: judging whether the change rule of the calculated vector acceleration is consistent with the preset change rule of the vector acceleration or not, if so, executing the step S15, and otherwise, executing the step S12;
step S15: the push-up count is incremented by 1.
However, the push-up movement amplitude is small, the movement acceleration change is small, and the change rule of the acceleration is possibly not obvious, namely the method easily causes the problems of misjudgment and low accuracy of the calculation result.
Disclosure of Invention
The invention provides a push-up technical method and a push-up technical device based on wearable equipment, which aim to solve or partially solve the problems.
According to one aspect of the invention, a push-up counting method based on a wearable device is provided, and is characterized in that the method comprises the following steps:
entering a push-up counting mode, and periodically acquiring acceleration data and ambient light data;
and judging whether the change rule of the acceleration data and the change rule of the environment light data have time correlation on a period, and if so, accumulating one push-up count.
Optionally, the determining whether the change rule of the acceleration data and the change rule of the ambient light data have a time correlation in a cycle includes:
obtaining vector acceleration according to the acceleration data, and obtaining ambient light intensity according to the ambient light data;
and for each push-up action, obtaining an action cycle according to the change rule of the vector acceleration and the change rule of the ambient light intensity, and judging whether the two action cycles have time correlation.
Optionally, for each push-up action, one action cycle obtained according to the change rule of the vector acceleration includes four stages: a phase of acceleration from maximum downward to zero, a phase of acceleration from zero to maximum upward, a phase of acceleration from maximum upward to zero, and a phase of acceleration from zero to maximum downward;
for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: a stage of gradually changing the light intensity from the maximum to the minimum and a stage of gradually changing the light intensity from the minimum to the maximum;
the stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
Optionally, the determining whether the two action periods have a time correlation includes:
attaching a time stamp to the acceleration data and a time stamp to the ambient light data;
for each push-up action, whether the two action periods have time correlation or not is judged according to the attached time stamp.
Optionally, the determining, for each push-up action, whether the two action periods have a time correlation according to the attached time stamp includes:
for each push-up action, acquiring a first time stamp corresponding to the initial time and a second time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero, and/or acquiring a second time stamp corresponding to the initial time and a third time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
and acquiring a fourth time stamp corresponding to the starting time and a fifth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the maximum to the minimum and/or acquiring a fifth time stamp corresponding to the starting time and a sixth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the minimum to the maximum for each push-up action according to the time stamps attached to the environment light data.
Presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
According to another aspect of the invention, there is provided a wearable device-based push-up counting apparatus, the apparatus comprising:
the acquisition module is used for entering a push-up counting mode and periodically acquiring acceleration data and ambient light data;
and the counting module is used for judging whether the change rule of the acceleration data and the change rule of the ambient light data have time correlation in a period, and accumulating one push-up counting if the change rule of the acceleration data and the change rule of the ambient light data have the time correlation.
Optionally, the counting module is specifically configured to:
obtaining vector acceleration according to the acceleration data, and obtaining ambient light intensity according to the ambient light data;
and for each push-up action, obtaining an action cycle according to the change rule of the vector acceleration and the change rule of the ambient light intensity, and judging whether the two action cycles have time correlation.
Optionally, for each push-up action, one action cycle obtained according to the change rule of the vector acceleration includes four stages: a phase of acceleration from maximum downward to zero, a phase of acceleration from zero to maximum upward, a phase of acceleration from maximum upward to zero, and a phase of acceleration from zero to maximum downward;
for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: a stage of gradually changing the light intensity from the maximum to the minimum and a stage of gradually changing the light intensity from the minimum to the maximum;
the stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
Optionally, the counting module is specifically configured to:
attaching a time stamp to the acceleration data and a time stamp to the ambient light data;
for each push-up action, whether the two action periods have time correlation or not is judged according to the attached time stamp.
Optionally, the counting module is specifically configured to:
for each push-up action, acquiring a first time stamp corresponding to the initial time and a second time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero, and/or acquiring a second time stamp corresponding to the initial time and a third time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
and acquiring a fourth time stamp corresponding to the starting time and a fifth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the maximum to the minimum and/or acquiring a fifth time stamp corresponding to the starting time and a sixth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the minimum to the maximum for each push-up action according to the time stamps attached to the environment light data.
Presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
The embodiment of the invention has the beneficial effects that: after entering a push-up counting mode, the invention periodically collects acceleration data and ambient light data; and judging whether the change rule of the acceleration data and the change rule of the ambient light data have time correlation on the period, and if so, accumulating the push-up count once. According to the technical scheme, the information of acceleration change collected by the acceleration sensor and the ambient light change information caused by body position change (shielding) are simultaneously utilized, the push-up counting is carried out according to the correlation information of the acceleration change and the ambient light change in time, the misjudgment caused by the push-up counting only by utilizing the acceleration change information is avoided, and the push-up counting result is more accurate.
Drawings
FIG. 1 is a flow chart of a conventional method for realizing push-up counting;
fig. 2 is a flowchart of a push-up counting method based on a wearable device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram showing the variation law of vector acceleration and ambient light intensity;
fig. 4 is a flowchart of another push-up counting method based on a wearable device according to an embodiment of the present invention;
fig. 5 is a schematic view of a push-up counting apparatus based on a wearable device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 2 is a flowchart of a push-up counting method based on a wearable device according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step S21: entering a push-up counting mode, and periodically acquiring acceleration data and ambient light data;
step S22: and judging whether the change rule of the acceleration data and the change rule of the ambient light data have time correlation on the period, and if so, accumulating the push-up count once.
The method shown in fig. 2 periodically collects acceleration data and ambient light data after entering a push-up counting mode; and judging whether the change rule of the acceleration data and the change rule of the ambient light data have time correlation on the period, and if so, accumulating the push-up count once. According to the method, the information of acceleration change acquired by the acceleration sensor and the ambient light change information caused by body position change (shielding) are simultaneously utilized, and the push-up counting is carried out according to the time correlation information of the acceleration change and the ambient light change, so that the misjudgment caused by the push-up counting only by utilizing the acceleration change information is avoided, and the push-up counting result is more accurate.
In one embodiment of the present invention, determining whether the change rule of the acceleration data and the change rule of the ambient light data have a time correlation in a cycle includes:
obtaining vector acceleration according to the acceleration data, and obtaining ambient light intensity according to the ambient light data;
for each push-up action, an action cycle is obtained according to the change rule of the vector acceleration and the change rule of the ambient light intensity, and whether the two action cycles have time correlation or not is judged.
Fig. 3 is a schematic diagram of the change rule of the vector acceleration and the ambient light intensity, in which a curve at A, B, C, D, E represents the change rule of the vector acceleration, and a curve at F, G, H represents the change rule of the ambient light intensity. As shown in fig. 3, for each push-up action, one action cycle obtained according to the change rule of the vector acceleration includes four stages: a stage of acceleration from the maximum downward to zero, namely a stage represented by a curve between points A and B, a stage of acceleration from zero to the maximum upward, namely a stage represented by a curve between points B and C, a stage of acceleration from the maximum upward to zero, namely a stage represented by a curve between points C and D, and a stage of acceleration from zero to the maximum downward, namely a stage represented by a curve between points D and E;
for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: the light intensity gradually changes from the minimum to the maximum, i.e., the phase represented by the curve between the points F and G, and the light intensity gradually changes from the maximum to the minimum, i.e., the phase represented by the curve between the points G and H.
The stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
In one embodiment of the present invention, determining whether the two motion cycles have a temporal correlation comprises:
attaching a time stamp to the acceleration data and a time stamp to the ambient light data;
for each push-up action, whether the two action periods have time correlation or not is judged according to the attached time stamp.
Wherein determining whether the two action cycles have a temporal correlation based on the appended timestamp comprises: for each push-up action, acquiring a first time stamp corresponding to the starting time and a second time stamp corresponding to the ending time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero and/or acquiring a second time stamp corresponding to the starting time and a third time stamp corresponding to the ending time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
and acquiring a fourth time stamp corresponding to the starting time and a fifth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the maximum to the minimum and/or acquiring a fifth time stamp corresponding to the starting time and a sixth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the minimum to the maximum for each push-up action according to the time stamps attached to the environment light data.
In fig. 3, the first timestamp corresponds to the time of point a, the second timestamp corresponds to the time of point C, the third timestamp corresponds to the time of point E, the fourth timestamp corresponds to the time of point F, the fifth timestamp corresponds to the time of point G, and the sixth timestamp corresponds to the time of point H.
And presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
Relationships employed and/or described herein, such as: and if the time difference between the first timestamp and the fourth timestamp is within an error allowable range, or if the time difference between the second timestamp and the fifth timestamp is within an error allowable range, or if the time difference between the third timestamp and the sixth timestamp is within an error allowable range, judging that the two action cycles have time correlation. The more time stamps of both correspond within one action period, the more accurate the result.
Fig. 4 is a flowchart of another push-up counting method based on a wearable device according to an embodiment of the present invention, and as shown in fig. 4, the method includes the following steps:
step S41: entering a push-up counting mode; selecting this mode may be done by clicking on the sport application APP selecting the push-up through a menu page, or by other means, such as a shortcut key. In addition, when the push-up counting mode is selected, indoor or outdoor push-up movement can be selected according to actual conditions.
Step S42: periodically acquiring acceleration data and ambient light data; data is periodically collected by the acceleration sensor and the ambient light sensor provided in the wearable device, where "period" refers to a fixed short period (which we may refer to as a sampling period), for example, a sampling period is 10ms, and a corresponding sampling frequency is 100 Hz.
Step S43: adding a timestamp to the acquired acceleration data and calculating to obtain a vector acceleration; and attaching a time stamp to the collected ambient light data and calculating to obtain the ambient light intensity. It should be noted that the time stamp may be appended by the acceleration sensor when acquiring the acceleration data and the ambient light sensor when acquiring the ambient light data, or may be appended by the motion application APP when reading the acceleration data from the acceleration sensor and the ambient light data from the ambient light sensor.
Step S44: determining a change rule of a vector acceleration generated by a complete push-up action (namely an action period), wherein the change rule of the vector acceleration is preset as follows: the action cycles of the action from maximum downward to zero, from zero to maximum upward, from maximum upward to zero and from zero to maximum downward are repeatedly carried out; determining the change rule of the ambient light intensity generated by a complete push-up action (namely an action period), wherein the change rule of the ambient light intensity is preset as follows: the continuous and repeated experience is that the action period changes from minimum to maximum and from maximum to minimum gradually.
Step S45: and judging whether the calculated vector acceleration meets the change rule of the preset vector acceleration or not, judging whether the calculated ambient light intensity meets the change rule of the preset ambient light intensity or not, and when the calculated vector acceleration meets the change rule of the vector acceleration and the calculated ambient light intensity meets the change rule of the ambient light intensity, executing the step S46, otherwise, executing the step S42.
Step S46: for each push-up action, whether the two action periods have time correlation is judged, if so, the step S47 is executed, otherwise, the step S42 is executed.
With reference to fig. 3, the step S46 may specifically be: for each push-up action, one action cycle obtained according to the change rule of the vector acceleration comprises four stages: a stage of acceleration from the maximum downward to zero, namely a stage represented by a curve between points A and B, a stage of acceleration from zero to the maximum upward, namely a stage represented by a curve between points B and C, a stage of acceleration from the maximum upward to zero, namely a stage represented by a curve between points C and D, and a stage of acceleration from zero to the maximum downward, namely a stage represented by a curve between points D and E; for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: the light intensity gradually changes from the minimum to the maximum, i.e., the phase represented by the curve between the points F and G, and the light intensity gradually changes from the maximum to the minimum, i.e., the phase represented by the curve between the points G and H.
The stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
For each push-up action, acquiring a first time stamp corresponding to the starting time and a second time stamp corresponding to the ending time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero and/or acquiring a second time stamp corresponding to the starting time and a third time stamp corresponding to the ending time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
and acquiring a fourth time stamp corresponding to the starting time and a fifth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the maximum to the minimum and/or acquiring a fifth time stamp corresponding to the starting time and a sixth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the minimum to the maximum for each push-up action according to the time stamps attached to the environment light data.
And presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
Relationships employed and/or described herein, such as: and if the time difference between the first timestamp and the fourth timestamp is within an error allowable range, or if the time difference between the second timestamp and the fifth timestamp is within an error allowable range, or if the time difference between the third timestamp and the sixth timestamp is within an error allowable range, judging that the two action cycles have time correlation. The more time stamps of both correspond within one action period, the more accurate the result.
Step S37: the push-up count is incremented by 1.
In one embodiment of the invention, a low power consumption acceleration sensor is employed in a wearable device. The wearable device has the characteristics of low power consumption and high detection precision, an ambient light intensity sensor adopted in the wearable device can be TSL2584 series of AMS and OPT300X series of TI, the wearable device has the characteristics of low power consumption and high detection precision, and partial models can adaptively adjust the measuring range according to the ambient light intensity so as to improve the resolution.
In one embodiment of the invention, the wearable device may be a smart bracelet, a smart watch, or the like.
The invention can calculate the number of push-ups according to the data input by the acceleration sensor and the ambient light sensor, and is characterized in that the training and correction can be carried out aiming at the characteristic information of the individual user and the environment, the accuracy of high matching is gradually achieved, the behavior and activity response of various scenes can be defined, for example, the push-ups can be carried out in a gymnasium and at home, and the indoor light conditions of the two scenes are different.
Fig. 5 is a schematic diagram of a push-up counting apparatus based on a wearable device according to an embodiment of the present invention, and as shown in fig. 5, the apparatus 50 includes:
the acquisition module 501 is used for entering a push-up counting mode and periodically acquiring acceleration data and ambient light data;
the counting module 502 is configured to determine whether a change rule of the acceleration data and a change rule of the ambient light data have a time correlation in a cycle, and if so, accumulate a push-up count.
In an embodiment of the present invention, the counting module 502 is specifically configured to:
obtaining vector acceleration according to the acceleration data, and obtaining ambient light intensity according to the ambient light data;
for each push-up action, an action cycle is obtained according to the change rule of the vector acceleration and the change rule of the ambient light intensity, and whether the two action cycles have time correlation or not is judged.
Wherein, for each push-up action, one action cycle obtained according to the change rule of the vector acceleration comprises four stages: a phase of acceleration from maximum downward to zero, a phase of acceleration from zero to maximum upward, a phase of acceleration from maximum upward to zero, and a phase of acceleration from zero to maximum downward;
for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: a stage of gradually changing the light intensity from the maximum to the minimum and a stage of gradually changing the light intensity from the minimum to the maximum;
the stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
In an embodiment of the present invention, the counting module 502 is specifically configured to:
attaching a time stamp to the acceleration data and a time stamp to the ambient light data;
for each push-up action, judging whether the two action periods have time correlation according to the attached time stamp, and concretely, the following steps are carried out:
for each push-up action, acquiring a first time stamp corresponding to the starting time and a second time stamp corresponding to the ending time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero and/or acquiring a second time stamp corresponding to the starting time and a third time stamp corresponding to the ending time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
and acquiring a fourth time stamp corresponding to the starting time and a fifth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the maximum to the minimum and/or acquiring a fifth time stamp corresponding to the starting time and a sixth time stamp corresponding to the ending time of the stage in which the light intensity gradually changes from the minimum to the maximum for each push-up action according to the time stamps attached to the environment light data.
And presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
In summary, after entering the push-up counting mode, the invention periodically collects acceleration data and ambient light data; and judging whether the change rule of the acceleration data and the change rule of the ambient light data have time correlation on the period, and if so, accumulating the push-up count once. According to the technical scheme, the information of acceleration change collected by the acceleration sensor and the ambient light change information caused by body position change (shielding) are simultaneously utilized, the push-up counting is carried out according to the correlation information of the acceleration change and the ambient light change in time, the misjudgment caused by the push-up counting only by utilizing the acceleration change information is avoided, and the push-up counting result is more accurate.
While the foregoing is directed to embodiments of the present invention, other modifications and variations of the present invention may be devised by those skilled in the art in light of the above teachings. It should be understood by those skilled in the art that the foregoing detailed description is for the purpose of illustrating the invention rather than the foregoing detailed description, and that the scope of the invention is defined by the claims.

Claims (8)

1. A push-up counting method based on a wearable device is characterized by comprising the following steps:
entering a push-up counting mode, and periodically acquiring acceleration data and ambient light data;
judging whether the change rule of the acceleration data and the change rule of the environment light data have time correlation in a period, and if so, accumulating one push-up count;
the judging whether the change rule of the acceleration data and the change rule of the environment light data have time correlation on the cycle comprises the following steps:
obtaining vector acceleration according to the acceleration data, and obtaining ambient light intensity according to the ambient light data;
and for each push-up action, obtaining an action cycle according to the change rule of the vector acceleration and the change rule of the ambient light intensity, and judging whether the two action cycles have time correlation.
2. The method according to claim 1, wherein one motion cycle, obtained from the law of variation of the vector acceleration, comprises four phases for each push-up motion: a phase of acceleration from maximum downward to zero, a phase of acceleration from zero to maximum upward, a phase of acceleration from maximum upward to zero, and a phase of acceleration from zero to maximum downward;
for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: a stage of gradually changing the light intensity from the maximum to the minimum and a stage of gradually changing the light intensity from the minimum to the maximum;
the stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
3. The method of claim 2, wherein said determining whether the two activity periods have a temporal correlation comprises:
attaching a time stamp to the acceleration data and a time stamp to the ambient light data;
for each push-up action, whether the two action periods have time correlation or not is judged according to the attached time stamp.
4. The method of claim 3, wherein said determining from the appended time stamp, for each push-up action, whether the two action periods have a time correlation comprises:
for each push-up action, acquiring a first time stamp corresponding to the initial time and a second time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero, and/or acquiring a second time stamp corresponding to the initial time and a third time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
for each push-up action, acquiring a fourth timestamp corresponding to the starting time and a fifth timestamp corresponding to the ending time of the stage when the light intensity gradually changes from the maximum value to the minimum value according to the timestamp attached to the environment light data, and/or acquiring a fifth timestamp corresponding to the starting time and a sixth timestamp corresponding to the ending time of the stage when the light intensity gradually changes from the minimum value to the maximum value;
presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
5. A push-up counting device based on wearable equipment, characterized in that the device comprises:
the acquisition module is used for entering a push-up counting mode and periodically acquiring acceleration data and ambient light data;
the counting module is used for judging whether the change rule of the acceleration data and the change rule of the environment light data have time correlation in a period, and if so, accumulating one push-up counting;
the counting module is specifically configured to:
obtaining vector acceleration according to the acceleration data, and obtaining ambient light intensity according to the ambient light data;
and for each push-up action, obtaining an action cycle according to the change rule of the vector acceleration and the change rule of the ambient light intensity, and judging whether the two action cycles have time correlation.
6. The device according to claim 5, characterized in that for each push-up action, one action cycle obtained according to the variation law of the vector acceleration comprises four phases: a phase of acceleration from maximum downward to zero, a phase of acceleration from zero to maximum upward, a phase of acceleration from maximum upward to zero, and a phase of acceleration from zero to maximum downward;
for each push-up action, one action cycle obtained according to the change rule of the ambient light data comprises two stages: a stage of gradually changing the light intensity from the maximum to the minimum and a stage of gradually changing the light intensity from the minimum to the maximum;
the stage of the acceleration from the maximum downwards to the zero plus the stage of the acceleration from the zero to the maximum upwards corresponds to the stage of the light intensity gradually changing from the maximum to the minimum; the phase of acceleration from maximum up to zero plus the phase of acceleration from zero to maximum down corresponds to the phase of gradual change of light intensity from minimum to maximum.
7. The apparatus of claim 6, wherein the counting module is specifically configured to:
attaching a time stamp to the acceleration data and a time stamp to the ambient light data;
for each push-up action, whether the two action periods have time correlation or not is judged according to the attached time stamp.
8. The apparatus of claim 7, wherein the counting module is specifically configured to:
for each push-up action, acquiring a first time stamp corresponding to the initial time and a second time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum upward from a stage of adding the acceleration from the maximum downward to zero, and/or acquiring a second time stamp corresponding to the initial time and a third time stamp corresponding to the end time of a stage of adding the acceleration from zero to the maximum downward from a stage of adding the acceleration from the maximum upward to zero;
for each push-up action, acquiring a fourth timestamp corresponding to the starting time and a fifth timestamp corresponding to the ending time of the stage when the light intensity gradually changes from the maximum value to the minimum value according to the timestamp attached to the environment light data, and/or acquiring a fifth timestamp corresponding to the starting time and a sixth timestamp corresponding to the ending time of the stage when the light intensity gradually changes from the minimum value to the maximum value;
presetting an error allowable range, and if the time difference between the first timestamp and the fourth timestamp is within the error allowable range, and/or if the time difference between the second timestamp and the fifth timestamp is within the error allowable range, and/or if the time difference between the third timestamp and the sixth timestamp is within the error allowable range, judging that the two action cycles have time correlation.
CN201810751054.XA 2018-07-10 2018-07-10 Push-up counting method and device based on wearable equipment Active CN109011397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810751054.XA CN109011397B (en) 2018-07-10 2018-07-10 Push-up counting method and device based on wearable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810751054.XA CN109011397B (en) 2018-07-10 2018-07-10 Push-up counting method and device based on wearable equipment

Publications (2)

Publication Number Publication Date
CN109011397A CN109011397A (en) 2018-12-18
CN109011397B true CN109011397B (en) 2020-09-01

Family

ID=64641698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810751054.XA Active CN109011397B (en) 2018-07-10 2018-07-10 Push-up counting method and device based on wearable equipment

Country Status (1)

Country Link
CN (1) CN109011397B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110420446A (en) * 2019-08-28 2019-11-08 福州山路体育设施有限公司 Portable competition area and the tournament system with the place of riding
CN111700624B (en) * 2020-07-27 2024-03-12 中国科学院合肥物质科学研究院 Pattern recognition method and system for detecting motion gesture by intelligent bracelet

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL139387A0 (en) * 2000-11-01 2001-11-25 Dintex Ltd Feedback system and method for monitoring and measuring physical exercise related information
US9599632B2 (en) * 2012-06-22 2017-03-21 Fitbit, Inc. Fitness monitoring device with altimeter
CN103426025B (en) * 2013-08-23 2015-10-28 华南理工大学 A kind of contactless push-up method of counting based on intelligent mobile phone platform
US10602981B2 (en) * 2014-05-30 2020-03-31 Microsoft Technology Licensing, Llc Optical pressure sensor
CN104383674B (en) * 2014-10-21 2017-01-25 小米科技有限责任公司 Counting method and device used for intelligent wearing equipment as well as intelligent wearing equipment
CN104922888B (en) * 2015-06-11 2018-06-05 惠州Tcl移动通信有限公司 A kind of push-up method of counting and system based on intelligent mobile terminal
CN104941167A (en) * 2015-06-19 2015-09-30 上海卓易科技股份有限公司 Device and method for counting push-up number
CN205672505U (en) * 2016-05-31 2016-11-09 王晓韬 Sit-ups counter

Also Published As

Publication number Publication date
CN109011397A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
US11013959B2 (en) Sensor-based athletic activity measurements
US20170202486A1 (en) Wearable activity monitoring device and related method
CN101394788B (en) Gait analysis
US7803117B2 (en) Method, device and computer program product for monitoring the physiological state of a person
US20160007888A1 (en) Wearable activity monitoring device and related method
CN104168819A (en) Device and method for monitoring vital signs
CN109011397B (en) Push-up counting method and device based on wearable equipment
EP3090684A1 (en) Pedometer and method for analyzing motion data
EP1547521A3 (en) Method for measuring of exercise
WO2014089238A1 (en) Gait analysis system and method
KR20150086293A (en) Systems and methods for frequency-based stride length correction in a pedometer device
CN108903929B (en) Heart rate detection correction method, device, storage medium and system
EP3090685A1 (en) Pedometer and method for analyzing motion data
CN104990562A (en) Step counting method based on autocorrecting computing
CN104841117A (en) Counting method and system of sports times based on mobile terminal acceleration sensor
JP6496996B2 (en) Exercise quantity calculation method, exercise quantity calculation device, and portable device
WO2018086321A1 (en) Step counting method and device
CN110366109A (en) A kind of localization method and system for indoor objects
CN106153070A (en) The bearing calibration of pedometer and system thereof
CN114011045A (en) Fitness action counting method based on wearable equipment and wearable equipment
JP2012170740A (en) Energy consumption measurement device, energy consumption measurement method and exercise analysis system
CN107631736B (en) Stride estimation method and device
CN106474717B (en) Data processing method based on user movement state
US10467462B2 (en) System and method for detecting at least one transient phase in a steady activity of an animated being
Thuan et al. Wireless Smart Shoes for Running Gait Analysis Based on Deep Learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191115

Address after: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong

Applicant after: GEER TECHNOLOGY CO., LTD.

Address before: 266061, No. 3, building 18, Qinling Mountains Road, Laoshan District, Shandong, Qingdao 401

Applicant before: Qingdao real time Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant