CN115002612A - Microphone device and control method of electronic equipment - Google Patents

Microphone device and control method of electronic equipment Download PDF

Info

Publication number
CN115002612A
CN115002612A CN202210296175.6A CN202210296175A CN115002612A CN 115002612 A CN115002612 A CN 115002612A CN 202210296175 A CN202210296175 A CN 202210296175A CN 115002612 A CN115002612 A CN 115002612A
Authority
CN
China
Prior art keywords
microphone
connector
electronic device
electronic equipment
electronic
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
CN202210296175.6A
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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210296175.6A priority Critical patent/CN115002612A/en
Publication of CN115002612A publication Critical patent/CN115002612A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/08Mouthpieces; Microphones; Attachments therefor

Landscapes

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

Abstract

The application discloses a microphone device and a control method of electronic equipment. Wherein the microphone apparatus includes: the first connector is used for being connected with the electronic equipment; and the first resistor is connected between the microphone port of the first connector and the ground port of the first connector in series and is used for being identified as the microphone by the electronic equipment after the first connector is connected with the electronic equipment. The anti-eavesdropping method and the anti-eavesdropping system solve the technical problems that the cost of an anti-eavesdropping scheme is high and the effect is poor in the related art.

Description

Microphone device and control method of electronic equipment
Technical Field
The present disclosure relates to the field of information security, and in particular, to a microphone device and a method for controlling an electronic device.
Background
With the popularization of large-scale high-precision voice recognition, voice eavesdropping becomes a serious privacy disclosure risk. However, the anti-eavesdropping scheme provided in the related art is costly and inefficient. In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a microphone device and a control method of electronic equipment, and aims to at least solve the technical problems of high cost and poor effect of an anti-eavesdropping scheme in the related art.
According to an aspect of an embodiment of the present application, there is provided a microphone apparatus including: the first connector is used for being connected with electronic equipment; and the first resistor is connected between the microphone port of the first connector and the ground port of the first connector in series and is used for being identified as the microphone by the electronic equipment after the first connector is connected with the electronic equipment.
According to another aspect of the embodiments of the present application, there is also provided a method for controlling an electronic device, including: detecting whether the electronic equipment is connected with a microphone device, wherein the microphone device is the microphone device in the embodiment; after the electronic equipment is detected to be connected with the microphone device, identifying the microphone device to obtain an identification result, wherein the identification result is used for representing whether the microphone device is identified as a microphone or not; and switching the sound input equipment of the electronic equipment from a preset microphone to the microphone device under the condition that the microphone device is identified as the microphone as a result of the identification, wherein the preset microphone is a microphone carried by the electronic equipment.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program, wherein when the program runs, an apparatus in which the storage medium is controlled performs the control method of the electronic apparatus in the above embodiments.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: the electronic device comprises a processor and a memory, wherein the processor is used for operating the program stored in the memory, and the program executes the control method of the electronic device in the embodiment when running.
In the embodiment of the application, the microphone device may be composed of a first connector and a first resistor connected in series between a microphone port and a ground port of the first connector, and after the microphone device is connected with the electronic equipment, the microphone device may be identified as a microphone by the electronic equipment, so as to achieve the purpose of physically shielding the microphone carried by the electronic equipment. It is noted easily that, whole microphone device simple structure, the cost is lower, need not to send the interference audio frequency through the ultrasonic wave, avoids the user to expose for a long time in the ultrasonic wave environment, reaches and reduces the anti-eavesdropping cost, improves the anti-eavesdropping effect, promotes the technological effect that user experience felt, and then has solved the higher and relatively poor technical problem of effect of cost of anti-eavesdropping scheme among the correlation technique.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of a microphone arrangement according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an alternative microphone apparatus according to an embodiment of the present application;
fig. 3 is a block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a control method of an electronic device according to an embodiment of the present application;
fig. 4 is a flowchart of a control method of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a control device of an electronic apparatus according to an embodiment of the present application.
Fig. 6 is a block diagram of a computer terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
TRRS: tip Ring Sleeve, which may be a four-piece earphone-microphone plug.
Type-C: the USB interface has a standard appearance, has a small size, and can be applied to a PC and an interface type of external equipment.
Lightning: the lightning interface may be a proprietary connector specification.
TRS: tip Ring Sleeve, which may be a three-section headphone plug.
CTIA Standard/OMTP Standard: two standard standards that may refer to TRRS are left channel, right channel, ground and microphone, left channel, right channel, microphone and ground, respectively.
In order to prevent trojan monitoring, third-party software monitoring and wrong dialing/answering in a secure conference, the anti-eavesdropping scheme provided in the related technology mainly sends interference audio through ultrasonic waves, but has the following problems: the user feels uncomfortable after being exposed to a high-intensity ultrasonic environment for a long time; because the array type microphones are mostly adopted in the existing electronic equipment, the sound of all the microphones cannot be shielded simultaneously through ultrasonic waves.
In order to solve the problems, the application provides a low-cost hardware component level scheme, a fake microphone is simulated, a sound card chip is induced to identify the fake microphone, and the built-in microphone of the electronic equipment is physically shielded, so that a user can conveniently shield the microphone of the electronic equipment in a confidential conference, and the purposes of preventing Trojan horse monitoring, third-party software monitoring and wrong dialing/answering are achieved.
Example 1
According to an embodiment of the present application, there is provided a microphone apparatus. Fig. 1 is a schematic diagram of a microphone arrangement according to an embodiment of the present application. As shown in fig. 1, the microphone device 10 may include: a first connector 12, and a first resistor 14 connected in series between a microphone port 122 of the first connector 12 and a ground port 124 of the first connector 12.
The first connector 12 is used for connecting with an electronic device; the first resistor 14 is used to be recognized as a microphone by the electronic device after the first connector 12 is connected to the electronic device.
The first connector may be a connector commonly used at present, and the connector has a function of outputting an audio signal, i.e. a microphone, for example, the first connector may be a 3.5mm TRRS connector, a Type-C connector, or a Lightning connector. In order to make the microphone apparatus have functions of an earphone and a microphone, the first connector includes four ports, which are a left channel port, a right channel port, a ground port and a microphone port, and the arrangement order of the four ports is different according to different standards, which is not specifically limited in the present application. In order to simulate a false microphone, a first resistor with a suitable resistance may be connected in series between the microphone port and the ground port of the first connector 12, so that the electronic device may recognize the microphone apparatus as a microphone, and optionally, the first resistor may be a resistor with a target resistance selected from a plurality of preset resistors with different resistance values, and the target resistance may be around 2k Ω, for example, in the embodiment of the present application, the target resistance may be 2.4k Ω, but is not limited thereto.
The microphone device can be inserted into an electronic device through the first connector, where the electronic device can be a PC, a notebook computer, a smart phone, a tablet computer, and the like. After the first connector is connected with the electronic equipment, the electronic equipment needs to detect the microphone device, determine whether the earphone and the microphone are inserted, and if the earphone and the microphone are determined to be inserted, an operating system or a sound card chip of the electronic equipment shields the speaker and the microphone of the electronic equipment, outputs audio through the inserted earphone and inputs audio through the inserted microphone. Since the microphone device is loaded with no signal, the sound collected by the electronic device is blank.
In a conference use scenario, a PC or a notebook computer is used in most cases, and therefore, a TRRS connector is described as an example in the embodiment of the present application. Therefore, the microphone arrangement as a whole can be regarded as a TRRS joint with a small tail. In this scenario, if connection with an electronic device provided with an interface of another Type is required, optionally, the microphone device may be connected to the electronic device through an interface conversion line, for example, for an Android mobile phone with a Type-C interface, the microphone device may be connected to the Type-C conversion line, and the Type-C interface on the Type-C conversion line is inserted into the Android mobile phone; for the IPhone of the Lightning interface, the microphone device may be connected to the Lightning conversion line, and the Lightning interface on the Lightning conversion line may be plugged into the IPhone.
Through the scheme provided by the above embodiment of the application, the microphone device may be composed of the first connector and the first resistor connected in series between the microphone port and the ground port of the first connector, and after the microphone device is connected with the electronic device, the microphone device may be identified as a microphone by the electronic device, so as to achieve the purpose of physically shielding the microphone carried by the electronic device. It is noted easily that, whole microphone device simple structure, the cost is lower, need not to send the interference audio frequency through the ultrasonic wave, avoids the user to expose for a long time in the ultrasonic wave environment, reaches and reduces the anti-eavesdropping cost, improves the anti-eavesdropping effect, promotes the technological effect that user experience felt, and then has solved the higher and relatively poor technical problem of effect of cost of anti-eavesdropping scheme among the correlation technique.
In the above embodiment of the present application, the microphone apparatus further includes: and the second resistor is connected between the left channel port and the grounding port of the first connector in series and is used for being identified as the earphone by the electronic equipment after the first connector is connected with the electronic equipment.
For some electronic devices, it is first necessary to detect whether a headset is inserted and then to detect whether a microphone is inserted. Therefore, in order to expand the application range of the microphone device and ensure that the microphone device can be identified as a microphone by the electronic equipment in different application scenes, a second resistor with proper resistance value can be connected in series between the left channel port and the grounding port of the first connector, so that the electronic equipment can identify the microphone device as an earphone. The resistance value of the second resistor may be between 50 Ω and 200 Ω, for example, in the embodiment of the present application, the resistance value of the second resistor may be 100 Ω, but is not limited thereto.
In the above embodiments of the present application, the microphone apparatus further includes: and the third resistor is connected between the right channel port and the ground port of the first connector in series.
In an alternative embodiment, a third resistor with a suitable resistance value may be connected in series between the right channel port and the ground port of the first connector, and the resistance value of the third resistor may be between 50 Ω and 200 Ω, for example, in this embodiment, the resistance value of the third resistor may be 100 Ω, but is not limited thereto.
A preferred embodiment of the present application will be described below with reference to fig. 2, in which the first connector is a TRRS connector, and as shown in fig. 2, the microphone apparatus includes: TRRS connector 12, resistors R1, R2, and R3 (the second, third, and first resistors described above, respectively), where R1 is connected in series between left channel port 126 and ground port 124, R2 is connected in series between right channel port 128 and ground port 124, and R3 is connected in series between microphone port 122 and ground port 124. When a user needs to hold a confidential conference, the TRRS connector can be inserted into a computer used by the user, so that an operating system or a sound card chip of the computer can automatically identify the microphone device as a microphone, and automatically switch the microphone on the computer into a pseudo microphone simulated by the microphone device, so that trojans and third-party software on the computer can only monitor blank sounds, and can only hear blank sounds after misdialing/answering, thereby achieving the purpose of eavesdropping prevention.
In the above embodiments of the present application, the microphone apparatus further includes: and two input ends of the TRS socket are respectively connected with the left channel port of the first connector and the right channel port of the first connector, and the TRS socket is used for outputting the audio signal input by the first connector to the earphone after the earphone is inserted.
In a scene that a user participates in a teleconference or remote learning, the user often needs to hear sound in a computer, so that in order to expand the use range of the microphone device and facilitate use requirements of different users, the left sound channel port and the right sound channel port of the first connector can be led out to be connected with the TRS socket, when the user needs to hear the sound in the computer, the earphone can be inserted into the TRS socket, the computer identifies the earphone inserted by the user, transmits the sound in the computer to the TRS socket through the first connector, and further transmits the sound in the computer to the earphone through the TRS socket.
In the above-described embodiments of the present application, in the case where the first connector is a TRRS connector, the microphone device is connected to the electronic apparatus through the interface conversion line.
In most anti-eavesdrop scenes, often need prevent that PC or notebook computer from being monitored, and adopt the TRRS interface on PC or the notebook computer usually, consequently, can directly adopt TRRS to connect and constitute the microphone device, when scenes such as android mobile phone, IPhone, IPAD need be used to the user, TRRS connects and can't satisfy above-mentioned demand, can directly connect through Type-C crossover sub or Lightning crossover sub.
In the above embodiment of the present application, in a case where the first connector is a TRRS connector, the microphone apparatus further includes: the second joint is used for being connected with the electronic equipment; and the conversion circuit is connected between the first connector and the second connector and is used for transmitting audio signals between the first connector and the second connector.
In an optional embodiment, in order to meet the requirement of a user using an electronic device such as an android phone, an IPhone, and an IPAD for eavesdropping prevention, and avoid the user not preparing an interface conversion line, which may result in the failure of the purpose of eavesdropping prevention, a second connector (such as a Type-C connector or a Lightning connector) may be disposed in the microphone apparatus, and the second connector may be used as a connector connected to the electronic device. Therefore, the microphone device as a whole is a Type-C connector or Lightning connector with a tail.
In the above embodiments of the present application, the first joint includes: in the case of the conversion chip, the first resistor is connected to the conversion chip.
The existing Type-C connector or lighting connector is often provided with an ADC (Analog to Digital Converter) chip, in an alternative embodiment, in order to further reduce the volume of the microphone device, the Type-C connector or lighting connector may be used as the first connector, and the first resistor may be connected to the ADC chip (i.e. the above-mentioned conversion chip) in the connector, so that after the microphone device is connected to the electronic device, the microphone device can be identified by the electronic device as the microphone by setting the ADC chip to the operating state in which the microphone is connected. Therefore, the microphone device as a whole is a Type-C connector or Lightning connector with a small tail.
Example 2
There is also provided, in accordance with an embodiment of the present application, a method of controlling an electronic device, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Fig. 3 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing a control method of an electronic device. As shown in fig. 3, the computer terminal 30 (or mobile device) may include one or more processors (shown as 302a, 302b, … …, 302n in the figure) which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, a memory 304 for storing data, and a transmission device 306 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 3 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 30 may also include more or fewer components than shown in FIG. 3, or have a different configuration than shown in FIG. 3.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 30 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 304 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the control method of the electronic device in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, so as to implement the control method of the electronic device described above. The memory 304 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 304 may further include memory located remotely from the processor, which may be connected to the computer terminal 30 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 306 is used for receiving or sending data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 30. In one example, the transmission device 306 includes a Network Interface Controller (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 306 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with the user interface of the computer terminal 30 (or mobile device).
It should be noted here that in some alternative embodiments, the computer device (or mobile device) shown in fig. 3 above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 3 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or mobile device) described above.
Under the operating environment, the application provides a control method of the electronic device as shown in fig. 4. Fig. 4 is a flowchart of a control method of an electronic device according to an embodiment of the present application. As shown in fig. 4, the method may include the steps of:
step S402, detecting whether the electronic device is connected to a microphone device, where the microphone device is the microphone device in the above embodiment;
step S404, after detecting that the electronic equipment is connected with the microphone device, identifying the microphone device to obtain an identification result, wherein the identification result is used for representing whether the microphone device is identified as a microphone;
in step S406, in a case that the microphone device is identified as a microphone as a result of the identification, the sound input device of the electronic device is switched from a preset microphone to the microphone device, where the preset microphone is a microphone carried by the electronic device.
For the microphone device in the above embodiment, after the device is connected to the electronic device, the electronic device may detect that the device is connected, further may identify the device through an operating system or a sound card chip, determine whether the device is an earphone or a microphone, and after the device is identified as a microphone, may switch the microphone of the electronic device to the device, so as to achieve the purpose of preventing eavesdropping by using the microphone of the physical screen electronic device.
In the above embodiments of the present application, switching a sound input device of an electronic device from a preset microphone to a microphone device includes: stopping receiving a first audio signal output by a preset microphone; and receiving a second audio signal output by the microphone device.
In an alternative embodiment, after the microphone device is inserted into the electronic device and recognized as a microphone by the electronic device, the electronic device usually uses the microphone device as a sound input device to avoid using conflict, that is, the electronic device does not receive the sound input by the microphone device (i.e., the first audio signal) any more, but receives a blank sound input by the microphone device (i.e., the second audio signal), and therefore, the electronic device cannot capture the sound emitted by the user in the surrounding environment.
In the above-described embodiment of the present application, in a case where the microphone apparatus includes a TRS jack, the method further includes: detecting whether the TRS socket is connected with the earphone or not; in a case where the TRS jack is connected to the earphone, the third audio signal is output to the earphone through the microphone device.
In an alternative embodiment, in order to facilitate the user to hear the sound in the electronic device and expand the use range of the microphone apparatus, a TRS socket may be built in the microphone apparatus, when the user needs to hear the sound in the electronic device, the user may search the TRS socket with an earphone, after the electronic device detects that the earphone is inserted into the TRS socket and successfully recognizes, the sound in the electronic device (i.e., the third audio signal) may be transmitted to the earphone through the first interface and the TRS socket, and played by the earphone to the user.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
Example 3
According to an embodiment of the present application, there is also provided a control apparatus of an electronic device for implementing the control method of the electronic device, as shown in fig. 5, the apparatus 500 includes: a detection module 502, an identification module 504, and a switching module 506.
The detecting module 502 is configured to detect whether the electronic device is connected to a microphone device, where the microphone device is the microphone device in the foregoing embodiments; the identification module 504 is configured to identify the microphone apparatus after detecting that the electronic device is connected to the microphone apparatus, and obtain an identification result, where the identification result is used to characterize whether the microphone apparatus is identified as a microphone; the switching module 506 is configured to switch the sound input device of the electronic device from a preset microphone to the microphone apparatus if the microphone apparatus is identified as the microphone as a result of the identification, where the preset microphone is a microphone of the electronic device.
It should be noted here that the detection module 502, the identification module 504 and the switching module 506 correspond to steps S402 to S406 in embodiment 2, and the three modules are the same as the corresponding steps in implementation examples and application scenarios, but are not limited to the disclosure of embodiment 2. It should be noted that the above modules may be operated in the computer terminal 30 provided in embodiment 2 as a part of the apparatus.
In the above embodiments of the present application, the switching module is further configured to stop receiving a first audio signal output by a preset microphone; and receiving a second audio signal output by the microphone device.
In the above-described embodiment of the present application, in a case where the microphone apparatus includes a TRS jack, the apparatus further includes: and an output module.
The detection module is also used for detecting whether the TRS socket is connected with the earphone or not; the output module is used for outputting the third audio signal to the earphone through the microphone device under the condition that the TRS socket is connected with the earphone.
Example 4
The embodiment of the application can provide a computer terminal, and the computer terminal can be any one computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced with a terminal device such as a mobile terminal.
Optionally, in this embodiment, the computer terminal may be located in at least one network device of a plurality of network devices of a computer network.
In this embodiment, the computer terminal may execute program codes of the following steps in the control method of the electronic device: detecting whether the electronic equipment is connected with a microphone device, wherein the microphone device is the microphone device in the embodiment; after the electronic equipment is detected to be connected with the microphone device, identifying the microphone device to obtain an identification result, wherein the identification result is used for representing whether the microphone device is identified as a microphone or not; and switching the sound input equipment of the electronic equipment from a preset microphone to the microphone device under the condition that the microphone device is identified as the microphone as a result of the identification, wherein the preset microphone is a microphone carried by the electronic equipment.
Optionally, fig. 6 is a block diagram of a computer terminal according to an embodiment of the present application. As shown in fig. 6, the computer terminal a may include: one or more processors 602 (only one of which is shown), and a memory 604.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the control method and apparatus for an electronic device in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, so as to implement the control method for an electronic device. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, which may be connected to terminal a through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: detecting whether the electronic equipment is connected with a microphone device, wherein the microphone device is the microphone device in the embodiment; after the electronic equipment is detected to be connected with the microphone device, identifying the microphone device to obtain an identification result, wherein the identification result is used for representing whether the microphone device is identified as a microphone or not; and switching the sound input equipment of the electronic equipment from a preset microphone to the microphone device under the condition that the microphone device is identified as the microphone as a result of the identification, wherein the preset microphone is a microphone carried by the electronic equipment.
Optionally, the processor may further execute the program code of the following steps: stopping receiving a first audio signal output by a preset microphone; and receiving a second audio signal output by the microphone device.
Optionally, the processor may further execute the program code of the following steps: detecting whether the TRS jack is connected to the earphone, in case the microphone apparatus includes the TRS jack; in a case where the TRS jack is connected to the earphone, the third audio signal is output to the earphone through the microphone device.
By adopting the embodiment of the application, the eavesdropping prevention scheme is provided. The purpose of physically shielding the microphone of the electronic equipment is achieved by inserting the microphone for full time. It is noted easily that, whole microphone device simple structure, the cost is lower, need not to send the interference audio frequency through the ultrasonic wave, avoids the user to expose for a long time in the ultrasonic wave environment, reaches and reduces the anti-eavesdropping cost, improves the anti-eavesdropping effect, promotes the technological effect that user experience felt, and then has solved the higher and relatively poor technical problem of effect of cost of anti-eavesdropping scheme among the correlation technique.
It can be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration, and the computer terminal may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 6 is a diagram illustrating a structure of the electronic device. For example, computer terminal A may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 5
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be configured to store the program code (executed by the control method of the electronic device) provided in the first embodiment.
Optionally, in this embodiment, the storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or in any one of mobile terminals in a mobile terminal group.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: detecting whether the electronic equipment is connected with a microphone device, wherein the microphone device is the microphone device in the embodiment; after the electronic equipment is detected to be connected with the microphone device, identifying the microphone device to obtain an identification result, wherein the identification result is used for representing whether the microphone device is identified as a microphone or not; and in the case that the microphone device is identified as the microphone as a result of the identification, switching the sound input equipment of the electronic equipment from a preset microphone to the microphone device, wherein the preset microphone is a microphone carried by the electronic equipment.
Optionally, the storage medium is further configured to store program codes for performing the following steps: stopping receiving a first audio signal output by a preset microphone; and receiving a second audio signal output by the microphone device.
Optionally, the storage medium is further configured to store program codes for performing the following steps: detecting whether the TRS jack is connected to the earphone in a case where the microphone apparatus includes the TRS jack; in a case where the TRS jack is connected to the earphone, the third audio signal is output to the earphone through the microphone device.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that, as will be apparent to those skilled in the art, numerous modifications and adaptations can be made without departing from the principles of the present application and such modifications and adaptations are intended to be considered within the scope of the present application.

Claims (13)

1. A microphone apparatus, comprising:
the first connector is used for being connected with electronic equipment;
a first resistor connected in series between the microphone port of the first connector and the ground port of the first connector for being recognized by the electronic device as a microphone after the first connector is connected to the electronic device.
2. The microphone apparatus as defined by claim 1, further comprising:
a second resistor connected in series between the left channel port of the first connector and the ground port for being recognized as a headset by the electronic device after the first connector is connected with the electronic device.
3. The microphone apparatus according to claim 2, characterized by further comprising:
a third resistor connected in series between the right channel port of the first connector and the ground port.
4. The microphone apparatus as defined by claim 1, further comprising:
and two input ends of the TRS socket are respectively connected with the left channel port of the first connector and the right channel port of the first connector, and the TRS socket is used for outputting the audio signal input by the first connector to the earphone after the earphone is inserted.
5. The microphone apparatus as claimed in claim 1, wherein the microphone apparatus is connected to the electronic device through an interface conversion line in a case where the first connector is a TRRS connector.
6. The microphone apparatus according to claim 1, wherein in a case where the first terminal is a TRRS terminal, the microphone apparatus further comprises:
the second joint is used for being connected with the electronic equipment;
a switching circuit connected between the first connector and the second connector for transmitting audio signals between the first connector and the second connector.
7. The microphone apparatus as defined by claim 1 comprising, at the first joint: in the case of a conversion chip, the first resistor is connected to the conversion chip.
8. The microphone apparatus as claimed in claim 1, wherein the first resistor is a resistor having a target resistance selected from a plurality of predetermined resistors, and the predetermined resistors have different resistances.
9. A method of controlling an electronic device, comprising:
detecting whether the electronic equipment is connected with a microphone device, wherein the microphone device is the microphone device in any one of claims 1 to 8;
after the electronic equipment is detected to be connected with the microphone device, identifying the microphone device to obtain an identification result, wherein the identification result is used for representing whether the microphone device is identified as a microphone or not;
and switching the sound input equipment of the electronic equipment from a preset microphone to the microphone device under the condition that the microphone device is identified as the microphone as the identification result, wherein the preset microphone is a microphone carried by the electronic equipment.
10. The method of claim 9, wherein switching the sound input device of the electronic device from a preset microphone to the microphone apparatus comprises:
stopping receiving the first audio signal output by the preset microphone;
and receiving a second audio signal output by the microphone device.
11. The method of claim 9, wherein, in the case that the microphone apparatus includes a TRS socket, the method further comprises:
detecting whether the TRS socket is connected with an earphone;
outputting, by the microphone device, a third audio signal to an earphone when the TRS jack is connected to the earphone.
12. A storage medium characterized by comprising a stored program, wherein an apparatus in which the storage medium is located is controlled to execute the control method of the electronic apparatus according to any one of claims 9 to 11 when the program is executed.
13. An electronic device, comprising: a processor and a memory, the processor being configured to execute a program stored in the memory, wherein the program is configured to execute the method of controlling an electronic device according to any one of claims 9 to 11 when executed.
CN202210296175.6A 2022-03-24 2022-03-24 Microphone device and control method of electronic equipment Pending CN115002612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210296175.6A CN115002612A (en) 2022-03-24 2022-03-24 Microphone device and control method of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210296175.6A CN115002612A (en) 2022-03-24 2022-03-24 Microphone device and control method of electronic equipment

Publications (1)

Publication Number Publication Date
CN115002612A true CN115002612A (en) 2022-09-02

Family

ID=83023974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210296175.6A Pending CN115002612A (en) 2022-03-24 2022-03-24 Microphone device and control method of electronic equipment

Country Status (1)

Country Link
CN (1) CN115002612A (en)

Similar Documents

Publication Publication Date Title
CN104023294B (en) Interface duplex device and pinboard in terminal
CN107371081B (en) Earphone set
TWI628972B (en) Method and apparatus for matching a wireless device
EP2706463A1 (en) Method and apparatus for detecting insertion of external audio outputting device in electronic device
US10805708B2 (en) Headset sound channel control method and system, and related device
CN103078224B (en) Connecting line, control method, control circuit and electronic equipment
EP2961197B1 (en) Apparatus and method for preventing malfunction in an electronic device
CN108184201A (en) audio testing method, audio test system
CN114077414A (en) Audio playing control method and device, electronic equipment and storage medium
CN110891225B (en) Audio signal processing method, device, equipment and storage medium
CN203933930U (en) Earphone interface circuit and portable electron device
CN207052880U (en) The earphone interface and mobile terminal of a kind of mobile terminal
CN106843802B (en) Circuit for automatically identifying earphone interfaces of various standard mobile phones
CN102355518A (en) Mobile phone and audio processing method thereof
CN105828224B (en) Electronic device, corrector and earphone microphone for correcting electronic device
CN108668018B (en) Mobile terminal, volume control method and related product
CN103095913B (en) Dialing method and electronic device
CN210274510U (en) Protection device for preventing mobile terminal from being eavesdropped
CN209963815U (en) Charging adapter
CN107205191A (en) A kind of interior recording device extended by ear microphone jack and method
CN115002612A (en) Microphone device and control method of electronic equipment
CN108377298B (en) Method and device for switching answering mode, mobile terminal and computer readable storage medium
CN113905382B (en) Personalized wireless earphone box and using method thereof
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal
JP6262910B1 (en) Call recording system and call recording adapter

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