Unlock instant, AI-driven research and patent intelligence for your innovation.

Step counting method based on Android step counting sensor

A pedometer sensor and pedometer technology, applied to instruments, measuring devices, surveying and navigation, etc., can solve the problems of inconsistency, inconsistency of built-in step counts in mobile phones, different power consumption of mobile phones, etc., and achieve high accuracy.

Inactive Publication Date: 2019-01-01
SHANGHAI YIBAO HEALTH MANAGEMENT CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Different step counting schemes have their own advantages and disadvantages: first, because of the different schemes, we can often see that the number of steps obtained by different apps is not the same, and it is also inconsistent with the built-in step count statistics of the mobile phone; second, different schemes , the power consumption of the mobile phone is also different. For example, the monitoring algorithm of peaks and valleys requires the power consumption generated by the APP running in the background for a long time, such as the hardware power consumption easily generated by GPS monitoring.
The advantages and disadvantages of various solutions prompt developers to continuously explore and innovate in mobile phone step counting

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Step counting method based on Android step counting sensor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solution of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments, and the following embodiments do not constitute a limitation of the present invention.

[0030] The present embodiment provides a kind of pedometer method based on Android pedometer sensor, is applicable to the application of Android mobile phone, at first, the pedometer sensor defined in the system of Android mobile phone has two types:

[0031] The first category, TYPE_STEP_COUNTER, is a step recorder. It records the cumulative value of the system's historical steps since the phone was turned on. Once the phone is turned off and restarted, the accumulated value will be cleared to 0. The sensor is implemented in hardware with low power consumption and keeps counting steps in the background even when the app is not in running mode. When the application registers the sensor, it will receive the accumulated steps from t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a step counting method based on an Android step counting sensor. The step counting method comprises the following steps of receiving a system step number provided by the step counting sensor, wherein, when no data record is locally stored or the data record is not on the same day, a reference step number and an accumulative step number are equal to the system step number during initialization, and a compensatory step number is equal to 0; or, when the data record on the same day is locally stored and further a mobile phone is not restarted on the same day, resetting theaccumulative step number to be the system step number; or, when the data record on the same day is locally stored and further the mobile phone is restarted for the first time on the same day, resetting the compensatory step number to be the system step; or, when the data record on the same day is locally stored and further the mobile phone is restarted once again on the same day, resetting the accumulative step number to be the sum of a previous accumulative step number and a previous compensatory step number, wherein the compensatory step number is the system step number; and outputting a current sportive step number equal to the accumulative step number minus the reference step number plus the compensatory step number. By using the method, a step counting result can be enabled to more approach the step number of a system of the mobile phone; and moreover, the extra power consumption cannot be brought.

Description

technical field [0001] The invention belongs to the technical field of electronic applications, and in particular relates to a step counting method based on an Android step counting sensor. Background technique [0002] In daily life, people can see the number of steps they walk every day in many ways, such as: wearing a wristband and counting steps through the bracelet; for example, wearing shoes with a step counting function can also complete step counting; But one of the most common ways is to count steps through mobile phones. For smart phones are very popular today, counting steps through mobile phones is simple and economical. [0003] In mobile phone step counting, because it is impossible to accurately obtain the step count statistics of the Android system (Android), developers have found another way to try to implement the step counting solution by themselves. There are many known step counting schemes, such as the monitoring algorithm using the peak and valley of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G01C22/00
CPCG01C22/006
Inventor 毛晓飞
Owner SHANGHAI YIBAO HEALTH MANAGEMENT CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More