IP Library › Granted Patent US 12,032,421
Granted Patent B2
US 12,032,421 · App. 17/921,310 · Granted Jul 9, 2024

Voice wakeup method and device

Inventors: Chunjian Li (Shanghai, CN); Dong Shi (Singapore, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F1/26G10L25/21G10L25/78
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,032,421
App. No.
17/921,310
Granted
Jul 9, 2024
Kind
B2
Abstract

A speech wakeup method and device, and a readable storage medium are provided. The voice wakeup method includes: detecting voice signals that are input into at least two microphones and that meet a first condition; and determining, based on whether voice energy of the voice signals input into the at least two microphones meets a second condition, whether to wake up the electronic device; and if the second condition is met, waking up the electronic device; or if the second condition is not met, continuing to detect a voice signal input into the microphone. The electronic device can be woken up in a wakeup-keyword-free manner.

Claims (49)

1. A voice wakeup method, applied to an electronic device having a microphone, the method comprising:

detecting voice signals that are input into at least two microphones and that meet a first condition; and

determining, based on whether voice energy of the voice signals input into the at least two microphones meets a second condition, whether to wake up the electronic device; wherein if the second condition is met, waking up the electronic device; or if the second condition is not met, continuing to detect a voice signal input into the microphone.

2. The method according to claim 1 , wherein locations of the at least two microphones are distributed in different areas of the electronic device.

3. The method according to claim 1 , wherein determining whether the voice signals input into the at least two microphones meet the first condition comprises:

calculating the voice energy of the voice signals input into the at least two microphones; and if the voice energy is greater than a first threshold, determining that the voice signals input into the at least two microphones meet the first condition.

4. The method according to claim 3 , wherein the calculating the voice energy of the voice signals input into the at least two microphones comprises:

obtaining a first voice signal with a first duration from the voice signals input into the at least two microphones;

sampling the first voice signal based on a preset sampling frequency; and

calculating, based on the sampled signal, the voice energy of the voice signals input into the at least two microphones.

5. The method according to claim 4 , wherein the calculating, based on the sampled signal, the voice energy of the voice signals input into the at least two microphones comprises:

calculating an energy value of each sampling value in the sampled signal, and determining an average value of the energy values of the sampling values as the voice energy of the voice signals input into the at least two microphones.

6. The method according to claim 1 , wherein determining whether the voice energy of the voice signals input into the at least two microphones meets the second condition comprises:

determining, based on an energy value difference between the voice signals, whether the voice energy of the voice signals input into the at least two microphones meets the second condition; or

determining, based on an energy value ratio between the voice signals, whether the voice energy of the voice signals input into the at least two microphones meets the second condition.

7. The method according to claim 6 , wherein the determining, based on the energy value difference between the voice signals, whether the voice energy of the voice signals input into the at least two microphones meets the second condition comprises:

if an energy value difference between a voice signal input into one of the at least two microphones and a voice signal input into a remaining microphone is greater than a second threshold, determining that the voice energy of the voice signals input into the at least two microphones meets the second condition.

8. The method according to claim 6 , wherein the determining, based on the energy value ratio between the voice signals, whether the voice energy of the voice signals input into the at least two microphones meets the second condition comprises:

if an energy value ratio between a voice signal input into one of the at least two microphones and a voice signal input into a remaining microphone is greater than a third threshold, determining that the voice energy of the voice signals input into the at least two microphones meets the second condition.

9. An electronic device, comprising:

microphones, one or more processors, and a memory storing one or more computer instructions that, when the one or more computer instructions are executed by the one or more processors, cause the electronic device to perform the following steps:

detecting voice signals that are input into at least two microphones and that meet a first condition; and

determining, based on whether voice energy of the voice signals input into the at least two microphones meets a second condition, whether to wake up the electronic device; wherein if the voice energy meets the second condition, waking up the electronic device; or if the second condition is not met, continuing to detect a voice signal input into the microphone.

10. The electronic device according to claim 9 , wherein locations of the at least two microphones are distributed in different areas of the electronic device.

11. The electronic device according to claim 9 , wherein the one or more computer instructions, when executed by the one or more processors, cause the electronic device to perform the following steps:

calculating the voice energy of the voice signals input into the at least two microphones; and if the voice energy is greater than a first threshold, determining that the voice signals input into the at least two microphones meet the first condition.

12. The electronic device according to claim 11 , wherein the one or more computer instructions, when executed by the one or more processors, cause the electronic device to perform the following steps:

obtaining a first voice signal with a first duration from the voice signals input into the at least two microphones;

sampling the first voice signal based on a preset sampling frequency; and

calculating, based on the sampled signal, the voice energy of the voice signals input into the at least two microphones.

13. The electronic device according to claim 12 , wherein the one or more computer instructions, when executed by the one or more processors, cause the electronic device to perform the following steps:

calculating an energy value of each sampling value comprised in the sampled signal, and determining an average value of the energy values of the sampling values as the voice energy of the voice signals input into the at least two microphones.

14. The electronic device according to claim 9 , wherein the one or more computer instructions, when executed by the one or more processors, cause the electronic device to perform the following steps:

determining, based on an energy value difference between the voice signals, whether the voice energy of the voice signals input into the at least two microphones meets the second condition; or

determining, based on an energy value ratio between the voice signals, whether the voice energy of the voice signals input into the at least two microphones meets the second condition.

15. The electronic device according to claim 14 , wherein the one or more computer instructions, when executed by the one or more processors, cause the electronic device perform the following step:

if an energy value difference between a voice signal input into one of the at least two microphones and a voice signal input into a remaining microphone is greater than a second threshold, determining that the voice energy of the voice signals input into the at least two microphones meets the second condition.

16. The device according to claim 14 , wherein the one or more computer instructions, when executed by the one or more processors, cause the electronic device to perform the following step:

if an energy value ratio between a voice signal input into one of the at least two microphones and a voice signal input into a remaining microphone is greater than a third threshold, determining that the voice energy of the voice signals input into the at least two microphones meets the second condition.

17. A non-transitory computer readable medium, comprising computer instructions that, when run on an electronic device, cause the electronic device to:

detect voice signals that are input into at least two microphones and that meet a first condition; and

determine, based on whether voice energy of the voice signals input into the at least two microphones meets a second condition, whether to wake up the electronic device; wherein if the voice energy meets the second condition, waking up the electronic device; or if the second condition is not met, continue to detect a voice signal input into the microphone.

18. The non-transitory computer readable medium according to claim 17 , wherein locations of the at least two microphones are distributed in different areas of the electronic device.

19. The non-transitory computer readable medium according to claim 17 , wherein the computer instructions, when run on the electronic device, cause the electronic device to:

calculate the voice energy of the voice signals input into the at least two microphones; and if the voice energy is greater than a first threshold, determine that the voice signals input into the at least two microphones meet the first condition.

20. The non-transitory computer readable medium according to claim 19 , wherein the computer instructions, when run on the electronic device, cause the electronic device to:

obtain a first voice signal with a first duration from the voice signals input into the at least two microphones;

sample the first voice signal based on a preset sampling frequency; and

calculate, based on the sampled signal, the voice energy of the voice signals input into the at least two microphones.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 16, 2023
From: LI, CHUNJIAN; SHI, DONG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 063660/0804 →
Priority Claims (1)
CN 202010352298.8 · Apr 28, 2020 · national
Continuity (1)
Related Publication 20230315176A1 · Oct 5, 2023