Summary of the invention
Technical matters to be solved by this invention is to provide a kind of, and the good combination that it can realize speech recognition technology and application program of mobile phone realizes that the user passes through the purpose of voice direct game program, in order to reach the purpose of game.
The present invention solves above-mentioned technical matters by following technical proposals: the application process of a kind of speech recognition technology in mobile phone games, it is characterized in that, and it comprises the following steps:
Step 1: start the mobile phone games application program that speech recognition software is installed;
Step 2: detect speech recognition program and start this program when game is opened, setting up linking of this speech recognition program and mobile phone games application program;
Step 3: after entering game, speech recognition program obtains user's phonetic entry and it is carried out denoising, extracts phonetic feature by mobile phone microphone, carries out similarity calculating and pattern match, last Output rusults;
Step 4: the result of speech recognition program flows to the mobile phone games application program, and the mobile phone games application program is made corresponding game action according to the voice output result.
Positive progressive effect of the present invention is: the present invention can realize the good combination of speech recognition technology and application program of mobile phone, realize that the user passes through the purpose of voice direct game program, in order to reach the purpose of game, and to handle the combination of voice operating and keyboard operation or touch screen operation well in this process, increase user's experience.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
As shown in Figure 1, the application process of speech recognition technology of the present invention in mobile phone games comprises the following steps:
Step 1: start the mobile phone games application program that speech recognition software is installed;
Step 2: detect speech recognition program and start this program when game is opened, setting up linking of this speech recognition program and mobile phone games application program;
Step 3: after entering game, speech recognition program obtains user's phonetic entry and it is carried out denoising, extracts phonetic feature by mobile phone microphone, carries out similarity calculating and pattern match, last Output rusults;
Step 4: the result of speech recognition program flows to the mobile phone games application program, and the mobile phone games application program is made corresponding game action according to the voice output result.
As shown in Figure 2, the processing procedure that the player inputs voice is as follows: the player inputs phonetic order by microphone, and speech recognition program is processed Output rusults to phonetic order, and game program in mobile phone compares result and game internal data, if there is respective behavior, carry out phonetic order; If there is no respective behavior, finish this behavior.
As shown in Figure 3, mobile phone is as follows to the processing procedure of voice: obtain the user speech input, speech recognition program is to phonetic order denoising, feature extraction, carry out similarity calculating and pattern match with speech database office, if there is corresponding result, Output rusults, if there is no corresponding result, end.
After handset starting mobile phone games application program, by game recognition software, judge whether that this mobile phone is equipped with speech recognition program simultaneously, if exist start speech recognition program simultaneously, and voice activated recognition function.In user's game process, obtain user's phonetic entry by speech recognition program, input message is carried out to the pre-service such as denoising, and then carry out feature extraction and matching, last Output rusults, game application is carried out user's operation by the output of speech recognition program.Such as, in a action game, the hero in game or leading role can arrange to realize its action by user's voice.During monster in running into game, when the user says particular words such as " attacks ", this leading role can make attack, if in firing area monster can come to harm so.Such as the game of the smart class of a simulation (take farm, class game in pasture be example), the user can realize the nursing of animal in the cultivated animals process by voice again, buying of feed etc., and making player's experience, it is more truly abundanter.
The present invention breaks through the mode of conventional mobile phone game by button or touch screen operate game, utilize the voice operating mobile phone games, make the mode of user's no longer simple dependence limbs in the mobile phone games process, allow user and mobile phone carry out alternately simultaneously, when realizing mobile phone artificial intelligence, greatly improve user's experience sense.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite that does not deviate from principle of the present invention and essence, can make various changes or modifications to these embodiments.Therefore, protection scope of the present invention is limited by appended claims.