CN103246520A - Method and device for replacing language used by program - Google Patents

Method and device for replacing language used by program Download PDF

Info

Publication number
CN103246520A
CN103246520A CN2013101970231A CN201310197023A CN103246520A CN 103246520 A CN103246520 A CN 103246520A CN 2013101970231 A CN2013101970231 A CN 2013101970231A CN 201310197023 A CN201310197023 A CN 201310197023A CN 103246520 A CN103246520 A CN 103246520A
Authority
CN
China
Prior art keywords
language
voice
category
audio frequency
under
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013101970231A
Other languages
Chinese (zh)
Inventor
张啸
吴廷彬
陈臻
付力扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN2013101970231A priority Critical patent/CN103246520A/en
Publication of CN103246520A publication Critical patent/CN103246520A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)

Abstract

An embodiment of the invention discloses a method and a device for replacing a language used by a program to solve the problem that a current language setting method is complicated in toggle interface design and impedimental in application. The method includes the steps: acquiring voice; identifying the language type of the voice; and replacing the language used by the current program by the language of the voice when the language type of the voice belongs to language types which can be used by the current program. By the aid of the technical scheme, a complicated toggle interface does not need to be provided for a user, complicated design of the toggle interface is omitted, application impediment is avoided, and the user can more conveniently set the language used by the program.

Description

A kind of method and device of changing the language of program use
Technical field
The present invention relates to language technical field is set, relate in particular to a kind of method and device of changing the language of program use.
Background technology
At present, a lot of softwares are all supported multilingual, and the function of switch languages also can be provided simultaneously, and general way is that the tabulation of listing institute's supporting language is selected for the user.For example, the operating system of mobile phone can show with multilingual, as Chinese, English, Japanese etc.When the user switches to Chinese from English state, need under English linguistic context, find the option of changing language.
Present a kind of scheme is to list choice of language with literal, and such as " Chinese " " English ", in this scheme, terminal need provide the language interface switching to the user, shows multilingual option in the language interface switching, and the interface switching design is complicated; After the user chooses a kind of language, terminal switches to the language that the user chooses, if switched to unacquainted language because of carelessness, the user finds the interface that language is set to have any problem in software again, because may not be familiar with the meaning of navigation literal, the Capability Requirement of the user being grasped language is higher, has the obstacle on using.
Present another kind of scheme is to represent language with national flag to allow the user select, and in this scheme, terminal need provide the language interface switching to the user, shows a plurality of options of distinguishing with the national flag pattern in the language interface switching, and the interface switching design is complicated; And national flag and language may not be one to one, such as traditional Chinese and simplified, all are the Chinese flags; Simultaneously, if the user will arrange other language, also require the user to be familiar with the national flag of the corresponding country of this language, the user is grasped having relatively high expectations of national flag knowledge, have the obstacle on using.
Therefore, there is the problem that has obstacle in interface switching design complexity, the application in present language setting method.
Summary of the invention
The embodiment of the invention provides a kind of method and device of changing the language of program use, has the problem that has obstacle in interface switching design complexity, the application in order to solve present language setting method.
The embodiment of the invention provides a kind of method of changing the language of program use, comprising:
Gather voice;
Identify the affiliated category of language of described voice;
When the category of language under the described voice belonged to the spendable category of language of present procedure, the language under the described voice be replaced by in the language that described present procedure is used.
Wherein, preferably, before the described collection voice, described method also can comprise:
Show the voice input prompt.
Wherein, preferably, before the described collection voice, described method also can comprise:
The instruction of reception voice collecting.
Wherein, preferably, the category of language under the described voice of described identification comprises:
The audio frequency of at least a language of described voice and storage is in advance carried out matching treatment;
Will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
Wherein, preferably, the category of language under the described voice of described identification comprises:
Described voice and the system program of storage in advance or the audio frequency of at least a language of application program are carried out matching treatment;
When the audio frequency that exists in the audio frequency of the system program of described storage in advance or at least a language of application program with described voice match, will with the audio frequency of described voice match under category of language, as the category of language under the described voice;
When the audio frequency that do not exist in the audio frequency of the system program of described storage in advance or at least a language of application program with described voice match, obtain the audio frequency of one or more language from the webserver, the audio frequency of described voice and described one or more language that obtain from the webserver is carried out matching treatment, and will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
Wherein, preferably, the category of language under the described voice of described identification comprises:
Obtain the audio frequency of one or more language from the webserver;
The audio frequency of described voice and described one or more language that obtain from the webserver is carried out matching treatment;
Will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
Wherein, preferably, described after the webserver obtains the audio frequency of one or more language, described method also can comprise:
Store the audio frequency of described one or more language that obtain from the webserver.
Wherein, preferably, described method also can comprise:
When the category of language under the described voice did not belong to the spendable category of language of described present procedure, output can't be changed the prompting of the language of described present procedure use.
The embodiment of the invention provides a kind of device of changing the language of program use, comprising:
Acquisition module is used for gathering voice;
Identification module is used for the affiliated category of language of the described voice of identification;
Change module, be used for when the category of language under the described voice belongs to the spendable category of language of present procedure, language under the described voice be replaced by in the language of described present procedure use.
Wherein, preferably, described device also can comprise:
The input prompt module is used for showing the voice input prompt.
Wherein, preferably, described device also can comprise:
Receiver module is used for receiving the voice collecting instruction.
Wherein, preferably, described identification module can comprise:
First matching unit is used for the audio frequency of at least a language of the system program of described voice and storage in advance or application program is carried out matching treatment;
First processing unit, be used for will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
Wherein, preferably, described identification module also can comprise:
Acquiring unit is for the audio frequency that obtains one or more language from the webserver;
Second matching unit, the audio frequency that is used for one or more language that described voice and described acquiring unit are obtained from the webserver carries out matching treatment;
Second processing unit, be used for will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
Wherein, preferably, described device also can comprise:
Memory module is used for the audio frequency of at least a language of storage system program in advance or application program; And store the audio frequency of one or more language that described second processing unit obtains from the webserver.
Wherein, preferably, described device also can comprise:
Change reminding module, be used for when the category of language under the described voice does not belong to the spendable category of language of described present procedure, output can't be changed the prompting of the language of described present procedure use.
The said method that the embodiment of the invention provides, the interface switching that does not need to provide complicated has been saved the somewhat complex design of interface switching to the user; In addition, only need the user to get final product to terminal input voice, the requirement of the user being grasped knowledge is lower, as long as the user knows some words of the language that uses or the pronunciation of word, does not have the obstacle in the application; And, only need the user to get final product to terminal input voice, saved other manually-operated, can make the user change the employed language of present procedure more easily, and, the user can make things convenient for the user to be provided with in maloperation under the situation of other Languages only knowing the employed language of replacing present procedure under the vocabulary situation of certain language like this, still can return the language of oneself being familiar with without any the setting of difficulty.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of writing, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of method flow diagram of changing the language of program use in the embodiment of the invention;
Fig. 2 is the method flow diagram of the language that the replacing program is used among the embodiment one;
Fig. 3 is the method flow diagram of the language that the replacing program is used among the embodiment two;
Fig. 4 is the method flow diagram of the language that the replacing program is used among the embodiment three;
Fig. 5 is the structure drawing of device of the language of first kind of replacing program use in the embodiment of the invention;
Fig. 6 is the structure drawing of device of the language of second kind of replacing program use in the embodiment of the invention;
Fig. 7 is the structure drawing of device of the language that the third replacing program is used in the embodiment of the invention;
Fig. 8 is the structure drawing of device of the language of the 4th kind of replacing program use in the embodiment of the invention;
Fig. 9 is the structure drawing of device of the language of the 5th kind of replacing program use in the embodiment of the invention;
Figure 10 is the structure drawing of device of the language of the 6th kind of replacing program use in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in restriction the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of method of changing the language of program use, may further comprise the steps S11-S13:
S11, collection voice.
Preferably, before S11, can receive the voice collecting instruction of (user) input, when receiving the voice collecting instruction, just begin to gather voice.The user can come to the instruction of terminal input voice collecting by a specific keys on the triggering terminal (hardkey or trigger a fixing button or other button of avoiding the user to search on the display interface in system),
Preferably, before S11, can also export phonetic entry prompting (execution sequence between this step and " receiving the voice collecting instruction of input " in no particular order), output phonetic entry prompting can be to show voice input prompt (character type or the prompting of picture type) by display screen, also can be to play phonetic entry prompting (prompting of sound type) by Audio Players.First kind of input prompt is that prompting user input has the word of certain specific meanings or the voice of word, such as showing " please use the language that will arrange to say " hello " " at display interface, at this moment the user we can say " hello " of Chinese, " Hello " of English; User input voice is just pointed out in second kind of input prompt, does not limit the implication of voice, such as showing " please use the language that will arrange to say arbitrary word or word " at display interface.
Category of language under S12, the identification voice.
Wherein, " language " in the embodiment of the invention refers to the language that various programs are commonly used, such as Chinese, English, Japanese, Korean etc.
Preferably, step S12 can be embodied as following mode:
The audio frequency of voice and at least a language is compared, identify the affiliated category of language of voice.Certainly except this mode, can also utilize the affiliated category of language of other means identification voice, all should be included within the protection domain of the present invention.
Particularly, " audio frequency of voice and at least a language is compared, identify the affiliated category of language of voice " can have following several embodiment:
Mode one, may further comprise the steps A1-A2:
Steps A 1, voice and the system program of storage in advance or the audio frequency of at least a language of application program are carried out matching treatment.
The audio frequency of at least a language of Cun Chu system program or application program in advance comprises word with certain specific meanings or the audio frequency of word.
Steps A 2, will with the audio frequency of voice match under category of language, as the category of language under the voice.
Mode one cooperates the implementation result of above-mentioned first kind of phonetic entry prompting preferable, specifically referring to embodiment one.
Mode two, may further comprise the steps B1-B3:
Step B1, voice and the system program of storage in advance or the audio frequency of at least a language of application program are carried out matching treatment.
The audio frequency of at least a language of Cun Chu system program or application program in advance comprises word with certain specific meanings or the audio frequency of word.
Step B2, when the audio frequency that exists in the audio frequency of the system program of storage in advance or at least a language of application program with voice match, will with the audio frequency of voice match under category of language, as the category of language under the voice.
Step B3, when the audio frequency that do not exist in the audio frequency of the system program of storage in advance or at least a language of application program with voice match, obtain the audio frequency of one or more language from the webserver, the audio frequency of voice and one or more language that obtain from the webserver is carried out matching treatment, and will with the audio frequency of voice match under category of language, as the category of language under the voice.
That is, in the mode two, if voice are not present in advance in the audio frequency of at least a language of the system program of storage or application program, then can connect network, at the audio frequency of network side search with voice match, thereby determine category of language under the voice.This shows, in the mode two, need not limit the implication of the voice of user's input, no matter which kind of implication the voice of user's input are, as long as can from the webserver, get access to the audio frequency that matches, just can determine the affiliated category of language of voice.
After the step B3, the audio frequency of one or more language that obtain from the webserver can also be stored, the audio frequency of storing in the terminal can be progressively improved like this.
Mode two cooperates the implementation result of above-mentioned second kind of phonetic entry prompting preferable, specifically referring to embodiment two.
Mode three, may further comprise the steps C1-C3:
Step C1, obtain the audio frequency of one or more language from the webserver;
Step C2, the audio frequency of voice and one or more language that obtain from the webserver is carried out matching treatment;
Step C3, will with the audio frequency of voice match under category of language, as the category of language under the voice.
That is, in the mode three, need not limit the implication of the voice of user's input, no matter which kind of implication the voice of user's input are, as long as can from the webserver, get access to the audio frequency that matches, just can determine the affiliated category of language of voice.
After the step C3, can also store the audio frequency of one or more language that obtain from the webserver, like this can be step by step with the audio storage of various language in terminal, when the technical scheme that the follow-up recycling embodiment of the invention provides is changed the language of present procedure use, can adopt aforesaid way two to carry out.
Mode three cooperates the implementation result of above-mentioned second kind of phonetic entry prompting preferable, specifically referring to embodiment three.
S13, when the category of language under the voice belongs to the spendable category of language of present procedure, the language under the voice be replaced by in the language that present procedure is used.
Program in the embodiment of the invention comprises system program, application program etc.
Preferably, when the category of language under the voice does not belong to the spendable category of language of present procedure, can also export the prompting of the language that can't change the present procedure use, this prompting can be character type or the prompting of picture type that shows at display screen, also can be the voice type prompting with player plays.
The said method that the embodiment of the invention provides, the interface switching that does not need to provide complicated has been saved the somewhat complex design of interface switching to the user; In addition, only need the user to get final product to terminal input voice, the requirement of the user being grasped knowledge is lower, as long as the user knows some words of the language that uses or the pronunciation of word, does not have the obstacle in the application; And, only need the user to get final product to terminal input voice, saved other manually-operated, can make the user change the employed language of present procedure more easily, and, the user can make things convenient for the user to be provided with in maloperation under the situation of other Languages only knowing the employed language of replacing present procedure under the vocabulary situation of certain language like this, still can return the language of oneself being familiar with without any the setting of difficulty.
With three embodiment the technical scheme that the embodiment of the invention provides is described below.
Embodiment one
As shown in Figure 2, embodiment one is a kind of embodiment of embodiment of the invention technical scheme, comprises the steps:
S21, terminal receive the voice collecting instruction of user's input.
S22, terminal show or play the phonetic entry prompting that this phonetic entry prompting is used for pointing out the user to import and has the word of certain specific meanings or the voice of word.
S23, terminal are opened the voice that microphone is gathered user's input.
The audio frequency of the system program that S24, terminal store voice and terminal in advance or at least a language of application program carries out matching treatment, will with the audio frequency of voice match under category of language, as the category of language under the voice.
S25, judge whether the category of language under the voice belongs to the spendable category of language of present procedure, if then continue step S26; Otherwise continue step S27.
S26, when the category of language under the voice belongs to the spendable category of language of present procedure, the language under the voice be replaced by in the language that present procedure is used.
S27, when the category of language under the voice does not belong to the spendable category of language of present procedure, output can't be changed the prompting of the language that present procedure uses.
Wherein, step S21 and S22 do not carry out the restriction of sequencing.
Among the embodiment one, the user will have the specific meanings that limits in advance to the voice of terminal input, such as " hello " " Hello "; Terminal also needs to store in advance multilingual audio frequency, and can only store the audio frequency with above-mentioned specific meanings.When needs are changed the language of present procedure use, can finish the replacing operation as long as the user imports corresponding voice to terminal, and the terminal storage amount can be smaller.
Embodiment two
As shown in Figure 3, embodiment two is another kind of embodiments of embodiment of the invention technical scheme, comprises the steps:
S31, terminal receive the voice collecting instruction of user's input.
S32, terminal show or play the phonetic entry prompting that this phonetic entry prompting is used for pointing out user input voice, but does not limit the implication of voice.
S33, terminal are opened the voice that microphone is gathered user's input.
The voice of importing among the step S33 can be arbitrary word or the words that will use language.
The audio frequency of the system program that S34, terminal store voice and terminal in advance or at least a language of application program carries out matching treatment, continues execution in step S35 when the audio frequency that exists in the audio frequency of at least a language of the system program of storage in advance or application program with voice match; When the audio frequency that do not exist in the audio frequency of the system program of storage in advance or at least a language of application program with voice match, continue execution in step S36.
S35, when the audio frequency that exists in the audio frequency of the system program of storage in advance or at least a language of application program with voice match, terminal will with the audio frequency of voice match under category of language, as the category of language under the voice, continue execution in step S37.
S36, when the audio frequency that do not exist in the audio frequency of the system program of storage in advance or at least a language of application program with voice match, terminal is obtained the audio frequency of one or more language from the webserver; Then, terminal is carried out matching treatment with the audio frequency of voice and one or more language that obtain from the webserver, terminal will with the audio frequency of voice match under category of language, as the category of language under the voice, continue execution in step S37.
S37, judge whether the category of language under the voice belongs to the spendable category of language of present procedure, if then continue step S38; Otherwise continue step S39.
S38, when the category of language under the voice belongs to the spendable category of language of present procedure, the language under the voice be replaced by in the language that present procedure is used.
S39, when the category of language under the voice does not belong to the spendable category of language of present procedure, output can't be changed the prompting of the language that present procedure uses.
Wherein, above-mentioned steps S31 and S32 do not carry out the restriction of sequencing.
In embodiment two, can there be step S32, namely do not export the phonetic entry prompting, the user is after having triggered voice collecting instruction corresponding key, directly to terminal input voice.
After the step S36, can also store the audio frequency of one or more language that obtain from the webserver.
Among the embodiment two, the user can arbitrarily import voice to terminal, and these voice do not need to have specific implication; Terminal need be stored multilingual audio frequency in advance, and the implication of audio frequency as far as possible comprehensively.When there not being can be with the audio frequency of voice match of input the time category of language under the voice of determining to import according to the audio frequency of one or more language that obtain from network side in the terminal; Further, terminal can also be stored the audio frequency that obtains from network side, namely in use can reach the audio frequency that progressively improves terminal storage.
Embodiment three
As shown in Figure 4, embodiment three is another embodiment of embodiment of the invention technical scheme, comprises the steps:
S41, terminal receive the voice collecting instruction of user's input.
S42, terminal show or play the phonetic entry prompting that this phonetic entry prompting is used for pointing out user input voice, but does not limit the implication of voice.
S43, terminal are opened the voice that microphone is gathered user's input.
S44, terminal are obtained the audio frequency of one or more language from the webserver.
S45, terminal carry out matching treatment with the audio frequency of voice and one or more language that obtain from the webserver, will with the audio frequency of voice match under category of language, as the category of language under the voice.
S46, judge whether the category of language under the voice belongs to the spendable category of language of present procedure, if then continue step S47; Otherwise continue step S48.
S47, when the category of language under the voice belongs to the spendable category of language of present procedure, the language under the voice be replaced by in the language that present procedure is used.
S48, when the category of language under the voice does not belong to the spendable category of language of present procedure, can also export the prompting that can't change the language that present procedure uses.
Wherein, above-mentioned steps S41 and S42 do not carry out the restriction of sequencing.
In embodiment three, can there be step S42, namely do not export the phonetic entry prompting, the user is after having triggered voice collecting instruction corresponding key, directly to terminal input voice.
Among the embodiment three, the user can arbitrarily import voice to terminal, and these voice do not need to have specific implication; Category of language under the voice that terminal is determined to import according to the audio frequency of one or more language that obtain from network side can be saved the storage space of terminal.
Above embodiment one, embodiment two and embodiment three, the interface switching that does not need to provide complicated has been saved the somewhat complex design of interface switching to the user; In addition, only need the user to get final product to terminal input voice, the requirement of the user being grasped knowledge is lower, as long as the user knows some words of the language that uses or the pronunciation of word, does not have the obstacle in the application; And, only need the user to get final product to terminal input voice, saved other manually-operated, can make the user change the employed language of present procedure more easily, and, the user can make things convenient for the user to be provided with in maloperation under the situation of other Languages only knowing the employed language of replacing present procedure under the vocabulary situation of certain language like this, still can return the language of oneself being familiar with without any the setting of difficulty.
Need to prove, the technical scheme that the embodiment of the invention provides is in practical programs, except " determining that voice belong to certain application categories that present procedure uses " and " determining that voice do not belong to the spendable category of language of present procedure ", also have special circumstances:
Such as " mama ", " haha " such voice are the general pronunciations of multilingual, can not determine it is to belong to which kind of language on earth, for another example, piano is " piano " in English, and it is about the same to pronounce in Japanese, and this moment, voice may match this bilingual simultaneously.Take place for fear of this situation, the user will avoid importing this type of general pronunciation as far as possible when the input voice, avoid occurring accurately changing the situation of language.
The method of the use language of the above-mentioned replacing program that the corresponding embodiment of the invention provides, as shown in Figure 5, the embodiment of the invention also provides a kind of device of changing the language of program use, comprising:
Acquisition module 51 is used for gathering voice;
Identification module 52 is used for the affiliated category of language of identification voice;
Change module 53, be used for when the category of language under the voice belongs to the spendable category of language of present procedure, language under the voice be replaced by in the language of present procedure use.
Preferably, as shown in Figure 6, said apparatus also can comprise:
Input prompt module 61 is used for output phonetic entry prompting.
Preferably, more as shown in Figure 6, said apparatus also can comprise:
Receiver module 62 is used for receiving the voice collecting instruction.
Preferably, as shown in Figure 7, the identification module 52 shown in above-mentioned Fig. 5 (or Fig. 6) can comprise:
First matching unit 521 is used for the audio frequency of at least a language of the system program of voice and storage in advance or application program is carried out matching treatment;
First processing unit 522, be used for will with the audio frequency of voice match under category of language, as the category of language under the voice.
Preferably, as shown in Figure 8, the identification module 52 shown in above-mentioned Fig. 5 (or Fig. 6) also can comprise:
Acquiring unit 523 is for the audio frequency that obtains one or more language from the webserver;
Second matching unit 524, the audio frequency that is used for one or more language that voice and described acquiring unit are obtained from the webserver carries out matching treatment;
Second processing unit 525, be used for will with the audio frequency of voice match under category of language, as the category of language under the voice.
Preferably, as shown in Figure 9, above-mentioned device shown in Figure 8 also can comprise:
Memory module 91 is used for the audio frequency of at least a language of storage system program in advance or application program; And store the audio frequency of one or more language that second processing unit 525 obtains from the webserver.
Preferably, as shown in figure 10, the device shown in above-mentioned Fig. 5 (or Fig. 6, Fig. 7, Fig. 8, Fig. 9) also can comprise:
Change reminding module 101, be used for when the category of language under the voice does not belong to the spendable category of language of present procedure, output can't be changed the prompting of the language of present procedure use.
The said apparatus that the embodiment of the invention provides can be built in the terminal, and this terminal can be terminal devices such as computer, mobile phone, panel computer.
The said apparatus that the embodiment of the invention provides, the interface switching that does not need to provide complicated has been saved the somewhat complex design of interface switching to the user; In addition, only need the user to get final product to terminal input voice, the requirement of the user being grasped knowledge is lower, as long as the user knows some words of the language that uses or the pronunciation of word, does not have the obstacle in the application; And, only need the user to get final product to terminal input voice, saved other manually-operated, can make the user change the employed language of present procedure more easily, and, the user can make things convenient for the user to be provided with in maloperation under the situation of other Languages only knowing the employed language of replacing present procedure under the vocabulary situation of certain language like this, still can return the language of oneself being familiar with without any the setting of difficulty.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make and carry out the sequence of operations step producing computer implemented processing at computing machine or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction that computing machine or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1. a method of changing the language of program use is characterized in that, comprising:
Gather voice;
Identify the affiliated category of language of described voice;
When the category of language under the described voice belonged to the spendable category of language of present procedure, the language under the described voice be replaced by in the language that described present procedure is used.
2. the method for claim 1 is characterized in that, before the described collection voice, described method also comprises:
Show the voice input prompt.
3. method as claimed in claim 1 or 2 is characterized in that, before the described collection voice, described method also comprises:
The instruction of reception voice collecting.
4. the method for claim 1 is characterized in that, the category of language under the described voice of described identification comprises:
Described voice and the system program of storage in advance or the audio frequency of at least a language of application program are carried out matching treatment;
Will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
5. the method for claim 1 is characterized in that, the category of language under the described voice of described identification comprises:
Described voice and the system program of storage in advance or the audio frequency of at least a language of application program are carried out matching treatment;
When the audio frequency that exists in the audio frequency of the system program of described storage in advance or at least a language of application program with described voice match, will with the audio frequency of described voice match under category of language, as the category of language under the described voice;
When the audio frequency that do not exist in the audio frequency of the system program of described storage in advance or at least a language of application program with described voice match, obtain the audio frequency of one or more language from the webserver, the audio frequency of described voice and described one or more language that obtain from the webserver is carried out matching treatment, and will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
6. the method for claim 1 is characterized in that, the category of language under the described voice of described identification comprises:
Obtain the audio frequency of one or more language from the webserver;
The audio frequency of described voice and described one or more language that obtain from the webserver is carried out matching treatment;
Will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
7. as claim 5 or 6 described methods, it is characterized in that described after the webserver obtains the audio frequency of one or more language, described method also comprises:
Store the audio frequency of described one or more language that obtain from the webserver.
8. the method for claim 1 is characterized in that, described method also comprises:
When the category of language under the described voice did not belong to the spendable category of language of described present procedure, output can't be changed the prompting of the language of described present procedure use.
9. a device of changing the language of program use is characterized in that, comprising:
Acquisition module is used for gathering voice;
Identification module is used for the affiliated category of language of the described voice of identification;
Change module, be used for when the category of language under the described voice belongs to the spendable category of language of present procedure, language under the described voice be replaced by in the language of described present procedure use.
10. device as claimed in claim 11 is characterized in that, described device also comprises:
The input prompt module is used for showing the voice input prompt.
11. as claim 11 or 12 described devices, it is characterized in that described device also comprises:
Receiver module is used for receiving the voice collecting instruction.
12. device as claimed in claim 9 is characterized in that, described identification module comprises:
First matching unit is used for the audio frequency of at least a language of the system program of described voice and storage in advance or application program is carried out matching treatment;
First processing unit, be used for will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
13. device as claimed in claim 9 is characterized in that, described identification module comprises:
Acquiring unit is for the audio frequency that obtains one or more language from the webserver;
Second matching unit, the audio frequency that is used for one or more language that described voice and described acquiring unit are obtained from the webserver carries out matching treatment;
Second processing unit, be used for will with the audio frequency of described voice match under category of language, as the category of language under the described voice.
14. as claim 12 or 13 described devices, it is characterized in that described device also comprises:
Memory module is used for the audio frequency of at least a language of storage system program in advance or application program; And store the audio frequency of one or more language that described second processing unit obtains from the webserver.
15. device as claimed in claim 9 is characterized in that, described device also comprises:
Change reminding module, be used for when the category of language under the described voice does not belong to the spendable category of language of described present procedure, output can't be changed the prompting of the language of described present procedure use.
CN2013101970231A 2013-05-24 2013-05-24 Method and device for replacing language used by program Pending CN103246520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101970231A CN103246520A (en) 2013-05-24 2013-05-24 Method and device for replacing language used by program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101970231A CN103246520A (en) 2013-05-24 2013-05-24 Method and device for replacing language used by program

Publications (1)

Publication Number Publication Date
CN103246520A true CN103246520A (en) 2013-08-14

Family

ID=48926054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101970231A Pending CN103246520A (en) 2013-05-24 2013-05-24 Method and device for replacing language used by program

Country Status (1)

Country Link
CN (1) CN103246520A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104505091A (en) * 2014-12-26 2015-04-08 湖南华凯文化创意股份有限公司 Human-machine voice interaction method and human-machine voice interaction system
CN104978015A (en) * 2014-04-14 2015-10-14 博世汽车部件(苏州)有限公司 Navigation system having language auto-adaptive function and control method thereof
CN105096950A (en) * 2014-05-22 2015-11-25 中兴通讯股份有限公司 File naming method, file naming device and terminal
CN105389162A (en) * 2014-09-09 2016-03-09 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN105511857A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 System language setting method and device
CN105758414A (en) * 2016-02-17 2016-07-13 广东小天才科技有限公司 Method and device for switching languages of vehicle navigation
CN106033355A (en) * 2016-05-24 2016-10-19 维沃移动通信有限公司 Language setting method and mobile terminal
CN106710586A (en) * 2016-12-27 2017-05-24 北京智能管家科技有限公司 Speech recognition engine automatic switching method and device
CN107704229A (en) * 2017-06-28 2018-02-16 浙江苏泊尔家电制造有限公司 Method, cooking apparatus and the computer-readable storage medium of speech play
CN108289252A (en) * 2017-12-29 2018-07-17 山东浪潮商用***有限公司 A kind of set-top box and method of switching system language
CN109240785A (en) * 2018-08-31 2019-01-18 维沃移动通信有限公司 A kind of method, terminal and storage medium that language is set
CN109949793A (en) * 2019-03-06 2019-06-28 百度在线网络技术(北京)有限公司 Method and apparatus for output information
CN109992330A (en) * 2017-12-28 2019-07-09 北京京东尚科信息技术有限公司 The method and apparatus for realizing the localization of modularization engineering
CN111487898A (en) * 2019-01-28 2020-08-04 智同科技股份有限公司 Voice control electrical equipment with language type discrimination

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829261A (en) * 2005-01-11 2006-09-06 Lg电子株式会社 Mobile terminal and system providing multilingual support
CN1856142A (en) * 2005-04-25 2006-11-01 三星电子株式会社 Method for setting main language in mobile terminal and mobile terminal implementing the same
CN101446018A (en) * 2008-11-17 2009-06-03 南京乐金熊猫电器有限公司 Washing device and control method thereof
US7949513B2 (en) * 2002-01-22 2011-05-24 Zi Corporation Of Canada, Inc. Language module and method for use with text processing devices
CN102298929A (en) * 2010-06-23 2011-12-28 上海博路信息技术有限公司 Call center subscriber recognition method based on voice recognition
CN102761655A (en) * 2011-04-29 2012-10-31 希姆通信息技术(上海)有限公司 System and method for automatically switching interface language of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949513B2 (en) * 2002-01-22 2011-05-24 Zi Corporation Of Canada, Inc. Language module and method for use with text processing devices
CN1829261A (en) * 2005-01-11 2006-09-06 Lg电子株式会社 Mobile terminal and system providing multilingual support
CN1856142A (en) * 2005-04-25 2006-11-01 三星电子株式会社 Method for setting main language in mobile terminal and mobile terminal implementing the same
CN101446018A (en) * 2008-11-17 2009-06-03 南京乐金熊猫电器有限公司 Washing device and control method thereof
CN102298929A (en) * 2010-06-23 2011-12-28 上海博路信息技术有限公司 Call center subscriber recognition method based on voice recognition
CN102761655A (en) * 2011-04-29 2012-10-31 希姆通信息技术(上海)有限公司 System and method for automatically switching interface language of mobile terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978015A (en) * 2014-04-14 2015-10-14 博世汽车部件(苏州)有限公司 Navigation system having language auto-adaptive function and control method thereof
CN105096950A (en) * 2014-05-22 2015-11-25 中兴通讯股份有限公司 File naming method, file naming device and terminal
CN105389162B (en) * 2014-09-09 2019-03-26 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN105389162A (en) * 2014-09-09 2016-03-09 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN104505091A (en) * 2014-12-26 2015-04-08 湖南华凯文化创意股份有限公司 Human-machine voice interaction method and human-machine voice interaction system
CN105511857A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 System language setting method and device
CN105758414A (en) * 2016-02-17 2016-07-13 广东小天才科技有限公司 Method and device for switching languages of vehicle navigation
CN106033355A (en) * 2016-05-24 2016-10-19 维沃移动通信有限公司 Language setting method and mobile terminal
CN106033355B (en) * 2016-05-24 2019-08-30 维沃移动通信有限公司 A kind of language setting method and mobile terminal
CN106710586A (en) * 2016-12-27 2017-05-24 北京智能管家科技有限公司 Speech recognition engine automatic switching method and device
CN106710586B (en) * 2016-12-27 2020-06-30 北京儒博科技有限公司 Automatic switching method and device for voice recognition engine
CN107704229A (en) * 2017-06-28 2018-02-16 浙江苏泊尔家电制造有限公司 Method, cooking apparatus and the computer-readable storage medium of speech play
CN109992330A (en) * 2017-12-28 2019-07-09 北京京东尚科信息技术有限公司 The method and apparatus for realizing the localization of modularization engineering
CN108289252A (en) * 2017-12-29 2018-07-17 山东浪潮商用***有限公司 A kind of set-top box and method of switching system language
CN109240785A (en) * 2018-08-31 2019-01-18 维沃移动通信有限公司 A kind of method, terminal and storage medium that language is set
CN111487898A (en) * 2019-01-28 2020-08-04 智同科技股份有限公司 Voice control electrical equipment with language type discrimination
CN109949793A (en) * 2019-03-06 2019-06-28 百度在线网络技术(北京)有限公司 Method and apparatus for output information

Similar Documents

Publication Publication Date Title
CN103246520A (en) Method and device for replacing language used by program
JP6068901B2 (en) Information terminal, voice operation program, and voice operation method
US6864809B2 (en) Korean language predictive mechanism for text entry by a user
CN103915095B (en) The method of speech recognition, interactive device, server and system
KR101586890B1 (en) Input processing method and apparatus
US20080256033A1 (en) Method and apparatus for distributed voice searching
US8069030B2 (en) Language configuration of a user interface
CN105719646A (en) Voice control music playing method and voice control music playing apparatus
CN103092337A (en) Electronic apparatus and method for controlling thereof
RU2008126782A (en) MOBILE COMMUNICATION TERMINAL AND HOW TO MANAGE ITS MENU
CN106104528A (en) Begin a project for screen and select and the method based on model of disambiguation
CN104599669A (en) Voice control method and device
CN106328176B (en) A kind of method and apparatus generating song audio
KR20140047633A (en) Speech recognition repair using contextual information
US10468004B2 (en) Information processing method, terminal device and computer storage medium
CN106202204A (en) The lookup method of a kind of voice document and mobile terminal
CN105426357A (en) Fast voice selection method
CN101833574B (en) Method and system for locating application programs
KR101947462B1 (en) Method and apparatus for providing short-cut number in a user device
CN109144285A (en) A kind of input method and device
CN106601242A (en) Executing method and device of operation event and terminal
CN104184890A (en) Information processing method and electronic device
CN103473361A (en) Searching method and searching device
KR20110067998A (en) Operating method and apparatus for user interface in a portable terminal
CN111241802B (en) Job generation method, device, storage medium and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication

Application publication date: 20130814

RJ01 Rejection of invention patent application after publication