Microphone control method, device, electronic device and readable storage medium
By detecting whether the terminal device screen is lit and applying a target voltage to the microphone, the problem of impurities affecting the normal vibration of the microphone diaphragm is solved, and the effect of reducing noise is achieved.
Patent Information
- Application Number
- CN202210423514.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-21
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-04-21
AI Technical Summary
Inside the terminal device, impurities such as fluxes tend to adhere to the vibrator near the microphone, affecting the normal vibration of the diaphragm and causing noise.
By detecting whether the screen of the electronic device is lit, and applying a target voltage to the microphone when the screen is lit, the diaphragm vibrates in response to the target voltage, thereby changing the sticky state of the impurities.
Effectively reduce the impact of impurities on the normal vibration of the diaphragm and avoid noise.
Smart Images

Figure CN114786080B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic equipment, and specifically relates to a microphone control method, device, electronic equipment and readable storage medium. Background Art
[0002] With the popularization of terminal technology, the application of terminal equipment is becoming more and more extensive. In the production process of terminal equipment, there are process operations such as welding and furnace passing. Therefore, impurities such as flux are inevitably introduced into the inside of the terminal equipment.
[0003] For a terminal device including a microphone, foreign matter may easily adhere to the vicinity of the diaphragm of the microphone after entering the microphone, so that during the use of the microphone, the attachment state of the foreign matter may affect the normal vibration of the diaphragm of the microphone, thereby generating noise. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a control method, device, electronic device and readable storage medium for a microphone, which can solve the problem that impurities affect the normal vibration of the diaphragm of the microphone during use.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling a microphone, the method being applied to an electronic device including a microphone, the method comprising:
[0006] Detect whether the screen of the electronic device is lit;
[0007] When it is detected that the screen of the electronic device is turned on, a target voltage is applied to the microphone.
[0008] In a second aspect, an embodiment of the present application provides a device for controlling a microphone, the device being applied to an electronic device including a microphone; the device comprising:
[0009] A detection module, used to detect whether the screen of the electronic device is lit;
[0010] The control module is used to apply a target voltage to the microphone when it is detected that the screen of the electronic device is turned on.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0014] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0015] In an embodiment of the present application, for an electronic device including a microphone, the electronic device detects whether the screen is lit, and when the screen is detected to be lit, applies a target voltage to the microphone. After the target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Since the stickiness of impurities to the diaphragm can be changed during the process of the diaphragm generating the target vibration amplitude, the influence of impurities on the normal vibration of the diaphragm can be effectively reduced during the subsequent use of the microphone, thereby avoiding the generation of noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flowchart of a microphone control method provided in an embodiment of the present application;
[0017] Figure 2 is a structural schematic diagram of a microphone provided in an embodiment of the present application;
[0018] Figure 3 is a schematic diagram of the structure of another microphone provided in an embodiment of the present application;
[0019] Figure 4 It is a schematic diagram of impurity sticking provided in an embodiment of the present application;
[0020] Figure 5 is a structural schematic diagram of a microphone control circuit provided in an embodiment of the present application;
[0021] Figure 6 is a structural schematic diagram of a microphone control device provided in an embodiment of the present application;
[0022] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0023] Figure 8 It is a schematic diagram of the hardware structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0026] With the popularization of terminal technology, the application of terminal equipment is becoming more and more extensive. In the production process of terminal equipment, there are process operations such as welding and furnace passing. Therefore, impurities such as flux are inevitably introduced into the inside of the terminal equipment.
[0027] For a terminal device including a microphone, foreign matter may easily adhere to the vicinity of the diaphragm of the microphone after entering the microphone, so that during use of the microphone, the sticky state of the foreign matter may affect the normal vibration of the diaphragm of the microphone, thereby generating noise.
[0028] To this end, embodiments of the present application provide a control method, device, electronic device, and readable storage medium for a microphone. Specifically, after applying an operating voltage to the microphone, starting the microphone, and before using the microphone to obtain audio data, by applying a target voltage to the audio receiving unit in the microphone, the vibration amplitude of the diaphragm in the audio receiving unit can reach a target vibration amplitude. In the process of the diaphragm generating the target vibration amplitude, the impurities are adjusted to enter a fractured state. When the state of the impurities is a fractured state, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid generating noise.
[0029] The following describes in detail the microphone control method provided in the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0030] Figure 1 1 is a flow chart of a microphone control method provided in an embodiment of the present application. Figure 1 As shown, the microphone control method may be applied to an electronic device including a microphone, and the method may include steps 110 to 120.
[0031] Step 110, detecting whether the screen of the electronic device is lit.
[0032] Specifically, the electronic device may be a device including a microphone, and the electronic device may be, for example, a mobile phone, a tablet computer, a laptop computer, a PDA, etc. During the operation of the microphone, the microphone may convert a sound signal into an electrical signal. Exemplarily, the types of microphones include, but are not limited to, dynamic, condenser, electret, and silicon micro-microphones. Specifically, after the microphone is started, an electrical signal corresponding to the sound signal may be obtained through the vibration of the diaphragm.
[0033] In some embodiments, during the manufacturing process of electronic devices, impurities such as solder flux are inevitably introduced into the interior of the electronic devices. For electronic devices including microphones, impurities entering the interior of the microphones are likely to stick to the vicinity of the diaphragm of the microphones. For example, solder flux volatilizes at high temperatures and enters the microphones, and is likely to accumulate near the diaphragm, thereby affecting the normal vibration of the diaphragm.
[0034] In order to reduce the impact of impurities on the normal vibration of the diaphragm, it is possible to determine whether the electronic device has the possibility of using the microphone by detecting the display state of the screen. For example, when the screen of the electronic device is in the display state, the user may be using the electronic device, and the application that can call the microphone in the electronic device may also be turned on. Exemplary applications that call the microphone, such as voice assistant applications, telephones, social applications, etc., are not listed here one by one. When the application is running, the microphone can be called and audio data can be obtained through the microphone.
[0035] Step 120: When it is detected that the screen of the electronic device is turned on, a target voltage is applied to the microphone.
[0036] Specifically, when it is detected that the screen of the electronic device is turned on, a target voltage may be immediately applied to the microphone so that the diaphragm in the microphone vibrates in response to the target voltage.
[0037] As a specific example, taking a silicon micro-microphone as an example, the diaphragm and the back plate form the two poles of a parallel plate capacitor. When the diaphragm receives sound waves and vibrates, the distance between the diaphragm and the back plate changes, causing the capacitance of the parallel plate capacitor to change. Then, by collecting voltage fluctuations, the sound signal can be converted into an electrical signal. Based on this, by applying a certain voltage to the diaphragm, the diaphragm can be controlled to vibrate.
[0038] Since the sticking state of impurities on the diaphragm can be changed during the process of the diaphragm generating the target vibration amplitude, that is, in the embodiment of the present application, when it is detected that the screen of the electronic device is turned on, the target voltage is immediately applied to the microphone, so that the diaphragm can vibrate in advance before the microphone is called by the application program, so that in the subsequent use of the microphone, the influence of impurities on the normal vibration of the diaphragm is effectively reduced to avoid noise.
[0039] As a specific example, the microphone includes a diaphragm support column, a substrate and a back plate, the substrate is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of a capacitor; applying a target voltage to the microphone may specifically include: applying a target voltage to the diaphragm and the back plate, so that the diaphragm vibrates in response to the target voltage, and separating the diaphragm support column of the microphone from the base.
[0040] For example, the diaphragm can be the positive electrode of the capacitor, and the back plate can be the negative electrode of the capacitor. By applying the target voltage to the diaphragm and the back plate, the diaphragm can be pulled up by charge attraction, thereby controlling the separation of the diaphragm support column and the base and adjusting the adhesion state of impurities.
[0041] Figure 2 is a schematic diagram of the structure of a microphone provided in an embodiment of the present application. Figure 2 As shown, the microphone includes a diaphragm 201, a back plate 202, and a base 203. The base 203 is connected to the diaphragm 201 through a diaphragm support column, that is, the diaphragm is arranged on the base through the diaphragm support column. The diaphragm 201 and the back plate 202 form a capacitor. Figure 3 FIG. 1 is a schematic diagram of the structure of another microphone provided by an embodiment of the present application. Figure 3 As shown, the base and the diaphragm include a diaphragm support column 301 and a diaphragm support column 302. In a natural static state, the relationship between the diaphragm 201 and the base 203 is as follows: Figure 3 In the vibrating state, if there is no impurity adhering to the position where the diaphragm support column and the base contact each other, the diaphragm 201 moves upward to lift the diaphragm support column. The relationship between the diaphragm 201 and the base 203 is as shown in FIG. Figure 3 (b) as shown.
[0042] For a terminal device including a microphone, after foreign matter enters the interior of the microphone, the foreign matter may adhere to the position where the diaphragm support column and the base contact each other. Figure 4 Schematic diagram of impurity adhesion provided by an embodiment of the present application. Figure 4 (a) shows the sticky state 401 of the impurity. During the operation of the microphone, the diaphragm will vibrate in response to the sound signal. For example, solder flux has impurities with strong viscosity. During the vibration of the diaphragm, the sticky state 402 of the impurity is as follows: Figure 4 As shown in (b), at this time, the impurities are not completely separated. That is, the viscosity of the impurities will inhibit the upward movement of the diaphragm, but during the continuous vibration of the diaphragm, as the diaphragm stretches, the sticky impurities will eventually break off. At this time, the instantaneous inertia will cause the diaphragm to produce a rapid displacement in an extreme time, and the impurities will enter a broken state 403, as shown in FIG. Figure 4 (c) as shown.
[0043] Since the diaphragm and the back plate form a capacitor, combined with the expression formula (1) of the capacitance C of the parallel plate capacitor
[0044]
[0045] Among them, S represents the area of parallel plates, d is the distance between the two plates, k represents the electrostatic force constant, and ε is the relative dielectric constant. Therefore, for the capacitor formed by the diaphragm and the back plate, since the area S of the capacitor formed by the diaphragm and the back plate is fixed, the capacitance value is related to the distance d between the diaphragm and the back plate.
[0046] Therefore, when the instantaneous inertia causes the diaphragm to produce a rapid displacement d in an extreme time, the capacitance value will be instantly reduced. Combined with U=Q / C, where U is the voltage and Q is the charge. When the capacitance value is instantly reduced, the voltage will jump, which will cause noise during the use of the microphone. If the diaphragm returns to its natural static state within a period of time, the sticky impurities will be re-adsorbed, causing noise to still be generated during the next use of the microphone.
[0047] In the embodiment of the present application, when it is detected that the screen of the electronic device is turned on, the target voltage is immediately applied to the microphone, so that the diaphragm can vibrate in advance before the microphone is called by the application program each time, driving the separation of the diaphragm support column and the base. That is, the impurities between the diaphragm support column and the base are separated in advance. Figure 4 (c) shows the broken state 403. Based on this, in the subsequent use of the microphone, since the impurities have entered the broken state 403, the influence of the impurities on the normal vibration of the diaphragm is effectively reduced during the subsequent operation of the microphone, and noise can be avoided.
[0048] Figure 5 is a schematic diagram of the structure of a microphone control circuit provided in an embodiment of the present application. Figure 5As shown, the microphone control circuit may include a micro-electro-mechanical system (MEMS) acoustic part and an application specific integrated circuit (ASIC) part. The microphone may be provided with voltage through VDD1, and then the target voltage may be applied to the audio control unit through a charge pump control circuit.
[0049] Optionally, a separate microphone control chip, such as an audio codec, may be provided in the electronic device. The microphone control chip may be connected to a processor in the electronic device and receive and process a sent microphone call signal. When the microphone control chip receives the call signal, it may control the ASIC part of the microphone control circuit to control the microphone.
[0050] According to the embodiment of the present application, by applying the target voltage through the diaphragm and the back plate, the base and the diaphragm support column can be separated by controlling the vibration of the diaphragm, thereby adjusting the impurities at the connection to enter a broken state. In this way, if an application needs to call the microphone during the screen lighting process, the microphone can be used to obtain audio data, which can avoid the influence of the impurity break on the normal vibration of the diaphragm and avoid noise.
[0051] In some embodiments, before detecting whether the screen of the electronic device is lit, the method includes: detecting whether the voice wake-up function of the electronic device is enabled; detecting whether the screen of the electronic device is lit, specifically including: detecting whether the screen of the electronic device is lit when the voice wake-up function is not enabled.
[0052] Specifically, the voice wake-up function in the electronic device can be used when the screen is in the off state. Therefore, before detecting whether the screen of the electronic device is lit, it is possible to first detect whether the electronic device has the voice wake-up function enabled. When the electronic device does not have the voice wake-up function enabled, the microphone of the electronic device has not applied the target voltage. Next, by detecting whether the screen of the electronic device is lit, it is determined whether the microphone is powered on.
[0053] According to the embodiment of the present application, by combining the working state detection of the screen and the opening state of the voice wake-up function, the intention of the electronic device to call the microphone can be accurately identified. In particular, when the voice wake-up function is turned on or the screen is detected to be lit, the target voltage is applied to the microphone, so that the state of the impurities can be quickly adjusted. In the subsequent use of the microphone, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid noise.
[0054] In some embodiments, when it is detected that the electronic device activates a voice wake-up function, a target voltage is applied to the microphone.
[0055] In the embodiment of the present application, when it is detected that the electronic device starts the voice wake-up function, a target voltage is applied to the microphone to quickly adjust the state of the impurities. In the subsequent use of the microphone, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid noise.
[0056] In some embodiments, after applying the target voltage to the microphone, the method further includes: when it is detected that the screen of the electronic device is turned off and the microphone is not called by the target application, stopping applying the target voltage to the microphone.
[0057] Specifically, after applying the operating voltage to the microphone, the electronic device may continue to detect the display state of the screen. When the display state of the screen of the electronic device is the screen off, the user may stop using the electronic device. When it is detected that the display state of the screen is the screen off and the target application is not running, the operating voltage can be stopped from being applied to the microphone, that is, the microphone is turned off. Exemplarily, the target application is an application in the electronic device that can call the microphone, such as a voice assistant application, a phone, a social application, etc., which are not listed here one by one.
[0058] According to the application embodiment, by detecting the display status of the screen and the running status of the target application, the microphone is controlled to be turned on or off, thereby effectively reducing the running time of the microphone and reducing the excess power consumption caused by the operation of the microphone.
[0059] The microphone control method provided in the embodiment of the present application can be executed by a microphone control device. In the embodiment of the present application, the microphone control method performed by the microphone control device is taken as an example to illustrate the microphone control device provided in the embodiment of the present application.
[0060] like Figure 6 As shown, an embodiment of the present invention provides a control device 600 for a microphone, and the control device 600 for a microphone is applied to an electronic device including a microphone. The control device 600 for a microphone includes: a detection module 610 and a control module 620 .
[0061] A detection module 610 is used to detect whether the screen of the electronic device is lit;
[0062] The control module 620 is used to apply a target voltage to the microphone when it is detected that the screen of the electronic device is turned on.
[0063] In an embodiment of the present application, for an electronic device including a microphone, the electronic device detects whether the screen is lit, and when the screen is detected to be lit, applies a target voltage to the microphone. After the target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Since the stickiness of impurities to the diaphragm can be changed during the process of the diaphragm generating the target vibration amplitude, the influence of impurities on the normal vibration of the diaphragm can be effectively reduced during the subsequent use of the microphone, thereby avoiding the generation of noise.
[0064] In some embodiments, the detection module 610 is further used to detect whether the electronic device has enabled the voice wake-up function;
[0065] The detection module 610 is also used to detect whether the screen of the electronic device is lit when the voice wake-up function of the electronic device is not enabled.
[0066] According to the embodiment of the present application, by combining the working state detection of the screen and the opening state of the voice wake-up function, the intention of the electronic device to call the microphone can be accurately identified. In particular, when the voice wake-up function is turned on or the screen is detected to be lit, the target voltage is applied to the microphone, so that the state of the impurities can be quickly adjusted. In the subsequent use of the microphone, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid noise.
[0067] In some embodiments, the control module 620 is further configured to apply a target voltage to the microphone when it is detected that the electronic device starts a voice wake-up function.
[0068] In the embodiment of the present application, when it is detected that the electronic device starts the voice wake-up function, a target voltage is applied to the microphone to quickly adjust the state of the impurities. In the subsequent use of the microphone, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid noise.
[0069] In some embodiments, the control module 620 is further configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is turned off and the microphone is not called by the target application.
[0070] According to the application embodiment, by detecting the display status of the screen and the running status of the target application, the microphone is controlled to be turned on or off, thereby effectively reducing the running time of the microphone and reducing the excess power consumption caused by the operation of the microphone.
[0071] In some embodiments, the microphone further includes a diaphragm support column, a substrate and a back plate, the substrate is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of a capacitor;
[0072] The control module 620 is also used to apply a target voltage to the diaphragm and the back plate, so that the diaphragm vibrates in response to the target voltage and separates the diaphragm support column of the microphone from the base.
[0073] According to the embodiment of the present application, by applying the target voltage through the diaphragm and the back plate, the base and the diaphragm support column can be separated by controlling the vibration of the diaphragm, thereby adjusting the impurities at the connection to enter a broken state. In this way, if an application needs to call the microphone during the screen lighting process, the microphone can be used to obtain audio data, which can effectively avoid the influence of the impurity break on the normal vibration of the diaphragm and avoid noise.
[0074] The control device of the microphone in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0075] The control device of the microphone in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0076] The microphone control device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0077] Alternatively, if Figure 7As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702, wherein the memory 702 stores programs or instructions that can be executed on the processor 701, and when the program or instructions are executed by the processor 701, the various steps of the above-mentioned microphone control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0078] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0079] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0080] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0081] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0082] In some embodiments, the electronic device includes a microphone, the electronic device further comprising:
[0083] Processor 810, used to detect whether the screen of the electronic device is lit;
[0084] The processor 810 is configured to apply a target voltage to the microphone when it is detected that the screen of the electronic device is turned on.
[0085] In an embodiment of the present application, for an electronic device including a microphone, the electronic device detects whether the screen is lit, and when the screen is detected to be lit, applies a target voltage to the microphone. After the target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Since the stickiness of impurities to the diaphragm can be changed during the process of the diaphragm generating the target vibration amplitude, the influence of impurities on the normal vibration of the diaphragm can be effectively reduced during the subsequent use of the microphone, thereby avoiding the generation of noise.
[0086] In some embodiments, the processor 810 is further configured to detect whether the electronic device has enabled a voice wake-up function;
[0087] The processor 810 is also used to detect whether the screen of the electronic device is lit when the voice wake-up function of the electronic device is not enabled.
[0088] According to the embodiment of the present application, by combining the working state detection of the screen and the opening state of the voice wake-up function, the intention of the electronic device to call the microphone can be accurately identified. In particular, when the voice wake-up function is turned on or the screen is detected to be lit, the target voltage is applied to the microphone, so that the state of the impurities can be quickly adjusted. In the subsequent use of the microphone, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid noise.
[0089] In some embodiments, the processor 810 is further configured to apply a target voltage to the microphone when it is detected that the electronic device starts a voice wake-up function.
[0090] In the embodiment of the present application, when it is detected that the electronic device starts the voice wake-up function, a target voltage is applied to the microphone to quickly adjust the state of the impurities. In the subsequent use of the microphone, the influence of the impurities on the normal vibration of the diaphragm can be effectively reduced to avoid noise.
[0091] In some embodiments, the processor 810 is further configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is turned off and the microphone is not called by the target application.
[0092] According to the application embodiment, by detecting the display status of the screen and the running status of the target application, the microphone is controlled to be turned on or off, thereby effectively reducing the running time of the microphone and reducing the excess power consumption caused by the operation of the microphone.
[0093] In some embodiments, the microphone further includes a diaphragm support column, a substrate and a back plate, the substrate is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of a capacitor;
[0094] The processor 810 is further configured to apply a target voltage to the diaphragm and the back plate, so that the diaphragm vibrates in response to the target voltage and separates the diaphragm support column of the microphone from the base.
[0095] According to the embodiment of the present application, by applying the target voltage through the diaphragm and the back plate, the base and the diaphragm support column can be separated by controlling the vibration of the diaphragm, thereby adjusting the impurities at the connection to enter a broken state. In this way, if an application needs to call the microphone during the screen lighting process, the microphone can be used to obtain audio data, which can effectively avoid the influence of the impurity break on the normal vibration of the diaphragm and avoid noise.
[0096] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0097] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 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), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0098] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0099] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned microphone control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0100] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0101] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned microphone control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0102] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0103] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the microphone control method embodiment as described above, and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0104] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0105] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0106] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for controlling a microphone, characterized in that: The method is applied to an electronic device including a microphone, and the method includes: Detecting whether the voice wake-up function is enabled in the electronic device; When detecting that the electronic device starts a voice wake-up function, applying a target voltage to the microphone; When the voice wake-up function is not enabled on the electronic device, detecting whether the screen of the electronic device is lit; When detecting that the screen of the electronic device is turned on, applying a target voltage to the microphone; The microphone further comprises a diaphragm support column, a substrate and a back plate, wherein the substrate is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of a capacitor; The applying a target voltage to the microphone comprises: The target voltage is applied to the diaphragm and the back plate, so that the diaphragm vibrates in response to the target voltage, and the diaphragm support column of the microphone is separated from the base, so that impurities between the diaphragm support column and the base enter a broken state in advance before the microphone acquires audio data.
2. The method according to claim 1, characterized in that After applying the target voltage to the microphone, the method further includes: When it is detected that the screen of the electronic device is turned off and the microphone is not called by the target application, the target voltage is stopped from being applied to the microphone.
3. A microphone control device, characterized in that: The device is applied to an electronic device including a microphone, and the device includes: A detection module, used to detect whether the electronic device has enabled a voice wake-up function; A control module, configured to apply a target voltage to the microphone when detecting that the electronic device starts a voice wake-up function; The detection module is also used to detect whether the screen of the electronic device is lit when the voice wake-up function is not enabled on the electronic device; The control module is also used to apply a target voltage to the microphone when it is detected that the screen of the electronic device is lit; The microphone further comprises a diaphragm support column, a substrate and a back plate, wherein the substrate is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of a capacitor; The control module is specifically used to apply the target voltage to the diaphragm and the back plate, so that the diaphragm vibrates in response to the target voltage, and separates the diaphragm support column of the microphone from the base, so that impurities between the diaphragm support column and the base enter a broken state in advance before the microphone acquires audio data.
4. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the microphone control method as described in any one of claims 1-2 are implemented.
5. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the microphone control method according to any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Microphone assembly, audio signal adjusting method thereof and electronic equipment
CN113099331A
Voice wake-up method and device, electronic equipment and storage medium
CN113808584A