A control method of a microphone, a storage medium, and an electronic device
Patent Information
- Application Number
- CN202311057053.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-18
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2043-08-18
AI Technical Summary
例如,在使用电子设备进行通话或者玩游戏与队友交流时,需要通过麦克风进行语音交流,但是,电子设备在使用时通常需要用手进行握持,容易出现手挡住麦克风的情况,导致通话、游戏连麦时效果变差,影响体验感
[0015] This application provides a microphone control method, storage medium, and electronic device. By placing the sensing end of a first sensing module close to a first microphone and the sensing end of a second sensing module close to a second microphone, the first sensing module can detect whether an object is approaching the first microphone, and the second sensing module can detect whether an object is approaching the second microphone. If the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, the first microphone is turned off and the second microphone is turned on; if the first sensing module does not detect an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, the first microphone is turned on and the second microphone is turned off. In this way, the unobstructed microphone can be used as the main microphone for sound pickup, thereby effectively improving the microphone's sound pickup quality and enhancing the user experience during calls and game voice chat.
Smart Images

Figure CN116866758B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic equipment technology, and in particular to a microphone control method, storage medium, and electronic equipment. Background Technology
[0002] With the development of electronic devices, human-computer interaction between electronic devices and users is becoming increasingly important. In related technologies, electronic devices typically receive user input through screens, microphones, etc., to facilitate human-computer interaction, such as recording, voice control, or voice communication between users. For example, when using an electronic device to make calls or communicate with teammates in games, a microphone is needed for voice communication. However, electronic devices are usually held in the hand, which can easily lead to hands blocking the microphone, resulting in poor call quality and affecting the user experience. Summary of the Invention
[0003] A microphone control method, storage medium, and electronic device can improve the user experience during calls and game voice chat.
[0004] In a first aspect, embodiments of this application provide a microphone control method applied to an electronic device, the electronic device including 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 disposed close to the first microphone, and the sensing end of the second sensing module is disposed close to the second microphone, the method comprising:
[0005] The first sensing module detects whether an object is approaching the first microphone;
[0006] The second sensing module detects whether an object is approaching the second microphone;
[0007] If the first sensing module detects an object approaching the first microphone, and the second sensing module does not detect an object approaching the second microphone, then the first microphone is turned off and the second microphone is turned on.
[0008] If the first sensing module does not detect an object approaching the first microphone, and the second sensing module detects an object approaching the second microphone, then the first microphone is turned on and the second microphone is turned off.
[0009] Secondly, embodiments of this application provide an electronic device, which includes a control module, a first sensing module, a second sensing module, a first microphone, and a second microphone. The sensing end of the first sensing module is disposed close to the first microphone, and the sensing end of the second sensing module is disposed close to the second microphone.
[0010] The first sensing module is used to detect whether an object is approaching the first microphone;
[0011] The second sensing module is used to detect whether an object is approaching the second microphone;
[0012] The control module is configured to, if the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, control the first microphone to turn off and the second microphone to turn on; and to, if the first sensing module does not detect an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, control the first microphone to turn on and the second microphone to turn off.
[0013] Thirdly, the storage medium provided in the embodiments of this application stores a computer program thereon, which, when run on a computer, causes the computer to execute the microphone control method provided in any embodiment of this application.
[0014] Fourthly, embodiments of this application provide an electronic device, including a first sensing module, a second sensing module, a first microphone, a second microphone, a processor, and a memory. The sensing end of the first sensing module is disposed close to the first microphone, and the sensing end of the second sensing module is disposed close to the second microphone. The memory contains a computer program, and the processor executes the microphone control method provided in any embodiment of this application by calling the computer program.
[0015] This application provides a microphone control method, storage medium, and electronic device. By placing the sensing end of a first sensing module close to a first microphone and the sensing end of a second sensing module close to a second microphone, the first sensing module can detect whether an object is approaching the first microphone, and the second sensing module can detect whether an object is approaching the second microphone. If the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, the first microphone is turned off and the second microphone is turned on; if the first sensing module does not detect an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, the first microphone is turned on and the second microphone is turned off. In this way, the unobstructed microphone can be used as the main microphone for sound pickup, thereby effectively improving the microphone's sound pickup quality and enhancing the user experience during calls and game voice chat. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of a first structure of an electronic device provided in an embodiment of this application.
[0018] Figure 2 This is a schematic diagram of a second structure of an electronic device provided in an embodiment of this application.
[0019] Figure 3 for Figure 2 A schematic diagram of the electronic device from another perspective.
[0020] Figure 4 This is a flowchart illustrating a microphone control method provided in an embodiment of this application.
[0021] Figure 5 This is another schematic flowchart illustrating the microphone control method provided in an embodiment of this application.
[0022] Figure 6 This is a schematic diagram showing the connection of the first capacitive touch circuit, the first communication radio frequency circuit, and the first radio frequency control circuit provided in the embodiments of this application.
[0023] Figure 7 This is a schematic diagram showing the connection of the second capacitive touch circuit, the second communication radio frequency circuit, and the second radio frequency control circuit provided in the embodiments of this application.
[0024] Figure 8 This is a schematic diagram showing the connection between the first capacitive touch circuit and the first capacitive sensor provided in an embodiment of this application.
[0025] Figure 9 This is a schematic diagram showing the connection between the second capacitive touch circuit and the second capacitive sensor provided in an embodiment of this application.
[0026] Figure 10 This is a schematic diagram of a third structure of an electronic device provided in an embodiment of this application.
[0027] Figure 11 This is a schematic diagram of a fourth structure of an electronic device provided in an embodiment of this application.
[0028] Figure 12 This is a fifth structural schematic diagram of the electronic device provided in the embodiments of this application. Specific Implementation
[0029] Please refer to the diagrams, where the same component symbols represent the same components. The principles of this application are illustrated by way of example implementation in a suitable computing environment. The following description is based on the specific embodiments of this application exemplified, and should not be construed as limiting other specific embodiments not detailed herein.
[0030] The term "module" as used herein can be considered as a software object executing on the computing system. The different components, modules, engines, and services described herein can be considered as implementation objects on the computing system. The apparatus and method described herein are preferably implemented in software, but can also be implemented in hardware, both of which are within the scope of this application.
[0031] This application provides a microphone control method. The subject executing the microphone control method can be a control device or an electronic device integrating the microphone control device. The microphone control device can be implemented in hardware or software. The electronic device can be a smartphone, tablet computer, PDA (Personal Digital Assistant), etc.
[0032] Please see Figure 1 , Figure 1 This is a schematic diagram of a first structure of an electronic device provided in an embodiment of this application. The electronic device 100 includes a touch screen 10, a microphone, and a housing 20. The touch screen 10 is used to acquire touch operations and generate touch commands. The housing 20 includes a frame 21 and a back cover (not shown in the figure). The touch screen 10 and the back cover are located on opposite sides of the electronic device 100. The frame 21 surrounds the touch screen 10. It is understood that the microphone is disposed inside the housing 20. The housing 20 is also provided with a microphone hole. For example, a microphone hole can be provided in the frame 21, and the microphone can pick up sound through the microphone hole.
[0033] It is understandable that electronic device 100 can be a foldable electronic device, such as a foldable phone, or a non-foldable electronic device, such as a candybar phone.
[0034] It should be noted that in related technologies, electronic devices are usually held by hand during use, which can easily lead to the hand blocking the microphone, resulting in poor sound quality during calls and game voice chat, and affecting the user experience.
[0035] Based on this, please refer to Figure 2 and Figure 3 , Figure 2This is a second structural schematic diagram of the electronic device provided in an embodiment of this application. The electronic device 100 provided in this embodiment may include a first sensing module, a second sensing module, a first microphone, and a second microphone. The sensing end of the first sensing module is disposed close to the first microphone, and the sensing end of the second sensing module is disposed close to the second microphone. It is understood that the first microphone picks up sound through the first microphone hole 221, and the second microphone picks up sound through the second microphone hole 222.
[0036] For example, please continue reading Figure 2 and Figure 3 The frame 21 of the electronic device 100 is generally rectangular in shape. For example, the frame 21 includes a first side 211 and a second side 212 that are arranged opposite to each other, and a third side 213 and a fourth side 214 that are arranged opposite to each other. The third side 213 and the fourth side 214 are respectively connected between the first side 211 and the second side 212.
[0037] The first microphone hole 221 and the second microphone hole 222 are respectively disposed on opposite sides of the frame 21. For example, the first microphone hole 221 is disposed on the first side 211 and the second microphone hole 222 is disposed on the second side 212. It can be understood that the sensing end of the first sensing module is disposed on the first side 211 and close to the first microphone hole 221, and the sensing end of the second sensing module is disposed on the second side 212 and close to the second microphone hole 222.
[0038] Alternatively, the first microphone hole 221 is located on the third side 213, and the second microphone hole 222 is located on the fourth side 214. Understandably, the sensing end of the first sensing module is located on the third side 213 and close to the first microphone hole 221, and the sensing end of the second sensing module is located on the fourth side 214 and close to the second microphone hole 222.
[0039] It is also understandable that, in order to facilitate sensing by the sensing end of the sensing module, sensing plates can be set on the frame 21. For example, a first sensing plate 31 and a second sensing plate 32 can be set on the frame 21. The first sensing plate 31 is set close to the first microphone hole 221 and is electrically connected to the sensing end of the first sensing module. The second sensing plate 32 is set close to the second microphone hole 222 and is electrically connected to the sensing end of the second sensing module. In this way, the first sensing module can sense through the first sensing plate 31, and the second sensing module can sense through the second sensing plate 32.
[0040] For example, the sensing element can be any conductive component, such as a metal component, conductive adhesive, conductive film, conductive coating, metal trace, etc., wherein the metal component can be a metal sheet, metal strip, metal wire, etc.
[0041] Please see Figure 4 , Figure 4 This is a flowchart illustrating a microphone control method provided in an embodiment of this application. The microphone control method includes the following steps:
[0042] Step S101: Detect whether an object is approaching the first microphone using the first sensing module.
[0043] Understandably, the sensing end of the first sensing module is positioned close to the first microphone, meaning it is adjacent to the first microphone. Therefore, when the first sensing module detects an object approaching, since its sensing end is adjacent to the first microphone, it indicates that the object is also approaching the first microphone, and there is a risk that the object may block it.
[0044] Step S102: Detect whether an object is approaching the second microphone using the second sensing module.
[0045] Understandably, the sensing end of the second sensing module is positioned close to the second microphone, meaning it is adjacent to the second microphone. Therefore, when the second sensing module detects an object approaching, since its sensing end is adjacent to the second microphone, it indicates that the object is also approaching the second microphone, and there is a risk that the object may block it.
[0046] Step S103: If the first sensing module detects that an object is approaching the first microphone, and the second sensing module does not detect that an object is approaching the second microphone, then the first microphone is turned off and the second microphone is turned on.
[0047] Understandably, at this time, the first sensing module detects that an object is approaching the first microphone, which means that the first microphone is blocked, thus affecting the sound reception effect of the first microphone. On the other hand, the second sensing module does not detect that an object is approaching the second microphone, which means that the second microphone is not blocked. Therefore, the second microphone can be used as the main microphone for sound reception, thereby effectively improving the sound reception quality of the microphone and enhancing the experience when making calls or playing games.
[0048] Step S104: If the first sensing module does not detect an object approaching the first microphone, and the second sensing module detects an object approaching the second microphone, then control the first microphone to turn on and the second microphone to turn off.
[0049] Understandably, at this time, the second sensing module detects that an object is approaching the second microphone, which means that the second microphone is blocked, thus affecting the sound reception effect of the second microphone. On the other hand, the first sensing module does not detect that an object is approaching the first microphone, which means that the first microphone is not blocked. Therefore, the first microphone can be used as the main microphone for sound reception, thereby effectively improving the sound reception quality of the microphone and enhancing the experience when making calls or playing games.
[0050] As can be seen from the above, the microphone control method provided in this application embodiment can detect whether an object is approaching the first microphone through a first sensing module and whether an object is approaching the second microphone through a second sensing module. If the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, then the first microphone is controlled to be turned off and the second microphone is turned on; if the first sensing module does not detect an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, then the first microphone is controlled to be turned on and the second microphone is turned off. In this way, the unobstructed microphone can be used as the main microphone for sound pickup, thereby effectively improving the microphone's sound pickup quality and enhancing the user experience during calls and game voice chat.
[0051] Please see Figure 5 , Figure 5 This is another schematic flowchart illustrating the microphone control method provided in an embodiment of this application. It is understood that there are also cases where both the first microphone and the second microphone are blocked; in this case, both the first microphone and the second microphone can be in an on / off state.
[0052] The microphone control method includes the following steps:
[0053] Step S201: Detect whether an object is approaching the first microphone using the first sensing module.
[0054] Understandably, the sensing end of the first sensing module is positioned close to the first microphone, meaning it is adjacent to the first microphone. Therefore, when the first sensing module detects an object approaching, since its sensing end is adjacent to the first microphone, it indicates that the object is also approaching the first microphone, and there is a risk that the object may block it.
[0055] Step S202: The second sensing module detects whether an object is approaching the second microphone.
[0056] Understandably, the sensing end of the second sensing module is positioned close to the second microphone, meaning it is adjacent to the second microphone. Therefore, when the second sensing module detects an object approaching, since its sensing end is adjacent to the second microphone, it indicates that the object is also approaching the second microphone, and there is a risk that the object may block it.
[0057] Step S203: If the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, then the first microphone is turned off and the second microphone is turned on.
[0058] Understandably, at this time, the first sensing module detects that an object is approaching the first microphone, which means that the first microphone is blocked, thus affecting the sound reception effect of the first microphone. On the other hand, the second sensing module does not detect that an object is approaching the second microphone, which means that the second microphone is not blocked. Therefore, the second microphone can be used as the main microphone for sound reception, thereby effectively improving the sound reception quality of the microphone and enhancing the experience when making calls or playing games.
[0059] Step S204: If the first sensing module does not detect an object approaching the first microphone, and the second sensing module detects an object approaching the second microphone, then control the first microphone to turn on and the second microphone to turn off.
[0060] Understandably, at this time, the second sensing module detects that an object is approaching the second microphone, which means that the second microphone is blocked, thus affecting the sound reception effect of the second microphone. On the other hand, the first sensing module does not detect that an object is approaching the first microphone, which means that the first microphone is not blocked. Therefore, the first microphone can be used as the main microphone for sound reception, thereby effectively improving the sound reception quality of the microphone and enhancing the experience when making calls or playing games.
[0061] Step S205: If the first sensing module detects an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, then both the first and second microphones are controlled to be turned on.
[0062] Understandably, at this time, because the first sensing module detects that an object is approaching the first microphone, that is, the first microphone is blocked, and the second sensing module detects that an object is approaching the second microphone, that is, the second microphone is also blocked, the sound reception quality of both the first and second microphones is affected. Therefore, in order not to reduce the sound reception quality of the electronic device 100 too much, the first and second microphones can be kept in the on state, thereby ensuring the sound reception quality of the electronic device 100 and improving the experience of making calls and playing games.
[0063] As can be seen from the above, the microphone control method provided in this application embodiment can detect whether an object is approaching the first microphone through a first sensing module and whether an object is approaching the second microphone through a second sensing module. If the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, then the first microphone is controlled to be turned off and the second microphone is turned on; if the first sensing module does not detect an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, then the first microphone is controlled to be turned on and the second microphone is turned off. In this way, the unobstructed microphone can be used as the main microphone for sound pickup, thereby effectively improving the microphone's sound pickup quality and enhancing the user experience during calls and game voice chat. Furthermore, if both the first and second microphones are blocked, both the first and second microphones can be controlled to be in the on state, thereby ensuring the sound pickup quality of the electronic device 100% and improving the user experience during calls and game voice chat.
[0064] In some embodiments, to better determine whether the microphone is indeed blocked, in step S103, if the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, then the first microphone is controlled to turn off and the second microphone is controlled to turn on. This step may include: if the first sensing module detects an object approaching the first microphone, and the object has been near the first microphone for more than a first preset time, and the second sensing module does not detect an object approaching the second microphone, then the first microphone is controlled to turn off and the second microphone is controlled to turn on.
[0065] Understandably, when the first sensing module detects an object approaching the first microphone, the object may leave after a brief moment. In this case, the object will not block the first microphone. Therefore, only when the first sensing module detects an object approaching the first microphone and the object stays close to the first microphone for more than a first preset time will the first microphone be blocked for that first preset time, which means that the sound reception of the first microphone will be affected. Therefore, if the first sensing module detects an object approaching the first microphone and the object stays close to the first microphone for more than the first preset time, the first microphone will be turned off.
[0066] For example, the first preset time can be set according to actual needs. For instance, the first preset time can be 100ms. That is, if the first sensing module detects that an object is close to the first microphone and the object is close to the first microphone for more than 100ms, and the second sensing module does not detect that an object is close to the second microphone, then the first microphone is turned off and the second microphone is turned on.
[0067] In step S104, if the first sensing module does not detect an object approaching the first microphone, but the second sensing module detects an object approaching the second microphone, then the first microphone is turned on and the second microphone is turned off. This step may include: if the first sensing module does not detect an object approaching the first microphone, but the second sensing module detects an object approaching the second microphone, and the object has been near the second microphone for more than a second preset time, then the first microphone is turned on and the second microphone is turned off.
[0068] Understandably, when the second sensing module detects an object approaching the second microphone, the object may leave after a brief moment. In this case, the object will not block the second microphone. Therefore, only when the second sensing module detects an object approaching the second microphone and the object stays close to the second microphone for more than a second preset time will the second microphone be blocked for that entire second preset time, which will affect the microphone's sound reception. Therefore, the second sensing module will only control the second microphone to turn off if it detects an object approaching the second microphone and the object stays close to the second microphone for more than the second preset time.
[0069] For example, the second preset time can be set according to actual needs. For instance, the second preset time can be 100ms. That is, if the first sensing module does not detect an object approaching the first microphone, and the second sensing module detects an object approaching the second microphone, and the object approaches the second microphone for more than 100ms, then the first microphone is turned on and the second microphone is turned off.
[0070] Understandably, when the first sensing module detects whether an object is approaching the first microphone, it can make a judgment based on the change in capacitance value detected by the first sensing module. Understandably, the object can refer to a limb such as a human hand, or it can be other conductive objects.
[0071] In some embodiments, please refer to Figure 6 , Figure 6 This is a schematic diagram showing the connection of the first capacitive touch circuit, the first communication radio frequency circuit, and the first radio frequency control circuit provided in an embodiment of this 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 and the first communication radio frequency circuit 42 are electrically connected.
[0072] Understandably, the first capacitive touch circuit 41 can detect the first coupling capacitance between the first communication radio frequency circuit 42 and the object. The first communication radio frequency circuit 42 can communicate with a base station under the control of a radio frequency control circuit, which can be a radio frequency chip, etc. Under the control of the radio frequency control circuit, the first communication radio frequency circuit 42 can act as a radio frequency antenna to transmit or receive radio frequency signals. That is, the first communication radio frequency circuit 42 can be reused as a radio frequency antenna and as a sensing electrode of a capacitive sensor or capacitor. In other words, the first communication radio frequency circuit 42 can transmit or receive radio frequency signals, and can also act as a sensing electrode of a capacitive sensor or capacitor to detect the coupling capacitance. The first capacitive touch circuit 41 can detect the capacitance received by the human body through the sensing electrode of the capacitor or the capacitive sensor. In this embodiment of the invention, the capacitive touch circuit is not specifically limited.
[0073] For example, the first communication radio frequency circuit 42 can be electrically connected to the first sensing sheet 31 on the frame 21, that is, the first sensing sheet 31 and the first communication radio frequency circuit 42 can be used as the antenna body. The first sensing sheet 31 can adopt antenna implementation forms or manufacturing processes such as flexible printed circuit (FPC), metal sheet (such as stainless steel sheet), laser direct structuring (LDS), and print direct structuring (DS), so that the first sensing sheet 31 and the first communication radio frequency circuit 42 can be incorporated into the antenna system of the electronic device 100.
[0074] For example, the electronic device 100 also includes a first radio frequency control circuit 50, which is electrically connected to the first communication radio frequency circuit 42. In this case, the control method of the microphone may also include: controlling the first communication radio frequency circuit 42 to transmit or receive radio frequency signals through the first radio frequency control circuit 50.
[0075] The first radio frequency control circuit 50 can be electrically connected to the first communication radio frequency circuit 42 via an inductor, thereby facilitating the first communication radio frequency circuit 42 to act as a radio frequency antenna and transmit or receive radio frequency signals under the control of the first radio frequency control circuit 50. The first capacitive touch circuit 41 can be electrically connected to the first communication radio frequency circuit 42 via a capacitor, thereby facilitating the first communication radio frequency circuit 42 to act as a sensing electrode of the capacitor and detect the first coupling capacitance between the first communication radio frequency circuit 42 and the human body under the control of the first capacitive touch circuit 41. In this embodiment of the invention, no specific limitations are imposed.
[0076] It should be noted that electronic devices 100 typically transmit or receive radio frequency (RF) signals via electromagnetic waves. However, the human body also absorbs electromagnetic waves, necessitating control of the RF energy to reduce its impact on the human body. Specific Absorption Ratio (SAR) is used to characterize the energy of electromagnetic waves absorbed by the human body. Generally, the lower the SAR value, the less impact the emitted electromagnetic waves have on the human body; therefore, SAR reduction is necessary to minimize its influence. Currently, electronic devices 100 primarily reduce SAR by determining the proximity of the first communication RF circuit 42 to the human body, such as by detecting the first coupling capacitance between the first communication RF circuit 42 and the human body. If the first coupling capacitance is greater than or equal to a first preset capacitance, it indicates that the human body is close to the first communication RF circuit 42. In this case, the transmission power of the RF signal from the first communication RF circuit 42 can be reduced to achieve SAR reduction. In other words, this application reuses antenna SAR detection, which can both reduce the transmission power of the RF signal from the first communication RF circuit 42 (or the first microphone) when the human body approaches it, and also control the first microphone to shut down when the human body approaches the first communication RF circuit 42 (or the first microphone).
[0077] 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 a level lower than the transmission power of the radio frequency signal of the first communication radio frequency circuit 42 before a human body approaches it. The specific reduction level can be set according to actual conditions, and this application does not impose any restrictions here.
[0078] In some embodiments, based on the multiplexing of the first communication radio frequency circuit 42, in step S101, that is, in detecting whether an object is approaching the first microphone by the first sensing module 40, this step may include:
[0079] Step S1011: The first coupling capacitance between the first communication radio frequency circuit 42 and the object is detected by the first capacitive touch circuit 41.
[0080] In step S1012, if the first coupling capacitor is greater than or equal to the first preset capacitor, the first sensing module 40 detects that an object is approaching the first microphone.
[0081] Step S1013: If the first coupling capacitor is less than the first preset capacitor, then the first sensing module 40 does not detect any object approaching the first microphone.
[0082] Understandably, when an object approaches the first communication radio frequency circuit 42 (or the first microphone), the first capacitive touch circuit 41 detects that the first coupling capacitance between the first communication radio frequency circuit 42 and the object increases to be greater than or equal to a first preset capacitance, indicating that an object is approaching the first microphone. When there are no obstructions near the first communication radio frequency circuit 42 (or the first microphone), the first capacitive touch circuit 41 detects that the first coupling capacitance between the first communication radio frequency circuit 42 and the object is much smaller than the value of the first preset capacitance. Thus, by detecting the capacitance value of the first coupling capacitance between the first communication radio frequency circuit 42 and the object, it can be determined whether the first microphone is blocked by an obstruction. The capacitance value of the first preset capacitance can be set as needed, and in this embodiment of the invention, it is not specifically limited.
[0083] It is also understandable that the second sensing module 60 is largely the same as the first sensing module 40. When the second sensing module 60 detects whether an object is approaching the second microphone, it can make a judgment based on the capacitance value change information detected by the second sensing module 60. It is understandable that the object can refer to a limb such as a human hand, or other conductive objects.
[0084] In some embodiments, please refer to Figure 7 , Figure 7 This is a schematic diagram showing the connection of the second capacitive touch circuit, the second communication radio frequency circuit, and the second radio frequency control circuit provided in an embodiment of this 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 and the second communication radio frequency circuit 62 are electrically connected.
[0085] Understandably, the second capacitive touch circuit 61 can detect the second coupling capacitance between the second communication RF circuit 62 and the object. The second communication RF circuit 62 can communicate with a base station under the control of a RF control circuit, which can be an RF chip, etc. Under the control of the RF control circuit, the second communication RF circuit 62 can act as an RF antenna to transmit or receive RF signals. That is, the second communication RF circuit 62 can be reused as an RF antenna and as a capacitive sensor or a sensing electrode of a capacitor. In other words, the second communication RF circuit 62 can transmit or receive RF signals and can also act as a capacitive sensor or a sensing electrode of a capacitor to detect the coupling capacitance. The second capacitive touch circuit 61 can detect the capacitance received by the human body through the sensing electrode of the capacitor or the capacitive sensor. In this embodiment of the invention, the capacitive touch circuit is not specifically limited.
[0086] For example, the second communication radio frequency circuit 62 can be electrically connected to the second sensing element 32 on the frame 21, that is, the second sensing element 32 and the second communication radio frequency circuit 62 can be used as the antenna body. The second sensing element 32 can be implemented using antenna forms or manufacturing processes such as flexible printed circuit (FPC), metal sheet (e.g., stainless steel sheet), laser direct structuring (LDS), or print direct structuring (DS), integrating the second sensing element 32 and the second communication radio frequency circuit 62 into the antenna system of the electronic device 100.
[0087] For example, the electronic device 100 also includes a second radio frequency control circuit 70, which is electrically connected to the second communication radio frequency circuit 62. In this case, the control method of the microphone may also include: controlling the second communication radio frequency circuit 62 to transmit or receive radio frequency signals through the second radio frequency control circuit 70.
[0088] The second radio frequency control circuit 70 can be electrically connected to the second communication radio frequency circuit 62 via an inductor, thereby facilitating the second communication radio frequency circuit 62 to act as a radio frequency antenna and transmit or receive radio frequency signals under the control of the second radio frequency control circuit 70. The second capacitive touch circuit 61 can be electrically connected to the second communication radio frequency circuit 62 via a capacitor, thereby facilitating the second communication radio frequency circuit 62 to act as a sensing electrode of the capacitor and detect the second coupling capacitance between the second communication radio frequency circuit 62 and the human body under the control of the second capacitive touch circuit 61. In this embodiment of the invention, no specific limitations are imposed.
[0089] Understandably, this application reuses the antenna's SAR detection, which can reduce the transmission power of the second communication radio frequency circuit 62 (or the second microphone) when a human body approaches it, and can also control the second microphone to turn off when a human body approaches the second communication radio frequency circuit 62 (or the second microphone).
[0090] It is understood that reducing the transmission power of the radio frequency signal of the second communication radio frequency circuit 62 refers to reducing the transmission power of the radio frequency signal of the second communication radio frequency circuit 62 to a level lower than the transmission power of the second communication radio frequency circuit 62 before a human body approaches it. The specific reduction level can be set according to actual conditions, and this application does not impose any restrictions here.
[0091] In some embodiments, based on the multiplexing of the second communication radio frequency circuit 62, in step S102, that is, in detecting whether an object is approaching the second microphone by the second sensing module 60, this step may include:
[0092] Step S1021: The second coupling capacitance between the second communication radio frequency circuit 62 and the object is detected by the second capacitive touch circuit 61.
[0093] In step S1022, if the second coupling capacitor is greater than or equal to the second preset capacitor, the second sensing module 60 detects that an object is approaching the second microphone.
[0094] In step S1023, if the second coupling capacitor is less than the second preset capacitor, then the second sensing module 60 does not detect any object approaching the second microphone.
[0095] Understandably, when an object approaches the second communication radio frequency circuit 62 (or the second microphone), the second capacitive touch circuit 61 detects that the second coupling capacitance between the second communication radio frequency circuit 62 and the object increases to be greater than or equal to the second preset capacitance, indicating that an object is approaching the second microphone. When there are no obstructions near the second communication radio frequency circuit 62 (or the second microphone), the second capacitive touch circuit 61 detects that the second coupling capacitance between the second communication radio frequency circuit 62 and the object is much smaller than the value of the second preset capacitance. Thus, by detecting the capacitance value of the second coupling capacitance between the second communication radio frequency circuit 62 and the object, it can be determined whether the second microphone is blocked by an obstruction. The capacitance value of the second preset capacitance can be set as needed, and in this embodiment of the invention, it is not specifically limited.
[0096] In some embodiments, the first communication radio frequency circuit 42 may not be reused as a sensing electrode for detecting changes in capacitance. Instead, a capacitance sensor may be directly provided to detect changes in capacitance.
[0097] For example, please refer to Figure 8 , Figure 8 This is a schematic diagram showing the connection between the first capacitive touch circuit and the first capacitive sensor provided in an embodiment of this application. In this case, the first sensing module 40 includes a first capacitive touch circuit 41 and a first capacitive sensor 43, with the first capacitive touch circuit 41 and the first capacitive sensor 43 electrically connected.
[0098] Understandably, the first capacitive touch circuit 41 can detect the first coupling capacitance between the first capacitive sensor 43 and the object. Specifically, the first capacitive touch circuit 41 can detect the capacitance received by the human body via the sensing electrode of the capacitor or the capacitance sensor. In this embodiment of the invention, the capacitive touch circuit is not specifically limited.
[0099] For example, the first capacitance sensor 43 can be electrically connected to the first sensing element 31 on the frame 21 to facilitate the detection of changes in capacitance.
[0100] At this point, in step S101, the first sensing module 40 detects whether an object is approaching the first microphone. This step includes:
[0101] Step S1015: The first coupling capacitance between the first capacitive sensor 43 and the object is detected by the first capacitive touch circuit 41.
[0102] Step S1016: If the first coupling capacitor is greater than or equal to the first preset capacitor, the first sensing module 40 detects that an object is approaching the first microphone.
[0103] In step S1017, if the first coupling capacitor is less than the first preset capacitor, then the first sensing module 40 does not detect any object approaching the first microphone.
[0104] Understandably, when an 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 a first preset capacitance, indicating that an object is approaching the first microphone. When there are no obstructions near 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 is much smaller than the value of the first preset capacitance. Thus, by detecting the capacitance value of the first coupling capacitance between the first capacitive sensor 43 and the object, it can be determined whether the first microphone is blocked by an obstruction. The capacitance value of the first preset capacitance can be set as needed, and in this embodiment of the invention, it is not specifically limited.
[0105] It is also understandable that, without reusing the second communication RF circuit 62, please refer to [the relevant documentation]. Figure 9 , Figure 9 This is a schematic diagram showing the connection between the second capacitive touch circuit and the second capacitive sensor provided in an embodiment of this 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 and the second capacitive sensor 63 are electrically connected.
[0106] Understandably, the second capacitive touch circuit 61 can detect the second coupling capacitance between the second capacitive sensor 63 and the object. Specifically, the second capacitive touch circuit 61 can detect the capacitance received by the sensing electrode of the capacitor or the capacitance of the human body by the capacitive sensor. In this embodiment of the invention, the capacitive touch circuit is not specifically limited.
[0107] For example, the second capacitance sensor 63 can be electrically connected to the second sensing element 32 on the frame 21 to facilitate the detection of changes in capacitance.
[0108] At this point, in step S102, that is, in detecting whether an object is approaching the second microphone via the second sensing module 60, this step may include:
[0109] Step S1025: The second coupling capacitance between the second capacitive sensor 63 and the object is detected by the second capacitive touch circuit 61.
[0110] Step S1026: If the second coupling capacitor is greater than or equal to the second preset capacitor, the second sensing module 60 detects that an object is approaching the second microphone.
[0111] Step S1027: If the second coupling capacitor is less than the second preset capacitor, then the second sensing module 60 does not detect any object approaching the second microphone.
[0112] Understandably, when an 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, indicating that an object is approaching the second microphone. When there are no obstructions near 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. Thus, by detecting the capacitance value of the second coupling capacitance between the second capacitive sensor 63 and the object, it can be determined whether the second microphone is blocked by an obstruction. The capacitance value of the second preset capacitance can be set as needed, and in this embodiment of the invention, it is not specifically limited.
[0113] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential to the embodiments of this application.
[0114] To facilitate better implementation of the microphone control method provided in the embodiments of this application, the embodiments of this application also provide an electronic device based on the above-described microphone control method. The meanings of the terms used are the same as in the microphone control method described above, and specific implementation details can be found in the descriptions in the method embodiments.
[0115] Please see Figure 10 , Figure 10This is a schematic diagram of a third structure of an electronic device provided in an embodiment of this 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. The sensing end of the first sensing module 40 is disposed close to the first microphone 91, and the sensing end of the second sensing module 60 is disposed close to the second microphone 92.
[0116] The first sensing module 40 is used to detect whether an object is approaching the first microphone 91.
[0117] The second sensing module 60 is used to detect whether an object is approaching the second microphone 92.
[0118] The control module 80 is configured to, if the first sensing module 40 detects an object approaching the first microphone 91 and the second sensing module 60 does not detect an object approaching the second microphone 92, control the first microphone 91 to turn off and the second microphone 92 to turn on; and to, if the first sensing module 40 does not detect an object approaching the first microphone 91 and the second sensing module 60 detects an object approaching the second microphone 92, control the first microphone 91 to turn on and the second microphone 92 to turn off.
[0119] The control module 80 is further configured to control both the first microphone 91 and the second microphone 92 to be in the on state if the first sensing module 40 detects that an object is approaching the first microphone 91 and the second sensing module 60 detects that an object is approaching the second microphone 92.
[0120] In some embodiments, the first sensing module 40 includes a first capacitive touch circuit 41 and a first communication radio frequency circuit 42, wherein the first capacitive touch circuit 41 is electrically connected to the first communication radio frequency circuit 42.
[0121] The first capacitive touch circuit 41 is used to detect the first coupling capacitance between the first communication radio frequency circuit 42 and the object.
[0122] If the first coupling capacitor is greater than or equal to the first preset capacitor, the first sensing module 40 detects that an object is approaching the first microphone 91.
[0123] If the first coupling capacitor is less than the first preset capacitor, the first sensing module 40 does not detect any object approaching the first microphone 91.
[0124] The second sensing module 60 includes a second capacitive touch circuit 61 and a second communication radio frequency circuit 62, wherein the second capacitive touch circuit 61 and the second communication radio frequency circuit 62 are electrically connected.
[0125] The second capacitive touch circuit 61 is used to detect the second coupling capacitance between the second communication radio frequency circuit 62 and the object.
[0126] If the second coupling capacitor is greater than or equal to the second preset capacitor, the second sensing module 60 detects that an object is approaching the second microphone 92.
[0127] If the second coupling capacitor is less than the second preset capacitor, the second sensing module 60 does not detect any object approaching the second microphone 92.
[0128] An electronic device 100 provided in this application embodiment can detect whether an object is approaching a first microphone 91 via a first sensing module 40 and whether an object is approaching a second microphone 92 via a second sensing module 60. If the first sensing module 40 detects an object approaching the first microphone 91 and the second sensing module 60 does not detect an object approaching the second microphone 92, then the first microphone 91 is turned off and the second microphone 92 is turned on; if the first sensing module 40 does not detect an object approaching the first microphone 91 and the second sensing module 60 detects an object approaching the second microphone 92, then the first microphone 91 is turned on and the second microphone 92 is turned off. In this way, the unobstructed microphone can be used as the main microphone for sound pickup, thereby effectively improving the microphone's sound pickup quality and enhancing the user experience during calls and game voice chat. Furthermore, if both the first microphone 91 and the second microphone 92 are blocked, both the first microphone 91 and the second microphone 92 can be controlled to be in an on state, thereby ensuring the sound pickup quality of the electronic device 100 and improving the user experience during calls and game voice chat.
[0129] It is understood that the electronic device 100 provided in this application embodiment can implement the various processes implemented by the electronic device 100 in the above method embodiment and can achieve the corresponding beneficial effects. To avoid repetition, it will not be described again here.
[0130] This application also provides an electronic device 100. Please refer to... Figure 11 , Figure 11 This is a fourth structural schematic diagram of an electronic device provided in an embodiment of this application. The electronic device 100 includes a processor 101 and a memory 102. The processor 101 and the memory 102 are electrically connected.
[0131] The processor 101 is the control center of the electronic device 100. It connects various parts of the electronic device 100 through various interfaces and lines. By running or loading computer programs stored in the memory 102 and calling data stored in the memory 102, it performs various functions of the electronic device 100 and processes data, thereby monitoring the electronic device 100 as a whole.
[0132] The memory 102 can be used to store software programs and modules. The processor 101 executes various functional applications and data processing by running the computer programs and modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the electronic device 100, etc. In addition, the memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one 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 the processor 101 with access to the memory 102.
[0133] In this embodiment, 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 runs the computer programs stored in the memory 102 to realize various functions, as follows:
[0134] The first sensing module 40 detects whether an object is approaching the first microphone 91;
[0135] The second sensing module 60 detects whether an object is approaching the second microphone 92;
[0136] If the first sensing module 40 detects an object approaching the first microphone 91, and the second sensing module 60 does not detect an object approaching the second microphone 92, then the first microphone 91 is turned off and the second microphone 92 is turned on.
[0137] If the first sensing module 40 does not detect an object approaching the first microphone 91, and the second sensing module 60 detects an object approaching the second microphone 92, then the first microphone 91 is turned on and the second microphone 92 is turned off.
[0138] If the first sensing module 40 detects an object approaching the first microphone 91 and the second sensing module 60 detects an object approaching the second microphone 92, then both the first microphone 91 and the second microphone 92 will be turned on.
[0139] In some embodiments, when the first sensing module 40 includes a first capacitive touch circuit 41 and a first communication radio frequency circuit 42, the processor 101 may specifically execute the following steps:
[0140] The first coupling capacitance between the first communication radio frequency circuit 42 and the object is detected by the first capacitive touch circuit 41.
[0141] If the first coupling capacitor is greater than or equal to the first preset capacitor, the first sensing module 40 detects that an object is approaching the first microphone 91.
[0142] If the first coupling capacitor is less than the first preset capacitor, the first sensing module 40 does not detect any object approaching the first microphone 91.
[0143] In some embodiments, when the electronic device 100 further includes a first radio frequency control circuit 50, which is electrically connected to the first communication radio frequency circuit 42, the processor 101 may specifically execute the following steps:
[0144] The first radio frequency control circuit 50 controls the first communication radio frequency circuit 42 to transmit or receive radio frequency signals.
[0145] In some embodiments, when 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 processor 101 may specifically execute the following steps:
[0146] The second coupling capacitance between the second communication radio frequency circuit 62 and the object is detected by the second capacitive touch circuit 61.
[0147] If the second coupling capacitor is greater than or equal to the second preset capacitor, the second sensing module 60 detects that an object is approaching the second microphone 92.
[0148] If the second coupling capacitor is less than the second preset capacitor, the second sensing module 60 does not detect any object approaching the second microphone 92.
[0149] In some embodiments, when the electronic device 100 further includes a second radio frequency control circuit 70, which is electrically connected to the second communication radio frequency circuit 62, the processor 101 may specifically execute the following steps:
[0150] The second radio frequency control circuit 70 controls the second communication radio frequency circuit 62 to transmit or receive radio frequency signals.
[0151] It is understood that the electronic device 100 provided in this application embodiment can implement the various processes implemented by the electronic device 100 in the above method embodiment and can achieve the corresponding beneficial effects. To avoid repetition, it will not be described again here.
[0152] Please refer to the following: Figure 12 , Figure 12This is a fifth structural schematic diagram of the electronic device provided in the embodiments of this application. In some embodiments, the electronic device 100 may further include: a display 103, a radio frequency circuit 104, an audio circuit 105, a first microphone 91, a second microphone 92, and a power supply 106. The display 103, radio frequency circuit 104, audio circuit 105, first microphone 91, second microphone 92, and power supply 106 are electrically connected to the processor 101.
[0153] The display 103 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces, which can 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 as a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
[0154] The radio frequency circuit 104 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices 100 via wireless communication, and to transmit and receive signals with network devices or other electronic devices 100.
[0155] The audio circuit 105 can be used to provide an audio interface between the user and the electronic device 100 via a speaker or microphone.
[0156] The first microphone 91 and the second microphone 92 can be used for sound recording, enabling functions such as calls, voice control, and game voice chat.
[0157] The power supply 106 can be used to power various components of the electronic device 100. In some embodiments, the power supply 106 can be logically connected to the processor 101 through a power supply 106 management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power supply 106 management system.
[0158] although Figure 12 As not shown in the diagram, the electronic device 100 may also include a camera, Bluetooth module, etc., which will not be described in detail here.
[0159] This application embodiment also provides a storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to execute the microphone control method in any of the above embodiments, such as: detecting whether an object is approaching the first microphone through a first sensing module; detecting whether an object is approaching the second microphone through a second sensing module; if the first sensing module detects that an object is approaching the first microphone and the second sensing module does not detect that an object is approaching the second microphone, then controlling the first microphone to turn off and the second microphone to turn on; if the first sensing module does not detect that an object is approaching the first microphone and the second sensing module detects that an object is approaching the second microphone, then controlling the first microphone to turn on and the second microphone to turn off.
[0160] In the embodiments of this application, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0161] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0162] It should be noted that, regarding the microphone control method of the embodiments of this application, those skilled in the art will understand that all or part of the process of implementing the microphone control method of the embodiments of this application can be accomplished by a computer program controlling the related hardware. This computer program can be stored in a computer-readable storage medium, such as the memory of an electronic device, and executed by at least one processor within the electronic device. During execution, it can include the process of the embodiments of the microphone control method. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, etc.
[0163] For the electronic device of this application embodiment, its functional modules can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0164] The foregoing has provided a detailed description of a microphone control method, storage medium, and electronic device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A microphone control method, applied to electronic devices, characterized in that, The electronic device includes a first sensing module, a second sensing module, a first microphone, and a second microphone. The first sensing module includes a first capacitive touch circuit and a first communication radio frequency circuit, with the first capacitive touch circuit electrically connected to the first communication radio frequency circuit. The second sensing module includes a second capacitive touch circuit and a second communication radio frequency circuit, with the second capacitive touch circuit electrically connected to the second communication radio frequency circuit. The sensing end of the first sensing module is positioned close to the first microphone, and the sensing end of the second sensing module is positioned close to the second microphone. The method includes: Detecting whether an object is approaching the first microphone via the first sensing module includes: detecting the first coupling capacitance between the first communication radio frequency circuit and the object via the first capacitive touch circuit; if the first coupling capacitance is greater than or equal to the first preset capacitance, then it is determined that an object is approaching the first microphone. Detecting whether an object is approaching the second microphone via the second sensing module includes: detecting the second coupling capacitance between the second communication radio frequency circuit and the object via the second capacitive touch circuit; if the second coupling capacitance is greater than or equal to the second preset capacitance, it is determined that an object is approaching the second microphone. If the first sensing module detects an object approaching the first microphone, and the second sensing module does not detect an object approaching the second microphone, then the first microphone is turned off and the second microphone is turned on. If the first sensing module does not detect an object approaching the first microphone, and the second sensing module detects an object approaching the second microphone, then the first microphone is turned on and the second microphone is turned off.
2. The method according to claim 1, characterized in that, The method further includes: If the first sensing module detects an object approaching the first microphone, and the second sensing module detects an object approaching the second microphone, then both the first and second microphones are controlled to be turned on.
3. The method according to claim 1, characterized in that, The method further includes: If the first coupling capacitor is less than the first preset capacitor, then the first sensing module does not detect any object approaching the first microphone.
4. The method according to claim 3, characterized in that, The electronic device further includes a first radio frequency control circuit, which is electrically connected to the first communication radio frequency circuit. The method further includes: The first radio frequency control circuit controls the first communication radio frequency circuit to transmit or receive radio frequency signals.
5. The method according to claim 1, characterized in that, The method further includes: If the second coupling capacitor is less than the second preset capacitor, then the second sensing module does not detect any object approaching the second microphone.
6. The method according to claim 5, characterized in that, The electronic device further includes a second radio frequency control circuit, which is electrically connected to the second communication radio frequency circuit. The method further includes: The second radio frequency control circuit controls the second communication radio frequency circuit to transmit or receive radio frequency signals.
7. The method according to claim 1, characterized in that, The first sensing module includes a first capacitive touch circuit and a first capacitive sensor, wherein the first capacitive touch circuit is electrically connected to the first capacitive sensor; The step of detecting whether an object is approaching the first microphone via the first sensing module includes: The first coupling capacitance between the first capacitive touch circuit and the object is detected by the first capacitive sensor. If the first coupling capacitor is greater than or equal to the first preset capacitor, the first sensing module detects that an object is approaching the first microphone. If the first coupling capacitor is less than the first preset capacitor, then the first sensing module does not detect any object approaching the first microphone.
8. The method according to claim 7, characterized in that, The second sensing module includes a second capacitive touch circuit and a second capacitive sensor, wherein the second capacitive touch circuit is electrically connected to the second capacitive sensor; The step of detecting whether an object is approaching the second microphone via the second sensing module includes: The second coupling capacitance between the second capacitive touch circuit and the object is detected. If the second coupling capacitor is greater than or equal to the second preset capacitor, the second sensing module detects that an object is approaching the second microphone; If the second coupling capacitor is less than the second preset capacitor, then the second sensing module does not detect any object approaching the second microphone.
9. An electronic device, characterized in that, The electronic device includes a control module, a first sensing module, a second sensing module, a first microphone, and a second microphone. The first sensing module includes a first capacitive touch circuit and a first communication radio frequency circuit. The first capacitive touch circuit is electrically connected to the first communication radio frequency circuit. The second sensing module includes a second capacitive touch circuit and a second communication radio frequency circuit. The second capacitive touch circuit is electrically connected to the second communication radio frequency circuit. The sensing end of the first sensing module is located close to the first microphone, and the sensing end of the second sensing module is located close to the second microphone. The first sensing module is used to detect whether an object is approaching the first microphone. The first coupling capacitance between the first communication radio frequency circuit and the object is detected by the first capacitive touch circuit. If the first coupling capacitance is greater than or equal to the first preset capacitance, it is determined that an object is approaching the first microphone. The second sensing module is used to detect whether an object is approaching the second microphone. The second capacitive touch circuit detects the second coupling capacitance between the second communication radio frequency circuit and the object. If the second coupling capacitance is greater than or equal to the second preset capacitance, it is determined that an object is approaching the second microphone. The control module is configured to, if the first sensing module detects an object approaching the first microphone and the second sensing module does not detect an object approaching the second microphone, control the first microphone to turn off and the second microphone to turn on; and to, if the first sensing module does not detect an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, control the first microphone to turn on and the second microphone to turn off.
10. The electronic device according to claim 9, characterized in that, The control module is further configured to, if the first sensing module detects an object approaching the first microphone and the second sensing module detects an object approaching the second microphone, control both the first microphone and the second microphone to be in an on state.
11. The electronic device according to claim 9, characterized in that, If the first coupling capacitor is less than the first preset capacitor, then the first sensing module does not detect any object approaching the first microphone.
12. The electronic device according to claim 11, characterized in that, If the second coupling capacitor is less than the second preset capacitor, then the second sensing module does not detect any object approaching the second microphone.
13. A storage medium having a computer program stored thereon, characterized in that, When the computer program is run on a computer, it causes the computer to perform the microphone control method as described in any one of claims 1-8.
14. An electronic device, characterized in that, The device includes a first sensing module, a second sensing module, a first microphone, a second microphone, a processor, and a memory. The sensing end of the first sensing module is located close to the first microphone, and the sensing end of the second sensing module is located close to the second microphone. The memory contains a computer program, and the processor executes the microphone control method as described in any one of claims 1-8 by calling the computer program.
Citation Information
Patent Citations
Microphone switching method and electronic device using the same
CN107181853A
Voice pickup method and related product
CN108965600A
Electronic device and control method thereof
CN116365215A