Voice recognition function realizing method and device
First 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.
1 Assignment
0 Petitions
Accused Products
Abstract
The embodiment of the present invention provides a method for realizing a voice recognition function, including: setting a corresponding relationship between the attitude parameter of a mobile terminal body and a voice recognition mode (S10); if a gravity sensor in the mobile terminal detects that a change of the attitude parameter of the mobile terminal body 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 (S20). Through self-adaptively switching the voice recognition mode of the mobile terminal, the voice recognition function of the mobile terminal can be made to free the hands of a user to the greatest extent and save power consumption. An apparatus for realizing the voice recognition function corresponding to the method is also disclosed.
8 Citations
4 Claims
-
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. - View Dependent Claims (2)
-
-
3. An apparatus for realizing a voice recognition function, comprising:
-
a setting module, configured to;
set a corresponding relationship between an attitude parameter of a mobile terminal body and a voice recognition mode; anda switching module, configured to;
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, switch the voice recognition mode, and perform 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, the setting module is configured to;
set 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. - View Dependent Claims (4)
-
Specification