A speech recognition method, device, equipment and medium

By identifying the main noise source and reducing its volume, combined with the optimization of the speech recognition model, the problem of noise interference in smart devices during speech recognition is solved, improving the success rate of speech recognition and reducing the impact on users' lives.

CN113724701BActive Publication Date: 2024-10-22QINGDAO HAIER WASHING MASCH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010391846.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-11
Publication Date
2024-10-22
Estimated Expiration
2040-05-11

AI Technical Summary

Technical Problem

When smart devices perform speech recognition, they are easily affected by the noise of the surrounding environment, resulting in an unsatisfactory speech recognition success rate. Especially when the environment changes, the effect of existing noise reduction models is limited.

Method used

By identifying the main noise source and sending volume control instructions to it, reducing the volume of the noise source, and then using the speech recognition model for recognition, the quality of the voice command and the recognition success rate are improved.

Benefits of technology

Effectively reduce the interference of environmental noise on voice commands, improve the success rate of speech recognition, and reduce the impact on users' lives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113724701B_ABST
    Figure CN113724701B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention disclose a speech recognition method, device, equipment and medium. The speech recognition method includes: determining the main noise source according to the scene in which the home appliance receives the user's wake-up voice; sending a volume control instruction to the main noise source, the volume control instruction is used to instruct the main noise source to reduce the volume; receiving the user's voice instruction, and performing speech recognition on the voice instruction through a speech recognition model. The technical solution of the embodiment of the present invention reduces the impact of environmental noise on the user's voice instruction and improves the success rate of speech recognition by lowering the volume of the main noise source before collecting the user's voice instruction and using the speech recognition model for speech recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of smart home, and in particular to a speech recognition method, device, equipment and medium. Background Art

[0002] With the development of voice recognition technology, many smart devices have achieved the effect of being controlled by voice without the need for manual operation by the user, bringing great convenience to people's lives. However, when smart devices collect user's voice control commands, they may also collect noise from other devices or people around them, affecting the subsequent voice recognition process.

[0003] In the prior art, in order to improve the success rate of speech recognition, smart devices usually perform noise reduction processing on the received voice control instructions according to a pre-trained noise reduction model before performing speech recognition, and then perform speech recognition on the noise-reduced voice control instructions. This method can only achieve noise reduction for specific environmental noise. When the environment in which the smart device is located changes, the noise reduction effect will become unsatisfactory, thereby affecting the success rate of speech recognition. Summary of the invention

[0004] The embodiments of the present invention provide a speech recognition method, apparatus, device and medium, which reduce the impact of environmental noise on user voice commands and improve the success rate of speech recognition by lowering the volume of a main noise source before collecting the user's voice commands and using a speech recognition model for speech recognition.

[0005] In a first aspect, an embodiment of the present invention provides a speech recognition method, the method comprising:

[0006] Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice;

[0007] Sending a volume control instruction to the main noise source, wherein the volume control instruction is used to instruct the main noise source to reduce the volume;

[0008] Receive a user's voice command, and perform voice recognition on the voice command through a voice recognition model.

[0009] In a second aspect, an embodiment of the present invention further provides a speech recognition device, the device comprising:

[0010] A main noise source determination module, used to determine the main noise source according to the scene in which the home appliance receives the user's wake-up voice;

[0011] A volume control instruction sending module, used for sending a volume control instruction to the main noise source, wherein the volume control instruction is used for instructing the main noise source to reduce the volume;

[0012] The speech recognition module is used to receive the user's speech instructions and perform speech recognition on the speech instructions through the speech recognition model.

[0013] In a third aspect, an embodiment of the present invention further provides a device, the device comprising:

[0014] one or more processors;

[0015] A memory for storing one or more programs;

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the speech recognition method provided by any embodiment of the present invention.

[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the speech recognition method provided by any embodiment of the present invention.

[0018] The technical solution of the embodiment of the present invention determines the main noise source according to the scenario in which the home appliance receives the user's wake-up voice, and sends a volume control instruction to the main noise source to instruct the main noise source to lower the volume, and finally receives the user's voice command and performs voice recognition on the voice command through a voice recognition model. On the one hand, by reducing the volume of the main noise source, the interference of the main noise in the environment on the user's voice command can be reduced, and the voice quality of the voice command received by the home appliance is improved under the premise of having little impact on the user's normal life, thereby improving the success rate of voice recognition. On the other hand, voice recognition is performed through the voice recognition model to improve the success rate of voice recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart of a speech recognition method in Embodiment 1 of the present invention;

[0020] Figure 2 is a flow chart of a speech recognition method in Embodiment 2 of the present invention;

[0021] Figure 3 is a structural diagram of a speech recognition device in Embodiment 3 of the present invention;

[0022] Figure 4 It is a structural schematic diagram of a device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0023] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0024] Embodiment 1

[0025] Figure 1 This is a flow chart of a speech recognition method in Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the case where the volume of the main noise source is reduced before receiving a voice command. The method can be executed by a speech recognition device, which can be implemented by software and / or hardware and can be integrated in various general-purpose computer devices. The method specifically includes the following steps:

[0026] Step 110: Determine the main noise source according to the scene in which the home appliance is located when receiving the user's wake-up voice.

[0027] Among them, the main noise source refers to the noise source that has a greater impact on the user's voice commands. For example, the main noise source can be a device with a relatively high operating noise among smart home appliances, such as a smart washing machine, a smart TV, and a smart range hood.

[0028] In this embodiment, when the household appliance receives the user's wake-up voice, it determines the current scene and determines the main noise source that has the greatest impact on the user's subsequent input voice commands based on the scene. The scene in which the household appliance is located may include devices in the current environment that are in operation and emit operating noise, the current time, or information such as the current user's location and status.

[0029] Exemplarily, when a user sends a wake-up command "Hi! Smart washing machine" to a smart washing machine, the smart washing machine obtains the home appliances in operation in the current environment, determines the operating noise of each home appliance, and uses the home appliance with the loudest operating noise or at least one home appliance with an operating noise greater than a set threshold as the main noise source. For example, if a smart washing machine obtains that the home appliances currently in operation are a smart TV and a smart air conditioner, where the operating noise of the smart TV is 90 decibels and the operating noise of the smart air conditioner is 30 decibels, the smart TV with the loudest operating noise is used as the main noise source.

[0030] Optionally, determining a main noise source according to a scenario in which the home appliance receives the user's wake-up voice includes:

[0031] When receiving the user's wake-up voice, obtaining at least one target device in the current environment that is in operation;

[0032] Obtain the distance between each target device and the user;

[0033] At least one target device whose distance from the user is less than a set threshold is regarded as a main noise source; or,

[0034] At least one device in the at least one target device whose decibel value of operating noise is higher than a set threshold is regarded as a main noise source.

[0035] In this optional embodiment, a method is provided for determining the main noise source based on the scene in which the home appliance is located when receiving the user's wake-up voice. When the home appliance receives the user's wake-up voice, the device in operation in the current environment can be obtained as the target device. In order to determine the noise source that has the greatest impact on the user's voice command, the distance between each target device and the user is obtained, and finally at least one target device whose distance to the user is less than a set threshold is selected as the main noise source. Alternatively, the operating noise of each target device can be obtained, and at least one device whose decibel value of the operating noise is higher than the set threshold is selected as the main noise source.

[0036] Exemplarily, when a household appliance receives a user wake-up voice command, it sends a target device request command to the main control device through the network, instructing the main control device to feedback to the current household appliance at least one target device in operation in the current environment, and then the current household appliance sends a distance request command to each target device, and receives the distance information between each target device and the user fed back by each target device, and takes at least one target device whose distance to the user is less than a set threshold as the main noise source; or, the current household appliance collects the current environmental noise, and determines the decibel of the operating noise corresponding to each target device, and finally takes at least one device whose operating noise decibel value is higher than the set threshold as the main noise source. Specifically, the current household appliance can determine which devices the operating noise contained in the current environmental noise belongs to based on the waveform corresponding to the operating noise of each target device pre-recorded, and further obtain the decibel value of the operating noise of each device.

[0037] Optionally, determining a main noise source according to a scenario in which the home appliance receives the user's wake-up voice includes:

[0038] When receiving the user's wake-up voice, obtaining at least one device in the current environment that is in operation and the operating power of each device;

[0039] At least one device whose operating power is greater than a set threshold is regarded as a main noise source.

[0040] In this optional embodiment, another method of determining the main noise source based on the scenario in which the home appliance receives the user's wake-up voice is provided. When the home appliance receives the user's wake-up voice, in order to determine the noise source that has the greatest impact on the user's voice command, the devices in operation in the current environment and the current operating power of each device are obtained, and at least one device whose operating power is greater than a set threshold is used as the main noise source.

[0041] Exemplarily, when the user's wake-up voice is received, the current household appliance requests the main control device for at least one device that is currently in operation and the operating power of each device, and receives feedback from the main control device that the devices currently in the startup state are a smart washing machine and a smart range hood, and the current operating powers are 350 watts and 200 watts, respectively. According to the operating power of the equipment, the device with an operating power greater than 300 watts is used as the main noise source, that is, the smart washing machine is used as the main noise source at this time.

[0042] Optionally, determining a main noise source according to a scenario in which the home appliance receives the user's wake-up voice includes:

[0043] When receiving the user's wake-up voice, get the current time;

[0044] According to the historical records of equipment usage time, query the operating status of each device in the current time period;

[0045] The equipment that is running in the time period of the current time is regarded as the main noise source.

[0046] In this optional embodiment, another method of determining the main noise source based on the scenario in which the home appliance receives the user's wake-up voice is provided. When the home appliance receives the user's wake-up voice, the current time is obtained, and then the historical usage record of the device is queried to determine the operating status of each device in the time period to which the current time belongs. Finally, the device in operating state in the time period to which the current time belongs is used as the main noise source. Specifically, the operating probability of each device in the time period to which the current time belongs can be determined based on the historical records of the usage time of each device, and the device with a corresponding probability greater than a set threshold is determined to be in operating state and used as the main noise source.

[0047] Exemplarily, when the household appliance receives the user's wake-up voice, it obtains the current time as 19:15, and then queries the operating status of each device between 19:00-20:00 based on the historical records of the device usage time. For example, the operating status of each device between 19:00-20:00 every day in the past 30 days is queried, and the probability of each device currently being in the operating state is calculated (the ratio of the number of times the device has operated between 19:00-20:00 in the past 30 days to the number of days). When the corresponding probability of a certain device is greater than 85%, the device is determined to be in the operating state and is used as the main noise source.

[0048] Optionally, determining a main noise source according to a scenario in which the home appliance receives the user's wake-up voice includes:

[0049] When receiving the user's wake-up voice, obtain the user's status and location;

[0050] The main noise source is determined according to the user status and position.

[0051] In this optional embodiment, another method of determining the main noise source based on the scene in which the home appliance is located when receiving the user's wake-up voice is provided. When the home appliance receives the user's wake-up voice, the current user's status and location are obtained, and the main noise source is determined based on the user's current status and location. The user status can be obtained by capturing the user's current image and performing image analysis on the image.

[0052] For example, when receiving the user's wake-up voice, the home appliance uses its own camera to capture the scene image containing the user, and finally determines the current user status and location by performing image analysis on the scene image. For example, when the image contains a TV, it is determined that the user's current location is the living room, and then it is further determined that the current TV is in the on state and the user's face is facing the TV, then it is determined that the current user status is watching TV, and the TV is used as the main noise source. For another example, after the home appliance obtains the scene image containing the user, it performs image analysis on the scene image to obtain the current user status and location. For example, when the image contains a range hood, it is determined that the user's current location is the kitchen, and further determines the current operating state of the range hood. If it is in the operating state and it is analyzed that the user is facing the kitchen stove, it is determined that the current user status is cooking, and the range hood is used as the main noise source. It is worth noting that when the home appliance does not carry a camera, it can request the current scene image containing the user from the device connected to the home camera through the network.

[0053] Step 120: Send a volume control instruction to the main noise source, where the volume control instruction is used to instruct the main noise source to reduce the volume.

[0054] The volume control instruction is an instruction for instructing the main noise source to reduce the volume, and the volume control instruction may be a pause instruction, an instruction to reduce the volume or power.

[0055] In this embodiment, in order to improve the quality of the collected voice commands and reduce the impact of environmental noise on user voice commands, after the main noise source is determined, the home appliance sends a volume control instruction to the main noise source to instruct the main noise source to lower the volume.

[0056] For example, when it is determined that the current main noise source is a smart TV, a volume control command can be sent through the network to control the TV to lower the volume or pause playback, and after receiving the voice command, the volume of the smart TV is restored or the playback state is restored.

[0057] Step 130: Receive the user's voice command and perform voice recognition on the voice command through a voice recognition model.

[0058] In this embodiment, after reducing the volume of the main noise source in the environment, there may still be other non-main noise source devices or weaker operating noise of the main noise source device in the received user voice command, which may still have a certain impact on voice recognition. Therefore, after receiving the user's voice command, the voice command is further recognized by the voice recognition model, wherein the voice recognition model includes a noise reduction function, which can be trained and optimized in real time according to the environment in which the current home appliance is located. Exemplarily, the current home appliance is a smart speaker. When the smart speaker is moved from the bedroom to the living room, the surrounding environmental noise will change. At this time, the smart speaker will optimize the voice recognition model according to the real-time collected noise in the living room, so that the voice recognition model can adapt to the scene in which the current home appliance is located.

[0059] The technical solution of the embodiment of the present invention determines the main noise source according to the scenario in which the home appliance receives the user's wake-up voice, and sends a volume control instruction to the main noise source to instruct the main noise source to lower the volume, and finally receives the user's voice command and performs voice recognition on the voice command through a voice recognition model. On the one hand, by reducing the volume of the main noise source, the interference of the main noise in the environment on the user's voice command can be reduced, and the voice quality of the voice command received by the home appliance is improved under the premise of having little impact on the user's normal life, thereby improving the success rate of voice recognition. On the other hand, voice recognition is performed through the voice recognition model to improve the success rate of voice recognition.

[0060] Embodiment 2

[0061] Figure 2 This is a flow chart of a speech recognition method in Embodiment 2 of the present invention. This embodiment further refines the above embodiment and provides specific steps for sending a volume control instruction to the main noise source. Figure 2 A speech recognition method provided in Embodiment 2 of the present invention is described, comprising the following steps:

[0062] Step 210: Determine the main noise source according to the scene in which the home appliance is located when receiving the user's wake-up voice.

[0063] Step 220: Acquire the current time, and determine the usage frequency of at least one device included in the main noise source within the time period of the current time.

[0064] The usage frequency of the device is the ratio of the number of times the device is used within a set time period to the number of days. For example, the usage frequency within 30 days is

[0065] In this embodiment, after determining the main noise source and before receiving the user's voice command, in order to determine the volume control command matching the main noise source, the home appliance needs to obtain the current time, and then calculate the usage frequency of at least one device included in the main noise source in the time period of the current time. Exemplarily, after determining that the main noise source is the smart TV and the smart washing machine, the home appliance obtains the current time as 19:30, and further calculates the usage frequency of the smart TV and the smart washing machine within 19:00-20:00 in the past 30 days based on the usage time history records of the smart TV and the smart washing machine, and determines the volume control command matching the smart washing machine and the smart TV respectively according to the usage frequency. Specifically, the usage frequency of the smart TV within 19:00-20:00 in the past 30 days can be the ratio of the number of times the smart TV is used within 19:00-20:00 in the past 30 days to the number of days.

[0066] Step 230: When the usage frequency is greater than or equal to the set threshold, a command to reduce the volume or power is sent to at least one device included in the main noise source; when the usage frequency is less than the set threshold, a pause command is sent to the main noise source.

[0067] In this embodiment, a method for determining the volume control instruction corresponding to each device according to the usage frequency of the device in the time period of the current time is provided. Specifically, when the usage frequency of a certain device is greater than or equal to a set threshold, it indicates that the user is accustomed to using the device in the time period of the current time. If the device is forcibly turned off or paused at this time in order to reduce the impact of environmental noise on the user's voice command, it may affect the user's normal life. Therefore, the volume control instruction corresponding to the device can be to reduce the volume or reduce the power, and the impact on the user's normal use of the device is small at this time. In addition, when the device usage frequency is less than the set threshold, it indicates that the user does not use the device frequently in the time period of the current time. A pause instruction can be sent to the device, and the operating state of the device can be restored after receiving the user's voice instruction.

[0068] Exemplarily, after determining that the main noise sources are the smart washing machine and the smart TV, the current time is obtained as 19:30, and the frequency of using the smart washing machine and the smart TV between 19:00 and 20:00 in the past 30 days is calculated respectively. Finally, it is obtained that the usage frequency of the smart TV is higher than the set threshold, indicating that the user is accustomed to using the smart TV in the current time period, and a command to lower the volume is sent to the TV, which will not affect the user's normal viewing of TV; if the usage frequency of the smart washing machine is lower than the set threshold, it indicates that the user occasionally uses the smart washing machine in the current time period, and it is not a habitual action. At this time, a pause command can be sent to the smart washing machine, and after receiving the user's voice command, the normal operation of the washing machine is restored.

[0069] Step 240: Receive the user's voice command and perform voice recognition on the voice command through a voice recognition model.

[0070] Optionally, also include:

[0071] Superimpose the operating noise of at least one device with the user's sample wake-up voice according to a set period to obtain reference voice information;

[0072] The speech recognition model is optimized and trained using the reference speech information.

[0073] In this optional embodiment, in order to make the speech recognition model not limited to a fixed environment, but adapt to the environment in which the current home appliance is located, and improve the success rate of speech recognition, the home appliance obtains the operating noise of each device in the current environment according to a set period, and superimposes the operating noise with the user sample wake-up voice to obtain the reference voice information, and uses the reference voice information to optimize the current speech recognition model. Training, so that the speech recognition model can adapt to the scene in which the home appliance is currently located, can achieve better noise reduction effect than the speech recognition model for a single environment, and improve the success rate of speech recognition. Among them, the user sample wake-up voice refers to the user wake-up voice without noise.

[0074] The technical solution of the embodiment of the present invention determines the main noise source according to the scenario in which the home appliance is in when receiving the user's wake-up voice, then obtains the current time, and determines the usage frequency of at least one device included in the main noise source in the time period of the current time, determines the volume control instruction matching the main noise source according to the usage frequency, finally receives the user's voice instruction, and performs voice recognition on the voice instruction through a voice recognition model, thereby realizing the determination of the volume control instruction matching each device according to the usage frequency of the device, which can improve the success rate of voice recognition while having little impact on the user's normal life.

[0075] Embodiment 3

[0076] Figure 3This is a structural diagram of a speech recognition device provided in Embodiment 3 of the present invention. The speech recognition device includes: a main noise source determination module 310, a volume control instruction sending module 320 and a speech recognition module 330.

[0077] A main noise source determination module 310, configured to determine a main noise source according to a scene in which the home appliance receives a user wake-up voice;

[0078] A volume control instruction sending module 320, used for sending a volume control instruction to the main noise source, wherein the volume control instruction is used for instructing the main noise source to reduce the volume;

[0079] The speech recognition module 330 is used to receive a user's speech instruction and perform speech recognition on the speech instruction through a speech recognition model.

[0080] The technical solution of the embodiment of the present invention determines the main noise source according to the scenario in which the home appliance receives the user's wake-up voice, and sends a volume control instruction to the main noise source to instruct the main noise source to lower the volume, and finally receives the user's voice command and performs voice recognition on the voice command through a voice recognition model. On the one hand, by reducing the volume of the main noise source, the interference of the main noise in the environment on the user's voice command can be reduced, and the voice quality of the voice command received by the home appliance is improved under the premise of having little impact on the user's normal life, thereby improving the success rate of voice recognition. On the other hand, voice recognition is performed through the voice recognition model to improve the success rate of voice recognition.

[0081] Optionally, the main noise source determination module 310 is specifically configured to:

[0082] When receiving the user's wake-up voice, obtaining at least one target device in the current environment that is in operation;

[0083] Obtain the distance between each target device and the user;

[0084] At least one target device whose distance from the user is less than a set threshold is regarded as a main noise source; or,

[0085] At least one device in the at least one target device whose decibel value of operating noise is higher than a set threshold is regarded as a main noise source.

[0086] Optionally, the main noise source determination module 310 is specifically configured to:

[0087] When receiving the user's wake-up voice, obtaining at least one device in the current environment that is in operation and the operating power of each device;

[0088] At least one device whose operating power is greater than a set threshold is regarded as a main noise source.

[0089] Optionally, the main noise source determination module 310 is specifically configured to:

[0090] When receiving the user's wake-up voice, get the current time;

[0091] According to the historical records of equipment usage time, query the operating status of each device in the current time period;

[0092] The equipment that is running in the time period of the current time is regarded as the main noise source.

[0093] Optionally, the main noise source determination module 310 is specifically configured to:

[0094] When receiving the user's wake-up voice, obtain the user's status and location;

[0095] The main noise source is determined according to the user status and position.

[0096] Optionally, the speech recognition device further includes:

[0097] A reference voice information acquisition module, used to superimpose the operating noise of at least one device with the user's sample wake-up voice according to a set period to obtain reference voice information;

[0098] The speech recognition model optimization module is used to optimize the speech recognition model through the reference speech information.

[0099] Optionally, the volume control instruction sending module 320 is specifically used to:

[0100] Obtaining the current time, and determining the usage frequency of at least one device included in the main noise source within the time period of the current time;

[0101] When the usage frequency is greater than or equal to a set threshold, sending an instruction to reduce the volume or power to at least one device included in the main noise source;

[0102] When the usage frequency is less than a set threshold, a pause instruction is sent to the main noise source.

[0103] The speech recognition device provided in the embodiment of the present invention can execute the speech recognition method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0104] Embodiment 4

[0105] Figure 4 A schematic diagram of a device structure provided in Embodiment 4 of the present invention is shown in FIG. Figure 4 As shown, the electronic device includes a processor 40 and a memory 41; the number of processors 40 in the device can be one or more. Figure 4 A processor 40 is taken as an example; the processor 40 and the memory 41 in the device can be connected by a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0106] The memory 41, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to a speech recognition method in an embodiment of the present invention (for example, the main noise source determination module 310, the volume control instruction sending module 320 and the speech recognition module 330 in the speech recognition device). The processor 40 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 41, that is, realizes the above-mentioned speech recognition method.

[0107] The method includes:

[0108] Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice;

[0109] Sending a volume control instruction to the main noise source, wherein the volume control instruction is used to instruct the main noise source to reduce the volume;

[0110] Receive a user's voice command, and perform voice recognition on the voice command through a voice recognition model.

[0111] The memory 41 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 41 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 41 may further include a memory remotely arranged relative to the processor 40, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0112] Embodiment 5

[0113] Embodiment 5 of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to perform a speech recognition method when executed by a computer processor, the method comprising:

[0114] Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice;

[0115] Sending a volume control instruction to the main noise source, wherein the volume control instruction is used to instruct the main noise source to reduce the volume;

[0116] Receive a user's voice command, and perform voice recognition on the voice command through a voice recognition model.

[0117] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0118] It is worth noting that in the above-mentioned embodiment of a speech recognition device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0119] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A speech recognition method, characterized in that: The method comprises: Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice; Sending a volume control instruction to the main noise source, wherein the volume control instruction is used to instruct the main noise source to reduce the volume; Receive a user's voice command and perform voice recognition on the voice command through a voice recognition model; Wherein, sending a volume control instruction to the main noise source includes: Acquire the current time, and determine the usage frequency of at least one device included in the main noise source within the time period of the current time, wherein the usage frequency of the device is the ratio of the number of times the device is used within a set time period in a set number of days to the number of days according to the device usage time history record; When the usage frequency is greater than or equal to a set threshold, sending an instruction to reduce the volume or power to at least one device included in the main noise source; When the usage frequency is less than a set threshold, a pause instruction is sent to the main noise source.

2. The method according to claim 1, characterized in that: Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice, including: When receiving the user's wake-up voice, obtaining at least one target device in the current environment that is in operation; Obtain the distance between each target device and the user; At least one target device whose distance from the user is less than a set threshold is regarded as a main noise source; or, At least one device in the at least one target device whose decibel value of operating noise is higher than a set threshold is regarded as a main noise source.

3. The method according to claim 1, characterized in that: Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice, including: When receiving the user's wake-up voice, obtaining at least one device in the current environment that is in operation and the operating power of each device; At least one device whose operating power is greater than a set threshold is regarded as a main noise source.

4. The method according to claim 1, characterized in that Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice, including: When receiving the user's wake-up voice, get the current time; According to the historical records of equipment usage time, query the operating status of each device in the current time period; The equipment that is running in the time period of the current time is regarded as the main noise source.

5. The method according to claim 1, characterized in that Determine the main noise source based on the scenario in which the home appliance receives the user's wake-up voice, including: When receiving the user's wake-up voice, obtain the user's status and location; The main noise source is determined according to the user status and position.

6. The method according to claim 1, characterized in that Also includes: Superimpose the operating noise of at least one device with the user's sample wake-up voice according to a set period to obtain reference voice information; The speech recognition model is optimized and trained using the reference speech information.

7. A speech recognition device, characterized in that: include: A main noise source determination module, used to determine the main noise source according to the scene in which the home appliance is located when receiving the user's wake-up voice; A volume control instruction sending module, used for sending a volume control instruction to the main noise source, wherein the volume control instruction is used for instructing the main noise source to reduce the volume; A speech recognition module is used to receive a user's speech command and perform speech recognition on the speech command through a speech recognition model; The volume control instruction sending module is specifically used to: obtain the current time, and determine the usage frequency of at least one device included in the main noise source within the time period of the current time, wherein the usage frequency of the device is the ratio of the number of times the device is used within a set time period in a set number of days to the number of days according to the device usage time history record; when the usage frequency is greater than or equal to a set threshold, send an instruction to reduce the volume or power to at least one device included in the main noise source; when the usage frequency is less than the set threshold, send a pause instruction to the main noise source.

8. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.