WO2023202521A1 - Microphone control method and apparatus, electronic device, and readable storage medium - Google Patents

Microphone control method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2023202521A1
WO2023202521A1 PCT/CN2023/088643 CN2023088643W WO2023202521A1 WO 2023202521 A1 WO2023202521 A1 WO 2023202521A1 CN 2023088643 W CN2023088643 W CN 2023088643W WO 2023202521 A1 WO2023202521 A1 WO 2023202521A1
Authority
WO
WIPO (PCT)
Prior art keywords
microphone
electronic device
diaphragm
screen
target voltage
Prior art date
Application number
PCT/CN2023/088643
Other languages
French (fr)
Chinese (zh)
Inventor
杨茜
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023202521A1 publication Critical patent/WO2023202521A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/08Mouthpieces; Microphones; Attachments therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B08CLEANING
    • B08BCLEANING IN GENERAL; PREVENTION OF FOULING IN GENERAL
    • B08B7/00Cleaning by methods not provided for in a single other subclass or a single group in this subclass
    • B08B7/02Cleaning by methods not provided for in a single other subclass or a single group in this subclass by distortion, beating, or vibration of the surface to be cleaned
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • This application belongs to the field of electronic equipment, and specifically relates to a microphone control method, device, electronic equipment and readable storage medium.
  • impurities entering the interior of the microphone tend to adhere near the diaphragm of the microphone. Therefore, during the use of the microphone, the adhesion state of impurities will affect the normal vibration of the diaphragm of the microphone, thereby generating noise.
  • the purpose of the embodiments of the present application is to provide a microphone control method, device, electronic equipment and readable storage medium, which can solve the problem of impurities affecting the normal vibration of the diaphragm of the microphone during use of the microphone.
  • embodiments of the present application provide a method for controlling a microphone, which method is applied to an electronic device including a microphone.
  • the method includes:
  • a target voltage is applied to the microphone.
  • embodiments of the present application provide a device for controlling a microphone, which device is applied to an electronic device including a microphone; the device includes:
  • a detection module used to detect whether the screen of the electronic device is lit
  • a control module configured to apply a target voltage to the microphone when detecting that the screen of the electronic device is lit.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor, the implementation is as in the first aspect. steps of the method.
  • embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method in the first aspect are implemented.
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the method of the first aspect.
  • embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method of the first aspect.
  • embodiments of the present application provide an electronic device configured to implement the method in the first aspect.
  • the electronic device detects whether the screen is lit, and when detecting that the screen is lit, applies a target voltage to the microphone. After a target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of the impurities to the diaphragm can be changed. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • Figure 1 is a schematic flow chart of a microphone control method provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of a microphone provided by an embodiment of the present application.
  • Figure 3 is a schematic structural diagram of another microphone provided by an embodiment of the present application.
  • Figure 4 is a schematic diagram of impurity sticking provided by an embodiment of the present application.
  • Figure 5 is a schematic structural diagram of a microphone control circuit provided by an embodiment of the present application.
  • Figure 6 is a schematic structural diagram of a microphone control device provided by an embodiment of the present application.
  • Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the hardware structure of another electronic device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • embodiments of the present application provide a microphone control method, device, electronic device, and readable storage medium. Specifically, after applying the operating voltage to the microphone, starting the microphone, and before using the microphone to obtain audio data, the target voltage is applied to the audio receiving unit in the microphone. Pressure can make the vibration amplitude of the diaphragm in the audio receiving unit reach the target vibration amplitude. In the process of the diaphragm generating the target vibration amplitude, the impurities can be adjusted to enter the fracture state. When the impurities are in a fractured state, the impact of the impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • FIG. 1 is a schematic flowchart of a microphone control method provided by an embodiment of the present application. As shown in FIG. 1 , a microphone control method may be applied to an electronic device including a microphone, and the method may include steps 110 to 120 .
  • Step 110 Detect whether the screen of the electronic device is lit.
  • the electronic device may be a device including a microphone
  • the electronic device may be, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, and other devices.
  • the microphone can convert the sound signal into an electrical signal. Examples of microphone types include, but are not limited to, dynamic, condenser, electret, and silicon micromicrophones.
  • the electrical signal corresponding to the sound signal can be obtained through the vibration of the diaphragm.
  • impurities such as flux are inevitably introduced into the interior of the electronic device.
  • impurities entering the microphone tend to stick near the diaphragm of the microphone.
  • flux volatilizes into the microphone at high temperatures and easily accumulates near the diaphragm, thus affecting the normal vibration of the diaphragm.
  • the electronic device In order to reduce the impact of impurities on the normal vibration of the diaphragm, you can determine whether the electronic device has the possibility of using a microphone by detecting the display status 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 an application in the electronic device that can call the microphone may also be opened. Examples of applications that call the microphone, such as voice assistant applications, phone calls, social networking applications, etc., are not listed here. When the application is running, the microphone can be called and audio data obtained through the microphone.
  • Step 120 Apply a target voltage to the microphone when it is detected that the screen of the electronic device is lit.
  • a target voltage can be immediately applied to the microphone to cause the diaphragm in the microphone to vibrate in response to the target voltage.
  • the diaphragm and the back plate form the two poles of the parallel plate capacitor.
  • the diaphragm receives the sound wave vibration, the distance between the diaphragm and the back plate changes, resulting in parallel
  • the capacitance of the plate capacitor changes, and the acoustic signal can be converted into an electrical signal by collecting voltage fluctuations. Based on this, by applying a certain voltage to the diaphragm, the diaphragm can be controlled to vibrate.
  • the stickiness state of impurities to the diaphragm can be changed.
  • the target voltage is immediately applied to the microphone, which enables the diaphragm to vibrate in advance before the microphone is called by the application, thereby allowing the microphone to be used later.
  • the impact of impurities on the normal vibration of the diaphragm is effectively reduced and noise is avoided.
  • the microphone includes a diaphragm support column, a base and a back plate.
  • the base is connected to the diaphragm through the diaphragm support column.
  • the back plate and the diaphragm form the two poles of the capacitor; applying a target voltage to the microphone, specifically It includes: applying a target voltage to the diaphragm and the back plate, causing the diaphragm to vibrate in response to the target voltage, and separating the diaphragm support column of the microphone from the base.
  • the diaphragm can be the positive electrode of the capacitor, and the back plate can be the negative electrode of the capacitor.
  • the diaphragm can be pulled up through charge attraction, thereby controlling the diaphragm support column.
  • the separation from the base enables adjustment of the adhesion state of impurities.
  • FIG. 2 is a schematic structural diagram of a microphone provided by an embodiment of the present application.
  • the microphone includes a diaphragm 201 , a back plate 202 , and a base 203 .
  • the base 203 is connected to the diaphragm 201 through the diaphragm supporting pillars, that is, the diaphragm is arranged on the base through the diaphragm supporting pillars.
  • the diaphragm 201 and the back plate 202 form a capacitor.
  • Figure 3 is a schematic structural diagram of another microphone provided by an embodiment of the present application. As shown in FIG.
  • a diaphragm supporting column 301 and a diaphragm supporting column 302 are included between the base and the diaphragm.
  • the relationship between the diaphragm support pillars between the diaphragm 201 and the base 203 is as shown in Figure 3(a).
  • the diaphragm 201 moves upward to lift the diaphragm support column, and the diaphragm support column is between the diaphragm 201 and the base 203
  • the relationship is shown in Figure 3(b).
  • FIG 4 is an example provided by the embodiment of the present application. Schematic diagram of impurities sticking. As shown in Figure 4(a), the sticky state of impurities 401. During the operation of the microphone, the diaphragm vibrates in response to sound signals. For example, the flux has strong viscosity impurities. During the vibration process of the diaphragm, the impurities are in a sticky state 402, as shown in Figure 4(b). At this time, the impurities are not completely separated.
  • S represents the area of the parallel plates
  • d is the distance between the two plates
  • k represents the electrostatic force constant
  • 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.
  • U the voltage
  • Q the charge
  • the target voltage is immediately applied to the microphone, so that the diaphragm can vibrate in advance and drive the diaphragm support before each microphone is called by the application program. Separation of column from base. That is, the impurities between the diaphragm support pillar and the base are advanced to the fracture state 403 as shown in Figure 4(c). Based on this, during the subsequent use of the microphone, since the impurities have entered the fracture state 403, during the subsequent operation of the microphone, the impact of the impurities on the normal vibration of the diaphragm is effectively reduced, and the generation of noise can be avoided.
  • FIG. 5 is a schematic structural diagram of a microphone control circuit provided by an embodiment of the present application.
  • the microphone control circuit may include a micro-electro-mechanical system (MEMS) acoustic part and an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) part.
  • MEMS micro-electro-mechanical system
  • ASIC Application Specific Integrated Circuit
  • the voltage can be provided to the microphone through VDD1, and next, through the charge pump (charge pump)
  • the control circuit may apply a target voltage to the audio control unit.
  • the electronic device may be provided with a separate microphone control chip, for example, an audio codec (codec).
  • codec an audio codec
  • the microphone control chip can be connected to the processing in the electronic device and receive and process the transmitted microphone call signal. When the microphone control chip receives the calling signal, it can control the ASIC part of the microphone control circuit to control the microphone.
  • the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state.
  • the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state.
  • the method before detecting whether the screen of the electronic device is lit, includes: detecting whether the electronic device enables the voice wake-up function; detecting whether the screen of the electronic device is lit, specifically including: when the electronic device does not enable the voice wake-up function. , detect whether the screen of the electronic device is lit.
  • the voice wake-up function in the electronic device can be used when the screen is in a screen-off state. Therefore, before detecting whether the screen of the electronic device is lit, it may be first detected whether the electronic device has enabled the voice wake-up function. When the electronic device does not enable the voice wake-up function, the target voltage has not been applied to the microphone of the electronic device. Next, determine whether the microphone is powered on by detecting whether the screen of the electronic device is lit.
  • the intention of the electronic device to call the microphone can be accurately identified.
  • a target voltage is applied to the microphone, so that the state of impurities can be quickly adjusted.
  • the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • the target voltage is applied to the microphone when it is detected that the electronic device initiates the voice wake-up function.
  • a target voltage is applied to the microphone to quickly adjust the state of the impurities.
  • the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • the method further includes: stopping 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.
  • the electronic device can continue to detect the display state of the screen.
  • the display state of the screen of the electronic device is screen off
  • the user may stop using the electronic device.
  • the application of operating voltage to the microphone may be stopped, that is, the microphone may be turned off.
  • the target application is an application in an electronic device that can call a microphone, such as a voice assistant application, a phone, a social networking application, etc., which are not listed here.
  • the microphone is controlled to be turned on or off, thereby effectively reducing the running time of the microphone and reducing excess power consumption caused by the running of the microphone.
  • the execution subject may be a microphone control device.
  • a method in which the microphone control device performs the control of the microphone is taken as an example to illustrate the device for controlling the microphone provided by the embodiment of the present application.
  • an embodiment of the present application provides a microphone control device 600 , and the microphone control device 600 is applied to electronic equipment including a microphone.
  • the microphone control device 600 includes: a detection module 610 and a control module 620 .
  • the detection module 610 is used to detect whether the screen of the electronic device is lit
  • the control module 620 is configured to apply a target voltage to the microphone when it is detected that the screen of the electronic device is lit.
  • the electronic device detects whether the screen is lit, and when detecting that the screen is lit, applies a target voltage to the microphone. After a target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of the impurities to the diaphragm can be changed. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • the detection module 610 is also used to detect whether the electronic device enables the voice wake-up function
  • the detection module 610 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 intention of the electronic device to call the microphone can be accurately identified.
  • a target voltage is applied to the microphone, so that the state of impurities can be quickly adjusted.
  • the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • control module 620 is also configured to apply a target voltage to the microphone when it is detected that the electronic device activates the voice wake-up function.
  • a target voltage is applied to the microphone to quickly adjust the state of the impurities.
  • the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • control module 620 is also configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is closed and the microphone is not called by the target application.
  • the microphone is controlled to be turned on or off, thereby effectively reducing the running time of the microphone and reducing excess power consumption caused by the running of the microphone.
  • the microphone further includes a diaphragm support column, a base and a back plate, the base is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of the capacitor;
  • 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.
  • the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state.
  • an application needs to call the microphone during the process of turning on the screen, and obtain audio data through the microphone, it can effectively avoid the impact of impurity breakage on the normal vibration of the diaphragm, and avoid the generation of noise.
  • the microphone control device in the embodiment of the present application may be an electronic device, or may be a component of the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR).
  • the microphone control device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the microphone control device provided by the embodiment of the present application can implement various processes implemented by the method embodiments of Figures 1 to 5. To avoid duplication, they will not be described again here.
  • this embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702.
  • the memory 702 stores programs or instructions that can be run on the processor 701, and the program or When the instructions are executed by the processor 701, each step of the above-mentioned microphone control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, etc. part.
  • the electronic device 800 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 810 through a power management system.
  • the power management system is used to manage functions such as charging, discharging, and power consumption management.
  • the structure of the electronic device shown in Figure 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
  • the electronic device includes a microphone, the electronic device further includes:
  • Processor 810 used to detect whether the screen of the electronic device is lit
  • the processor 810 is configured to apply a target voltage to the microphone when detecting that the screen of the electronic device is lit.
  • the electronic device detects whether the screen is lit, and when detecting that the screen is lit, applies a target voltage to the microphone. After a target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of the impurities to the diaphragm can be changed. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • the processor 810 is also used to detect whether the electronic device enables the voice wake-up function
  • the processor 810 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 intention of the electronic device to call the microphone can be accurately identified.
  • a target voltage is applied to the microphone, so that the state of impurities can be quickly adjusted.
  • the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • the processor 810 is also configured to apply a target voltage to the microphone when it is detected that the electronic device activates the voice wake-up function.
  • a target voltage is applied to the microphone to quickly adjust the state of the impurities.
  • the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
  • the processor 810 is also configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is closed and the microphone is not called by the target application.
  • the microphone is controlled to be turned on or off, thereby effectively reducing the running time of the microphone and reducing excess power consumption caused by the running of the microphone.
  • the microphone further includes a diaphragm support column, a base and a back plate, the base is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of the capacitor;
  • the processor 810 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.
  • the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state.
  • an application needs to call the microphone during the process of turning on the screen, and obtain audio data through the microphone, it can effectively avoid the impact of impurity breakage on the normal vibration of the diaphragm, and avoid the generation of noise.
  • the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072 .
  • Touch panel 8071 also known as 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 physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 809 can be used to store software programs as well as 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, Image playback function, etc.) etc.
  • memory 809 may include volatile memory or non-volatile memory, or memory 809 may include both volatile and non-volatile memory.
  • non-volatile storage can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable only memory.
  • Read memory Electrically EPROM, EEPROM or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus
  • the processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 810.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above-mentioned microphone control method embodiment is implemented, and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.
  • Readable storage media may include computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks and other non-transitory computer-readable storage media.
  • An embodiment of the present application also provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement each process of the above-mentioned microphone control method embodiment, and can achieve the same The technical effects will not be repeated here to avoid repetition.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program product, which is stored in a storage medium , the program product is executed by at least one processor to implement each process of the above-mentioned microphone control method embodiment, and can achieve the same technical effect. To avoid duplication, the details are not repeated here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

Abstract

The present application discloses a microphone control method and apparatus, an electronic device, and a readable storage medium. The microphone control method is applied to the electronic device comprising a microphone, and the microphone control method comprises: detecting whether a screen of the electronic device is lit up; and when it is detected that the screen of the electronic device is lit up, applying a target voltage to the microphone.

Description

麦克风的控制方法、装置、电子设备和可读存储介质Microphone control method, device, electronic device and readable storage medium
相关申请的交叉引用Cross-references to related applications
本申请主张2022年4月21日在中国提交的中国专利申请202210423514.2的优先权,其全部内容通过引用包含于此。This application claims priority from Chinese Patent Application 202210423514.2 filed in China on April 21, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于电子设备领域,具体涉及一种麦克风的控制方法、装置、电子设备和可读存储介质。This application belongs to the field of electronic equipment, and specifically relates to a microphone control method, device, electronic equipment and readable storage medium.
背景技术Background technique
随着终端技术的普及,终端设备的应用越来越广泛。在终端设备的生产过程中,存在焊接、过炉等工艺操作。因此,在终端设备的内部,不可避免的引入杂质,例如助焊剂等杂质。With the popularization of terminal technology, the applications of terminal equipment are becoming more and more widespread. 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 inside the terminal equipment.
对于包括麦克风的终端设备,杂质进入麦克风内部后容易附着在麦克风的振膜附近。因此,在使用麦克风的过程中,杂质的附着状态会影响麦克风的振膜的正常振动,从而产生噪音。For terminal equipment including microphones, impurities entering the interior of the microphone tend to adhere near the diaphragm of the microphone. Therefore, during the use of the microphone, the adhesion state of impurities will affect the normal vibration of the diaphragm of the microphone, thereby generating noise.
发明内容Contents of the invention
本申请实施例的目的是提供一种麦克风的控制方法、装置、电子设备和可读存储介质,能够解决麦克风在使用过程中杂质影响麦克风的振膜的正常振动的问题。The purpose of the embodiments of the present application is to provide a microphone control method, device, electronic equipment and readable storage medium, which can solve the problem of impurities affecting the normal vibration of the diaphragm of the microphone during use of the microphone.
第一方面,本申请实施例提供了一种麦克风的控制方法,该方法应用于包括麦克风的电子设备,该方法包括:In a first aspect, embodiments of the present application provide a method for controlling a microphone, which method is applied to an electronic device including a microphone. The method includes:
检测电子设备的屏幕是否点亮;Detect whether the screen of the electronic device is lit;
在检测到电子设备的屏幕被点亮时,向麦克风施加目标电压。 Upon detecting that the electronic device's screen is illuminated, a target voltage is applied to the microphone.
第二方面,本申请实施例提供了一种麦克风的控制的装置,该装置应用于包括麦克风的电子设备;该装置包括:In a second aspect, embodiments of the present application provide a device for controlling a microphone, which device is applied to an electronic device including a microphone; the device includes:
检测模块,用于检测电子设备的屏幕是否点亮;A detection module used to detect whether the screen of the electronic device is lit;
控制模块,用于在检测到电子设备的屏幕被点亮时,向麦克风施加目标电压。A control module configured to apply a target voltage to the microphone when detecting that the screen of the electronic device is lit.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,存储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the implementation is as in the first aspect. steps of the method.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method of the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method of the first aspect.
第七方面,本申请实施例提供了一种电子设备,被配置用于实现如第一方面的方法。In a seventh aspect, embodiments of the present application provide an electronic device configured to implement the method in the first aspect.
在本申请实施例中,对于包括麦克风的电子设备,电子设备通过检测屏幕是否被点亮,在检测到屏幕被点亮时,向麦克风施加目标电压。向麦克风施加目标电压后,麦克风中振膜的振动可以响应于目标电压进行振动。由于在振膜产生目标振动幅度的过程中,能够改变杂质对于振膜的粘黏状态,在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。In the embodiment of the present application, for an electronic device including a microphone, the electronic device detects whether the screen is lit, and when detecting that the screen is lit, applies a target voltage to the microphone. After a target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of the impurities to the diaphragm can be changed. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
附图说明Description of the drawings
图1是本申请实施例提供的一种麦克风控制方法的流程示意图;Figure 1 is a schematic flow chart of a microphone control method provided by an embodiment of the present application;
图2是本申请实施例提供的一种麦克风的结构示意图;Figure 2 is a schematic structural diagram of a microphone provided by an embodiment of the present application;
图3是本申请实施例提供的另一种麦克风的结构示意图; Figure 3 is a schematic structural diagram of another microphone provided by an embodiment of the present application;
图4是本申请实施例提供的一种杂质粘黏的示意图;Figure 4 is a schematic diagram of impurity sticking provided by an embodiment of the present application;
图5是本申请实施例提供的一种麦克风控制电路的结构示意图;Figure 5 is a schematic structural diagram of a microphone control circuit provided by an embodiment of the present application;
图6是本申请实施例提供的一种麦克风的控制装置的结构示意图;Figure 6 is a schematic structural diagram of a microphone control device provided by an embodiment of the present application;
图7是本申请实施例提供的一种电子设备的结构示意图;Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图8是本申请实施例提供的另一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of the hardware structure of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
随着终端技术的普及,终端设备的应用越来越广泛。在终端设备的生产过程中,存在焊接、过炉等工艺操作。因此,在终端设备的内部,不可避免的引入杂质,例如助焊剂等杂质。With the popularization of terminal technology, the applications of terminal equipment are becoming more and more widespread. 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 inside the terminal equipment.
对于包括麦克风的终端设备,杂质进入麦克风内部后容易附着在麦克风的振膜附近。因此,在使用麦克风的过程中,杂质的粘黏状态会影响麦克风的振膜的正常振动,从而产生噪音。For terminal equipment including microphones, impurities entering the interior of the microphone tend to adhere near the diaphragm of the microphone. Therefore, during the use of the microphone, the sticky state of impurities will affect the normal vibration of the microphone's diaphragm, thereby generating noise.
针对于此,本申请实施例提供了一种麦克风的控制方法、装置、电子设备和可读存储介质。具体地,在对麦克风施加运行电压,启动麦克风后,以及在使用麦克风未获取音频数据之前,通过向麦克风中的音频接收单元施加目标电 压,可以使音频接收单元中振膜的振动幅度达到目标振动幅度。在振膜产生目标振动幅度的过程中,可以调整杂质进入断裂状态。在杂质的状态为断裂状态的情况下,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。To this end, embodiments of the present application provide a microphone control method, device, electronic device, and readable storage medium. Specifically, after applying the operating voltage to the microphone, starting the microphone, and before using the microphone to obtain audio data, the target voltage is applied to the audio receiving unit in the microphone. Pressure can make the vibration amplitude of the diaphragm in the audio receiving unit reach the target vibration amplitude. In the process of the diaphragm generating the target vibration amplitude, the impurities can be adjusted to enter the fracture state. When the impurities are in a fractured state, the impact of the impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的麦克风的控制方法进行详细地说明。The microphone control method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
图1是本申请实施例提供的一种麦克风的控制方法的流程示意图。结合图1所示,麦克风的控制方法可以应用于包括麦克风的电子设备,该方法可以包括步骤110至步骤120。FIG. 1 is a schematic flowchart of a microphone control method provided by an embodiment of the present application. As shown in FIG. 1 , a microphone control method may be applied to an electronic device including a microphone, and the method may include steps 110 to 120 .
步骤110,检测电子设备的屏幕是否点亮。Step 110: Detect whether the screen of the electronic device is lit.
具体地,电子设备可以为包括麦克风的设备,电子设备例如可以是手机、平板电脑、笔记本电脑、掌上电脑等设备。在麦克风运行的过程中,麦克风可以将声音信号转换为电信号的。示例性的,麦克风的种类包括但不限于动圈式、电容式、驻极体和硅微传声器等。具体地,麦克风启动后,通过振膜振动,可以得到声音信号对应的电信号。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 notebook computer, a palmtop computer, and other devices. During the operation of the microphone, the microphone can convert the sound signal into an electrical signal. Examples of microphone types include, but are not limited to, dynamic, condenser, electret, and silicon micromicrophones. Specifically, after the microphone is started, the electrical signal corresponding to the sound signal can be obtained through the vibration of the diaphragm.
在一些实施例中,在电子设备的制造过程中,电子设备的内部,不可避免的引入例如助焊剂等杂质。对于包括麦克风的电子设备,杂质进入麦克风内部后容易粘黏在麦克风的振膜附近。具体例如,助焊剂在高温挥发下进入麦克风,并容易堆积在振膜附近,从而影响振膜正常振动。In some embodiments, during the manufacturing process of the electronic device, impurities such as flux are inevitably introduced into the interior of the electronic device. For electronic equipment including microphones, impurities entering the microphone tend to stick near the diaphragm of the microphone. For example, flux volatilizes into the microphone at high temperatures and easily accumulates near the diaphragm, thus affecting the normal vibration of the diaphragm.
为减少杂质影响振膜正常振动,可以通过检测屏幕的显示状态,可以判断电子设备是否有使用麦克风的可能。例如,当电子设备的屏幕为显示状态时,用户可能正在使用电子设备,电子设备中能够调用麦克风的应用程序也有可能被开启。示例性的,调用麦克风的应用程序,例如语音助手应用程序、电话、社交应用程序等,在此不一一列举。当应用程序运行时,可以调用麦克风,并通过麦克风获取音频数据。In order to reduce the impact of impurities on the normal vibration of the diaphragm, you can determine whether the electronic device has the possibility of using a microphone by detecting the display status 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 an application in the electronic device that can call the microphone may also be opened. Examples of applications that call the microphone, such as voice assistant applications, phone calls, social networking applications, etc., are not listed here. When the application is running, the microphone can be called and audio data obtained through the microphone.
步骤120,在检测到电子设备的屏幕被点亮时,向麦克风施加目标电压。Step 120: Apply a target voltage to the microphone when it is detected that the screen of the electronic device is lit.
具体地,在检测到电子设备的屏幕被点亮时,可以立即向麦克风施加目标电压,使麦克风中的振膜响应于目标电压进行振动。 Specifically, when it is detected that the screen of the electronic device is lit, a target voltage can be immediately applied to the microphone to cause the diaphragm in the microphone to vibrate in response to the target voltage.
作为一个具体的示例,以硅微传声器为例,振膜与背极板组成平行极板电容器的两极,当振膜接收声波振动后,振膜与背极板之间的距离发生变化,导致平行极板电容器的电容发生改变,进而通过采集电压波动,可将声信号转化成电信号。基于此,通过向振膜施加一定的电压,可以控制振膜发生振动。As a specific example, taking a silicon micromicrophone as an example, the diaphragm and the back plate form the two poles of the parallel plate capacitor. When the diaphragm receives the sound wave vibration, the distance between the diaphragm and the back plate changes, resulting in parallel The capacitance of the plate capacitor changes, and the acoustic signal can be converted into an electrical signal by collecting voltage fluctuations. Based on this, by applying a certain voltage to the diaphragm, the diaphragm can be controlled to vibrate.
由于在振膜产生目标振动幅度的过程中,能够改变杂质对于振膜的粘黏状态。在本申请实施例中,在检测检测到电子设备的屏幕被点亮时,立即向麦克风施加目标电压,可以使麦克风在被应用程序调用前,使振膜能够提前产生振动,从而使得之后使用麦克风的过程中,有效减少杂质对的振膜的正常振动的影响,避免产生噪音。Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of impurities to the diaphragm can be changed. In the embodiment of the present application, when it is detected that the screen of the electronic device is lit, the target voltage is immediately applied to the microphone, which enables the diaphragm to vibrate in advance before the microphone is called by the application, thereby allowing the microphone to be used later. In the process, the impact of impurities on the normal vibration of the diaphragm is effectively reduced and noise is avoided.
作为一个具体的示例,麦克风中包括振膜支撑柱、基底和背极板,基底通过振膜支撑柱与振膜连接,背极板与振膜形成电容的两极;向麦克风施加目标电压,具体可以包括:向振膜和背极板施加目标电压,使振膜响应于目标电压进行振动,并使麦克风的振膜支撑柱与基座分离。As a specific example, the microphone includes a diaphragm support column, a base and a back plate. The base is connected to the diaphragm through the diaphragm support column. The back plate and the diaphragm form the two poles of the capacitor; applying a target voltage to the microphone, specifically It includes: applying a target voltage to the diaphragm and the back plate, causing the diaphragm to vibrate in response to the target voltage, and separating the diaphragm support column of the microphone from the base.
示例性的,振膜可以为电容器的正极,背极板可以为电容器的负极,通过向振膜和背极板施加目标电压,可以通过电荷吸引将振膜拉起,从而实现控制振膜支撑柱与基座的分离,实现调整杂质的附着状态。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 a target voltage to the diaphragm and the back plate, the diaphragm can be pulled up through charge attraction, thereby controlling the diaphragm support column. The separation from the base enables adjustment of the adhesion state of impurities.
图2是本申请实施例提供的一种麦克风的结构示意图。结合图2所示,在麦克风中包括振膜201、背极板202、基座203。基座203通过振膜支撑柱与振膜201连接,即,振膜通过振膜支撑柱设置在基座上。振膜201与背极板202形成电容器。图3是本申请实施例提供另一种麦克风的结构示意图。结合图3所示,基本和振膜之间包括振膜支撑柱301和振膜支撑柱302。在自然静止状态下,振膜201与基座203之间振膜支撑柱的关系如图3(a)所示。在振动状态下,若无杂质粘黏在振膜支撑柱与基座相互接触的位置,则振膜201向上移动将振膜支撑柱抬起,振膜201与基座203之间振膜支撑柱的关系如图3(b)所示。FIG. 2 is a schematic structural diagram of a microphone provided by an embodiment of the present application. As shown in FIG. 2 , the microphone includes a diaphragm 201 , a back plate 202 , and a base 203 . The base 203 is connected to the diaphragm 201 through the diaphragm supporting pillars, that is, the diaphragm is arranged on the base through the diaphragm supporting pillars. The diaphragm 201 and the back plate 202 form a capacitor. Figure 3 is a schematic structural diagram of another microphone provided by an embodiment of the present application. As shown in FIG. 3 , a diaphragm supporting column 301 and a diaphragm supporting column 302 are included between the base and the diaphragm. In the natural resting state, the relationship between the diaphragm support pillars between the diaphragm 201 and the base 203 is as shown in Figure 3(a). In the vibrating state, if there are no impurities sticking to the position where the diaphragm support column and the base are in contact with each other, the diaphragm 201 moves upward to lift the diaphragm support column, and the diaphragm support column is between the diaphragm 201 and the base 203 The relationship is shown in Figure 3(b).
对于包括麦克风的终端设备,杂质进入麦克风内部后,杂质可能粘黏在振膜支撑柱与基座相互接触的位置。示例性的,图4是本申请实施例提供的一种 杂质粘黏的示意图。结合图4(a)所示,杂质的粘黏状态401。在麦克风运行的过程,振膜响应于声音信号会产生振动。例如助焊剂具有较强的粘性的杂质,在振膜振动过程中杂质的粘黏状态402,如图4(b)所示,此时,杂质并未完全分离。即,由于杂质的粘性会抑制振膜的上移,但振膜持续振动的过程中,随着振膜的拉伸,最终粘黏的杂质断离,此时,瞬间的惯性会使振膜在极端的时间产生一个快速的位移,杂质进入断裂状态403,如图4(c)所示。For terminal equipment including a microphone, after impurities enter the interior of the microphone, the impurities may stick to the position where the diaphragm support column and the base contact each other. Illustratively, Figure 4 is an example provided by the embodiment of the present application. Schematic diagram of impurities sticking. As shown in Figure 4(a), the sticky state of impurities 401. During the operation of the microphone, the diaphragm vibrates in response to sound signals. For example, the flux has strong viscosity impurities. During the vibration process of the diaphragm, the impurities are in a sticky state 402, as shown in Figure 4(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. However, as the diaphragm continues to vibrate, as the diaphragm stretches, the sticky impurities will eventually break off. At this time, the instantaneous inertia will cause the diaphragm to move upward. Extreme time produces a rapid displacement, and the impurities enter the fracture state 403, as shown in Figure 4(c).
由于振膜与背极板形成电容器,结合平行极板电容器的容值C的表达公式(1)。
Since the diaphragm and the back plate form a capacitor, the expression formula (1) of the capacitance C of the parallel plate capacitor is combined.
其中,S表示平行极板的面积,d为两极板间的距离,k表示静电力常量,ε为相对介电常数。由此,对于振膜与背极板形成的电容器,由于振膜与背极板形成电容器的面积S固定,因此,电容值与振膜与背极板之间的距离d有关。Among them, S represents the area of the 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.
因此,当瞬间的惯性会使振膜在极端的时间产生一个快速的位移d时,会导致电容值瞬间降低,结合U=Q/C,其中,U为电压,Q为电荷量。当电容值瞬间降低时,会导致电压发生跳变,这就导致在麦克风使用的过程中,产生噪音。若在一段时间内,振膜回到自然静止状态,具有粘黏性的杂质会重新吸附,导致下一次使用麦克风的过程中,仍然产生噪音。Therefore, when the instantaneous inertia causes the diaphragm to produce a rapid displacement d at an extreme time, it will cause the capacitance value to decrease instantaneously, combined with U=Q/C, where U is the voltage and Q is the charge. When the capacitance value drops instantaneously, it will cause the voltage to jump, which will cause noise during use of the microphone. If the diaphragm returns to its natural resting state within a period of time, the sticky impurities will be re-adsorbed, causing noise to still be generated the next time the microphone is used.
在本申请实施例中,在检测检测到电子设备的屏幕被点亮时,立即向麦克风施加目标电压,在每次麦克风在被应用程序调用前,使振膜能够提前产生振动,带动振膜支撑柱与基座的分离。即,使振膜支撑柱与基座之间的杂质提前进如图4(c)所示的断裂状态403。基于此,在之后使用麦克风的过程中,由于杂质已经进入断裂状态403,因此,在接下来麦克风运行过程中,有效减少杂质对的振膜的正常振动的影响,能够避免产生噪音。In the embodiment of the present application, when it is detected that the screen of the electronic device is lit, the target voltage is immediately applied to the microphone, so that the diaphragm can vibrate in advance and drive the diaphragm support before each microphone is called by the application program. Separation of column from base. That is, the impurities between the diaphragm support pillar and the base are advanced to the fracture state 403 as shown in Figure 4(c). Based on this, during the subsequent use of the microphone, since the impurities have entered the fracture state 403, during the subsequent operation of the microphone, the impact of the impurities on the normal vibration of the diaphragm is effectively reduced, and the generation of noise can be avoided.
图5是本申请实施例提供的一种麦克风控制电路的结构示意图。结合图5所示,麦克风控制电路可以包括微电机系统(Micro-Electro-Mechanical System,MEMS)声学部分和专用集成电路(Application Specific Integrated Circuit,ASIC)部分。通过VDD1可以为麦克风提供电压,接下来,通过电荷泵(charge pump) 控制电路可以向音频控制单元施加目标电压。FIG. 5 is a schematic structural diagram of a microphone control circuit provided by an embodiment of the present application. As shown in FIG. 5 , the microphone control circuit may include a micro-electro-mechanical system (MEMS) acoustic part and an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) part. The voltage can be provided to the microphone through VDD1, and next, through the charge pump (charge pump) The control circuit may apply a target voltage to the audio control unit.
可选的,电子设备中可以设置单独的麦克风控制芯片,例如,音频编码译码器(codec)。麦克风控制芯片可以与电子设备中的处理连接,并接收处理已发送的麦克风调用信号。在麦克风控制芯片在接收到调用信号时,可以控制麦克风控制电路的ASIC部分,以控制麦克风。Optionally, the electronic device may be provided with a separate microphone control chip, for example, an audio codec (codec). The microphone control chip can be connected to the processing in the electronic device and receive and process the transmitted microphone call signal. When the microphone control chip receives the calling signal, it can control the ASIC part of the microphone control circuit to control the microphone.
根据本申请实施例,通过振膜和背极板施加目标电压,可以通过控制振膜的振动,使基座与振膜支撑柱分离,从而调整连接处的杂质进入断裂状态。如此一来,若亮屏过程中,有应用程序需要调用麦克风,通过麦克风获取音频数据,可以避免杂质断裂对的振膜的正常振动的影响,能够避免产生噪音。According to the embodiment of the present application, by applying a target voltage through the diaphragm and the back plate, the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state. In this way, if an application needs to call the microphone during the process of turning on the screen, and obtain audio data through the microphone, the impact of impurity breakage on the normal vibration of the diaphragm can be avoided, and the generation of noise can be avoided.
在一些实施例中,在检测电子设备的屏幕是否点亮之前,方法包括:检测电子设备是否启用语音唤醒功能;检测电子设备的屏幕是否点亮,具体包括:在电子设备未启用语音唤醒功能时,检测电子设备的屏幕是否点亮。In some embodiments, before detecting whether the screen of the electronic device is lit, the method includes: detecting whether the electronic device enables the voice wake-up function; detecting whether the screen of the electronic device is lit, specifically including: when the electronic device does not enable the voice wake-up function. , detect whether the screen of the electronic device is lit.
具体地,电子设备中的语音唤醒功能可以在屏幕处于息屏状态时使用。因此,在检测电子设备的屏幕是否点亮之前,可以先检测电子设备是否启用了语音唤醒功能,当电子设备未启用语音唤醒功能时,电子设备的麦克风还未施加目标电压。接下来,通过检测电子设备的屏幕是否点亮,判断是否为麦克风上电。Specifically, the voice wake-up function in the electronic device can be used when the screen is in a screen-off state. Therefore, before detecting whether the screen of the electronic device is lit, it may be first detected whether the electronic device has enabled the voice wake-up function. When the electronic device does not enable the voice wake-up function, the target voltage has not been applied to the microphone of the electronic device. Next, determine whether the microphone is powered on by detecting whether the screen of the electronic device is lit.
根据本申请实施例,通过结合屏幕的工作状态检测和语音唤醒功能的开启状态,从而可以精确识别电子设备调用麦克风的意图。尤其在开启语音唤醒功能或者检测到屏幕点亮时,向麦克风施加目标电压,从而可以快速调整杂质的状态。在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。According to embodiments of the present application, by combining the working status detection of the screen and the opening status of the voice wake-up function, the intention of the electronic device to call the microphone can be accurately identified. Especially when the voice wake-up function is turned on or the screen is detected to light up, a target voltage is applied to the microphone, so that the state of impurities can be quickly adjusted. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,在检测到电子设备启动语音唤醒功能时,向麦克风施加目标电压。In some embodiments, the target voltage is applied to the microphone when it is detected that the electronic device initiates the voice wake-up function.
在本申请实施例中,在检测到电子设备启动语音唤醒功能时,向麦克风施加目标电压,可以快速调整杂质的状态。在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。 In the embodiment of the present application, when it is detected that the electronic device activates 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 impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,在向麦克风施加目标电压之后,方法还包括:在检测到电子设备的屏幕被熄,且麦克风未被目标应用程序调用时,停止向麦克风施加目标电压。In some embodiments, after applying the target voltage to the microphone, the method further includes: stopping 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.
具体地,在向麦克风施加运行电压以后,电子设备可以继续检测屏幕的显示状态。当电子设备的屏幕的显示状态为息屏时,用户可能停止使用电子设备。在检测到屏幕的显示状态为息屏,且目标应用程序未运行的情况下,可以停止向麦克风施加运行电压,即,关闭麦克风。示例性的,目标应用程序为电子设备中能够调用麦克风的应用程序,例如语音助手应用程序、电话、社交应用程序等,在此不一一列举。Specifically, after applying the operating voltage to the microphone, the electronic device can continue to detect the display state of the screen. When the display state of the screen of the electronic device is screen off, the user may stop using the electronic device. When it is detected that the display state of the screen is screen off and the target application is not running, the application of operating voltage to the microphone may be stopped, that is, the microphone may be turned off. For example, the target application is an application in an electronic device that can call a microphone, such as a voice assistant application, a phone, a social networking application, etc., which are not listed here.
根据申请实施例,通过检测屏幕的显示状态和目标应用程序的运行情况,控制麦克风的开启或者关闭,从而可以有效减少麦克风的运行时间,减少麦克风运行带来的多余功耗。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 excess power consumption caused by the running of the microphone.
本申请实施例提供的麦克风的控制方法,执行主体可以为麦克风的控制装置。本申请实施例中以麦克风的控制装置执行麦克风的控制的方法为例,说明本申请实施例提供的麦克风的控制的装置。For the microphone control method provided by the embodiment of the present application, the execution subject may be a microphone control device. In the embodiment of the present application, a method in which the microphone control device performs the control of the microphone is taken as an example to illustrate the device for controlling the microphone provided by the embodiment of the present application.
如图6所示,本申请实施例提供一种麦克风的控制装置600,麦克风的控制装置600应用于包括麦克风的电子设备。该麦克风的控制装置600包括:检测模块610和控制模块620。As shown in FIG. 6 , an embodiment of the present application provides a microphone control device 600 , and the microphone control device 600 is applied to electronic equipment including a microphone. The microphone control device 600 includes: a detection module 610 and a control module 620 .
检测模块610,用于检测电子设备的屏幕是否点亮;The detection module 610 is used to detect whether the screen of the electronic device is lit;
控制模块620,用于在检测到电子设备的屏幕被点亮时,向麦克风施加目标电压。The control module 620 is configured to apply a target voltage to the microphone when it is detected that the screen of the electronic device is lit.
在本申请实施例中,对于包括麦克风的电子设备,电子设备通过检测屏幕是否被点亮,在检测到屏幕被点亮时,向麦克风施加目标电压。向麦克风施加目标电压后,麦克风中振膜的振动可以响应于目标电压进行振动。由于在振膜产生目标振动幅度的过程中,能够改变杂质对于振膜的粘黏状态,在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。 In the embodiment of the present application, for an electronic device including a microphone, the electronic device detects whether the screen is lit, and when detecting that the screen is lit, applies a target voltage to the microphone. After a target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of the impurities to the diaphragm can be changed. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,检测模块610,还用于检测电子设备是否启用语音唤醒功能;In some embodiments, the detection module 610 is also used to detect whether the electronic device enables the voice wake-up function;
检测模块610,还用于在电子设备未启用语音唤醒功能时,检测电子设备的屏幕是否点亮。The detection module 610 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.
根据本申请实施例,通过结合屏幕的工作状态检测和语音唤醒功能的开启状态,从而可以精确识别电子设备调用麦克风的意图。尤其在开启语音唤醒功能或者检测到屏幕点亮时,向麦克风施加目标电压,从而可以快速调整杂质的状态。在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。According to embodiments of the present application, by combining the working status detection of the screen and the opening status of the voice wake-up function, the intention of the electronic device to call the microphone can be accurately identified. Especially when the voice wake-up function is turned on or the screen is detected to light up, a target voltage is applied to the microphone, so that the state of impurities can be quickly adjusted. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,控制模块620,还用于在检测到电子设备启动语音唤醒功能时,向麦克风施加目标电压。In some embodiments, the control module 620 is also configured to apply a target voltage to the microphone when it is detected that the electronic device activates the voice wake-up function.
在本申请实施例中,在检测到电子设备启动语音唤醒功能时,向麦克风施加目标电压,可以快速调整杂质的状态。在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。In the embodiment of the present application, when it is detected that the electronic device activates 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 impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,控制模块620,还用于在检测到电子设备的屏幕被息,且麦克风未被目标应用程序调用时,停止向麦克风施加目标电压。In some embodiments, the control module 620 is also configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is closed and the microphone is not called by the target application.
根据申请实施例,通过检测屏幕的显示状态和目标应用程序的运行情况,控制麦克风的开启或者关闭,从而可以有效减少麦克风的运行时间,减少麦克风运行带来的多余功耗。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 excess power consumption caused by the running of the microphone.
在一些实施例中,麦克风还包括振膜支撑柱、基底和背极板,基底通过振膜支撑柱与振膜连接,背极板与振膜形成电容的两极;In some embodiments, the microphone further includes a diaphragm support column, a base and a back plate, the base is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of the capacitor;
控制模块620,还用于向振膜和背极板施加目标电压,使振膜响应于目标电压进行振动,并使麦克风的振膜支撑柱与基座分离。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.
根据本申请实施例,通过振膜和背极板施加目标电压,可以通过控制振膜的振动,使基座与振膜支撑柱分离,从而调整连接处的杂质进入断裂状态。如此一来,若亮屏过程中,有应用程序需要调用麦克风,通过麦克风获取音频数据,可以有效避免杂质断裂对的振膜的正常振动的影响,能够避免产生噪音。 According to the embodiment of the present application, by applying a target voltage through the diaphragm and the back plate, the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state. In this way, if an application needs to call the microphone during the process of turning on the screen, and obtain audio data through the microphone, it can effectively avoid the impact of impurity breakage on the normal vibration of the diaphragm, and avoid the generation of noise.
本申请实施例中的麦克风的控制装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The microphone control device in the embodiment of the present application may be an electronic device, or may be a component of the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (Mobile Internet Device, MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDA), etc., and can also be servers, network attached storage (Network Attached Storage), NAS), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.
本申请实施例中的麦克风的控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The microphone control device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的麦克风的控制装置能够实现图1至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。The microphone control device provided by the embodiment of the present application can implement various processes implemented by the method embodiments of Figures 1 to 5. To avoid duplication, they will not be described again here.
可选地,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701和存储器702,存储器702上存储有可在处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述麦克风的控制方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 7, this embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702. The memory 702 stores programs or instructions that can be run on the processor 701, and the program or When the instructions are executed by the processor 701, each step of the above-mentioned microphone control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
需要说明的是,本申请实施例中的电子设备包括上述移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The electronic device 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, etc. part.
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通 过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 800 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 810 through a power management system. The power management system is used to manage functions such as charging, discharging, and power consumption management. The structure of the electronic device shown in Figure 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
在一些实施例中,电子设备包括麦克风,电子设备还包括:In some embodiments, the electronic device includes a microphone, the electronic device further includes:
处理器810,用于检测电子设备的屏幕是否点亮;Processor 810, used to detect whether the screen of the electronic device is lit;
处理器810,用于在检测到电子设备的屏幕被点亮时,向麦克风施加目标电压。The processor 810 is configured to apply a target voltage to the microphone when detecting that the screen of the electronic device is lit.
在本申请实施例中,对于包括麦克风的电子设备,电子设备通过检测屏幕是否被点亮,在检测到屏幕被点亮时,向麦克风施加目标电压。向麦克风施加目标电压后,麦克风中振膜的振动可以响应于目标电压进行振动。由于在振膜产生目标振动幅度的过程中,能够改变杂质对于振膜的粘黏状态,在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。In the embodiment of the present application, for an electronic device including a microphone, the electronic device detects whether the screen is lit, and when detecting that the screen is lit, applies a target voltage to the microphone. After a target voltage is applied to the microphone, the vibration of the diaphragm in the microphone can vibrate in response to the target voltage. Because in the process of the diaphragm generating the target vibration amplitude, the stickiness state of the impurities to the diaphragm can be changed. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,处理器810,还用于检测电子设备是否启用语音唤醒功能;In some embodiments, the processor 810 is also used to detect whether the electronic device enables the voice wake-up function;
处理器810,还用于在电子设备未启用语音唤醒功能时,检测电子设备的屏幕是否点亮。The processor 810 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.
根据本申请实施例,通过结合屏幕的工作状态检测和语音唤醒功能的开启状态,从而可以精确识别电子设备调用麦克风的意图。尤其在开启语音唤醒功能或者检测到屏幕点亮时,向麦克风施加目标电压,从而可以快速调整杂质的状态。在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。According to embodiments of the present application, by combining the working status detection of the screen and the opening status of the voice wake-up function, the intention of the electronic device to call the microphone can be accurately identified. Especially when the voice wake-up function is turned on or the screen is detected to light up, a target voltage is applied to the microphone, so that the state of impurities can be quickly adjusted. In the subsequent use of the microphone, the impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,处理器810,还用于在检测到电子设备启动语音唤醒功能时,向麦克风施加目标电压。In some embodiments, the processor 810 is also configured to apply a target voltage to the microphone when it is detected that the electronic device activates the voice wake-up function.
在本申请实施例中,在检测到电子设备启动语音唤醒功能时,向麦克风施加目标电压,可以快速调整杂质的状态。在之后使用麦克风的过程中,能够有效减少杂质对的振膜的正常振动的影响,避免产生噪音。 In the embodiment of the present application, when it is detected that the electronic device activates 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 impact of impurities on the normal vibration of the diaphragm can be effectively reduced and the generation of noise can be avoided.
在一些实施例中,处理器810,还用于在检测到电子设备的屏幕被息,且麦克风未被目标应用程序调用时,停止向麦克风施加目标电压。In some embodiments, the processor 810 is also configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is closed and the microphone is not called by the target application.
根据申请实施例,通过检测屏幕的显示状态和目标应用程序的运行情况,控制麦克风的开启或者关闭,从而可以有效减少麦克风的运行时间,减少麦克风运行带来的多余功耗。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 excess power consumption caused by the running of the microphone.
在一些实施例中,麦克风还包括振膜支撑柱、基底和背极板,基底通过振膜支撑柱与振膜连接,背极板与振膜形成电容的两极;In some embodiments, the microphone further includes a diaphragm support column, a base and a back plate, the base is connected to the diaphragm through the diaphragm support column, and the back plate and the diaphragm form two poles of the capacitor;
处理器810,还用于向振膜和背极板施加目标电压,使振膜响应于目标电压进行振动,并使麦克风的振膜支撑柱与基座分离。The processor 810 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.
根据本申请实施例,通过振膜和背极板施加目标电压,可以通过控制振膜的振动,使基座与振膜支撑柱分离,从而调整连接处的杂质进入断裂状态。如此一来,若亮屏过程中,有应用程序需要调用麦克风,通过麦克风获取音频数据,可以有效避免杂质断裂对的振膜的正常振动的影响,能够避免产生噪音。According to the embodiment of the present application, by applying a target voltage through the diaphragm and the back plate, the vibration of the diaphragm can be controlled to separate the base from the diaphragm support column, thereby adjusting the impurities at the connection to enter a fracture state. In this way, if an application needs to call the microphone during the process of turning on the screen, and obtain audio data through the microphone, it can effectively avoid the impact of impurity breakage on the normal vibration of the diaphragm, and avoid the generation of noise.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072中的至少一种。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。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. The graphics processor 8041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072 . Touch panel 8071, also known as 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 physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器809可以包括易失性存储器或非易失性存储器,或者,存储器809可以包括易失性和非易失性存储器两者。其中,非易失性存 储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器809包括但不限于这些和任意其它适合类型的存储器。Memory 809 can be used to store software programs as well as 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, Image playback function, etc.) etc. Additionally, memory 809 may include volatile memory or non-volatile memory, or memory 809 may include both volatile and non-volatile memory. Among them, non-volatile storage The memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable only memory. Read memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 809 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器810可包括一个或多个处理单元;可选的,处理器810集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 810.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述麦克风的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above-mentioned microphone control method embodiment is implemented, and the same can be achieved. To avoid repetition, the technical effects will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质可以包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等非暂态计算机可读存储介质。Wherein, the processor is the processor in the electronic device in the above embodiment. Readable storage media may include computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks and other non-transitory computer-readable storage media.
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述麦克风的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above-mentioned microphone control method embodiment, and can achieve the same The technical effects will not be repeated here to avoid repetition.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质 中,该程序产品被至少一个处理器执行以实现如上述麦克风的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product, which is stored in a storage medium , the program product is executed by at least one processor to implement each process of the above-mentioned microphone control method embodiment, and can achieve the same technical effect. To avoid duplication, the details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that 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, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (15)

  1. 一种麦克风的控制方法,所述方法应用于包括麦克风的电子设备,所述方法包括:A method of controlling a microphone, the method is applied to an electronic device including a microphone, the method includes:
    检测所述电子设备的屏幕是否点亮;Detect whether the screen of the electronic device is lit;
    在检测到所述电子设备的屏幕被点亮时,向所述麦克风施加目标电压。When it is detected that the screen of the electronic device is lit, a target voltage is applied to the microphone.
  2. 根据权利要求1所述的方法,其中,在所述检测所述电子设备的屏幕是否点亮之前,所述方法包括:The method according to claim 1, wherein before detecting whether the screen of the electronic device is lit, the method includes:
    检测所述电子设备是否启用语音唤醒功能;Detect whether the electronic device enables the voice wake-up function;
    所述检测所述电子设备的屏幕是否点亮,具体包括:The detection of whether the screen of the electronic device is lit specifically includes:
    在所述电子设备未启用语音唤醒功能时,检测所述电子设备的屏幕是否点亮。When the voice wake-up function is not enabled on the electronic device, it is detected whether the screen of the electronic device is lit.
  3. 根据权利要求2所述的方法,其中,在所述检测所述电子设备的屏幕是否点亮之前,所述方法还包括:The method according to claim 2, wherein before detecting whether the screen of the electronic device is lit, the method further includes:
    在检测到所述电子设备启动语音唤醒功能时,向所述麦克风施加所述目标电压。When it is detected that the electronic device activates the voice wake-up function, the target voltage is applied to the microphone.
  4. 根据权利要求1所述的方法,其中,在所述向所述麦克风施加目标电压之后,所述方法还包括:The method of claim 1, wherein after applying the target voltage to the microphone, the method further includes:
    在检测到所述电子设备的屏幕被息,且所述麦克风未被目标应用程序调用时,停止向所述麦克风施加目标电压。When it is detected that the screen of the electronic device is closed and the microphone is not called by the target application, application of the target voltage to the microphone is stopped.
  5. 根据权利要求1所述的方法,其中,所述麦克风还包括振膜支撑柱、基底和背极板,所述基底通过所述振膜支撑柱与所述振膜连接,所述背极板与所述振膜形成电容的两极;The method according to claim 1, wherein the microphone further includes a diaphragm support column, a base and a back plate, the base is connected to the diaphragm through the diaphragm support column, and the back plate is connected to the diaphragm support column. The diaphragm forms the two poles of the capacitor;
    所述向所述麦克风施加目标电压,包括:Applying a target voltage to the microphone includes:
    向所述振膜和所述背极板施加所述目标电压,使所述振膜响应于所述目标电压进行振动,并使所述麦克风的振膜支撑柱与基座分离。Applying the target voltage to the diaphragm and the back plate causes the diaphragm to vibrate in response to the target voltage, and separates the diaphragm supporting column of the microphone from the base.
  6. 一种麦克风的控制装置,所述装置应用于包括麦克风的电子设备,所述装置包括: A microphone control device, the device is applied to electronic equipment including a microphone, the device includes:
    检测模块,用于检测所述电子设备的屏幕是否点亮;A detection module used to detect whether the screen of the electronic device is lit;
    控制模块,用于在检测到所述电子设备的屏幕被点亮时,向所述麦克风施加目标电压。A control module configured to apply a target voltage to the microphone when detecting that the screen of the electronic device is lit.
  7. 根据权利要求6所述的装置,其中,The device of claim 6, wherein:
    所述检测模块,还用于检测所述电子设备是否启用语音唤醒功能;The detection module is also used to detect whether the electronic device enables the voice wake-up function;
    所述检测模块,还用于在所述电子设备未启用语音唤醒功能时,检测所述电子设备的屏幕是否点亮。The detection module is also configured to detect whether the screen of the electronic device is lit when the voice wake-up function is not enabled on the electronic device.
  8. 根据权利要求7所述的装置,其中,The device of claim 7, wherein
    所述控制模块,还用于在检测到所述电子设备启动语音唤醒功能时,向所述麦克风施加所述目标电压。The control module is also configured to apply the target voltage to the microphone when it is detected that the electronic device activates the voice wake-up function.
  9. 根据权利要求6所述的装置,其中,The device of claim 6, wherein:
    所述控制模块,还用于在检测到所述电子设备的屏幕被息,且所述麦克风未被目标应用程序调用时,停止向所述麦克风施加目标电压。The control module is also configured to stop applying the target voltage to the microphone when it is detected that the screen of the electronic device is closed and the microphone is not called by the target application.
  10. 根据权利要求6所述的装置,其中,所述麦克风还包括振膜支撑柱、基底和背极板,所述基底通过所述振膜支撑柱与所述振膜连接,所述背极板与所述振膜形成电容的两极;The device according to claim 6, wherein the microphone further includes a diaphragm support column, a base and a back plate, the base is connected to the diaphragm through the diaphragm support column, and the back plate is connected to the diaphragm support column. The diaphragm forms the two poles of the capacitor;
    所述控制模块,还用于向所述振膜和所述背极板施加所述目标电压,使所述振膜响应于所述目标电压进行振动,并使所述麦克风的振膜支撑柱与基座分离。The control module is also configured to apply the target voltage to the diaphragm and the back plate, causing the diaphragm to vibrate in response to the target voltage, and aligning the diaphragm support column of the microphone with the target voltage. The base is separated.
  11. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的麦克风的控制方法的步骤。An electronic device, including a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the implementation of any one of claims 1-5 is achieved. The steps of the microphone control method.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的麦克风的控制方法的步骤。A readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the steps of the microphone control method according to any one of claims 1 to 5 are implemented.
  13. 一种电子设备,被配置用于实现如权利要求1-5任一项所述的麦克风的控制方法。 An electronic device configured to implement the microphone control method according to any one of claims 1-5.
  14. 一种芯片,包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如权利要求1-5任一项所述的麦克风的控制方法。A chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the microphone control method according to any one of claims 1 to 5.
  15. 一种计算机程序产品,所述计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备执行如权利要求1-5任一项所述的麦克风的控制方法。 A computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device causes the electronic device to execute the microphone control method according to any one of claims 1 to 5.
PCT/CN2023/088643 2022-04-21 2023-04-17 Microphone control method and apparatus, electronic device, and readable storage medium WO2023202521A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210423514.2A CN114786080A (en) 2022-04-21 2022-04-21 Microphone control method and device, electronic equipment and readable storage medium
CN202210423514.2 2022-04-21

Publications (1)

Publication Number Publication Date
WO2023202521A1 true WO2023202521A1 (en) 2023-10-26

Family

ID=82430402

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/088643 WO2023202521A1 (en) 2022-04-21 2023-04-17 Microphone control method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114786080A (en)
WO (1) WO2023202521A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114786080A (en) * 2022-04-21 2022-07-22 维沃移动通信有限公司 Microphone control method and device, electronic equipment and readable storage medium
CN114979355A (en) * 2022-05-30 2022-08-30 维沃移动通信有限公司 Microphone control method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150049884A1 (en) * 2013-08-16 2015-02-19 Zilltek Technology Corp. Microphone with voice wake-up function
US20150341717A1 (en) * 2014-05-22 2015-11-26 Lg Electronics Inc. Glass-type terminal and method of controlling the same
CN111327994A (en) * 2020-04-02 2020-06-23 华景科技无锡有限公司 Low-power-consumption microphone, voice control device and voice control method
CN211702369U (en) * 2020-03-19 2020-10-16 深圳市宇浩隆科技有限公司 Capacitive microphone chip
CN111885470A (en) * 2020-06-16 2020-11-03 歌尔微电子有限公司 Capacitive micro-electro-mechanical system microphone, microphone monomer and electronic equipment
CN213661943U (en) * 2020-11-25 2021-07-09 瑞声声学科技(深圳)有限公司 MEMS microphone chip
CN114786080A (en) * 2022-04-21 2022-07-22 维沃移动通信有限公司 Microphone control method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150049884A1 (en) * 2013-08-16 2015-02-19 Zilltek Technology Corp. Microphone with voice wake-up function
US20150341717A1 (en) * 2014-05-22 2015-11-26 Lg Electronics Inc. Glass-type terminal and method of controlling the same
CN211702369U (en) * 2020-03-19 2020-10-16 深圳市宇浩隆科技有限公司 Capacitive microphone chip
CN111327994A (en) * 2020-04-02 2020-06-23 华景科技无锡有限公司 Low-power-consumption microphone, voice control device and voice control method
CN111885470A (en) * 2020-06-16 2020-11-03 歌尔微电子有限公司 Capacitive micro-electro-mechanical system microphone, microphone monomer and electronic equipment
CN213661943U (en) * 2020-11-25 2021-07-09 瑞声声学科技(深圳)有限公司 MEMS microphone chip
CN114786080A (en) * 2022-04-21 2022-07-22 维沃移动通信有限公司 Microphone control method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114786080A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
WO2023202521A1 (en) Microphone control method and apparatus, electronic device, and readable storage medium
US11689649B2 (en) Shooting method and terminal
US11463566B2 (en) Camera control method and mobile terminal
US10825457B2 (en) Device and method for activating with voice input
EP3585037B1 (en) Image capturing method and terminal
US11243653B2 (en) Method for display control and mobile terminal
AU2017306385B2 (en) Display driving method, display driver integrated circuit for supporting the same, electronic device including the display driver integrated circuit
WO2019141243A1 (en) Method for starting application program and mobile terminal
WO2019137429A1 (en) Picture processing method and mobile terminal
WO2019114584A1 (en) Method and apparatus for starting associated applications, and mobile terminal
WO2017032123A1 (en) Video playback control method and device
KR101403472B1 (en) Information processing method, method for driving image collection unit and electrical device
WO2019129020A1 (en) Automatic focusing method of camera, storage device and mobile terminal
WO2015167283A1 (en) Method, electronic device, and storage medium for providing service
WO2013000381A1 (en) Method for controlling state of mobile terminal and mobile terminal
WO2020156168A1 (en) Information display method and terminal
AU2017440899B2 (en) Photographing method and terminal
WO2019184946A1 (en) Human facial recognition control method and mobile terminal
US20210152729A1 (en) Method and Apparatus for Shooting Video, and Storage Medium
WO2022089285A1 (en) Image acquisition method and device, mobile terminal, and storage medium
US20210210089A1 (en) Method and device for information processing, terminal, server and storage medium
EP3952300A1 (en) Video call method and terminal device
CN108881721B (en) Display method and terminal
WO2021104226A1 (en) Photographing method and electronic device
CN112652263A (en) Refreshing method, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23791176

Country of ref document: EP

Kind code of ref document: A1