CN103386181A - Mobile terminal and rope skipping counting method adopting same - Google Patents

Mobile terminal and rope skipping counting method adopting same Download PDF

Info

Publication number
CN103386181A
CN103386181A CN2013103159284A CN201310315928A CN103386181A CN 103386181 A CN103386181 A CN 103386181A CN 2013103159284 A CN2013103159284 A CN 2013103159284A CN 201310315928 A CN201310315928 A CN 201310315928A CN 103386181 A CN103386181 A CN 103386181A
Authority
CN
China
Prior art keywords
mobile terminal
acceleration
preset time
counter
counting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103159284A
Other languages
Chinese (zh)
Other versions
CN103386181B (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.)
SHANDONG KAER ELECTRIC CO Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201310315928.4A priority Critical patent/CN103386181B/en
Publication of CN103386181A publication Critical patent/CN103386181A/en
Application granted granted Critical
Publication of CN103386181B publication Critical patent/CN103386181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种移动终端及该终端的跳绳计数方法,所述方法通过将跳绳运动分成两个时间段,对两个时间段内重力感应器检测到得加速度进行分析,若在第一预设时间段为其仅受到重力作用下的加速度,在接下来的第二预设时间段内所的加速度大于其仅受重力作用下的加速度,则判定为携带此移动终端的用户完成一次跳绳运动,从而达到准确对跳绳的次数进行计数的目的。通过本发明不仅提供了移动终端及该终端的跳绳计数方法,使用该移动终端进行跳绳计数,不仅可以提高移动终端使用的趣味性,并且因移动终端的普遍使用,为用户随时进行运动强身提供便利。

Figure 201310315928

The invention discloses a mobile terminal and a rope skipping counting method of the terminal. The method divides the rope skipping movement into two time periods, and analyzes the acceleration detected by the gravity sensor in the two time periods. Assuming that the time period is the acceleration under the action of gravity only, and the acceleration is greater than the acceleration under the action of gravity only in the next second preset time period, it is determined that the user carrying the mobile terminal has completed a rope skipping exercise , so as to achieve the purpose of accurately counting the number of times of rope skipping. The present invention not only provides a mobile terminal and a rope skipping counting method for the terminal, and using the mobile terminal for rope skipping counting can not only improve the fun of using the mobile terminal, but also provide convenience for users to exercise and keep fit at any time due to the universal use of the mobile terminal .

Figure 201310315928

Description

The rope skipping method of counting of a kind of mobile terminal and this terminal
Technical field
The present invention relates to field of mobile terminals, particularly the rope skipping method of counting of a kind of mobile terminal and this terminal.
Background technology
Rope skipping is that splendid being healthy and strong is moved, and can effectively train individual's reaction and endurance, helps and keeps individual body body-building and harmony, thereby reach the purpose that improves the health.If but the counting of rope skipping relies on artificial counting purely, accuracy is low, and makes the people need the rope skipping while counting when rope skipping, and is very inconvenient.
In prior art, generally with special rope skipping apparatus, realize rope skipping counting automatically, for example: rope-skipping counter, it is easy to use in sports center, therefore but it generally is not easy to carry, and the counting of can not skipping rope as required at any time can not meet the demand of people's daily life.
In view of this, prior art awaits further improvement.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide the rope skipping method of counting of a kind of mobile terminal and this terminal, can not provide at any time the problem of rope skipping counting as the user to solve in prior art, for the user skips rope to count at any time, provide convenience.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of mobile terminal wherein, comprising: central processing unit, gravity sensor and display screen; Described central processing unit is connected with described display screen with described gravity sensor respectively;
Described gravity sensor is used for the suffered acceleration of mobile terminal is detected;
Described central processing unit also comprises: acceleration acquisition module and counting module;
Described acceleration acquisition module, for obtain the acceleration of mobile terminal from described gravity sensor;
Described counting module, be used for when within a count cycle, after acceleration when the acceleration of the mobile terminal that the judgement counting module obtains only is subjected to gravity with mobile terminal equates, continuously judgement has the suffered acceleration of mobile terminal greater than its acceleration during gravitate only again, and the data of counting of skip rope add one;
Described display screen, be used for showing from the data that the rope skipping that the counting module of described central processing unit inside obtains is counted.
Described mobile terminal, wherein,
Described counting module comprises first timer, the first counter, second timer, the second counter and the 3rd counter;
Described first timer, be used for, according to the time value of the first Preset Time, described the first Preset Time section is carried out timing;
Described the first counter, be used for after the time value of described first timer record exceeds the first Preset Time, obtain the acceleration of the mobile terminal that obtains in the acceleration acquisition module, if described acceleration and mobile terminal only gravitate brief acceleration equate, described the first counter adds one;
Described second timer, open when the numerical value that records in described the first counter exceeds described the first pre-set threshold value, be used for, according to the time value of the second Preset Time, the second Preset Time section is carried out timing;
Described the second counter, be used for after the time of second timer record is equal to, or greater than the second Preset Time, obtain the mobile terminal real time acceleration that obtains in the acceleration acquisition module, if the acceleration when this acceleration only is subjected to gravity greater than it, the data of the second counter add one;
Described the 3rd counter, while for the value that records when described the second counter, being equal to, or greater than the second pre-set threshold value, add one;
When described the first counter adds one, and judge that whether the data of record on it are equal to, or greater than the first pre-set threshold value, close first timer if be equal to, or greater than; If the data of record are less than the first pre-set threshold value, with described first timer zero clearing and restart timing;
When described the second counter adds after one, judge whether the data of record on it are equal to, or greater than the second pre-set threshold value, close first timer if be equal to, or greater than; If the data of record are less than the second pre-set threshold value, with described second timer zero clearing and restart timing;
Time of described first a Preset Time section and second a Preset Time section and be a count cycle, described the first Preset Time section and the second Preset Time section are consecutive two time periods.
Described mobile terminal, wherein,
It is long-pending that described the first Preset Time section is that described the first pre-set threshold value and the first Preset Time multiply each other; It is long-pending that described the second Preset Time section is that described the second pre-set threshold value and the second Preset Time multiply each other.
Described mobile terminal, wherein,
Described the first Preset Time is that 10ms, described the second Preset Time are 1ms, and described the first pre-set threshold value is 9, described the second pre-set threshold value is 5.
A kind of rope skipping method of counting of described mobile terminal wherein, comprises step:
A, the rope skipping tally function of opening mobile terminal, gravity sensor detects the acceleration of mobile terminal, and will detect data and be sent to central processing unit;
The described acceleration that acceleration acquisition module in B, central processing unit will obtain is transferred to and is attached thereto the counting module that connects;
C, when within a count cycle, after acceleration when the acceleration of the mobile terminal that the judgement counting module obtains only is subjected to gravity with mobile terminal equates, continuously judgement has the suffered acceleration of mobile terminal greater than its acceleration during gravitate only again, controls the counting module data of counting of skip rope and adds one;
D, display screen receive the data of rope skipping counting in counting module in central processing unit, and show.
The rope skipping method of counting of described mobile terminal, wherein,
Described step C comprises:
The first counter O reset in C1, described counting module, use first timer time value according to the first Preset Time in the first Preset Time section to carry out Split Time to described the first Preset Time section;
The time of recording in C2, judgement first timer exceeds the first Preset Time, carries out next step if exceed, otherwise repeats this step;
C3, detect mobile terminal this moment acceleration whether with its only the acceleration during gravitate equate,, if equal, carry out next step; Otherwise return to step C1;
C4, the first counter is added one, and judge whether the numerical value of the first counter is equal to, or greater than the first pre-set threshold value, if be equal to, or greater than, closes first timer, enters step C5, if less than returning to step C1;
C5, unlatching second timer, and with the second timer zero clearing, and according to the second Preset Time, the second Preset Time section is carried out timing;
The time of recording in C6, judgement second timer exceeds the second Preset Time, carries out next step if exceed, otherwise will repeat this step;
Whether C7, the acceleration that detects mobile terminal this moment are greater than its acceleration during gravitate only, if greater than, enter next step, otherwise, with the second timer zero clearing, return to step C6;
C8, the second counter is added one, and judge whether the numerical value in the second counter is equal to, or greater than the second pre-set threshold value, add one if be equal to, or greater than the 3rd counter, and return to step C1; If less than, return to step C6;
The time sum of described first a Preset Time section and second a Preset Time section is a count cycle, and described the first Preset Time section and the second Preset Time section are consecutive two time periods.
The rope skipping method of counting of described mobile terminal, wherein,
It is long-pending that described the first Preset Time section is that described the first pre-set threshold value and the first Preset Time multiply each other; It is long-pending that described the second Preset Time section is that described the second pre-set threshold value and the second Preset Time multiply each other.
The rope skipping method of counting of described mobile terminal, wherein, described the first Preset Time is that 10ms, described the second Preset Time are 1ms, described the first pre-set threshold value is 9, described the second pre-set threshold value is 5.
the rope skipping method of counting of a kind of mobile terminal provided by the invention and this terminal, by the rope skipping process being divided into two time periods, use gravity sensor this two data that interior acceleration of time period shows to be detected, judge and detect to such an extent that acceleration is that it only is subject to the acceleration under Action of Gravity Field in the first Preset Time section, if in ensuing the second Preset Time section acceleration greater than its acceleration of gravity during gravitate only, judge that the user who carries this mobile terminal completes rope skipping one time, thereby reach the purpose of accurately number of times of rope skipping being counted.Rope skipping method of counting by described mobile terminal provided by the invention and this terminal, the mobile terminal that a kind of simple rope skipping method of counting is provided and has had this rope skipping tally function, use this mobile terminal counting of skipping rope, can improve the interest that mobile terminal uses, and, because of the generally use of mobile terminal, for moving at any time, the user keeps fit to facilitate.
Description of drawings
Fig. 1 is the system architecture schematic diagram of a kind of mobile terminal of the present invention.
Fig. 2 is the structure principle chart of counting module in the present invention.
Fig. 3 is the flow chart of steps of rope skipping method of counting first embodiment of a kind of mobile terminal of the present invention.
Fig. 4 is the flow chart of step in rope skipping method of counting second embodiment of a kind of mobile terminal of the present invention.
Fig. 5 is the flow chart of steps of the rope skipping method of counting of a kind of mobile terminal of the present invention while specifically applying.
The specific embodiment
The invention provides the rope skipping method of counting of a kind of mobile terminal and this terminal.For making purpose of the present invention, technical scheme and effect clearer, clear and definite, the present invention is described in more detail referring to the accompanying drawing examples.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The invention provides a kind of mobile terminal for rope skipping is counted, wherein, as shown in Figure 1, described mobile terminal comprises: central processing unit 10, gravity sensor 20 and display screen 30; Described central processing unit 10 is connected with described display screen 30 with described gravity sensor 20;
Described gravity sensor 20 is used for the suffered acceleration of mobile terminal is detected;
Described central processing unit 10 also comprises: acceleration acquisition module 110 and counting module 120;
Described acceleration acquisition module 110, for obtain the acceleration of mobile terminal from described gravity sensor 20;
Described counting module 120, be used for when within a count cycle, after acceleration when the acceleration of the mobile terminal that judgement counting module 120 obtains only is subjected to gravity with mobile terminal equates, continuously judgement has the suffered acceleration of mobile terminal greater than its acceleration during gravitate only again, and the data of counting of skip rope add one;
Described display screen 30, be used for showing from the data that the rope skipping that the counting module 120 of described central processing unit 10 inside obtains is counted.
The user is when carrying this mobile terminal and carry out rope skipping, and the acceleration of mobile terminal is identical with the user, therefore can be by the suffered acceleration situation of mobile terminal is judged the rope skipping situation that the user carries out.The suffered acceleration of mobile terminal that can measure accurately in real time by gravity sensor.
Because of the user when carrying out rope skipping, the one-period of the motion process of rope skipping can be divided into two time periods, in first time period, the user is in aerial state, this moment, the user was suffered that acceleration should be its acceleration during gravitate only, second time period, the user is in the state that contacts with ground, acceleration when its acceleration that is subject to only is subjected to gravity greater than it at short notice, therefore the suffered acceleration of mobile terminal in this two time periods is detected, just can determine the user and whether complete rope skipping one time.
The display that is connected with central processing unit obtains the data of rope skipping counting from counting module, and the display screen by mobile terminal, and these data are shown.
In order can be more accurately the motion state of the rope skipping of the first Preset Time section of rope skipping and the second Preset Time section to be detected, preferred, as shown in Figure 2, described counting module 120 comprises first timer 121, the first counter 122;
Described first timer 120, be used for, according to the first Preset Time, described the first Preset Time section is carried out timing;
Described the first counter 122, be used for after the time value of described first timer record exceeds the first Preset Time, obtain the acceleration of the mobile terminal that obtains in the acceleration acquisition module, if described acceleration and mobile terminal only gravitate brief acceleration equate, described the first counter 122 adds one;
When described the first counter 122 adds one, and judge that whether the data of record on it are equal to, or greater than the first pre-set threshold value, close first timer 121 if be equal to, or greater than; If non-first pre-set threshold value that is equal to, or greater than of data of record, described first timer zero clearing and restart timing.
in the first Preset Time section that the user skips rope, its motion state should equal the acceleration that gravitate only is for keeping the acceleration be subject in a period of time, therefore be provided with first timer in counting module, when the time exceeds the first Preset Time, the acceleration that detects suffered acceleration and be whether gravitate only and be, if equal continue to judge whether within ensuing a period of time, its suffered acceleration remains unchanged, namely after the time exceeds the first Preset Time, the first counter adds one, proceed after the first timer zero clearing regularly, after the time of first timer record exceeds the first Preset Time again, again suffered that acceleration judges to mobile terminal, when remaining acceleration that gravitate only is when constant, the first counter adds one.Repeat above-mentioned timing and counting operation, when the data on the first counter are equal to, or greater than the first pre-set threshold value, judge the user in the first Preset Time section, the user has completed the once interior motion of very first time section of rope skipping.
For the moving situation of user within second time period of completing once rope skipping accurately detected, as shown in Figure 3, described counting module also comprises second timer 123, the second counter 124 and the 3rd counter 125.
Described second timer 123, be used for, according to the second Preset Time, the second Preset Time section to be carried out timing;
Described the second counter 124, be used for after the time of second timer 123 records exceeds the second Preset Time, obtain the mobile terminal real time acceleration that obtains in the acceleration acquisition module, if this real time acceleration adds one greater than its acceleration during gravitate only;
, when described the second counter 124 adds after one,, with described second timer 123 zero clearings, restart timing;
Described the 3rd counter 125, be used for adding one when the value of described the second counter 124 records reaches the second pre-set threshold value.
When reaching the first pre-set threshold value for the numerical value when record in described the first counter 122, opens described second timer 123.
identical with the function of described first timer and the first counter, second timer is used for carrying out timing in the second Preset Time section, after the time in second timer exceeds the second Preset Time, if this moment, the acceleration that is subject to of mobile terminal was greater than its acceleration during gravitate only, judge that the user is in landing state, the data on the second counter are added one, and it is constant whether continuation judgement user in ensuing the second Preset Time section remains on landing state, if when the data on the second counter are equal to, or greater than the second pre-set threshold value, judge that the user is in second time period of rope skipping, when the data of the second counter are equal to, or greater than the second pre-set threshold value, the data on the 3rd counter add one, data on this 3rd counter are user's number of times of skipping rope.
Can draw by foregoing: it is long-pending that described the first Preset Time section is that described the first pre-set threshold value and the first Preset Time multiply each other; It is long-pending that described the second Preset Time section is that described the second pre-set threshold value and the second Preset Time multiply each other.Time of described first a Preset Time section and second a Preset Time section and be a count cycle, described the first Preset Time section and the second Preset Time section are consecutive two time periods.
Preferably, because rope skipping is fiercer motion, the rope skipping method of counting of described mobile terminal, wherein, described the first Preset Time is that 10ms, described the second Preset Time are 1ms, described the first pre-set threshold value is 9, described the second pre-set threshold value is 5, and certain above-mentioned time or threshold value can increase accordingly or reduce.
The present invention also provides the rope skipping method of counting of above-mentioned mobile terminal, is illustrated in figure 3 as the flow chart of steps of the first embodiment of described method, and described method comprises step:
S1, the rope skipping tally function of opening mobile terminal, gravity sensor detects the acceleration of mobile terminal, and will detect data and be sent to central processing unit.
After the rope skipping tally function in mobile terminal was unlocked, gravity sensor detected the acceleration that mobile terminal is subject to.
The described acceleration that acceleration acquisition module in S2, central processing unit will obtain is transferred to and is attached thereto the counting module that connects.
S3, when within a count cycle, after acceleration when the acceleration of the mobile terminal that the judgement counting module obtains only is subjected to gravity with mobile terminal equates, continuously judgement has the suffered acceleration of mobile terminal greater than its acceleration during gravitate only again, controls the counting module data of counting of skip rope and adds one.
Because a rope skipping is a count cycle, at first judge within this count cycle acceleration that mobile terminal is subject to equal its only the acceleration during gravitate judge the aerial state that the is in when user is in rope skipping, within the ensuing time, if the acceleration that the user is subject to is greater than its gravitate brief acceleration only, judgement mobile terminal this moment is in the state of landing, meet at the same time in the situation of above-mentioned two kinds of conditions, judge that the user has completed rope skipping one time.
S4, display screen receive the data of rope skipping counting in counting module in central processing unit, and show.
Display screen is connected with central processing unit, and in real time the data that record in counting module is shown, is convenient to the user and understands in real time the accurate number of times of its rope skipping.
Concrete, be illustrated in figure 4 as the method step of rope skipping method of counting second embodiment of a kind of mobile terminal in the present invention:
S31, with the first counter O reset in described counting module, and open first timer, described first timer carries out timing according to the first Preset Time to the first Preset Time section.
The time of recording in S32, judgement first timer exceeds the first Preset Time, carries out next step if exceed, otherwise repeats this step.
S33, detect mobile terminal this moment acceleration whether with its only the acceleration during gravitate equate,, if equal, carry out next step; Otherwise return to step S31.
S34, the first counter is added one, and judge whether the numerical value of the first counter is equal to, or greater than the first pre-set threshold value,, if equal to close first timer, enters step S4, if less than returning to step S31.
S35, unlatching second timer, and with the second counter O reset, and according to the second Preset Time, the second Preset Time section is carried out timing;
The time of recording in S36, judgement second timer exceeds the second Preset Time, carries out next step if exceed, otherwise will repeat this step;
S37, detect mobile terminal this moment acceleration whether greater than its acceleration during gravitate only, if greater than, enter next step, otherwise return to step S36;
S37, the data on the second counter are added one, and judge whether the numerical value in the second counter is equal to, or greater than the second pre-set threshold value, add one if equal the 3rd counter, and return to step S31; If less than would return to step S36.
In specific implementation process, described second timer is for to open after the numerical value that records in described the first counter reaches the first pre-set threshold value;
It is long-pending that described the first Preset Time section is that described the first pre-set threshold value and the first Preset Time multiply each other; It is long-pending that described the second Preset Time section is that described the second pre-set threshold value and the second Preset Time multiply each other.
Described the first Preset Time is that 10ms, described the second Preset Time are 1ms, described the first pre-set threshold value is 9, described the second pre-set threshold value is 5, time of one of them described the first Preset Time section and second a Preset Time section and be a count cycle, described the first Preset Time section and the second Preset Time section are consecutive two time periods.
Be illustrated in fig. 5 shown below the concrete applicating flow chart for the rope skipping method of counting that the invention provides mobile terminal.As shown in Figure 5, specifically mobile terminal of the present invention is being skipped rope when application counting, the skip rope concrete grammar step of counting of mobile terminal provided by the invention is:
The user of H1, mobile terminal opens the rope skipping tally function on described mobile terminal, and the rope skipping number system of mobile terminal is opened first timer, and automatically with the first timer zero clearing.
Start timing (this moment, the user started to send the rope skipping action) after H2, first timer zero clearing, and whether the time of recording on the real-time judge first timer exceeds the default time value of the first predetermined Preset Time section, if exceed carry out next step, if do not exceed proceed timing.
The acceleration acquisition module of H3, central processing unit obtain from gravity sensor this moment mobile terminal acceleration, and with this transfer of data to counting module.
H4, judgement this moment, whether the acceleration of mobile terminal equaled its only acceleration during gravitate, if equal enter step H5, if be not equal to return to step H1, with the first counter O reset.
H5, the data on the first counter are added one.
H6, judge that whether the data that record on the first counter are equal to or greater than the first pre-set threshold value,, if be greater than or equal to the first pre-set threshold value, enter next step; Otherwise return to step H2.
H7, close first timer, open second timer and carry out timing, and with the second counter O reset.
H8, judge whether the time value of second timer record exceeds time value default on the second Preset Time section, if the time value of record exceeds enters next step, if do not exceed continue to judge whether this time exceeds.
The acceleration acquisition module of H9, central processing unit obtain from gravity sensor this moment mobile terminal acceleration, and with this transfer of data to counting module.
H10, judgement this moment mobile terminal acceleration whether greater than its acceleration during gravitate only, if greater than would enter step H11, if be less than or equal to return to step H7.
H11, the data on the second counter are added one.
H12, judge that whether the data that record on the second counter are equal to or greater than the second pre-set threshold value,, if be greater than or equal to the first pre-set threshold value, enter next step; Otherwise return to step H2.
H13, the data on the 3rd counter are added one, be judged to be the user who carries this mobile terminal and completed rope skipping one time, and the data that record on the 3rd counter are shown on the display screen of mobile terminal by display, and enter step H1, rope skipping is next time counted.
A kind of mobile terminal provided by the invention and this terminal rope skipping method of counting, described method is by being divided into rope skipping two time periods, detect to such an extent that acceleration is analyzed to gravity sensor in two time periods, if at the first Preset Time Duan Weiqi, only be subject to acceleration under Action of Gravity Field, in ensuing the second Preset Time section acceleration greater than its acceleration during gravitate only, judge that the user has completed the process of once skipping rope, the number of times of skipping rope adds one, and the number of times of skipping rope shows in real time by display screen.Mobile terminal provided by the invention and method of counting thereof,, by increase the rope skipping tally function in mobile terminal, make mobile terminal more have interest and practicality, the demand that has facilitated the user to skip rope at any time and count.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection domain of the appended claim of the present invention.

Claims (8)

1.一种移动终端,其特征在于,包括:中央处理器、重力感应器以及显示屏;所述中央处理器分别与所述重力感应器和所述显示屏相连接; 1. A mobile terminal, comprising: a central processing unit, a gravity sensor and a display screen; the central processing unit is connected with the gravity sensor and the display screen respectively; 所述重力感应器用于对移动终端所受到的加速度进行检测; The gravity sensor is used to detect the acceleration received by the mobile terminal; 所述中央处理器还包括:加速度获取模块和计数模块; The central processing unit also includes: an acceleration acquisition module and a counting module; 所述加速度获取模块,用于从所述重力感应器中获取移动终端的加速度; The acceleration acquisition module is used to acquire the acceleration of the mobile terminal from the gravity sensor; 所述计数模块,用于当在一个计数周期内,判断计数模块获取的移动终端的加速度与移动终端仅受重力时的加速度相等后,连续又判断有移动终端所受到的加速度大于其仅受重力作用时的加速度,则将跳绳计数的数据加一;  The counting module is used for judging that the acceleration of the mobile terminal obtained by the counting module is equal to the acceleration when the mobile terminal is only subjected to gravity within a counting period, and then continuously judges that the acceleration received by the mobile terminal is greater than that of the mobile terminal only subjected to gravity When the acceleration is active, add one to the counting data of the skipping rope; 所述显示屏,用于从所述中央处理器内部的计数模块中获取的跳绳计数的数据进行显示。 The display screen is used for displaying the rope skipping counting data obtained from the counting module inside the central processing unit. 2.根据权利要求1所述移动终端,其特征在于, 2. The mobile terminal according to claim 1, characterized in that, 所述计数模块包括第一定时器、第一计数器、第二定时器、第二计数器和第三计数器; The counting module includes a first timer, a first counter, a second timer, a second counter and a third counter; 所述第一定时器,用于根据第一预设时间的时间值对所述第一预设时间段进行计时; The first timer is used to time the first preset time period according to the time value of the first preset time; 所述第一计数器,用于当所述第一定时器记录的时间值超出第一预设时间后,获取加速度获取模块中获得的移动终端的加速度,如果所述加速度与移动终端仅受重力作用时加速度相等,则所述第一计数器加一; The first counter is used to obtain the acceleration of the mobile terminal obtained in the acceleration acquisition module when the time value recorded by the first timer exceeds the first preset time, if the acceleration and the mobile terminal are only affected by gravity When the acceleration is equal, the first counter is added by one; 所述第二定时器、当所述第一计数器中记录的数值超出所述第一预设阀值时开启,用于根据第二预设时间的时间值对第二预设时间段进行计时;  The second timer is started when the value recorded in the first counter exceeds the first preset threshold, and is used to time the second preset time period according to the time value of the second preset time; 所述第二计数器,用于当第二定时器记录的时间等于或者大于第二预设时间后,获取加速度获取模块中获得的移动终端实时加速度,如果此加速度大于其仅受重力时的加速度,则第二计数器的数据加一; The second counter is used to obtain the real-time acceleration of the mobile terminal obtained in the acceleration acquisition module when the time recorded by the second timer is equal to or greater than the second preset time, if the acceleration is greater than the acceleration when it is only subjected to gravity, Then the data of the second counter is increased by one; 所述第三计数器,用于当所述第二计数器中记录的值等于或者大于第二预设阀值时,则加一; The third counter is configured to add one when the value recorded in the second counter is equal to or greater than a second preset threshold; 当所述第一计数器加一,并判断其上记录的数据是否等于或者大于第一预设阀值,若等于或者大于则关闭第一定时器;若记录的数据小于第一预设阀值,则将所述第一定时器清零并重新开始计时; When the first counter adds one, and judge whether the data recorded on it is equal to or greater than the first preset threshold value, if it is equal to or greater than then close the first timer; if the recorded data is less than the first preset threshold value, Then the first timer is cleared and restarted; 当所述第二计数器加一之后,判断其上记录的数据是否等于或者大于第二预设阀值,若等于或者大于则关闭第一定时器;若记录的数据小于第二预设阀值,则将所述第二定时器清零并重新开始计时; After adding one to the second counter, judge whether the data recorded on it is equal to or greater than the second preset threshold, and if it is equal to or greater than then close the first timer; if the recorded data is less than the second preset threshold, Then the second timer is cleared and restarted; 一个所述第一预设时间段和一个第二预设时间段的时间和为一个计数周期,所述第一预设时间段和第二预设时间段为相连续的两个时间段。 The sum of the first preset time period and the second preset time period is a counting period, and the first preset time period and the second preset time period are two consecutive time periods. 3.根据权利要求2所述移动终端,其特征在于, 3. The mobile terminal according to claim 2, characterized in that, 所述第一预设时间段为所述第一预设阀值与第一预设时间相乘之积;所述第二预设时间段为所述第二预设阀值与第二预设时间相乘之积。 The first preset time period is the product of the first preset threshold and the first preset time; the second preset time period is the product of the second preset threshold and the second preset The product of time multiplication. 4.根据权利要求3所述移动终端,其特征在于, 4. The mobile terminal according to claim 3, characterized in that, 所述第一预设时间为10ms、所述第二预设时间为1ms,所述第一预设阀值为9、所述第二预设阀值为5。 The first preset time is 10 ms, the second preset time is 1 ms, the first preset threshold is 9, and the second preset threshold is 5. 5.一种如权利要求1所述移动终端的跳绳计数方法,其特征在于,包括步骤: 5. a kind of rope skipping counting method of mobile terminal as claimed in claim 1, is characterized in that, comprises the step: A、开启移动终端的跳绳计数功能,重力感应器对移动终端的加速度进行检测,并将检测数据发送至中央处理器;  A. Turn on the rope skipping counting function of the mobile terminal, the gravity sensor detects the acceleration of the mobile terminal, and sends the detection data to the central processing unit; B、中央处理器中的加速度获取模块将获取的所述加速度传输到与之相连接的计数模块; B. The acceleration acquisition module in the central processing unit transmits the acquired acceleration to the counting module connected thereto; C、当在一个计数周期内,判断计数模块获取的移动终端的加速度与移动终端仅受重力时的加速度相等后,连续又判断有移动终端所受到的加速度大于其仅受重力作用时的加速度,则控制计数模块将跳绳计数的数据加一; C. When in a counting cycle, after the acceleration of the mobile terminal obtained by the judgment counting module is equal to the acceleration when the mobile terminal is only subjected to gravity, it is continuously judged that the acceleration received by the mobile terminal is greater than the acceleration when it is only subjected to gravity, Then the control counting module adds one to the data of rope skipping counting; D、显示屏接收到中央处理器中的计数模块中跳绳计数的数据,并进行显示。 D. The display screen receives the data counted by the skipping rope in the counting module in the central processing unit and displays it. 6.根据权利要求5所述移动终端的跳绳计数方法,其特征在于, 6. the rope skipping counting method of mobile terminal according to claim 5, is characterized in that, 所述步骤C包括: Described step C comprises: C1、所述计数模块中的第一计数器清零,使用第一定时器在第一预设时间段内根据第一预设时间的时间值对所述第一预设时间段进行分段计时; C1. The first counter in the counting module is cleared, and the first timer is used to time the first preset time period in segments according to the time value of the first preset time within the first preset time period; C2、判断第一定时器中记录的时间超出第一预设时间,若超出则进行下一步,否则重复本步骤; C2. Judging that the time recorded in the first timer exceeds the first preset time, if it exceeds, proceed to the next step, otherwise repeat this step; C3、检测此时移动终端的加速度是否与其仅受重力作用时的加速度相等,若相等,进行下一步;否则返回步骤C1; C3. Detect whether the acceleration of the mobile terminal is equal to the acceleration when it is only subjected to gravity, if equal, proceed to the next step; otherwise, return to step C1; C4、将第一计数器加一,并判断第一计数器的数值是否等于或者大于第一预设阀值,若等于或者大于则关闭第一定时器,进入步骤C5,若小于则返回步骤C1; C4, add one to the first counter, and judge whether the value of the first counter is equal to or greater than the first preset threshold, if it is equal to or greater than then close the first timer, enter step C5, if less than then return to step C1; C5、开启第二定时器,并将第二定时器清零,并根据第二预设时间对第二预设时间段进行计时; C5, start the second timer, and clear the second timer, and time the second preset time period according to the second preset time; C6、判断第二定时器中记录的时间超出第二预设时间,若超出则进行下一步,否则将重复本步骤; C6. Judging that the time recorded in the second timer exceeds the second preset time, if it exceeds, proceed to the next step, otherwise this step will be repeated; C7、检测此时移动终端的加速度是否为大于其仅受重力作用时的加速度,若为大于,则进入下一步,否则将第二定时器清零,返回步骤C6; C7, detect whether the acceleration of the mobile terminal is greater than the acceleration when it is only subjected to gravity, if greater, then enter the next step, otherwise the second timer is cleared, and return to step C6; C8、将第二计数器加一,并判断第二计数器中的数值是否等于或者大于第二预设阀值,若等于或者大于则第三计数器加一,并返回步骤C1;如果小于,则返回步骤C6; C8, add one to the second counter, and judge whether the value in the second counter is equal to or greater than the second preset threshold, if it is equal to or greater than the third counter, add one, and return to step C1; if less, then return to step C6; 一个所述第一预设时间段和一个第二预设时间段的时间之和为一个计数周期,所述第一预设时间段和第二预设时间段为相连续的两个时间段。 The sum of a first preset time period and a second preset time period is a counting period, and the first preset time period and the second preset time period are two consecutive time periods. 7.根据权利要求5所述移动终端的跳绳计数方法,其特征在于, 7. the rope skipping counting method of mobile terminal according to claim 5, is characterized in that, 所述第一预设时间段为所述第一预设阀值与第一预设时间相乘之积;所述第二预设时间段为所述第二预设阀值与第二预设时间相乘之积。 The first preset time period is the product of the first preset threshold and the first preset time; the second preset time period is the product of the second preset threshold and the second preset The product of time multiplication. 8.根据权利要求7所述移动终端的跳绳计数方法,其特征在于,所述第一预设时间为10ms、所述第二预设时间为1ms,所述第一预设阀值为9、所述第二预设阀值为5。 8. The rope skipping counting method of the mobile terminal according to claim 7, wherein the first preset time is 10 ms, the second preset time is 1 ms, and the first preset threshold is 9, The second preset threshold value is 5.
CN201310315928.4A 2013-07-25 2013-07-25 A kind of rope skipping method of counting of mobile terminal and this terminal Active CN103386181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310315928.4A CN103386181B (en) 2013-07-25 2013-07-25 A kind of rope skipping method of counting of mobile terminal and this terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310315928.4A CN103386181B (en) 2013-07-25 2013-07-25 A kind of rope skipping method of counting of mobile terminal and this terminal

Publications (2)

Publication Number Publication Date
CN103386181A true CN103386181A (en) 2013-11-13
CN103386181B CN103386181B (en) 2016-06-15

Family

ID=49530711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310315928.4A Active CN103386181B (en) 2013-07-25 2013-07-25 A kind of rope skipping method of counting of mobile terminal and this terminal

Country Status (1)

Country Link
CN (1) CN103386181B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103706077A (en) * 2014-01-09 2014-04-09 林培林 Electric rope skipping exercise body builder and exercise amount detection method
CN103768775A (en) * 2014-01-28 2014-05-07 河海大学常州校区 Skipping rope counting device based on triaxial acceleration and counting method thereof
CN103801048A (en) * 2014-02-17 2014-05-21 深圳市悠朵云科技有限公司 Intelligent skipping rope and control method
CN104182231A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Running control method and system for application function of acceleration sensor
CN104474702A (en) * 2014-12-16 2015-04-01 徐州工程学院 Rotary kinetic energy detecting device of rope skipping energy dissipation tester
CN104535032A (en) * 2015-01-12 2015-04-22 惠州Tcl移动通信有限公司 Vertical jump height measuring method and device based on mobile terminal gravity sensor
CN104998397A (en) * 2015-07-08 2015-10-28 上海卓易科技股份有限公司 Rope skipping monitoring method and system
CN107636683A (en) * 2015-03-27 2018-01-26 三星电子株式会社 Method and apparatus for recognizing user's activity using accelerometer
CN108653974A (en) * 2018-05-11 2018-10-16 珠海云麦科技有限公司 A kind of intelligence rope skipping with data analysis
CN108732918A (en) * 2017-04-21 2018-11-02 上海锐色文化传播有限公司 Children, which skip rope, counts smartwatch and method of counting
CN109246314A (en) * 2018-11-28 2019-01-18 Tcl移动通信科技(宁波)有限公司 Mobile terminal GSM signal transfer control method, mobile terminal and storage medium
CN110210360A (en) * 2019-05-24 2019-09-06 浙江大学 A kind of rope skipping method of counting based on video image target identification
CN112546536A (en) * 2020-11-23 2021-03-26 国微集团(深圳)有限公司 Wireless skipping rope
CN113378713A (en) * 2021-06-10 2021-09-10 平安科技(深圳)有限公司 Skip counting method and device, terminal equipment and storage medium
CN114849215A (en) * 2022-06-29 2022-08-05 上海探寻信息技术有限公司 Rope skipping counting method and device based on intelligent wearable equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108744471B (en) * 2018-04-13 2020-06-05 深圳市卓翼科技股份有限公司 Rope skipping counting method and system based on wristband
CN114669024A (en) * 2022-03-17 2022-06-28 厦门豫盛实业有限公司 Spring-grip dumb-bell and counting method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060080035A (en) * 2005-01-04 2006-07-07 엘지전자 주식회사 Mobile communication terminal and measuring method of exercise using the same
CN202161318U (en) * 2011-03-28 2012-03-14 德信互动科技(北京)有限公司 Electronic nursing device for personal fitness
CN202376719U (en) * 2011-12-15 2012-08-15 上海理工大学 Movement counter based on altitude measuring module
US20130090881A1 (en) * 2011-10-10 2013-04-11 Texas Instruments Incorporated Robust step detection using low cost mems accelerometer in mobile applications, and processing methods, apparatus and systems
CN103079011A (en) * 2013-01-08 2013-05-01 杭州电子科技大学 Android smart phone-based multifunctional bodybuilder system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060080035A (en) * 2005-01-04 2006-07-07 엘지전자 주식회사 Mobile communication terminal and measuring method of exercise using the same
CN202161318U (en) * 2011-03-28 2012-03-14 德信互动科技(北京)有限公司 Electronic nursing device for personal fitness
US20130090881A1 (en) * 2011-10-10 2013-04-11 Texas Instruments Incorporated Robust step detection using low cost mems accelerometer in mobile applications, and processing methods, apparatus and systems
CN202376719U (en) * 2011-12-15 2012-08-15 上海理工大学 Movement counter based on altitude measuring module
CN103079011A (en) * 2013-01-08 2013-05-01 杭州电子科技大学 Android smart phone-based multifunctional bodybuilder system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103706077A (en) * 2014-01-09 2014-04-09 林培林 Electric rope skipping exercise body builder and exercise amount detection method
CN103706077B (en) * 2014-01-09 2016-05-18 林培林 Electronic skipping rope exercise gymnastic device and amount of exercise detection method
CN103768775A (en) * 2014-01-28 2014-05-07 河海大学常州校区 Skipping rope counting device based on triaxial acceleration and counting method thereof
CN103768775B (en) * 2014-01-28 2016-01-06 河海大学常州校区 Based on the method for counting of the rope skipping counting device of 3-axis acceleration
CN103801048A (en) * 2014-02-17 2014-05-21 深圳市悠朵云科技有限公司 Intelligent skipping rope and control method
CN103801048B (en) * 2014-02-17 2016-08-24 深圳市悠朵云科技有限公司 A kind of intelligence rope skipping and control method
CN104182231A (en) * 2014-08-22 2014-12-03 Tcl通讯(宁波)有限公司 Running control method and system for application function of acceleration sensor
CN104182231B (en) * 2014-08-22 2018-07-17 Tcl通讯(宁波)有限公司 A kind of progress control method and system of acceleration transducer application function
CN104474702A (en) * 2014-12-16 2015-04-01 徐州工程学院 Rotary kinetic energy detecting device of rope skipping energy dissipation tester
CN104535032A (en) * 2015-01-12 2015-04-22 惠州Tcl移动通信有限公司 Vertical jump height measuring method and device based on mobile terminal gravity sensor
CN107636683A (en) * 2015-03-27 2018-01-26 三星电子株式会社 Method and apparatus for recognizing user's activity using accelerometer
CN104998397A (en) * 2015-07-08 2015-10-28 上海卓易科技股份有限公司 Rope skipping monitoring method and system
CN108732918A (en) * 2017-04-21 2018-11-02 上海锐色文化传播有限公司 Children, which skip rope, counts smartwatch and method of counting
CN108653974A (en) * 2018-05-11 2018-10-16 珠海云麦科技有限公司 A kind of intelligence rope skipping with data analysis
CN109246314A (en) * 2018-11-28 2019-01-18 Tcl移动通信科技(宁波)有限公司 Mobile terminal GSM signal transfer control method, mobile terminal and storage medium
CN109246314B (en) * 2018-11-28 2020-08-11 Tcl移动通信科技(宁波)有限公司 Mobile terminal GSM signal transmission control method, mobile terminal and storage medium
CN110210360A (en) * 2019-05-24 2019-09-06 浙江大学 A kind of rope skipping method of counting based on video image target identification
CN110210360B (en) * 2019-05-24 2021-01-08 浙江大学 Rope skipping counting method based on video image target recognition
CN112546536A (en) * 2020-11-23 2021-03-26 国微集团(深圳)有限公司 Wireless skipping rope
CN112546536B (en) * 2020-11-23 2022-01-14 国微集团(深圳)有限公司 Wireless skipping rope
CN113378713A (en) * 2021-06-10 2021-09-10 平安科技(深圳)有限公司 Skip counting method and device, terminal equipment and storage medium
CN113378713B (en) * 2021-06-10 2023-08-29 平安科技(深圳)有限公司 Skip counting method, device, terminal equipment and storage medium
CN114849215A (en) * 2022-06-29 2022-08-05 上海探寻信息技术有限公司 Rope skipping counting method and device based on intelligent wearable equipment

Also Published As

Publication number Publication date
CN103386181B (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN103386181A (en) Mobile terminal and rope skipping counting method adopting same
US10290228B2 (en) Activity recognition with activity reminders
Oliver et al. Physical activity in preschoolers: understanding prevalence and measurement issues
CN103801048B (en) A kind of intelligence rope skipping and control method
JP6565369B2 (en) Exercise support device, exercise support method, and exercise support program
CN103294921A (en) Intelligent management method and system for fitness sports
CN111701216B (en) Method, system, wrist wearable device and storage medium for skipping rope counting
EP2653966A3 (en) Display controlling apparatus
Lowes et al. Proof of concept of the ability of the kinect to quantify upper extremity function in dystrophinopathy
CN103954295A (en) Step-counting method based on acceleration sensor
CN105561535A (en) Physical fitness management system based on internet of things technology
CN103268560A (en) A pre-launch advertising effect evaluation method based on EEG signal indicators
CN205019040U (en) Changeable human parameter measurement system of sampling frequency
CN104998397A (en) Rope skipping monitoring method and system
CN104524760A (en) Method and system for judging basketball motions based on intelligent bracelet
CN103785157A (en) Human body motion type identification accuracy improving method
TWI566200B (en) Method for checking exercise and exercise system thereof
CN103040473B (en) A kind of method and apparatus of monitoring kinestate
Smiley et al. Development and evaluation of wireless interfaces to monitor and control cycling exercise during home telerehabilitation
CN106204798A (en) bicycle meter device capable of image processing
CN105597294A (en) Lying-prostrating movement parameter estimation and evaluation method, device and intelligent terminal
CN109524113A (en) Electronic equipment, server, privilege information providing method and recording medium
CN106955465A (en) It is a kind of to count the strength trainer material system and method for body-building user data
CN114288631B (en) Data processing method, data processing device, storage medium, processor and electronic device
CN201889021U (en) Novel elliptical machine capable of networking athletic competition

Legal Events

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

Effective date of registration: 20211118

Address after: 264200 No. 58, Dalian Road, Weihai high district, Weihai City, Shandong Province

Patentee after: SHANDONG KAER ELECTRIC Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: The invention relates to a mobile terminal and a rope skipping counting method of the terminal

Effective date of registration: 20220329

Granted publication date: 20160615

Pledgee: Industrial and Commercial Bank of China Limited Weihai GaoKai sub branch

Pledgor: SHANDONG KAER ELECTRIC Co.,Ltd.

Registration number: Y2022980003488

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20160615

Pledgee: Industrial and Commercial Bank of China Limited Weihai GaoKai sub branch

Pledgor: SHANDONG KAER ELECTRIC Co.,Ltd.

Registration number: Y2022980003488