Patent ID: 9542935
Date: 2017-01-10
CPC Classifications: G10L,H04M

Claim:
1. A method for realizing a voice recognition function, comprising: setting a corresponding relationship between an attitude parameter of a mobile terminal body and a voice recognition mode; when a change of the attitude parameter of the mobile terminal body detected by a gravity sensor in a mobile terminal satisfies a condition of switching the voice recognition mode, then switching the voice recognition mode, and performing voice recognition under the switched voice recognition mode; wherein, the attitude parameter of the mobile terminal body comprises an inclination angle of the mobile terminal body relative to a horizontal plane, and the voice recognition mode comprises a common mode and a voice wake-up mode; and wherein, setting a corresponding relationship between an attitude parameter of a mobile terminal body and a voice recognition mode comprises: setting a corresponding relationship between a range of the inclination angle of the mobile terminal body relative to the horizontal plane and the voice recognition mode, wherein: the inclination angle of the mobile terminal body relative to the horizontal plane belongs to a first angle interval, corresponding to the common mode of the voice recognition mode, and the inclination angle of the mobile terminal body relative to the horizontal plane belongs to a second angle interval, corresponding to the voice wake-up mode of the voice recognition mode; wherein the first angle interval is not intersected with the second angle interval.