CN105571610B - A kind of method and device of setting pedometer parameter - Google Patents

A kind of method and device of setting pedometer parameter Download PDF

Info

Publication number
CN105571610B
CN105571610B CN201610171593.7A CN201610171593A CN105571610B CN 105571610 B CN105571610 B CN 105571610B CN 201610171593 A CN201610171593 A CN 201610171593A CN 105571610 B CN105571610 B CN 105571610B
Authority
CN
China
Prior art keywords
pedometer
heart rate
terminal
threshold value
shake
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.)
Expired - Fee Related
Application number
CN201610171593.7A
Other languages
Chinese (zh)
Other versions
CN105571610A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610171593.7A priority Critical patent/CN105571610B/en
Publication of CN105571610A publication Critical patent/CN105571610A/en
Application granted granted Critical
Publication of CN105571610B publication Critical patent/CN105571610B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Manufacturing & Machinery (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A method of setting pedometer parameter, including:Utilize the current heart rate of heart rate sensor detection user;When the current heart rate of user is higher than heart rate threshold, the shake of acceleration transducer detection terminal is utilized;According to the threshold value of the shake update pedometer of the terminal.Corresponding device is also provided.The technical solution can update the threshold value of pedometer, improve the accuracy of pedometer, error count is avoided to walk when the current heart rate of user is higher than heart rate threshold.

Description

A kind of method and device of setting pedometer parameter
Technical field
The present invention relates to pedometer technical fields, and in particular to a kind of method and device of setting pedometer parameter.
Background technology
Currently, the application of pedometer is more and more extensive.Pedometer is by counting the number such as step number, distance, speed, time According to measuring and calculating calorie or heat consumption prevent amount of exercise insufficient or a kind of tool of excessive movement to control amount of exercise.
The threshold values of pedometer meter step all uses fixed value at present, when the shake of such as mobile phone of the terminal including counter is more than When this threshold value, it is believed that user is walking, otherwise it is assumed that not walking.
But practice finds that the motion conditions of user are different, and the jitter amplitude of mobile phone is also what there is a big difference, for example is used When family is run, when the initial data variation of pedometer is often walked than user greatly, change frequency also can be faster. If be all by the fixed value of a standard come in terms of walk, shake it is bigger, chattering frequency than it is very fast when, just often Error count can be caused to walk, influence the accuracy of pedometer.
Invention content
The embodiment of the present invention provides a kind of method and device of setting pedometer parameter, for being updated according to the shake of terminal The threshold value of pedometer improves the accuracy of pedometer.
To solve above-mentioned technical problem and reach above-mentioned advantageous effect, the present invention provides a kind of side of setting pedometer parameter Method, including:Utilize the current heart rate of heart rate sensor detection user;When the current heart rate of user is higher than heart rate threshold, utilize The shake of acceleration transducer detection terminal;According to the threshold value of the shake update pedometer of the terminal.
The present invention also provides a kind of devices of setting pedometer parameter, including:Heart rate detection module, for being passed using heart rate Sensor detects the current heart rate of user;Shaking detection module, for when the current heart rate of user is higher than heart rate threshold, using adding The shake of velocity sensor detection terminal;Setup module, the threshold value for updating pedometer according to the shake of the terminal.
The present invention also provides a kind of memory of the one or more programs of storage, when one or more of programs by including When the terminal of one or more processors executes, the terminal is made to execute the method that pedometer parameter is set as described above.
The present invention also provides a kind of terminals, including:Multiple processors;Memory;Transceiver;It is stored in the memory One or more programs, the multiple processor are connect with memory by bus, when the terminal operating, the multiple place Reason device executes the program of the memory storage, so that the terminal executes the side of setting pedometer parameter as described above Method.
Compared with the prior art, the present invention is higher than heart rate threshold using the current heart rate of detection user in the current heart rate of user When value, using the shake of acceleration transducer detection terminal, according to the technology of the threshold value of the shake update pedometer of the terminal Scheme can update the threshold value of pedometer, improve the accurate of pedometer when the current heart rate of user is higher than heart rate threshold Property, avoid error count from walking.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to institute in embodiment and description of the prior art Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow diagram of the method for setting pedometer parameter provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the device of setting pedometer parameter provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the device of another setting pedometer parameter provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention provides a kind of method of setting pedometer parameter, for updating pedometer according to the shake of terminal Threshold value, improve the accuracy of pedometer.The embodiment of the present invention also provides corresponding device.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
Below by specific embodiment, it is described in detail respectively.
Embodiment one,
Referring to FIG. 1, the embodiment of the present invention provides a kind of method of setting pedometer parameter, it may include:
101, the current heart rate of heart rate sensor detection user is utilized.
When pedometer detects user on foot, indicate that the current shake of terminal has been more than the valve being currently set Value, such as 450mg, it is the threshold values set when manufacture to give tacit consent to the threshold values.
When the rhythm of the heart sensor being arranged on user's touch terminal, interruption, the current rhythm of the heart of detection user can be triggered.
102, when the current heart rate of user is higher than heart rate threshold, the shake of acceleration transducer detection terminal is utilized.
Rhythm of the heart when if the rhythm of the heart detected is static, such as 50-90, then illustrating that user movement is not acute Strong, this when, the threshold values of pedometer just uses the relatively low threshold values of factory default, is not required to update.If the rhythm of the heart is higher, than It such as says that highest heart rate reaches 120 or so, has been more than heart rate threshold, then illustrate that user movement is more violent, this when, mobile phone Jitter amplitude and frequency can be bigger, if again by lower threshold values come in terms of if step, be easy for occurring count step, this When, it should just improve the meter step threshold values of pedometer.
Wherein, heart rate threshold can be set according to the actual conditions of user, acquiescence, and heart rate threshold when manufacture for example may be used To be set as 100 or 110 etc..
The setting of the threshold values of pedometer when movement will detect the shake of user in real time, subsequently by acceleration transducer It will be according to the threshold value of the shake update pedometer detected.
103, according to the threshold value of the shake update pedometer of the terminal.
In the embodiment of the present invention, the average jitter of the terminal whithin a period of time can be calculated;It calculates and described averagely trembles The dynamic difference for subtracting predetermined fixed value;Judge whether the difference is more than the threshold value of the pedometer;If so, updating the meter Walk the threshold value of device.
Wherein it is possible to calculate average jitter of the terminal on three axis whithin a period of time.Such as use formulaTo calculate, wherein x, y, z indicate that the shake when placement static relative to mobile phone of three axis becomes Change amount.Average jitter S indicates the average jitter when running of the user.
Optionally, the predetermined fixed value can be n*32mg, and n is positive integer, and 32mg is the minimum threshold values tune of pedometer Whole unit.Preferably, n is equal to 2.
By calculating (S-n*32mg), it is then possible to judge that (S-n*32mg) is more than the current threshold value of pedometer, typically Judge whether paces shake (S-n*32mg) is more than threshold values when pedometer fixes manufacture, if it does, so illustrating to need Improve the triggering threshold values of pedometer;Threshold values when if it is less than manufacture, then being not necessarily to reset pedometer threshold values.
Optionally, the difference (S-n*32mg) can be updated to the threshold value of the pedometer.
Through the above scheme, threshold values can be triggered pedometer is arranged so that pedometer according to user's actual motion situation Meter step is more accurate.
It is appreciated that said program of the embodiment of the present invention such as can in mobile phone terminal device be embodied.
Therefore in some feasible embodiments of the present invention, using the current heart rate of detection user, in user When current heart rate is higher than heart rate threshold, using the shake of acceleration transducer detection terminal, more according to the shake of the terminal The technical solution of the threshold value of new pedometer can update the threshold of pedometer when the current heart rate of user is higher than heart rate threshold Value, improves the accuracy of pedometer, error count is avoided to walk.
In order to preferably implement the said program of the embodiment of the present invention, it is also provided below and implements said program for coordinating Relevant apparatus.
Embodiment two,
Referring to FIG. 2, the embodiment of the present invention provides a kind of device of setting pedometer parameter, it may include:
Heart rate detection module 201, for utilizing the current heart rate of heart rate sensor detection user;
Shaking detection module 202, for when the current heart rate of user is higher than heart rate threshold, being examined using acceleration transducer Survey the shake of terminal;
Setup module 203, the threshold value for updating pedometer according to the shake of the terminal.
Referring to FIG. 3, in some embodiments, the setup module 203 may include:
First computing unit 2031, the average jitter for calculating the terminal whithin a period of time;
Second computing unit 2032, the difference of predetermined fixed value is subtracted for calculating the average jitter;
Judging unit 2033, for judging whether the difference is more than the threshold value of the pedometer;
Updating unit 2034 updates the threshold value of the pedometer if being judged as YES for the judging unit.
In some embodiments, the updating unit 2034, specifically for the difference is updated to the pedometer Threshold value.
In some embodiments, first computing unit 2031 is specifically used for calculating the terminal whithin a period of time Average jitter on three axis.
In some embodiments, the predetermined fixed value is n*32mg, and n is positive integer.
The device of embodiment of the present invention terminal device such as can be mobile phone.
It is appreciated that the function of each function module of the device of the setting pedometer parameter of the embodiment of the present invention can basis Method specific implementation in above method embodiment, specific implementation process can refer to the correlation in above method embodiment and retouch It states, details are not described herein again.
Therefore in some feasible embodiments of the present invention, using the current heart rate of detection user, in user When current heart rate is higher than heart rate threshold, using the shake of acceleration transducer detection terminal, more according to the shake of the terminal The technical solution of the threshold value of new pedometer can update the threshold of pedometer when the current heart rate of user is higher than heart rate threshold Value, improves the accuracy of pedometer, error count is avoided to walk.
Embodiment three,
The embodiment of the present invention also provides a kind of memory of the one or more programs of storage, when one or more of programs When being executed by the terminal including one or more processors, the terminal is made to execute setting pedometer parameter as described above Method.
Example IV,
Referring to FIG. 3, the embodiment of the present invention also provides a kind of terminal 400, which may include:Processor 401;It deposits Reservoir 402;Transceiver 403;One or more programs 405, the processor 401 and storage are stored in the memory 402 Device 402 is connected by bus 404, and when the terminal 400 is run, the processor 401 executes the storage of the memory 402 Program 405, so that the method that the terminal 400 executes setting pedometer parameter as described above.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, may refer to the associated description of other embodiments.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by described sequence of movement because according to According to the present invention, certain steps may be used other sequences or be carried out at the same time.Next, those skilled in the art should also know that, Embodiment described in this description belongs to preferred embodiment, and not necessarily the present invention must for involved action and module Must.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:ROM, RAM, disk or CD etc..
The method and device for being provided for the embodiments of the invention setting pedometer parameter above is described in detail, this Specific case is applied in text, and principle and implementation of the present invention are described, the explanation of above example is only intended to It facilitates the understanding of the method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the present invention.

Claims (10)

1. a kind of method of setting pedometer parameter, which is characterized in that including:
Utilize the current heart rate of heart rate sensor detection user;
When the current heart rate of user is higher than heart rate threshold, the shake of acceleration transducer detection terminal is utilized;
According to the threshold value of the shake update pedometer of the terminal.
2. according to the method described in claim 1, it is characterized in that, the threshold of the shake update pedometer according to the terminal Value includes:
Calculate the average jitter of the terminal whithin a period of time;
Calculate the difference that the average jitter subtracts predetermined fixed value;
Judge whether the difference is more than the threshold value of the pedometer;
If so, updating the threshold value of the pedometer.
3. according to the method described in claim 2, it is characterized in that, the threshold value for being updated to the pedometer includes:By institute State the threshold value that difference is updated to the pedometer.
4. according to the method described in claim 2, it is characterized in that, it is described calculating whithin a period of time being averaged for the terminal tremble It is dynamic to include:
Calculate average jitter of the terminal on three axis whithin a period of time.
5. according to the method described in claim 2, it is characterized in that,
The predetermined fixed value is n*32mg, and n is positive integer, and 32mg is that the minimum threshold values of pedometer adjusts unit.
6. a kind of device of setting pedometer parameter, which is characterized in that including:
Heart rate detection module, for utilizing the current heart rate of heart rate sensor detection user;
Shaking detection module, for when the current heart rate of user is higher than heart rate threshold, utilizing acceleration transducer detection terminal Shake;
Setup module, the threshold value for updating pedometer according to the shake of the terminal.
7. device according to claim 6, which is characterized in that the setup module includes:
First computing unit, the average jitter for calculating the terminal whithin a period of time;
Second computing unit subtracts the difference of predetermined fixed value for calculating the average jitter;
Judging unit, for judging whether the difference is more than the threshold value of the pedometer;
Updating unit updates the threshold value of the pedometer if being judged as YES for the judging unit.
8. device according to claim 7, which is characterized in that the updating unit, specifically for the difference is updated For the threshold value of the pedometer.
9. device according to claim 7, which is characterized in that first computing unit is specifically used for calculating at one section Average jitter of the terminal on three axis in time.
10. device according to claim 7, which is characterized in that
The predetermined fixed value is n*32mg, and n is positive integer, and 32mg is that the minimum threshold values of pedometer adjusts unit.
CN201610171593.7A 2016-03-24 2016-03-24 A kind of method and device of setting pedometer parameter Expired - Fee Related CN105571610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610171593.7A CN105571610B (en) 2016-03-24 2016-03-24 A kind of method and device of setting pedometer parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610171593.7A CN105571610B (en) 2016-03-24 2016-03-24 A kind of method and device of setting pedometer parameter

Publications (2)

Publication Number Publication Date
CN105571610A CN105571610A (en) 2016-05-11
CN105571610B true CN105571610B (en) 2018-07-27

Family

ID=55882011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610171593.7A Expired - Fee Related CN105571610B (en) 2016-03-24 2016-03-24 A kind of method and device of setting pedometer parameter

Country Status (1)

Country Link
CN (1) CN105571610B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106092130B (en) * 2016-06-24 2019-02-19 Oppo广东移动通信有限公司 Step-recording method, device and the mobile terminal of pedometer
CN109238299A (en) * 2018-07-16 2019-01-18 努比亚技术有限公司 A kind of step-recording method, wearable device and computer readable storage medium
CN109288210A (en) * 2018-08-01 2019-02-01 北京昊泽管理咨询有限公司 A kind of collecting method, device, equipment and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165088A (en) * 2009-01-14 2010-07-29 Seiko Epson Corp Pedometer, and method of counting steps
JP2011147509A (en) * 2010-01-19 2011-08-04 Parama Tec:Kk Composite apparatus including electrocardiograph or heart rate meter and pedometer
JP2012008637A (en) * 2010-06-22 2012-01-12 Yamaha Corp Pedometer and program
JP5915285B2 (en) * 2012-03-15 2016-05-11 セイコーエプソン株式会社 Status detection device, electronic device, measurement system, and program
JP5724976B2 (en) * 2012-09-20 2015-05-27 カシオ計算機株式会社 Exercise information detection apparatus, exercise information detection method, and exercise information detection program
CN103759738A (en) * 2013-12-31 2014-04-30 北京超思电子技术股份有限公司 Step counter
FI125723B (en) * 2014-07-11 2016-01-29 Suunto Oy Portable activity monitoring device and associated process
CN104605827B (en) * 2015-01-15 2016-11-23 辛勤 The determination methods of a kind of human body strenuous exercise state and device

Also Published As

Publication number Publication date
CN105571610A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
TWI518304B (en) A step counting method and pedometer based on 3-axis accelerometer
US9367119B2 (en) System and method to reduce power consumption in a multi-sensor environment
CN105571610B (en) A kind of method and device of setting pedometer parameter
KR100978051B1 (en) System and method for adjusting step detection based on motion information
JP2015141557A (en) input device
JP6730169B2 (en) Speed estimation system
KR20130138321A (en) Systems, methods, and apparatuses for classifying user activity using combining of likelihood function values in a mobile device
US20170067933A1 (en) Pedometer With Lag Correction
CN108007475B (en) MEMS device testing system and method
CN104713566B (en) A kind of step-recording method, step count set and pedometer
WO2012169051A1 (en) Drop determining apparatus and drop determining method
EP2910954B1 (en) Method for counting steps and electronic apparatus using the same
JP2009266060A (en) Pedometer
US10982971B2 (en) Method and apparatus for detecting background noise of sensor
CN104122440A (en) Method for sensing crystal oscillator frequency shift
JP2017192563A (en) Activity meter and exercise amount calculation device
KR102401189B1 (en) Apparatus and method of calculating air change rate
CN101470130B (en) Method of detecting free fall and apparatus to detect free fall using the method
WO2016165333A1 (en) Method and apparatus for realizing step counting
CN108225368B (en) Step counting device and step counting method
CN103505195B (en) Method and device for measuring human body pulse and mobile terminal
TWI680382B (en) Electronic device and pose calibration method thereof
TWI702378B (en) Step counter devices and step counting methods
CN107192402A (en) A kind of step-recording method and device
CN113302451B (en) Method for reading data from an inertial sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180727