Patent ID: 7966148

Claim:
A non-transitory 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 programmed logic circuitry for repeatedly obtaining the acceleration data; a gravity direction acceleration calculator for, by using the acceleration data obtained by the acceleration data obtaining programmed logic circuitry, calculating a gravity direction acceleration acting in a gravity direction of the housing; a horizontal direction acceleration calculator for, by using the acceleration data obtained by the acceleration data obtaining programmed logic circuitry, calculating a horizontal direction acceleration acting in a horizontal direction perpendicular to the gravity direction of the housing; a first step count calculator for calculating a first step count in accordance with a change in the gravity direction acceleration; a second step count calculator for calculating a second step count in accordance with a change in the horizontal direction acceleration; and a step count programmed logic circuitry for performing an operation based on at least one of the first step count and the second step count.