Patent ID: 7702402

Claim:
A function control method for controlling the function of a terminal device, comprising: a movement parameter calculation process of calculating the value of a movement parameter of said terminal device, based upon a value detected by a sensor which detects a state of movement of said terminal device, wherein values of accelerations in the X direction and the Y direction, and values of magnetic fields in the X, Y and Z directions are detected by the sensor and a roll angle, a pitch angle, an X direction acceleration and a Y direction acceleration are calculated using the values detected; a movement parameter decision process of deciding whether or not the value of the movement parameter calculated by said movement parameter calculation process corresponds to an allocated motion shortcut, wherein Dynamic Programming Matching is carried out to determine if the value of the movement parameter corresponds to the allocated motion shortcut; and a function setting process of, if an affirmative decision is reached in said movement parameter decision process, setting a predetermined function which corresponds to said allocated motion shortcut to a state in which it can be utilized.