CN114792520A - Method and device for controlling washing machine by voice - Google Patents
Method and device for controlling washing machine by voice Download PDFInfo
- Publication number
- CN114792520A CN114792520A CN202110105192.2A CN202110105192A CN114792520A CN 114792520 A CN114792520 A CN 114792520A CN 202110105192 A CN202110105192 A CN 202110105192A CN 114792520 A CN114792520 A CN 114792520A
- Authority
- CN
- China
- Prior art keywords
- age
- voice data
- voice
- user
- washing machine
- 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.)
- Pending
Links
- 238000005406 washing Methods 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000006870 function Effects 0.000 claims description 18
- 108090000623 proteins and genes Proteins 0.000 claims description 13
- 238000003860 storage Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002401 inhibitory effect Effects 0.000 claims 1
- 230000001755 vocal effect Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 210000004704 glottis Anatomy 0.000 description 2
- 210000000867 larynx Anatomy 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 238000010521 absorption reaction Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000645 desinfectant Substances 0.000 description 1
- 239000003599 detergent Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- -1 etc. Substances 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 210000000554 iris Anatomy 0.000 description 1
- 210000004072 lung Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 210000000214 mouth Anatomy 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 210000001331 nose Anatomy 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 210000003800 pharynx Anatomy 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000007921 spray Substances 0.000 description 1
- 238000005507 spraying Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 210000003437 trachea Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution 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)
- Control Of Washing Machine And Dryer (AREA)
Abstract
The embodiment of the application provides a method and a device for controlling a washing machine by voice, wherein the washing machine receives voice data input by a user, identifies whether the voice data contains preset keywords, determines the age of a sounding user corresponding to the voice data by voiceprint identification if the voice data contains the preset keywords, and forbids to execute actions corresponding to the voice data when the age of the sounding user is smaller than the preset age; and when the age of the sounding user is not less than the preset age, executing the action corresponding to the voice data. By identifying the age of the sounding user corresponding to the voice data, when the sounding user is determined to be a child, the action corresponding to the voice data is prohibited from being executed, the potential safety hazard of the child caused by curious misoperation is reduced, and the use safety of the washing machine is improved.
Description
Technical Field
The present application relates to the field of intelligent home appliances, and more particularly, to a method and apparatus for voice-controlling a washing machine.
Background
Along with the development of internet technology and artificial intelligence, intelligent household appliances have entered into the lives of people, and at present, many intelligent household appliances have a voice module, and users realize the on-off, control and the like of the intelligent household appliances through the voice module.
Taking an intelligent washing machine as an example, most intelligent washing machines are provided with a voice module, and a user controls the operations of starting, pausing, opening a door, shutting down and the like of the washing machine in a voice mode. And some operations are not suitable for children to use, and the children operation may bring potential safety hazard, thereby reducing the use safety of the intelligent washing machine.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling a washing machine through voice, and the safety of an intelligent washing machine can be improved.
In a first aspect, the present application provides a method for controlling a washing machine by voice, comprising:
receiving voice data input by a user;
identifying whether the voice data contains preset keywords or not;
if the voice data contains preset keywords, determining the age of a sound-producing user corresponding to the voice data through voiceprint recognition;
when the age of the sounding user is smaller than a preset age, prohibiting to execute the action corresponding to the voice data;
and when the age of the sounding user is not less than the preset age, executing the action corresponding to the voice data.
Optionally, the prohibiting the action corresponding to the voice data from being executed includes: the child lock function is unlocked.
Optionally, when the age of the user who utters is smaller than a preset age, the method further includes:
sending notification information to control equipment or a preset mobile phone number connected with the washing machine, wherein the notification information is used for notifying a child to operate the washing machine; and/or
And prompting the user by voice that the action corresponding to the voice data cannot be executed.
Optionally, the determining, through voiceprint recognition, the age of the sounding user corresponding to the voice data includes:
extracting voiceprint parameters from the speech data, the voiceprint parameters including one or more of: gene period, short-term frequency, short-term energy, short-term zero-crossing rate, cepstrum, linear prediction coefficient LPC parameter, Mel cepstrum coefficient MFCC parameter;
matching the voiceprint parameters with the previously acquired voiceprint parameters of a plurality of age stages;
and if the voiceprint parameters are successfully matched with the voiceprint parameters of the first age stage of the voiceprint parameters of the plurality of age stages, determining that the maximum value of the first age stage is the age of the sounding user.
Optionally, the identifying whether the voice data includes a preset keyword includes:
identifying whether the voice data contains voice awakening words of the washing machine or not;
and when the voice data comprises the voice awakening word of the washing machine, identifying whether the voice data comprises a preset keyword or not.
Optionally, the preset keyword includes start, pause, open a door, start or close a machine, and the method further includes:
receiving a setting message sent by control equipment, wherein the setting message comprises the preset keyword;
and setting the preset keywords according to the setting message.
In a second aspect, the present application provides an apparatus for controlling a washing machine by voice, comprising:
the receiving module is used for receiving voice data input by a user;
the voice recognition module is used for recognizing whether the voice data contains preset keywords or not;
the voice print recognition module is used for determining the age of a sound production user corresponding to the voice data through voice print recognition when the voice data contains preset keywords;
the safety module is used for prompting the user that the action corresponding to the voice data cannot be executed in a voice mode and forbidding the execution of the action corresponding to the voice data when the age of the voice user is smaller than a preset age;
and the execution module is used for executing the action corresponding to the voice data when the age of the sounding user is not less than the preset age.
Optionally, the security module is specifically configured to:
when the age of the sounding user is smaller than the preset age, the voice prompts the user that the action corresponding to the voice data cannot be executed, and a child lock function is started.
Optionally, the washing machine further comprises a sending module and/or a prompting module, wherein the sending module is used for sending notification information to a control device or a mobile phone number connected to the washing machine, and the notification information is used for notifying a child to operate the washing machine;
and the prompting module is used for prompting the user that the action corresponding to the voice data cannot be executed by voice.
Optionally, the voiceprint recognition module is specifically configured to:
extracting voiceprint parameters from the speech data, the voiceprint parameters including one or more of: gene period, short-term frequency, short-term energy, short-term zero-crossing rate, cepstrum, linear prediction coefficient LPC parameter and Mel cepstrum coefficient MFCC parameter;
matching the voiceprint parameters with the voiceprint parameters of a plurality of age stages which are obtained in advance;
and if the voiceprint parameters are successfully matched with the voiceprint parameters in the first age stage of the voiceprint parameters in the plurality of age stages, determining that the maximum value in the first age stage is the age of the sounding user.
Optionally, the speech recognition module is specifically configured to:
identifying whether the voice data contains voice awakening words of the washing machine or not;
and when the voice data comprises the voice awakening word of the washing machine, identifying whether the voice data comprises a preset keyword or not.
Optionally, the preset keywords include start, pause, open, start, or close. The receiving module is further configured to receive a setting message sent by the control device, where the setting message includes the preset keyword; the device also comprises a setting module used for setting the preset keywords according to the setting message.
In a third aspect, the present application provides a washing machine comprising: at least one processor, a memory and a laundry assembly;
the memory stores computer execution instructions;
the at least one processor executing computer-executable instructions stored by the memory causes the at least one processor to perform the method according to the first aspect of the application;
the washing assembly is used for executing corresponding operation according to the control of the at least one processor.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method according to the first aspect and any one of the alternative aspects of the present invention when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the method according to any one of the first and alternative aspects of the present invention.
The method for controlling the washing machine through the voice comprises the steps that voice data input by a user are received, whether preset keywords are contained in the voice data or not is recognized, if the preset keywords are contained in the voice data, the age of a sound producing user corresponding to the voice data is determined through voiceprint recognition, and when the age of the sound producing user is smaller than the preset age, actions corresponding to the voice data are forbidden to be executed; and when the age of the sounding user is not less than the preset age, executing an action corresponding to the voice data. Through the age of the sound-producing user corresponding to the recognized voice data, when the sound-producing user is determined to be a child, the action corresponding to the voice data is forbidden to be executed, the potential safety hazard of the child caused by curious misoperation is reduced, and the use safety of the washing machine is improved.
Drawings
FIG. 1 is a schematic view of a washing machine;
FIG. 2 is a method for controlling a washing machine by voice according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for controlling a washing machine by voice according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a washing machine according to a third embodiment of the present invention.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The application provides a method for controlling a washing machine by voice, which can be applied to a washing machine with a voice function or an intelligent washing machine, wherein the washing machine can be a pulsator washing machine, a drum washing machine or an agitator washing machine.
Fig. 1 is a schematic view showing a structure of a washing machine, and the washing machine shown in fig. 1 is a drum type washing machine including a cabinet 1, a main control panel 2, and a front door 3 (also referred to as a front cover).
The box body 1 comprises a rear U-shaped assembly, a front panel, a bottom decorative plate, a table top plate, a back cover plate and the like. The back of the rear U-shaped assembly is provided with a water inlet, a box body handle and the like.
The main control panel 2 is provided with a display screen, a knob, keys, a distributor box and the like. The display screen is arranged in the middle of the main control panel 2 and used for displaying the working mode of the washing machine, the washing time, the prompt message and the like. The knobs and keys are generally provided on the right side of the main control panel 2 for selecting an operation mode of the washing machine, controlling the on/off, pause, etc. operations of the washing machine. The dispenser box is generally disposed at the left side of the main control panel 2 for placing detergent, pre-washing agent, disinfectant, etc., and a spray head for spraying water is disposed above the dispenser box, and the water flows into the outer tub from the dispenser box.
The main control circuit board is arranged in the main control board 2, and is usually located behind the knob and the keys, and a processing unit is arranged on the main control circuit board and is used for controlling the operation of the washing machine. The processing unit may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, or discrete hardware components.
The front door 3 is arranged on the front panel and is positioned below the main control panel 2, the front door 3 can be closed, and clothes are put into the washing machine through the front door 3.
It can be understood that the washing machine also comprises a water inlet component, a drum assembly, a heating component, a driving component, a balance shock absorption component, a water discharge component and the like in the box body 1. This embodiment is not illustrated.
Fig. 2 is a method for controlling a washing machine by voice according to an embodiment of the present invention, where the method of the present embodiment may be executed by a processing unit in a main control board 2, and as shown in fig. 2, the method of the present embodiment may include the following steps.
S101, voice data input by a user are received.
The washing machine is provided with a voice acquisition device which can be a microphone, and when the washing machine is in a standby state or an operating state, the microphone acquires voice data.
S102, whether the voice data contain preset keywords or not is recognized.
The voice module of the washing machine generally needs a voice wake-up word to wake up, and the wake-up word is, for example, small, high, and the like. The voice recognition module recognizes the voice data to obtain text content corresponding to the voice data, if the text content corresponding to the voice data contains preset keywords, step S103 is executed, and if the text content corresponding to the voice data does not contain the preset keywords, step S106 is executed.
The preset keywords include any one or more of the following words: starting, suspending, opening a door, starting or shutting down.
The key words can be flexibly set by a user according to needs, the intelligent washing machine can be connected with the control device, the washing machine is set through app on the control device, and the control device can be a mobile phone, a tablet computer, a desktop computer and the like.
The method comprises the steps that a user sets keywords through app on control equipment, the control equipment sends setting information to the intelligent washing machine according to the setting of the user, the setting information comprises preset keywords, and the intelligent washing machine sets the preset keywords according to the setting information.
And S103, determining the age of the sound-producing user corresponding to the voice data through voiceprint recognition.
The voiceprint refers to the sound wave frequency carrying language information displayed by an electroacoustic instrument, belongs to biological authentication as fingerprints, palm prints, facial images, irises and handwriting, and can identify different people, people of different ages and people of different sexes through voiceprint identification.
The age and gender difference of the human can be reflected on the whole pronunciation system, particularly the shape of the vocal tract, so that the vocal print parameters are changed, and the corresponding difference can be extracted from various vocal print parameters. The human vocal organs include: lung, trachea, larynx, pharynx, nose, mouth. The part of the larynx is the glottis and the passage from the glottis to the lips is the vocal tract. The shape of the vocal tract is mainly determined by the position of the lips, jaws, and tongue. The varying shape of the vocal tract results in the emission of different sounds.
In one implementation mode, voiceprint parameters are extracted from voice data, the extracted voiceprint parameters are matched with voiceprint parameters of a plurality of age stages, and if the extracted voiceprint parameters are successfully matched with the voiceprint parameters of a first age stage of the voiceprint parameters of the age stages, the maximum value of the first age stage is determined to be the age of a speaking user.
Optionally, the voiceprint parameters include one or more of the following parameters: gene period, short-term frequency, short-term energy, short-term zero-crossing rate, cepstrum, Linear Prediction Coefficient (LPC) parameter, Mel-scale frequency Cepstral Coefficients (MFCC) parameter.
The voiceprint parameters of people in different age stages are different, the voiceprint parameters in different age stages can be obtained through a large amount of voice data, and if the voiceprint parameters comprise gene periods, short-time frequency and short-time energy, 3 age stages, namely 3-8 years old, 9-15 years old and more than 15 years old are provided, the voiceprint parameters in the three age stages are different in value. Exemplary values for the gene cycle from 3 to 8 years old are a1-a2, short-term frequency b1-b2, short-term energy c1-c 2; the gene cycle of 9-15 years old is a3-a4, the short-term frequency is b3-b4, and the short-term energy is c3-c 4; the gene cycle above 15 years old is a5-a6, the short-term frequency is b3-b4, and the short-term energy is c3-c 4.
And during matching, comparing the gene cycle of the extracted voice data with the gene cycles of the three age groups, comparing the short-time frequency of the extracted voice data with the short-time frequencies of the three age groups, and comparing the short-time energy of the extracted voice data with the short-time energy of the three age groups. And if the gene cycle, the short-term frequency and the short-term energy of the extracted voice data all belong to the value ranges of the gene cycle, the short-term frequency and the short-term energy corresponding to the age range of 9-15 years, determining that the voiceprint parameters of the extracted voice data are matched with the voiceprint parameters corresponding to the age range of 9-15 years, and taking the maximum age value 15 in the age range of 9-15 years as the age of the voice-producing user.
In another possible implementation manner, similarity between the extracted voiceprint parameters and the voiceprint parameters corresponding to each age stage is calculated, and when the similarity between the extracted voiceprint parameters and the voiceprint parameters of the first age stage is greater than a similarity threshold, it is determined that the extracted voiceprint parameters are successfully matched with the voiceprint parameters of the first age stage. And when the similarity between the extracted voiceprint parameters and the voiceprint parameters in the first age stage is less than or equal to the similarity threshold, determining that the extracted voiceprint parameters are not matched with the voiceprint parameters in the first age stage or the matching fails.
In another implementation, a voiceprint recognition model can be obtained by training a large number of voice data samples, and after voice data is input into the voiceprint recognition model, the age of a voice user corresponding to the voice data can be obtained. The voiceprint recognition model can be obtained by adopting deep neural network model training.
And S104, judging whether the age of the sounding user is smaller than a preset age.
The preset age is the corresponding age of the child, for example, 12 years, 15 years, etc., when the age of the speaking user is smaller than the preset age, step 105 is executed, and when the age of the speaking user is not smaller than (i.e., greater than or equal to) the preset age, step 106 is executed.
S105, prohibiting the operation corresponding to the voice data.
When the age of the sounding user is smaller than the preset age, the sounding user is indicated as a child, and the action corresponding to the voice data is forbidden to be executed in order to avoid potential safety hazards possibly brought by child operation.
After the operation corresponding to the voice data is prohibited, the operation corresponding to the voice data is not executed, and the washing machine continues to operate.
If the washing machine has the child lock function, the action corresponding to the execution of the voice data is specifically prohibited as follows: when the child lock function is started, any other operation key can lose the control function temporarily, so that the danger caused by curious misoperation of children is avoided.
After the child lock function is turned on, the washing machine can respond to other external operations of the user only if the child lock function is released. If the user does not release the child lock function, the washing machine operates according to the set operation mode and does not respond to other external operations of the user during the operation, and after the set operation mode is finished, the washing machine releases the child lock function. For example, if the user sets a quick-wash mode, the washing machine operates in the quick-wash mode after the child lock function is activated, and no other operation is responded to in the process.
Optionally, on the premise that the washing machine has the child lock function, when the action corresponding to the voice data is prohibited, the child lock function may not be turned on, and only the action corresponding to the voice data is prohibited.
If the washing machine is connected with the control equipment, when the age of the sounding user is determined to be smaller than the preset age, notification information can be sent to the control equipment connected with the washing machine, the notification information is used for notifying children to operate the washing machine, and parents can know the situation according to the notification information and take corresponding measures.
Or when the age of the sounding user is determined to be smaller than the preset age, sending a notification message to a preset mobile phone number, namely sending the notification message in a short message mode.
When the age of the sounding user is determined to be smaller than the preset age, optionally, the user can be prompted by voice that the action corresponding to the voice data cannot be executed.
And S106, executing the action corresponding to the voice data.
When the age of the voice user is larger than or equal to the preset age, the voice data are not sent by children and are normal voice control instructions of the user to the washing machine, and the action corresponding to the voice data is determined according to the recognized characters corresponding to the voice data.
For example, when the action corresponding to the voice data is pause, the washing machine is controlled to pause, and when the action corresponding to the voice data is shutdown, the washing machine is controlled to shut down.
In the embodiment, voice data input by a user is received, whether the voice data contains preset keywords or not is identified, if the voice data contains the preset keywords, the age of a sound-producing user corresponding to the voice data is determined through voiceprint identification, and when the age of the sound-producing user is smaller than the preset age, the action corresponding to the voice data is forbidden to be executed; and when the age of the sounding user is not less than the preset age, executing the action corresponding to the voice data. Through the age of the sound-producing user corresponding to the recognized voice data, when the sound-producing user is determined to be a child, the action corresponding to the voice data is forbidden to be executed, the potential safety hazard of the child caused by curious misoperation is reduced, and the use safety of the washing machine is improved.
Fig. 3 is a schematic structural diagram of a device for controlling a washing machine by voice according to a second embodiment of the present application, the device being integrated in the washing machine, as shown in fig. 3, the device 100 of the present embodiment includes:
a receiving module 11, configured to receive voice data input by a user;
the voice recognition module 12 is configured to recognize whether the voice data includes a preset keyword;
the voiceprint recognition module 13 is configured to determine, through voiceprint recognition, an age of a sound producing user corresponding to the voice data when the voice data includes a preset keyword;
the safety module 14 is used for forbidding to execute the action corresponding to the voice data when the age of the voice user is smaller than the preset age;
and the execution module 15 is used for executing the action corresponding to the voice data when the age of the sounding user is not less than the preset age.
Optionally, the security module 14 is specifically configured to: when the age of the sounding user is smaller than the preset age, the voice prompts the user that the action corresponding to the voice data cannot be executed, and the child lock function is started.
Optionally, the washing machine further comprises a sending module and a prompting module, wherein the sending module is used for sending notification information to a control device connected with the washing machine or a preset mobile phone number, and the notification information is used for notifying a child to operate the washing machine. And the prompting module is used for prompting the user that the action corresponding to the voice data cannot be executed by voice.
Optionally, the voiceprint recognition module 13 is specifically configured to:
extracting voiceprint parameters from the speech data, the voiceprint parameters including one or more of: gene period, short-term frequency, short-term energy, short-term zero-crossing rate, cepstrum, linear prediction coefficient LPC parameter and Mel cepstrum coefficient MFCC parameter;
matching the voiceprint parameters with the previously acquired voiceprint parameters of a plurality of age stages;
and if the voiceprint parameters are successfully matched with the voiceprint parameters of the first age stage of the voiceprint parameters of the plurality of age stages, determining that the maximum value of the first age stage is the age of the sounding user.
Optionally, the speech recognition module 12 is specifically configured to: and identifying whether the voice data contains the voice awakening word of the washing machine or not, and identifying whether the voice data contains a preset keyword or not when the voice data contains the voice awakening word of the washing machine.
Optionally, the preset keywords include start, pause, open, start, or close. The receiving module 11 is further configured to receive a setting message sent by the control device, where the setting message includes the preset keyword; the apparatus 100 further includes a setting module, configured to set the preset keyword according to the setting message.
The apparatus of this embodiment may be configured to execute the method of the first embodiment, and the specific implementation manner and the technical effect are similar and will not be described herein again.
Fig. 4 is a schematic structural diagram of a washing machine according to a third embodiment of the present invention, and as shown in fig. 4, the washing machine 200 includes: the electronic device 200 comprises a processor 21, a memory 22 and a transceiver 23, wherein the memory 22 is used for storing instructions, the transceiver 23 is used for communicating with other devices, and the processor 21 is used for executing the instructions stored in the memory, so that the electronic device 200 executes the method steps according to the first embodiment.
It is understood that the present embodiment only shows the same components as the processor 21, the memory 22 and the transceiver 23, and the washing machine further includes more functional components, which can be referred to the above description of the washing machine shown in fig. 1. Wherein the processor 21, the memory 22 and the transceiver 23 are located on the main control board circuit of the washing machine shown in fig. 1.
A fourth embodiment of the present invention provides a computer-readable storage medium, where a computer-executable instruction is stored in the computer-readable storage medium, and the computer-executable instruction, when executed by a processor, is used to implement the method steps performed by the distribution device in the first embodiment or the second embodiment, where specific implementation manners and technical effects are similar, and are not described herein again.
A fifth embodiment of the present invention provides a computer program product, including a computer program, where the computer program, when executed by a processor, implements the method steps executed by the distribution device in the first embodiment or the second embodiment, and specific implementation manners and technical effects are similar, and are not described herein again.
The specific connection medium between the processor 21, the memory 22 and the communication interface 23 is not limited in the embodiment of the present application. In fig. 4, the processor 21, the memory 22, and the communication interface 23 are connected by a bus 24. The bus 24 is shown in fig. 4 by a thick line, and the connection manner between other components is merely illustrative and not limited thereto. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
It should be understood that the processor in the embodiments of the present application may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will also be appreciated that the memory in the embodiments of the subject application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
As used in this specification, the terms "unit," "module," and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, or software in execution.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the above embodiments, the functions of the functional units may be fully or partially implemented by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). The procedures or functions described in accordance with the embodiments of the present application are generated in whole or in part when the computer program instructions (programs) are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A method of voice controlling a washing machine, comprising:
receiving voice data input by a user;
identifying whether the voice data contains preset keywords or not;
if the voice data contains preset keywords, determining the age of a sound-producing user corresponding to the voice data through voiceprint recognition;
when the age of the sounding user is smaller than a preset age, forbidding to execute the action corresponding to the voice data;
and when the age of the sounding user is not smaller than the preset age, executing an action corresponding to the voice data.
2. The method of claim 1, wherein the inhibiting the action corresponding to the voice data comprises:
unlocking the child lock.
3. The method of claim 1, wherein when the age of the speaking user is less than a preset age, the method further comprises:
sending notification information to control equipment or a preset mobile phone number connected with the washing machine, wherein the notification information is used for notifying children of operating the washing machine; and/or
And prompting the user by voice that the action corresponding to the voice data cannot be executed.
4. The method according to any one of claims 1-3, wherein determining the age of the user who uttered the voice data corresponds to through voiceprint recognition comprises:
extracting voiceprint parameters from the speech data, the voiceprint parameters including one or more of: gene period, short-term frequency, short-term energy, short-term zero-crossing rate, cepstrum, linear prediction coefficient LPC parameter and Mel cepstrum coefficient MFCC parameter;
matching the voiceprint parameters with the previously acquired voiceprint parameters of a plurality of age stages;
and if the voiceprint parameters are successfully matched with the voiceprint parameters of the first age stage of the voiceprint parameters of the plurality of age stages, determining that the maximum value of the first age stage is the age of the sounding user.
5. The method of claim 4, wherein the recognizing whether the voice data includes a preset keyword comprises:
identifying whether the voice data contains voice awakening words of the washing machine or not;
and when the voice data comprises the voice awakening word of the washing machine, identifying whether the voice data comprises a preset keyword or not.
6. The method of claim 5, wherein the preset keywords comprise start, pause, open, power on, or power off, and the method further comprises:
receiving a setting message sent by control equipment, wherein the setting message comprises the preset keyword;
and setting the preset keywords according to the setting message.
7. An apparatus for controlling a washing machine by voice, comprising:
the receiving module is used for receiving voice data input by a user;
the voice recognition module is used for recognizing whether the voice data contains preset keywords or not;
the voice print recognition module is used for determining the age of a sounding user corresponding to the voice data through voice print recognition when the voice data contains preset keywords;
the safety module is used for forbidding to execute the action corresponding to the voice data when the age of the voice user is smaller than the preset age;
and the execution module is used for executing the action corresponding to the voice data when the age of the sounding user is not less than the preset age.
8. The apparatus of claim 7, wherein the security module is specifically configured to:
when the age of the sounding user is smaller than the preset age, the voice prompts the user that the action corresponding to the voice data cannot be executed, and the child lock function is started.
9. A washing machine, characterized by comprising: at least one processor, a memory and a laundry assembly;
the memory stores computer-executable instructions;
execution of computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform the method of any one of claims 1 to 6;
the washing assembly is used for executing corresponding operation according to the control of the at least one processor.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the method of any one of claims 1 to 6.
11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110105192.2A CN114792520A (en) | 2021-01-26 | 2021-01-26 | Method and device for controlling washing machine by voice |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110105192.2A CN114792520A (en) | 2021-01-26 | 2021-01-26 | Method and device for controlling washing machine by voice |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114792520A true CN114792520A (en) | 2022-07-26 |
Family
ID=82459967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110105192.2A Pending CN114792520A (en) | 2021-01-26 | 2021-01-26 | Method and device for controlling washing machine by voice |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114792520A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115529202A (en) * | 2022-08-30 | 2022-12-27 | 广东好太太科技集团股份有限公司 | Clothes airing machine control method, device and equipment based on voice recognition and storage medium |
-
2021
- 2021-01-26 CN CN202110105192.2A patent/CN114792520A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115529202A (en) * | 2022-08-30 | 2022-12-27 | 广东好太太科技集团股份有限公司 | Clothes airing machine control method, device and equipment based on voice recognition and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109584860B (en) | Voice wake-up word definition method and system | |
KR101986867B1 (en) | Speaker verification in a health monitoring system | |
CN108335695A (en) | Sound control method, device, computer equipment and storage medium | |
KR102416782B1 (en) | Method for operating speech recognition service and electronic device supporting the same | |
WO2019192250A1 (en) | Voice wake-up method and apparatus | |
CN109979438A (en) | Voice awakening method and electronic equipment | |
CN108538293A (en) | Voice awakening method, device and smart machine | |
CN107481718A (en) | Audio recognition method, device, storage medium and electronic equipment | |
CN101772015A (en) | Method for starting up mobile terminal through voice password | |
EP3923198A1 (en) | Method and apparatus for processing emotion information | |
US11270701B2 (en) | Home appliance and method for controlling thereof | |
CN106175727B (en) | Expression pushing method applied to wearable device and wearable device | |
CN110544468B (en) | Application awakening method and device, storage medium and electronic equipment | |
US11514890B2 (en) | Method for user voice input processing and electronic device supporting same | |
US11557278B2 (en) | Speaker dependent follow up actions and warm words | |
CN109272991A (en) | Method, apparatus, equipment and the computer readable storage medium of interactive voice | |
CN106022053B (en) | A kind of unlocking method and device | |
Albright et al. | Learning and learnability in phonology | |
CN103390305A (en) | A text-prompt type voiceprint access control system | |
CN114792520A (en) | Method and device for controlling washing machine by voice | |
WO2020102991A1 (en) | Method and apparatus for waking up device, storage medium and electronic device | |
TW202326706A (en) | Voice wakeup method and voice wakeup device | |
CN111754989B (en) | Avoiding method for voice false wake-up and electronic equipment | |
CN115137310A (en) | Sleep data management method and system based on music identification of Internet of things | |
Tsai et al. | Self-defined text-dependent wake-up-words speaker recognition system |
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 |