CN101815112A - Step recording method and device applied to mobile terminal - Google Patents

Step recording method and device applied to mobile terminal Download PDF

Info

Publication number
CN101815112A
CN101815112A CN201010126044A CN201010126044A CN101815112A CN 101815112 A CN101815112 A CN 101815112A CN 201010126044 A CN201010126044 A CN 201010126044A CN 201010126044 A CN201010126044 A CN 201010126044A CN 101815112 A CN101815112 A CN 101815112A
Authority
CN
China
Prior art keywords
current signal
note
portable terminal
voice coil
loudspeaker voice
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.)
Pending
Application number
CN201010126044A
Other languages
Chinese (zh)
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201010126044A priority Critical patent/CN101815112A/en
Publication of CN101815112A publication Critical patent/CN101815112A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a step recording method and a step recording device applied to a mobile terminal. The method comprises the following steps: when step recording start is determined, continuously detecting current signals in a speaker voice coil of the mobile terminal to acquire step-recorded effective current signals; and measuring the number of sine waves in the effective current signals, wherein the quantity of the sine waves is used as an advancing step number value of a mobile terminal user. The method and the device can realize the step recording function in the mobile terminal.

Description

A kind of step recording method and device that is applied to portable terminal
Technical field
The present invention relates to electronics note step technology, relate in particular to a kind of step recording method and device that is applied to portable terminal.
Background technology
Along with the raising of quality of life, people also more and more pay attention to the sports health etc. of self, and how science moves into the new focus of paying close attention to for people.People usually detect and control amount of exercise by electronic pedometer etc. at the volley.
In recent years, the function of portable terminal is more and more, and is also more and more perfect.With the mobile phone is example, present mobile phone has not only merged the multimedia function of MP3, MP4 etc., also begin to merge global positioning system (GPS) function etc., make that the intension of portable terminal is more and more wide in range, people are also increasing to the dependence of portable terminal in daily life.
If but people should carry portable terminal such as mobile phone at the volley, need to carry amount of exercise measurement equipment such as electronic pedometer again, make troubles for people's motion.
Summary of the invention
In view of this, the technical problem to be solved in the present invention is, a kind of step recording method and device that is applied to portable terminal is provided, and can realize note step function in portable terminal.
For this reason, the embodiment of the invention adopts following technical scheme:
The embodiment of the invention provides a kind of step recording method that is applied to portable terminal, comprising:
Determine to begin note during the step, continue the current signal in the loudspeaker voice coil of portable terminal is detected, obtain the note effective current signal in step;
Measure in the described effective current signal sinusoidal wave quantity, the step number value that the quantity of sine wave is advanced as mobile phone users.
The embodiment of the invention also provides a kind of note step device that is applied to portable terminal, comprising:
Detecting unit is used to determine to begin note during the step, continues the current signal in the loudspeaker voice coil of portable terminal is detected, and obtains the note effective current signal in step;
Measuring unit is used for measuring the sinusoidal wave quantity of described effective current signal, the step number value that the quantity of sine wave is advanced as mobile phone users.
Technique effect for technique scheme is analyzed as follows:
Obtain the note effective current signal in step by the current signal in the loudspeaker voice coil that detects portable terminal, and then the sinusoidal wave quantity of measurement effective current signal, obtain the step number value that mobile phone users is advanced, thereby realized portable terminal for user's counting of step number of advancing, thereby eliminated the trouble of the motion inconvenience that the equipment that carries owing to the user too much causes.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of step recording method schematic flow sheet that is applied to portable terminal of the embodiment of the invention;
Fig. 2 is the structural representation of embodiment of the invention loud speaker;
Fig. 3 is applied to the step recording method schematic flow sheet of portable terminal for embodiment of the invention another kind;
Fig. 4 is applied to the note step apparatus structure schematic diagram of portable terminal for the embodiment of the invention is a kind of.
Embodiment
Below, be described with reference to the accompanying drawings the realization that the embodiment of the invention is applied to the step recording method and the device of portable terminal.
Wherein, the described step recording method of the embodiment of the invention and device can be applied to have arbitrarily in the portable terminal of loud speaker.
Fig. 1 as shown in Figure 1, comprising for the embodiment of the invention is applied to the step recording method schematic flow sheet of portable terminal:
Step 101: determine to begin note during the step, continue the current signal in the loudspeaker voice coil of portable terminal is detected, obtain the note effective current signal in step;
Step 102: measure in the described effective current signal sinusoidal wave quantity, the step number value that the quantity of sine wave is advanced as mobile phone users.
Determine that by the sinusoidal wave quantity of measuring in the effective current signal principle of mobile phone users progressive step numerical value is:
Center of gravity can move up and down when the people walked, that is to say the variation that can produce acceleration, studies show that the make a move similar sine wave of variation of acceleration in the road of people, as long as can detect the change curve of acceleration, just whether detection people that can be correct has walked how many steps in motion.
As shown in Figure 2, in the loud speaker of portable terminal, comprise magnet steel and voice coil loudspeaker voice coil.When center of gravity moves up and down in the mobile phone users gait processes, between magnet steel in the drive loud speaker and the voice coil loudspeaker voice coil relative motion takes place, thereby produce electric current by electromagnetic action in voice coil loudspeaker voice coil.The size of this electric current has also reflected the variation of acceleration in the mobile phone users gait processes, and that is to say: acceleration is big, and the electric current that voice coil loudspeaker voice coil produces is big, and acceleration is little, and the electric current that voice coil loudspeaker voice coil produces is little.Thereby the class of a curve of the electric current that produces in the voice coil loudspeaker voice coil is similar to sine wave, like this, as long as detect the variation of the electric current that voice coil loudspeaker voice coil produced in the loud speaker, can draw the step number value that mobile phone users is advanced.
Based on the explanation of above principle, the effective current signal in the step of note described in the step 101 is meant: relevant with detected current signal from the voice coil loudspeaker voice coil of loud speaker, record the advance current signal of step number feature of mobile phone users.Described effective current signal can be the current signal in the detected voice coil loudspeaker voice coil; Perhaps, the current signal in the detected voice coil loudspeaker voice coil is carried out the current signal that obtains after the processing and amplifying.
In the method shown in Figure 1, obtain the note effective current signal in step by the current signal that detects in the loudspeaker voice coil, and then the sinusoidal wave quantity of measurement effective current signal, obtain the step number value that mobile phone users is advanced, thereby realized that portable terminal is for the advance counting of step number of user, like this, make mobile phone users directly use can the advance counting of step number of portable terminal, need not to carry other equipment such as pedometer at the volley, thereby eliminated the trouble of the too much motion inconvenience that causes of equipment of carrying owing to the user.And, in the method, directly can obtain to remember the effective current signal in step by the loud speaker in the portable terminal, need not in portable terminal, to be provided with new passometer spare, realize simple.
On the basis of Fig. 1, by Fig. 3 the step recording method that the embodiment of the invention is applied to portable terminal is described in more detail, as shown in Figure 3, this method comprises:
Step 301: determine to begin note during the step, carry out timing remembering the duration in step, and, by lasting current signal in the loudspeaker voice coil of portable terminal is detected, obtain the effective current signal that note goes on foot.
Wherein, the current signal in the loudspeaker voice coil of portable terminal is detected by continuing described in this step, obtain the note step the effective current signal realization can for:
Continue to detect the current signal in the loudspeaker voice coil, the current signal in the voice coil loudspeaker voice coil that detection is obtained is as the note described effective current signal in step.
But, owing in the voice coil loudspeaker voice coil because the current signal that people's motion produces is comparatively faint, therefore, when the current signal that direct detection is obtained carries out the measurement of sine wave freuqency, difficulty comparatively.Therefore, the realization of this step can for:
Continue to detect the current signal in the portable terminal loudspeaker voice coil;
The current signal that detection is obtained carries out signal and amplifies, with the current signal after amplifying as the note effective current signal in step.
In addition, when the duration in note step is carried out timing, can write down the time started in step, thereby can obtain remembering by current time and difference between the time started in note step goes on foot the duration; Perhaps, also timer can be set, carry out timing when the note step begins, then the time of writing down in the timer is the duration in note step.
Step 302: measure the sinusoidal wave quantity of described effective current signal, the step number value that the quantity of described sine wave is advanced as the user.
Step 303: in each default computing cycle, calculate the relevant notes step parameters such as gait of march, travel distance of mobile phone users according to current step number value and duration in note step.
The gait of march of mobile phone users (step number/s)=step number value/time in note step;
Perhaps, can also preestablish the length of people's paces in advancing, thus can (step number/s) be calculated another kind of gait of march (m/s), and then calculates travel distance of mobile phone users etc. by paces length and gait of march.Specifically how to calculate, repeat no more here.
In addition, described relevant note step parameter can also comprise the calorie that the user consumes etc., does not give unnecessary details here.
Wherein, the length of described default computing cycle can independently be provided with in actual applications.Concrete, described periodic quantity can be preset in the portable terminal, perhaps also can the interface be set for the user provides, the length of described default computing cycle independently is set by the user.
Step 304: described step number value and described relevant note step parameter are shown to the user.
Wherein, when showing that to the user described step number value and relevant note go on foot parameter, because As time goes on, the numerical value of these parameters can change, therefore, continuing note in the step, needing constantly up-to-date step number value and relevant note step parameter value to be shown to the user.Specifically how to realize showing, repeat no more here to the user.
In method shown in Figure 3, except counting, can also further calculate other relevant note step parameters of user to user's the step number of advancing, show to the user, thereby go on foot service for the user provides more comprehensive note.
Corresponding with above-mentioned step recording method, the embodiment of the invention also provides a kind of note step device, and this note step device can be arranged in the portable terminal that has loud speaker.As shown in Figure 4, this note step device comprises:
Detecting unit 410 is used to determine to begin note during the step, continues the current signal in the loudspeaker voice coil of portable terminal is detected, and obtains the note effective current signal in step;
Measuring unit 420 is used for measuring the sinusoidal wave quantity of described effective current signal, the step number value that the quantity of sine wave is advanced as mobile phone users.
Wherein, detecting unit 410 specifically can be used for:
Determine to begin note during the step, continue the current signal in the loudspeaker voice coil of portable terminal is detected, the effective current signal that the current signal that detection is obtained goes on foot as note.
Perhaps, detecting unit 410 can also be realized by following structure:
Detection sub-unit is used to determine to begin note during the step, continues the current signal in the loudspeaker voice coil of portable terminal is detected;
Amplify subelement, the current signal that is used for that detection is obtained carries out signal and amplifies, with the current signal after amplifying as the note effective current signal in step.
Preferably, this note step device can also comprise:
Computing unit 430 is used at each default computing cycle, calculates the relevant note step parameter of mobile phone users according to current step number value, the duration in current note step.
Further, can also comprise:
Display unit 440 is used for described step number value and relevant note step parameter are shown to the user.
In the device shown in Figure 4, detecting unit obtains the note effective current signal in step by the current signal that detects in the loudspeaker voice coil, and then measuring unit is measured the sinusoidal wave quantity of effective current signal, obtain the step number value that mobile phone users is advanced, thereby realized for the advance counting of step number of mobile phone users, like this, make mobile phone users directly use can the advance counting of step number of portable terminal, need not to carry other equipment such as pedometer at the volley, thereby eliminated the trouble of the too much motion inconvenience that causes of equipment of carrying owing to the user.
One of ordinary skill in the art will appreciate that, realization the foregoing description is applied to the process of the step recording method of portable terminal and can finishes by the relevant hardware of program command, described program can be stored in the read/write memory medium, and this program is carried out the corresponding step in the said method when carrying out.Described storage medium can be as ROM/RAM, magnetic disc, CD etc.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a step recording method that is applied to portable terminal is characterized in that, comprising:
Determine to begin note during the step, continue the current signal in the loudspeaker voice coil of portable terminal is detected, obtain the note effective current signal in step;
Measure in the described effective current signal sinusoidal wave quantity, the step number value that the quantity of sine wave is advanced as mobile phone users.
2. method according to claim 1 is characterized in that, described continuing detects the current signal in the loudspeaker voice coil of portable terminal, and the step that obtains the effective current signal in note step comprises:
Continue the current signal in the loudspeaker voice coil of portable terminal is detected;
The effective current signal that the current signal that detection is obtained goes on foot as note.
3. method according to claim 1 is characterized in that, described continuing detects the current signal in the loudspeaker voice coil of portable terminal, and the step that obtains the effective current signal in note step also comprises:
Continue the current signal in the loudspeaker voice coil of portable terminal is detected;
The current signal that detection is obtained carries out signal and amplifies, with the current signal after amplifying as the note effective current signal in step.
4. according to each described method of claim 1 to 3, it is characterized in that, also comprise:
In each default computing cycle, according to the relevant note step parameter of current step number value and note step duration calculating mobile phone users.
5. method according to claim 4 is characterized in that, also comprises:
Described step number value and relevant note step parameter are shown to the user.
6. a note step device that is applied to portable terminal is characterized in that, comprising:
Detecting unit is used to determine to begin note during the step, continues the current signal in the loudspeaker voice coil of portable terminal is detected, and obtains the note effective current signal in step;
Measuring unit is used for measuring the sinusoidal wave quantity of described effective current signal, the step number value that the quantity of sine wave is advanced as mobile phone users.
7. device according to claim 6, it is characterized in that, described detecting unit is further used for determining to begin note during the step, continues the current signal in the loudspeaker voice coil of portable terminal is detected the effective current signal that the current signal that detection is obtained goes on foot as note.
8. device according to claim 6 is characterized in that, described detecting unit comprises:
Detection sub-unit is used to determine to begin note during the step, continues the current signal in the loudspeaker voice coil of portable terminal is detected;
Amplify subelement, the current signal that is used for that described detection is obtained carries out signal and amplifies, with the current signal after amplifying as the note effective current signal in step.
9. according to each described device of claim 6 to 8, it is characterized in that, also comprise:
Computing unit is used at each default computing cycle, according to the relevant note step parameter of current step number value and note step duration calculating mobile phone users.
10. device according to claim 9 is characterized in that, also comprises:
Display unit is used for described step number value and relevant note step parameter are shown to the user.
CN201010126044A 2010-03-15 2010-03-15 Step recording method and device applied to mobile terminal Pending CN101815112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010126044A CN101815112A (en) 2010-03-15 2010-03-15 Step recording method and device applied to mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010126044A CN101815112A (en) 2010-03-15 2010-03-15 Step recording method and device applied to mobile terminal

Publications (1)

Publication Number Publication Date
CN101815112A true CN101815112A (en) 2010-08-25

Family

ID=42622227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010126044A Pending CN101815112A (en) 2010-03-15 2010-03-15 Step recording method and device applied to mobile terminal

Country Status (1)

Country Link
CN (1) CN101815112A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946477A (en) * 2012-10-31 2013-02-27 广东欧珀移动通信有限公司 Calorie consumption calculating method based on mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120688A (en) * 2002-09-30 2004-04-15 Mitsumi Electric Co Ltd Mobile telephone set with pedometer function
CN2781660Y (en) * 2005-04-13 2006-05-17 赵涛 Mobile phone with step-counting function
CN1815145A (en) * 2005-01-31 2006-08-09 英华达(上海)电子有限公司 Method for realizing intelligent pedimenter in mobile phone and moible phone realizing same
CN1909699A (en) * 2006-08-01 2007-02-07 华为技术有限公司 Method and device for realizing mobile terminal step function
CN201173783Y (en) * 2008-03-18 2008-12-31 林汉荣 Pedometer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120688A (en) * 2002-09-30 2004-04-15 Mitsumi Electric Co Ltd Mobile telephone set with pedometer function
CN1815145A (en) * 2005-01-31 2006-08-09 英华达(上海)电子有限公司 Method for realizing intelligent pedimenter in mobile phone and moible phone realizing same
CN2781660Y (en) * 2005-04-13 2006-05-17 赵涛 Mobile phone with step-counting function
CN1909699A (en) * 2006-08-01 2007-02-07 华为技术有限公司 Method and device for realizing mobile terminal step function
CN201173783Y (en) * 2008-03-18 2008-12-31 林汉荣 Pedometer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946477A (en) * 2012-10-31 2013-02-27 广东欧珀移动通信有限公司 Calorie consumption calculating method based on mobile terminal
CN102946477B (en) * 2012-10-31 2014-09-10 广东欧珀移动通信有限公司 Calorie consumption calculating method based on mobile terminal

Similar Documents

Publication Publication Date Title
CN102927451B (en) Method for detecting tiny leakage of oil transmission pipeline
US11144163B2 (en) Capacitance detection method of touch display panel, capacitance detection circuit of touch display panel, and electronic device
CN104539009B (en) charging management method and device
CN109994127B (en) Audio detection method and device, electronic equipment and storage medium
EP1605232A3 (en) Method and apparatus for measuring magnetic offset of geomagnetic sensor and portable electronic apparatus
CN103218889A (en) Body-separating alarm terminal and realization method thereof
JP2007213548A5 (en)
CN103631375B (en) According to the method and apparatus of the Situation Awareness control oscillation intensity in electronic equipment
CN102200542A (en) Free fall detection system for protecting hard drives in mobile devices
US20160271449A1 (en) Method, Apparatus and Mobile Phone for Calculating Amount of Exercise
CN108831508A (en) Voice activity detection method, device and equipment
CN109073496A (en) System and method for monitoring pressure transient and pipe explosion
CN100531424C (en) Method and device for realizing mobile terminal step function
KR20140144499A (en) Method and apparatus for quality measurement of sleep using a portable terminal
CN108735218A (en) voice awakening method, device, terminal and storage medium
US9008639B2 (en) Controlling audio of a device
CN101655183A (en) Land marking method and land making system of pipe interior detector
EP1796098A3 (en) Apparatus and method for reproducing audio signal
CN110599989A (en) Audio processing method, device and storage medium
CN109243426A (en) A kind of automatization judgement voice false wake-up system and its judgment method
CN105337368B (en) terminal charging method and device
CN101815112A (en) Step recording method and device applied to mobile terminal
CN104546452A (en) Medicine box detection device and method and intelligent medicine box
CN103344703A (en) Method for detecting type of medium material of part for receiving terminal equipment
CN113137913B (en) Electronic equipment and included angle detection method applied to electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100825