Electronic device, control method, apparatus, and storage medium

By adjusting the number of audio acquisition components and the signal processing method, the wake-up function of electronic devices under low power threshold was optimized, solving the problems of available time and wake-up sensitivity when the device is low in power, and achieving power saving and improved wake-up effect.

CN112751953BActive Publication Date: 2026-07-31BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2019-10-31
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing electronic devices are difficult to wake up effectively when the battery level is low, and the power consumption of the wake-up function is high, which affects the device's usability and wake-up sensitivity.

Method used

By reducing the number of audio acquisition components when the power threshold is low and increasing the number of audio acquisition components when the power threshold is high, combined with differential signal transmission and microphone array design, the encoding and processing of wake-up signals are optimized, power consumption is reduced and recognition capability is improved.

Benefits of technology

Extend device availability and reduce power consumption during wake-up when battery is low, while improve the sensitivity and noise reduction of wake-up function when battery is high, thus enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112751953B_ABST
    Figure CN112751953B_ABST
Patent Text Reader

Abstract

This disclosure relates to an electronic device, control method, apparatus, device, and medium. The electronic device includes: a processing component, an encoding / decoding component, and a first number of audio acquisition components; the processing component is connected to the encoding / decoding component; the encoding / decoding component includes: an input pin; each audio acquisition component includes: a data pin connected to the input pin; the processing component sends a first control signal to the encoding / decoding component when the remaining power of the electronic device is less than a low power threshold; and sends a second control signal to the encoding / decoding component when the remaining power is greater than or equal to the low power threshold; the encoding / decoding component, according to the first control signal, receives a first audio signal from a second number of audio acquisition components (less than the first number), and encodes the first audio signal to obtain a first wake-up signal; the encoding / decoding component, according to the second control signal, receives a second audio signal from a third number of audio acquisition components (more than the second number), and encodes the second audio signal to obtain a second wake-up signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic equipment technology, and in particular to an electronic device, control method, apparatus, and storage medium. Background Technology

[0002] Electronic devices typically have sleep and wake-up states. Generally, the power consumption of an electronic device in sleep mode is less than that in wake-up mode. Therefore, electronic devices can save energy by switching from wake-up to sleep mode.

[0003] To enable electronic devices to transition from sleep to wake-up mode, they also provide wake-up functionality. For example, with smart voice devices, users can wake them up by speaking a wake word. Summary of the Invention

[0004] This disclosure provides an electronic device, a control method, an apparatus, and a storage medium.

[0005] According to a first aspect of the present disclosure, an electronic device is provided, the electronic device comprising: a processing component, an encoding / decoding component, and a first number of audio acquisition components;

[0006] The processing component is connected to the encoding / decoding component;

[0007] The encoding / decoding component includes: input pins;

[0008] Each of the audio acquisition components includes: a data pin connected to the input pin;

[0009] The processing component is configured to send a first control signal to the encoding / decoding component when the remaining power of the electronic device in a sleep state is less than a low power threshold; and to send a second control signal to the encoding / decoding component when the remaining power is greater than or equal to the low power threshold.

[0010] The encoding / decoding component is configured to receive, according to the first control signal, a second number less than the first number of first audio signals sent by the audio acquisition component through the data pin via the input pin, and encode the first audio signals to obtain a first wake-up signal to wake up the electronic device, and send the first wake-up signal to the processing component; wherein, the second number is less than the first number;

[0011] The encoding / decoding component is further configured to receive, according to the second control signal, a third number of second audio signals sent by the audio acquisition component through the data pin (greater than the second number), and encode the second audio signals to obtain a second wake-up signal to wake up the electronic device, and send the second wake-up signal to the processing component.

[0012] Optionally, the processing component is further configured to send the second control signal to the encoding / decoding component when the remaining power is less than the low power threshold and the remaining power shows an increasing trend;

[0013] The processing component is specifically configured to send the first control signal to the encoding / decoding component when the remaining power is less than the low power threshold and the remaining power shows a decreasing trend.

[0014] Optionally, the distance between at least two of the audio acquisition components is greater than or equal to a distance threshold.

[0015] According to a second aspect of the present disclosure, a control method is provided, characterized in that the method is applied to an electronic device as described in the first aspect of the present disclosure, the method comprising:

[0016] When the remaining power of the electronic device in a dormant state is less than a low power threshold, it receives a first audio signal sent by a second number of audio acquisition components that is less than a first number.

[0017] The first audio signal is encoded to obtain a first wake-up signal for waking up the electronic device;

[0018] When the remaining battery power is greater than or equal to the low battery threshold, a second audio signal sent by a third number of audio acquisition components greater than the second number is received.

[0019] The second audio signal is encoded to obtain a second wake-up signal that wakes up the electronic device.

[0020] Optionally, the method further includes:

[0021] When the remaining battery power is less than the low battery threshold and the remaining battery power shows an increasing trend, the second audio signal sent by the third number of audio acquisition components is received;

[0022] When the remaining battery power of the electronic device in sleep mode is less than a low battery threshold, receiving a first audio signal sent by a second number of audio acquisition components includes:

[0023] When the remaining battery power is less than the low battery threshold and the remaining battery power is decreasing, the first audio signal sent by the second number of audio acquisition components is received.

[0024] Optionally, receiving a first audio signal from a second number of audio acquisition components (less than a first number) when the remaining battery power of the electronic device in a sleep state is less than a low battery threshold includes:

[0025] When the remaining power of the electronic device in a dormant state is less than the low power threshold, it receives a first audio signal sent by at least two audio acquisition components with a spacing greater than or equal to the distance threshold.

[0026] According to a third aspect of the present disclosure, a control device is provided, the control device being used to control an electronic device as described in a first aspect of the present disclosure, the control device comprising:

[0027] The receiving unit is configured to receive a first audio signal sent by a second number of audio acquisition components that is less than a first number when the remaining power of the electronic device in a sleep state is less than a low power threshold.

[0028] An encoding unit is used to encode the first audio signal to obtain a first wake-up signal to wake up the electronic device;

[0029] The receiving unit is further configured to receive a second audio signal sent by a third number of audio acquisition components that is greater than the second number when the remaining power is greater than or equal to the low power threshold.

[0030] The encoding unit is further configured to encode the second audio signal to obtain a second wake-up signal for waking up the electronic device.

[0031] Optionally, the receiving unit is further configured to receive the second audio signal sent by the third number of audio acquisition components when the remaining power is less than the low power threshold and the remaining power shows an increasing trend;

[0032] The receiving unit is specifically configured to receive the first audio signal sent by the second number of audio acquisition components when the remaining power is less than the low power threshold and the remaining power is decreasing.

[0033] Optionally, the receiving unit is further configured to receive a first audio signal sent by at least two audio acquisition components with a spacing greater than or equal to a distance threshold when the remaining power of the electronic device in a sleep state is less than a low power threshold.

[0034] According to a fourth aspect of the present disclosure, a control device is provided, comprising:

[0035] processor;

[0036] Memory used to store processor-executable instructions;

[0037] The processor is configured to, when executing the executable instructions, implement the steps in the control method as described in the second aspect of the embodiments of this disclosure.

[0038] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein instructions in the storage medium, when executed by a processor of an electronic device, implement the steps of the control method as described in the second aspect of the present disclosure.

[0039] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0040] On the one hand, in this disclosure, when the remaining power of the electronic device is less than a low power threshold, a first audio signal sent by a second number of audio acquisition components is received, and the first audio signal is encoded to obtain a first wake-up signal to wake up the electronic device. The second number is less than the first number. When the remaining power of the electronic device is less than the low power threshold, while ensuring that the voice wake-up function of the electronic device works normally, compared with still using the audio signals collected by the first or third number of audio acquisition components to wake up when the remaining power of the electronic device is less than the low power threshold, the power consumed for wake-up is reduced, and the usable time of the electronic device when the remaining power is less than the low power threshold is extended.

[0041] On the other hand, in this disclosure, when the remaining battery power of the electronic device is greater than or equal to the low battery threshold, the audio signal collected by the third number of audio acquisition components is used for voice wake-up. The third number is greater than the second number and less than or equal to the first number. Compared with the second number of audio acquisition components still being used for wake-up when the remaining battery power of the electronic device is greater than or equal to the low battery threshold, the embodiments of this disclosure are beneficial to improving the noise reduction effect of the acquired audio signal of the electronic device, enhancing the electronic device's ability to recognize signals emitted by users in the environment to wake up the electronic device, and thus improving the sensitivity of the wake-up function of the electronic device.

[0042] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0043] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0044] Figure 1 This is a schematic diagram of an electronic device according to an exemplary embodiment.

[0045] Figure 2 This is a schematic diagram illustrating another electronic device according to an exemplary embodiment.

[0046] Figure 3 This is a schematic diagram illustrating yet another electronic device according to an exemplary embodiment.

[0047] Figure 4 This is a schematic diagram illustrating a control method according to an exemplary embodiment.

[0048] Figure 5 This is a schematic diagram of a control device according to an exemplary embodiment.

[0049] Figure 6 This is a schematic diagram illustrating yet another electronic device according to an exemplary embodiment.

[0050] Figure 7 This is a block diagram illustrating a control device according to an exemplary embodiment. Detailed Implementation

[0051] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0052] Figure 1 A schematic diagram of an electronic device 100 provided according to an embodiment of the present disclosure is shown. (Refer to...) Figure 1 As shown, the electronic device 100 includes: a processing component 110, an encoding / decoding component 120, and a first number of audio acquisition components 130;

[0053] Processing component 110 is connected to encoding / decoding component 120;

[0054] The encoder-decoder component 120 includes: an input pin 121;

[0055] Each audio acquisition component 130 includes: a data pin 131 connected to the input pin 121;

[0056] The processing component 110 is configured to send a first control signal to the encoding / decoding component 120 when the remaining power of the electronic device 100 in a sleep state is less than a low power threshold; and to send a second control signal to the encoding / decoding component 120 when the remaining power is greater than or equal to the low power threshold.

[0057] The encoding and decoding component 120 is used to receive, according to the first control signal, a second number of audio acquisition components 130 less than the first number of audio acquisition components 130 sent through the data pin 131 via the input pin 121, encode the first audio signal to obtain a first wake-up signal for waking up the electronic device 100, and send the first wake-up signal to the processing component 110.

[0058] The encoding / decoding component 120 is also configured to receive, via input pin 121, a third number of audio acquisition components 130 (greater than the second number) of second audio signals transmitted via data pin 131, according to the second control signal, encode the second audio signals to obtain a second wake-up signal for waking up the electronic device 100, and send the second wake-up signal to the processing component 110.

[0059] Electronic device 100 may include mobile terminals and fixed terminals. For example, electronic device 100 may include mobile phones, tablets, PDAs, laptops, desktop computers, wearable mobile devices, smart speakers, etc.

[0060] Processing component 110 may include: Application Processor (AP).

[0061] The encoding / decoding component 120 may include a device with encoding and decoding functions, such as an encoding-decoding unit (CODEC).

[0062] The audio acquisition component 130 may include a device with audio acquisition capabilities, such as a microphone.

[0063] It is understood that the first quantity is an integer greater than 1, the second quantity is a positive integer, the third quantity is a positive integer, and the third quantity is less than or equal to the first quantity.

[0064] The electronic device 100 being in a sleep state can include a state where the electronic device stops outputting voice and image signals. In practical applications, taking a mobile phone as an example, when the mobile phone stops displaying images and stops playing sound, it can be considered to be in a sleep state. At this time, the power consumption of the mobile phone is usually less than the power consumption threshold.

[0065] The remaining power may include the power of the power supply components in the electronic device. For example, when the electronic device is a mobile phone and the power supply component is a battery, the remaining power can be considered as the battery power of the mobile phone.

[0066] The low battery threshold may include a certain percentage of the total battery capacity (e.g., 20%), or a predetermined battery capacity value (e.g., 200 mAh). When the remaining battery capacity of an electronic device is less than the low battery threshold, it can be considered that the remaining battery capacity stored in the electronic device is low. At this time, the usable time of the electronic device is often of greater concern.

[0067] The first control signal can be used to enable the input pin 121 of the encoder / decoder assembly 120 that is connected to the second number of audio acquisition components.

[0068] The input pin 121, when enabled, can receive audio signals transmitted via data pins from a second number of connected audio acquisition components. Thus, compared to the encoding / decoding component receiving audio signals from a first number of audio acquisition components and selecting the first audio signals acquired by the second number of audio acquisition components for encoding processing, this embodiment reduces the number of audio signals that the encoding / decoding component 120 needs to receive when the remaining battery power of the electronic device is below a low battery threshold. This reduces the power consumption of the encoding / decoding component and helps to increase the availability of the electronic device.

[0069] The first control signal can also be used to control the activation of a second number of audio acquisition components. The activated second number of audio acquisition components are used to acquire audio signals.

[0070] In this way, compared to always using the first number of audio acquisition components to collect voice signals, the present disclosure embodiment can control the use of a second number of audio acquisition components to collect audio signals when the remaining power of the electronic device is less than the low power threshold, thereby reducing the number of audio acquisition components used for voice wake-up, reducing the power consumption of the electronic device when performing voice wake-up, and helping to improve the availability of the electronic device.

[0071] The first audio signal can be transmitted from the data pin of the second number of audio acquisition components to the input pin of the encoding / decoding component in the form of a differential signal.

[0072] Understandably, when the audio acquisition component sends an audio signal to the encoding / decoding component in the form of a differential signal, the two data pins of the audio acquisition component are connected to the two input pins of the encoding / decoding component. Two transmission lines, such as [example lines would be inserted here], connect the audio acquisition component and the encoding / decoding component to transmit the audio signal. Figure 2As shown in the diagram, the first data pin of the audio acquisition component is used to transmit the first differential numerator signal of the audio signal, and the second data pin is used to transmit the second differential numerator signal of the audio signal. The first and second differential numerator signals have the same amplitude but opposite phase. This improves the anti-interference capability of the audio signal sent by the audio acquisition component to the encoding / decoding component, thereby increasing the signal-to-noise ratio.

[0073] Since the power consumption of receiving and processing the audio signals sent by the first number of audio acquisition components 130 to obtain the wake-up signal for waking up the electronic device 100 is high, if the remaining power of the electronic device 100 is less than the low power threshold, and the audio signals sent by the first number of audio acquisition components 130 are still processed to obtain the wake-up signal, the electronic device 100 may be shut down due to power depletion in a short period of time.

[0074] Therefore, in this embodiment of the present disclosure, when the remaining power of the electronic device 100 is less than the low power threshold, it receives the first audio signal sent by the second number of audio acquisition components 130, and encodes the first audio signal to obtain a first wake-up signal to wake up the electronic device 100. The first number is less than the second number. When the remaining power of the electronic device 100 is less than the low power threshold, while ensuring that the voice wake-up function of the electronic device 100 works normally, compared with still using the first or third number of audio acquisition components 130 to wake up when the remaining power of the electronic device is less than the low power threshold, the power consumed for wake-up is reduced, and the usable time of the electronic device when the remaining power is less than the low power threshold is extended.

[0075] The second control signal can be used to enable the input pin 121 of the encoder / decoder assembly 120 that is connected to the third number of audio acquisition components.

[0076] The second control signal can also be used to control the activation of a third number of audio acquisition components. The third number of audio acquisition components, when activated, are used to acquire audio signals.

[0077] When the remaining battery power of an electronic device is greater than or equal to a low battery threshold, it can be considered that the device's battery has a significant amount of remaining power. At this point, the effectiveness of the device's voice wake-up function is often of greater concern. Therefore, when the remaining battery power of an electronic device is greater than or equal to the low battery threshold, an audio acquisition array consisting of a third set of audio acquisition components can be used for wake-up.

[0078] When electronic devices are in a noisy environment, the presence of a lot of noise can negatively impact the effectiveness of voice wake-up, thus reducing the user experience.

[0079] This embodiment of the present disclosure receives a second audio signal sent by the third number of audio acquisition components 130 when the remaining battery power is greater than or equal to a low battery threshold, encodes the second audio signal to obtain a second wake-up signal for waking up the electronic device 100, and sends the second wake-up signal to the processing component 110. Compared with using the second number of audio acquisition components for voice wake-up when the remaining battery power is greater than or equal to a low battery threshold, this embodiment of the present disclosure is beneficial to improving the noise reduction effect of the acquired audio signal, enhancing the electronic device's ability to recognize signals emitted by users in the environment to wake up the electronic device, and thus improving the sensitivity of the wake-up function.

[0080] In some embodiments, the processing component 110 is further configured to send the second control signal to the encoding / decoding component 120 when the remaining power is less than the low power threshold and the remaining power shows an increasing trend.

[0081] The processing component 110 is specifically configured to send the first control signal to the encoding / decoding component 120 when the remaining power is less than the low power threshold and the remaining power is decreasing.

[0082] For example, the situation where the remaining battery power shows an increasing trend may include when the electronic device 100 is in a charging state. For instance, when the electronic device 100 is connected to a power supply device, the power supply device can input power to the electronic device 100, causing the remaining battery power of the electronic device 100 to show an increasing trend. Here, the power supply device may include an external power source, or other electronic devices such as mobile terminals or fixed terminals capable of outputting power.

[0083] Understandably, when the remaining battery power is below the low battery threshold and the remaining battery power is increasing, the electronic device receives power input; for example, the electronic device may be charging. In this situation, the effectiveness of the electronic device's voice wake-up function becomes more important.

[0084] This embodiment of the present disclosure receives a second audio signal sent by a third number of audio acquisition components when the remaining battery power is less than the low battery threshold and the remaining battery power is increasing. The second audio signal is then encoded to obtain a second wake-up signal for waking up the electronic device 100, and the second wake-up signal is sent to the processing component 110. Compared with using a second number of audio acquisition components for waking up when the remaining battery power of the electronic device is less than the low battery threshold and the remaining battery power is increasing, this disclosure is beneficial to improving the noise reduction effect of the electronic device, enhancing the electronic device's ability to recognize signals emitted by users in the environment to wake up the electronic device, and thus improving the accuracy of the electronic device's wake-up function.

[0085] The situation where the remaining battery power is decreasing may include when the electronic device 100 is not charging. It is understood that in this case, the electronic device is not receiving power input. Therefore, as the functional components included in the electronic device consume power, the remaining battery power of the electronic device decreases.

[0086] Understandably, when the remaining battery power of an electronic device is less than the aforementioned battery power threshold, and the remaining battery power shows a decreasing trend, the electronic device receives no power input, or the power input to the electronic device is less than the power consumption of the electronic device. In this case, the usable time of the electronic device is often of greater concern.

[0087] This embodiment of the disclosure receives a first audio signal sent by a second number of audio acquisition components 130 when the remaining battery power of the electronic device 100 is less than the low battery threshold and the remaining battery power shows a decreasing trend. The first audio signal is then encoded to obtain a first wake-up signal for waking up the electronic device 100. Since the first number is less than the second number, this disclosure reduces the power consumption for wake-up compared to using a first or third number of audio acquisition components when the remaining battery power is less than the low battery threshold and the remaining battery power shows a decreasing trend, while ensuring the normal operation of the voice wake-up function of the electronic device 100. This extends the usable time of the electronic device when the remaining battery power is less than the low battery threshold and the remaining battery power shows a decreasing trend. In some embodiments, the distance between at least two audio acquisition components 130 is greater than or equal to a distance threshold.

[0088] For sounds from the same sound source in an environment, because the various audio acquisition components are located in different positions within the electronic device, the sound quality acquired by each audio acquisition component from the same fixed location will differ. Here, sound quality can include parameters such as intensity and signal-to-noise ratio.

[0089] Taking sound intensity as an example of sound quality, generally speaking, as sound travels through the air, its intensity decreases with increasing distance. That is, the longer the sound travels, the lower its intensity. Therefore, the intensity of the sound captured by an audio acquisition component is positively correlated with the distance between the audio acquisition component and the sound source. In other words, when the distance between the microphone and the sound source is small, the intensity of the sound signal captured by the microphone is large; when the distance between the microphone and the sound source is large, the intensity of the sound signal captured by the microphone is small.

[0090] Therefore, by setting the spacing between at least two audio acquisition components to be greater than a distance threshold, the distance between the two audio acquisition components with a spacing greater than the distance threshold and the same sound source can be changed, thereby changing the sound quality acquired by the two audio acquisition components with a spacing greater than or equal to the distance threshold. This is beneficial to improving the noise reduction effect of electronic devices, thereby improving the electronic devices' ability to recognize the voices emitted by users in the environment to wake up the electronic devices, and improving the effect of voice wake-up.

[0091] For example, the spacing between two audio acquisition components may include a linear spacing. For instance, when the audio acquisition component is a microphone, the spacing may include the linear spacing between the diaphragms of the two microphones.

[0092] The distance threshold can be set according to user needs. For example, the distance threshold may include the width of the electronic device's casing or the length of the electronic device's casing.

[0093] For example, let's take an electronic device 100 as a mobile phone, an audio acquisition component 130 as a microphone, a first quantity of 3, and a distance threshold of the length of the electronic device's casing as an example.

[0094] Figure 3 This is a schematic diagram illustrating an electronic device 100 according to an exemplary embodiment. (Refer to...) Figure 3 As shown, the electronic device 100 includes: a processing component 110 (not shown), an encoding / decoding component 120 (not shown), an earpiece 140, a display area 150, and three microphones; wherein, the first microphone 130a, together with the sound inlet of the earpiece 140 and the display area 150, is disposed on the first surface of the phone casing; the second microphone 130b and the third microphone 130c are both disposed on the second surface of the phone casing, the second surface being perpendicular to the first surface; the length (L) of the phone casing is greater than the width (W) of the phone casing.

[0095] At this time, the distance between the second microphone 130b and the first microphone 130a is greater than the distance threshold, and the distance between the second microphone 130b and the third microphone 130c is less than the distance threshold.

[0096] Specifically, in practical applications, when a user holds their phone to activate it via voice, they typically position the side of the phone with the microphone facing them. (See reference...) Figure 3 When the user faces the second surface of the phone case towards themselves, the distance between the first microphone 130a and the user is the first distance, the distance between the second microphone 130b and the user is the second distance, and the distance between the third microphone 130c and the user is the third distance.

[0097] Understandably, when the user speaks, because the first spacing is greater than the second spacing and the third spacing, the signal-to-noise ratio (SNR) of the audio signal collected by the first microphone 130a is lower than that of the audio signal collected by the second microphone 130b, and the SNR of the audio signal collected by the first microphone 130a is lower than that of the audio signal collected by the third microphone 130c.

[0098] Furthermore, since the difference between the second and third spacings is small, the difference between the signal-to-noise ratio (SNR) of the audio signal acquired by the second microphone 130b and the SNR of the audio signal acquired by the third microphone 130c is smaller than the difference between the SNR of the audio signal acquired by the second microphone 130b and the SNR of the audio signal acquired by the first microphone 130a.

[0099] Therefore, compared to denoising the audio signal collected by the second microphone 130b using the audio signal collected by the third microphone 130c, this disclosure uses a first microphone 130a and a second microphone with a spacing greater than a distance threshold for wake-up, and uses the audio signal collected by the first microphone 130a to denoise the audio signal collected by the second microphone 130b, thereby improving the noise reduction effect.

[0100] For example, when the mobile phone is a full-screen phone, that is, when the first surface of the phone casing is the display area, the first microphone 130a can be disposed on the third surface of the phone casing, which is parallel to the second surface and perpendicular to the first surface. In this case, the distance between the first microphone 130a and the second microphone 130b can be greater than or equal to a distance threshold.

[0101] Processing component 110 can be used to detect the battery level of the mobile phone. Here, battery level refers to the remaining power of the mobile phone, and the low power threshold can be 20% of the total power.

[0102] When the battery level is below 20% of the total battery capacity and the phone is not charging, the processing component 110 sends a first control signal to the encoding / decoding component 120 to activate the single-microphone voice wake-up mode. At this time, the second quantity is 1.

[0103] For example, enabling the single-microphone voice wake-up mode may include: the encoding and decoding component 120, according to the first control signal, turning on the second microphone 130b to collect audio signals, receiving the first audio signal sent by the second microphone 130b, then encoding the first audio signal to obtain a first wake-up signal to wake up the mobile phone, and sending the first wake-up signal to the processing component 110.

[0104] When the battery level is below 20% of the total battery capacity and the phone is charging, the processing component 110 sends a second control signal to the encoding / decoding component 120 to activate the multi-microphone voice wake-up mode. At this time, the third quantity can be 2 or 3.

[0105] For example, when the third quantity is 2, enabling the multi-microphone voice wake-up mode may include: the encoding and decoding component 120, according to the second control signal, turning on the second microphone 130b and the third microphone 130c to collect audio signals, receiving the second audio signal sent by the second microphone 130b and the third microphone 130c, then encoding the second audio signal to obtain a second wake-up signal to wake up the mobile phone, and sending the second wake-up signal to the processing component 110.

[0106] For example, when the third quantity is 2, enabling the multi-microphone voice wake-up mode may include: the encoding and decoding component 120, according to the second control signal, turning on the first microphone 130a and the second microphone 130b to collect audio signals, and receiving the second audio signal sent by the first microphone 130a and the second microphone 130b, then encoding the second audio signal to obtain the second wake-up signal to wake up the mobile phone, and sending the second wake-up signal to the processing component 110.

[0107] Since the distance between the first microphone 130a and the second microphone 130b is greater than the distance threshold, and the distance between the second microphone 130b and the third microphone 130c is less than the distance threshold, using the first microphone 130a and the second microphone 130b to collect audio signals can improve the accuracy of noise reduction, enhance the electronic device's ability to recognize voices emitted by users in the environment to wake up the electronic device, and improve the effect of voice wake-up.

[0108] When the battery level exceeds 20% of the total battery capacity, the processing component 110 sends a second control signal to the encoding / decoding component 120 to activate the multi-microphone voice wake-up mode. At this time, the third quantity can be 2 or 3.

[0109] For example, when the third quantity is 2, enabling the multi-microphone voice wake-up mode may include: the encoding and decoding component 120, according to the second control signal, turning on the second microphone 130b and the third microphone 130c to collect audio signals, receiving the second audio signal sent by the second microphone 130b and the third microphone 130c, then encoding the second audio signal to obtain a second wake-up signal to wake up the mobile phone, and sending the second wake-up signal to the processing component 110.

[0110] For example, when the third quantity is 2, enabling the multi-microphone voice wake-up mode may include: the encoding and decoding component 120, according to the second control signal, turning on the first microphone 130a and the second microphone 130b to collect audio signals, and receiving the second audio signal sent by the first microphone 130a and the second microphone 130b, then encoding the second audio signal to obtain the second wake-up signal to wake up the mobile phone, and sending the second wake-up signal to the processing component 110.

[0111] Since the distance between the first microphone 130a and the second microphone 130b is greater than the distance threshold, and the distance between the second microphone 130b and the third microphone 130c is less than the distance threshold, using the first microphone 130a and the second microphone 130b to collect audio signals can improve the accuracy of noise reduction, enhance the electronic device's ability to recognize voices emitted by users in the environment to wake up the electronic device, and improve the effect of voice wake-up.

[0112] For example, when the third quantity is 3, enabling the multi-microphone voice wake-up mode may include: the encoding / decoding component 120, according to the second control signal, activating the first microphone 130a, the second microphone 130b, and the third microphone 130c to acquire audio signals, receiving the second audio signal sent by the first microphone 130a, the second microphone 130b, and the third microphone 130c, then encoding the second audio signal to obtain a second wake-up signal, and sending the second wake-up signal to the processing component 110. This embodiment of the present disclosure improves noise reduction by activating a microphone array composed of multiple microphones for voice wake-up, which is beneficial for improving wake-up sensitivity.

[0113] Figure 4 A flowchart illustrating a control method provided in an embodiment of this disclosure is shown, the method being applied to an electronic device 100 provided in an embodiment of this disclosure. (Refer to...) Figure 4 As shown, the method includes the following steps:

[0114] S110: When the remaining power of an electronic device in a sleep state is less than a low power threshold, receive a first audio signal sent by a second number of audio acquisition components that is less than a first number.

[0115] S120: Encode the first audio signal to obtain a first wake-up signal to wake up the electronic device;

[0116] The method further includes:

[0117] S111: When the remaining power is greater than or equal to the low power threshold, receive a second audio signal sent by a third number of audio acquisition components that is greater than the second number;

[0118] S121: Encode the second audio signal to obtain a second wake-up signal to wake up the electronic device.

[0119] In this embodiment of the present disclosure, when the remaining power of the electronic device 100 is less than a low power threshold, it receives a first audio signal sent by a second number of audio acquisition components, and encodes the first audio signal to obtain a first wake-up signal to wake up the electronic device. The second number is less than the first number. When the remaining power of the electronic device is less than the low power threshold, while ensuring that the voice wake-up function of the electronic device works normally, compared with still using a first number or a third number of audio acquisition components to wake up when the remaining power of the electronic device is less than the low power threshold, the power consumed by wake-up is reduced, and the usable time of the electronic device when the remaining power is less than the low power threshold is extended.

[0120] On the other hand, this embodiment of the present disclosure receives the second audio signal sent by the third number of audio acquisition components when the remaining power is greater than or equal to the low power threshold, and encodes the second audio signal to obtain the second wake-up signal for waking up the electronic device. Compared with using the second number of audio acquisition components for voice wake-up when the remaining power is greater than or equal to the low power threshold, this embodiment of the present disclosure is beneficial to improving the noise reduction effect of the acquired audio signal, enhancing the electronic device's ability to recognize signals emitted by users in the environment to wake up the electronic device, and thus improving the sensitivity of the wake-up function.

[0121] In some embodiments, the method further includes:

[0122] When the remaining battery power is less than the low battery threshold and the remaining battery power shows an increasing trend, the second audio signal sent by the third number of audio acquisition components is received;

[0123] When the remaining battery power of the electronic device in sleep mode is less than a low battery threshold, receiving a first audio signal sent by a second number of audio acquisition components includes:

[0124] When the remaining battery power is less than the low battery threshold and the remaining battery power is decreasing, the first audio signal sent by the second number of audio acquisition components is received.

[0125] This embodiment of the present disclosure receives a second audio signal sent by a third number of audio acquisition components when the remaining power is less than the low power threshold and the remaining power is increasing. The second audio signal is then encoded to obtain a second wake-up signal for waking up the electronic device. This allows the electronic device to perform noise reduction processing based on the second audio signal acquired by the third number of audio acquisition components, thereby improving the accuracy of voice wake-up.

[0126] This embodiment of the disclosure receives a first audio signal sent by a second number of audio acquisition components when the remaining power of the electronic device is less than the low power threshold, and encodes the first audio signal to obtain a first wake-up signal to wake up the electronic device. The first number is less than the second number. This can reduce the power consumption of the voice wake-up function while ensuring that the voice wake-up function of the electronic device works normally, and extend the available time of the electronic device when the remaining power is less than the low power threshold.

[0127] In some embodiments, S110 may include:

[0128] When the remaining power of the electronic device in a dormant state is less than the low power threshold, it receives a first audio signal sent by at least two audio acquisition components with a spacing greater than the distance threshold.

[0129] Therefore, by receiving first audio signals sent by at least two audio acquisition components with a spacing greater than or equal to a distance threshold, the present disclosure embodiments can improve the noise reduction effect, thereby improving the recognition ability of voices emitted by users in the environment to wake up electronic devices and improving the voice wake-up effect.

[0130] In some embodiments, prior to S110, the method may include:

[0131] Detect the remaining battery power of electronic devices that are in sleep mode.

[0132] For example, the electronic device 100 may include a timer. Before detecting the remaining battery power of the electronic device in a sleep state, the method may further include:

[0133] Determine whether the timed data has reached the predetermined data;

[0134] When the timing data reaches the predetermined data, a third control signal is generated to detect the remaining power of the electronic device.

[0135] In practical applications, timers can function as both countdown and forward timers. Specifically, a preset time, such as 30 minutes, can be used to check if the preset time has been reached every 30 minutes. Here, when using a countdown method, the preset time can be 30; when using a forward timer, the preset time can be 0.

[0136] By determining whether the timed data has reached a predetermined value, and detecting the remaining battery power of the electronic device when the timed data reaches the predetermined value, the remaining battery power of electronic devices in sleep mode can be automatically monitored. The frequency of detecting the remaining battery power can be changed by altering the predetermined data. Reducing the predetermined data improves the timeliness of detecting when the remaining battery power of the electronic device is below a low battery threshold. This allows for timely reception of a first audio signal from a second number of audio acquisition components (less than a first number) when the remaining battery power of the electronic device is below the low battery threshold. The first audio signal is then encoded to obtain a first wake-up signal to wake up the electronic device, reducing the power consumption required for voice wake-up and increasing the usable time of the electronic device when the remaining battery power is below the low battery threshold.

[0137] Figure 5 A block diagram of a control device 300 provided in an embodiment of the present disclosure is shown. The control device 300 is used to control the electronic device 100 provided in an embodiment of the present disclosure. (Refer to...) Figure 5 As shown, the control device 300 includes a receiving unit 310 and an encoding unit 320.

[0138] The receiving unit 310 is configured to receive a first audio signal sent by a second number of audio acquisition components that is less than a first number when the remaining power of the electronic device in a sleep state is less than a low power threshold.

[0139] The encoding unit 320 is configured to encode the first audio signal to obtain a first wake-up signal to wake up the electronic device;

[0140] The receiving unit 310 is further configured to receive a second audio signal sent by a third number of the audio acquisition components when the remaining battery power is greater than or equal to the low battery threshold.

[0141] The encoding unit 320 is also configured to encode the second audio signal to obtain a second wake-up signal to wake up the electronic device.

[0142] In some embodiments, the receiving unit 310 is further configured to receive the second audio signal sent by the third number of audio acquisition components when the remaining power is less than the low power threshold and the remaining power is increasing.

[0143] The receiving unit 310 is specifically configured to receive the first audio signal sent by the second number of the audio acquisition components when the remaining power is less than the low power threshold and the remaining power is decreasing.

[0144] In some embodiments, the receiving unit 310 is further configured to receive a first audio signal sent by at least two audio acquisition components with a spacing greater than or equal to a distance threshold when the remaining power of the electronic device in a dormant state is less than a low power threshold.

[0145] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0146] Example 1

[0147] Figure 6 A schematic diagram of an electronic device 100 provided according to an embodiment of this disclosure is shown. For example... Figure 6 As shown, electronic device 100 can be a mobile phone, processing component 110 can be an AP, and encoding / decoding component 120 can be a CODEC. The first quantity is 2, and the first quantity of audio acquisition components can be: one top microphone (TOP MIC) and one main microphone (MAIN MIC). The top microphone and the main microphone can send the acquired audio signals to the CODEC in the form of differential signals. Wherein, MIC_P represents the first differential signal, and MIC_M represents the second differential signal.

[0148] The phone's system detects the battery level. When the battery level is below a low battery threshold (e.g., 10% or 20% of total battery capacity) and the phone is not charging, single-microphone voice wake-up is activated. Alternatively, the main microphone can be used for voice wake-up.

[0149] When the battery level is below the low battery threshold (e.g., less than 10% or 20% of the total battery capacity) and the phone is charging, multi-microphone voice wake-up will be enabled. In this case, both the main microphone and the top microphone can be used for voice wake-up. When the battery level is above the low battery threshold, multi-microphone voice wake-up will also be enabled. In this case, both the main microphone and the top microphone can be used for voice wake-up.

[0150] Figure 7 This is a block diagram illustrating a control device 800 for controlling an electronic device provided in embodiments of the present disclosure, according to an exemplary embodiment. For example, the control device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0151] Reference Figure 7The control device 800 may include one or more of the following components: a processing module 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0152] Processing module 802 is typically used to control the overall operation of the control device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing module 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing module 802 may include one or more modules to facilitate interaction between processing module 802 and other components. For example, processing module 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing module 802.

[0153] Memory 804 is configured to store various types of data to support the operation of control device 800. Examples of this data include instructions for any application or method operating on control device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0154] The power supply component 806 provides power to various components of the control device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the control device 800.

[0155] Multimedia component 808 includes a screen that provides an output interface between control device 800 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When control device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0156] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when control device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0157] I / O interface 812 provides an interface between processing module 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0158] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of controlling the control device 800. For example, sensor assembly 814 may detect the on / off state of the control device 800, the relative positioning of components, such as a display and keypad controlling the control device 800, changes in the position of the control device 800 or a component of the control device 800, the presence or absence of user contact with the control device 800, the orientation or acceleration / deceleration of the control device 800, and temperature changes of the control device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0159] Communication component 816 is configured to facilitate wired or wireless communication between control device 800 and other devices. Control device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0160] In an exemplary embodiment, the control device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0161] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of a control device 800 to perform the control method described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0162] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the steps of the control method provided in the above embodiments of this disclosure.

[0163] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

[0164] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. An electronic device, characterized in that, The electronic device includes: a processing component, an encoding / decoding component, and a first number of audio acquisition components; The processing component is connected to the encoding / decoding component; The encoding / decoding component includes: input pins; Each of the audio acquisition components includes: a data pin connected to the input pin; The processing component is configured to send a first control signal to the encoding / decoding component when the remaining battery power of the electronic device in a sleep state is less than a low battery threshold; and to send a second control signal to the encoding / decoding component when the remaining battery power is greater than or equal to the low battery threshold; further configured to send the second control signal to the encoding / decoding component when the remaining battery power is less than the low battery threshold and the remaining battery power shows an increasing trend; and to send the first control signal to the encoding / decoding component when the remaining battery power is less than the low battery threshold and the remaining battery power shows a decreasing trend. The encoding / decoding component is configured to receive, according to the first control signal, a second number of audio acquisition components (less than the first number) sent through the data pin via the input pin, and encode the first audio signal to obtain a first wake-up signal to wake up the electronic device, and send the first wake-up signal to the processing component. The encoding / decoding component is further configured to receive, according to the second control signal, a third number of second audio signals sent by the audio acquisition component through the data pin (greater than the second number), and encode the second audio signals to obtain a second wake-up signal to wake up the electronic device, and send the second wake-up signal to the processing component.

2. The electronic device according to claim 1, characterized in that, The distance between at least two of the audio acquisition components is greater than or equal to a distance threshold.

3. A control method, characterized in that, The method is applied to the electronic device as described in any one of claims 1 to 2, the method comprising: When the remaining power of the electronic device in a dormant state is less than a low power threshold, it receives a first audio signal sent by a second number of audio acquisition components that is less than a first number. When the remaining battery power is less than the low battery threshold and the remaining battery power is decreasing, the first audio signal sent by the second number of audio acquisition components is received; the first audio signal is encoded to obtain a first wake-up signal to wake up the electronic device; When the remaining battery power is greater than or equal to the low battery threshold, a second audio signal sent by a third number of audio acquisition components greater than the second number is received. When the remaining battery power is less than the low battery threshold and the remaining battery power shows an increasing trend, the second audio signal sent by the third number of audio acquisition components is received; The second audio signal is encoded to obtain a second wake-up signal that wakes up the electronic device.

4. The method according to claim 3, characterized in that, When the remaining battery power of the electronic device in a dormant state is less than a low battery threshold, receiving a first audio signal from a second number of audio acquisition components that is less than a first number includes: When the remaining power of the electronic device in a dormant state is less than the low power threshold, it receives a first audio signal sent by at least two audio acquisition components with a spacing greater than or equal to the distance threshold.

5. A control device, characterized in that, The control device is used to control the electronic device as described in any one of claims 1 to 2, the control device comprising: A receiving unit is configured to receive a first audio signal sent by a second number of audio acquisition components (less than a first number) when the remaining power of the electronic device in a sleep state is less than a low power threshold; and is further configured to receive the first audio signal sent by the second number of audio acquisition components when the remaining power is less than the low power threshold and the remaining power is decreasing; an encoding unit is configured to encode the first audio signal to obtain a first wake-up signal to wake up the electronic device. The receiving unit is further configured to receive a second audio signal sent by a third number of audio acquisition components that is greater than the second number when the remaining power is greater than or equal to the low power threshold; and to receive the second audio signal sent by the third number of audio acquisition components when the remaining power is less than the low power threshold and the remaining power shows an increasing trend. The encoding unit is further configured to encode the second audio signal to obtain a second wake-up signal for waking up the electronic device.

6. The apparatus according to claim 5, characterized in that, The receiving unit is further configured to receive a first audio signal sent by at least two audio acquisition components with a spacing greater than or equal to a distance threshold when the remaining power of the electronic device in a dormant state is less than a low power threshold.

7. A control device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to, when executing the executable instructions, implement the steps of the control method as described in any one of claims 3 to 4.

8. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, implement the steps of the control method as described in any one of claims 3 to 4.