Voice wake-up circuit, method and electronic device

By designing a voice wake-up circuit containing high and low power processors in electronic devices, and using switching circuits and step-down circuits to achieve low power voice wake-up in standby state, the problem that electronic devices cannot wake up in standby state is solved. Improves performance and reduces power consumption.

CN117133283BActive Publication Date: 2024-12-06HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310359355.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-12-06
Estimated Expiration
2043-03-27

AI Technical Summary

Technical Problem

In the prior art, electronic devices cannot wake up through voice in standby state, and the processor needs to continuously run the voice wake-up algorithm in the off or on state, resulting in performance degradation and power consumption increase.

Method used

Design a voice wake-up circuit, including a high-power first processor and a low-power second processor, through a switching circuit and a buck circuit, and controls the power supply in a standby state by controlling the power supply in a standby state. The device detects the wake-up word and wakes the first processor for speech recognition, realizing the low-power voice wake-up function.

Benefits of technology

In standby, screen off and screen-on states, electronic devices can realize voice wake-up with low power consumption, reducing the power consumption of the first processor, improving performance, and greatly reducing the total power consumption of the electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117133283B_ABST
    Figure CN117133283B_ABST
Patent Text Reader

Abstract

The present application discloses a voice wake-up circuit, method and electronic device, which relates to the field of voice wake-up and is used to realize the voice wake-up function with low power consumption when the electronic device is in standby mode. The circuit includes: a first processor with high power consumption, a second processor with low power consumption, a switching circuit, a step-down circuit, and an audio acquisition module for collecting audio data. The switching circuit is respectively coupled to the first processor, the power supply end, and the step-down circuit; the step-down circuit is also coupled to the audio acquisition module. When the electronic device is in standby mode, the first processor is used to control the switching circuit to be turned on, so that the power supply end supplies power to the audio acquisition module through the switching circuit and the step-down circuit, and instructs the second processor to enter a sleep state after detecting whether the audio data includes a wake-up word; if the wake-up word is detected, the second processor is used to wake up the first processor; the first processor is also used to perform voice recognition on the audio data, thereby performing corresponding operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of voice wake-up, and in particular to a voice wake-up circuit, method and electronic device. Background Art

[0002] Through voice wake-up technology, electronic devices can be woken up without directly controlling them. Generally, in order to ensure that electronic devices can be woken up at any time through voice wake-up technology, the processor of the electronic device needs to continuously run the voice wake-up algorithm, and when the electronic device is controlled by voice wake-up technology, the electronic device needs to be in a non-standby state such as off or on screen.

[0003] However, if the electronic device is in standby mode, the electronic device cannot be controlled by voice wake-up technology; if the electronic device is in a non-standby state such as screen off or screen on, the processor of the electronic device needs to continuously run the voice wake-up algorithm, which will not only occupy the processor resources, causing the performance of the electronic device to decline, but also increase the power consumption of the electronic device. Summary of the invention

[0004] The present application provides a voice wake-up circuit, method and electronic device, which are used to realize a voice wake-up function with low power consumption when the electronic device is in a standby state.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a voice wake-up circuit is provided, which is applied to an electronic device, and the circuit includes: a first processor with high power consumption, a second processor with low power consumption, a switch circuit, a step-down circuit, and an audio acquisition module for collecting audio data. The first end of the switch circuit is coupled to the first processor, the second end of the switch circuit is used to couple to a power supply end, the third end of the switch circuit is coupled to the first end of the step-down circuit; and the second end of the step-down circuit is coupled to the audio acquisition module.

[0007] When the electronic device is in standby mode, the first processor is used to control the switch circuit to conduct, so that the power supply end provides the target voltage to the step-down circuit through the switch circuit, and the step-down circuit is used to step down the target voltage and then supply power to the audio acquisition module, and instruct the second processor to enter the sleep mode after detecting whether the audio data includes the wake-up word. If the second processor detects the wake-up word, the second processor is used to wake up the first processor; the first processor is also used to perform voice recognition on the audio data to perform corresponding operations.

[0008] Using the voice wake-up circuit provided by the present application, when the electronic device is in a standby state, the first processor controls the switch circuit to be turned on so that the power supply end supplies power to the audio acquisition module through the switch circuit and the step-down circuit. In this way, when the electronic device is in a standby state, the audio acquisition module can still collect audio data. This provides a hardware basis for the electronic device to have a voice wake-up function in a standby state. At the same time, the first processor with higher power consumption also enters a dormant state after instructing the second processor with lower power consumption to continuously detect the wake-up word. In this way, the first processor with higher power consumption does not need to detect the wake-up word, thereby reducing the power consumption of the first processor, and improving the performance of the first processor, thereby reducing the power consumption of the electronic device and improving the performance of the electronic device. When the second processor detects the wake-up word and wakes up the first processor, the first processor performs voice recognition on the audio data, thereby performing the corresponding operation. It can be seen that the voice wake-up circuit provided by the application enables the electronic device to be in a standby state, and can realize the voice wake-up function with low power consumption.

[0009] In a possible implementation, the first processor is used to instruct the second processor to detect whether the audio data includes a wake-up word, specifically including: the first processor obtains the current power consumption of the electronic device; if the current power consumption of the electronic device is less than the target power consumption, the first processor instructs the second processor to detect whether the audio data includes a wake-up word. In this way, it can further ensure that the electronic device can realize the voice wake-up function with low power consumption when in standby mode.

[0010] In a possible implementation, when the electronic device is in a screen-off state and the electronic device has no audio speaker service, the first processor is further used to control the electronic device to switch from the screen-off state to a standby state.

[0011] The electronic device is in a screen-off state and has no audio speaker service, which is equivalent to the electronic device playing neither video programs nor audio programs. At this time, the first processor controls the electronic device to switch from the screen-off state to the standby state, so that most modules in the electronic device are powered off, which can greatly reduce the power consumption of the electronic device and still enable the electronic device to have a voice wake-up function.

[0012] In a possible implementation, when the electronic device is in a screen-on state, the first processor is further configured to instruct the second processor to detect whether the audio data includes a wake-up word.

[0013] When the electronic device is in the screen-on state, the wake-up word is detected by the low-power second processor. That is to say, when the electronic device is in the screen-on state, the detection of the wake-up word (i.e., voice detection) is completed by the low-power second processor. In this way, the first processor does not need to detect the wake-up word, which reduces the power consumption of the first processor, so that the electronic device can realize the voice wake-up function with low power consumption when the screen is in the screen-on state.

[0014] In a possible implementation, the switch circuit includes: a first switch subcircuit and a second switch subcircuit. The first end of the first switch subcircuit is coupled to the first processor, the second end of the first switch subcircuit is used to couple to the power supply end, and the third end of the first switch subcircuit is coupled to the first end of the second switch subcircuit. The second end of the second switch subcircuit is used to couple to the power supply end, and the third end of the second switch subcircuit is coupled to the step-down circuit. When the electronic device is in a standby state, the first processor is used to control the first switch subcircuit to turn on so that the second switch subcircuit is turned on, and the power supply end provides the target voltage to the step-down circuit through the second switch subcircuit.

[0015] In a possible implementation, the first switch subcircuit includes: a first resistor, a second resistor, an NPN transistor and a third resistor. The first end of the first resistor is the first end of the first switch subcircuit, and the second end of the first resistor is the second end of the first switch subcircuit. The first end of the second resistor is coupled to the first end of the first resistor, and the second end of the second resistor is coupled to the base of the NPN transistor. The emitter of the NPN transistor is used to couple to the ground terminal, and the collector of the NPN transistor is coupled to the first end of the third resistor. The second end of the third resistor is the third end of the first switch subcircuit. The first processor is specifically used to: when the electronic device is in standby mode, provide a high level to control the NPN transistor to turn on.

[0016] In a possible implementation, the second switch subcircuit includes: a fourth resistor and a P-type field effect transistor. The first end of the fourth resistor is the first end of the second switch subcircuit, and the second end of the fourth resistor is the second end of the second switch subcircuit. The gate of the P-type field effect transistor is coupled to the first end of the fourth resistor, the source of the P-type field effect transistor is coupled to the second end of the fourth resistor, and the drain of the P-type field effect transistor is coupled to the step-down circuit.

[0017] Usually, the voltage output by the general-purpose input / output (GPIO) interface of the processor cannot drive a field effect tube with a relatively high power. Therefore, in the present application, the first processor drives the NPN transistor, and then divides the voltage of the power supply end through the third resistor and the fourth resistor, so that the source voltage and the gate voltage of the P-type field effect tube meet the conduction condition, thereby driving the P-type field effect tube.

[0018] In a possible implementation, the switch circuit may include a third switch subcircuit. A first end of the third switch subcircuit is coupled to the first processor, a second end of the third switch subcircuit is coupled to the power supply end, and a third end of the third switch subcircuit is coupled to the first end of the step-down circuit. The first processor is specifically configured to control the third switch subcircuit to be turned on when the electronic device is in a standby state, so that the power supply end provides a target voltage to the step-down circuit.

[0019] In a possible implementation, the third switch subcircuit includes: a tenth resistor, an eleventh resistor and an NPN transistor. The first end of the tenth resistor is the first end of the third switch subcircuit, and the second end of the tenth resistor is the second end of the third switch subcircuit. The first end of the eleventh resistor is coupled to the first end of the tenth resistor, and the second end of the eleventh resistor is coupled to the base of the NPN transistor. The emitter of the NPN transistor is used to couple to the ground terminal, and the collector of the NPN transistor is the third end of the third switch subcircuit. The third end of the step-down circuit is coupled to the power supply terminal. The first processor is specifically used to: when the electronic device is in standby mode, control the NPN transistor to be turned on.

[0020] When the electronic device is in standby mode, the GPIO interface of the first processor can output a high level voltage (such as 3.3V). At this time, the GPIO interface of the first processor can also output a target current (such as 0.4mA). In this way, the current flowing through the base of the NPN transistor can include: the target current, the current flowing through the tenth resistor, and the current flowing through the eleventh resistor. Usually, the sum of these three parts of the current can meet the conduction condition of the NPN transistor. Therefore, the NPN transistor can be turned on, so that the power supply end supplies power to the step-down circuit.

[0021] In a possible implementation, the third switch subcircuit includes: a P-type field effect transistor, wherein the gate of the P-type field effect transistor is coupled to the first processor, the source of the P-type field effect transistor is coupled to the power supply terminal, and the drain of the P-type field effect transistor is coupled to the first terminal of the buck circuit.

[0022] When the electronic device is in standby mode, the GPIO interface of the first processor can output a low-level voltage. At this time, the gate voltage and the source voltage of the P-type field effect tube meet the conduction condition, thereby driving the P-type field effect tube to turn on the P-type field effect tube, and the power supply end supplies power to the step-down circuit through the source and drain of the P-type field effect tube.

[0023] In a possible implementation, the buck circuit includes: a buck device, a sixth resistor, and a seventh resistor. The input end of the buck device is coupled to the third end of the switch circuit, the output end of the buck device is coupled to the first end of the sixth resistor, the ground end of the buck device, and the audio acquisition module, and the adjustment end of the buck device is coupled to the second end of the sixth resistor and the first end of the seventh resistor. The second end of the seventh resistor is used to couple to the ground end.

[0024] In a second aspect, a voice wake-up method is provided, which is applied to a voice wake-up circuit as described in the first aspect and any embodiment thereof. The circuit includes: a first processor, a second processor, a switching circuit, a buck circuit and an audio acquisition module. The power consumption of the first processor is greater than the power consumption of the second processor. The audio acquisition module is used to collect audio data. The first end of the switching circuit is coupled to the first processor, the second end of the switching circuit is used to couple to the power supply end, and the third end of the switching circuit is coupled to the first end of the buck circuit. The second end of the buck circuit is coupled to the audio acquisition module. The power supply end provides a target voltage to the buck circuit through the switched-on switching circuit, and the buck circuit is used to step down the target voltage and then supply power to the audio acquisition module. The method includes:

[0025] When the electronic device is in standby mode, the first processor controls the switch circuit to turn on, and instructs the second processor to detect whether the audio data includes a wake-up word and then enter a sleep mode; if the second processor detects the wake-up word, the second processor wakes up the first processor; the first processor performs voice recognition on the audio data to perform corresponding operations.

[0026] In a possible implementation, the first processor instructs the second processor to detect whether the audio data includes a wake-up word, including: the first processor obtains the current power consumption of the electronic device; if the current power consumption of the electronic device is less than the target power consumption, the first processor instructs the second processor to detect whether the audio data includes a wake-up word.

[0027] In a possible implementation, the method further includes: when the electronic device is in a screen-off state and the electronic device has no audio speaker service, the first processor controls the electronic device to switch from the screen-off state to a standby state.

[0028] In a possible implementation, the method further includes: when the electronic device is in a screen-on state, the first processor instructs the second processor to detect whether the audio data includes a wake-up word.

[0029] In a third aspect, an electronic device is provided, comprising the voice wake-up circuit according to the first aspect and any embodiment thereof, and a memory. The memory stores instructions, and when the first processor and the second processor in the voice wake-up circuit execute the instructions, the method according to the second aspect and any embodiment thereof is executed.

[0030] In a fourth aspect, a computer-readable storage medium is provided, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute the method as described in the second aspect and any embodiment thereof.

[0031] In a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed on the electronic device, the electronic device executes the method as described in the second aspect and any embodiment thereof.

[0032] In a sixth aspect, a chip system is provided, the chip system including a processor for supporting an electronic device to implement the functions involved in the second aspect. In a possible design, the electronic device also includes an interface circuit, which can be used to receive signals from other devices (such as a memory) or send signals to other devices (such as a communication interface). The chip system may include a chip and may also include other discrete devices.

[0033] The technical effects of the second to sixth aspects refer to the technical effects of the first aspect and any of its embodiments, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram showing the relationship between various states of an electronic device in the prior art;

[0035] Figure 2 A schematic diagram of a voice wake-up scenario provided in an embodiment of the present application;

[0036] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0037] Figure 4 A schematic diagram of a software architecture for an electronic device running according to an embodiment of the present application;

[0038] Figure 5 One of the circuit structure diagrams of an electronic device provided in an embodiment of the present application;

[0039] Figure 6 This is one of the schematic diagrams of the relationship between various states of an electronic device provided in an embodiment of the present application;

[0040] Figure 7 A second schematic diagram of the relationship between various states of an electronic device provided in an embodiment of the present application;

[0041] Figure 8 A second schematic diagram of a circuit structure of an electronic device provided in an embodiment of the present application;

[0042] Fig. 9A third schematic diagram of a circuit structure of an electronic device provided in an embodiment of the present application;

[0043] Fig.10 A fourth schematic diagram of a circuit structure of an electronic device provided in an embodiment of the present application;

[0044] Fig.11 A fifth circuit structure diagram of an electronic device provided in an embodiment of the present application;

[0045] Fig.12 A flowchart of a voice wake-up method provided in an embodiment of the present application;

[0046] Fig.13 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] First, some concepts involved in this application are described.

[0048] The terms "first", "second", etc. involved in the embodiments of the present application are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.

[0049] The terms "exemplary" or "for example" and the like in the embodiments of the present application are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the related concepts in a specific way.

[0050] The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense. For example, they may refer to a direct physical connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.

[0051] Voice wake-up technology is widely used in electronic devices. Through voice wake-up technology, users can control electronic devices through voice commands without directly controlling the electronic devices. For example, switching the status of the electronic device, or switching the program currently playing on the electronic device. Figure 1 As shown, the electronic device may include: screen off state, screen on state, standby state and power off state. Figure 1 , briefly describing how electronic devices switch between various states.

[0052] 1. When the electronic device is in the screen-off state, all modules in the electronic device except the display screen (such as the audio acquisition module, the audio speaker module, etc.) are in working state. At this time, as in S1, the electronic device can switch from the screen-off state to the screen-on state in response to a screen-on voice command; or, the electronic device can switch from the screen-off state to the screen-on state in response to the user clicking the power button of the electronic device (or the standby button of the remote control that matches the electronic device). As in S2, when the connection between the electronic device and the power supply end is cut off (such as the user unplugs the power supply), the electronic device automatically switches from the screen-off state to the power-off state.

[0053] 2. When the electronic device is in the screen-on state, all modules of the electronic device (such as the display screen, audio acquisition module, audio speaker module, etc.) are in working state. At this time, the electronic device can switch the program (such as audio program or video program) being played by the electronic device in response to the service switching voice command. As in S3, the electronic device can also switch from the screen-on state to the screen-off state in response to the screen-off voice command; or, the electronic device can switch from the screen-on state to the screen-off state in response to the user clicking the standby button of the remote control matched with the electronic device; or, when the electronic device has no playback task within a preset time period, it automatically switches from the screen-on state to the screen-off state. As in S4, the electronic device can also switch from the screen-on state to the standby state in response to the standby voice command; or, the electronic device can switch from the screen-on state to the standby state in response to the user clicking the power button of the electronic device. As in S5, when the connection between the electronic device and the power supply end is cut off (such as the user unplugging the power supply), the electronic device automatically switches from the screen-on state to the power-off state.

[0054] For example, assuming that the electronic device is a smart voice TV, take switching the video program currently being played by the electronic device through a service switching voice command as an example. Figure 2 As shown in A, the smart voice TV plays the program of the first channel. When the smart voice TV detects the wake-up word (such as hello, Xiao B), Figure 2 As shown in B, the intelligent voice TV sends feedback information (such as please speak). Figure 2 As shown in C and D, when the smart voice TV detects a specific voice command (such as switching to the second channel), the smart voice TV performs a corresponding operation according to the voice command (such as switching from playing the program on the first channel to playing the program on the second channel).

[0055] 3. When the electronic device is in standby mode, most modules in the electronic device (such as audio acquisition module, audio speaker module, display screen, etc.) stop working. In standby mode, the power consumption of the electronic device is less than the preset power consumption (such as 0.5W). At this time, since the audio acquisition module of the electronic device has stopped working, the electronic device cannot collect audio data, so the electronic device cannot switch from the standby mode to the screen-on mode in response to the screen-on voice command. However, as in S6, the electronic device can switch from the standby mode to the screen-on mode in response to the user clicking the power button of the electronic device (or the standby button of the remote control supporting the electronic device). In other words, in standby mode, the electronic device does not have a voice wake-up function. As in S7, when the connection between the electronic device and the power supply end is cut off (such as the user unplugs the power supply), the electronic device switches from the standby mode to the power-off mode.

[0056] 4. When the electronic device is in the power-off state, each module of the electronic device stops working due to no voltage input. At this time, as in S8, after the electronic device is connected to the power supply terminal (such as the user plugs in the power supply), the electronic device switches from the power-off state to the screen-on state in response to the user clicking the power key of the electronic device and the user clicking the standby key of the remote control matched with the electronic device.

[0057] In combination with the above process, when the electronic device is in the screen-on state or the screen-off state, in order to ensure that the electronic device can respond to the voice wake-up instruction at any time to perform the corresponding operation, the processor of the electronic device needs to continuously detect the voice wake-up instruction, and then execute the corresponding operation when the voice wake-up instruction is detected. This requires the processor to continuously run the voice wake-up algorithm, which will not only occupy the processor's resources, resulting in a decrease in the performance of the processor, and then the performance of the electronic device, but also increase the power consumption of the processor, thereby increasing the power consumption of the electronic device. When the electronic device is in standby mode, since the audio acquisition module cannot collect audio data, the electronic device does not have a voice wake-up function in the standby mode, but needs to switch the electronic device between different states through manual operation. In this way, the user experience is reduced.

[0058] Based on the above problems, an embodiment of the present application provides an electronic device. When the electronic device is in a standby state, the audio acquisition module of the electronic device can still collect audio data. At the same time, the electronic device continuously detects whether the audio data includes a wake-up word through a low-power second processor. Once the wake-up word is detected, the second processor wakes up the high-power first processor and performs voice recognition on the audio data, thereby performing the corresponding operation. In other words, the high-power first processor does not need to continuously detect the wake-up word, nor does it need to continuously perform voice recognition, which can reduce the power consumption of the first processor, so that the electronic device can realize the voice wake-up function with low power consumption in the standby state, and can improve the performance of the first processor. When the electronic device is in an off-screen state and there is no audio speaker service, the first processor controls the electronic device to switch from the off-screen state to the standby state, which greatly reduces the power consumption of the electronic device. When the electronic device is in a bright screen state, the first processor first detects whether the audio data includes a wake-up word. If the wake-up word is not detected, the first processor instructs the second processor to continue to detect the wake-up word. If the second processor detects the wake-up word, it wakes up the first processor again to perform voice recognition on the audio data. In other words, the electronic device provided in the embodiment of the present application can also realize the voice wake-up function with low power consumption when it is in a bright screen state. It can be seen that the electronic device provided in the embodiment of the present application can realize the voice wake-up function with low power consumption in the screen-off state, the screen-on state and the standby state.

[0059] The electronic device involved in the embodiment of the present application may be a device with a voice wake-up function, and the electronic device may be mobile or fixed. The electronic device may be deployed on land (for example, indoors or outdoors, handheld or vehicle-mounted, etc.), on the water (for example, ships, etc.), or in the air (for example, airplanes, balloons, etc.). The electronic device may be referred to as user equipment (UE), access terminal, terminal unit, subscriber unit (subscriberunit), terminal station, mobile station (MS), mobile station, terminal agent or terminal device, etc. For example, the electronic device may be an intelligent voice TV, an intelligent conversation toy, an intelligent speaker, etc. The embodiment of the present application does not limit the specific type and structure of the electronic device. A possible structure of the electronic device is described below.

[0060] For example, taking the electronic device as a smart voice TV, Figure 3A possible structure of an electronic device 300 is shown. The electronic device 300 may include: a first processor 311, a second processor 312, a memory 320, a communication interface 330, a power management module 340, an antenna, a wireless communication module 350, an audio module 360, a speaker 360A, a receiver 360B, an audio acquisition module 360C, a sensor module 370, a button 380, an indicator 390, a display screen 391, and the like.

[0061] Among them, the sensor module 370 may include an infrared sensor, a temperature sensor, a humidity sensor, an ambient light sensor, and a distance sensor, but is not limited to these, and the embodiments of the present application are not limited to this.

[0062] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 300. In other embodiments of the present application, the electronic device 300 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0063] The first processor 311 may include one or more processing units. For example, the first processor 311 may include an application processor (AP), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a baseband processor, and a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more first processors. In some embodiments, the first processor 311 may be an advanced RISC machine (ARM) processor.

[0064] The controller may be the nerve center and command center of the electronic device 300. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0065] The first processor 311 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the first processor 311 is a cache memory. The memory may store instructions or data that have just been used or are cyclically used by the first processor 311. If the first processor 311 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the first processor 311, and thus improves the efficiency of the system.

[0066] In some embodiments, the first processor 311 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc.

[0067] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 300. In other embodiments of the present application, the electronic device 300 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0068] The second processor 312 may be a processor with lower power consumption (usually, the power consumption of the second processor can be ignored) and simpler functions and configurations than the first processor 311. In some embodiments, the second processor 312 may be a low-power digital signal processor (DSP). The second processor 312 may be used to detect whether the audio data collected by the audio collection module includes a wake-up word (i.e., perform voice detection).

[0069] It is understandable that the second processor 312 may be integrated with the first processor 311, or the second processor 312 and the first processor 311 may be independent devices, which is not limited in the embodiments of the present application.

[0070] The power management module 340 is used to receive charging input from a charger. The charger may be a wired charger. For example, the power management module 340 may receive charging input from a wired charger through a charging interface to power the first processor 311, the second processor 312, the memory 320, the wireless communication module 350, the audio module 360, the sensor module 370, the display screen 391, the indicator 390, etc. In some other embodiments, the power management module 340 may also be disposed in the first processor 311.

[0071] The wireless communication function of the electronic device 300 can be implemented through an antenna, a wireless communication module 350, a modem processor, a baseband processor, and the like.

[0072] The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, the antenna can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0073] The electronic device 300 implements the display function through a GPU, a display screen 391, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 391 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information.

[0074] The display screen 391 is used to display images, videos, etc. The display screen 391 includes a display panel. In some embodiments, the electronic device 300 may include 1 or N display screens 391, where N is a positive integer greater than 1.

[0075] The memory 320 may be used to store computer executable program codes, which include instructions. The first processor 311 and the second processor 312 execute various functional applications and data processing of the electronic device 300 by running the instructions stored in the memory 320. In addition, the memory 320 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, a universal flash storage (UFS), etc.

[0076] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0077] The electronic device 300 can implement audio functions such as music playing and recording through an audio module 360, a speaker 360A, a receiver 360B, an audio collection module (such as a microphone as described below) 360C, and an application processor.

[0078] The audio module 360 ​​is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. In some embodiments, the audio module 360 ​​can be arranged in the first processor 311, or some functional modules of the audio module 360 ​​can be arranged in the first processor 311. The speaker 360A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 360B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The electronic device 300 can be provided with at least one microphone (such as 4 microphones).

[0079] The key 380 includes a power key, a volume key, etc. The key 380 may be a mechanical key. It may also be a touch key. The electronic device 300 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 300. The indicator 390 may be an indicator light, which may be used to indicate the current state of the electronic device, etc.

[0080] The first processor 311 and the second processor 312 execute the voice wake-up method provided in the embodiment of the present application by executing the program and instructions stored in the memory 320. The programs executed by the first processor 311 and the second processor 312 may be based on an operating system, for example Windows operating system, etc. Figure 4 As shown, the program executed by the first processor 311 and the second processor 312 is based on For example, the programs run by the first processor 311 and the second processor 312 are layered according to their functions, and may include an application layer, a system service layer, an algorithm library, a hardware abstraction layer, a kernel layer, and a driver layer.

[0081] The driver layer is used to drive the hardware resources of the hardware abstraction layer. The driver layer may include an audio acquisition module driver, which is used to drive the audio acquisition module to collect audio data through the audio acquisition module.

[0082] The kernel layer includes the operating system (OS) kernel, which is used to manage the system's processes, memory, drivers, file systems, and network systems.

[0083] The hardware abstraction layer is used to abstract the hardware. The hardware abstraction layer may include a sound pickup module, which is used to abstract the audio acquisition module hardware, and the abstracted audio acquisition module is called by the voice wake-up algorithm in the algorithm library to output audio data to the voice wake-up algorithm.

[0084] The algorithm library may include a voice wake-up algorithm, which is used to execute the voice wake-up method provided in the embodiment of the present application. The voice wake-up algorithm may be a voice recognition program. Specifically:

[0085] The second processor can detect whether the audio data includes the wake-up word by running the voice wake-up algorithm. That is, the second processor is used to identify the wake-up word by running the voice wake-up algorithm.

[0086] The first processor can perform voice recognition on the audio data by running a voice wake-up algorithm, that is, detecting the corresponding instruction, and thus executing the corresponding operation. For example, the first processor detects a voice instruction to light up the screen and controls the electronic device to switch from the current state to the screen-on state; or the first processor detects a voice instruction to switch a service and controls the electronic device to switch from playing the current program to playing the target program, etc.

[0087] The system service layer may include a voice wake-up service, which is used to provide a service of calling a voice wake-up algorithm to a voice wake-up application.

[0088] The application layer may include a voice wake-up application, which is used to perform a corresponding operation in response to a voice wake-up instruction included in the audio data.

[0089] like Figure 5 As shown, the electronic device provided in the embodiment of the present application may include: a power supply terminal 501 and a voice wake-up circuit 502. The power supply terminal 501 is used to provide a target voltage to the voice wake-up circuit 502. The voice wake-up circuit 502 is used to collect audio data and perform voice recognition on the audio data.

[0090] The target voltage may be a standby voltage (eg, 5 V) provided by a standby power supply in the electronic device. Typically, when the electronic device is connected to an external power supply (ie, plugged in), the standby power supply starts to provide the standby voltage.

[0091] The voice wake-up circuit 502 may include: a first processor 311, a second processor 312, a switch circuit 503, a buck circuit 504, and an audio acquisition module 360C for collecting audio data. The first end of the switch circuit 503 is coupled to the first processor 311, the second end of the switch circuit 503 is used to couple to the power supply terminal 501, and the third end of the switch circuit 503 is coupled to the first end of the buck circuit 504. The second end of the buck circuit 504 is coupled to the audio acquisition module 360C. The power consumption of the first processor 311 is greater than the power consumption of the second processor 312.

[0092] When the electronic device is in standby mode, the first processor 311 is used to control the switch circuit 503 to be turned on, so that the power supply end 501 provides the target voltage to the step-down circuit 504 through the switch circuit 503, and the step-down circuit 504 is used to step down the target voltage and then supply power to the audio acquisition module 360C. In this way, when the electronic device is in standby mode, the audio acquisition module can still collect audio data. The first processor 311 is also used to instruct the second processor 312 to enter a sleep mode after detecting whether the audio data includes a wake-up word. In this way, the power consumption of the electronic device in standby mode can be further reduced, and it is ensured that the electronic device can still detect the wake-up word (i.e., perform voice detection) in standby mode. The second processor 312 detects the wake-up word by running a voice wake-up algorithm. If a wake-up word is detected, such as Figure 6 As shown, the second processor wakes up the first processor. The first processor is also used to run a voice wake-up algorithm to perform voice recognition on the audio data, thereby performing corresponding operations. It can be seen that when the electronic device provided in the embodiment of the present application is in a standby state, the first processor does not need to run a voice wake-up algorithm for voice detection, and the second processor with lower power consumption can continuously run the voice wake-up algorithm for voice detection. At the same time, there is no need to continuously run the voice wake-up algorithm for voice recognition. In this way, the power consumption of the first processor is reduced, so that the electronic device can realize the voice wake-up function with low power consumption when in a standby state.

[0093] Optionally, in order to further ensure that the electronic device can realize the voice wake-up function with low power consumption when in standby mode, the first processor 311 instructs the second processor 312 to detect whether the audio data includes the wake-up word. The process may specifically include: first, the first processor 311 obtains the current power consumption of the electronic device; then, the first processor 311 compares the current power consumption with the target power consumption. If the current power consumption is less than the target power consumption, the first processor 311 instructs the second processor 312 to detect whether the audio data includes the wake-up word. The target power consumption may be less than the above-mentioned preset power consumption. For example, if the preset power consumption is 0.5W, the target power consumption may be 0.48W.

[0094] Usually, when an electronic device is in a standby state, most modules in the electronic device will be powered off, thereby ensuring that the power consumption of the electronic device is less than the preset power consumption. At this time, if the module that should be powered off is not powered off normally due to a fault or the like, the current power consumption of the electronic device will exceed the preset power consumption. Moreover, when the electronic device is in a standby state, the audio acquisition module that should be powered off is powered on, which will cause the current power consumption of the electronic device to increase. Therefore, in order to ensure that the electronic device can realize the voice wake-up function with low power consumption when it is in a standby state, the first processor also needs to determine whether the current power consumption of the electronic device exceeds the target power consumption that is smaller than the preset power consumption after the audio acquisition module is powered on. If the current power consumption is less than the target power consumption, the first processor instructs the second processor to detect whether the audio data includes a wake-up word. If the current power consumption is greater than the target power consumption, it means that some modules that should be powered off are not powered off. At this time, the first processor will not instruct the second processor to detect whether the audio data includes a wake-up word, and the first processor will not detect whether the audio data includes a wake-up word. That is to say, if the current power consumption is greater than the target power consumption, the first processor will disable the voice wake-up function and control certain modules that should be powered off but are not powered off to be powered off. The voice wake-up function will not be enabled until the first processor determines that the current power consumption of the electronic device is less than the target power consumption, that is, the second processor is instructing to detect the wake-up word.

[0095] Exemplarily, the first processor may obtain the current power consumption of the electronic device from a power management module of the electronic device. The specific process is not specifically described and limited in the embodiments of the present application.

[0096] Optional, such as Figure 6 As shown, when the electronic device provided in the embodiment of the present application is in a screen-off state and there is no audio speaker service, the first processor is also used to control the electronic device to switch from the screen-off state to the standby state.

[0097] The electronic device is in a screen-off state and has no audio speaker service, which is equivalent to the electronic device playing neither video programs nor audio programs. At this time, the first processor controls the electronic device to switch from the screen-off state to the standby state, so that most modules in the electronic device are powered off, which can greatly reduce the power consumption of the electronic device and still enable the electronic device to have a voice wake-up function.

[0098] In one embodiment, the first processor determines that the electronic device has no audio speaker service only when the electronic device has no audio speaker service within a preset time period. In this way, it can be ensured that the electronic device does not have an audio speaker service, and some modules in the electronic device are prevented from being frequently powered on and off, thereby reducing the failure rate of these modules in the electronic device and extending the service life of these modules.

[0099] Optional, combined Figure 6 ,like Figure 7 As shown, when the electronic device provided in the embodiment of the present application is in a bright screen state, the first processor instructs the second processor to detect the wake-up word. That is to say, when the electronic device is in a bright screen state, the detection of the wake-up word (i.e., voice detection) is performed by a low-power second processor. After the second processor detects the wake-up word, the second processor wakes up the first processor, and the first processor performs voice recognition on the audio data. In this way, the power consumption of the first processor is reduced, so that the electronic device can realize the voice wake-up function with low power consumption when it is in a bright screen state.

[0100] Combine the following Figure 5 ,as well as Figure 8 and Fig. 9 , briefly describing the circuit structure of the electronic device provided in the embodiment of the present application.

[0101] Combination Figure 5 ,like Figure 8 As shown, the switch circuit 503 may include: a first switch subcircuit 5031 and a second switch subcircuit 5032. The first end of the first switch subcircuit 5031 is coupled to the first processor 311, the second end of the first switch subcircuit 5031 is used to couple to the power supply terminal 501, and the third end of the first switch subcircuit 5031 is coupled to the first end of the second switch subcircuit 5032. The second end of the second switch subcircuit 5032 is coupled to the power supply terminal 501, and the third end of the second switch subcircuit 5032 is coupled to the step-down circuit 504.

[0102] When the electronic device is in the standby state, the first processor 311 is used to control the first switch subcircuit 5031 to be turned on, so as to turn on the second switch subcircuit 5032. In this way, the power supply terminal 501 can provide the target voltage to the step-down circuit 504 through the second switch subcircuit 5032. The step-down circuit 504 can then step down the target voltage and supply power to the audio acquisition module 360C, so that when the electronic device is in the standby state, the audio acquisition module 360C can collect audio data.

[0103] Optional, such as Figure 8As shown, the first switch subcircuit 5031 may include: a first resistor R1, a second resistor R2, an NPN transistor Q1 and a third resistor R3. The first end of the first resistor R1 is the first end of the first switch subcircuit 5031, and the second end of the first resistor R1 is the second end of the first switch subcircuit 5031. The first end of the second resistor R2 is coupled to the first end of the first resistor R1, and the second end of the second resistor R2 is coupled to the base (b) of the NPN transistor Q1. The emitter (e) of the NPN transistor Q1 is used to couple to the ground terminal, and the collector (c) of the NPN transistor Q1 is coupled to the first end of the third resistor R3. The second end of the third resistor R3 is the third end of the first switch subcircuit 5031. When the electronic device is in the standby state, the first processor 311 is specifically used to control the NPN transistor Q1 to be turned on, so that the first switch subcircuit 5031 is turned on.

[0104] Optional, such as Figure 8 As shown, the second switch subcircuit 5032 may include: a fourth resistor R4 and a P-type field effect transistor Q2. The first end of the fourth resistor R4 is the first end of the second switch subcircuit 5032, and the second end of the fourth resistor R4 is the second end of the second switch subcircuit 5032. The gate (g) of the P-type field effect transistor Q2 is coupled to the first end of the fourth resistor R4, the source (s) of the P-type field effect transistor Q2 is coupled to the second end of the fourth resistor R4, and the drain (d) of the P-type field effect transistor Q2 is coupled to the step-down circuit 504.

[0105] The first resistor R1 is a pull-up resistor, which is used to increase the driving current of the base of the NPN transistor Q1, so that when the GPIO interface of the first processor 311 outputs a high-level voltage, the NPN transistor Q1 is ensured to be turned on. The second resistor R2 is a base current limiting resistor, a first end of which is coupled to the GPIO interface of the first processor 311, and a second end of which is coupled to the base (b) of the NPN transistor Q1. Based on this, the current of the base (b) of the NPN transistor Q1 can be prevented from being too large, causing the NPN transistor Q1 to be burned out.

[0106] It should be noted that the first processor 311 involved in the embodiment of the present application has a built-in pull-down resistor, the first end of the pull-down resistor is coupled to the first end of the first resistor R1, and the second end of the pull-down resistor is used to couple to the ground terminal. Through the pull-down resistor, when the output signal of the GPIO interface of the first processor 311 is uncertain (that is, the input signal of the base of the NPN transistor Q1) is uncertain, the base of the NPN transistor Q1 can be effectively grounded, so that the NPN transistor Q1 is in an off state.

[0107] The NPN transistor is a current-controlled device. When the high-level voltage provided by the first processor 311 to the base (b) of the NPN transistor Q1 through the GPIO interface is greater than the turn-on voltage, the NPN transistor Q1 can be turned on. When the first processor 311 provides a low-level voltage to the base (b) of the NPN transistor Q1 through the GPIO interface, the NPN transistor Q1 is turned off. In the embodiment of the present application, when the electronic device is in the standby state, in order to enable the audio acquisition module 360C to collect audio data, the first processor 311 provides a high-level voltage to the base of the NPN transistor Q1 through the GPIO interface.

[0108] When the NPN transistor Q1 is turned on, the third resistor R3 and the fourth resistor R4 divide the target voltage provided by the power supply terminal 501, so that the voltage of the gate (g) of the P-type field effect transistor Q2 is lower than the voltage of the source (s) of the P-type field effect transistor Q2, and the gate-source voltage (V gs ) satisfies the conduction condition of the P-type field effect transistor Q2, thereby turning on the P-type field effect transistor Q2. After the P-type field effect transistor Q2 is turned on, the power supply terminal 501 provides the target voltage to the step-down circuit 504 through the source (s) of the P-type field effect transistor Q2 and the drain (d) of the P-type field effect transistor Q2.

[0109] It should be noted that the transistor is a current-controlled device, and its on-voltage is relatively small (such as 0.7V or 0.6V). Usually, the voltage output by the GPIO interface of the processor is greater than the on-voltage. Therefore, the processor can directly drive the transistor. The field effect tube is a voltage-controlled device, and the voltage output by the GPIO interface of the processor cannot drive a field effect tube with a larger power. Therefore, in the embodiment of the present application, the first processor drives the NPN transistor Q1, and then divides the voltage at the power supply end through the third resistor R3 and the fourth resistor R4, so that the voltage of the source (s) and the voltage of the gate (g) of the P-type field effect tube Q2 meet the on-condition, thereby driving the P-type field effect tube Q2.

[0110] Optional, such as Figure 8 As shown, the first switch subcircuit 5031 may further include a first capacitor C1. A first end of the first capacitor C1 is coupled to the base (b) of the NPN transistor Q1, and a second end of the first capacitor C1 is coupled to the emitter (e) of the NPN transistor Q1. The first capacitor C1 is a bypass capacitor and can be used for high-frequency filtering, thereby improving the anti-interference capability of the NPN transistor Q1.

[0111] Optional, such as Figure 8As shown, the second switch subcircuit 5032 may further include: a fifth resistor R5, a second capacitor C2, and a third capacitor C3. The first end of the fifth resistor R5 is coupled to the first end of the fourth resistor R4, and the second end of the fifth resistor R5 is coupled to the gate (g) of the P-type field effect transistor Q2. The first end of the second capacitor C2 is coupled to the source (s) of the P-type field effect transistor Q2, and the second end of the second capacitor C2 is coupled to the gate (g) of the P-type field effect transistor Q2. The first end of the third capacitor C3 is coupled to the drain (d) of the P-type field effect transistor Q2, and the second end of the third capacitor C3 is used to couple to the ground terminal.

[0112] The fifth resistor R5 is used to protect the source (s) and drain (d) of the P-type field effect transistor Q2 from breakdown. The second capacitor C2 is used to control the on-off time of the P-type field effect transistor Q2. The third capacitor C3 is used to filter the output voltage of the step-down circuit 504.

[0113] Optional, such as Figure 8 As shown, the second switch subcircuit 5032 may further include: a fourth capacitor C4, a fifth capacitor C5 and a sixth capacitor C6. The first end of the fourth capacitor C4 and the first end of the fifth capacitor C5 are used to couple to the power supply terminal 501, and the second end of the fourth capacitor C4 and the second end of the fifth capacitor C5 are used to couple to the ground terminal for filtering. The sixth capacitor C6 is connected in parallel with the third capacitor C3 to enhance filtering.

[0114] Optional, combined Figure 5 ,like Fig. 9 and Fig.10 As shown, the switch circuit 503 may include a third switch subcircuit. A first end of the third switch subcircuit is coupled to the first processor 311, a second end of the third switch subcircuit is coupled to the power supply terminal 501, and a third end of the third switch subcircuit is coupled to a first end of the step-down circuit 504. When the electronic device is in the standby state, the first processor 311 is specifically used to control the third switch subcircuit to be turned on, so that the power supply terminal 501 provides the target voltage to the step-down circuit 504.

[0115] In one embodiment, in combination Figure 5 ,like Fig. 9As shown, the third switch subcircuit may include: a tenth resistor R10, an eleventh resistor R11 and an NPN transistor Q3. The first end of the tenth resistor R10 is the first end of the third switch subcircuit, and the second end of the tenth resistor R10 is the second end of the third switch subcircuit. The first end of the eleventh resistor R11 is coupled to the first end of the tenth resistor R10, and the second end of the eleventh resistor R11 is coupled to the base (b) of the NPN transistor Q3. The emitter (e) of the NPN transistor Q3 is used to couple to the ground terminal, and the collector (c) of the NPN transistor Q3 is the third end of the third switch subcircuit. The third end of the step-down circuit 504 is coupled to the power supply terminal 501. The first processor 311 is specifically used to: when the electronic device is in the standby state, control the NPN transistor Q3 to be turned on.

[0116] like Fig. 9 As shown, the third switch subcircuit may further include an eleventh capacitor C11. A first end of the eleventh capacitor C11 is coupled to the base (b) of the NPN transistor Q2, and a second end of the eleventh capacitor C11 is coupled to the ground. The eleventh capacitor C11 is a bypass capacitor and may be used for high-frequency filtering, thereby improving the anti-interference capability of the NPN transistor Q3.

[0117] In another embodiment, in combination Figure 5 ,like Fig.10 As shown, the third switch subcircuit may include a P-type field effect transistor Q4. The gate (g) of the P-type field effect transistor Q4 is coupled to the first processor, the source (s) of the P-type field effect transistor Q4 is coupled to the power supply terminal 501, and the drain (d) of the P-type field effect transistor Q4 is coupled to the first terminal of the buck circuit 504.

[0118] When the electronic device is in standby mode, the GPIO interface of the first processor 311 can output a low-level voltage. At this time, the voltage of the gate (g) of the P-type field effect transistor Q4 and the voltage of the source (s) meet the conduction condition, thereby driving the P-type field effect transistor Q4, so that the P-type field effect transistor Q4 is turned on, and the power supply end supplies power to the step-down circuit 504 through the source (s) and drain (d) of the P-type field effect transistor Q4.

[0119] like Fig.10As shown, the third switch subcircuit may further include: a twelfth resistor R12, a twelfth capacitor C12, a thirteenth capacitor C13 and a fourteenth capacitor C14. The first end of the twelfth resistor R12 is coupled to the first processor 311, and the second end of the twelfth resistor R12 is coupled to the gate (g) of the P-type field effect transistor Q4. The first end of the twelfth capacitor C12 is coupled to the source (s) of the P-type field effect transistor Q4, and the second end of the twelfth capacitor C12 is coupled to the gate (g) of the P-type field effect transistor Q4. The first end of the thirteenth capacitor C13 and the first end of the fourteenth capacitor C14 are coupled to the drain (d) of the P-type field effect transistor Q4, and the first end of the thirteenth capacitor C13 and the second end of the fourteenth capacitor C14 are coupled to the ground terminal.

[0120] It should be noted that the specific structure of the switch circuit is related to the power of the audio acquisition module, and the specific structure of the switch circuit can also output different levels.

[0121] Further, combined with Figure 5 ,like Fig.11 As shown, the buck circuit 504 may include: a buck device 5041, a sixth resistor R6 and a seventh resistor R7. The input terminal (IN) of the buck device 5041 is coupled to the third terminal of the switch circuit 503; the output terminal (OUT) of the buck device 5041 is coupled to the first terminal of the sixth resistor R6, the ground terminal of the buck device 5041, and the audio acquisition module 360C; the adjustment terminal (ADJ) of the buck device 5041 is coupled to the second terminal of the sixth resistor R6 and the first terminal of the seventh resistor R7; the second terminal of the seventh resistor R7 is used to couple to the ground terminal.

[0122] Exemplarily, the buck device 5041 may be a low-dropout forward regulator of model AS1117L-ADJ, but is not limited thereto. When the buck device 5041 is the low-dropout forward regulator, the output voltage V of the buck circuit 504 provided in the embodiment of the present application is out It can be expressed by the following formula (1):

[0123]

[0124] Among them, V ref is the reference voltage of the step-down device 5041 , R6 is the resistance value of the sixth resistor R6 , and R7 is the resistance value of the seventh resistor R7 .

[0125] From formula (1), we can know that the output voltage V of the step-down circuit 504 is out The reference voltage V of the step-down device 5041 refTherefore, after the voltage-reducing device 5041 is determined, the output voltage V of the voltage-reducing circuit 504 can be adjusted by selecting the appropriate sixth resistor R6 and the seventh resistor R7. out , thereby meeting the required voltage of the audio acquisition module 360C.

[0126] Optional, such as Fig.11 As shown, the step-down circuit 504 may further include: an eighth resistor R8, a seventh capacitor C7, an eighth capacitor C8, and a ninth capacitor C9. The first end of the eighth resistor R8 is coupled to the third end of the switch circuit 503, and the second end of the eighth resistor R8 is coupled to the input end (IN) of the step-down device 5041. The first end of the seventh capacitor C7 is coupled to the input end (IN) of the step-down device 5041, and the second end of the seventh capacitor C7 is used to couple to the ground end. The first end of the eighth capacitor C8 and the first end of the ninth capacitor C9 are coupled to the output end (OUT) of the step-down device 5041, and the second end of the eighth capacitor C8 and the second end of the ninth capacitor C9 are used to couple to the ground end.

[0127] The eighth resistor R8 is used for current limiting to protect the step-down circuit 504. The seventh capacitor C7, the eighth capacitor C8, and the ninth capacitor C9 are used for filtering.

[0128] Optional, such as Fig.11 As shown, the step-down circuit 504 may further include: a tenth capacitor C10 and a ninth resistor R9. The tenth capacitor C10 is connected in parallel with the sixth resistor R6 to enhance filtering. The ninth resistor R9 is connected in series between the output end (OUT) of the step-down device 5041 and the audio acquisition module 360C to limit current.

[0129] The methods described in the following embodiments can be applied to electronic devices (such as smart voice TVs, etc.) having the above-mentioned software and hardware structures.

[0130] like Fig.12 As shown, the voice wake-up method provided in the embodiment of the present application may include:

[0131] S1201: The first processor obtains a current state of the electronic device.

[0132] The current state of the electronic device may include: screen-off state, screen-on state, standby state, etc. The first processor may obtain the current state of the electronic device by obtaining at least one of the following information: state information of the display screen of the electronic device, power consumption information of the electronic device, and state information of an indicator light (such as a light emitting diode (LED)) of the electronic device.

[0133] In one embodiment, when the display screen of the electronic device is in working state, the first processor can determine that the current state of the electronic device is the screen-on state. When the display screen of the electronic device is not in working state, the electronic device may be in the screen-off state or in the standby state. At this time, the first processor also needs to determine whether the electronic device is in the screen-off state or the standby state in combination with the current power consumption of the electronic device. If the current power consumption of the electronic device is less than the preset power consumption, the first processor can determine that the electronic device is in the standby state, otherwise, the first processor determines that the electronic device is in the screen-off state.

[0134] In another embodiment, when the display screen of the electronic device is in working state, the first processor may determine that the current state of the electronic device is the screen-on state. When the display screen of the electronic device is not in working state, if the indicator light of the electronic device is in a constant light state, the first processor may determine that the electronic device is in a standby state, and if the indicator light of the electronic device is in a flashing state, the first processor may determine that the electronic device is in a screen-off state.

[0135] S1202: If the electronic device is in a screen-off state and has no audio speaker service, the first processor controls the electronic device to switch from the screen-off state to a standby state.

[0136] Combination Figure 6 , such as S9, the electronic device is in the screen-off state, and the electronic device has no audio speaker service, which is equivalent to the electronic device playing neither video programs nor audio programs. At this time, the first processor controls the electronic device to switch from the screen-off state to the standby state, so that most modules in the electronic device are powered off, which can greatly reduce the power consumption of the electronic device.

[0137] Optionally, if the electronic device is in the screen-off state and has an audio speaker service, it is equivalent to the electronic device playing an audio program. At this time, the first processor can run a voice wake-up algorithm within a preset time period to detect whether the audio data includes a wake-up word. If the first processor detects the wake-up word, the first processor runs the voice wake-up algorithm to perform voice recognition on the audio data to perform the corresponding operation. And, after completing the voice recognition of the audio data, the first processor instructs the second processor with lower power consumption to continuously run the voice wake-up algorithm to detect the wake-up word. If the first processor runs the voice wake-up algorithm within the preset time period and does not detect the wake-up word, the first processor instructs the second processor with lower power consumption to run the voice wake-up algorithm to detect whether the audio data includes the wake-up word. In this way, the first processor no longer needs to continuously run the voice wake-up algorithm to detect the wake-up word, thereby improving the performance of the first processor and reducing the power consumption of the first processor.

[0138] S1203: When the electronic device is in a standby state, the first processor controls the switch circuit to be turned on.

[0139] Combination Figure 8 When the electronic device is in standby mode, the first processor controls the switch circuit to be turned on, so that the power supply end provides the target voltage to the step-down circuit through the switch circuit, and the step-down circuit is used to step down the target voltage and then supply power to the audio acquisition module. In this way, when the electronic device is in standby mode, the audio acquisition module can still collect audio data. This provides a hardware foundation for the electronic device to have a voice wake-up function when it is in standby mode.

[0140] S1204: The first processor instructs the second processor to detect whether the audio data includes a wake-up word.

[0141] When the electronic device is in a non-power-off state, in order to enable the electronic device to respond to the user's voice wake-up command at any time, the electronic device needs to continuously detect the wake-up word. Figure 6 As shown in S10, the first processor instructs the second processor to detect whether the audio data includes a wake-up word, so that the second processor continuously runs the voice wake-up algorithm instead of the first processor to perform wake-up word detection, which can not only reduce the power consumption of the first processor, but also improve the performance of the first processor.

[0142] Optionally, in order to further ensure that the electronic device can realize the voice wake-up function with low power consumption when it is in the standby state, the process in which the first processor instructs the second processor to detect whether the audio data includes the wake-up word may specifically include: first, the first processor obtains the current power consumption of the electronic device; then, the first processor compares the current power consumption with the target power consumption, and if the current power consumption is less than the target power consumption, the first processor instructs the second processor to detect whether the audio data includes the wake-up word. If the current power consumption is greater than the target power consumption, the first processor will not instruct the second processor to detect whether the audio data includes the wake-up word, and the first processor will not detect whether the audio data includes the wake-up word. In other words, if the current power consumption is greater than the target power consumption, it means that some modules that should be powered off are not powered off. At this time, the first processor will not instruct the second processor to detect whether the audio data includes the wake-up word, and the first processor will not detect whether the audio data includes the wake-up word. Therefore, if the current power consumption is greater than the target power consumption, the first processor will disable the voice wake-up function, and control some modules that should be powered off but are not powered off to power off, until the first processor determines that the current power consumption of the electronic device is less than the target power consumption, the voice wake-up function will be enabled, that is, the second processor will be instructed to detect the wake-up word.

[0143] S1205: The first processor enters a sleep state.

[0144] After instructing the second processor to detect whether the audio data includes the wake-up word, the first processor enters a sleep state, which can further reduce the power consumption of the first processor, thereby further reducing the power consumption of the electronic device.

[0145] S1206: If the second processor detects the wake-up word, the second processor wakes up the first processor.

[0146] Combination Figure 6 If the second processor runs the voice wake-up algorithm and detects a wake-up word, such as S11, indicating that there is a voice wake-up service, the second processor wakes up the first processor so that the first processor can determine the specific voice wake-up service.

[0147] S1207: The first processor performs speech recognition on the audio data.

[0148] The first processor runs a voice wake-up algorithm to perform voice recognition on the audio data, determines a specific voice wake-up service, and then executes a corresponding operation. After the first processor completes the corresponding operation, the electronic device may be in a screen-on state or a screen-off state.

[0149] S1208. If the electronic device is in a screen-on state, the first processor instructs the second processor to detect whether the audio data includes a wake-up word.

[0150] When the electronic device is in the screen-on state, in order to reduce power consumption, the first processor instructs the second processor to detect whether the audio data includes a wake-up word to determine whether there is a voice wake-up service.

[0151] S1209: If the second processor detects the wake-up word, the second processor wakes up the first processor.

[0152] Combination Figure 7 When the second processor runs the voice wake-up algorithm and detects the wake-up word, such as S11, it indicates that there is a voice wake-up service, and the second processor wakes up the first processor, so that the first processor runs the voice wake-up algorithm to perform voice recognition on the audio data, thereby performing the corresponding operation. For example, in S12, when the first processor completes voice recognition, there is no voice wake-up service at this time, and the first processor again instructs the second processor to run the voice wake-up algorithm to detect the wake-up word.

[0153] S1210. The first processor performs speech recognition on the audio data.

[0154] Combination Figure 7 When the first processor detects the wake-up word, it indicates that there is a voice wake-up service at this time. The first processor then runs the voice wake-up algorithm to perform voice recognition on the audio data, thereby executing the corresponding operation.

[0155] Optionally, after the first processor completes the corresponding operation, if the electronic device is still in the screen-on state, the first processor instructs the second processor to detect the wake-up word. After the first processor completes the corresponding operation, if the electronic device is in the screen-off state, the first processor then performs the above corresponding steps (such as S1202-S1207) according to whether the electronic device has an audio speaker service. After the first processor completes the corresponding operation, if the electronic device is in the standby state, the first processor can perform the above steps such as S1203-S1207.

[0156] In summary, the voice wake-up circuit, method, and electronic device provided by the embodiments of the present application, when the electronic device is in the screen-on state, the screen-off state, or the standby state, the work of detecting the wake-up word is handled by the low-power second processor. In this way, the resources of the high-power first processor can be saved, thereby reducing the power consumption of the first processor and improving the performance of the first processor, while the power consumption of the second processor is low and can be ignored, thus reducing the power consumption of the electronic device and improving the performance of the electronic device, and enabling the electronic device to have a voice wake-up function when it is in the screen-on state, the screen-off state, and the standby state.

[0157] like Fig.13 As shown, the embodiment of the present application also provides a chip system. The chip system 1300 includes at least one processor 1301 and at least one interface circuit 1302. The at least one processor 1301 and the at least one interface circuit 1302 can be interconnected through a line. The processor 1301 is used to support the electronic device to implement each step in the above method embodiment, such as Fig.12 In the method shown, at least one interface circuit 1302 may be used to receive signals from other devices (eg, memory) or to send signals to other devices (eg, communication interface). The chip system may include a chip and may also include other discrete devices.

[0158] The present application also provides a computer-readable storage medium, which includes instructions. When the instructions are executed on the electronic device, the electronic device executes each step in the method embodiment, such as executing Fig.12 The method shown.

[0159] The present application also provides a computer program product including instructions. When the instructions are executed on the electronic device, the electronic device executes each step in the method embodiment, such as executing Fig.12 The method shown.

[0160] Regarding the technical effects of the chip system, computer-readable storage medium, and computer program product, refer to the technical effects of the previous method embodiments.

[0161] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0162] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0163] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0164] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0165] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one device or distributed on multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0166] In addition, each functional module in each embodiment of the present application may be integrated into one device, or each module may exist physically separately, or two or more modules may be integrated into one device.

[0167] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can 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. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, 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 computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0168] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A voice wake-up circuit, characterized in that: Applied to electronic equipment, the circuit comprises: a first processor, a second processor, a switch circuit, a step-down circuit and an audio acquisition module; the power consumption of the first processor is greater than the power consumption of the second processor; the audio acquisition module is used to collect audio data; The first end of the switch circuit is coupled to the first processor, the second end of the switch circuit is used to couple to the power supply end, the third end of the switch circuit is coupled to the first end of the step-down circuit; the second end of the step-down circuit is coupled to the audio acquisition module; The first processor is used to, when the electronic device is in a standby state, control the switch circuit to be turned on so that the power supply end provides the target voltage to the step-down circuit through the switch circuit, and the step-down circuit is used to step down the target voltage and then supply power to the audio acquisition module, and instruct the second processor to enter a sleep state after detecting whether the audio data includes a wake-up word; The second processor is configured to wake up the first processor if the wake-up word is detected; The first processor is further configured to perform speech recognition on the audio data.

2. The circuit according to claim 1, characterized in that The first processor is specifically configured to: Acquire the current power consumption of the electronic device; If the current power consumption is less than the target power consumption, the second processor is instructed to detect whether the audio data includes the wake-up word.

3. The circuit according to claim 1 or 2, characterized in that: The first processor is further configured to: When the electronic device is in a screen-off state and the electronic device has no audio speaker service, the electronic device is controlled to switch from the screen-off state to the standby state.

4. The circuit according to claim 1 or 2, characterized in that: The first processor is further configured to: When the electronic device is in a screen-on state, the second processor is instructed to detect whether the audio data includes a wake-up word.

5. The circuit according to claim 1 or 2, characterized in that: The switch circuit comprises: a first switch subcircuit and a second switch subcircuit; The first end of the first switch subcircuit is coupled to the first processor, the second end of the first switch subcircuit is used to couple to the power supply end, and the third end of the first switch subcircuit is coupled to the first end of the second switch subcircuit; The second end of the second switch subcircuit is coupled to the power supply end, and the third end of the second switch subcircuit is coupled to the first end of the buck circuit; The first processor is used to control the first switch subcircuit to be turned on when the electronic device is in a standby state, so as to turn on the second switch subcircuit, and the power supply end provides the target voltage to the step-down circuit through the second switch subcircuit.

6. The circuit according to claim 5, characterized in that The first switch subcircuit includes: a first resistor, a second resistor, an NPN transistor and a third resistor; The first end of the first resistor is the first end of the first switch subcircuit, and the second end of the first resistor is the second end of the first switch subcircuit; the first end of the second resistor is coupled to the first end of the first resistor, and the second end of the second resistor is coupled to the base of the NPN transistor; the emitter of the NPN transistor is used to couple to the ground terminal, and the collector of the NPN transistor is coupled to the first end of the third resistor; the second end of the third resistor is the third end of the first switch subcircuit; the first processor is specifically used to: When the electronic device is in a standby state, the NPN transistor is controlled to be turned on.

7. The circuit according to claim 5, characterized in that The second switch subcircuit includes: a fourth resistor and a P-type field effect transistor; The first end of the fourth resistor is the first end of the second switch sub-circuit, and the second end of the fourth resistor is the second end of the second switch sub-circuit; the gate of the P-type field effect transistor is coupled to the first end of the fourth resistor, the source of the P-type field effect transistor is coupled to the second end of the fourth resistor, and the drain of the P-type field effect transistor is coupled to the buck circuit.

8. The circuit according to claim 5, characterized in that The step-down circuit comprises: a step-down device, a sixth resistor and a seventh resistor; The input end of the buck device is coupled to the third end of the switch circuit, the output end of the buck device is coupled to the first end of the sixth resistor, the ground end of the buck device, and the audio acquisition module; the adjustment end of the buck device is coupled to the second end of the sixth resistor and the first end of the seventh resistor; the second end of the seventh resistor is used to couple to the ground end.

9. A voice wake-up method, characterized in that: The voice wake-up circuit according to any one of claims 1 to 8; the circuit comprises: a first processor, a second processor, a switch circuit, a step-down circuit and an audio acquisition module; the power consumption of the first processor is greater than the power consumption of the second processor; the audio acquisition module is used to collect audio data; the first end of the switch circuit is coupled to the first processor, the second end of the switch circuit is used to couple to the power supply end, and the third end of the switch circuit is coupled to the first end of the step-down circuit; the second end of the step-down circuit is coupled to the audio acquisition module; the power supply end provides a target voltage to the step-down circuit through the switched-on switch circuit, and the step-down circuit is used to step down the target voltage and then supply power to the audio acquisition module; the method comprises: When the electronic device is in a standby state, the first processor controls the switch circuit to be turned on, and instructs the second processor to enter a sleep state after detecting whether the audio data includes a wake-up word; If the wake-up word is detected, the second processor wakes up the first processor; The first processor performs speech recognition on the audio data.

10. The method according to claim 9, characterized in that The first processor instructs the second processor to detect whether the audio data includes a wake-up word, including: The first processor acquires the current power consumption of the electronic device; If the current power consumption is less than the target power consumption, the first processor instructs the second processor to detect whether the audio data includes a wake-up word.

11. The method according to claim 9 or 10, characterized in that: The method further comprises: When the electronic device is in a screen-off state and the electronic device has no audio speaker service, the first processor controls the electronic device to switch from the screen-off state to the standby state.

12. The method according to claim 9 or 10, characterized in that: The method further comprises: When the electronic device is in a screen-on state, the first processor instructs the second processor to detect whether the audio data includes the wake-up word.

13. An electronic device, characterized in that: It comprises a voice wake-up circuit as described in any one of claims 1-8, and a memory; the memory stores instructions, and when the first processor and the second processor in the voice wake-up circuit execute the instructions, the method as described in any one of claims 9-12 is executed.

14. A computer-readable storage medium, characterized in that: The method comprises instructions which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 9 to 12.