Summary of the invention
The proposition of the technical program is exactly above-mentionedly occur these problems to solve.The technical program is on the basis of all high-tech technical problems proposed more than solving specifically, and the technology being controlled the device of intelligent refrigerator by a kind of Chinese speech solves above-mentioned produced problem:
The technical program adopts Chinese speech to control the device of intelligent refrigerator, comprise Chinese speech input module 1, the Mandarin speech recognition module 2 that the Chinese speech of input can be converted to character, computer system 3, be stored in Chinese keyword in computer system 3 and computer program binding module 4, the in advance programmed logic be stored in computer system 3 arrange link block 5, existing refrigerator embedded computer system module 6, the existing Executive Module 7 completing the various action of refrigerator in advance, be connected to each other successively with the order of upper module according to computer treatmenting information;
Described Chinese speech controls the device of intelligent refrigerator, in accordance with the following methods with step work: first convert by described Mandarin speech recognition module 2 Chinese speech received to Chinese phonetics codes or Chinese character or the Chinese phonetic alphabet by Chinese speech input module 1, then computer system 3 is transferred to, finally by Chinese keyword and computer program binding module 4, the keyword in the above-mentioned Chinese phonetics codes that converts to or Chinese character or the Chinese phonetic alphabet and computer program are bound, be transferred to programmed logic arrangement link block 5 again by the program after binding by the priority logical order arrangement performed, existing refrigerator embedded computer system module 6 is transferred to again after arrangement, received said procedure is performed again by existing refrigerator embedded computer system module 6, and control the existing Executive Module 7 completing the various action of refrigerator according to the various work orders of said procedure and complete the various actions that said procedure required.
Described computer system 3 comprises embedded computer system; Described voice input module 1 comprises microphone input module.
The device of described intelligent refrigerator, it is characterized in that: computer system 3 is when commencement of commercial operation program, be divided into two kinds of mode operations, one is automatic operational mode, this pattern carries out the operation of program automatically to the understanding of received Chinese speech according to computer system 3, and the function that the action program brought into operation will done maybe will reach exports with the phonetic synthesis form of Chinese language text or this Chinese language text; Another kind is inquiry affirmation mode, under this pattern, computer system 3 first correctly corrects the Chinese language text converted to according to received Chinese speech and the optimization of performing a programme, and feed back a process and correctly correct the Chinese language text optimised with performing a programme, this Chinese language text also can export through voice synthetic module in the form of speech, performs after confirming.
The device of described intelligent refrigerator has the automatic training function of voice command, refrigerator operator is before controlling intelligent refrigerator with voice command, voice command one rule Chinese speech that it can initiatively can perform by the device of described refrigerator is bright to read out, require that operator is with reading, and operator to be stored in computer system 3 after binding with the computer speech order corresponding to this sound template or corresponding performing a programme as template with the voice read.
Described operator comprises Chinese putonghua speech, the voice of Chinese dialects, the voice of minority language, foreign language voice, a kind of sound that can distinguish mutually with the sound of other voice command with the voice read.
The device of described intelligent refrigerator with the automatic training and operation person of voice command with when reading voice command, except sending corresponding Chinese putonghua speech, the voice of Chinese dialects, the voice of minority language, foreign language voice can also be sent according to setting in advance.
The device of described intelligent refrigerator is when carrying out voice command and automatically training, voice command one rule Chinese speech that initiatively it can be performed is bright read out while, read aloud voice command can be shown from display screen by the consistent Chinese character of meaning, the Chinese phonetic alphabet, Chinese phonetics codes, minority language, foreign language words according to setting in advance.
The voice command that the device of described intelligent refrigerator has, can be concrete requirement intelligent refrigerator take certain action voice command, also can be the voice call instruction of the program module of binding with certain prioritization scheme, when this module is by voice command calls, do not require to send out voice command for certain concrete action, as long as and send the voice command of the object that will reach, by computer system 3 automatically according to the object that will reach, find the program of the prioritization scheme corresponding with this voice command and be transferred to existing refrigerator embedded computer system module 6, received said procedure is performed again by existing refrigerator embedded computer system module 6, and control the existing Executive Module 7 completing the various action of refrigerator according to the various work orders of said procedure and complete the various actions that said procedure required,
Refrigerator is correctly finished the work necessary various running parameter, if computer system 3 or existing refrigerator embedded computer system module 6 are thought when needing operator to provide, the form that can be combined with word with voice or voice, initiatively send inquiry to operator, until the device of described refrigerator recognizes all necessary running parameters.
The device of described refrigerator is before the order receiving operator, according to the order of operator, the Chinese written language of the duty Chinese of current refrigerator or foreign language voice and Chinese character, the Chinese phonetic alphabet, Chinese phonetics codes composition or minority language or foreign language can be reported to operator, operator can modify by the working condition Chinese speech current to refrigerator, and hand over described in refrigerator device perform.
Described Chinese phonetics codes is in units of word, here individual Chinese character is regarded as monosyllable, according to the phonetic in " Scheme for the Chinese Phonetic Alphabet " of each syllable of this word of composition, with and only use 26 Latin alphabets to the initial consonant of the Chinese phonetic alphabet, referral letter, simple or compound vowel of a Chinese syllable, tone is taked first to encode again successively by the sequential encoding spelling of " acoustic code+Jie's code+rhyme code+tune code is held concurrently every syllable symbol ", and directly express Chinese information by the coding of the phonetic code obtained, when direct term syllable code represents Chinese information, its usage in punctuation is identical with English usage in punctuation, during coding, multiple syllables of same word are without space continuous programming code, space will be had between word and word to separate,
The initial consonant of described Chinese phonetics codes all represents with the consonant Latin alphabet, for representing that the initial consonant of the phonetic code of Chinese information is except the initial consonant zh in " Scheme for the Chinese Phonetic Alphabet ", ch, sh uses j respectively, q, outside x tri-consonant Latin alphabets represent, the consonant Latin alphabet of remaining initial consonant with the same-sign in " Scheme for the Chinese Phonetic Alphabet " represents, zhi in " Scheme for the Chinese Phonetic Alphabet ", chi, shi uses the jr of phonetic code respectively, qr, xr represents, er in " Scheme for the Chinese Phonetic Alphabet " er of phonetic code represents, keyboard key is fashionable respectively with j and the r key on western language keyboard, q and r key, x and r key and e and r key are keyed in,
The alphabetical y of described Chinese phonetics codes in 26 letters represents the single vowel in " Scheme for the Chinese Phonetic Alphabet " originally and the ü in referral letter, and all the other single vowels adopt the symbol identical with referral letter with the single vowel in " Scheme for the Chinese Phonetic Alphabet " with the coding of referral letter;
Described Chinese phonetics codes composite vowel, except with except representing with the identical symbol in " Scheme for the Chinese Phonetic Alphabet ", represents with a consonant;
Described Chinese phonetics codes its adjust code four vowels and no alphabetical v of Chinese to represent, with the Latin alphabet a, e, v, u, o represent respectively high and level tone in " Scheme for the Chinese Phonetic Alphabet "-, rising tone e :/, upper sound v: ∨, falling tone u:, softly o do not mark.
The Chinese phonetics codes adopting 26 Latin alphabets to represent due to the technical program is to express Chinese information, and when direct term syllable code represents Chinese information, its usage in punctuation is identical with English usage in punctuation, this ensures that there the expression punctuation mark of Chinese information interior all completely the same with ASCII character, also namely compatible with ASCII character 100%, this ensures that thering whole system can run in the computer of ASCII character system.
After having had the technical program, particularly Chinese can be convenient for people to and carry out the intention work of operative intelligence refrigerator according to people with the voice of the natural language of oneself.
Detailed description of the invention
Below in conjunction with embodiment, the specific embodiment of the present invention is further described.
(1) coding method of each syllable sound, rhyme, tone of Chinese phonetics codes that the technical program adopts adopts following method:
Note: the symbol after dash "-" is Chinese phonetic symbols, the letter before dash "-" is the coding of each syllable sound, rhyme, tone of adopted Chinese, below all with, below by following control table referred to as code table.
Here it is worthy of note: when keying in the punctuation mark of Chinese phonetics codes and Chinese phonetics codes statement with keyboard, 26 Latin alphabets of composition Chinese phonetics codes coding are identical corresponding completely one by one with 26 letter keys of western language QWERTY keyboard, the punctuation mark key of Chinese phonetics codes statement and the punctuation mark key of western language QWERTY keyboard are also identical corresponding one by one, when input Chinese speech code letter and punctuation mark, only need the corresponding identical key mapping impacting western language QWERTY keyboard.
1, the coded identification of acoustic code adopts the letter character of the initial consonant basically identical with the Scheme for the Chinese Phonetic Alphabet, such as adopts the coding form of this acoustic code below:
b—b;p—p;m—m;f—f;d—d;t—t;
n—n;l—l;g—g;k—k;h—h;
j—zh,j;q—ch,q;x—sh,x;r—r;
z—z;c—c;s—s;y—y;w—w。
2, Chinese phonetic alphabet referral letter (ü) adopts a letter representation in 26 Latin alphabets, such as adopts the coding form of this Jie's code below:
i—i;u—u;y—ü。
3, the coding of rhyme code, single vowel is adopted to a letter representation in 26 Latin alphabets except (ü) except, other adopts the letter character identical with the Chinese phonetic alphabet, the composite vowel of the Chinese phonetic alphabet can adopt the form that " Scheme for the Chinese Phonetic Alphabet " is identical, also a consonant can be adopted to encode, such as adopt the simple or compound vowel of a Chinese syllable of this letter character to the Chinese phonetic alphabet below to encode:
a—a;o—o;e—e;i—i;u—u;y—ü;
k—ao;c—ai;s—an;x—ou;w—ei;n—en;
z—ua;l—uo;b—ang;d—ong;p—eng;
q—ing;g—ng;er—er;
R-i; " when i only spells with Chinese Pin Yin pseudonym zh, ch, sh phase, the coding r of the i phonetic code of the Chinese phonetic alphabet represents ".That is: zhi, chi, shi of the Chinese phonetic alphabet represent with jr, qr, xr of phonetic code respectively.J and R or Q and R or X and R and E and R two key mapping inputs are pressed respectively when jr or qr or xr and er input through keyboard.
4, adjust the coding of code except employing Chinese no consonant v represents the upper sound (∨) of the Chinese phonetic alphabet, other adopts vowel to represent the tone of Chinese, such as adopts the tone of letter below to the Chinese phonetic alphabet to encode:
A---, high and level tone; E-/, rising tone; V-∨, upper sound; U-, falling tone;
O-phonetic does not mark tone mark softly, softly.
(2) utilize the Chinese phonetics codes Chinese information of above-mentioned coding to represent and adopt following method:
In units of word, here individual Chinese character is regarded as monosyllable, according to the phonetic in " Scheme for the Chinese Phonetic Alphabet " of each syllable of this word of composition, successively by the sequential encoding of " acoustic code+Jie's code+rhyme code+tune code is held concurrently every syllable symbol ", multiple syllables of same word separate write the two or more syllables of a word together without space, and the coding space between word and word separates, when Chinese information represent be in Chinese phonetics codes state time, its six kinds of periods, seven kinds of labels adopt the form identical with English with the number of dividing a word with a hyphen at the end of a line;
Here owing to regarding the independent Chinese character used as monosyllable, therefore, the method of encode character for computer of the present invention is identical with the method for Chinese language words syllable coding, adopt single syllable coding by obtaining word coding after word write the two or more syllables of a word together in the present invention, be made up of several words one group of word is called phrase by us, the present invention adopt the coding of phrase identical with the coding of Chinese sentence, because word can represent phrase and Chinese sentence, the coding of therefore adopted in the present invention phrase and the coding of Chinese sentence can be realized by the coding of word, and do not need to formulate a set of coding specially in addition to phrase and Chinese sentence, it is general when whole sentence entire chapter represents Chinese information in units of word, the selection carrying out homophone word is not generally needed when understanding, sound the sentence that can not produce ambiguity in principle, also can not produce ambiguity when expressing with coding.
The specific implementation step of the technical program is described for the voice of the Chinese sentence of the device of a described intelligent refrigerator of input below:
Such as first by Chinese speech input module 1, we to input the Chinese speech of following Chinese-character text content to the computer system 3 of a control refrigerator:
" this afternoon 2 refrigerators start working, first that vegetable soup is freezing, be then incubated at 3 degree.”
First convert by Mandarin speech recognition module 2 Chinese speech received to Chinese phonetics codes or Chinese character or the Chinese phonetic alphabet by voice input module 1, Mandarin speech recognition module can adopt Chinese-voice-code voice identification module, and its operation principle is as follows:
Exemplifying some below adopts Chinese-voice-code voice identification module to carry out the example of phonetic code or Chinese character conversion to Chinese speech:
1. Chinese speech converts Chinese phonetics codes to:
Such as: we read aloud with Chinese speech, and " we can use Chinese character and latin literary composition.”
1, by searching the Chinese syllable sound template and the Chinese speech syllabified code table of comparisons that store in advance in a computer, identifies corresponding Chinese syllable phonetic code string after coupling:
Space is had) between wovmnohuiuxrvyduhsuyyvlaadqawnv.(syllable and syllable
Or wo
vmn
ohui
uxr
vyd
uhs
uyy
vla
adq
awn
v.(between syllable and syllable without space)
(mn after skilled
oin schwa symbol
ocan omit when not causing audio mixing, above following all with.)
See clearly to allow everybody and will represent that the letter of tone has added underscore here, the tool sound insulation joint effect simultaneously of the tone letter in phonetic code, in actual speech code, tone is without underscore, and after skilled phonetic code, tone is held concurrently and can conveniently be distinguished every syllabic sign.
Complete the pure speech recognition process that the dictionary scale of the complexity of a system and system is irrelevant.
If Chinese speech is Chinese with certain dialectal accent or the dialect of a certain China, as long as the syllable of the dialect of this China and Chinese syllable have certain corresponding relation, we are by similar above method namely: by searching the Chinese with certain dialectal accent that stores in advance in a computer or having sound template and the Chinese speech syllabified code table of comparisons of the dialect syllable of certain corresponding relation with Chinese syllable, corresponding Chinese syllable phonetic code string is identified after coupling, just can realize this Chinese with certain dialectal accent or the Chinese phonetics codes identification of dialect, realize this Chinese with certain dialectal accent or the conversion of dialect and Chinese phonetics codes.
Phonetic code string is carried out the segmentation of words by 2, finally completes the phonetic code conversion in units of word.
By searching the Chinese phonetics codes word dictionary having divided word in advance, by multiple syllable write the two or more syllables of a word together of same word, between word and word, separate the Chinese phonetics codes just obtaining our final needs following with space:
wovmnohuiuxrvyduhsuyyvlaadqawnv.
In order to obtain traditional voice identification result, we can also carry out following conversion, and it is emphasized that this process and speech recognition system do not have inevitable contacting here, this standard handovers module can depart from speech recognition system independent operating.
2. Chinese phonetics codes converts Chinese character and the Chinese phonetic alphabet to:
Chinese phonetics codes can be converted to Chinese character and the Chinese phonetic alphabet easily with the Chinese character in units of word and the relevant Chinese phonetic alphabet table of comparisons by searching Chinese phonetics codes respectively, such as:
Wovmno obtains w ǒ men by the Chinese phonetics codes syllable of looking into acoustic code, Jie's code, rhyme code, tune code and the Chinese phonetic alphabet table of comparisons or generate according to this table of comparisons or word and pinyin syllable or the word table of comparisons, the Chinese character " we " in units of word is found again by w ǒ men, the like, we can obtain the sentence of following phonetic and Chinese character composition:
“Wǒmenhuìshǐyònghànyǔlādīngwěn。”
" we can use Chinese character and latin literary composition.”
After the phonetic code in units of word sets up corresponding relation by the Chinese phonetic alphabet in units of word and the Chinese character in units of word, once need the phonetic code in units of word can no longer need by the Chinese phonetic alphabet in units of word, directly set up corresponding relation to the Chinese character in units of word and carry out corresponding conversion.That is: " wovmnohuiuxrvyduhsuyyvlaadqawnv. " can be directly changed into " we can use Chinese character and latin literary composition.”
When meeting homonym, after can differentiating according to means such as the contact of Chinese lexical syntactic context and statistical laws, the Chinese character carried out in units of word is selected.Such as: ysvlune has filled mailbag.Ysvlune fills crude oil.Can know in conjunction with contextual contact: " ysvlune " representative " cruise " above in, " ysvlune " representative " oil tanker " in one next, this two word can convert to respectively " cruise having been filled mailbag " and " oil tanker having been filled crude oil ".To other word situation also.
The result of above-mentioned identification both can show separately also can contrast display,
The like, with said method, Chinese phonetics codes can be become by any polysyllabic Mandarin speech recognition, and convert Chinese character or the Chinese phonetic alphabet further to as required, Chinese phonetics codes, Chinese character or the Chinese phonetic alphabet can show separately also can contrast display, based on these Chinese language words, just can realize the identification of any Chinese speech information, thus conveniently carry out various Chinese speech information process.
In like manner, we are to above by Chinese speech input module 1, we to input the Chinese speech of following Chinese-character text content to the computer system 3 of a control refrigerator:
" this afternoon 2 refrigerators start working, first that vegetable soup is freezing, be then incubated at 3 degree.”
Same employing above Chinese-voice-code voice identification module can be identified as the Chinese sentence of following Chinese speech representation:
Zcujinatisaxiauwuv2disv,disubqaxibakcaxrvgdazlu,xxvxisajibaccutbalpvddu10fnajda,rsvhxubkvwnazcu3duu.
Describing for simplifying, here the Chinese-character text corresponding with above Chinese speech and Chinese phonetic alphabet text being omitted.
Then the Chinese language text that above-mentioned identification is good is transferred to computer system 3, keyword in the above-mentioned Chinese phonetics codes that converts to or Chinese character or the Chinese phonetic alphabet and computer program are bound finally by Chinese keyword and computer program binding module 4, concrete binding procedure is as follows:
Here jinatisa is " today " by the Chinese meaning that Chinese character represents, after this keyword is extracted, computer can go to look into calendar, the date finding today is such as on February 1st, 2013, this date will extract in the program that device that program date parameter that the device as described intelligent refrigerator starts working joins described intelligent refrigerator starts working by computer, in like manner " xiauwuv2disv " is " 2 pm " by the Chinese meaning that Chinese character represents, after this crucial phrase is extracted, if computer can be converted into 14 points automatically by 24 hours computer chronographs, and is extracted the program time parameter that the device as described intelligent refrigerator starts working this time and join in the program of the device work starting the described intelligent refrigerator of described intelligence, if by 12 time timing, then this program time parameter directly extracted this time as the device work starting described intelligent refrigerator of computer joins in the program of the device work starting described intelligent refrigerator, here " disubqaxiba " is " refrigerator " by the Chinese meaning that Chinese character represents, after this keyword is extracted, computer can go to look into " refrigerator " address, after finding this " refrigerator " address, the destination address parameter that this address will extract as the control appliance in the device start-up routine of described intelligent refrigerator by computer joins in the program of the device work starting described intelligent refrigerator, here " kcaxrvgdazlu " is " starting working " by the Chinese meaning that Chinese character represents, after these two keywords are extracted, computer can go the program of the described intelligent refrigerator device looking into " starting working ", after finding the program of the described intelligent refrigerator device that this " is started working ", this Program extraction will out correctly be arranged by the computer program that will perform by the priority logical order arrangement institute binding module 5 performed and is connected by computer, here the program module of the described intelligent refrigerator device of " starting working " is placed on the foremost of whole program, as the program first performed, because logically, if the device of described intelligent refrigerator is not activated, other freezing device with being incubated intelligent refrigerator described in supervisor cannot perform, so the program module of described intelligent refrigerator device that this section here " is started working " will be placed on the foremost of whole program, as the program first performed, in like manner, if be not prescribed their priority performing a programme to other program, also be according to the sequencing of this logic judgment criteria by auto arrangement program module after computer discriminant, here xxvxisa and rxvhxu is " first " and " then " by the Chinese meaning that Chinese character represents respectively, because these two words do not have corresponding computer program corresponding with them, therefore, we claim this word to be non-key word, conjunction is belonged in Chinese, the implication of these two non-key words will come immediately following before rxvhxu subsequent course immediately following the program after xxvxisa, first perform than the program come after immediately following rxvhxu immediately following the program after xxvxisa during execution, noun in " jibaccutbalpvddu(is freezing by vegetable soup) " between preposition " jiba (by) " and keyword " lpvddu(is freezing) " " ccutba(vegetable soup) " is exactly the processing object of keyword " lpvddu ", " lpvddu(is freezing) ", after this keyword is extracted, computer can go to look into the computer program bound with " lpvddu ", and the computer program bound with lpvddu found is extracted after program module that the device that come described intelligent refrigerator according to the execution sequence of upper surface analysis starts working, and then perform after the program that the device of described intelligent refrigerator is started working, " 10fnajda (10 minutes) " immediately following after freezing, explanation is the freezing time, this freezing duration parameters is just assigned to the duration parameters of freezing procedure by computer.Here " rsvhxubkvwnazcu3duu " is " being then incubated at 3 degree " by the Chinese meaning that Chinese character represents, after these words are extracted, computer can go to look into and be incubated at 3 degree with bkvwnazcu3duu() computer program bound, and by being incubated at 3 degree with bkvwnazcu3duu(of finding) computer program bound extracts, and it is freezing to be come lpvddu(according to the execution sequence of upper surface analysis) after program module, and then lpvddu(is freezing) perform after program finishes execution, " zcu3duu(is at 3 degree) " are immediately following being temperature for insulation sets illustrating below of keyword " bkvwna(insulation) ", therefore will by this temperature parameter assignment in the computer program bound with " bkvwna(is incubated) ".So far, the Chinese language text of being come by Chinese speech conversion has completed the computer program that whole text needs to transfer, and has carried out the connection of correct procedure parameter assignment and program priority execution sequence.
Existing refrigerator embedded computer system module 6 is transferred to again after finally above-mentioned connection being arranged, perform received said procedure by existing refrigerator embedded computer system module 6 again, and control the existing Executive Module 7 completing the various action of refrigerator according to the various work orders of said procedure and complete the various actions that said procedure required.
When above-mentioned whole program performs, first COMPUTER DETECTION current time, when current time arrives program Starting Executing Time: during point in 1 day 14 February in 2013 (2 pm), refrigerator embedded computer system address is effective, the control command that the device that the device of computer program effective described intelligent refrigerator to address sends described intelligent refrigerator is started working, the device of described intelligent refrigerator starts to start execution voice command program, after the device startup of described intelligent refrigerator, the computer program that and then refrigerator embedded computer system performs " lpvddu(is freezing) " binds, the device of described intelligent refrigerator starts refrigeration to be set in freezing level, carry out freezing to vegetable soup, can constantly detect cooling time at this process Computer and whether arrive the dwell time of program setting, once detection cooling time is the dwell time to program setting, 10 minutes in present case, refrigerator embedded computer system can send instruction to Executive Module and stop freezing, and then refrigerator embedded computer system performs bkvwnazcu3duu(insulation below at 3 degree) computer program bound, and then refrigerator embedded computer system sends next computer program action command bound with " bkvwna(is incubated) " to refrigerator Executive Module 7, after Executive Module 7 receives this program behavior instruction, start to perform " bkvwna(insulation) " action, temperature sensor in this time refrigerator constantly detects the temperature of vegetable soup, when vegetable soup temperature is lower than 3 degree, start refrigerator Executive Module 7 and perform the action of stopping refrigeration, when vegetable soup temperature is higher than 3 degree, start refrigerator Executive Module 7 to start again to perform refrigeration action.So also just complete the control of Chinese speech to intelligent refrigerator.
Due to the difference of everyone word custom, some people's possibility word not necessarily standard, at this moment synonym and the near synonym table of comparisons can be stored in advance in computer 3, and carry out automatically nonstandard word to be converted to by the synonym of setting and the near synonym table of comparisons Code words that computer 3 approves by computer, keyword in computer 3 must be the Code words of computer accreditation, such as: " start, open, start working " " starting working " this phrase can be unified by the table of comparisons, again such as: " turn off, close, quit work " " quitting work " this phrase can be unified by the table of comparisons, and bind in advance with corresponding computer program module.
By that analogy, due to the object owing to controlling in this example, the action of time, control object can be changed by the change of Chinese speech, therefore said method can be adopted to control to the action of other control time and control object.
After Chinese-character text changed by Chinese character and Chinese voice code bidirectional modular converter, Chinese character and Chinese phonetics codes can be changed mutually, therefore the technical program describe in, everyly can use Chinese speech representation by the information that Chinese character represents, vice versa, states here describing of the technical program with regard to tired no longer respectively.
Because computer system program language is when calling program module, often call by the program that the English spelt by 26 Latin alphabets is write, 26 Latin alphabets belong to ASCII character scope, it is no problem that computer system is normally run, because code system in Chinese character does not belong to ASCII character scope, if directly adopt Chinese character statement to call computer program, normal operation can not be ensured in some computer system, therefore, the technical program devises two sets of plan, a set of computer program and Chinese character keyword are bound, when computer testing can not normally run in a computer to which, mode with regard to adopting another set of computer program and Chinese phonetics codes keyword to carry out binding is run, now Mandarin speech recognition module 2 will not become Chinese character and is only identified as Chinese phonetics codes by Mandarin speech recognition, here it is to be noted because Mandarin speech recognition module 2 self is with Chinese language text Word Intelligent Segmentation module, therefore the Chinese language text after Chinese speech module 2 identifies is all a point Chinese language text for good word, again because Chinese phonetics codes is the same as with English 26 Latin alphabet spellings, and punctuation mark is consistent with English, this ensure that the ISN of run Chinese information is within the scope of ASCII character, thus guarantee that the technical program can normally be run in pure ASCII character computer system.
Above-mentioned computer system 3 can be embedded computer system, also can unite two into one with refrigerator embedded computer system 6 if desired; Above-mentioned voice input module 1 can be microphone input module.
The device of computer-controlled described intelligent refrigerator is when commencement of commercial operation, be divided into two kinds of mode operations, one is automatic operational mode, this pattern to carry out the operation of program automatically to the understanding of received Chinese speech according to controlling the computer system 3 of refrigerator, and the action program brought into operation will the done function that maybe will reach is with the phonetic synthesis form output of Chinese language text or this Chinese language text; Another kind is inquiry affirmation mode, the computer system 3 controlling refrigerator under this pattern first correctly corrects the Chinese language text converted to according to received Chinese speech and the optimization of performing a programme, and feed back a process and correctly correct the Chinese language text optimised with performing a programme, this Chinese language text also can export through voice synthetic module in the form of speech, performs after confirming.
Such as, in example above, computer system 3 understanding of received Chinese speech information convert Chinese language text information to after, correctly call program that the keyword in text binds and carry out according to correct actuating logic on the basis of execution sequence arrangement, can export: " this afternoon 2 refrigerators start working; first by freezing for vegetable soup 10 minutes, be then incubated at 3 degree." Chinese-character text information or this Chinese-character text phonetic synthesis after voice, this Chinese-character text information also can convert Chinese phonetics codes or foreign language to or minority language exports.
Another kind is inquiry affirmation mode, under this pattern, computer system 3 first correctly corrects the Chinese language text that received Chinese speech is converted and the optimization of performing a programme, and feed back a process and correctly correct the Chinese language text optimised with performing a programme, this Chinese language text also can export through the form of voice synthetic module and voice, performs after confirming.Such as: computer receives the Chinese-character text be converted with next section of Chinese speech information: " this afternoon 2 refrigerators start working, first by freezing for vegetable soup 10 minutes, be then incubated at 3 degree." computer system 3 detects and now have passed through point in the morning 2; can automatically by set of time 2 points in the afternoon; detect that immediate one section can make the more optimal Chinese language text of calling program with this Chinese language text in the Chinese language text simultaneously stored in advance in computer system 3; this computer-chronograph can export: " this afternoon 2 refrigerators start working, first by freezing for vegetable soup 10 minutes, be then incubated at 3 degree."
and be refrigerated to every 60 minutes-5 degree be incubated again to 3 degree." you confirm? notice that the word of computer optimization part here the mark such as will to underline and send; after sending confirm Chinese speech or Chinese language text or other confirmations to computer; computer just using this Chinese language text as the Chinese language text finally received; according to the step in case above, add "
and be refrigerated to every 60 minutes-5 degree be incubated again to 3 degree."program "; the object done like this prevents vegetable soup from going bad; especially more will prevent in the summer of sweltering heat; bring into operation when meeting the condition preset; if prioritization scheme is not identified, then the device of described intelligent refrigerator allows people to remodify instruction, and by instruction execution revise; or when people do not revise, still by the instruction execution that original people send.
Same this Chinese language text information above, after voice synthetic module phonetic synthesis, can export with speech form, and this Chinese-character text information also can convert Chinese phonetics codes or foreign language or minority language to and export.
Finally it is pointed out that and comprise Chinese character, the Chinese phonetic alphabet, Chinese phonetics codes etc., and Chinese-character text refers to the Chinese information text be made up of chinese character by the text that the character that the Chinese language text in above-mentioned describing refers to all expression Chinese informations forms.
The device of described intelligent refrigerator has the automatic training function of voice command, refrigerator operator is before controlling intelligent refrigerator with voice command, voice command one rule Chinese speech that it can initiatively can perform by the device of described intelligent refrigerator is bright to read out, require that operator is with reading, and operator to be stored in computer system 3 after binding with the computer speech order corresponding to this sound template or corresponding performing a programme as template with the voice read.
Above-mentioned operator comprises Chinese putonghua speech, the voice of Chinese dialects, the voice of minority language, foreign language voice, a kind of sound that can distinguish mutually with the sound of other voice command with the voice read.Such design is convenient Chinese various crowds mainly, as long as do not obscure the sound sent computer and the program of binding, the described sound can be adopted mainly to consider some crackjaw deaf-mutes, as long as they can send a kind of sound that can distinguish mutually with the sound of other voice command, computer will be remembered and perform the program of relevant binding, consider that deaf-mute does not hear, so refrigerator will feed back to deaf and dumb refrigerator operator by fill order text importing simultaneously.
The device of described intelligent refrigerator with the automatic training and operation person of voice command with when reading voice command, except sending corresponding Chinese putonghua speech, the voice of Chinese dialects, the voice of minority language, foreign language voice can also be sent according to setting in advance.The people of standard Chinese is not mainly conveniently understood in such arrangement, takes into account the foreigner simultaneously, and these just can realize by existing voice synthetic technology modules such as Chinese phonetics codes voice synthetic modules.
The device of described intelligent refrigerator is when carrying out voice command and automatically training, voice command one rule Chinese speech that initiatively it can be performed is bright read out while, read aloud voice command can be shown from display screen by the consistent Chinese character of meaning, the Chinese phonetic alphabet, Chinese phonetics codes, minority language, foreign language words according to setting in advance.
The voice command that the device of described intelligent refrigerator has, be concrete requirement intelligent refrigerator take certain action voice command, or the voice call instruction of the program module of to bind with certain prioritization scheme, when this module is by voice command calls, do not require to send out voice command for certain concrete action, as long as and send the voice command of the object that will reach, by computer automatically according to the object that will reach, find the program of the prioritization scheme corresponding with this voice command and be transferred to existing refrigerator embedded computer system module 6, received said procedure is performed again by existing refrigerator embedded computer system module 6, and control the existing Executive Module 7 completing the various action of refrigerator according to the various work orders of said procedure and complete the various actions that said procedure required,
Such as: people can require to " fish ", refrigerator had both required that refrigeration simultaneously had better not adfreezing, at this time will find and bind that refrigerator both required to refrigerate to " fish " simultaneously had better not the program of adfreezing for computer, and said procedure is passed to Executive Module 7 that existing refrigerator embedded computer system module 6 controlled the various action of refrigerator and complete the program behavior that said procedure required.
Refrigerator is correctly finished the work necessary various running parameter, if computer system 3 or existing refrigerator embedded computer system module 6 are thought when needing operator to provide, the form that can be combined with word with voice or voice, initiatively send inquiry to operator, until the device of described intelligent refrigerator recognizes all necessary running parameters.
Such as: cannot feel to the kind refrigerator of refrigerator institute chilled food, if when computer 3 needs to know, its can initiatively with voice inquiry preset: " what you needed to refrigerate is the food of what kind? " people reply: " beef " or " fresh fish ", at this time computer will go the program finding refrigeration " beef " or " fresh fish ", carry out correct sequence and connection after finding and pass to the action that Executive Module 7 that existing refrigerator embedded computer system module 6 controlled the various action of refrigerator completes the procedure stipulation of above-mentioned refrigeration " beef " or " fresh fish ".
The device of described intelligent refrigerator is before the order receiving operator, according to the order of operator, the Chinese written language of the duty Chinese of current refrigerator or foreign language voice and Chinese character, the Chinese phonetic alphabet, Chinese phonetics codes composition or minority language or foreign language can be reported to operator, operator can modify by the working condition Chinese speech current to refrigerator, and hands over the device of described intelligent refrigerator to perform.
Such as: operator sends to the device of described intelligent refrigerator: " please say you current duty ", the device of described intelligent refrigerator is replied by Chinese phonetics codes voice synthetic module voice: " current temperature of refrigerating chamber is set in 5 degree, freezer temperature is set in-3 degree " " setting like this? operator sends to the device Chinese speech of described intelligent refrigerator: " can " refrigerator maintains original duty, if operator sends to the device of described intelligent refrigerator: " cannot ", then the device of described intelligent refrigerator carries out the preparation of modification state, the new instruction that operator sends to the device of described intelligent refrigerator can be intercepted, such as: " current temperature of refrigerating chamber is set in 3 degree, freezer temperature is set in-5 degree, and automatic defrosting is once week about ", at this moment can reply operator after the above-mentioned same method of device employing of described intelligent refrigerator understands this voice command to say: " understand, current temperature of refrigerating chamber is set in 3 degree, freezer temperature is set in-5 degree, and automatic defrosting is once week about " above-mentioned same character information can be shown simultaneously.
By above the technical program, we achieve the object controlling intelligent refrigerator work with Chinese speech.