Summary of the invention:
For overcoming the defect of prior art, the object of the present invention is to provide a kind of by the method for voice management refrigerator, the user can carry out brief dialogue with refrigerator, can be checked recipe, healthy general knowledge, music, video, picture, refrigerator functions explanation by voice, the relevant information of all right phonetic entry, modification and deletion food, practicality simple to operate, and have interest, make the refrigerator hommization more that becomes.
Technical solution problem of the present invention adopts following technical scheme:
The voice system of refrigerator of the present invention comprises:
Mainboard CPU, input module, voice module, memory module, display module, alarm module, interface module;
Described input module comprises microphone and button, for the microphone that receives speech data, with described voice module, is connected, and described button is connected with described mainboard CPU;
Described display module is touch display screen, with described mainboard CPU, is connected;
Described memory module for storaged voice storehouse, data and input message, be connected with described mainboard CPU;
Described voice module comprises loudspeaker, and with mainboard, CPU is connected, and voice module is processed the speech data received, and is converted into code and sends mainboard CPU to;
Alarm module, with mainboard, CPU is connected, and the data that CPU receives are reported to the police with the qualified generation of the parameter comparison set in advance;
Described mainboard CPU, process the data that receive, and be analyzed generation output.
Described system is carried out semantic segmentation by the speech input information collected, and dwell interval certain hour between word and word is judged to be two contents.
A kind of by the method for voice management refrigerator, add option by the phonetic entry food additive and adopt following steps:
(1) each restrictive condition that the food additive of refrigerator is added to the input content of option is made database, inserts in advance in system;
(2) data that system collects voice module and the described food additive of presetting add the restrictive condition comparative analysis one by one of option, to meet data judging that certain food additive adds option pre-set limit condition and add effective input data of option for this food additive, the data judging that any food additive that does not meet systemic presupposition is added to the option restrictive condition is invalid input data;
(3) data that system will effectively be inputted are added to the input content that this food additive adds option, and invalid data is not added, and start unified output, and the prompting user re-enters.
The information that described phonetic entry food additive adds option comprises that at least one food additive in the title, quantity, weight, freshness date, entry time, bin information, bar code information, entry time of food adds option, food additive adds the input content form difference of option, contains word, numeral, bar code.
A kind of by the method for voice management refrigerator, system realizes that user and refrigerator carry out the method employing following steps of brief dialogue:
(1) system intialization database, comprise greeting commonly used or simply put question to and corresponding answer;
(2) output command of system using the keyword in greeting commonly used or simple enquirement the or keyword as a certain answer;
(3) data that system collects input module and default keyword or keyword carry out comparative analysis one by one, will the data judging identical with certain keyword of systemic presupposition or keyword be effective input data, will from all keywords of systemic presupposition and keyword all different data judging be invalid input data;
(4) system is to effective input data, output usingd to this inputs the dialogue of data as output command, to invalid data, will start a certain unified output, points out the user to re-enter.
A kind of by the method for voice management refrigerator, system realizes that the method for voice unlatching audio-video document adopts following steps:
(1) system is using file names such as audio frequency and video as the order word of playing this document;
(2) the All Files title in the data and system file that system collects input module is carried out comparative analysis one by one, by the data judging identical with the some file names of system, be effective input data, will from system left and right file name all different data judging be invalid input data;
(3) system will be play corresponding document to effective input data, and invalid data is unified to response, can point out the user to re-enter.
Compared with the prior art, beneficial effect of the present invention is embodied in:
Adopt the solution of the present invention, the user can carry out brief dialogue with refrigerator, can be checked recipe, healthy general knowledge, music, video, picture, refrigerator functions explanation by voice, the relevant information of all right phonetic entry, modification and deletion food, practicality simple to operate, and there is interest, make the refrigerator hommization more that becomes.
The present invention comprises the phonetic entry food information, audio-video document and brief method of talking with opened in voice, is convenient to the better magnagementregeratorutilizing of user, for kitchen life increasing colour, simple and quick.
The specific embodiment:
Embodiment:
Shown in accompanying drawing 1, implement the management schematic diagram for one of brief dialogue of the present invention, the one section dialogue of below take is example, be described further: system detect have new phonetic entry " what is your name? " system detects " name " keyword for default dialogue, " I am named as refrigerator in default voice answering of output " name ", Nice to see you ", whether system can continuous detection have new phonetic entry, and carry out the answer of respective dialog, until the consecutive intervals several seconds can't detect new phonetic entry, point out the user speech end-of-dialogue.
Shown in accompanying drawing 2, for phonetic entry food additive of the present invention adds the flow chart of option, the two jin of porks of user add of below take are example to refrigerating chamber, be described further: the user " adds two jin of porks by refrigerating chamber " by phonetic entry, system is processed by semantic segmentation, recognize the restrictive condition that refrigerating chamber meets the food bin, two jin of restrictive conditions that meet food weight, pork meets the restrictive condition of food name, so, system is judged as effective input by these short words, by refrigerating chamber, two jin and pork are judged to be effective input data, and above pork information is added in system, whether system can continuous detection have new phonetic entry, and carry out the answer of respective dialog, until the consecutive intervals several seconds can't detect new phonetic entry, point out the user speech end-of-dialogue.
Shown in accompanying drawing 3, the flow chart of audio-video document opened in voice, it is example that the user speech of below take is opened music, be described further: the user " is put a head: listen sea " by phonetic entry, system is processed by semantic segmentation, recognize and listen sea for the title of a certain file of system, so, system is judged to be effective input by these words, to listen sea to be judged to be effective input data, and carry out played songs and " listen sea ", whether system can continuous detection have new phonetic entry, and carry out the answer of respective dialog, until the consecutive intervals several seconds can't detect new phonetic entry, point out the user speech end-of-dialogue.
The above, be only preferred embodiments of the present invention, is not intended to limit protection scope of the present invention.