CN116866758A - Microphone control method, storage medium and electronic equipment - Google Patents

Microphone control method, storage medium and electronic equipment Download PDF

Info

Publication number
CN116866758A
CN116866758A CN202311057053.2A CN202311057053A CN116866758A CN 116866758 A CN116866758 A CN 116866758A CN 202311057053 A CN202311057053 A CN 202311057053A CN 116866758 A CN116866758 A CN 116866758A
Authority
CN
China
Prior art keywords
microphone
sensing module
close
circuit
radio frequency
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202311057053.2A
Other languages
Chinese (zh)
Inventor
刘子晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Douku Software Technology Co Ltd
Original Assignee
Hangzhou Douku Software Technology Co Ltd
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 Hangzhou Douku Software Technology Co Ltd filed Critical Hangzhou Douku Software Technology Co Ltd
Priority to CN202311057053.2A priority Critical patent/CN116866758A/en
Publication of CN116866758A publication Critical patent/CN116866758A/en
Pending legal-status Critical Current

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
    • H04R1/083Special constructions of mouthpieces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/03Connection circuits to selectively connect loudspeakers or headphones to amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a microphone control method, a storage medium and electronic equipment, wherein the method comprises the steps of detecting whether an object is close to a first microphone or not through a first sensing module; detecting whether an object is close to the second microphone or not through the second sensing module; if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened; and if the first sensing module does not detect that the object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off. Therefore, the microphone which is not shielded can be used as the main microphone to carry out sound reception, so that the sound reception quality of the microphone can be effectively improved, and the experience feeling during communication and game communication is improved.

Description

Microphone control method, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to a microphone control method, a storage medium, and an electronic device.
Background
With the development of electronic devices, man-machine interaction between the electronic devices and users is increasingly important. In the related art, an electronic device generally receives an input operation of a user through a screen, a microphone, etc., so as to implement man-machine interaction, such as recording through the microphone, voice control, or voice communication between users. For example, when an electronic device is used for communication or playing a game to communicate with teammates, voice communication is required through a microphone, but the electronic device is usually held by hands when in use, and the microphone is easily blocked by the hands, so that the effects of communication and game communication are poor, and the experience is affected.
Disclosure of Invention
A microphone control method, a storage medium and an electronic device can improve experience when a call and a game are connected.
In a first aspect, an embodiment of the present application provides a method for controlling a microphone, which is applied to an electronic device, where the electronic device includes a first sensing module, a second sensing module, a first microphone and a second microphone, where a sensing end of the first sensing module is disposed near the first microphone, and a sensing end of the second sensing module is disposed near the second microphone, and the method includes:
Detecting whether an object is close to the first microphone through the first sensing module;
detecting whether an object is close to the second microphone through the second sensing module;
if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened;
and if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone, controlling the first microphone to be turned on and the second microphone to be turned off.
In a second aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a control module, a first sensing module, a second sensing module, a first microphone and a second microphone, where a sensing end of the first sensing module is disposed near the first microphone, and a sensing end of the second sensing module is disposed near the second microphone;
the first sensing module is used for detecting whether an object is close to the first microphone;
the second sensing module is used for detecting whether an object is close to the second microphone;
The control module is used for controlling the first microphone to be closed and the second microphone to be opened if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that an object is close to the second microphone, and controlling the first microphone to be opened and the second microphone to be closed if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone.
In a third aspect, a storage medium provided by an embodiment of the present application has a computer program stored thereon, which when executed on a computer causes the computer to perform the method for controlling a microphone as provided by any one of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a first sensing module, a second sensing module, a first microphone, a second microphone, a processor, and a memory, where a sensing end of the first sensing module is disposed near the first microphone, a sensing end of the second sensing module is disposed near the second microphone, and the memory has a computer program, where the processor is configured to execute a control method of the microphone provided in any embodiment of the present application by calling the computer program.
According to the microphone control method, the storage medium and the electronic device, the sensing end of the first sensing module is arranged close to the first microphone, and the sensing end of the second sensing module is arranged close to the second microphone, so that whether an object is close to the first microphone or not can be detected through the first sensing module, and whether the object is close to the second microphone or not can be detected through the second sensing module. If the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened; and if the first sensing module does not detect that the object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off. Therefore, the microphone which is not shielded can be used as the main microphone to carry out sound reception, so that the sound reception quality of the microphone can be effectively improved, and the experience feeling during communication and game communication is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is evident that the drawings in the following description are only some embodiments of the application and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of the electronic device shown in fig. 2 from another view angle.
Fig. 4 is a flowchart of a microphone control method according to an embodiment of the present application.
Fig. 5 is another flow chart of a microphone control method according to an embodiment of the present application.
Fig. 6 is a schematic connection diagram of a first capacitive touch circuit, a first communication radio frequency circuit, and a first radio frequency control circuit according to an embodiment of the present application.
Fig. 7 is a schematic connection diagram of a second capacitive touch circuit, a second communication radio frequency circuit, and a second radio frequency control circuit according to an embodiment of the present application.
Fig. 8 is a schematic connection diagram of a first capacitive touch circuit and a first capacitive sensor according to an embodiment of the present application.
Fig. 9 is a schematic connection diagram of a second capacitive touch circuit and a second capacitive sensor according to an embodiment of the present application.
Fig. 10 is a schematic diagram of a third structure of an electronic device according to an embodiment of the present application.
Fig. 11 is a schematic diagram of a fourth structure of an electronic device according to an embodiment of the present application.
Fig. 12 is a schematic diagram of a fifth structure of an electronic device according to an embodiment of the present application.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present application are illustrated in an appropriate computing environment. The following description is based on illustrative embodiments of the application and should not be taken as limiting other embodiments of the application not described in detail herein.
The term "module" as used herein may be considered as a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as implementing objects on the computing system. The apparatus and method described herein are preferably implemented in software, but may of course also be implemented in hardware, all within the scope of the application.
The embodiment of the application provides a microphone control method, an execution main body of the microphone control method can be a control device or an electronic device integrated with the microphone control device, wherein the microphone control device can be realized in a hardware or software mode. The electronic device may be a smart phone, a tablet computer, a palm computer (PDA, personal Digital Assistant), etc.
Referring to fig. 1, fig. 1 is a schematic diagram of a first structure of an electronic device according to an embodiment of the application. The electronic device 100 includes a touch screen 10, a microphone, and a housing 20, wherein the touch screen 10 is used to acquire a touch operation and generate a touch instruction. The housing 20 includes a bezel 21 and a back cover (not shown) on opposite sides of the electronic device 100, the bezel 21 being disposed around the touch screen 10, it being understood that a microphone is disposed within the housing 20, the housing 20 also being provided with a microphone aperture, such as may be provided in the bezel 21, through which the microphone may sound.
It will be appreciated that the electronic device 100 may be a foldable electronic device, such as a foldable cellular phone, or a non-foldable electronic device, such as a bar phone.
In the related art, the electronic device is usually held by a hand during use, and the microphone is easily blocked by the hand, so that the effects of communication and game communication are poor, and the experience is affected.
Referring to fig. 2 and 3, fig. 2 is a schematic diagram of a second structure of the electronic device according to the embodiment of the application. The electronic device 100 provided by the embodiment of the application may include a first sensing module, a second sensing module, a first microphone and a second microphone, where the sensing end of the first sensing module is disposed near the first microphone, and the sensing end of the second sensing module is disposed near the second microphone. It will be appreciated that the first microphone is listening through the first microphone aperture 221 and the second microphone is listening through the second microphone aperture 222.
For example, referring to fig. 2 and 3, the frame 21 of the electronic device 100 has a substantially rectangular structure, such as the frame 21 includes a first side 211 and a second side 212 disposed opposite to each other, and a third side 213 and a fourth side 214 disposed opposite to each other, and the third side 213 and the fourth side 214 are connected between the first side 211 and the second side 212, respectively.
The first microphone hole 221 and the second microphone hole 222 are disposed on two opposite sides of the frame 21, such as the first microphone hole 221 is disposed on the first side 211, the second microphone hole 222 is disposed on the second side 212, and it can be understood that the sensing end of the first sensing module is disposed on the first side 211 and near the first microphone hole 221, and the sensing end of the second sensing module is disposed on the second side 212 and near the second microphone hole 222.
Alternatively, the first microphone hole 221 is disposed on the third side 213, the second microphone hole 222 is disposed on the fourth side 214, and it can be appreciated that the sensing end of the first sensing module is disposed on the third side 213 and near the first microphone hole 221, and the sensing end of the second sensing module is disposed on the fourth side 214 and near the second microphone hole 222.
It may be further appreciated that, in order to facilitate induction of the induction end of the induction module, an induction piece may be further disposed on the frame 21, such as a first induction piece 31 and a second induction piece 32 may be disposed on the frame 21, where the first induction piece 31 is disposed near the first microphone hole 221 and is electrically connected to the induction end of the first induction module, and the second induction piece 32 is disposed near the second microphone hole 222 and is electrically connected to the induction end of the second induction module, so that the first induction module may perform induction through the first induction piece 31, and the second induction module may perform induction through the second induction piece 32.
By way of example, the sensing patch may be any conductive element such as a metal element, such as a metal sheet, a metal strip, a metal wire, etc., a conductive paste, a conductive film, a conductive plating, a metal trace, etc.
Referring to fig. 4, fig. 4 is a flowchart illustrating a microphone control method according to an embodiment of the application. The control method of the microphone comprises the following steps:
step S101, detecting whether an object is close to the first microphone by the first sensing module.
It will be appreciated that the sensing end of the first sensing module is disposed proximate to the first microphone, i.e., the sensing end of the first sensing module is adjacent to the first microphone. Thus, when the first sensing module detects that an object is close to the first microphone, the sensing end of the first sensing module is adjacent to the first microphone, so that the object can be characterized as being close to the first microphone, and the object has the risk of blocking the first microphone.
Step S102, detecting whether an object is close to the second microphone through the second sensing module.
It will be appreciated that the sensing end of the second sensing module is disposed proximate to the second microphone, i.e., the sensing end of the second sensing module is adjacent to the second microphone. Thus, when the second sensing module detects that an object is close to the second microphone, the sensing end of the second sensing module is adjacent to the second microphone, so that the object can be characterized as being close to the second microphone, and the object has the risk of blocking the second microphone.
Step S103, if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that an object is close to the second microphone, the first microphone is controlled to be turned off and the second microphone is controlled to be turned on.
It can be understood that at this time, since the first sensing module detects that an object is close to the first microphone, that is, the first microphone is blocked, the sound receiving effect of the first microphone is affected, and the second sensing module does not detect that an object is close to the second microphone, that is, the second microphone is not blocked, so that the second microphone can be used as the main microphone to receive sound, thereby effectively improving the sound receiving quality of the microphone and improving the experience feeling during communication and game connection.
In step S104, if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off.
It can be understood that at this time, since the second sensing module detects that an object is close to the second microphone, that is, the second microphone is blocked, the sound receiving effect of the second microphone is affected, and the first sensing module does not detect that an object is close to the first microphone, that is, the first microphone is not blocked, so that the first microphone can be used as the main microphone to receive sound, thereby effectively improving the sound receiving quality of the microphone and improving the experience feeling during communication and game connection.
As can be seen from the above, in the method for controlling a microphone according to the embodiment of the present application, whether an object is close to the first microphone may be detected by the first sensing module, and whether an object is close to the second microphone may be detected by the second sensing module. If the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened; and if the first sensing module does not detect that the object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off. Therefore, the microphone which is not shielded can be used as the main microphone to carry out sound reception, so that the sound reception quality of the microphone can be effectively improved, and the experience feeling during communication and game communication is improved.
Referring to fig. 5, fig. 5 is another flow chart of a microphone control method according to an embodiment of the application. It will be appreciated that there are also situations where both the first microphone and the second microphone are blocked, at which time both the first microphone and the second microphone may be in an on state.
The microphone control method comprises the following steps:
In step S201, whether an object is close to the first microphone is detected by the first sensing module.
It will be appreciated that the sensing end of the first sensing module is disposed proximate to the first microphone, i.e., the sensing end of the first sensing module is adjacent to the first microphone. Thus, when the first sensing module detects that an object is close to the first microphone, the sensing end of the first sensing module is adjacent to the first microphone, so that the object can be characterized as being close to the first microphone, and the object has the risk of blocking the first microphone.
In step S202, whether an object is close to the second microphone is detected by the second sensing module.
It will be appreciated that the sensing end of the second sensing module is disposed proximate to the second microphone, i.e., the sensing end of the second sensing module is adjacent to the second microphone. Thus, when the second sensing module detects that an object is close to the second microphone, the sensing end of the second sensing module is adjacent to the second microphone, so that the object can be characterized as being close to the second microphone, and the object has the risk of blocking the second microphone.
In step S203, if the first sensing module detects that the object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be turned off and the second microphone is controlled to be turned on.
It can be understood that at this time, since the first sensing module detects that an object is close to the first microphone, that is, the first microphone is blocked, the sound receiving effect of the first microphone is affected, and the second sensing module does not detect that an object is close to the second microphone, that is, the second microphone is not blocked, so that the second microphone can be used as the main microphone to receive sound, thereby effectively improving the sound receiving quality of the microphone and improving the experience feeling during communication and game connection.
In step S204, if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off.
It can be understood that at this time, since the second sensing module detects that an object is close to the second microphone, that is, the second microphone is blocked, the sound receiving effect of the second microphone is affected, and the first sensing module does not detect that an object is close to the first microphone, that is, the first microphone is not blocked, so that the first microphone can be used as the main microphone to receive sound, thereby effectively improving the sound receiving quality of the microphone and improving the experience feeling during communication and game connection.
In step S205, if the first sensing module detects that the object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, both the first microphone and the second microphone are controlled to be in the on state.
It can be understood that, at this time, since the first sensing module detects that an object is close to the first microphone, that is, the first microphone is blocked, and the second sensing module detects that an object is close to the second microphone, that is, the second microphone is blocked, the sound receiving quality of the first microphone and the sound receiving quality of the second microphone are affected, so that, in order to reduce the sound receiving quality of the electronic device 100 excessively, the first microphone and the second microphone can be controlled to be in an on state, thereby ensuring the sound receiving quality of the electronic device 100 and improving the experience feeling when communicating and playing with the microphone.
As can be seen from the above, in the method for controlling a microphone according to the embodiment of the present application, whether an object is close to the first microphone may be detected by the first sensing module, and whether an object is close to the second microphone may be detected by the second sensing module. If the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened; and if the first sensing module does not detect that the object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off. Therefore, the microphone which is not shielded can be used as the main microphone to carry out sound reception, so that the sound reception quality of the microphone can be effectively improved, and the experience feeling during communication and game communication is improved. In addition, if the first microphone and the second microphone are blocked, the first microphone and the second microphone can be controlled to be in the on state, so that the sound reception quality of the electronic device 100 can be ensured, and the experience feeling during communication and game communication is improved.
In some embodiments, to better determine if the microphone is actually blocked. In step S103, if the first sensing module detects that the object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be turned off and the second microphone is controlled to be turned on. This step may include: if the first sensing module detects that an object is close to the first microphone, the time when the object is close to the first microphone exceeds a first preset time, and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed, and the second microphone is controlled to be opened.
It will be appreciated that when the first sensing module detects that an object is approaching the first microphone, it is possible that the object leaves after a moment of approaching the first microphone, at this time, the object does not cause a blocking problem to the first microphone, so only when the first sensing module detects that the object is approaching the first microphone and the time of approaching the first microphone exceeds the first preset time, the first microphone is always in a blocked state in the first preset time, that is, the radio effect of the first microphone is affected, and therefore, if the first sensing module detects that the object is approaching the first microphone and the time of approaching the first microphone exceeds the first preset time, the first microphone is controlled to be turned off.
For example, the first preset time may be set according to actual needs, for example, the first preset time may be 100ms, that is, if the first sensing module detects that an object is close to the first microphone and the time when the object is close to the first microphone exceeds 100ms, and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be turned off and the second microphone is controlled to be turned on.
In step S104, if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off. This step may include: if the first sensing module does not detect that an object is close to the first microphone, the second sensing module detects that the object is close to the second microphone, and the time when the object is close to the second microphone exceeds a second preset time, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off.
It will be appreciated that when the second sensing module detects that an object approaches the second microphone, it is possible that the object leaves after a moment of approaching the second microphone, at this time, the object does not cause a blocking problem to the second microphone, so only when the second sensing module detects that the object approaches the second microphone and the time of approaching the object to the second microphone exceeds the second preset time, the second microphone is always in a blocked state in the second preset time, that is, the radio effect of the second microphone is affected, and therefore, if the second sensing module detects that the object approaches the second microphone and the time of approaching the object to the second microphone exceeds the second preset time, the second microphone is controlled to be turned off.
For example, the second preset time may be set according to actual needs, for example, the second preset time may be 100ms, that is, if the first sensing module does not detect that an object is close to the first microphone, the second sensing module detects that an object is close to the second microphone, and the time that the object is close to the second microphone exceeds 100ms, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off.
It can be understood that when the first sensing module detects whether an object is close to the first microphone, the first sensing module can determine according to the capacitance value change information detected by the first sensing module. It will be appreciated that the object may be a limb such as a human hand, although other electrical conductors are also possible.
In some embodiments, referring to fig. 6, fig. 6 is a schematic connection diagram of a first capacitive touch circuit, a first communication radio frequency circuit, and a first radio frequency control circuit according to an embodiment of the present application. The first sensing module 40 includes a first capacitive touch circuit 41 and a first communication radio frequency circuit 42, and the first capacitive touch circuit 41 is electrically connected to the first communication radio frequency circuit 42.
It can be appreciated that the first capacitive touch circuit 41 may detect a first coupling capacitance between the first communication radio frequency circuit 42 and the object, and the first communication radio frequency circuit 42 may communicate with the base station under the control of the radio frequency control circuit, where the radio frequency control circuit may be a radio frequency chip or the like. The first communication radio frequency circuit 42 may transmit or receive radio frequency signals as a radio frequency antenna under control of the radio frequency control circuit. That is, the first communication radio frequency circuit 42 may be multiplexed into a radio frequency antenna and a sense electrode that is a capacitive sensor or capacitor. That is, the first communication rf circuit 42 may transmit or receive rf signals, or may be used as a capacitive sensor or an inductive electrode of a capacitor to further obtain detection of a coupling capacitance. The first capacitive touch circuit 41 can detect the capacitance of the human body received by the capacitive sensing electrode or the capacitive sensor. In the embodiment of the application, the capacitive touch circuit is not particularly limited.
For example, the first communication rf circuit 42 may be electrically connected to the first sensing chip 31 on the frame 21, that is, the first sensing chip 31 and the first communication rf circuit 42 may be used as an antenna body. The first sensing piece 31 may be implemented or manufactured by using a flexible circuit board (Flexible Printed Circuit, FPC), a metal sheet (such as a stainless steel sheet), a laser direct structuring (Laser Direct structuring, LDS), a printing direct structuring (Print Direct Structuring, DS) or the like, and the first sensing piece 31 and the first communication rf circuit 42 are incorporated into an antenna system of the electronic device 100.
For example, the electronic device 100 further includes a first radio frequency control circuit 50, where the first radio frequency control circuit 50 is electrically connected to the first communication radio frequency circuit 42, and the method for controlling the microphone may further include: the first communication radio frequency circuit 42 is controlled to transmit or receive radio frequency signals by the first radio frequency control circuit 50.
The first rf control circuit 50 may be electrically connected to the first communication rf circuit 42 through an inductor, so that the first communication rf circuit 42 may be used as an rf antenna to send or receive rf signals under the control of the first rf control circuit 50. The first capacitive touch circuit 41 may be electrically connected to the first communication radio frequency circuit 42 through a capacitor, so that the first communication radio frequency circuit 42 serves as an induction electrode of the capacitor under the control of the first capacitive touch circuit 41, and a first coupling capacitance between the first communication radio frequency circuit 42 and a human body is detected. In the embodiment of the present invention, this is not particularly limited.
It should be noted that, the electronic device 100 may transmit or receive radio frequency signals through electromagnetic waves in general. However, the human body can absorb electromagnetic waves, and the radio frequency energy of the electromagnetic waves needs to be controlled so as to reduce the influence on the human body. Specific absorption rate (SAR, specific Absorption Ratio) is used, among other things, to characterize the energy of electromagnetic waves absorbed by the human body. Generally, the lower the SAR value, the smaller the influence of the emitted electromagnetic wave on the human body, so the SAR needs to be reduced to reduce the influence on the human body. In the present electronic device 100, the distance between the first communication rf circuit 42 and the human body is mainly determined, for example, the first coupling capacitance between the first communication rf circuit 42 and the human body is detected, and when the first coupling capacitance is greater than or equal to the first preset capacitance, it is indicated that the distance between the human body and the first communication rf circuit 42 is relatively short, and at this time, the transmitting power of the rf signal of the first communication rf circuit 42 can be reduced, so as to achieve the purpose of reducing SAR. That is, the SAR detection of the antenna is multiplexed in the present application, which can reduce the transmission power of the radio frequency signal of the first communication radio frequency circuit 42 (or the first microphone) when the human body approaches the first communication radio frequency circuit 42 (or the first microphone), or can control the first microphone to be turned off when the human body approaches the first communication radio frequency circuit 42 (or the first microphone).
It is understood that reducing the transmission power of the radio frequency signal of the first communication radio frequency circuit 42 refers to reducing the transmission power of the radio frequency signal of the first communication radio frequency circuit 42 to be lower than the transmission power of the radio frequency signal of the first communication radio frequency circuit 42 when the human body is not yet close to the first communication radio frequency circuit 42. The specific reduction of the maximum transmission power may be set according to practical situations, and the present application is not limited herein.
In some embodiments, based on multiplexing the first communication radio frequency circuit 42, in step S101, that is, in detecting whether an object is near the first microphone by the first sensing module 40, the step may include:
in step S1011, a first coupling capacitance between the first communication rf circuit 42 and the object is detected by the first capacitive touch circuit 41.
In step S1012, if the first coupling capacitance is greater than or equal to the first preset capacitance, the first sensing module 40 detects that an object is close to the first microphone.
In step S1013, if the first coupling capacitance is smaller than the first preset capacitance, the first sensing module 40 does not detect that an object is close to the first microphone.
It will be appreciated that when the object approaches the first communication rf circuit 42 (or the first microphone), the first capacitive touch circuit 41 detects that the first coupling capacitance between the first communication rf circuit 42 and the object increases to be greater than or equal to the first preset capacitance, which indicates that the object approaches the first microphone. When there is no obstruction in the vicinity of the first communication rf circuit 42 (or the first microphone), the first capacitive touch circuit 41 detects that the first coupling capacitance between the first communication rf circuit 42 and the object is much smaller than the value of the first preset capacitance. In this way, it is possible to determine whether the first microphone is blocked by the blocking object by detecting the capacitance value of the first coupling capacitance between the first communication rf circuit 42 and the object. The capacitance value of the first preset capacitor may be set as required, and in the embodiment of the present application, this is not particularly limited.
It is also understood that the second sensing module 60 is substantially identical to the first sensing module 40. When the second sensing module 60 detects whether an object is close to the second microphone, the judgment can be performed according to the capacitance value change information detected by the second sensing module 60. It will be appreciated that the object may be a limb such as a human hand, although other electrical conductors are also possible.
In some embodiments, referring to fig. 7, fig. 7 is a schematic diagram illustrating connection between a second capacitive touch circuit, a second communication rf circuit, and a second rf control circuit according to an embodiment of the present application. The second sensing module 60 includes a second capacitive touch circuit 61 and a second communication radio frequency circuit 62, and the second capacitive touch circuit 61 is electrically connected to the second communication radio frequency circuit 62.
It can be appreciated that the second capacitive touch circuit 61 can detect a second coupling capacitance between the second communication rf circuit 62 and the object, and the second communication rf circuit 62 can communicate with the base station under the control of the rf control circuit, where the rf control circuit can be an rf chip or the like. The second communication radio frequency circuit 62 may transmit or receive radio frequency signals as a radio frequency antenna under control of the radio frequency control circuit. That is, the second communication radio frequency circuit 62 may be multiplexed into a radio frequency antenna and a sense electrode that is a capacitive sensor or capacitor. That is, the second communication rf circuit 62 may transmit or receive rf signals, or may be used as a capacitive sensor or an inductive electrode of a capacitor to further obtain detection of the coupling capacitance. The second capacitive touch circuit 61 can detect the sensing electrode of the capacitance or the human body capacitance received by the capacitive sensor. In the embodiment of the application, the capacitive touch circuit is not particularly limited.
Illustratively, the second communication rf circuit 62 may be electrically connected to the second sensing strip 32 on the bezel 21, i.e., the second sensing strip 32 and the second communication rf circuit 62 may be used as an antenna body. The second sensing piece 32 may be implemented or manufactured by using a flexible circuit board (Flexible Printed Circuit, FPC), a metal sheet (such as a stainless steel sheet), a laser direct structuring (Laser Direct structuring, LDS), a printing direct structuring (Print Direct Structuring, DS), or the like, and the second sensing piece 32 and the second communication rf circuit 62 are incorporated into the antenna system of the electronic device 100.
For example, the electronic device 100 further includes a second radio frequency control circuit 70, and the second radio frequency control circuit 70 is electrically connected to the second communication radio frequency circuit 62, where the method for controlling the microphone may further include: the second communication radio frequency circuit 62 is controlled to transmit or receive radio frequency signals by the second radio frequency control circuit 70.
The second rf control circuit 70 may be electrically connected to the second communication rf circuit 62 through an inductor, so that the second communication rf circuit 62 may be used as an rf antenna to send or receive rf signals under the control of the second rf control circuit 70. The second capacitive touch circuit 61 may be electrically connected to the second communication radio frequency circuit 62 through a capacitor, so that the second communication radio frequency circuit 62 serves as an induction electrode of the capacitor under the control of the second capacitive touch circuit 61, and a second coupling capacitor between the second communication radio frequency circuit 62 and a human body is detected. In the embodiment of the present invention, this is not particularly limited.
It can be appreciated that the SAR detection of the antenna is multiplexed in the present application, which can reduce the transmission power of the radio frequency signal of the second communication radio frequency circuit 62 (or the second microphone) when the human body approaches the second communication radio frequency circuit 62 (or the second microphone), or can control the second microphone to be turned off when the human body approaches the second communication radio frequency circuit 62 (or the second microphone).
It is understood that reducing the transmission power of the rf signal of the second communication rf circuit 62 refers to reducing the transmission power of the rf signal of the second communication rf circuit 62 to be lower than the transmission power of the rf signal of the second communication rf circuit 62 when the human body is not yet close to the second communication rf circuit 62. The specific reduction of the maximum transmission power may be set according to practical situations, and the present application is not limited herein.
In some embodiments, based on multiplexing the second communication radio frequency circuit 62, in step S102, i.e. in detecting whether an object is close to the second microphone by the second sensing module 60, the step may comprise:
in step S1021, the second coupling capacitance between the second communication rf circuit 62 and the object is detected by the second capacitive touch circuit 61.
In step S1022, if the second coupling capacitance is greater than or equal to the second preset capacitance, the second sensing module 60 detects that an object is close to the second microphone.
In step S1023, if the second coupling capacitance is smaller than the second preset capacitance, the second sensing module 60 does not detect that an object is close to the second microphone.
It will be appreciated that when the object approaches the second communication rf circuit 62 (or the second microphone), the second capacitive touch circuit 61 detects that the second coupling capacitance between the second communication rf circuit 62 and the object increases to be greater than or equal to the second preset capacitance, which indicates that the object approaches the second microphone. When there is no obstruction in the vicinity of the second communication rf circuit 62 (or the second microphone), the second capacitive touch circuit 61 detects that the second coupling capacitance between the second communication rf circuit 62 and the object is much smaller than the value of the second preset capacitance. In this way, it is possible to determine whether the second microphone is blocked by the blocking object by detecting the capacitance value of the second coupling capacitor between the second communication rf circuit 62 and the object. The capacitance value of the second preset capacitor may be set as required, and in the embodiment of the present invention, this is not particularly limited.
In some embodiments, the first communication radio frequency circuit 42 may not be used as a sensing electrode for detecting the capacitance value change. It may be that a capacitive sensor is directly arranged to detect a change in capacitance value.
For example, referring to fig. 8, fig. 8 is a schematic connection diagram of a first capacitive touch circuit and a first capacitive sensor according to an embodiment of the application. At this time, the first sensing module 40 includes a first capacitive touch circuit 41 and a first capacitive sensor 43, and the first capacitive touch circuit 41 is electrically connected to the first capacitive sensor 43.
It will be appreciated that the first capacitive touch circuit 41 may detect a first coupling capacitance between the first capacitive sensor 43 and the object. The first capacitive touch circuit 41 can detect the capacitance of the human body received by the capacitive sensing electrode or the capacitive sensor. In the embodiment of the application, the capacitive touch circuit is not particularly limited.
Illustratively, the first capacitive sensor 43 may be electrically connected to the first inductive pad 31 on the bezel 21. In order to detect a change in capacitance.
At this time, in step S101, whether an object is near the first microphone is detected by the first sensing module 40, which includes:
in step S1015, the first capacitive touch circuit 41 detects a first coupling capacitance between the first capacitive sensor 43 and the object.
In step S1016, if the first coupling capacitance is greater than or equal to the first preset capacitance, the first sensing module 40 detects that an object is close to the first microphone.
In step S1017, if the first coupling capacitance is smaller than the first preset capacitance, the first sensing module 40 does not detect that an object is close to the first microphone.
It will be appreciated that when the object approaches the first capacitive sensor 43 (or the first microphone), the first capacitive touch circuit 41 detects that the first coupling capacitance between the first capacitive sensor 43 and the object increases to be greater than or equal to the first preset capacitance, which indicates that the object approaches the first microphone. When there is no obstruction in the vicinity of the first capacitive sensor 43 (or first microphone), the first capacitive touch circuit 41 detects that the first coupling capacitance between the first capacitive sensor 43 and the object is much smaller than the value of the first preset capacitance. In this way, it is possible to determine whether the first microphone is blocked by the blocking object by detecting the capacitance value of the first coupling capacitance between the first capacitive sensor 43 and the object. The capacitance value of the first preset capacitor may be set as required, and in the embodiment of the present application, this is not particularly limited.
It can be further understood that, in the case of not multiplexing the second communication rf circuit 62, please refer to fig. 9, fig. 9 is a schematic diagram of connection between the second capacitive touch circuit and the second capacitive sensor according to an embodiment of the present application. The second sensing module 60 includes a second capacitive touch circuit 61 and a second capacitive sensor 63, and the second capacitive touch circuit 61 is electrically connected to the second capacitive sensor 63.
It will be appreciated that the second capacitive touch circuit 61 may detect a second coupling capacitance between the second capacitive sensor 63 and the object. The second capacitive touch circuit 61 can detect the sensing electrode of the capacitance or the human body capacitance received by the capacitive sensor. In the embodiment of the invention, the capacitive touch circuit is not particularly limited.
Illustratively, the second capacitive sensor 63 may be electrically connected to the second inductive pad 32 on the bezel 21. In order to detect a change in capacitance.
At this time, in step S102, that is, in detecting whether an object approaches the second microphone by the second sensing module 60, the step may include:
in step S1025, a second coupling capacitance between the second capacitive sensor 63 and the object is detected by the second capacitive touch circuit 61.
In step S1026, if the second coupling capacitance is greater than or equal to the second preset capacitance, the second sensing module 60 detects that an object is close to the second microphone.
In step S1027, if the second coupling capacitance is smaller than the second preset capacitance, the second sensing module 60 does not detect that an object is close to the second microphone.
It will be appreciated that when the object approaches the second capacitive sensor 63 (or the second microphone), the second capacitive touch circuit 61 detects that the second coupling capacitance between the second capacitive sensor 63 and the object increases to be greater than or equal to the second preset capacitance, which indicates that the object approaches the second microphone. When there is no obstruction in the vicinity of the second capacitive sensor 63 (or the second microphone), the second capacitive touch circuit 61 detects that the second coupling capacitance between the second capacitive sensor 63 and the object is much smaller than the value of the second preset capacitance. In this way, it is possible to determine whether the second microphone is blocked by the blocking object by detecting the capacitance value of the second coupling capacitance between the second capacitive sensor 63 and the object. The capacitance value of the second preset capacitor may be set as required, and in the embodiment of the present invention, this is not particularly limited.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred, and that the acts are not necessarily all required in accordance with the embodiments of the application.
In order to facilitate better implementation of the microphone control method provided by the embodiment of the application, the embodiment of the application also provides an electronic device based on the microphone control method. The meaning of the term is the same as that of the microphone control method, and specific implementation details can be referred to in the description of the method embodiment.
Referring to fig. 10, fig. 10 is a schematic diagram of a third structure of an electronic device according to an embodiment of the application. Specifically, the electronic device 100 includes a control module 80, a first sensing module 40, a second sensing module 60, a first microphone 91 and a second microphone 92, where a sensing end of the first sensing module 40 is disposed near the first microphone 91 and a sensing end of the second sensing module 60 is disposed near the second microphone 92.
The first sensing module 40 is used for detecting whether an object is close to the first microphone 91.
The second sensing module 60 is used to detect whether an object is near the second microphone 92.
The control module 80 is configured to control the first microphone 91 to be turned off and the second microphone 92 to be turned on if the first sensing module 40 detects that an object is near the first microphone 91 and the second sensing module 60 does not detect that an object is near the second microphone 92, and to control the first microphone 91 to be turned on and the second microphone 92 to be turned off if the first sensing module 40 does not detect that an object is near the first microphone 91 and the second sensing module 60 detects that an object is near the second microphone 92.
The control module 80 is further configured to control the first microphone 91 and the second microphone 92 to be in an on state if the first sensing module 40 detects that an object is close to the first microphone 91 and the second sensing module 60 detects that an object is close to the second microphone 92.
In some embodiments, the first sensing module 40 includes a first capacitive touch circuit 41 and a first communication radio frequency circuit 42, and the first capacitive touch circuit 41 is electrically connected to the first communication radio frequency circuit 42.
The first capacitive touch circuit 41 is configured to detect a first coupling capacitance between the first communication rf circuit 42 and the object.
If the first coupling capacitance is greater than or equal to the first preset capacitance, the first sensing module 40 detects that an object is near the first microphone 91.
If the first coupling capacitance is smaller than the first preset capacitance, the first sensing module 40 does not detect that an object is close to the first microphone 91.
The second sensing module 60 includes a second capacitive touch circuit 61 and a second communication radio frequency circuit 62, and the second capacitive touch circuit 61 is electrically connected to the second communication radio frequency circuit 62.
The second capacitive touch circuit 61 is configured to detect a second coupling capacitance between the second communication rf circuit 62 and the object.
If the second coupling capacitance is greater than or equal to the second preset capacitance, the second sensing module 60 detects that an object is near the second microphone 92.
If the second coupling capacitance is smaller than the second preset capacitance, the second sensing module 60 does not detect that an object is near the second microphone 92.
In the electronic device 100 provided by the embodiment of the application, whether an object is close to the first microphone 91 can be detected by the first sensing module 40, and whether an object is close to the second microphone 92 can be detected by the second sensing module 60. If the first sensing module 40 detects that an object is close to the first microphone 91 and the second sensing module 60 does not detect that an object is close to the second microphone 92, the first microphone 91 is controlled to be turned off and the second microphone 92 is controlled to be turned on; if the first sensing module 40 does not detect that an object is close to the first microphone 91 and the second sensing module 60 detects that an object is close to the second microphone 92, the first microphone 91 is controlled to be turned on and the second microphone 92 is controlled to be turned off. Therefore, the microphone which is not shielded can be used as the main microphone to carry out sound reception, so that the sound reception quality of the microphone can be effectively improved, and the experience feeling during communication and game communication is improved. In addition, if the first microphone 91 and the second microphone 92 are blocked, the first microphone 91 and the second microphone 92 can be controlled to be in the on state, so that the sound receiving quality of the electronic device 100 can be ensured, and the experience feeling during communication and game connection can be improved.
It can be understood that, the electronic device 100 provided in the embodiment of the present application can implement each process implemented by the electronic device 100 in the embodiment of the method, and can achieve a corresponding beneficial effect, so that repetition is avoided, and no further description is given here.
The embodiment of the application also provides the electronic equipment 100. Referring to fig. 11, fig. 11 is a schematic diagram of a fourth structure of an electronic device according to an embodiment of the application. The electronic device 100 comprises a processor 101 and a memory 102. The processor 101 is electrically connected to the memory 102.
The processor 101 is a control center of the electronic device 100, connects various parts of the entire electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by running or loading computer programs stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the electronic device 100.
The memory 102 may be used to store software programs and modules, and the processor 101 may execute various functional applications and data processing by executing the computer programs and modules stored in the memory 102. The memory 102 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, a computer program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device 100, and the like. In addition, memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 102 may also include a memory controller to provide access to the memory 102 by the processor 101.
In the embodiment of the present application, the processor 101 in the electronic device 100 loads the instructions corresponding to the processes of one or more computer programs into the memory 102 according to the following steps, and the processor 101 executes the computer programs stored in the memory 102, so as to implement various functions, as follows:
detecting whether an object is close to the first microphone 91 by the first sensing module 40;
detecting whether an object is near the second microphone 92 by the second sensing module 60;
if the first sensing module 40 detects that an object is close to the first microphone 91 and the second sensing module 60 does not detect that an object is close to the second microphone 92, the first microphone 91 is controlled to be turned off and the second microphone 92 is controlled to be turned on;
if the first sensing module 40 does not detect that an object is close to the first microphone 91 and the second sensing module 60 detects that an object is close to the second microphone 92, the first microphone 91 is controlled to be turned on and the second microphone 92 is controlled to be turned off.
If the first sensing module 40 detects that an object is close to the first microphone 91 and the second sensing module 60 detects that an object is close to the second microphone 92, both the first microphone 91 and the second microphone 92 are controlled to be in an on state.
In some embodiments, when the first sensing module 40 includes the first capacitive touch circuit 41 and the first communication radio frequency circuit 42, the processor 101 may specifically perform the following steps:
the first coupling capacitance between the first communication radio frequency circuit 42 and the object is detected by the first capacitive touch circuit 41.
If the first coupling capacitance is greater than or equal to the first preset capacitance, the first sensing module 40 detects that an object is near the first microphone 91.
If the first coupling capacitance is smaller than the first preset capacitance, the first sensing module 40 does not detect that an object is close to the first microphone 91.
In some embodiments, when the electronic device 100 further includes the first radio frequency control circuit 50, the first radio frequency control circuit 50 is electrically connected to the first communication radio frequency circuit 42, the processor 101 may specifically perform the following steps:
the first communication radio frequency circuit 42 is controlled to transmit or receive radio frequency signals by the first radio frequency control circuit 50.
In some embodiments, when the second sensing module 60 includes the second capacitive touch circuit 61 and the second communication radio frequency circuit 62, the processor 101 may specifically perform the following steps:
The second coupling capacitance between the second communication radio frequency circuit 62 and the object is detected by the second capacitive touch circuit 61.
If the second coupling capacitance is greater than or equal to the second preset capacitance, the second sensing module 60 detects that an object is near the second microphone 92.
If the second coupling capacitance is smaller than the second preset capacitance, the second sensing module 60 does not detect that an object is near the second microphone 92.
In some embodiments, when the electronic device 100 further includes the second radio frequency control circuit 70, the second radio frequency control circuit 70 is electrically connected to the second communication radio frequency circuit 62, the processor 101 may specifically perform the following steps:
the second communication radio frequency circuit 62 is controlled to transmit or receive radio frequency signals by the second radio frequency control circuit 70.
It can be understood that, the electronic device 100 provided in the embodiment of the present application can implement each process implemented by the electronic device 100 in the embodiment of the method, and can achieve a corresponding beneficial effect, so that repetition is avoided, and no further description is given here.
Referring to fig. 12, fig. 12 is a schematic diagram of a fifth structure of an electronic device according to an embodiment of the application. In some implementations, the electronic device 100 may further include: a display 103, radio frequency circuitry 104, audio circuitry 105, a first microphone 91, a second microphone 92, and a power supply 106. The display 103, the radio frequency circuit 104, the audio circuit 105, the first microphone 91, the second microphone 92, and the power supply 106 are electrically connected to the processor 101.
The display 103 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces that may be composed of graphics, text, icons, video, and any combination thereof. The display 103 may include a display panel, which in some embodiments may be configured in the form of a liquid crystal display 103 (Liquid Crystal Display, LCD), or an Organic Light-Emitting Diode (OLED), or the like.
The rf circuitry 104 may be configured to receive and transmit rf signals to and from a network device or other electronic device 100 via wireless communication to and from the network device or other electronic device 100 via wireless communication.
The audio circuit 105 may be used to provide an audio interface between a user and the electronic device 100 through speakers, microphones.
The first microphone 91 and the second microphone 92 may be used for receiving radio, so as to implement functions such as talking, voice control, game connection, etc.
The power supply 106 may be used to power the various components of the electronic device 100. In some embodiments, the power supply 106 may be logically connected to the processor 101 through a power supply 106 management system, so that functions such as charge, discharge, and power consumption management may be performed by the power supply 106 management system.
Although not shown in fig. 12, the electronic device 100 may further include a camera, a bluetooth module, etc., which will not be described herein.
The embodiment of the present application also provides a storage medium storing a computer program, which when executed on a computer, causes the computer to perform the method for controlling a microphone in any of the above embodiments, for example: detecting whether an object is close to the first microphone or not through the first sensing module; detecting whether an object is close to the second microphone or not through the second sensing module; if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened; and if the first sensing module does not detect that the object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, the first microphone is controlled to be turned on and the second microphone is controlled to be turned off.
In an embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It should be noted that, for the microphone control method according to the embodiment of the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the microphone control method according to the embodiment of the present application may be implemented by controlling related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution may include, for example, the flow of the embodiment of the microphone control method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the electronic device of the embodiment of the application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored on a computer readable storage medium such as read-only memory, magnetic or optical disk, etc.
The foregoing describes in detail a microphone control method, a storage medium and an electronic device provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (14)

1. The method for controlling the microphone is applied to electronic equipment and is characterized by comprising a first sensing module, a second sensing module, a first microphone and a second microphone, wherein the sensing end of the first sensing module is close to the first microphone, and the sensing end of the second sensing module is close to the second microphone, and the method comprises the following steps:
detecting whether an object is close to the first microphone through the first sensing module;
detecting whether an object is close to the second microphone through the second sensing module;
if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that the object is close to the second microphone, the first microphone is controlled to be closed and the second microphone is controlled to be opened;
And if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone, controlling the first microphone to be turned on and the second microphone to be turned off.
2. The method according to claim 1, wherein the method further comprises:
and if the first sensing module detects that an object is close to the first microphone and the second sensing module detects that the object is close to the second microphone, controlling the first microphone and the second microphone to be in an on state.
3. The method of claim 1, wherein the first sensing module comprises a first capacitive touch circuit and a first communication radio frequency circuit, the first capacitive touch circuit being electrically connected to the first communication radio frequency circuit;
the detecting, by the first sensing module, whether an object is near the first microphone includes:
detecting a first coupling capacitance between the first communication radio frequency circuit and an object through the first capacitance touch control circuit;
if the first coupling capacitance is larger than or equal to a first preset capacitance, the first sensing module detects that an object is close to the first microphone;
If the first coupling capacitance is smaller than a first preset capacitance, the first sensing module does not detect that an object is close to the first microphone.
4. The method of claim 3, wherein the electronic device further comprises a first radio frequency control circuit electrically connected to the first communication radio frequency circuit, the method further comprising:
and controlling the first communication radio frequency circuit to transmit or receive radio frequency signals through the first radio frequency control circuit.
5. The method of claim 1, wherein the second sensing module comprises a second capacitive touch circuit and a second communication radio frequency circuit, the second capacitive touch circuit being electrically connected to the second communication radio frequency circuit;
the detecting, by the second sensing module, whether an object is near the second microphone includes:
detecting a second coupling capacitance between the second communication radio frequency circuit and an object through the second capacitance touch control circuit;
if the second coupling capacitance is larger than or equal to a second preset capacitance, the second sensing module detects that an object is close to the second microphone;
if the second coupling capacitance is smaller than a second preset capacitance, the second sensing module does not detect that an object is close to the second microphone.
6. The method of claim 5, wherein the electronic device further comprises a second radio frequency control circuit electrically connected to the second communication radio frequency circuit, the method further comprising:
and controlling the second communication radio frequency circuit to transmit or receive radio frequency signals through the second radio frequency control circuit.
7. The method of claim 1, wherein the first sensing module comprises a first capacitive touch circuit and a first capacitive sensor, the first capacitive touch circuit being electrically connected to the first capacitive sensor;
the detecting, by the first sensing module, whether an object is near the first microphone includes:
detecting a first coupling capacitance between the first capacitive sensor and an object through the first capacitive touch circuit;
if the first coupling capacitance is larger than or equal to a first preset capacitance, the first sensing module detects that an object is close to the first microphone;
if the first coupling capacitance is smaller than a first preset capacitance, the first sensing module does not detect that an object is close to the first microphone.
8. The method of claim 7, wherein the second sensing module comprises a second capacitive touch circuit and a second capacitive sensor, the second capacitive touch circuit being electrically connected to the second capacitive sensor;
The detecting, by the second sensing module, whether an object is near the second microphone includes:
detecting a second coupling capacitance between the second capacitive sensor and the object through the second capacitive touch circuit;
if the second coupling capacitance is larger than or equal to a second preset capacitance, the second sensing module detects that an object is close to the second microphone;
if the second coupling capacitance is smaller than a second preset capacitance, the second sensing module does not detect that an object is close to the second microphone.
9. The electronic device is characterized by comprising a control module, a first sensing module, a second sensing module, a first microphone and a second microphone, wherein the sensing end of the first sensing module is close to the first microphone, and the sensing end of the second sensing module is close to the second microphone;
the first sensing module is used for detecting whether an object is close to the first microphone;
the second sensing module is used for detecting whether an object is close to the second microphone;
the control module is used for controlling the first microphone to be closed and the second microphone to be opened if the first sensing module detects that an object is close to the first microphone and the second sensing module does not detect that an object is close to the second microphone, and controlling the first microphone to be opened and the second microphone to be closed if the first sensing module does not detect that an object is close to the first microphone and the second sensing module detects that an object is close to the second microphone.
10. The electronic device of claim 9, wherein the control module is further configured to control both the first microphone and the second microphone to be in an on state if the first sensing module detects that an object is near the first microphone and the second sensing module detects that an object is near the second microphone.
11. The electronic device of claim 9, wherein the first sensing module comprises a first capacitive touch circuit and a first communication radio frequency circuit, the first capacitive touch circuit being electrically connected to the first communication radio frequency circuit;
the first capacitive touch circuit is used for detecting a first coupling capacitance between the first communication radio frequency circuit and an object;
if the first coupling capacitance is larger than or equal to a first preset capacitance, the first sensing module detects that an object is close to the first microphone;
if the first coupling capacitance is smaller than a first preset capacitance, the first sensing module does not detect that an object is close to the first microphone.
12. The electronic device of claim 11, wherein the second sensing module comprises a second capacitive touch circuit and a second communication radio frequency circuit, the second capacitive touch circuit being electrically connected to the second communication radio frequency circuit;
The second capacitive touch circuit is used for detecting a second coupling capacitance between the second communication radio frequency circuit and an object;
if the second coupling capacitance is larger than or equal to a second preset capacitance, the second sensing module detects that an object is close to the second microphone;
if the second coupling capacitance is smaller than a second preset capacitance, the second sensing module does not detect that an object is close to the second microphone.
13. A storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of controlling a microphone according to any of claims 1-8.
14. An electronic device, comprising a first sensing module, a second sensing module, a first microphone, a second microphone, a processor, and a memory, wherein a sensing end of the first sensing module is arranged near the first microphone, a sensing end of the second sensing module is arranged near the second microphone, the memory has a computer program, and the processor is configured to execute the microphone control method according to any one of claims 1-8 by calling the computer program.
CN202311057053.2A 2023-08-18 2023-08-18 Microphone control method, storage medium and electronic equipment Pending CN116866758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311057053.2A CN116866758A (en) 2023-08-18 2023-08-18 Microphone control method, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311057053.2A CN116866758A (en) 2023-08-18 2023-08-18 Microphone control method, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116866758A true CN116866758A (en) 2023-10-10

Family

ID=88232520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311057053.2A Pending CN116866758A (en) 2023-08-18 2023-08-18 Microphone control method, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116866758A (en)

Similar Documents

Publication Publication Date Title
CN111614840B (en) Antenna transmission power adjusting method, device, storage medium and mobile terminal
KR101798918B1 (en) Printed circuit board assembly, method for manufacturing the same and mobile terminal having the same
EP2546923B1 (en) Mobile terminal with antenna coil
KR101873407B1 (en) Mobile terminal
KR101580518B1 (en) Antenna and mobile terminal therein
US9621222B2 (en) Electronic device having sensor-combined antenna device
CN108491061B (en) Processing method and device of radio frequency antenna, storage medium and electronic equipment
CN109193123B (en) Electronic device, antenna radiator control method, and storage medium
KR101343586B1 (en) Display module and mobile terminal having the same
JP2012170071A (en) Mobile terminal controlling method in consideration of communication environment and mobile terminal supporting the same
CN108769401B (en) Signal detection method and related product
WO2018133665A1 (en) Fingerprint recognition module and electronic device
CN110221696B (en) Eyeball tracking method and related product
CN111211421A (en) Antenna tuning circuit and mobile terminal
CN108834206B (en) Control method of electronic device and electronic device
CN112995410B (en) Proximity detection method and related equipment
CN111970671B (en) Control method and device of near field communication module and electronic equipment
EP3869617B1 (en) Nfc antenna and electronic device
KR101923438B1 (en) A Touch panel and a mobile terminal having the same
CN116866758A (en) Microphone control method, storage medium and electronic equipment
KR101919785B1 (en) Mobile terminal
CN111668585B (en) Electronic device and antenna control method
CN219833028U (en) NFC antenna, NFC device and intelligent terminal
KR101529920B1 (en) Portable terminal
CN109257464B (en) Data transmission device of electronic equipment and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination