CN112786039A - Voice control method and device, electronic equipment and storage medium - Google Patents

Voice control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112786039A
CN112786039A CN202011130987.0A CN202011130987A CN112786039A CN 112786039 A CN112786039 A CN 112786039A CN 202011130987 A CN202011130987 A CN 202011130987A CN 112786039 A CN112786039 A CN 112786039A
Authority
CN
China
Prior art keywords
information
voice
determining
temperature
function
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.)
Granted
Application number
CN202011130987.0A
Other languages
Chinese (zh)
Other versions
CN112786039B (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.)
Haier Smart Home Co Ltd
Qingdao Economic and Technological Development Zone Haier Water Heater Co Ltd
Original Assignee
Haier Smart Home Co Ltd
Qingdao Economic and Technological Development Zone Haier Water Heater 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 Haier Smart Home Co Ltd, Qingdao Economic and Technological Development Zone Haier Water Heater Co Ltd filed Critical Haier Smart Home Co Ltd
Priority to CN202011130987.0A priority Critical patent/CN112786039B/en
Publication of CN112786039A publication Critical patent/CN112786039A/en
Application granted granted Critical
Publication of CN112786039B publication Critical patent/CN112786039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention belongs to the technical field of intelligent household appliances, and particularly relates to a voice control method and device, electronic equipment and a storage medium. The invention aims to solve the problem of low voice interaction efficiency of the existing intelligent household appliance. The embodiment of the invention obtains first voice information, wherein the first voice information is used for indicating the intelligent household appliance to execute a first preset function; determining user identification information according to the first voice information; and determining the function parameters of the first preset function according to the user identification information, and executing the first preset function according to the function parameters. Because different users experience the effect differently to the function of tame electric installation, consequently confirm user identification information and the functional parameter that corresponds according to first speech information, can make this first preset function with user assorted functional parameter operation, avoid the user to need adjust the inefficiency problem that leads to many times according to actual experience, improve intelligent tame electric installation's voice interaction efficiency, improve user and use experience.

Description

Voice control method and device, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of intelligent household appliances, and particularly relates to a voice control method and device, electronic equipment and a storage medium.
Background
At present, with the increasingly mature technology of intelligent household appliances, more and more intelligent household appliances enter the life of users, and the household appliance use experience of the users is improved through an intelligent automatic control technology. By taking the intelligent water heater as an example, the user of the existing intelligent water heater can operate the intelligent water heater through a control panel arranged on the surface of the water heater and can also operate the intelligent water heater through means such as voice control and the like, so that the interaction efficiency of the intelligent water heater is improved.
However, in the prior art, voice control of an intelligent water heater usually simply converts a voice command input by a user into a preset device command and executes the preset device command, and commands such as water temperature adjustment are related to actual experience of an individual user, and a user needs to perform voice control and adjustment for multiple times to achieve an ideal effect, so that the problem of low voice interaction efficiency of intelligent household electrical appliances is caused.
Accordingly, there is a need in the art for a new voice control method, apparatus, electronic device and storage medium to solve the above-mentioned problems.
Disclosure of Invention
In order to solve the above problems in the prior art, that is, to solve the problem of low voice interaction efficiency of the existing intelligent household electrical appliance, the invention provides a voice control method, a voice control device, an electronic device and a storage medium.
According to a first aspect of the embodiments of the present invention, the present invention provides a voice control method applied to an intelligent home appliance, including:
acquiring first voice information, wherein the first voice information is used for indicating the intelligent household appliance to execute a first preset function;
determining user identification information according to the first voice information;
and determining the function parameters of the first preset function according to the user identification information, and executing the first preset function according to the function parameters.
In a preferred technical solution of the above voice control method, determining the user identification information according to the first voice information includes:
performing voiceprint recognition on the first voice information through a voice recognition model preset in the local intelligent household appliance, and determining voiceprint characteristics of the first voice information;
and determining user identification information corresponding to the voiceprint characteristics of the first voice information according to preset voiceprint characteristic mapping.
In a preferred technical solution of the above voice control method, the determining the function parameter of the first preset function according to the user identification information includes:
determining a user profile according to the user identification information, wherein the user profile comprises a target temperature;
and setting the target temperature as a function parameter of the first preset function.
In a preferred technical solution of the above voice control method, the user profile includes a plurality of candidate temperatures, each of the candidate temperatures corresponds to a time interval information, and before the target temperature is set as a function parameter of the first preset function, the method further includes:
acquiring current time;
determining corresponding time interval information according to the current time;
and determining the candidate temperature corresponding to the time interval information as the target temperature.
In a preferred technical solution of the above voice control method, the user profile includes a plurality of candidate temperatures, and before the target temperature is set as the function parameter of the first preset function, the method further includes:
determining control instruction information according to the first voice information, wherein the control instruction information is used for indicating the intelligent household appliance to increase or decrease the current water temperature;
and determining the alternative temperature matched with the control instruction information in the plurality of alternative temperatures as the target temperature according to the current water temperature.
In a preferred embodiment of the above voice control method, the method further includes:
acquiring volume information of first voice information, wherein the volume information is used for representing the sound volume of the first voice information;
determining the candidate temperature matched with the control instruction information from the plurality of candidate temperatures as the target temperature according to the current water temperature, including:
determining a temperature regulating quantity corresponding to the volume information according to a preset volume mapping relation;
and determining a target temperature in the plurality of alternative temperatures according to the control instruction information, the current water temperature and the temperature regulating quantity.
In a preferred embodiment of the above voice control method, the method further includes:
uploading the first voice information to a cloud server;
and receiving a voice recognition model issued by the cloud server, wherein the voice recognition model is used for representing the mapping relation between the voice information and the voiceprint characteristics.
According to a second aspect of the embodiments of the present invention, there is provided a voice control apparatus including:
the intelligent household appliance comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first voice information, and the first voice information is used for indicating the intelligent household appliance to execute a first preset function;
the determining module is used for determining user identification information according to the first voice information;
and the execution module is used for determining the function parameters of the first preset function according to the user identification information and executing the first preset function according to the function parameters.
In a preferred embodiment of the voice control apparatus, the determining module is specifically configured to:
performing voiceprint recognition on the first voice information through a voice recognition model preset in the local intelligent household appliance, and determining voiceprint characteristics of the first voice information;
and determining user identification information corresponding to the voiceprint characteristics of the first voice information according to preset voiceprint characteristic mapping.
In a preferred embodiment of the voice control apparatus, the first preset function includes a temperature adjustment function, and the execution module, when determining the function parameter of the first preset function according to the user identification information, is specifically configured to:
determining a user profile according to the user identification information, wherein the user profile comprises a target temperature;
and setting the target temperature as a function parameter of the first preset function.
In a preferred embodiment of the voice control apparatus, the user profile includes a plurality of candidate temperatures, each of the candidate temperatures corresponds to a time interval information, and the execution module is specifically configured to, before setting the target temperature as a function parameter of the first preset function:
acquiring current time;
determining corresponding time interval information according to the current time;
and determining the candidate temperature corresponding to the time interval information as the target temperature.
In a preferred embodiment of the voice control apparatus, the user profile includes a plurality of candidate temperatures, and the execution module is specifically configured to, before setting the target temperature as a function parameter of the first preset function:
determining control instruction information according to the first voice information, wherein the control instruction information is used for indicating the intelligent household appliance to increase or decrease the current water temperature;
and determining the alternative temperature matched with the control instruction information in the plurality of alternative temperatures as the target temperature according to the current water temperature.
In a preferred embodiment of the above-mentioned voice control apparatus, the execution module is further configured to:
acquiring volume information of first voice information, wherein the volume information is used for representing the sound volume of the first voice information;
when the candidate temperature matched with the control instruction information in the multiple candidate temperatures is determined as the target temperature according to the current water temperature, the execution module is specifically configured to:
determining a temperature regulating quantity corresponding to the volume information according to a preset volume mapping relation;
and determining a target temperature in the plurality of alternative temperatures according to the control instruction information, the current water temperature and the temperature regulating quantity.
In a preferred embodiment of the above-mentioned voice control apparatus, the determining module is further configured to:
uploading the first voice information to a cloud server;
and receiving a voice recognition model issued by the cloud server, wherein the voice recognition model is used for representing the mapping relation between the voice information and the voiceprint characteristics.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus including: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to perform the speech control method according to any one of the first aspect of the embodiments of the present invention.
According to a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, are configured to implement the voice control method according to any one of the first aspect of the embodiments of the present invention.
The technical personnel in the field can understand that, the voice control method, the voice control device, the electronic device and the storage medium provided by the invention acquire first voice information, wherein the first voice information is used for indicating the intelligent household appliance to execute a first preset function; determining user identification information according to the first voice information; and determining the function parameters of the first preset function according to the user identification information, and executing the first preset function according to the function parameters. Because different users experience different effects to the function of the household electrical appliance, the user identification information is determined according to the first voice information, and the corresponding function parameters are determined according to the user identification information, so that the first preset function can operate with the function parameters matched with the user, the problem of low efficiency caused by multiple times of adjustment according to actual experience of the user is avoided, the voice interaction efficiency of the intelligent household electrical appliance is improved, and the user can obtain better use experience.
Drawings
The following describes preferred embodiments of a voice control method, apparatus, and electronic device of the present invention with reference to the accompanying drawings. The attached drawings are as follows:
fig. 1 is an application scenario diagram of a voice control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a voice control method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a function of performing temperature adjustment according to user identification information according to an embodiment of the present invention;
FIG. 4 is a flow chart of a voice control method according to another embodiment of the present invention;
FIG. 5 is a flowchart of step S204A in the embodiment of FIG. 4;
FIG. 6 is a flow chart of a voice control method according to yet another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a voice control apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
First, it should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention. And can be adjusted as needed by those skilled in the art to suit particular applications. For example, although the voice control method of the present invention is described in conjunction with a smart water heater, this is not limiting, and other devices with voice interaction requirements may be configured with the voice control method of the present invention, such as a smart air conditioning device.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "connected" and "connected" should be interpreted broadly, e.g., as being fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The terms to which the present invention relates will be explained first:
1) the intelligent household appliance equipment is a household appliance product formed by introducing a microprocessor, a sensor technology and a network communication technology into the household appliance equipment, has the characteristics of intelligent control, intelligent perception and intelligent application, and the operation process of the intelligent household appliance equipment usually depends on the application and processing of modern technologies such as the Internet of things, the Internet and an electronic chip, for example, the intelligent household appliance equipment can realize the remote control and management of a user on the intelligent household appliance equipment by connecting a cloud server.
2) Terminal equipment, indicate the electronic equipment who has wireless connection function, for example, hand-held type terminal equipment, vehicle-mounted terminal equipment etc, terminal equipment can be through connecting the internet, with intelligent household electrical appliances as above carry out communication connection, also can directly carry out communication connection through modes such as bluetooth, wifi and intelligent household electrical appliances as above, terminal equipment is for cell-phone, panel computer, notebook computer, palm computer, mobile internet equipment (mobile internet device, MID), wearable equipment for example, wherein, wearable equipment includes for example: smart watches, smart bracelets, pedometers, and the like.
3) "plurality" means two or more, and other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
4) "correspond" may refer to an association or binding relationship, and a corresponds to B refers to an association or binding relationship between a and B.
The following explains an application scenario of the embodiment of the present invention:
fig. 1 is an application scenario diagram of a voice control method according to an embodiment of the present invention, as shown in fig. 1, an application scenario in which a user controls an intelligent water heater through voice to adjust water temperature is provided in an embodiment of the present invention, in the application scenario, the user sends a voice signal to the intelligent water heater, and after receiving the voice signal of the user, the intelligent water heater performs voice signal recognition, determines a corresponding control instruction, and executes the control instruction, so as to achieve a purpose that the user performs voice control on the intelligent water heater.
In the prior art, as shown in an application scenario shown in fig. 1, since different users have different perceptions of water temperature, during a bathing process, a user generally controls heating power of a water heater in a voice control manner to increase or decrease water temperature so as to meet personalized water temperature requirements of the user. The voice control has the characteristics of no need of contact, no influence caused by blocking of a wall body and the like, is very suitable for being applied to the intelligent water heater, is arranged outside a bathroom through the intelligent water heater, is controlled through voice, brings convenience to a user, ensures the safety of equipment and the user, and improves the bathing experience of the user. However, because the ideal temperatures sensed by different users are different from each other, before the water temperature is adjusted to the ideal temperature through voice control, the water temperature often needs to be subjected to voice interaction with the intelligent water heater for multiple times to reach the ideal temperature required by the user, and therefore, the problems of time consumption, labor consumption and low interaction efficiency are caused.
The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a voice control method according to an embodiment of the present invention, which is exemplarily applied to an intelligent water heater, as shown in fig. 2, the voice control method according to the embodiment includes the following steps:
step S101, first voice information is obtained, wherein the first voice information is used for indicating the intelligent household appliance to execute a first preset function.
Illustratively, the first voice message is information received by the intelligent water heater and used for instructing the intelligent water heater to execute a first preset function, the information is obtained by performing digital conversion through a voice instruction input by a user, and can also be sent by a terminal device or a cloud server in communication with the intelligent water heater, and after the first voice message is obtained, the intelligent water heater can respond to the first voice message and execute the first preset function, for example, increasing the heating power, reducing the heating power, or setting the water temperature to a preset value, and the like.
And step S102, determining user identification information according to the first voice information.
Illustratively, the first voice message includes voiceprint information in addition to instruction information for instructing the smart home device to execute the first preset function. Different users have different sound production characteristics, so that different users produce different voiceprint information in the first voice information. Further, through the voiceprint information, different users who uttered the first voice information can be identified. Specifically, in a possible implementation manner, a voice recognition model is preset locally in the intelligent water heater, and the voice recognition model can perform voiceprint recognition on the first voice information and determine a voiceprint feature of the first voice information. The voiceprint feature can be a feature matrix output by the speech recognition model for characterizing a difference between the first speech information. The voiceprint features have a specific mapping relationship corresponding to the user identification information, and the mapping relationship can be determined through a preset user voice mapping relationship table, which is not described herein again.
Further, the speech recognition model may be a neural network model for speech recognition obtained by training, for example. In one possible implementation manner, the intelligent water heater is further communicated with the cloud server, and the intelligent water heater performs speech recognition model training by accepting a speech sample input by a user and uploading the speech sample to the cloud server, wherein the speech sample is, for example, first speech information. After the cloud server trains the voice recognition model according to the voice sample uploaded by the intelligent water heater to be convergent, the voice recognition model is issued to the intelligent water heater, and the intelligent water heater conducts voiceprint recognition by using the voice recognition model to obtain voiceprint characteristics of the first voice information.
According to the invention, the voice sample is uploaded to the cloud server for training and is issued to the intelligent water heater for use after the training is finished, so that the recognition accuracy and the recognition precision of the voice recognition model can be improved through uploading and training of the long-term voice sample of the intelligent water heater, and meanwhile, the voice print recognition is carried out by locally using the voice recognition model on the intelligent water heater, so that the recognition speed can be improved, the response speed in the voice control process can be improved, and the user experience can be improved.
Step S103, determining the function parameter of the first preset function according to the user identification information, and executing the first preset function according to the function parameter.
Exemplarily, a function parameter matched with user identification information is determined according to the user identification information, and fig. 3 is a schematic diagram for performing a temperature adjustment function according to the user identification information according to an embodiment of the present invention, as shown in fig. 3, a user a and a user B instruct an intelligent water heater to perform water temperature adjustment through first voice information, and the corresponding contents of the first voice information are the same and are both "hot spots", but because voiceprint information included in the first voice information sent by the user a and the user B is different, that is, voiceprint characteristics of the user a and the user B are different, the first voice information sent by the user a and the user B corresponds to different user identification information, and a corresponding "temperature rise parameter", that is, a function parameter, is determined according to unused user identification information. When the temperature adjusting function is finally executed, the temperature rising degree of the user A is different from that of the user B, and the temperature adjusting results matched with the user A and the user B are achieved.
In the embodiment of the invention, first voice information is acquired, wherein the first voice information is used for indicating the intelligent household appliance to execute a first preset function; determining user identification information according to the first voice information; and determining the function parameters of the first preset function according to the user identification information, and executing the first preset function according to the function parameters. Because different users experience different effects to the function of the household electrical appliance, the user identification information is determined according to the first voice information, and the corresponding function parameters are determined according to the user identification information, so that the first preset function can operate with the function parameters matched with the user, the problem of low efficiency caused by multiple times of adjustment according to actual experience of the user is avoided, the voice interaction efficiency of the intelligent household electrical appliance is improved, and the user can obtain better use experience.
Fig. 4 is a flowchart of a speech control method according to another embodiment of the present invention, and as shown in fig. 4, the speech control method according to this embodiment further details S103 on the basis of the speech control method according to the embodiment shown in fig. 2, and then the speech control method according to this embodiment includes the following steps:
step S201, first voice information is obtained, wherein the first voice information is used for indicating the intelligent water heater to execute a temperature adjusting function.
Step S202, according to the first voice information, determining user identification information.
Step S203, determining a user profile according to the user identification information, wherein the user profile comprises the target temperature.
Illustratively, one or more user profiles are stored in the intelligent water heater, which are information for recording user usage habits and characteristics of user usage for certain functions, and more particularly, a target temperature of the user, i.e., a temperature that the user feels most comfortable, is recorded in the user profile. For example, the user profile of user a records that the target temperature of user a is 39 degrees, and the user profile of user B records that the target temperature of user B is 40 degrees. The target temperature can be set individually by the user according to needs, or can be obtained by the intelligent water heater after self-learning according to the use habits of the user, and is not limited specifically at this time.
In one possible implementation, the user profile includes a plurality of candidate temperatures, and each candidate temperature corresponds to one time interval information.
In a possible implementation manner, after step S203, the method further includes:
S204A, according to the current time and the time interval information, the target temperature is determined from a plurality of candidate temperatures.
Optionally, as shown in fig. 5, step S204A includes three specific implementation steps S2041, S2042, and S2043:
step S2041, the current time is acquired.
Step S2042, determining corresponding time interval information according to the current time.
Step S2043, the candidate temperature corresponding to the time interval information is determined as the target temperature.
Illustratively, the time interval information is information for describing a time interval, such as "8 o 'clock-10 o' clock", "19 o 'clock-22 o' clock", and further, for example, "8 o 'clock-10 o' clock" and "2 o 'clock-19 o' clock", there are various ways to implement the time interval information, such as time interval identifications, each time interval identification corresponds to one alternative temperature, and in different time intervals or time intervals of different months, different alternative temperatures are determined as the target temperature, so as to further improve the temperature control accuracy and improve the user experience.
In another possible implementation manner, after step S203, the method further includes:
S204B, according to the first voice information, the target temperature is determined from a plurality of candidate temperatures.
For example, there may be a plurality of alternative temperatures in the user profile, such as "first alternative temperature", "second alternative temperature", and "third alternative temperature". Specifically, for example, the content of the first voice information is "temperature of a hot point", that is, corresponding to the first candidate temperature, at this time, the first candidate temperature is determined as the target temperature, which can meet the temperature regulation requirement of the user for the ideal temperature which is a little higher than the requirement of the user, because the first candidate temperature is also preset by the user, or determined after the intelligent water heater is learned by the user according to the usage habits of the user, the first candidate temperature may not be obtained by adding a point at will on the basis of the standard target temperature, but can meet the user comfort requirement and the "comfortable temperature with a little higher temperature" of the usage habits. Similarly, if the content of the first voice message is "a cool temperature", that is, corresponding to the second candidate temperature, the second candidate temperature is also "a comfortable temperature with a lower temperature" that can satisfy the user comfort requirement and the usage habit, taking the second candidate temperature as the target temperature, and for another example, the third candidate temperature is the standard comfortable temperature.
According to the invention, the target temperature adjusting function meeting the personalized requirements of the user is determined by setting a plurality of alternative temperatures and according to the first voice information input by the user, so that the use experience of the user is improved.
Step S205 sets the target temperature as a function parameter of the temperature adjustment function, and executes the temperature adjustment function.
Illustratively, the target temperature is a temperature matched with the user, and the target temperature is set as a functional parameter of the temperature adjusting function, so that the temperature adjusting function adjusts the temperature to a level matched with different users to adaptively meet the requirements of different users.
In this embodiment, the implementation manners of step S201 and step S202 are the same as the implementation manners of step S101 and step S102 in the embodiment shown in fig. 2 of the present invention, and are not described again.
In the embodiment of the invention, the application user file is determined through the first voice information, and the temperature adjusting function is carried out according to the target temperature in the user file, so that the intelligent water heater can improve hot water with different temperatures for different users, the repeated adjustment of the users is avoided, and the interaction efficiency of the intelligent water heater is improved.
Fig. 6 is a flowchart of a voice control method according to still another embodiment of the present invention, and as shown in fig. 6, the voice control method according to this embodiment adds a step of determining a target temperature according to volume information on the basis of the voice control method according to the embodiment shown in fig. 4, and then the voice control method according to this embodiment includes the following steps:
step S301, acquiring first voice information, wherein the first voice information is used for indicating the intelligent water heater to execute a temperature adjusting function.
Step S302, according to the first voice information, determining user identification information.
Step S303, determining a user profile according to the user identification information, wherein the user profile comprises a plurality of alternative temperatures.
And step S304, determining control instruction information according to the first voice information, wherein the control instruction information is used for instructing the intelligent household appliance to increase or decrease the current water temperature.
Illustratively, the control instruction information is an instruction instructing the smart home device to increase or decrease the current water temperature, for example, "increase temperature" or "decrease temperature".
In step S305, volume information of the first voice message is obtained, where the volume information is used to represent a sound volume of the first voice message.
Step S306, determining the temperature regulating quantity corresponding to the volume information according to the preset volume mapping relation.
Specifically, the volume information of the first voice information is used for describing the sound size of a voice instruction sent by a user, and the larger the sound sent by the user is, the larger the corresponding temperature adjustment amount is; the smaller the sound made by the user, the smaller the corresponding amount of temperature adjustment.
More specifically, the volume mapping relationship is a mapping relationship between the degree of sound emitted by the user and the temperature adjustment amount, for example, if the sound of the voice command emitted by the user is 40-50 db, the corresponding temperature adjustment amount is 0.2 degree celsius; when the voice command sound sent by the user is 50-60 decibels, the corresponding temperature adjustment amount is 0.5 ℃; and if the voice command sound sent by the user is 60-70 decibels, the corresponding temperature adjustment amount is 1 ℃.
And step S307, determining a target temperature from a plurality of alternative temperatures according to the control instruction information, the current water temperature and the temperature regulating quantity.
Exemplarily, the temperature adjusting direction is determined according to the control instruction information, and then the current water temperature is adjusted in the temperature adjusting direction according to the temperature adjusting amount to obtain an adjusting target temperature; and finally, selecting the temperature which is closest to the target temperature to be adjusted from the plurality of candidate temperatures, and determining the temperature as the target temperature.
In general, when a user controls the intelligent water heater by using a voice control mode, since the user's feeling of temperature is subjective, the user does not use a precise control command of "adjust the temperature to 39.6 degrees centigrade", but uses fuzzy control commands of "higher temperature" and "lower temperature" to try to adjust the intelligent water heater to an ideal body-sensing temperature. However, the module control instruction lacks specific step length information, so that the intelligent water heater can only adjust by a fixed step length when adjusting the temperature, and if the ideal sensible temperature of the user is greatly different from the current temperature, the user can only determine the target temperature from a plurality of alternative temperatures by repeating the step of 'temperature is higher a little bit' or 'temperature is lower a little bit', and then the intelligent water heater operates at the target temperature, thereby causing the inefficiency problem of voice interaction.
In this embodiment, the temperature adjustment amount is determined according to the volume of the voice command sent by the user, so as to determine the target temperature. The water temperature can be adjusted in a fast time in a bathing scene by a user, the interaction efficiency of the intelligent water heater and the user is improved, and the use experience of the user is improved.
Step S308, setting the target temperature as a function parameter of the temperature adjusting function, and executing the temperature adjusting function.
In this embodiment, the implementation manners of step S301 to step S303 and step S308 are the same as the implementation manners of step S201 to step S203 and step S205 in the embodiment shown in fig. 2 of the present invention, and are not described again.
Fig. 7 is a schematic structural diagram of a voice control device according to an embodiment of the present invention, which is applied to an intelligent water heater, and as shown in fig. 7, the voice control device 4 according to the embodiment includes:
the acquiring module 41 is configured to acquire first voice information, where the first voice information is used to instruct the intelligent household electrical appliance to execute a first preset function;
a determining module 42, configured to determine user identification information according to the first voice information;
and the executing module 43 is configured to determine a function parameter of the first preset function according to the user identification information, and execute the first preset function according to the function parameter.
In the above preferred embodiment of the voice control apparatus, the determining module 42 is specifically configured to:
performing voiceprint recognition on the first voice information through a voice recognition model preset in the local intelligent household appliance, and determining voiceprint characteristics of the first voice information; and determining user identification information corresponding to the voiceprint characteristics of the first voice information according to the preset voiceprint characteristic mapping.
In the above preferred technical solution of the voice control apparatus, the first preset function includes a temperature adjustment function, and the executing module 43 is specifically configured to, when determining the function parameter of the first preset function according to the user identification information:
determining a user profile according to the user identification information, wherein the user profile comprises a target temperature; the target temperature is set as a function parameter of a first preset function.
In the above preferred technical solution of the voice control apparatus, the user profile includes a plurality of candidate temperatures, each candidate temperature corresponds to a time interval information, and the executing module 43 is specifically configured to, before setting the target temperature as a function parameter of the first preset function:
acquiring current time; determining corresponding time interval information according to the current time; and determining the alternative temperature corresponding to the time interval information as the target temperature.
In the above preferred technical solution of the voice control apparatus, the user profile includes a plurality of candidate temperatures, and the executing module 43 is specifically configured to, before setting the target temperature as the function parameter of the first preset function:
determining control instruction information according to the first voice information, wherein the control instruction information is used for indicating the intelligent household appliance to increase or decrease the current water temperature; and determining the alternative temperature matched with the control instruction information in the plurality of alternative temperatures as the target temperature according to the current water temperature.
In the above preferred embodiment of the voice control apparatus, the executing module 43 is further configured to:
acquiring volume information of the first voice information, wherein the volume information is used for representing the sound volume of the first voice information; when the candidate temperature matched with the control instruction information in the multiple candidate temperatures is determined as the target temperature according to the current water temperature, the execution module 43 is specifically configured to: determining a temperature regulating quantity corresponding to the volume information according to a preset volume mapping relation; and determining a target temperature from a plurality of alternative temperatures according to the control instruction information, the current water temperature and the temperature regulating quantity.
In the above preferred embodiment of the voice control apparatus, the determining module 42 is further configured to:
uploading the first voice information to a cloud server; and receiving a voice recognition model issued by the cloud server, wherein the voice recognition model is used for representing the mapping relation between the voice information and the voiceprint characteristics.
The obtaining module 41, the determining module 42, and the executing module 43 are connected in sequence. The voice control apparatus 4 provided in this embodiment may execute the technical solutions of the method embodiments shown in fig. 2 to fig. 6, and the implementation principles and technical effects thereof are similar and will not be described herein again.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 8, an electronic device 5 according to the embodiment includes: a memory 51, a processor 52 and a computer program.
Wherein the computer program is stored in the memory 51 and configured to be executed by the processor 52 to implement the voice control method provided by any one of the embodiments corresponding to fig. 2-6 of the present invention.
The memory 51 and the processor 52 are connected by a bus 53.
The relevant descriptions and effects corresponding to the steps in the embodiments corresponding to fig. 2 to fig. 6 can be understood, and are not described in detail herein.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the voice control method provided in any one of the embodiments corresponding to fig. 2 to fig. 6 of the present invention.
The computer readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (10)

1. A voice control method is applied to intelligent household electrical appliance equipment and is characterized by comprising the following steps:
acquiring first voice information, wherein the first voice information is used for indicating the intelligent household appliance to execute a first preset function;
determining user identification information according to the first voice information;
and determining the function parameters of the first preset function according to the user identification information, and executing the first preset function according to the function parameters.
2. The method of claim 1, wherein determining user identification information from the first voice information comprises:
performing voiceprint recognition on the first voice information through a voice recognition model preset in the local intelligent household appliance, and determining voiceprint characteristics of the first voice information;
and determining user identification information corresponding to the voiceprint characteristics of the first voice information according to preset voiceprint characteristic mapping.
3. The method according to claim 1, wherein the first preset function comprises a temperature adjustment function, and determining the function parameters of the first preset function according to the user identification information comprises:
determining a user profile according to the user identification information, wherein the user profile comprises a target temperature;
and setting the target temperature as a function parameter of the first preset function.
4. The method according to claim 3, wherein the user profile includes a plurality of candidate temperatures, each candidate temperature corresponds to a time interval information, and before the target temperature is set as the function parameter of the first preset function, the method further includes:
acquiring current time;
determining corresponding time interval information according to the current time;
and determining the candidate temperature corresponding to the time interval information as the target temperature.
5. The method of claim 3, wherein the user profile comprises a plurality of candidate temperatures, and before setting the target temperature as the function parameter of the first preset function, the method further comprises:
determining control instruction information according to the first voice information, wherein the control instruction information is used for indicating the intelligent household appliance to increase or decrease the current water temperature;
and determining the alternative temperature matched with the control instruction information in the plurality of alternative temperatures as the target temperature according to the current water temperature.
6. The method of claim 5, further comprising:
acquiring volume information of first voice information, wherein the volume information is used for representing the sound volume of the first voice information;
determining the candidate temperature matched with the control instruction information from the plurality of candidate temperatures as the target temperature according to the current water temperature, including:
determining a temperature regulating quantity corresponding to the volume information according to a preset volume mapping relation;
and determining the target temperature in the plurality of alternative temperatures according to the control instruction information, the current water temperature and the temperature regulating quantity.
7. The method according to any one of claims 1-6, further comprising:
uploading the first voice information to a cloud server;
and receiving a voice recognition model issued by the cloud server, wherein the voice recognition model is used for representing the mapping relation between the voice information and the voiceprint characteristics.
8. A voice control apparatus, comprising:
the intelligent household appliance comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first voice information, and the first voice information is used for indicating the intelligent household appliance to execute a first preset function;
the determining module is used for determining user identification information according to the first voice information;
and the execution module is used for determining the function parameters of the first preset function according to the user identification information and executing the first preset function according to the function parameters.
9. An electronic device, comprising: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the speech control method of any one of claims 1 to 7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the voice control method of any one of claims 1 to 7.
CN202011130987.0A 2020-10-21 2020-10-21 Voice control method and device, electronic equipment and storage medium Active CN112786039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011130987.0A CN112786039B (en) 2020-10-21 2020-10-21 Voice control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011130987.0A CN112786039B (en) 2020-10-21 2020-10-21 Voice control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112786039A true CN112786039A (en) 2021-05-11
CN112786039B CN112786039B (en) 2022-12-13

Family

ID=75750683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011130987.0A Active CN112786039B (en) 2020-10-21 2020-10-21 Voice control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112786039B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113990298A (en) * 2021-12-24 2022-01-28 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium thereof
CN115268324A (en) * 2022-07-25 2022-11-01 青岛海尔科技有限公司 Instruction correction method and apparatus, storage medium, and electronic apparatus
WO2023098002A1 (en) * 2021-12-03 2023-06-08 青岛海尔科技有限公司 Method, system and apparatus for controlling household appliance, and storage medium and electronic apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520789A (en) * 2011-11-18 2012-06-27 上海聚力传媒技术有限公司 Method and equipment for realizing voice control of controlled equipment
CN103743065A (en) * 2014-01-20 2014-04-23 美的集团股份有限公司 Air conditioner, control method and control system thereof and terminal
CN110265015A (en) * 2019-06-24 2019-09-20 付金龙 A kind of method, system and translator by voice control volume
CN110671792A (en) * 2019-05-08 2020-01-10 青岛海尔空调器有限总公司 Method and device for controlling air outlet volume and sound outlet volume and air conditioner indoor unit
CN111245690A (en) * 2020-01-20 2020-06-05 宁波智轩物联网科技有限公司 Shortcut control system based on voice control
CN111365821A (en) * 2020-03-24 2020-07-03 宁波奥克斯电气股份有限公司 Control method for blowing out comfortable air by air conditioner and air conditioner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520789A (en) * 2011-11-18 2012-06-27 上海聚力传媒技术有限公司 Method and equipment for realizing voice control of controlled equipment
CN103743065A (en) * 2014-01-20 2014-04-23 美的集团股份有限公司 Air conditioner, control method and control system thereof and terminal
CN110671792A (en) * 2019-05-08 2020-01-10 青岛海尔空调器有限总公司 Method and device for controlling air outlet volume and sound outlet volume and air conditioner indoor unit
CN110265015A (en) * 2019-06-24 2019-09-20 付金龙 A kind of method, system and translator by voice control volume
CN111245690A (en) * 2020-01-20 2020-06-05 宁波智轩物联网科技有限公司 Shortcut control system based on voice control
CN111365821A (en) * 2020-03-24 2020-07-03 宁波奥克斯电气股份有限公司 Control method for blowing out comfortable air by air conditioner and air conditioner

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023098002A1 (en) * 2021-12-03 2023-06-08 青岛海尔科技有限公司 Method, system and apparatus for controlling household appliance, and storage medium and electronic apparatus
CN113990298A (en) * 2021-12-24 2022-01-28 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium thereof
CN113990298B (en) * 2021-12-24 2022-05-13 广州小鹏汽车科技有限公司 Voice interaction method and device, server and readable storage medium
CN115268324A (en) * 2022-07-25 2022-11-01 青岛海尔科技有限公司 Instruction correction method and apparatus, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN112786039B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN112786039B (en) Voice control method and device, electronic equipment and storage medium
CN113587401B (en) Air conditioner control method and device based on motion data detection, air conditioner and storage medium
CN105446156B (en) Control method, the device and system of household electrical appliance based on artificial intelligence
CN110531633B (en) Cooperative control method and device based on intelligent home operating system and storage medium
CN113587413B (en) Control method and device for air conditioner and air conditioner
CN113091244B (en) Control method and device for household appliance and equipment
CN113587400B (en) Air conditioner control method and device for setting temperature adjustment and air conditioner
CN110715416A (en) Air conditioning equipment, temperature control method and device
CN105042876A (en) Remote controller for gas water heater, gas water heater system and control method
CN112701738A (en) Charging method, charging device and electronic equipment
CN109405189B (en) Control method and device of air conditioner
CN112944624B (en) Method for air conditioner control and air conditioner
CN112781173A (en) Control method, device and equipment for bathroom temperature control equipment
CN114857745A (en) Method and device for controlling air conditioner to repel mosquitoes, air conditioner and storage medium
CN113357800B (en) Air conditioner temperature control method and device, electronic equipment and storage medium
CN115218358B (en) Indoor air environment adjusting method and equipment
CN114740750A (en) Intelligent home network control system and method
CN113405241B (en) Method and device for controlling air conditioning equipment and air conditioning equipment
CN114608172A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN106403125A (en) Humidifier control system and control method thereof
CN109246554B (en) Terminal and regulation and control method of vibrator thereof
CN113639433A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN113251588A (en) Automatic air conditioner control method and system and air conditioner
CN114992702A (en) Heating stove starting control method and device, electronic equipment and storage medium
CN115076964B (en) Air conditioner, control method and device thereof 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