CN108320748B - Cooker sound control method, cooker and computer readable storage medium - Google Patents

Cooker sound control method, cooker and computer readable storage medium Download PDF

Info

Publication number
CN108320748B
CN108320748B CN201810391159.9A CN201810391159A CN108320748B CN 108320748 B CN108320748 B CN 108320748B CN 201810391159 A CN201810391159 A CN 201810391159A CN 108320748 B CN108320748 B CN 108320748B
Authority
CN
China
Prior art keywords
cooker
cooking
attribute value
parameter
voiceprint
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.)
Active
Application number
CN201810391159.9A
Other languages
Chinese (zh)
Other versions
CN108320748A (en
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.)
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing 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 Midea Group Co Ltd, Guangdong Midea Kitchen Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810391159.9A priority Critical patent/CN108320748B/en
Publication of CN108320748A publication Critical patent/CN108320748A/en
Application granted granted Critical
Publication of CN108320748B publication Critical patent/CN108320748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/002Construction of cooking-vessels; Methods or processes of manufacturing specially adapted for cooking-vessels
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J36/00Parts, details or accessories of cooking-vessels
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/06Decision making techniques; Pattern matching strategies
    • G10L17/14Use of phonemic categorisation or speech recognition prior to speaker recognition or verification
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The invention discloses a cooker sound control method, a cooker and a computer readable storage medium, wherein the method comprises the following steps: when voice information is received, extracting a voice instruction and voiceprint characteristics from the voice information; determining a cooking mode of the cooker according to the voice instruction; under the cooking mode, acquiring an attribute value of a cooking parameter according to the voiceprint feature; and controlling the cooker to operate according to the attribute value of the cooking parameter. According to the invention, the cooker is accurately controlled according to the voiceprint characteristics in the voice information, and the flexibility of the cooker control is improved.

Description

Cooker sound control method, cooker and computer readable storage medium
Technical Field
The invention relates to the field of control of cookers, in particular to a cooker sound control method, a cooker and a computer readable storage medium.
Background
With the development of the internet of things technology, the industry of smart home is also more and more advanced. Currently, there are various control modes for controlling the cooking device, such as controlling the cooking device through a remote control device or controlling the cooking device through voice.
Although the existing voice-controlled cooker can control the cooker to execute corresponding operations according to voice information, the specific operations executed by the cooker need to be accurately known from language information, if the language information is a fuzzy password, the accurate control of the cooker cannot be realized, and obviously, the existing voice-controlled cooker is still rigid.
Disclosure of Invention
The invention mainly aims to provide a cooker sound control method, a cooker and a computer readable storage medium, and aims to solve the technical problem that the cooker sound control mode in the prior art is relatively rigid.
In order to achieve the above object, the present invention provides a method for controlling a cooker with sound, comprising the steps of:
when voice information is received, extracting a voice instruction and voiceprint characteristics from the voice information;
determining a cooking mode of the cooker according to the voice instruction;
under the cooking mode, acquiring an attribute value of a cooking parameter according to the voiceprint feature;
and controlling the cooker to operate according to the attribute value of the cooking parameter.
Preferably, in the cooking mode, the step of obtaining the attribute value of the cooking parameter according to the voiceprint feature includes:
comparing the voiceprint features with prestored voiceprint features of the cooking mode to judge whether prestored voiceprint features matched with the voiceprint features exist or not;
and if the pre-stored voiceprint features matched with the voiceprint features exist, acquiring the attribute values of the cooking parameters corresponding to the pre-stored voiceprint features according to the mapping relation between the pre-stored voiceprint features and the attribute values of the cooking parameters.
Preferably, after the step of determining whether there is a pre-stored voiceprint feature matching the voiceprint feature, the method further comprises:
and if the pre-stored voiceprint characteristics matched with the voiceprint characteristics do not exist, acquiring the recommended attribute value of the cooking parameters in the cooking mode so as to control the cooker to operate according to the recommended attribute value in the following process.
Preferably, the step of acquiring the recommended attribute value of the cooking parameter in the cooking mode includes:
judging whether the attribute value of the historical cooking parameter is recorded in the cooking mode;
if the attribute values of the historical cooking parameters are recorded in the cooking mode, acquiring the attribute values of the historical cooking parameters at each time;
calculating the ratio of the attribute value of each historical cooking parameter in the total times;
calculating a recommended attribute value of the cooking parameter according to the ratio of the attribute value of each historical cooking parameter and the attribute value of each historical cooking parameter;
and acquiring the calculated recommended attribute value.
Preferably, the step of obtaining the calculated recommended attribute value includes:
and rounding the calculated recommended attribute value by adopting a rounding function to obtain a rounded recommended attribute value, and obtaining the rounded recommended attribute value.
Preferably, after the step of determining whether the attribute value of the historical cooking parameter is recorded in the cooking mode, the method further includes:
and if the attribute value of the historical cooking parameter is not recorded in the cooking mode, acquiring a preset attribute value as a recommended attribute value of the cooking parameter.
Preferably, the step of controlling the cooker to operate according to the attribute value of the cooking parameter includes:
outputting the acquired attribute values of the cooking parameters in a display interface of the cooker for confirmation by a user;
and when receiving the confirmation instruction, controlling the cooker to operate according to the attribute value of the cooking parameter.
In addition, in order to achieve the above object, the present invention further provides a method for controlling a cooker with sound, including:
when the server receives voice information reported by the cooker, voice instructions and voiceprint features are extracted from the voice information;
determining a cooking mode of the cooker according to the voice instruction;
under the cooking mode, acquiring an attribute value of a cooking parameter according to the voiceprint feature;
and feeding back the attribute value of the cooking parameter to the cooker so that the cooker can operate according to the attribute value of the cooking parameter.
In addition, to achieve the above object, the present invention also provides a cooker including: the control system comprises a memory, a processor and a cooker voice control program stored on the memory and capable of running on the processor, wherein the steps of the cooker voice control method are realized when the cooker voice control program is executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a cooker voice control program stored thereon, which, when executed by a processor, implements the steps of the cooker voice control method as described above.
According to the voice control method for the cooker, when voice information is received, a voice instruction and voiceprint characteristics are extracted from the voice information, then the cooking mode of the cooker is determined according to the voice instruction, then under the determined cooking mode, the attribute value of the cooking parameter is obtained according to the voiceprint characteristics, and finally the cooker is controlled to operate according to the attribute value of the cooking parameter. After the voice information is received, the attribute value of the cooking parameter in the cooking mode can be determined according to the voiceprint feature of the voice information as long as the cooking mode of the cooker is determined, the cooker is subsequently controlled to operate according to the attribute value, even if the voice information is a fuzzy password, the cooker can be accurately controlled according to the voiceprint feature of the voice information, and the flexibility of controlling the cooker is improved.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment of a cooking device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for controlling a cooker by sound according to the present invention;
FIG. 3 is a detailed flowchart of step S30 in FIG. 2;
FIG. 4 is a flowchart illustrating a second embodiment of a method for controlling a cooker by sound according to the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a method for controlling a cooker by sound according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: when voice information is received, firstly, a voice instruction and voiceprint features are extracted from the voice information, then, a cooking mode of the cooker is determined according to the voice instruction, then, under the determined cooking mode, attribute values of cooking parameters are obtained according to the voiceprint features, and finally, the cooker is controlled to operate according to the attribute values of the cooking parameters. The problem of the cooking ware acoustic control mode among the prior art, unable accurate control and cooking ware control flexibility is low is solved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment of a cooking device according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, the cooker may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. A communication bus 1002 is used to enable connection communications between these components. The user interface 1003 may include an input unit such as a Keyboard (Keyboard) or a key, and the optional user interface 1003 may further include a standard wired interface (e.g., for connecting a wired Keyboard, a wired mouse, etc.), a wireless interface (e.g., for connecting a wireless Keyboard, a wireless mouse). The network interface 1004 may optionally include a standard wired interface (for connecting to a wired network), a wireless interface (e.g., a WI-FI interface, a bluetooth interface, an infrared interface, etc., for connecting to a wireless network). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the cooker configuration shown in fig. 1 does not constitute a limitation of the cooker, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1004, which is a kind of computer storage medium, may include therein an operating system, which is a program for managing and controlling the cooker and software resources, and a cooker voice control program, which supports the operation of the cooker voice control program and other programs or software.
In the cooker shown in fig. 1, the cooker calls a cooker voice control program stored in the memory 1004 through the processor 1001, and performs the following operations:
when voice information is received, extracting a voice instruction and voiceprint characteristics from the voice information;
determining a cooking mode of the cooker according to the voice instruction;
under the cooking mode, acquiring an attribute value of a cooking parameter according to the voiceprint feature;
and controlling the cooker to operate according to the attribute value of the cooking parameter.
Further, the processor 1001 may call a cooker voice control program stored in the memory 1004 to execute the steps of, in the cooking mode, acquiring an attribute value of a cooking parameter according to the voiceprint feature:
comparing the voiceprint features with prestored voiceprint features of the cooking mode to judge whether prestored voiceprint features matched with the voiceprint features exist or not;
and if the pre-stored voiceprint features matched with the voiceprint features exist, acquiring the attribute values of the cooking parameters corresponding to the pre-stored voiceprint features according to the mapping relation between the pre-stored voiceprint features and the attribute values of the cooking parameters.
Further, after the step of determining whether there is a pre-stored voiceprint feature matching the voiceprint feature, the processor 1001 may call a cooker voice control program stored in the memory 1004, and further perform the following steps:
and if the pre-stored voiceprint characteristics matched with the voiceprint characteristics do not exist, acquiring the recommended attribute value of the cooking parameters in the cooking mode so as to control the cooker to operate according to the recommended attribute value in the following process.
Further, the processor 1001 may call a cooker sound control program stored in the memory 1004, and further perform the step of acquiring the recommended attribute value of the cooking parameter in the cooking mode:
judging whether the attribute value of the historical cooking parameter is recorded in the cooking mode;
if the attribute values of the historical cooking parameters are recorded in the cooking mode, acquiring the attribute values of the historical cooking parameters at each time;
calculating the ratio of the attribute value of each historical cooking parameter in the total times;
calculating a recommended attribute value of the cooking parameter according to the ratio of the attribute value of each historical cooking parameter and the attribute value of each historical cooking parameter;
and acquiring the calculated recommended attribute value.
Further, the processor 1001 may call a cooker sound control program stored in the memory 1004, and further perform the step of acquiring the calculated recommended attribute value:
and rounding the calculated recommended attribute value by adopting a rounding function to obtain a rounded recommended attribute value, and obtaining the rounded recommended attribute value.
Further, after the step of determining whether the attribute value of the historical cooking parameter is recorded in the cooking mode, the processor 1001 may call a cooker sound control program stored in the memory 1004, and further perform the following steps:
and if the attribute value of the historical cooking parameter is not recorded in the cooking mode, acquiring a preset attribute value as a recommended attribute value of the cooking parameter.
Further, the processor 1001 may call a cooker voice control program stored in the memory 1004, and further perform the steps of controlling the cooker to operate according to the attribute values of the cooking parameters:
outputting the acquired attribute values of the cooking parameters in a display interface of the cooker for confirmation by a user;
and when receiving the confirmation instruction, controlling the cooker to operate according to the attribute value of the cooking parameter.
Based on the hardware structure of the cooker, various embodiments of the voice control method of the cooker are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a method for controlling a cooker by sound according to the present invention.
In a first embodiment, the cooker sound control method is applied to a cooker, and comprises the following steps:
step S10, when receiving the voice message, extracting the voice command and the voiceprint feature from the voice message;
step S20, determining the cooking mode of the cooker according to the voice command;
step S30, acquiring attribute values of cooking parameters according to the voiceprint characteristics in the cooking mode;
and step S40, controlling the cooker to operate according to the attribute value of the cooking parameter.
In this embodiment, the method for controlling a cooker by sound is applied to a cooker, which may be the cooker shown in fig. 1, and in this embodiment, the cooker includes but is not limited to: the cooking system comprises a microwave oven, an electric cooker, an electronic pressure cooker and the like, wherein each cooker is internally provided with a cooking mode related to the cooker, and the cooking modes internally provided by different cookers are different in corresponding cooking parameters, for example, the cooking modes internally provided by the oven comprise a steak baking cooking mode and a cake baking cooking mode, wherein the corresponding cooking parameters in the steak baking cooking mode comprise cooking time, cooking temperature and appointment time.
The following describes in detail the steps of implementing the voice control of the cooker in this embodiment:
step S10, when receiving the voice message, extracting the voice command and the voiceprint feature from the voice message;
in this embodiment, a voice module is built in the cooker to monitor external voice information through the voice module, and when the voice module monitors the voice information, a voice instruction and a voiceprint feature are extracted from the voice information, where the voice instruction is used to select a cooking mode of the cooker, for example, if the cooker is an oven, the voice instruction is used to select a cooking mode of the oven, that is, to select a cooking mode such as steak baking or cake baking. The cooker can extract the voice command from the voice information, and can also recognize the voiceprint characteristics from the voice information according to a pre-stored voiceprint recognition module, and it is understood that the voiceprint characteristics of different users are different.
Step S20, determining the cooking mode of the cooker according to the voice command;
after extracting the voice command and the voiceprint feature from the voice message, determining the cooking mode of the cooker according to the voice command, specifically, the step S20 includes:
step a, converting the voice instruction into text information to extract a keyword from the text information;
and b, comparing the extracted keywords with the keywords of each cooking mode in the cooker to determine the cooking mode matched with the keywords of the text information.
Step S30, acquiring attribute values of cooking parameters according to the voiceprint characteristics in the cooking mode;
after determining the cooking mode of the cooker according to the voice instruction, acquiring an attribute value of the cooking parameter according to the voiceprint feature in the determined cooking mode, specifically, referring to fig. 3, the step S30 includes:
step S31, comparing the voiceprint features with prestored voiceprint features of the cooking mode to judge whether prestored voiceprint features matched with the voiceprint features exist or not;
and step S32, if the pre-stored voiceprint characteristics matched with the voiceprint characteristics exist, acquiring the attribute values of the cooking parameters corresponding to the pre-stored voiceprint characteristics according to the mapping relation between the pre-stored voiceprint characteristics and the attribute values of the cooking parameters.
That is, obtain the prestore vocal print characteristic of record under the cooking mode earlier, in this embodiment, the prestore vocal print characteristic of record under this cooking mode includes: the voiceprint characteristics of the voice message received by the cooker in the cooking mode before or the voiceprint characteristics of the cooking mode are recorded by the cooker through the voiceprint recording module in advance. After the pre-stored voiceprint features are obtained in the cooking mode, the extracted voiceprint features are compared with the pre-stored voiceprint features to judge whether the pre-stored voiceprint features matched with the extracted voiceprint features exist in the cooker or not, if yes, the cooker records the pre-stored voiceprint features in the cooking mode in advance, and at the moment, the attribute values of the cooking parameters corresponding to the pre-stored voiceprint features can be directly obtained.
In this embodiment, in the determined cooking mode, the selectable pre-stored voiceprint characteristics have a one-to-one mapping relationship with the attribute values of the cooking parameters, for example, in the steak-baking cooking mode of the oven, the cooking parameters of the a pre-stored voiceprint characteristics are cooking temperature and cooking time of 3 minutes of cooking, and the cooking parameters of the B pre-stored voiceprint characteristics are cooking temperature and cooking time of 7 minutes of cooking.
And step S40, controlling the cooker to operate according to the attribute value of the cooking parameter.
And under the determined cooking mode, after the attribute value corresponding to the cooking parameter under the cooking mode is obtained according to the voiceprint feature of the voice information, controlling the cooker to operate according to the attribute value of the cooking parameter, namely controlling the cooker to operate according to the cooking temperature and the cooking time of 3 minutes or 7 minutes under the cooking mode of roasting the steak.
It should be noted that, even if the existing cooker can be controlled by voice information, the cooking mode can only be determined according to the voice information, and after the cooking mode is determined, a user is required to manually set cooking parameters of the cooking mode to realize operation of the cooker, or cooking is uniformly performed according to default cooking parameters, and differentiated operations of different users cannot be realized.
According to the voice control method for the cooker, when voice information is received, a voice instruction and voiceprint features are extracted from the voice information, then a cooking mode of the cooker is determined according to the voice instruction, then under the determined cooking mode, attribute values of cooking parameters are obtained according to the voiceprint features, and finally the cooker is controlled to operate according to the attribute values of the cooking parameters. After the voice information is received, the attribute value of the cooking parameter in the cooking mode can be determined according to the voiceprint feature of the voice information as long as the cooking mode of the cooker is determined, the cooker is subsequently controlled to operate according to the attribute value, even if the voice information is a fuzzy password, the cooker can be accurately controlled according to the voiceprint feature of the voice information, and the flexibility of controlling the cooker is improved.
Further, a second embodiment of the sound control method of the cooker of the present invention is proposed based on the first embodiment.
In this embodiment, referring to fig. 4, after the step S31, the method further includes:
and step S33, if the pre-stored voiceprint characteristics matched with the voiceprint characteristics do not exist, acquiring the recommended attribute value of the cooking parameters in the cooking mode so as to control the cooker to operate according to the recommended attribute value in the following process.
In this embodiment, after comparing the extracted voiceprint feature with the pre-stored voiceprint feature to determine whether the pre-stored voiceprint feature matching the extracted voiceprint feature exists in the cooking device, if the pre-stored voiceprint feature matching the voiceprint feature does not exist, it is indicated that the cooking device does not record the pre-stored voiceprint feature in the cooking mode in advance, at this time, a preset recommended attribute value of the cooking parameter may be obtained in the cooking mode, and the cooking device is controlled through the preset recommended attribute value of the cooking parameter. It can be understood that, in the embodiment, even if the voiceprint feature is not recorded in advance in the cooking mode, the control of the cooker can be realized according to the preset recommended attribute value of the cooking parameter, so that the flexibility of the control of the cooker is improved.
In this embodiment, the step of "obtaining the recommended attribute value of the cooking parameter in the cooking mode" includes:
step c, judging whether the attribute value of the historical cooking parameter is recorded in the cooking mode;
step d, if the attribute values of the historical cooking parameters are recorded in the cooking mode, acquiring the attribute values of the historical cooking parameters of each time;
step e, calculating the ratio of the attribute values of the historical cooking parameters in the total times;
step f, calculating a recommended attribute value of the cooking parameter according to the ratio of the attribute values of the historical cooking parameters and the attribute values of the historical cooking parameters;
and g, acquiring the calculated recommended attribute value.
That is, if the cooker does not have a pre-stored voiceprint feature matching the voiceprint feature, it is further determined whether an attribute value of a historical cooking parameter is recorded in the cooking mode, and if the attribute value of the historical cooking parameter is recorded in the cooking mode, it indicates that the cooker has been previously operated according to the attribute value of the historical cooking parameter in the cooking mode, and the cooker records the attribute value of the historical cooking parameter, then the cooker may acquire the attribute value of the historical cooking parameter for each time to calculate the recommended attribute value of the cooking parameter when the cooker records the attribute value of the historical cooking parameter in the cooking mode. Namely, the attribute value of each historical cooking parameter is obtained, and then the ratio of the attribute value of each historical cooking parameter in the total times is calculated, specifically, according to the following calculation formula: and Pn is the ratio of the attribute value of each historical cooking parameter to the total times, wherein m represents the total times of the cooker in the cooking mode, n represents the historical cooking parameter of the nth time, and the maximum value of n is m. After the ratio of the attribute value of each historical cooking parameter in the total times is calculated through the calculation formula, the recommended attribute value of the cooking parameter is calculated by combining the attribute values of each historical cooking parameter.
It should be understood that the cooking mode of the cooker exemplified above is a steak-baking cooking mode of an oven, and the cooking parameters in the cooking mode include cooking time and cooking temperature, and therefore, if x and y are used to represent the cooking parameters, the recommended attribute values of the cooking parameters can be calculated according to the following calculation formula D ═ x1 × p1+ x2 × p2+ … … + xn × pn, y1 × p1+ y2 × p2+ … … + yn × pn, where x1 and y1 represent the attribute values of the first-time historical cooking parameters, x2 and y2 represent the attribute values of the second-time historical cooking parameters, and xn and yn represent the attribute values of the nth-time historical cooking parameters. And calculating the recommended attribute values of the cooking parameters x and y through the calculation formula, and finally obtaining the calculated recommended attribute values so as to control the cooker to operate according to the recommended attribute values in the following process.
Further, in order to improve accuracy of controlling the cooker, the step g includes:
and rounding the calculated recommended attribute value by adopting a rounding function to obtain a rounded recommended attribute value, and obtaining the rounded recommended attribute value.
In this embodiment, a down-rounding function may be optionally used to round the calculated recommended attribute value, that is, D ═ { INT (x1 × p1+ x2 × p2+ … … + xn × pn), INT (y1 × p1+ y2 p2+ … … + yn × pn) }, to obtain a rounded recommended attribute value, and finally obtain the rounded recommended attribute value, so that the cooker is controlled to operate according to the rounded recommended attribute value in the following process.
In this embodiment, when the cooking device does not have the pre-stored voiceprint feature matched with the voiceprint feature, the recommended attribute value of the cooking parameter is obtained according to the attribute value of the historical cooking parameter in the cooking mode, so that the cooking device is controlled to operate according to the recommended attribute value of the cooking parameter, and the flexibility and the intelligence of the operation of the cooking device are improved. In addition, after the recommended attribute value of the cooking parameter is acquired, the calculated result may contain a decimal point, so that the calculated recommended attribute value is rounded through a rounding function, so that the cooker is controlled to operate according to the acquired recommended attribute value, and the flexibility of controlling the cooker is improved.
Further, a third embodiment of the sound control method of the cooker of the invention is proposed based on the second embodiment.
In this embodiment, after the step c, the method further includes:
and h, if the attribute value of the historical cooking parameter is not recorded in the cooking mode, acquiring a preset attribute value as a recommended attribute value of the cooking parameter.
In this embodiment, after determining whether the cooker records the attribute value of the historical cooking parameter in the determined cooking mode, if it is found that the attribute value of the historical cooking parameter is not recorded in the cooking mode determined by the cooker, it indicates that the cooker is operated in the cooking mode for the first time, and has not been operated in the cooking mode before, for example, the oven is in the first-time use beefsteak roasting mode, and has not been used before, so the cooker does not record the attribute value of the cooking parameter in the beefsteak roasting mode. At this time, in order to ensure the normal operation of the cooking device, a preset attribute value may be obtained, where the preset attribute value may be an attribute value set by a user in advance, for example, a specific numerical value of cooking time and cooking temperature is set by the user in advance in a steak-baking cooking mode, and then, after the preset attribute value is obtained, the obtained attribute value may be used as a recommended attribute value of a cooking parameter in the cooking mode.
In this embodiment, when the cooker does not record the attribute value of the historical cooking parameter in the determined cooking mode, in order to ensure the normal operation of the cooker, the preset attribute value may be obtained, and the obtained attribute value is used as the recommended attribute value of the cooking parameter in the cooking mode, so that the cooker is controlled to operate according to the recommended attribute value in the subsequent step, and the flexibility of controlling the cooker is improved.
Further, a fourth embodiment of the sound control method of the cooker of the present invention is proposed based on the first to third embodiments. In this embodiment, referring to fig. 5, the step S40 includes:
step S41, outputting the acquired attribute value of the cooking parameter in the display interface of the cooker for the user to confirm;
and step S42, when receiving the confirmation instruction, controlling the cooker to operate according to the attribute value of the cooking parameter.
In this embodiment, after the cooker acquires the attribute value of the cooking parameter according to the voiceprint feature in the determined cooking mode, the acquired attribute value of the cooking parameter is output in a display interface of the cooker for a user to confirm, and after the user confirms, the cooker can operate according to the attribute value of the cooking parameter.
In the embodiment, before the operation of the cooker is controlled, the cooker outputs the prompt information to enable the user to confirm, and then the cooker is controlled to operate after the user confirms, so that the attribute value of the cooking parameter for controlling the operation of the cooker is prevented from being different from the actual requirement of the user, and the accuracy of controlling the cooker is improved.
The invention further provides a voice control method of the cooker.
In this embodiment, the cooker voice control method is applied to a server, and includes:
step A, when receiving voice information reported by a cooker, a server extracts a voice instruction and voiceprint characteristics from the voice information;
step B, determining a cooking mode of the cooker according to the voice command;
step C, acquiring an attribute value of a cooking parameter according to the voiceprint characteristics in the cooking mode;
and D, feeding back the attribute value of the cooking parameter to the cooker so that the cooker can operate according to the attribute value of the cooking parameter.
In the embodiment, the cooker voice control method is applied to a server which is networked with a cooker.
The following describes in detail the steps of implementing the voice control of the cooker in this embodiment:
step A, when receiving voice information reported by a cooker, a server extracts a voice instruction and voiceprint characteristics from the voice information;
in this embodiment, a voice module is built in the cooker to monitor external voice information through the voice module, when the voice information is monitored through the voice module, the monitored voice information is sent to a networked server, the server receives the voice information reported by the cooker, and after the server receives the voice information reported by the cooker, a voice instruction and voiceprint features are extracted from the voice information, wherein a specific operation process of extracting the voice instruction and the voiceprint features from the voice information by the server is consistent with an extraction mode in the above embodiment, and details are not repeated here.
Step B, determining a cooking mode of the cooker according to the voice command;
specifically, the step B includes:
step B1, converting the voice command into text information to extract keywords from the text information;
and step B2, comparing the extracted keywords with the keywords of each cooking mode in the cooker to determine the cooking mode matched with the keywords of the text information.
Step C, acquiring an attribute value of a cooking parameter according to the voiceprint characteristics in the cooking mode;
specifically, referring to fig. 3, the step C includes:
step C1, comparing the voiceprint features with prestored voiceprint features of the cooking mode to judge whether prestored voiceprint features matched with the voiceprint features exist or not;
and step C2, if the pre-stored voiceprint features matched with the voiceprint features exist, acquiring the attribute values of the cooking parameters corresponding to the pre-stored voiceprint features according to the mapping relation between the pre-stored voiceprint features and the attribute values of the cooking parameters.
And D, feeding back the attribute value of the cooking parameter to the cooker so that the cooker can operate according to the attribute value of the cooking parameter.
After the voice instruction and the voiceprint feature are extracted by the server, the cooking mode of the cooker is determined according to the voice instruction, and the attribute value of the cooking parameter is obtained according to the voiceprint feature in the cooking mode.
After the server acquires the attribute values of the cooking parameters, the attribute values of the cooking parameters are fed back to the cooker, so that the cooker can operate according to the attribute values of the cooking parameters.
According to the technical scheme, under the condition that the cooker and the server are networked, the cooker is controlled through the server, the cooker does not need to be internally provided with a storage module to store data, the cost of the cooker is reduced, the data are directly sent to the server to be analyzed, the cooker executes corresponding operation according to an analysis result, and the accuracy of voice control of the cooker is improved.
Further, after the step C1, the method further includes:
and step C3, if the pre-stored voiceprint characteristics matched with the voiceprint characteristics do not exist, acquiring the recommended attribute value of the cooking parameters in the cooking mode so as to control the cooker to operate according to the recommended attribute value in the following process.
Wherein the step of "acquiring a recommended attribute value of a cooking parameter in the cooking mode" includes:
step C31, judging whether the attribute value of the historical cooking parameter is recorded in the cooking mode;
step C32, if the attribute value of the historical cooking parameter is recorded in the cooking mode, acquiring the attribute value of each historical cooking parameter;
step C32, calculating the ratio of the attribute value of each historical cooking parameter in the total times;
step C34, calculating the recommended attribute value of the cooking parameter according to the ratio of the attribute value of each historical cooking parameter and the attribute value of each historical cooking parameter;
and step C35, acquiring the calculated recommended attribute value.
Further, in order to improve accuracy of controlling the cooker, the C35 includes:
and rounding the calculated recommended attribute value by adopting a rounding function to obtain a rounded recommended attribute value, and obtaining the rounded recommended attribute value.
In this embodiment, when the server does not have a pre-stored voiceprint feature matching the voiceprint feature, the recommended attribute value of the cooking parameter is obtained according to the attribute value of the historical cooking parameter in the cooking mode, so that the cooker is controlled to operate according to the recommended attribute value of the cooking parameter in the subsequent process, and the flexibility and the intelligence of the operation of the cooker are improved. In addition, after the recommended attribute value of the cooking parameter is acquired, the calculated result may contain a decimal point, so that the calculated recommended attribute value is rounded through a rounding function, so that the cooker is controlled to operate according to the acquired recommended attribute value, and the flexibility of controlling the cooker is improved.
Further, after the step C31, the method further includes:
and step C36, if the attribute value of the historical cooking parameter is not recorded in the cooking mode, acquiring a preset attribute value as the recommended attribute value of the cooking parameter.
In this embodiment, when the server does not record the attribute value of the historical cooking parameter in the determined cooking mode, in order to ensure the normal operation of the cooker, the preset attribute value may be acquired, and the acquired attribute value may be used as the recommended attribute value of the cooking parameter in the cooking mode, so that the cooker may be controlled to operate according to the recommended attribute value in the subsequent step, and the flexibility of controlling the cooker may be improved.
Further, the step D includes:
step D1, feeding the attribute value of the cooking parameter back to the cooker, so that the acquired attribute value of the cooking parameter is output in a display interface of the cooker for confirmation by a user;
and step S42, when the confirmation instruction is received, the cooking device operates according to the attribute value of the cooking parameter.
In the embodiment, before the operation of the cooker is controlled, the cooker outputs the prompt information to enable the user to confirm, and then the cooker is controlled to operate after the user confirms, so that the attribute value of the cooking parameter for controlling the operation of the cooker is prevented from being different from the actual requirement of the user, and the accuracy of controlling the cooker is improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a cooker voice control program is stored on the computer-readable storage medium, and the cooker voice control program, when executed by a processor, implements the steps of the cooker voice control method described above.
The specific implementation of the computer readable storage medium of the present invention is substantially the same as the embodiments of the above-mentioned cooker voice control method, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method of controlling a cooker with sound, the method comprising:
when voice information is received, extracting a voice instruction and voiceprint characteristics from the voice information;
determining a cooking mode of the cooker according to the voice instruction;
comparing the voiceprint features with prestored voiceprint features of the cooking mode to judge whether prestored voiceprint features matched with the voiceprint features exist or not;
if the pre-stored voiceprint characteristics matched with the voiceprint characteristics do not exist, acquiring a recommended attribute value of the cooking parameters in the cooking mode so as to control the cooker to operate according to the recommended attribute value in the following process;
wherein the step of obtaining the recommended attribute value of the cooking parameter in the cooking mode comprises:
judging whether the attribute value of the historical cooking parameter is recorded in the cooking mode;
if the attribute values of the historical cooking parameters are recorded in the cooking mode, acquiring the attribute values of the historical cooking parameters at each time;
calculating the ratio of the attribute value of each historical cooking parameter in the total times;
calculating a recommended attribute value of the cooking parameter according to the ratio of the attribute value of each historical cooking parameter and the attribute value of each historical cooking parameter;
acquiring the calculated recommended attribute value;
and controlling the cooker to operate according to the attribute value of the cooking parameter.
2. The method of claim 1, wherein the step of comparing the voiceprint signature to a pre-stored voiceprint signature of the cooking profile to determine if there is a pre-stored voiceprint signature matching the voiceprint signature further comprises:
and if the pre-stored voiceprint features matched with the voiceprint features exist, acquiring the attribute values of the cooking parameters corresponding to the pre-stored voiceprint features according to the mapping relation between the pre-stored voiceprint features and the attribute values of the cooking parameters.
3. The controller-controlled cooker method according to claim 1, wherein the step of obtaining the calculated recommended attribute value includes:
and rounding the calculated recommended attribute value by adopting a rounding function to obtain a rounded recommended attribute value, and obtaining the rounded recommended attribute value.
4. The controller-controlled method according to claim 1, wherein after the step of determining whether the attribute values of the historical cooking parameters are recorded in the cooking mode, the method further comprises:
and if the attribute value of the historical cooking parameter is not recorded in the cooking mode, acquiring a preset attribute value as a recommended attribute value of the cooking parameter.
5. The controller for controlling a cooker according to any one of claims 1-4, wherein the step of controlling the cooker to operate according to the attribute value of the cooking parameter comprises:
outputting the acquired attribute values of the cooking parameters in a display interface of the cooker for confirmation by a user;
and when receiving the confirmation instruction, controlling the cooker to operate according to the attribute value of the cooking parameter.
6. A method of controlling a cooker with sound, the method comprising:
when the server receives voice information reported by the cooker, voice instructions and voiceprint features are extracted from the voice information;
determining a cooking mode of the cooker according to the voice instruction;
comparing the voiceprint features with prestored voiceprint features of the cooking mode to judge whether prestored voiceprint features matched with the voiceprint features exist or not;
if the pre-stored voiceprint characteristics matched with the voiceprint characteristics do not exist, acquiring a recommended attribute value of the cooking parameters in the cooking mode so as to control the cooker to operate according to the recommended attribute value in the following process;
wherein the step of obtaining the recommended attribute value of the cooking parameter in the cooking mode comprises:
judging whether the attribute value of the historical cooking parameter is recorded in the cooking mode;
if the attribute values of the historical cooking parameters are recorded in the cooking mode, acquiring the attribute values of the historical cooking parameters at each time;
calculating the ratio of the attribute value of each historical cooking parameter in the total times;
calculating a recommended attribute value of the cooking parameter according to the ratio of the attribute value of each historical cooking parameter and the attribute value of each historical cooking parameter;
acquiring the calculated recommended attribute value;
and feeding back the attribute value of the cooking parameter to the cooker so that the cooker can operate according to the attribute value of the cooking parameter.
7. A cooker, characterized in that it comprises: a memory, a processor, and a cooker voice control program stored on the memory and executable on the processor, the cooker voice control program when executed by the processor implementing the steps of the cooker voice control method as claimed in any one of claims 1-5.
8. The cooker of claim 7, wherein said cooker comprises a microwave oven, an oven.
9. A computer-readable storage medium having a cooker voice control program stored thereon, the program, when executed by a processor, performing the steps of the cooker voice control method according to any one of claims 1 to 5.
CN201810391159.9A 2018-04-26 2018-04-26 Cooker sound control method, cooker and computer readable storage medium Active CN108320748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810391159.9A CN108320748B (en) 2018-04-26 2018-04-26 Cooker sound control method, cooker and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810391159.9A CN108320748B (en) 2018-04-26 2018-04-26 Cooker sound control method, cooker and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108320748A CN108320748A (en) 2018-07-24
CN108320748B true CN108320748B (en) 2021-07-27

Family

ID=62895344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810391159.9A Active CN108320748B (en) 2018-04-26 2018-04-26 Cooker sound control method, cooker and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108320748B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109091014A (en) * 2018-07-30 2018-12-28 珠海格力电器股份有限公司 A kind of cooking apparatus and its control method
CN109545221B (en) * 2019-01-23 2024-03-19 努比亚技术有限公司 Parameter adjustment method, mobile terminal and computer readable storage medium
CN111752175B (en) * 2019-03-27 2024-03-01 佛山市顺德区美的电热电器制造有限公司 Operation control method, apparatus, cooking appliance, sound pickup device, and storage medium
CN110648745A (en) * 2019-09-26 2020-01-03 珠海格力电器股份有限公司 Food cooking method, storage medium and cooking equipment
CN110794698B (en) * 2019-11-21 2021-11-23 广东美的厨房电器制造有限公司 Control method and control device of cooking equipment and cooking equipment
CN111414396A (en) * 2020-05-07 2020-07-14 珠海格力电器股份有限公司 Dish pushing method and device, storage medium and cooking equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170063567A1 (en) * 2014-09-05 2017-03-02 Sharp Kabushiki Kaisha Heating cooking system
CN106647532A (en) * 2017-01-19 2017-05-10 北京小米移动软件有限公司 Cooking equipment recommendation method and cooking equipment recommendation device
CN107647774A (en) * 2016-07-26 2018-02-02 佛山市顺德区美的电热电器制造有限公司 The control method and control device of cooking apparatus, cooking apparatus
CN107773018A (en) * 2016-08-29 2018-03-09 佛山市顺德区美的电热电器制造有限公司 Setting and methods for using them, device and the electrical equipment of preference culinary art
CN107870581A (en) * 2017-10-10 2018-04-03 广东美的厨房电器制造有限公司 Cooking control method and cooking equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120233002A1 (en) * 2011-03-08 2012-09-13 Abujbara Nabil M Personal Menu Generator
JP5657066B1 (en) * 2013-07-08 2015-01-21 シャープ株式会社 Cooker
CN106264059A (en) * 2015-05-26 2017-01-04 佛山市顺德区美的电热电器制造有限公司 A kind of cooking apparatus and control method thereof
IN2015CH03126A (en) * 2015-06-22 2015-07-10 Wipro Ltd
CN104957965A (en) * 2015-06-27 2015-10-07 广东天际电器股份有限公司 Intelligent cooking system capable of recognizing geographic position of user and judging preference of user and application of intelligent cooking system
CN106485052A (en) * 2016-09-14 2017-03-08 珠海优特物联科技有限公司 A kind of intelligent cooking system and method
CN107247803A (en) * 2017-06-30 2017-10-13 广东美的厨房电器制造有限公司 Menu method for pushing and system based on cooking equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170063567A1 (en) * 2014-09-05 2017-03-02 Sharp Kabushiki Kaisha Heating cooking system
CN107647774A (en) * 2016-07-26 2018-02-02 佛山市顺德区美的电热电器制造有限公司 The control method and control device of cooking apparatus, cooking apparatus
CN107773018A (en) * 2016-08-29 2018-03-09 佛山市顺德区美的电热电器制造有限公司 Setting and methods for using them, device and the electrical equipment of preference culinary art
CN106647532A (en) * 2017-01-19 2017-05-10 北京小米移动软件有限公司 Cooking equipment recommendation method and cooking equipment recommendation device
CN107870581A (en) * 2017-10-10 2018-04-03 广东美的厨房电器制造有限公司 Cooking control method and cooking equipment

Also Published As

Publication number Publication date
CN108320748A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN108320748B (en) Cooker sound control method, cooker and computer readable storage medium
CN106558310B (en) Virtual reality voice control method and device
CN107507616B (en) Method and device for setting gateway scene
JP6812392B2 (en) Information output method, information output device, terminal device and computer-readable storage medium
CN107544272B (en) Terminal control method, device and storage medium
KR101909498B1 (en) Control Station for Remote Control of Home Appliances by Recognition of Natural Language Based Command and Method thereof
CN111583926B (en) Continuous voice interaction method and device based on cooking equipment and cooking equipment
CN112419693B (en) Device control method, device, display device and computer readable storage medium
KR102439144B1 (en) Auto-assistant action recommendations for inclusion in auto-assistant routines
CN108039173B (en) Voice information input method, mobile terminal, system and readable storage medium
CN111869185A (en) Generating an IoT-based notification and providing commands to cause an automated helper client of a client device to automatically present the IoT-based notification
US20020013811A1 (en) Method and apparatus for controlling remote client computer
CN115327932A (en) Scene creation method and device, electronic equipment and storage medium
CN112242909B (en) Method and device for generating management template, electronic equipment and storage medium
CN113900922A (en) Method, device, equipment and medium for testing application program interface of multi-platform application
CN112333553A (en) Early warning method and device, smart television and computer readable storage medium
CN110164426B (en) Voice control method and computer storage medium
US20210227650A1 (en) Method for operating a cooking appliance
CN113325722B (en) Multi-mode implementation method and device for intelligent cooking and intelligent cabinet
CN106057197B (en) A kind of timing voice operating method, apparatus and system
CN112265879B (en) Elevator control system, debugging method thereof, debugging equipment and readable storage medium
CN108732937B (en) Remote controller, mobile terminal, display method of control interface and medium
WO2016054919A1 (en) Input method, input device and terminal
CN113314115A (en) Voice processing method of terminal equipment, terminal equipment and readable storage medium
CN112199470A (en) Session-based customer complaint service method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant