Patent ID: 7684958
Filing Date: 2010-03-23
Classification: G01C

Abstract:
1. A computer-readable storage medium having stored therein a step count calculation program which is executed by a computer in an apparatus for, by using acceleration data outputted from an acceleration sensor for detecting accelerations acting on a given housing, calculating a number of steps made by a user carrying the housing, the computer-readable storage medium having stored therein the step count calculation program which causes the computer to function as: acceleration data obtaining means for repeatedly obtaining the acceleration data; gravity direction acceleration calculation means for, by using the acceleration data obtained by the acceleration data obtaining means, calculating a gravity direction acceleration acting in a gravity direction of the housing; horizontal direction acceleration calculation means for, by using the acceleration data obtained by the acceleration data obtaining means, calculating a horizontal direction acceleration acting in a horizontal direction perpendicular to the gravity direction of the housing; first step count calculation means for, by using a first coefficient, calculating a first step count in accordance with a change in the gravity direction acceleration; second step count calculation means for, by using a second coefficient which is different from the first coefficient, calculating a second step count in accordance with a change in the horizontal direction acceleration; and step count selection means for, based on a predetermined condition, selecting one of the first step count and the second step count as a user's step count.