Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.The element of describing in an accompanying drawing of the present invention or a kind of embodiment and feature can combine with element and feature shown in one or more other accompanying drawing or embodiment.It should be noted that for purposes of clarity, in accompanying drawing and explanation, omitted expression and the description of unrelated to the invention, parts known to persons of ordinary skill in the art and processing.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not paying creative work, belongs to the scope of protection of the invention.
The process flow diagram of the intelligent control method of the equipment that Fig. 1 provides for the embodiment of the present invention one.As shown in Figure 1, the method comprises:
Step S11: split the key word that receives from the control terminal of equipment to obtain at least one word.This key word can be and through control terminal, the input message of its reception carried out the key word of speech recognition acquisition.This equipment can be, various home appliances in intelligent home network for example, and its control terminal can be, such as smart mobile phone, pad, computing machine etc.
The voice signal that control terminal can be inputted by receiving user, and this voice signal is identified to be translated into key word.
Each word can be single word, also can be the word that a plurality of words form.
Particularly, step S11 can be according to the order of the key word of identification, according to the works and expressions for everyday use custom in daily repertorie and/or the control command in command library, split, for example, when the key word of identification is " I want boiled dumpling ", due to the use that generally combines of " water ", " dumpling " in works and expressions for everyday use, therefore, step S11 splits a plurality of words that this key word obtains and can be: " I ", " wanting ", " boiled dumpling ".And for example, when the key word of identification is " opening air-conditioning ", because the frequency that in works and expressions for everyday use, " sky ", " tune " are used in combination is higher, and in command library, also there is the order relevant to air-conditioning, therefore split a plurality of words that obtain and can be: " beating ", " opening ", " air-conditioning ".
Step S12: each word obtaining in step S11 is recombinated and obtained a plurality of phrases, and " phrase " can be regarded as arbitrary arrangement and/or the combination of each word herein.
For example, word " I ", " wanting ", " boiled dumpling " a plurality of phrases that obtain of recombinating be can be to " I ", " I want ", " wanting ", " wanting boiled dumpling ", " boiled dumpling ", " my boiled dumpling ".
By each word is recombinated, can obtain more array configuration, for the follow-up coupling to control command provides more foundation, promote the accuracy of coupling.
Step S13: each phrase is converted to secondary language mode from first language pattern.
Step S14: search the control command of coupling according to the phrase of secondary language mode in command library, and the control command of searching is sent to control terminal, to indicate control terminal to carry out corresponding control operation, for example, open air-conditioning, close curtain etc.。
In step S13, first language pattern can be Chinese, and secondary language mode can be the Chinese phonetic alphabet.Because the Chinese character in Chinese easily produces ambiguity on voice, by being translated into phonetic, can avoid to a certain extent the generation of ambiguity.For example, if user's literal sense is " I will sleep ", because the reason of intonation is identified as " I want boiled dumpling ", after being converted to phonetic, just can in command library, search the order relevant to " shuijiao " by execution step S15, if in command library, there is the order relevant to " sleep ", just can mate.
Further, in step S13, can each Chinese phrase be converted into one or more corresponding phonetic phrases according to the pronunciation character of each phrase, for example, " boiled dumpling " can be converted into " shuijiao " and/or " shuijia ".In this way, can avoid to a certain extent, because cacoepy produces ambiguity when true, promoting the accuracy of follow-up match control order.
Object based on avoiding ambiguity, this first language pattern also can be other Languages pattern, such as English, Japanese, Korean, German etc., this secondary language mode can be the language mode that other can reduce the ambiguities such as English, Japanese, Korean, German.
Therefore the conversion of, phrase being carried out to language mode can make to find control command more accurately.
In the situation that not considering ambiguity, can omit step S13, and control command searched in direct each phrase based on obtaining after restructuring in step S14.
The control command of searching in step S14 can be used for controlling the unlatching of special scenes pattern or closing, for example, and with " control command that " shuijiao " mates can be controlled the unlatching of " pattern of going to bed ", turns off the light, closes curtain, opens humidifier etc.
In the present embodiment, can and feed back to control terminal according to the control command of keyword search coupling, to indicate control terminal to automatically perform corresponding control operation, without user, directly control terminal be carried out to control operation, promote degree of intelligence.
And this key word can be the input message to user, for example voice messaging carries out the key word that speech recognition is obtained, and without manual operation, further promotes degree of intelligence.
Alternatively, user's input message also can be such as image information, Word message etc.
Alternatively, after step S14, also comprise step S15: by control terminal, show the content relevant to the control command receiving.In this step, should the content relevant to control command can comprise: the control result of the current and/or equipment of device type, equipment.For example, the type of equipment can be lamp, air-conditioning; The current state of equipment can be " lamp-unlatching ", " air-conditioning-25 degree ".The control result of equipment can be " closing lamp ", " " air-conditioning intensification 3 degree "; Control terminal, according to this control command, specifically can be carried out: turn off the light, air-conditioner temperature is risen to 28 degree.
The block diagram of the order generating apparatus that Fig. 2 provides for the embodiment of the present invention two.This order generating apparatus specifically can be, and can communicate the server being connected with control terminal.As shown in Figure 2, this device comprises:
Split module 222, for splitting from the key word of control terminal reception to obtain at least one word.This fractionation module 222 specifically can be carried out the fractionation of key word according to the works and expressions for everyday use custom in daily repertorie and/or the control command in command library.
Recombination module 223, for this at least one word of recombinating to obtain at least one phrase.
Command lookup module 225, for searching the control command of coupling and the control command of searching be sent to control terminal at command library based on each phrase, to indicate control terminal to carry out corresponding control operation.
Alternatively, order generating apparatus also can comprise pattern modular converter 224, and for each phrase is converted to secondary language mode from first language pattern, this first language pattern specifically can be Chinese, and this secondary language mode specifically can be the Chinese phonetic alphabet.Pattern modular converter 224 specifically can be converted to one or more corresponding phonetic phrases by each Chinese phrase according to the pronunciation character of each phrase.Now, command lookup module 225 is searched the control command of coupling in command library based on each phrase of secondary language mode.
The block diagram of the intelligent control system of a kind of equipment that Fig. 3 provides for the embodiment of the present invention three.As shown in Figure 3, this system comprises control terminal 21 and the order generating apparatus 22 that equipment is controlled, and this equipment can be, various home appliances in intelligent home network for example, and its control terminal can be, such as smart mobile phone, pad, computing machine etc.This order generating apparatus can be the order generating apparatus 22 shown in Fig. 2, and itself and control terminal 21 communicate to connect.
Order generating apparatus 22 is searched the control command with this keyword match from control terminal 21 reception key words and it is processed, and the control command of searching is sent to control terminal 21, control terminal 21 not the control operation based on user directly equipment is controlled accordingly.
Alternatively, above-mentioned user's input message specifically can be voice messaging, and control terminal 21 can comprise sound identification module 211, for the voice messaging of its reception is identified as to this key word.
Alternatively, control terminal 21 also comprises display module 212, the control command the demonstration content relevant to the control command receiving that for receiving order generating apparatus, send.
The above-mentioned content relevant to control command specifically can comprise the current state of device type, equipment and/or the control result of equipment.
Below by for example the above embodiment of the present invention being specifically described:
In one example, when user wants h.d., can be to control terminal 21 input voice informations " I will sleep ";
Control terminal is by this voice messaging being identified to generate key word " I want boiled dumpling ", and this key word is sent to order generating apparatus 22;
First order generating apparatus 22 searches each word or the relevant control command of combinations of words in this key word by its command lookup module in command library, if find the control command relevant to certain word in command library, preferentially this word split out.For example, if the control command relevant to " boiled dumpling " not in command library, order generating apparatus 22 according to works and expressions for everyday use custom by this key word split be three words " I ", " wanting " ", " boiled dumpling ";
These three words are recombinated and are obtained a plurality of phrases: " I want ", " wanting boiled dumpling ", " I want boiled dumpling ", " boiled dumpling ", " my boiled dumpling ", I ", " wanting ".
Each phrase is converted to Chinese phonetic alphabet pattern from Chinese pattern, obtains following a plurality of phonetic phrases: " woyao ", " yaoshuijia ", " woyaoshuijia ", " yaoshuijiao ", " woyaoshuijiao ", " shuijia ", " shuijiao ", " woshuijia ", " woshuijiao ", " wo ", " yao ".
According to the phrase of this spelling mode, in command library, search the control command of coupling, for example " " sleep, go to bed ".
The control command of searching is sent to control terminal 21, and control terminal " is slept, is gone to bed " according to this order equipment is controlled accordingly, for example, closes curtain, turns off the light, regulates air-conditioner temperature to preset value etc.
Control terminal 21 receives control command " sleep, go to bed " after, show the content relevant to this control command, for example, can directly show control command itself, also can show the control result of type, equipment current state and/or the equipment of relevant device.
In another example, first user " opens the air-conditioning of my family " to control terminal 21 input voice informations.
Control terminal 21 " is opened the air-conditioning of my family " by this voice messaging being identified to generate key word, and this key word is sent to order generating apparatus 22.
First order generating apparatus 22 searches each word or the relevant control command of combinations of words in this key word by its command lookup module in command library, if find the control command relevant to certain word in command library, preferentially this word split out.For example, in command library, find and " opening ", control command that " air-conditioning " is relevant, preferentially will " open ", " air-conditioning " split out, and according to the works and expressions for everyday use in daily repertorie, " my family " split out, this key word split is four words the most at last: " opening ", " my family ", " ", " air-conditioning ".
Order generating apparatus 22 is by these four words a plurality of phrases of acquisition of recombinate: " air-conditioning ", " my family ", " opening my family ", " air-conditioning ", " my family ", " opening the air-conditioning of my family ", " opening ", " opening ", " ", " opening air-conditioning ", " my family's air-conditioning ".
Each phrase is converted to Chinese phonetic alphabet pattern from Chinese pattern, obtains following a plurality of phonetic phrases: " dakaiwojiedikongdiao, wojiekongdiao, wojiedi, wojiakongdiao, dakaide, dakai, wojia, dakaiwogudikongtiao, dakaikongtiao, dakaiwojie, di, dakaiwogudikongdiao, wogudi, dakaiwogu, dakaiwojiadekongdiao, dakaiwogudekongtiao, wojiakongtiao, wojiade, wojiekongtiao, dakaiwojiedikongtiao, wogukongtiao, kongdiao, dakaiwojiedekongdiao, dakaiwogudekongdiao, wojie, akaiwojiadikongdiao, dekongdiao, dikongtiao, dakaiwojiedekongtiao, de, dekongtiao, dakaiwojiadikongtiao, dakaikongdiao, wogu, wogukongdiao, dikongdiao, dakaiwojia, wojiede, dakaidi, kongtiao, wogude, dakaiwojiadekongtiao, wojiadi ".
According to the phrase of this spelling mode, in command library, search the control command of coupling, for example " unlatching air-conditioning ".In this example, because " opening ", " air-conditioning " etc. are all the phrases that is difficult for producing ambiguity, therefore, and also can be without carrying out language mode conversion, directly control command searched in the phrase based on restructuring.
The control command of searching is sent to control terminal 21, control terminal according to this control command to controlling starting of air conditioner.
Control terminal 21 receives after this control command, show the content relevant to this control command, for example, can directly show " opening air-conditioning ", the control result that also can show type, equipment current state and/or the equipment of relevant device, this device type is that air-conditioning, equipment current state can be, for example, close, and the control result of equipment is for opening.
In the various embodiments described above of the present invention, the sequence number of embodiment is only convenient to describe, and does not represent the quality of embodiment.Description to each embodiment all emphasizes particularly on different fields, and there is no the part of detailed description in certain embodiment, can be referring to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM (read-only memory) (Read-Only Memory is called for short ROM), random access memory (Random Access Memory is called for short RAM), magnetic disc or CDs.
In the embodiment such as apparatus and method of the present invention, obviously, each parts or each step reconfigure after can decomposing, combine and/or decomposing.These decomposition and/or reconfigure and should be considered as equivalents of the present invention.Simultaneously, in the above in the description of the specific embodiment of the invention, the feature of describing and/or illustrating for a kind of embodiment can be used in same or similar mode in one or more other embodiment, combined with the feature in other embodiment, or substitute the feature in other embodiment.
Should emphasize, term " comprises/comprises " existence that refers to feature, key element, step or assembly while using herein, but does not get rid of the existence of one or more further feature, key element, step or assembly or add.
Finally it should be noted that: although described above the present invention and advantage thereof in detail, be to be understood that in the situation that do not exceed the spirit and scope of the present invention that limited by appended claim and can carry out various changes, alternative and conversion.And scope of the present invention is not limited only to the specific embodiment of the described process of instructions, equipment, means, method and step.One of ordinary skilled in the art will readily appreciate that from disclosure of the present invention, can use carry out with the essentially identical function of corresponding embodiment described herein or obtain process, equipment, means, method or step result essentially identical with it, that existing and will be developed future according to the present invention.Therefore, appended claim is intended to comprise such process, equipment, means, method or step in their scope.