CN105120404B - A kind of audio frequency apparatus, terminal device and electronic equipment - Google Patents
A kind of audio frequency apparatus, terminal device and electronic equipment Download PDFInfo
- Publication number
- CN105120404B CN105120404B CN201510465052.0A CN201510465052A CN105120404B CN 105120404 B CN105120404 B CN 105120404B CN 201510465052 A CN201510465052 A CN 201510465052A CN 105120404 B CN105120404 B CN 105120404B
- Authority
- CN
- China
- Prior art keywords
- pin
- audio
- type
- noise
- noise signal
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
本发明实施例公开了一种音频设备、终端设备及电子设备。本发明实施例方法包括:Type‑C公头、第一扬声器和第一降噪麦克风;所述Type‑C公头通过第一噪声信号输出引脚耦合至所述第一降噪麦克风,以及通过第一音频信号输入引脚耦合至所述第一扬声器;在Type‑C公头插入目标设备的Type‑C母头并电连接的情况下,音频设备通过第一噪声信号输出引脚将第一降噪麦克风采集的第一噪声信号输出给目标设备,以及通过第一音频信号输入引脚接收由目标设备根据第一噪声信号进行降噪处理后得到的第一音频信号,并将第一音频信号传输给第一扬声器。本发明实施例简化了降噪音频设备的结构,降低了成本,实现方案简单。
The embodiment of the invention discloses an audio device, a terminal device and an electronic device. The method in the embodiment of the present invention includes: a Type-C male head, a first speaker, and a first noise reduction microphone; the Type-C male head is coupled to the first noise reduction microphone through a first noise signal output pin, and through The first audio signal input pin is coupled to the first speaker; when the Type-C male plug is inserted into the Type-C female plug of the target device and electrically connected, the audio device outputs the first noise signal through the first noise signal output pin. The first noise signal collected by the noise reduction microphone is output to the target device, and the first audio signal obtained after the target device performs noise reduction processing according to the first noise signal is received through the first audio signal input pin, and the first audio signal transmitted to the first speaker. The embodiment of the present invention simplifies the structure of the noise reduction audio equipment, reduces the cost, and has a simple implementation scheme.
Description
技术领域technical field
本发明涉及电子技术领域,特别涉及一种音频设备、终端设备及电子设备。The present invention relates to the field of electronic technology, in particular to audio equipment, terminal equipment and electronic equipment.
背景技术Background technique
目前,降低噪音通常采用的三种降噪措施为:在声源处降噪、在传播过程中降噪以及在人耳处降噪,其中仅在音源处降噪为主动方式,它的原理是:所有的声音都由一定的频谱组成,如果找到一种声音,其频谱与所要消除的噪声完全一样,只是相位刚好相反(相差180°),就可以将这噪声完全抵消掉,该原理的关键就在于如何得到那抵消噪声的声音,实际采用的办法是:从噪声源本身着手,设法通过电子线路将原噪声的相位倒过来,比如主动降噪(Active Noise Canceling,ANC)耳机。At present, the three noise reduction measures commonly used to reduce noise are: noise reduction at the sound source, noise reduction during transmission, and noise reduction at the human ear. Among them, only noise reduction at the sound source is an active method. Its principle is : All sounds are composed of a certain frequency spectrum. If you find a sound whose spectrum is exactly the same as the noise to be eliminated, but the phase is just opposite (180° difference), you can completely cancel the noise. The key to this principle It is how to get the sound that cancels the noise. The actual method is: starting from the noise source itself, trying to reverse the phase of the original noise through electronic circuits, such as Active Noise Canceling (ANC) headphones.
现有的ANC耳机,除了与普通耳机一样的放音喇叭(如手机用耳机上还有一颗通话/录音用的麦克风)之外,另外新增了左右两个降噪麦克风,因而也新增了两路信号线路;而现有的耳机接口上的信号引脚已经用完,无法在保证耳机正常功能的前提下将噪声信号送给整机,因而需要在耳机侧进行噪声信号的处理,例如将降噪用控制芯片(如数字信号处理模块,Digital signal processing,DSP)内置于耳机中;同时,还需要考虑控制(计算)芯片的供电问题,比如内置电池、充电芯片及充电接口等,为了解决上述问题,目前有的采用耳机接口、USB接口(用于充电或DSP通讯)双接口方式;也有的采用耳机接口一个接口,将充电信号与原耳麦信号做复用,耳机侧还是需要内置电池、充电芯片及充电接口,且整机侧需要增加开关、比较器、模数转换器等;Existing ANC earphones, in addition to the same playback speakers as ordinary earphones (for example, there is a microphone for talking/recording on the earphones for mobile phones), have added two noise-cancelling microphones on the left and right, and thus added Two signal lines; and the signal pins on the existing earphone interface have been used up, and the noise signal cannot be sent to the whole machine under the premise of ensuring the normal function of the earphone, so it is necessary to process the noise signal on the earphone side, for example, the The control chip for noise reduction (such as digital signal processing module, Digital signal processing, DSP) is built into the earphone; at the same time, it is also necessary to consider the power supply of the control (calculation) chip, such as the built-in battery, charging chip and charging interface, etc., in order to solve For the above problems, some currently use a dual-interface mode of earphone jack and USB interface (for charging or DSP communication); Charging chip and charging interface, and switches, comparators, analog-to-digital converters, etc. need to be added to the whole machine side;
上述耳机降噪方案中,均是在耳机侧将采集的噪声信号反相实现降噪,这样耳机侧需要设置控制芯片、内置电池、充电芯片及充电接口等,成本高且实现方案复杂。In the above earphone noise reduction solutions, the collected noise signal is reversed on the earphone side to implement noise reduction. In this way, a control chip, built-in battery, charging chip, and charging interface need to be installed on the earphone side, which is costly and complicated to implement.
发明内容Contents of the invention
本发明实施例提供了一种音频设备、终端设备及电子设备,简化了降噪音频设备的结构,降低了成本,实现方案简单。The embodiment of the present invention provides an audio device, a terminal device and an electronic device, which simplifies the structure of the noise reduction audio device, reduces the cost, and has a simple implementation scheme.
本发明实施例第一方面提供了一种音频设备,包括:The first aspect of the embodiment of the present invention provides an audio device, including:
C类型Type-C公头、第一扬声器和第一降噪麦克风;Type-C Type-C male, the first speaker and the first noise-canceling microphone;
所述Type-C公头通过第一噪声信号输出引脚耦合至所述第一降噪麦克风,以及通过第一音频信号输入引脚耦合至所述第一扬声器;The Type-C male head is coupled to the first noise reduction microphone through a first noise signal output pin, and is coupled to the first speaker through a first audio signal input pin;
所述第一降噪麦克风用于采集环境噪声,以得到第一噪声信号;The first noise reduction microphone is used to collect environmental noise to obtain a first noise signal;
在所述Type-C公头插入目标设备的Type-C母头并与所述Type-C母头电连接的情况下,所述音频设备通过所述第一噪声信号输出引脚将所述第一噪声信号输出给所述目标设备,以及,通过所述第一音频信号输入引脚接收,由所述目标设备根据所述第一噪声信号进行降噪处理后得到的,第一音频信号,并将所述第一音频信号传输给所述第一扬声器;When the Type-C male head is inserted into the Type-C female head of the target device and is electrically connected to the Type-C female head, the audio device outputs the first noise signal through the first noise signal output pin. outputting a noise signal to the target device, and receiving through the first audio signal input pin, a first audio signal obtained by the target device after performing noise reduction processing according to the first noise signal, and transmitting the first audio signal to the first speaker;
其中,所述第一噪声信号输出引脚为所述Type-C公头上引脚集合中的至少一个引脚;所述第一音频信号输入引脚为所述引脚集合中除所述噪声信号输出引脚之外的至少一个引脚;所述引脚集合包括根据Type-C接口协议规定的D1+引脚、D2+引脚、D1-引脚、D2-引脚、VBUS引脚、RX1+引脚、RX1-引脚、RX2+引脚、RX2-引脚、TX1+引脚、TX1-引脚、TX2+引脚、TX2-引脚中的至少一个。Wherein, the first noise signal output pin is at least one pin in the pin set on the Type-C male head; the first audio signal input pin is the pin set except the noise in the pin set At least one pin other than signal output pins; the set of pins includes D1+ pins, D2+ pins, D1-pins, D2- pins, VBUS pins, RX1+ pins specified in the Type-C interface protocol pin, RX1-pin, RX2+ pin, RX2-pin, TX1+ pin, TX1-pin, TX2+ pin, TX2-pin.
结合本发明实施例的第一方面,在本发明实施例的第一方面的第一种可能的实现方式中,With reference to the first aspect of the embodiments of the present invention, in a first possible implementation manner of the first aspect of the embodiments of the present invention,
所述Type-C公头的识别引脚用于识别所述目标设备,所述识别引脚包括根据Type-C接口协议规定的CC1引脚和CC2引脚;The identification pin of the Type-C male head is used to identify the target device, and the identification pin includes a CC1 pin and a CC2 pin specified according to the Type-C interface protocol;
所述CC1引脚连接第一电阻且所述第一电阻的另一端接地,所述CC2引脚连接第二电阻且所述第二电阻的另一端接地,其中,所述第一电阻和所述第二电阻阻值不同,且均小于预设电阻的阻值。The CC1 pin is connected to a first resistor and the other end of the first resistor is grounded, the CC2 pin is connected to a second resistor and the other end of the second resistor is grounded, wherein the first resistor and the The resistance values of the second resistors are different, and are all smaller than the resistance values of the preset resistors.
结合本发明实施例的第一方面或第一方面的第一种可能的实现方式,在本发明实施例的第一方面的第二种可能的实现方式中,With reference to the first aspect or the first possible implementation manner of the first aspect of the embodiments of the present invention, in the second possible implementation manner of the first aspect of the embodiments of the present invention,
在所述第一噪声信号输出引脚为所述引脚集合中的一个引脚;且所述第一音频信号输入引脚为所述引脚集合中除所述第一噪声信号输出引脚之外的一个引脚的情况下;The first noise signal output pin is a pin in the set of pins; and the first audio signal input pin is one of the set of pins except the first noise signal output pin In the case of one pin outside;
其中,所述第一噪声信号输出引脚和所述第一音频信号输入引脚相对所述Type-C公头的几何中心成中心对称。Wherein, the first noise signal output pin and the first audio signal input pin are symmetrical to the geometric center of the Type-C male connector.
结合本发明实施例的第一方面或第一方面的第一种可能的实现方式,在本发明实施例的第一方面的第三种可能的实现方式中,With reference to the first aspect or the first possible implementation manner of the first aspect of the embodiments of the present invention, in the third possible implementation manner of the first aspect of the embodiments of the present invention,
在所述第一噪声信号输出引脚至少包括:第一引脚和第二引脚,且所述第一音频信号输入引脚至少包括:第三引脚和第四引脚的情况下;In the case where the first noise signal output pin includes at least: a first pin and a second pin, and the first audio signal input pin includes at least: a third pin and a fourth pin;
所述第一引脚与所述第二引脚相对所述Type-C公头的几何中心成中心对称,所述第三引脚与所述第四引脚相对所述Type-C公头的几何中心成中心对称,且所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚。The first pin and the second pin are symmetrical to the geometric center of the Type-C male head, and the third pin and the fourth pin are relative to the Type-C male head. The geometric centers are center-symmetric, and the first pin is connected to the second pin, and the third pin is connected to the fourth pin.
结合本发明实施例的第一方面或第一方面的第一种可能的实现方式,在本发明实施例的第一方面的第四种可能的实现方式中,With reference to the first aspect or the first possible implementation manner of the first aspect of the embodiments of the present invention, in the fourth possible implementation manner of the first aspect of the embodiments of the present invention,
所述音频设备还包括:第二扬声器和第二降噪麦克风;The audio device also includes: a second speaker and a second noise reduction microphone;
所述Type-C公头通过第二噪声信号输出引脚耦合至所述第二降噪麦克风,以及通过第二音频信号输入引脚耦合至所述第二扬声器;The Type-C male head is coupled to the second noise reduction microphone through a second noise signal output pin, and is coupled to the second speaker through a second audio signal input pin;
所述第二降噪麦克风用于采集环境噪声,以得到第二噪声信号;The second noise reduction microphone is used to collect environmental noise to obtain a second noise signal;
在所述Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频设备通过所述第二噪声信号输出引脚将所述第二噪声信号输出给所述目标设备,以及,通过所述第二音频信号输入引脚接收,由所述目标设备根据所述第二噪声信号进行降噪处理后得到的,第二音频信号,并将所述第二音频信号传输给所述第二扬声器;When the Type-C male plug is inserted into the Type-C female plug and is electrically connected to the Type-C female plug, the audio device outputs the second noise signal through the second noise signal output pin. The noise signal is output to the target device, and, received through the second audio signal input pin, the second audio signal obtained by the target device after performing noise reduction processing according to the second noise signal, and the second audio signal is transmitted to the second speaker;
其中,所述第二噪声信号输出引脚为所述引脚集合中的至少一个引脚,所述第二音频信号输入引脚为所述引脚集合中的至少一个引脚,且所述第一噪声信号输出引脚、第一音频信号输入引脚、所述第二噪声信号输出引脚和第二音频信号输入引脚中的引脚互不相同。Wherein, the second noise signal output pin is at least one pin in the pin set, the second audio signal input pin is at least one pin in the pin set, and the first A noise signal output pin, the first audio signal input pin, the second noise signal output pin and the second audio signal input pin are different from each other.
结合本发明实施例的第一方面的第四种可能的实现方式,在本发明实施例的第一方面的第五种可能的实现方式中,With reference to the fourth possible implementation manner of the first aspect of the embodiments of the present invention, in the fifth possible implementation manner of the first aspect of the embodiments of the present invention,
在所述第一噪声信号输出引脚、所述第一音频信号输入引脚、所述第二噪声信号输出引脚和所述第二音频信号输入引脚均为一个引脚的情况下;In the case where the first noise signal output pin, the first audio signal input pin, the second noise signal output pin and the second audio signal input pin are all one pin;
所述第一噪声信号输出引脚和所述第一音频信号输入引脚相对所述Type-C公头的几何中心成中心对称,所述第二噪声信号输出引脚和所述第二音频信号输入引脚相对所述Type-C公头的几何中心成中心对称,The first noise signal output pin and the first audio signal input pin are symmetrical to the geometric center of the Type-C male head, and the second noise signal output pin and the second audio signal The input pin is symmetrical to the geometric center of the Type-C male head,
或,所述第一噪声信号输出引脚和所述第二噪声信号输出引脚相对所述Type-C公头的几何中心成中心对称,所述第一音频信号输入引脚和所述第二音频信号输入引脚相对所述Type-C公头的几何中心成中心对称,Or, the first noise signal output pin and the second noise signal output pin are symmetrical to the geometric center of the Type-C male head, and the first audio signal input pin and the second audio signal input pin The audio signal input pin is symmetrical to the geometric center of the Type-C male head,
或,所述第一噪声信号输出引脚和所述第二音频信号输入引脚相对所述Type-C公头的几何中心成中心对称,所述第一音频信号输入引脚和所述第二噪声信号输出引脚相对所述Type-C公头的几何中心成中心对称。Or, the first noise signal output pin and the second audio signal input pin are symmetrical to the geometric center of the Type-C male head, and the first audio signal input pin and the second audio signal input pin The noise signal output pin is symmetrical to the geometric center of the Type-C male head.
结合本发明实施例的第一方面的第四种可能的实现方式,在本发明实施例的第一方面的第六种可能的实现方式中,With reference to the fourth possible implementation manner of the first aspect of the embodiments of the present invention, in the sixth possible implementation manner of the first aspect of the embodiments of the present invention,
所述第一噪声信号输出引脚包括第一引脚和第二引脚,所述第一音频信号输入引脚包括第三引脚和第四引脚,所述第二噪声信号输出引脚包括第五引脚和第六引脚,所述第二音频信号输入引脚包括第七引脚和第八引脚,所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚,所述第五引脚连接所述第六引脚,所述第七引脚连接所述第八引脚;The first noise signal output pin includes a first pin and a second pin, the first audio signal input pin includes a third pin and a fourth pin, and the second noise signal output pin includes The fifth pin and the sixth pin, the second audio signal input pin includes the seventh pin and the eighth pin, the first pin is connected to the second pin, and the third pin connecting the fourth pin, connecting the fifth pin to the sixth pin, and connecting the seventh pin to the eighth pin;
其中,所述第一引脚与所述第二引脚相对所述Type-C公头的几何中心成中心对称,所述第三引脚与所述第四引脚相对所述Type-C公头的几何中心成中心对称;所述第五引脚与所述第六引脚相对所述Type-C公头的几何中心成中心对称,所述第七引脚与所述第八引脚相对所述Type-C公头的几何中心成中心对称;Wherein, the first pin and the second pin are symmetrical to the geometric center of the Type-C male head, and the third pin and the fourth pin are relatively symmetrical to the Type-C male head. The geometric center of the head is symmetrical to the center; the fifth pin is symmetrical to the sixth pin relative to the geometric center of the Type-C male head, and the seventh pin is opposite to the eighth pin The geometric center of the Type-C male head is centrosymmetric;
且所述第一引脚、所述第二引脚、所述第三引脚、所述第四引脚、所述第五引脚、所述第六引脚、所述第七引脚和所述第八引脚为所述引脚集合中互不相同的引脚。And the first pin, the second pin, the third pin, the fourth pin, the fifth pin, the sixth pin, the seventh pin and The eighth pin is a different pin in the set of pins.
结合本发明实施例的第一方面至第一方面的第六种可能的实现方式,在本发明实施例的第一方面的第七种可能的实现方式中,Combining the first aspect to the sixth possible implementation manner of the first aspect of the embodiments of the present invention, in the seventh possible implementation manner of the first aspect of the embodiments of the present invention,
所述音频设备还包括用于采集语音的语音麦克风,所述Type-C公头通过语音信号输出引脚耦合至所述语音麦克风;所述语音信号输出引脚为根据Type-C接口协议规定的SBU1引脚或SBU2引脚;The audio device also includes a voice microphone for collecting voice, and the Type-C male head is coupled to the voice microphone through a voice signal output pin; the voice signal output pin is specified according to the Type-C interface protocol. SBU1 pin or SBU2 pin;
在所述Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述语音麦克风用于采集语音,得到语音信号,并通过所述语音信号输出引脚将所述语音信号输出到所述目标设备,在所述目标设备响应接收到的所述语音信号时,所述目标设备根据所述第一噪声信号对所述语音信号进行降噪处理。When the Type-C male plug is inserted into the Type-C female plug and is electrically connected to the Type-C female plug, the voice microphone is used to collect voice, obtain a voice signal, and pass the voice signal The output pin outputs the voice signal to the target device, and when the target device responds to the received voice signal, the target device performs noise reduction processing on the voice signal according to the first noise signal .
结合本发明实施例的第一方面的第七种可能的实现方式,在本发明实施例的第一方面的第八种可能的实现方式中,With reference to the seventh possible implementation manner of the first aspect of the embodiments of the present invention, in the eighth possible implementation manner of the first aspect of the embodiments of the present invention,
在所述语音信号输出引脚为所述SBU1引脚的情况下,所述Type-C公头通过所述SBU1引脚耦合至所述语音麦克风,所述SBU2引脚连接模拟地;In the case where the voice signal output pin is the SBU1 pin, the Type-C male head is coupled to the voice microphone through the SBU1 pin, and the SBU2 pin is connected to an analog ground;
在所述语音信号输出引脚为所述SBU2引脚的情况下,所述SBU2引脚与所述语音麦克风连接,所述SBU1引脚连接模拟地。In the case that the voice signal output pin is the SBU2 pin, the SBU2 pin is connected to the voice microphone, and the SBU1 pin is connected to an analog ground.
本发明实施例第二方面提供了一种终端设备,包括Type-C母头和音频处理单元,所述音频处理单元分别耦合至所述Type-C母头的第一噪声信号输入引脚和第一音频信号输出引脚;The second aspect of the embodiment of the present invention provides a terminal device, including a Type-C female head and an audio processing unit, and the audio processing unit is respectively coupled to the first noise signal input pin and the second noise signal input pin of the Type-C female head. an audio signal output pin;
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频处理单元通过所述第一噪声信号输入引脚接收所述目标音频设备传输的第一噪声信号;并根据所述第一噪声信号对第一放音信号进行降噪处理后得到第一音频信号;以及通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备;When the Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, the audio processing unit receives the noise signal through the first noise signal input pin. The first noise signal transmitted by the target audio device; and according to the first noise signal, the first audio signal is obtained after noise reduction processing is performed on the first playback signal; and the first audio signal is output through the first audio signal output pin. outputting the first audio signal to the target audio device;
其中,所述第一噪声信号输入引脚为所述Type-C母头上引脚集合中的至少一个引脚;所述第一音频信号输出引脚为所述引脚集合中除所述噪声信号输出引脚之外的至少一个引脚;所述引脚集合包括根据Type-C接口协议规定的D1+引脚、D2+引脚、D1-引脚、D2-引脚、VBUS引脚、RX1+引脚、RX1-引脚、RX2+引脚、RX2-引脚、TX1+引脚、TX1-引脚、TX2+引脚、TX2-引脚中至少一个。Wherein, the first noise signal input pin is at least one pin in the pin set on the Type-C female head; the first audio signal output pin is the pin set except the noise At least one pin other than signal output pins; the set of pins includes D1+ pins, D2+ pins, D1-pins, D2- pins, VBUS pins, RX1+ pins specified in the Type-C interface protocol pin, RX1-pin, RX2+ pin, RX2-pin, TX1+ pin, TX1-pin, TX2+ pin, TX2-pin.
结合本发明实施例的第二方面,在本发明实施例的第二方面的第一种可能的实现方式中,With reference to the second aspect of the embodiments of the present invention, in a first possible implementation manner of the second aspect of the embodiments of the present invention,
所述音频处理单元包括音频处理模块、配置通道CC逻辑模块以及用于控制所述CC逻辑模块的控制处理模块,所述CC逻辑模块分别与所述音频处理模块和所述控制处理模块连接,所述CC逻辑模块包括CC1端口和CC2端口;The audio processing unit includes an audio processing module, a configuration channel CC logic module, and a control processing module for controlling the CC logic module, and the CC logic module is respectively connected to the audio processing module and the control processing module, so The CC logic module includes a CC1 port and a CC2 port;
所述Type-C母头包括用于识别与所述Type-C母头连接的电子设备的识别引脚,所述识别引脚包括Type-C接口协议规定的CC1引脚和CC2引脚;The Type-C female head includes identification pins for identifying electronic devices connected to the Type-C female head, and the identification pins include CC1 pins and CC2 pins specified in the Type-C interface protocol;
所述CC1引脚连接所述CC逻辑模块的CC1端口,所述CC2引脚连接所述CC逻辑模块的CC2端口;The CC1 pin is connected to the CC1 port of the CC logic module, and the CC2 pin is connected to the CC2 port of the CC logic module;
所述音频处理单元还包括总线复用模块,所述总线复用模块分别与所述第一噪声信号输入引脚、所述第一音频信号输出引脚、所述音频处理模块和所述控制处理模块连接;The audio processing unit also includes a bus multiplexing module, which is connected to the first noise signal input pin, the first audio signal output pin, the audio processing module, and the control processing module respectively. module connection;
在包括Type-C公头的电子设备通过所述Type-C公头插入所述Type-C母头并电连接的情况下,所述控制处理模块用于通过所述CC逻辑模块识别所述电子设备是否为目标音频设备;When an electronic device including a Type-C male head is inserted into the Type-C female head through the Type-C male head and electrically connected, the control processing module is used to identify the electronic device through the CC logic module. Whether the device is the target audio device;
所述总线复用模块包括至少两个传输通道,所述至少两个传输通道中包括音频信号传输通道和电能输出通道;The bus multiplexing module includes at least two transmission channels, and the at least two transmission channels include audio signal transmission channels and power output channels;
所述控制处理模块还用于在确定所述电子设备为目标音频设备的情况下,将所述总线复用模块的传输通道,切换到音频信号传输通道,使所述音频处理模块与所述Type-C母头之间连通;The control processing module is also used to switch the transmission channel of the bus multiplexing module to an audio signal transmission channel when it is determined that the electronic device is a target audio device, so that the audio processing module and the Type -Connection between female connectors of C;
在所述音频处理模块与所述Type-C母头之间连通的情况下,所述终端设备通过所述第一噪声信号输入引脚接收目标音频设备传输的第一噪声信号并传输到所述音频处理模块;In the case of communication between the audio processing module and the Type-C female head, the terminal device receives the first noise signal transmitted by the target audio device through the first noise signal input pin and transmits it to the Audio processing module;
所述音频处理模块用于根据所述第一噪声信号进行降噪处理后得到第一音频信号;并通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备。The audio processing module is used to obtain a first audio signal after performing noise reduction processing according to the first noise signal; and output the first audio signal to the target audio device through the first audio signal output pin .
结合本发明实施例的第二方面的第一种可能的实现方式,在本发明实施例的第二方面的第二种可能的实现方式中,With reference to the first possible implementation manner of the second aspect of the embodiments of the present invention, in the second possible implementation manner of the second aspect of the embodiments of the present invention,
在包括Type-C公头的电子设备通过所述Type-C公头插入所述Type-C母头,并与所述Type-C母头电连接的情况下,所述控制处理模块用于通过所述CC逻辑模块获取所述CC1端口处电压值VCC1,判断所述VCC1是否在第一预设电压值范围内,若是,通过所述CC逻辑模块获取所述CC2端口处电压值VCC2,在所述VCC2满足在第二预设电压值范围内时,确定所述电子设备为目标音频设备;In the case that the electronic device including the Type-C male head is inserted into the Type-C female head through the Type-C male head, and is electrically connected with the Type-C female head, the control processing module is used to pass The CC logic module obtains the voltage value V CC1 at the CC1 port, and judges whether the V CC1 is within the first preset voltage value range, and if so, obtains the voltage value V CC2 at the CC2 port through the CC logic module , when the V CC2 is within a second preset voltage value range, determining that the electronic device is a target audio device;
其中,所述第一预设电压值范围和所述第一预设电压值范围中电压值均大于0。Wherein, both the first preset voltage value range and the voltage values in the first preset voltage value range are greater than 0.
结合本发明实施例的第二方面的第二种可能的实现方式,在本发明实施例的第二方面的第三种可能的实现方式中,With reference to the second possible implementation manner of the second aspect of the embodiments of the present invention, in the third possible implementation manner of the second aspect of the embodiments of the present invention,
所述控制处理模块还用于在确定所述电子设备为所述目标音频设备后,比较所述VCC1和VCC2大小,根据所述VCC1和VCC2大小的比较结果,确定所述目标音频设备的Type-C公头插入所述Type-C母头的方向。The control processing module is further configured to compare the V CC1 and V CC2 sizes after determining that the electronic device is the target audio device, and determine the target audio frequency according to the comparison result of the V CC1 and V CC2 sizes. The direction in which the Type-C male head of the device is inserted into the Type-C female head.
结合本发明实施例的第二方面的第一种可能的实现方式至第二方面的第三种可能的实现方式,在本发明实施例的第二方面的第四种可能的实现方式中,Combining the first possible implementation manner of the second aspect of the embodiment of the present invention to the third possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect of the embodiment of the present invention,
所述第一噪声信号输入引脚为所述引脚集合中的一个引脚;所述第一音频信号输出引脚为所述引脚集合中除所述第一噪声信号输入引脚之外的一个引脚,且所述音频处理模块包括音频处理子模块和第一选择模块,所述第一选择模块分别与所述总线复用模块和所述音频处理子模块连接;The first noise signal input pin is a pin in the pin set; the first audio signal output pin is a pin in the pin set except the first noise signal input pin One pin, and the audio processing module includes an audio processing submodule and a first selection module, and the first selection module is connected to the bus multiplexing module and the audio processing submodule respectively;
所述第一噪声信号输入引脚和所述第一音频信号输出引脚相对所述Type-C母头的几何中心成中心对称;The first noise signal input pin and the first audio signal output pin are centrosymmetric with respect to the geometric center of the Type-C female connector;
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接,且所述音频处理子模块与所述总线复用模块之间的连通线路,匹配所述目标音频设备的Type-C公头插入所述Type-C母头的方向的情况下,所述音频处理子模块通过所述第一噪声信号输入引脚接收目标音频设备传输的第一噪声信号;并根据所述第一噪声信号对所述第一放音信号进行降噪处理后得到第一音频信号,通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备。The Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, and the communication line between the audio processing sub-module and the bus multiplexing module, When matching the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head, the audio processing submodule receives the first noise signal transmitted by the target audio device through the first noise signal input pin. noise signal; and according to the first noise signal, the first audio signal is obtained after noise reduction processing is performed on the first playback signal, and the first audio signal is output to the first audio signal through the first audio signal output pin Describe the target audio device.
结合本发明实施例的第二方面的第一种可能的实现方式至第二方面的第三种可能的实现方式,在本发明实施例的第二方面的第五种可能的实现方式中,Combining the first possible implementation manner of the second aspect of the embodiment of the present invention to the third possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect of the embodiment of the present invention,
所述第一噪声信号输入引脚至少包括:第一引脚和第二引脚,所述第一音频信号输出引脚至少包括:第三引脚和第四引脚;所述第一引脚与所述第二引脚相对所述Type-C母头的几何中心成中心对称,所述第三引脚与所述第四引脚相对所述Type-C母头的几何中心成中心对称,且,所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚。The first noise signal input pin includes at least: a first pin and a second pin, and the first audio signal output pin includes at least: a third pin and a fourth pin; the first pin The second pin is centrosymmetric to the geometric center of the Type-C female head, and the third pin is centrosymmetric to the fourth pin relative to the geometric center of the Type-C female head, Moreover, the first pin is connected to the second pin, and the third pin is connected to the fourth pin.
结合本发明实施例的第二方面的第一种可能的实现方式至第二方面的第三种可能的实现方式,在本发明实施例的第二方面的第六种可能的实现方式中,Combining the first possible implementation manner of the second aspect of the embodiment of the present invention to the third possible implementation manner of the second aspect, in the sixth possible implementation manner of the second aspect of the embodiment of the present invention,
所述音频处理单元分别耦合至所述Type-C母头的第二噪声信号输入引脚和第二音频信号输出引脚;The audio processing unit is respectively coupled to the second noise signal input pin and the second audio signal output pin of the Type-C female head;
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频处理单元通过所述第二噪声信号输入引脚接收目标音频设备传输的第二噪声信号并传输到所述音频处理单元;所述音频处理单元根据所述第二噪声信号对第二放音信号进行降噪处理后得到第二音频信号;并通过所述第二音频信号输出引脚将所述第二音频信号输出到所述目标音频设备,所述第一放音信号、所述第二放音信号分别为所述终端设备当前播放的音频文件输出的原始左声道信号或原始右声道信号中一种;When the Type-C male head of the target audio device is inserted into the Type-C female head and is electrically connected to the Type-C female head, the audio processing unit receives the target signal through the second noise signal input pin. The second noise signal transmitted by the audio device is transmitted to the audio processing unit; the audio processing unit performs noise reduction processing on the second playback signal according to the second noise signal to obtain a second audio signal; and through the The second audio signal output pin outputs the second audio signal to the target audio device, and the first playback signal and the second playback signal are respectively the output of the audio file currently played by the terminal device. One of the original left channel signal or the original right channel signal;
其中,所述第二噪声信号输入引脚为所述引脚集合中的至少一个引脚;所述第二音频信号输出引脚为所述引脚集合中的至少一个引脚,且所述第一噪声信号输入引脚、第一音频信号输出引脚、所述第二噪声信号输入引脚和第二音频信号输出引脚中的引脚互不相同。Wherein, the second noise signal input pin is at least one pin in the pin set; the second audio signal output pin is at least one pin in the pin set, and the first A noise signal input pin, the first audio signal output pin, the second noise signal input pin and the second audio signal output pin are different from each other.
结合本发明实施例的第二方面的第六种可能的实现方式,在本发明实施例的第二方面的第七种可能的实现方式中,With reference to the sixth possible implementation manner of the second aspect of the embodiments of the present invention, in the seventh possible implementation manner of the second aspect of the embodiments of the present invention,
在所述第一噪声信号输入引脚、所述第一音频信号输出引脚、所述第二噪声信号输入引脚和所述第二音频信号输出引脚均为一个引脚的情况下;In the case where the first noise signal input pin, the first audio signal output pin, the second noise signal input pin and the second audio signal output pin are all one pin;
所述音频处理模块包括音频处理子模块和第一选择模块;The audio processing module includes an audio processing submodule and a first selection module;
所述第一选择模块分别与所述总线复用模块和所述音频处理子模块连接;The first selection module is respectively connected to the bus multiplexing module and the audio processing sub-module;
在所述控制处理模块确定所述目标音频设备的Type-C公头插入所述Type-C母头的方向后,所述音频处理子模块用于控制所述第一选择模块与所述音频处理子模块的连接方式,使所述音频处理子模块与所述总线复用模块之间的连通线路,匹配所述目标音频设备的Type-C公头插入所述Type-C母头的方向;After the control processing module determines the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head, the audio processing sub-module is used to control the first selection module and the audio processing The sub-module is connected in such a way that the connection line between the audio processing sub-module and the bus multiplexing module matches the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head;
所述第一噪声信号输入引脚和所述第一音频信号输出引脚相对所述Type-C母头的几何中心成中心对称,所述第二噪声信号输入引脚和所述第二音频信号输出引脚相对所述Type-C母头的几何中心成中心对称,The first noise signal input pin and the first audio signal output pin are symmetrical to the geometric center of the Type-C female head, and the second noise signal input pin and the second audio signal The output pin is symmetrical to the geometric center of the Type-C female head,
或,所述第一噪声信号输入引脚和所述第二噪声信号输入引脚相对所述Type-C母头的几何中心成中心对称,所述第一音频信号输出引脚和所述第二音频信号输出引脚相对所述Type-C母头的几何中心成中心对称,Or, the first noise signal input pin and the second noise signal input pin are symmetrical to the geometric center of the Type-C female connector, and the first audio signal output pin and the second audio signal output pin are symmetrical to each other. The audio signal output pin is symmetrical to the geometric center of the Type-C female head,
或,所述第一噪声信号输入引脚和所述第二音频信号输出引脚相对所述Type-C母头的几何中心成中心对称,所述第一音频信号输出引脚和所述第二噪声信号输入引脚相对所述Type-C母头的几何中心成中心对称。Or, the first noise signal input pin and the second audio signal output pin are symmetrical to the geometric center of the Type-C female connector, and the first audio signal output pin and the second audio signal output pin are symmetrical to each other. The noise signal input pin is symmetrical to the geometric center of the Type-C female connector.
结合本发明实施例的第二方面的第六种可能的实现方式,在本发明实施例的第二方面的第八种可能的实现方式中,With reference to the sixth possible implementation manner of the second aspect of the embodiments of the present invention, in the eighth possible implementation manner of the second aspect of the embodiments of the present invention,
所述第一噪声信号输入引脚包括第一引脚和第二引脚,所述第一音频信号输出引脚包括第三引脚和第四引脚,所述第二噪声信号输入引脚包括第五引脚和第六引脚,所述第二音频信号输出引脚包括第七引脚和第八引脚,所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚,所述第五引脚连接所述第六引脚,所述第七引脚连接所述第八引脚;The first noise signal input pin includes a first pin and a second pin, the first audio signal output pin includes a third pin and a fourth pin, and the second noise signal input pin includes The fifth pin and the sixth pin, the second audio signal output pin includes the seventh pin and the eighth pin, the first pin is connected to the second pin, and the third pin connecting the fourth pin, connecting the fifth pin to the sixth pin, and connecting the seventh pin to the eighth pin;
其中,所述第一引脚与所述第二引脚相对所述Type-C母头的几何中心成中心对称,所述第三引脚与所述第四引脚相对所述Type-C母头的几何中心成中心对称;所述第五引脚与所述第六引脚相对所述Type-C母头的几何中心成中心对称,所述第七引脚与所述第八引脚相对所述Type-C母头的几何中心成中心对称;Wherein, the first pin and the second pin are symmetrical to the geometric center of the Type-C female connector, and the third pin and the fourth pin are relative to the Type-C female connector. The geometric center of the head is symmetrical to the center; the fifth pin is symmetrical to the sixth pin relative to the geometric center of the Type-C female head, and the seventh pin is opposite to the eighth pin The geometric center of the Type-C female head is centrosymmetric;
且所述第一引脚、所述第二引脚、所述第三引脚、所述第四引脚、所述第五引脚、所述第六引脚、所述第七引脚和所述第八引脚为所述引脚集合中互不相同的引脚。And the first pin, the second pin, the third pin, the fourth pin, the fifth pin, the sixth pin, the seventh pin and The eighth pin is a different pin in the set of pins.
结合本发明实施例的第二方面至第二方面的第八种可能的实现方式,在本发明实施例的第二方面的第九种可能的实现方式中,Combining the second aspect to the eighth possible implementation manner of the second aspect of the embodiments of the present invention, in the ninth possible implementation manner of the second aspect of the embodiments of the present invention,
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频处理模块还用于通过语音信号输入引脚接收所述目标音频设备输入的语音信号,并根据所述第一噪声信号对所述语音信号进行降噪处理,所述语音信号为所述目标音频设备的语音麦克风采集得到,所述语音信号输入引脚包括Type-C接口协议规定的SBU1引脚或SBU2引脚。When the Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, the audio processing module is also used to receive the The voice signal input by the target audio device, and perform noise reduction processing on the voice signal according to the first noise signal, the voice signal is collected by the voice microphone of the target audio device, and the voice signal input pin includes The SBU1 pin or SBU2 pin specified by the Type-C interface protocol.
结合本发明实施例的第二方面的第九种可能的实现方式,在本发明实施例的第二方面的第十种可能的实现方式中,With reference to the ninth possible implementation manner of the second aspect of the embodiments of the present invention, in the tenth possible implementation manner of the second aspect of the embodiments of the present invention,
在所述音频处理模块包括音频处理子模块和第一选择模块,所述第一选择模块分别与所述总线复用模块和所述音频处理子模块连接的情况下;When the audio processing module includes an audio processing submodule and a first selection module, and the first selection module is respectively connected to the bus multiplexing module and the audio processing submodule;
所述音频处理模块还包括第二选择模块,所述第二选择模块分别连接所述音频处理单元和模拟地;所述第二选择模块还连接所述语音信号输入引脚;The audio processing module also includes a second selection module, the second selection module is respectively connected to the audio processing unit and the analog ground; the second selection module is also connected to the voice signal input pin;
在所述控制处理模块确定所述目标音频设备的Type-C公头插入所述Type-C母头的方向后,所述音频处理子模块还用于控制所述第二选择模块与所述音频处理子模块的连接方式,使所述音频处理子模块分别与所述语音信号输入引脚之间的连通线路,匹配所述目标音频设备的Type-C公头插入所述Type-C母头的方向;After the control processing module determines the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head, the audio processing sub-module is also used to control the second selection module and the audio Processing the connection mode of the sub-module, so that the connecting line between the audio processing sub-module and the voice signal input pin matches the Type-C male plug of the target audio device inserted into the Type-C female plug direction;
其中,在所述语音信号输入引脚为所述SBU1引脚的情况下,所述SBU1引脚与所述语音麦克风连接,所述SBU2引脚连接模拟地;在所述语音信号输入引脚为所述SBU2引脚的情况下,所述SBU2引脚与所述语音麦克风连接,所述SBU1引脚连接模拟地。Wherein, in the case where the voice signal input pin is the SBU1 pin, the SBU1 pin is connected to the voice microphone, and the SBU2 pin is connected to an analog ground; when the voice signal input pin is In the case of the SBU2 pin, the SBU2 pin is connected to the voice microphone, and the SBU1 pin is connected to an analog ground.
本发明实施例第三方面提供了一种电子设备,包括音频设备和终端设备;The third aspect of the embodiment of the present invention provides an electronic device, including an audio device and a terminal device;
其中,所述音频设备为第一方面所述音频设备,所述终端设备为第二方面或第二方面第一种可能的实现方式中所述终端设备,Wherein, the audio device is the audio device described in the first aspect, and the terminal device is the terminal device described in the second aspect or the first possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第一种可能的实现方式中所述的音频设备,所述终端设备为第二方面第二种可能的实现方式或第二方面第三种可能的实现方式中所述终端设备,The audio device is the audio device described in the first possible implementation of the first aspect, and the terminal device is the second possible implementation of the second aspect or the third possible implementation of the second aspect. terminal equipment,
或,or,
所述音频设备为第一方面第二种可能的实现方式中所述的音频设备,所述终端设备为第二方面第四种可能的实现方式中所述终端设备,The audio device is the audio device described in the second possible implementation manner of the first aspect, and the terminal device is the terminal device described in the fourth possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第三种可能的实现方式中所述的音频设备,所述终端设备为第二方面第五种可能的实现方式中所述终端设备,The audio device is the audio device described in the third possible implementation manner of the first aspect, and the terminal device is the terminal device described in the fifth possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第四种可能的实现方式中所述的音频设备,所述终端设备为第二方面第六种可能的实现方式中所述终端设备,The audio device is the audio device described in the fourth possible implementation manner of the first aspect, and the terminal device is the terminal device described in the sixth possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第五种可能的实现方式中所述的音频设备,所述终端设备为第二方面第七种可能的实现方式中所述终端设备,The audio device is the audio device described in the fifth possible implementation manner of the first aspect, and the terminal device is the terminal device described in the seventh possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第六种可能的实现方式中所述的音频设备,所述终端设备为第二方面第八种可能的实现方式中所述终端设备,The audio device is the audio device described in the sixth possible implementation manner of the first aspect, and the terminal device is the terminal device described in the eighth possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第七种可能的实现方式中所述的音频设备,所述终端设备为第二方面第九种可能的实现方式中所述终端设备,The audio device is the audio device described in the seventh possible implementation manner of the first aspect, and the terminal device is the terminal device described in the ninth possible implementation manner of the second aspect,
或,or,
所述音频设备为第一方面第八种可能的实现方式中所述的音频设备,所述终端设备为第二方面第十种可能的实现方式中所述终端设备。The audio device is the audio device described in the eighth possible implementation manner of the first aspect, and the terminal device is the terminal device described in the tenth possible implementation manner of the second aspect.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,采用Type-C接口作为降噪音频设备和电子设备之间的连接通道,在电子设备中集成降噪处理的音频处理模块,将降噪麦克风采集到的噪声信号,通过Type-C公头传输到其他设备进行信号处理,简化了降噪音频设备的结构,降低了成本,实现方案简单。In the embodiment of the present invention, the Type-C interface is used as the connection channel between the noise reduction audio device and the electronic device, and the audio processing module for noise reduction processing is integrated in the electronic device, and the noise signal collected by the noise reduction microphone is passed through the Type The -C male head is transmitted to other equipment for signal processing, which simplifies the structure of the noise reduction audio equipment, reduces the cost, and is simple to implement.
附图说明Description of drawings
图1是本发明实施例中为Type-C接口引脚定义示意图;Fig. 1 is a schematic diagram of the definition of Type-C interface pins in the embodiment of the present invention;
图2是本发明实施例中现有技术中降噪耳机的一个实施例示意图;Fig. 2 is a schematic diagram of an embodiment of a noise reduction earphone in the prior art in an embodiment of the present invention;
图3是本发明实施例中现有技术中降噪耳机的另一个实施例示意图;Fig. 3 is a schematic diagram of another embodiment of the noise reduction earphone in the prior art in the embodiment of the present invention;
图4是本发明实施例中电子设备的一个实施例示意图;FIG. 4 is a schematic diagram of an embodiment of an electronic device in an embodiment of the present invention;
图5是本发明实施例中音频设备的一个实施例示意图;FIG. 5 is a schematic diagram of an embodiment of an audio device in an embodiment of the present invention;
图6是本发明实施例中音频设备的另一个实施例示意图;FIG. 6 is a schematic diagram of another embodiment of an audio device in an embodiment of the present invention;
图6-1是本发明实施例中音频设备的另一个实施例示意图;Figure 6-1 is a schematic diagram of another embodiment of the audio device in the embodiment of the present invention;
图6-2是本发明实施例中音频设备的另一个实施例示意图;Figure 6-2 is a schematic diagram of another embodiment of the audio device in the embodiment of the present invention;
图6-3是本发明实施例中音频设备的另一个实施例示意图;FIG. 6-3 is a schematic diagram of another embodiment of the audio device in the embodiment of the present invention;
图7是本发明实施例中终端设备的一个实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a terminal device in an embodiment of the present invention;
图8是本发明实施例中CC逻辑模块的识别设备示意图;Fig. 8 is a schematic diagram of an identification device of a CC logic module in an embodiment of the present invention;
图9是本发明实施例中终端设备的另一个实施例示意图;FIG. 9 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present invention;
图10是本发明实施例中终端设备的另一个实施例示意图;FIG. 10 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present invention;
图11是本发明实施例中终端设备的另一个实施例中音频处理模块示意图;Fig. 11 is a schematic diagram of an audio processing module in another embodiment of the terminal device in the embodiment of the present invention;
图12是本发明实施例中转换接口的另一个实施例示意图。Fig. 12 is a schematic diagram of another embodiment of the conversion interface in the embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种音频设备、终端设备及电子设备,简化了降噪音频设备的结构,降低了成本,实现方案简单。The embodiment of the present invention provides an audio device, a terminal device and an electronic device, which simplifies the structure of the noise reduction audio device, reduces the cost, and has a simple implementation scheme.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and the like (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
为了方便理解本发明实施例,首先在此介绍本发明实施例描述中会引入的几个要素;In order to facilitate the understanding of the embodiments of the present invention, several elements that will be introduced in the description of the embodiments of the present invention are first introduced here;
USB 3.1是最新的USB规范,该规范数据传输速度提升可至速度10Gbps,与USB 3.0技术相比,新USB技术使用一个更高效的数据编码系统,并提供一倍以上的有效数据吞吐率,它完全向下兼容现有的USB连接器与线缆。USB 3.1 is the latest USB specification. The data transmission speed of this specification can be increased to 10Gbps. Compared with USB 3.0 technology, the new USB technology uses a more efficient data encoding system and provides more than double the effective data throughput rate. It Fully backward compatible with existing USB connectors and cables.
USB3.1有三种连接介面,分别为A类型(Type-A,也称为Standard-A)、B类型(Type-B,也称为Micro-B)以及C类型(Type-C),其中,Type-C也可以称为USB-C,它是一种新型USB线缆及连接器的规范,定义了包括连接器、端口、容器和线缆等在内的一整套全新的USB物理规格,Type-C接口包括两种存在类型:Type-C公头和Type-C母头,在Type-C接口协议(即USB3.1中与Type-C接口相关的协议)中,Type-C接口引脚定义如图1所示,Type-C接口(Type-C公头或Type-C母头)包括两侧引脚:A侧和B侧,图中,下面利用接口两侧对应的字母加上序号来表述一个引脚,Type-C接口(Type-C公头或Type-C母头)包括:4个GND引脚(A1、A12、B1、B12)、D1+引脚(A6)、D2+引脚(B6)、D1-引脚(A7)、D2-引脚(B7)、RX1+引脚(B11)、RX1-引脚(B10)、RX2+引脚(A11)、RX2-引脚(A10)、TX1+引脚(A2)、TX1-引脚(A3)、TX2+引脚(B2)、TX2-引脚(B3)、4个VBUS引脚(A4、A9、B4、B9)、SBU1引脚(A8)、SBU2引脚(B8)、CC1引脚(A5)、CC2引脚(B5),本发明实施例中描述的Type-C公头或Type-C母头的几何中心即例如图1中黑色中心点,此时A侧和B侧的同序号引脚即相对该几何中心成中心对称,例如A8和B8相对该几何中心成中心对称。USB3.1 has three connection interfaces, which are Type A (Type-A, also known as Standard-A), Type B (Type-B, also known as Micro-B) and Type C (Type-C). Type-C can also be called USB-C. It is a specification for a new type of USB cable and connector. It defines a whole new set of USB physical specifications including connectors, ports, containers, and cables. Type-C The -C interface includes two types of existence: Type-C male and Type-C female. In the Type-C interface protocol (that is, the protocol related to the Type-C interface in USB3.1), the Type-C interface pin Definition As shown in Figure 1, the Type-C interface (Type-C male or Type-C female) includes pins on both sides: A side and B side. In the figure, use the corresponding letters on both sides of the interface to add serial numbers below To describe a pin, the Type-C interface (Type-C male or Type-C female) includes: 4 GND pins (A1, A12, B1, B12), D1+ pin (A6), D2+ pin (B6), D1-pin (A7), D2-pin (B7), RX1+ pin (B11), RX1-pin (B10), RX2+ pin (A11), RX2-pin (A10), TX1+ pin (A2), TX1- pin (A3), TX2+ pin (B2), TX2- pin (B3), 4 VBUS pins (A4, A9, B4, B9), SBU1 pin (A8 ), SBU2 pin (B8), CC1 pin (A5), CC2 pin (B5), the geometric center of the Type-C male or Type-C female described in the embodiment of the present invention is, for example, the black in Figure 1 At this time, the pins with the same serial number on side A and side B are centrosymmetric with respect to the geometric center, for example, A8 and B8 are centrosymmetric with respect to the geometric center.
目前,由于ANC耳机在普通放音喇叭和麦克风之外,还需要设置收集噪声的降噪麦克风,无法在保证耳机正常功能的前提下将噪声信号送给整机侧(输出音频信号的设备),因而需要在耳机侧进行噪声信号的处理,如图2所示,将降噪用控制芯片(如数字信号处理Digital signal processing,DSP模块)内置于耳机中;同时,考虑控制(计算)芯片的供电问题,因而内置电池、充电芯片及充电接口,图1中采用耳机接口、USB接口(用于充电或DSP通讯)双接口方式,如图3所示为华为公司推出的一款ANC耳机,原理与图2中类似,差别在于耳机侧,无USB接口,将充电信号与原耳机信号做复用,在整机侧,识别所插入的耳机是否为华为ANC耳机,如是则对耳机进行充电,如不是或当耳机使用时则不充电。上述耳机降噪方案中,均是在耳机侧将采集的噪声信号反相实现降噪,这样耳机侧需要设置控制芯片、内置电池、充电芯片及充电接口等,成本高且实现方案复杂。At present, since the ANC headset needs to be equipped with a noise reduction microphone to collect noise in addition to the normal playback speaker and microphone, it is impossible to send the noise signal to the whole machine side (the device that outputs the audio signal) under the premise of ensuring the normal function of the headset. Therefore, it is necessary to process the noise signal on the earphone side. As shown in Figure 2, a control chip for noise reduction (such as digital signal processing, DSP module) is built into the earphone; at the same time, the power supply of the control (calculation) chip Therefore, there is a built-in battery, charging chip and charging interface. In Figure 1, the dual interface mode of earphone interface and USB interface (for charging or DSP communication) is adopted. As shown in Figure 3, it is an ANC earphone launched by Huawei. It is similar to that in Figure 2, the difference is that there is no USB port on the earphone side, and the charging signal is multiplexed with the original earphone signal. On the whole machine side, identify whether the inserted earphone is a Huawei ANC earphone, if so, charge the earphone, if not Or when the headset is in use it is not charged. In the above earphone noise reduction solutions, the collected noise signal is reversed on the earphone side to implement noise reduction. In this way, a control chip, built-in battery, charging chip, and charging interface need to be installed on the earphone side, which is costly and complicated to implement.
基于上述原因,本发明实施例中提供一种音频设备、终端设备及电子设备,如图4所示,所述电子设备包括右侧的音频设备和左侧的终端设备,所述音频设备包括Type-C公头,所述终端设备包括Type-C母头,所述音频设备将降噪麦克风收集的噪声输出通过Type-C接口输出到输出音频信号的终端设备进行噪声处理,简化了音频设备的结构,降低了成本,符合电子技术未来的发展趋势。Based on the above reasons, an audio device, a terminal device, and an electronic device are provided in an embodiment of the present invention. As shown in FIG. 4 , the electronic device includes an audio device on the right and a terminal device on the left, and the audio device includes a Type -C male head, the terminal device includes a Type-C female head, and the audio device outputs the noise output collected by the noise reduction microphone to the terminal device outputting the audio signal through the Type-C interface for noise processing, which simplifies the operation of the audio device The structure reduces the cost and conforms to the future development trend of electronic technology.
本发明实施例中包括Type-C公头的音频设备可以是头戴式、挂耳式、入耳式、耳塞式耳机,也可以是其他降噪的音频设备,降噪音响等,此处不做限定。In the embodiment of the present invention, the audio device including the Type-C male head can be a headphone, ear-mounted, in-ear, or earphone, or other noise-reducing audio devices, such as noise reduction, etc., which will not be discussed here. limited.
本发明实施例中与音频设备匹配的包括Type-C母头的终端设备,可以智能移动终端,如包括Type-C母头的手机、平板等,也可以是包括Type-C母头的MP3、MP4、MP5等其他音频电子设备,此处不做限定。In the embodiment of the present invention, the terminal equipment that includes the Type-C female head that matches the audio device can be an intelligent mobile terminal, such as a mobile phone, a tablet, etc. that include the Type-C female head, or an MP3 that includes the Type-C female head. MP4, MP5 and other audio electronic equipment are not limited here.
本发明实施例中,音频设备包括C类型Type-C公头、第一扬声器和第一降噪麦克风;In the embodiment of the present invention, the audio device includes a Type-C Type-C male head, a first speaker, and a first noise reduction microphone;
所述Type-C公头通过第一噪声信号输出引脚耦合至所述第一降噪麦克风,以及通过第一音频信号输入引脚耦合至所述第一扬声器;The Type-C male head is coupled to the first noise reduction microphone through a first noise signal output pin, and is coupled to the first speaker through a first audio signal input pin;
所述第一降噪麦克风用于采集环境噪声,以得到第一噪声信号;The first noise reduction microphone is used to collect environmental noise to obtain a first noise signal;
在所述Type-C公头插入目标设备的Type-C母头并与所述Type-C母头电连接的情况下,所述音频设备通过所述第一噪声信号输出引脚将所述第一噪声信号输出给所述目标设备,以及,通过所述第一音频信号输入引脚接收,由所述目标设备根据所述第一噪声信号进行降噪处理后得到的,第一音频信号,并将所述第一音频信号传输给所述第一扬声器;When the Type-C male head is inserted into the Type-C female head of the target device and is electrically connected to the Type-C female head, the audio device outputs the first noise signal through the first noise signal output pin. outputting a noise signal to the target device, and receiving through the first audio signal input pin, a first audio signal obtained by the target device after performing noise reduction processing according to the first noise signal, and transmitting the first audio signal to the first speaker;
其中,所述第一噪声信号输出引脚为所述Type-C公头上引脚集合中的至少一个引脚;所述第一音频信号输入引脚为所述引脚集合中除所述噪声信号输出引脚之外的至少一个引脚;所述引脚集合包括根据Type-C接口协议规定的D1+引脚、D2+引脚、D1-引脚、D2-引脚、VBUS引脚、RX1+引脚、RX1-引脚、RX2+引脚、RX2-引脚、TX1+引脚、TX1-引脚、TX2+引脚、TX2-引脚中的至少一个。Wherein, the first noise signal output pin is at least one pin in the pin set on the Type-C male head; the first audio signal input pin is the pin set except the noise in the pin set At least one pin other than signal output pins; the set of pins includes D1+ pins, D2+ pins, D1-pins, D2- pins, VBUS pins, RX1+ pins specified in the Type-C interface protocol pin, RX1-pin, RX2+ pin, RX2-pin, TX1+ pin, TX1-pin, TX2+ pin, TX2-pin.
在Type-C接口协议标准中,所述Type-C公头包括用于识别与所述Type-C公头连接的电子设备的识别引脚,所述识别引脚包括根据Type-C接口协议规定的CC1引脚和CC2引脚;In the Type-C interface protocol standard, the Type-C male head includes identification pins for identifying electronic devices connected to the Type-C male head, and the identification pins include The CC1 pin and CC2 pin;
同时在在Type C接口协议标准中,还规定了一个用于识别设备的正/反插入的R1,连接在所述CC1引脚或所述CC2引脚,按照该标准设计,R1取值在0~Ra(Ra是Type C接口协议标准中用于Type C设备识别的标识电阻,其取值要求满足指定的范围,具体参见Type C规格书中的定义)之间的一个值;本发明实施例中,同样也可以本发明实施例中音频设备的Type-C公头可以按照该Type C接口协议标准设定。At the same time, in the Type C interface protocol standard, a positive/reverse insertion R1 for identifying the device is also specified, which is connected to the CC1 pin or the CC2 pin. According to the standard design, the value of R1 is 0 A value between ~Ra (Ra is the identification resistor used for Type C device identification in the Type C interface protocol standard, and its value is required to meet the specified range, specifically refer to the definition in the Type C specification); the embodiment of the present invention In the same way, the Type-C male head of the audio device in the embodiment of the present invention can also be set according to the Type-C interface protocol standard.
但是考虑到后续随着技术的发展,今后市面上可能出现很多新型Type C接口设备,如果某新型设备其下拉电阻值正好和本方案中的R1相当,则存在“将该新型设备误识别为本发明实施例中音频设备的问题”,此时即造成误识别。However, considering the subsequent development of technology, many new Type C interface devices may appear on the market in the future. If the pull-down resistance value of a new type of device is exactly the same as R1 in this solution, there will be "misidentifying the new type of device as the original device." Problems with the audio equipment in the embodiment of the invention", which causes misidentification at this time.
因此,如图5所示,本发明实施例音频设备,作为优选,可以设定两个电阻:第一电阻R1和第二电阻R2,所述CC1引脚连接第一电阻R1且所述第一电阻R1的另一端接地,所述CC2引脚连接第二电阻R2且所述第二电阻R2的另一端接地,其中,所述第一电阻R1和第二电阻阻值R2不同(比如相差2倍量级),且均小于预设电阻的阻值,该预设电阻即Type C接口协议标准中用于Type C设备识别的标识电阻Ra,这样在R1,R2得到的分压值也不一样,可以辅助设备识别,提高设备识别的准确率。Therefore, as shown in Figure 5, the audio equipment in the embodiment of the present invention, as a preference, can set two resistors: the first resistor R1 and the second resistor R2, the CC1 pin is connected to the first resistor R1 and the first resistor The other end of the resistor R1 is grounded, the CC2 pin is connected to the second resistor R2 and the other end of the second resistor R2 is grounded, wherein the resistance values of the first resistor R1 and the second resistor R2 are different (such as a difference of 2 times order of magnitude), and are all smaller than the resistance value of the preset resistor, which is the identification resistor Ra used for Type C device identification in the Type C interface protocol standard, so the divided voltage values obtained in R1 and R2 are also different. It can assist device identification and improve the accuracy of device identification.
本发明实施例中音频设备可以是单扬声器式、双扬声器式,在一些情况下还可以是多扬声器式,此处不做限定。In the embodiment of the present invention, the audio device may be a single-speaker type, a dual-speaker type, or a multi-speaker type in some cases, which is not limited here.
在本发明实施例中音频设备只包括第一扬声器和第一降噪麦克风时,本发明实施例中音频设备为单扬声器式。In the embodiment of the present invention, when the audio device only includes the first speaker and the first noise reduction microphone, the audio device in the embodiment of the present invention is a single-speaker type.
一种情况是,所述第一噪声信号输出引脚为所述引脚集合中的一个引脚;所述第一音频信号输入引脚为所述引脚集合中除所述第一噪声信号输出引脚之外的一个引脚,即第一扬声器连接所述Type-C公头上所述引脚集合中的一个引脚,第一降噪麦克风连接所述Type-C公头上所述引脚集合中的另一个引脚。例如第一噪声信号输出引脚为D1+引脚(A6)、第一音频信号输入引脚为RX2+引脚(A11)等,只需保证所述第一噪声信号输出引脚和所述第一音频信号输入引脚为所述引脚集合中不同的引脚即可,此处不做限定。In one case, the first noise signal output pin is a pin in the pin set; the first audio signal input pin is the first noise signal output pin in the pin set A pin other than the pin, that is, the first speaker is connected to a pin in the set of pins on the Type-C male head, and the first noise-canceling microphone is connected to the pin set on the Type-C male head. Another pin in the set of pins. For example, the first noise signal output pin is D1+ pin (A6), the first audio signal input pin is RX2+ pin (A11), etc., only need to ensure that the first noise signal output pin and the first audio signal The signal input pins may be different pins in the set of pins, and there is no limitation here.
此时在第一噪声信号输出引脚为所述引脚集合中的一个引脚,所述第一音频信号输入引脚为所述引脚集合中除所述第一噪声信号输出引脚之外的一个引脚的情况下,要想实现正反插均能使用,所述第一噪声信号输出引脚和所述第一音频信号输入引脚相对所述Type-C公头的几何中心成中心对称,此时在终端设备的Type-C母头也对应设置引脚连接关系的情况下,不论Type-C公头正插,还是反插,该第一音频信号输入引脚、第一噪声信号输出引脚都能保证正常的电路连接,只不过反插时信号输出是反向的,在终端侧需要做相应的切换信号通道的处理,即可正常使用音频设备,例如第一噪声信号输出引脚为D1+引脚(A6),所述第一音频信号输入引脚即为D2+引脚(B6);又或者第一噪声信号输出引脚为D1-引脚(A7),所述第一音频信号输入引脚为D2-引脚(B7),此处不做限定。At this time, the first noise signal output pin is a pin in the pin set, and the first audio signal input pin is except the first noise signal output pin in the pin set In the case of one pin, in order to achieve positive and negative insertion, the first noise signal output pin and the first audio signal input pin are centered relative to the geometric center of the Type-C male head Symmetrical, at this time, when the Type-C female connector of the terminal device also sets the corresponding pin connection relationship, regardless of whether the Type-C male connector is inserted forward or backward, the first audio signal input pin, the first noise signal The output pins can ensure normal circuit connection, but the signal output is reversed when plugged in reversely, and the corresponding signal channel switching needs to be done on the terminal side, so that the audio equipment can be used normally, such as the first noise signal output pin The pin is D1+ pin (A6), and the first audio signal input pin is D2+ pin (B6); or the first noise signal output pin is D1- pin (A7), and the first audio signal The signal input pin is the D2-pin (B7), which is not limited here.
在单扬声器时,本发明实施例中音频设备还可以是:In the case of a single speaker, the audio device in the embodiment of the present invention can also be:
在所述第一噪声信号输出引脚至少包括:第一引脚和第二引脚,且所述第一音频信号输入引脚至少包括:第三引脚和第四引脚的情况下;In the case where the first noise signal output pin includes at least: a first pin and a second pin, and the first audio signal input pin includes at least: a third pin and a fourth pin;
所述第一引脚与所述第二引脚相对所述Type-C公头的几何中心成中心对称,所述第三引脚与所述第四引脚相对所述Type-C公头的几何中心成中心对称,且所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚。The first pin and the second pin are symmetrical to the geometric center of the Type-C male head, and the third pin and the fourth pin are relative to the Type-C male head. The geometric centers are center-symmetric, and the first pin is connected to the second pin, and the third pin is connected to the fourth pin.
即此时,所述第一引脚和所述第二引脚与所述第一降噪麦克风连接;所述第三引脚和所述第四引脚与所述第一扬声器连接;所述第一引脚和所述第二引脚为所述引脚集合中任意2个引脚,所述第三引脚和所述第四引脚为所述引脚集合中除所述噪声信号输出引脚之外的2个引脚;That is, at this time, the first pin and the second pin are connected to the first noise reduction microphone; the third pin and the fourth pin are connected to the first speaker; the The first pin and the second pin are any two pins in the set of pins, and the third pin and the fourth pin are output signals except the noise signal in the set of pins 2 pins other than pins;
在所述Type-C公头插入目标设备的Type-C母头并与所述Type-C母头电连接的情况下,所述音频设备通过所述第一引脚和所述第二引脚将所述第一噪声信号输出到所述目标设备;通过所述第三引脚和第四引脚接收所述第一音频信号并传输到所述第一扬声器。When the Type-C male head is inserted into the Type-C female head of the target device and is electrically connected to the Type-C female head, the audio device passes the first pin and the second pin Outputting the first noise signal to the target device; receiving the first audio signal through the third pin and the fourth pin and transmitting to the first speaker.
由于所述Type-C公头上连接第一降噪麦克风和第一扬声器的引脚,各有两个相对Type-C公头的几何中心成中心对称的引脚,因此,不论Type-C公头正插,还是反插,该第一音频信号输入引脚、第一噪声信号输出引脚都能正常的输入第一音频信号以及输出第一噪声信号。Since the pins connected to the first noise-canceling microphone and the first speaker on the Type-C male head each have two pins that are symmetrical to the geometric center of the Type-C male head, therefore, no matter the Type-C male head The first audio signal input pin and the first noise signal output pin can normally input the first audio signal and output the first noise signal whether the plug is plugged forward or backward.
可选的,本发明实施例中音频设备还可以是双扬声器式,具体的,如图6所示:Optionally, the audio device in the embodiment of the present invention can also be a dual-speaker type, specifically, as shown in Figure 6:
所述音频设备还包括:第二扬声器和第二降噪麦克风;The audio device also includes: a second speaker and a second noise reduction microphone;
所述Type-C公头通过第二噪声信号输出引脚耦合至所述第二降噪麦克风,以及通过第二音频信号输入引脚耦合至所述第二扬声器;The Type-C male head is coupled to the second noise reduction microphone through a second noise signal output pin, and is coupled to the second speaker through a second audio signal input pin;
所述第二降噪麦克风用于采集环境噪声,以得到第二噪声信号;The second noise reduction microphone is used to collect environmental noise to obtain a second noise signal;
在所述Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频设备通过所述第二噪声信号输出引脚将所述第二噪声信号输出给所述目标设备,以及,通过所述第二音频信号输入引脚接收,由所述目标设备根据所述第二噪声信号进行降噪处理后得到的,第二音频信号,并将所述第二音频信号传输给所述第二扬声器;When the Type-C male plug is inserted into the Type-C female plug and is electrically connected to the Type-C female plug, the audio device outputs the second noise signal through the second noise signal output pin. The noise signal is output to the target device, and, received through the second audio signal input pin, the second audio signal obtained by the target device after performing noise reduction processing according to the second noise signal, and the second audio signal is transmitted to the second speaker;
其中,所述第二噪声信号输出引脚为所述引脚集合中的至少一个引脚,所述第二音频信号输入引脚为所述引脚集合中的至少一个引脚,且所述第一噪声信号输出引脚、第一音频信号输入引脚、所述第二噪声信号输出引脚和第二音频信号输入引脚中的引脚互不相同。Wherein, the second noise signal output pin is at least one pin in the pin set, the second audio signal input pin is at least one pin in the pin set, and the first A noise signal output pin, the first audio signal input pin, the second noise signal output pin and the second audio signal input pin are different from each other.
例如,如图6-1所示,将音频设备Type-C公头上的D1+引脚(A6)定义为第一音频信号输入引脚HSR,将音频设备Type-C公头上的D2+引脚(B6)定义为第一噪声信号输出引脚M_R,将音频设备Type-C公头上的D1-引脚(A7)定义为第二音频信号输入引脚HSL,将音频设备Type-C公头上的D2-引脚(B7)定义为第二噪声输出引脚M_L。For example, as shown in Figure 6-1, define the D1+ pin (A6) on the Type-C male connector of the audio device as the first audio signal input pin HSR, and define the D2+ pin on the Type-C male connector of the audio device as (B6) is defined as the first noise signal output pin M_R, the D1-pin (A7) on the audio device Type-C male is defined as the second audio signal input pin HSL, and the audio device Type-C male The D2- pin (B7) on is defined as the second noise output pin M_L.
在本发明实施例中的一些音频设备实施例中,在所述第一噪声信号输出引脚、所述第一音频信号输入引脚、所述第二噪声信号输出引脚和所述第二音频信号输入引脚均为所述引脚集合中的一个引脚的情况下;In some audio device embodiments in the embodiments of the present invention, the first noise signal output pin, the first audio signal input pin, the second noise signal output pin and the second audio In the case where the signal input pins are all one pin in the set of pins;
所述第一噪声信号输出引脚和所述第一音频信号输入引脚相对Type-C公头的几何中心成中心对称,所述第二噪声信号输出引脚和所述第二音频信号输入引脚相对Type-C公头的几何中心成中心对称,The first noise signal output pin and the first audio signal input pin are symmetrical to the geometric center of the Type-C male head, and the second noise signal output pin and the second audio signal input pin are The feet are symmetrical to the geometric center of the Type-C male head,
或,所述第一噪声信号输出引脚和所述第二噪声信号输出引脚相对Type-C公头的几何中心成中心对称,所述第一音频信号输入引脚和所述第二音频信号输入引脚相对Type-C公头的几何中心成中心对称,Or, the first noise signal output pin and the second noise signal output pin are symmetrical to the geometric center of the Type-C male head, and the first audio signal input pin and the second audio signal The input pin is symmetrical to the geometric center of the Type-C male head,
或,所述第一噪声信号输出引脚和所述第二音频信号输入引脚相对Type-C公头的几何中心成中心对称,所述第一音频信号输入引脚和所述第二噪声信号输出引脚相对Type-C公头的几何中心成中心对称。Or, the first noise signal output pin and the second audio signal input pin are symmetrical to the geometric center of the Type-C male head, and the first audio signal input pin and the second noise signal input pin are symmetrical to each other. The output pin is symmetrical to the geometric center of the Type-C male connector.
在本发明一些音频设备的实施例中,所述第一噪声信号输出引脚包括第一引脚和第二引脚,所述第一音频信号输入引脚包括第三引脚和第四引脚,所述第二噪声信号输出引脚包括第五引脚和第六引脚,所述第二音频信号输入引脚包括第七引脚和第八引脚,所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚,所述第五引脚连接所述第六引脚,所述第七引脚连接所述第八引脚;In some embodiments of the audio equipment of the present invention, the first noise signal output pin includes a first pin and a second pin, and the first audio signal input pin includes a third pin and a fourth pin , the second noise signal output pin includes a fifth pin and a sixth pin, the second audio signal input pin includes a seventh pin and an eighth pin, and the first pin is connected to the a second pin, the third pin is connected to the fourth pin, the fifth pin is connected to the sixth pin, and the seventh pin is connected to the eighth pin;
其中,所述第一引脚与所述第二引脚相对Type-C公头的几何中心成中心对称,所述第三引脚与所述第四引脚相对Type-C公头的几何中心成中心对称;所述第五引脚与所述第六引脚相对Type-C公头的几何中心成中心对称,所述第七引脚与所述第八引脚相对Type-C公头的几何中心成中心对称;Wherein, the first pin and the second pin are symmetrical to the geometric center of the Type-C male head, and the third pin and the fourth pin are relative to the geometric center of the Type-C male head. Symmetrical to the center; the fifth pin and the sixth pin are symmetrical to the geometric center of the Type-C male head, and the seventh pin and the eighth pin are relative to the Type-C male head. The geometric center is symmetrical to the center;
且所述第一引脚、所述第二引脚、所述第三引脚、所述第四引脚、所述第五引脚、所述第六引脚、所述第七引脚和所述第八引脚为所述引脚集合中互不相同的引脚。And the first pin, the second pin, the third pin, the fourth pin, the fifth pin, the sixth pin, the seventh pin and The eighth pin is a different pin in the set of pins.
由于所述Type-C公头上连接第一降噪麦克风、第一扬声器、第二降噪麦克风、第二扬声器的引脚,各有两个相对Type-C公头的几何中心成中心对称的引脚,因此,不论Type-C公头正插,还是反插,该第一音频信号输入引脚、第二音频信号输入引脚都能正常的输入音频信号,该第一噪声信号输出引脚和第二噪声信号输出引脚都能输出噪声信号。Since the pins of the first noise reduction microphone, the first loudspeaker, the second noise reduction microphone, and the second speaker are connected to the Type-C male head, there are two symmetrical ones relative to the geometric center of the Type-C male head. Therefore, regardless of whether the Type-C male plug is plugged in or reversed, the first audio signal input pin and the second audio signal input pin can normally input audio signals, and the first noise signal output pin Both the noise signal output pin and the second noise signal output pin can output the noise signal.
在本发明一些音频设备的实施例中,所述音频设备还包括用于采集语音的语音麦克风,所述Type-C公头通过语音信号输出引脚耦合至所述语音麦克风;所述语音信号输出引脚为根据Type-C接口协议规定的SBU1引脚或SBU2引脚;In some embodiments of the audio equipment of the present invention, the audio equipment also includes a voice microphone for collecting voice, and the Type-C male head is coupled to the voice microphone through a voice signal output pin; the voice signal output The pin is the SBU1 pin or SBU2 pin specified in the Type-C interface protocol;
在所述Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述语音麦克风用于采集语音,得到语音信号,并通过所述语音信号输出引脚将所述语音信号输出到所述目标设备,在所述目标设备响应接收到的所述语音信号时,所述目标设备根据所述第一噪声信号对所述语音信号进行降噪处理。When the Type-C male plug is inserted into the Type-C female plug and is electrically connected to the Type-C female plug, the voice microphone is used to collect voice, obtain a voice signal, and pass the voice signal The output pin outputs the voice signal to the target device, and when the target device responds to the received voice signal, the target device performs noise reduction processing on the voice signal according to the first noise signal .
其中,可选的,在所述语音信号输出引脚为所述SBU1引脚的情况下,所述Type-C公头通过所述SBU1引脚耦合至所述语音麦克风,所述SBU2引脚连接模拟地;在所述语音信号输出引脚为所述SBU2引脚的情况下,所述SBU2引脚与所述语音麦克风连接,所述SBU1引脚连接模拟地。Wherein, optionally, in the case where the voice signal output pin is the SBU1 pin, the Type-C male head is coupled to the voice microphone through the SBU1 pin, and the SBU2 pin is connected to Analog ground; when the voice signal output pin is the SBU2 pin, the SBU2 pin is connected to the voice microphone, and the SBU1 pin is connected to an analog ground.
以双扬声器音频设备为例,如图6-2所示,在图6-1的基础上设置了一个语音麦克风,将音频设备Type-C公头上的SUB1引脚(A8)定义为语音信号输出引脚MIC,将音频设备Type-C公头上的SUB引脚(B8)定义为接地引脚模拟地AGND,具体引脚定义如下表1所示:Taking a dual-speaker audio device as an example, as shown in Figure 6-2, a voice microphone is set on the basis of Figure 6-1, and the SUB1 pin (A8) on the Type-C male connector of the audio device is defined as a voice signal The output pin MIC defines the SUB pin (B8) on the Type-C male connector of the audio device as the ground pin analog ground AGND. The specific pin definition is shown in Table 1 below:
表1Table 1
如图6-3所示,为在所述第一噪声信号输出引脚包括第一引脚和第二引脚,所述第一音频信号输入引脚包括第三引脚和第四引脚,所述第二噪声信号输出引脚包括第五引脚和第六引脚,所述第二音频信号输入引脚包括第七引脚和第八引脚,且所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚,所述第五引脚连接所述第六引脚,所述第七引脚连接所述第八引脚;所述语音信号输出引脚为所述SBU1引脚,且所述SBU1引脚与所述语音麦克风连接,所述Type-C公头上的SBU2引脚连接模拟地的情况下,本发明实施例中音频设备的一个具体实施例。As shown in Figure 6-3, the first noise signal output pin includes a first pin and a second pin, and the first audio signal input pin includes a third pin and a fourth pin, The second noise signal output pin includes a fifth pin and a sixth pin, the second audio signal input pin includes a seventh pin and an eighth pin, and the first pin is connected to the The second pin, the third pin is connected to the fourth pin, the fifth pin is connected to the sixth pin, and the seventh pin is connected to the eighth pin; the voice The signal output pin is the SBU1 pin, and the SBU1 pin is connected to the voice microphone, and the SBU2 pin on the Type-C male head is connected to the analog ground, the audio device in the embodiment of the present invention A specific example of .
图6-3中,将音频设备Type-C公头上的D1+引脚(A6)和D2+引脚(B6)定义为第一音频信号输入引脚HSR,将音频设备Type-C公头上的D1-引脚(A7)和D2-引脚(B7)定义为第二音频信号输入引脚HSL,将音频设备Type-C公头上的RX1+引脚(B11)和RX2+引脚(A11)定义为第一噪声信号输出引脚M_R,将音频设备Type-C公头上的RX1-引脚(B10)和RX2-引脚(A10)定义为第二噪声输出引脚M_L,其中,D1+引脚(A6)和D2+引脚(B6)连接,D1-引脚(A7)和D2-引脚(B7)连接,RX1+引脚(B11)和RX2+引脚(A11)连接,RX1-引脚(B10)和RX2-引脚(A10)连接。In Figure 6-3, the D1+ pin (A6) and D2+ pin (B6) on the Type-C male connector of the audio device are defined as the first audio signal input pin HSR, and the Type-C male connector on the audio device is defined as the first audio signal input pin HSR. D1-pin (A7) and D2-pin (B7) are defined as the second audio signal input pin HSL, which defines the RX1+ pin (B11) and RX2+ pin (A11) on the audio device Type-C male For the first noise signal output pin M_R, define the RX1-pin (B10) and RX2-pin (A10) on the Type-C male head of the audio device as the second noise output pin M_L, where D1+ pin (A6) is connected to D2+ pin (B6), D1- pin (A7) is connected to D2- pin (B7), RX1+ pin (B11) is connected to RX2+ pin (A11), RX1- pin (B10 ) to the RX2- pin (A10).
此时,不论音频设备的Type-C公头正插,还是反插,该第一音频信号输入引脚、第二音频信号输入引脚都能正常的输入音频信号,该第一噪声信号输出引脚和第二噪声信号输出引脚都能输出噪声信号。At this time, regardless of whether the Type-C male plug of the audio device is plugged in or reversed, the first audio signal input pin and the second audio signal input pin can normally input audio signals, and the first noise signal output pin Both the pin and the second noise signal output pin can output noise signals.
下面介绍本发明实施例中终端设备的实施例。The following describes the embodiment of the terminal device in the embodiment of the present invention.
本发明实施例中提供的终端设备包括Type-C母头和音频处理单元;The terminal device provided in the embodiment of the present invention includes a Type-C female head and an audio processing unit;
所述Type-C母头包括第一噪声信号输入引脚和第一音频信号输出引脚The Type-C female head includes a first noise signal input pin and a first audio signal output pin
所述音频处理单元分别耦合至所述Type-C母头的第一噪声信号输入引脚和第一音频信号输出引脚(该第一噪声信号输入引脚与音频设备的第一噪声输出引脚对应,第一音频信号输出引脚和音频设备的第一噪声输入引脚对应);The audio processing unit is respectively coupled to the first noise signal input pin and the first audio signal output pin of the Type-C female head (the first noise signal input pin and the first noise output pin of the audio equipment Correspondingly, the first audio signal output pin corresponds to the first noise input pin of the audio equipment);
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频处理单元通过所述第一噪声信号输入引脚接收所述目标音频设备传输的第一噪声信号;并根据所述第一噪声信号对第一放音信号进行降噪处理后得到第一音频信号;以及通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备;When the Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, the audio processing unit receives the noise signal through the first noise signal input pin. The first noise signal transmitted by the target audio device; and according to the first noise signal, the first audio signal is obtained after noise reduction processing is performed on the first playback signal; and the first audio signal is output through the first audio signal output pin. outputting the first audio signal to the target audio device;
本实施例中,第一放音信号可以为所述终端设备当前播放的音频文件输出的原始左声道信号或原始右声道信号中一种,由于用户使用音频设备的环境下,一般存在环境噪声,音频处理单元对音频设备侧采集的所述第一噪声信号进行反相处理,即可得到第一噪声信号的反相信号,将第一噪声信号的反相信号叠加在第一放音信号上,通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备,此时音频设备侧第一扬声器播放该第一音频信号时,既可以实现用第一噪声信号的反相信号抵消用户所在的环境噪声,用户人耳听到的即为原始的第一放音信号(原始左声道信号或右声道信号),实现降噪。In this embodiment, the first playback signal may be one of the original left channel signal or the original right channel signal output by the audio file currently played by the terminal device. Due to the environment where the user uses the audio device, there is generally an environment Noise, the audio processing unit performs inversion processing on the first noise signal collected by the audio equipment side to obtain an inversion signal of the first noise signal, and superimposes the inversion signal of the first noise signal on the first playback signal Above, the first audio signal is output to the target audio device through the first audio signal output pin. At this time, when the first speaker on the audio device side plays the first audio signal, the first noise can be used to The anti-phase signal of the signal cancels the environmental noise where the user is located, and what the user hears is the original first playback signal (original left channel signal or right channel signal), realizing noise reduction.
其中,所述第一噪声信号输入引脚为所述Type-C母头上引脚集合中的至少一个引脚;所述第一音频信号输出引脚为所述引脚集合中除所述噪声信号输出引脚之外的至少一个引脚;所述引脚集合包括根据Type-C接口协议规定的D1+引脚、D2+引脚、D1-引脚、D2-引脚、VBUS引脚、RX1+引脚、RX1-引脚、RX2+引脚、RX2-引脚、TX1+引脚、TX1-引脚、TX2+引脚、TX2-引脚中至少一个。Wherein, the first noise signal input pin is at least one pin in the pin set on the Type-C female head; the first audio signal output pin is the pin set except the noise At least one pin other than signal output pins; the set of pins includes D1+ pins, D2+ pins, D1-pins, D2- pins, VBUS pins, RX1+ pins specified in the Type-C interface protocol pin, RX1-pin, RX2+ pin, RX2-pin, TX1+ pin, TX1-pin, TX2+ pin, TX2-pin.
与音频设备对应的,为了识别本发明实施例中音频设备,如图7所示,本发明实施例中终端设备中:Corresponding to the audio device, in order to identify the audio device in the embodiment of the present invention, as shown in FIG. 7, in the terminal device in the embodiment of the present invention:
所述音频处理单元包括音频处理模块、配置通道(英文全称:ConfigurationChannel,英文简称:CC)逻辑模块以及用于控制所述CC逻辑模块的控制处理模块,所述CC逻辑模块分别与所述音频处理模块和所述控制处理模块连接,所述CC逻辑模块包括CC1端口和CC2端口;The audio processing unit includes an audio processing module, a configuration channel (English full name: ConfigurationChannel, English abbreviation: CC) logic module and a control processing module for controlling the CC logic module, and the CC logic module is respectively connected with the audio processing module. The module is connected to the control processing module, and the CC logic module includes a CC1 port and a CC2 port;
所述Type-C母头包括用于识别与所述Type-C母头连接的电子设备的识别引脚,所述识别引脚包括Type-C接口协议规定的CC1引脚和CC2引脚;The Type-C female head includes identification pins for identifying electronic devices connected to the Type-C female head, and the identification pins include CC1 pins and CC2 pins specified in the Type-C interface protocol;
所述CC1引脚连接所述CC逻辑模块的CC1端口,所述CC2引脚连接所述CC逻辑模块的CC2端口;The CC1 pin is connected to the CC1 port of the CC logic module, and the CC2 pin is connected to the CC2 port of the CC logic module;
所述音频处理单元还包括总线复用模块,所述总线复用模块分别与所述第一噪声信号输入引脚、第一音频信号输出引脚、所述音频处理模块和所述控制处理模块连接;The audio processing unit also includes a bus multiplexing module, the bus multiplexing module is respectively connected to the first noise signal input pin, the first audio signal output pin, the audio processing module and the control processing module ;
在包括Type-C公头的电子设备通过所述Type-C公头插入所述Type-C母头并电连接的情况下,所述控制处理模块用于通过所述CC逻辑模块识别所述电子设备是否为目标音频设备;When an electronic device including a Type-C male head is inserted into the Type-C female head through the Type-C male head and electrically connected, the control processing module is used to identify the electronic device through the CC logic module. Whether the device is the target audio device;
所述总线复用模块包括至少两个传输通道,所述至少两个传输通道中包括音频信号传输通道和电能输出通道;The bus multiplexing module includes at least two transmission channels, and the at least two transmission channels include audio signal transmission channels and power output channels;
所述控制处理模块还用于在确定所述电子设备为目标音频设备的情况下,将所述总线复用模块的传输通道,切换到音频信号传输通道,使所述音频处理模块与所述Type-C母头之间连通;The control processing module is also used to switch the transmission channel of the bus multiplexing module to an audio signal transmission channel when it is determined that the electronic device is a target audio device, so that the audio processing module and the Type -Connection between female connectors of C;
在所述音频处理模块与所述Type-C母头之间连通的情况下,所述终端设备通过所述第一噪声信号输入引脚接收目标音频设备传输的第一噪声信号并传输到所述音频处理模块;In the case of communication between the audio processing module and the Type-C female head, the terminal device receives the first noise signal transmitted by the target audio device through the first noise signal input pin and transmits it to the Audio processing module;
所述音频处理模块用于根据所述第一噪声信号进行降噪处理后得到第一音频信号;并通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备。The audio processing module is used to obtain a first audio signal after performing noise reduction processing according to the first noise signal; and output the first audio signal to the target audio device through the first audio signal output pin .
Type-C接口协议标准中,定义了CC逻辑模块的结构,在Type-C接口协议标准方案中,音频设备插入终端设备后,音频设备侧Type-C公头上的CC1引脚和CC2引脚中只有一个通道上是有下拉电阻(如R1)的,由此识别出设备的正/反插入;In the Type-C interface protocol standard, the structure of the CC logic module is defined. In the Type-C interface protocol standard scheme, after the audio device is inserted into the terminal device, the CC1 pin and CC2 pin on the Type-C male head on the audio device side There is a pull-down resistor (such as R1) on only one channel, which identifies the positive/reverse insertion of the device;
在本发明实施例中,为了提高设备识别的准确率,在音频设备侧的Type-C公头上的CC1引脚和CC2引脚分别设计了下拉电阻R1和R2(如上音频设备侧描述,此处不再赘述),因此音频设备的插入识别流程需要重新设计;In the embodiment of the present invention, in order to improve the accuracy of device identification, pull-down resistors R1 and R2 are respectively designed on the CC1 pin and CC2 pin on the Type-C male head on the audio device side (as described above on the audio device side, here No more details here), so the plug-in identification process of audio equipment needs to be redesigned;
图8为在包括Type-C公头的电子设备通过所述Type-C公头插入所述Type-C母头并电连接的情况下,终端设备对音频设备通过CC逻辑模块识别示意图(为了方便理解,图7中仅示出终端设备的CC逻辑模块和音频设备连接时的简略图)。Figure 8 is a schematic diagram of a terminal device identifying an audio device through a CC logic module when an electronic device including a Type-C male is inserted into the Type-C female through the Type-C male and electrically connected (for convenience It should be understood that FIG. 7 only shows a schematic diagram when the CC logic module of the terminal device is connected to the audio device).
在包括Type-C公头的电子设备通过所述Type-C公头插入所述Type-C母头,并与所述Type-C母头电连接的情况下,所述控制处理模块用于通过所述CC逻辑模块获取所述CC1端口处电压值VCC1,判断所述VCC1是否在第一预设电压值范围内,若是,通过所述CC逻辑模块获取所述CC2端口处电压值VCC2,在所述VCC2满足在第二预设电压值范围内时,确定所述电子设备为目标音频设备;In the case that the electronic device including the Type-C male head is inserted into the Type-C female head through the Type-C male head, and is electrically connected with the Type-C female head, the control processing module is used to pass The CC logic module obtains the voltage value V CC1 at the CC1 port, and judges whether the V CC1 is within the first preset voltage value range, and if so, obtains the voltage value V CC2 at the CC2 port through the CC logic module , when the V CC2 is within a second preset voltage value range, determining that the electronic device is a target audio device;
由于,音频设备侧的Type-C公头上的CC1引脚和CC2引脚分别设计了下拉电阻R1和R2阻值不同,所述CC1端口和所述CC2端口的分压值也不同,且不可能为0,因此,设定的所述第一预设电压值范围和所述第一预设电压值范围中电压值均大于0。Since the CC1 pin and the CC2 pin on the Type-C male connector on the audio device side are respectively designed with pull-down resistors R1 and R2 with different resistance values, the voltage division values of the CC1 port and the CC2 port are also different, and are not It may be 0, therefore, the set first preset voltage value range and the voltage values in the first preset voltage value range are both greater than 0.
所述控制处理模块还用于在确定所述电子设备为所述目标音频设备后,比较所述VCC1和VCC2大小,根据所述VCC1和VCC2大小的比较结果,确定所述目标音频设备的Type-C公头插入所述Type-C母头的方向。The control processing module is further configured to compare the V CC1 and V CC2 sizes after determining that the electronic device is the target audio device, and determine the target audio frequency according to the comparison result of the V CC1 and V CC2 sizes. The direction in which the Type-C male head of the device is inserted into the Type-C female head.
当音频设备侧,第一噪声信号输出引脚和所述第一音频信号输入引脚相对Type-C公头的几何中心成中心对称时,终端设备侧此时可以对应设置如下:When the audio device side, the first noise signal output pin and the first audio signal input pin are symmetrical to the geometric center of the Type-C male head, the terminal device side can be set as follows:
所述第一噪声信号输入引脚为所述引脚集合中的一个引脚;所述第一音频信号输出引脚为所述引脚集合中除所述第一噪声信号输入引脚之外的一个引脚,且所述音频处理模块包括音频处理子模块和第一选择模块,所述第一选择模块分别与所述总线复用模块和所述音频处理子模块连接;The first noise signal input pin is a pin in the pin set; the first audio signal output pin is a pin in the pin set except the first noise signal input pin One pin, and the audio processing module includes an audio processing submodule and a first selection module, and the first selection module is connected to the bus multiplexing module and the audio processing submodule respectively;
所述第一噪声信号输入引脚和所述第一音频信号输出引脚相对所述Type-C母头的几何中心成中心对称;The first noise signal input pin and the first audio signal output pin are centrosymmetric with respect to the geometric center of the Type-C female connector;
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接,且所述音频处理子模块与所述总线复用模块之间的连通线路,匹配所述目标音频设备的Type-C公头插入所述Type-C母头的方向的情况下,所述音频处理子模块通过所述第一噪声信号输入引脚接收目标音频设备传输的第一噪声信号;并根据所述第一噪声信号对所述第一放音信号进行降噪处理后得到第一音频信号,通过所述第一音频信号输出引脚将所述第一音频信号输出到所述目标音频设备。The Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, and the communication line between the audio processing sub-module and the bus multiplexing module, When matching the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head, the audio processing submodule receives the first noise signal transmitted by the target audio device through the first noise signal input pin. noise signal; and according to the first noise signal, the first audio signal is obtained after noise reduction processing is performed on the first playback signal, and the first audio signal is output to the first audio signal through the first audio signal output pin Describe the target audio device.
此时,所述总线复用模块包括两个2选1选择器:第一选择器和第二选择器;At this time, the bus multiplexing module includes two 2-to-1 selectors: a first selector and a second selector;
所述选择模块包括两个2选1选择器:第三选择器和第四选择器;The selection module includes two 2-to-1 selectors: a third selector and a fourth selector;
所述第一选择器的公共端连接所述Type-C母头上的第一音频信号输出引脚,所述第二选择器的公共端连接所述Type-C母头的第一噪声信号输入引脚;The common end of the first selector is connected to the first audio signal output pin on the Type-C female head, and the common end of the second selector is connected to the first noise signal input of the Type-C female head pin;
所述第一选择器的第一被选择端连接所述第三选择器的公共端,所述第二选择器的第一被选择端连接所述第四选择器的公共端;The first selected end of the first selector is connected to the common end of the third selector, and the first selected end of the second selector is connected to the common end of the fourth selector;
所述第三选择器的第一被选择端连接所述音频处理子模块的第一音频信号输出端,所述第三选择器的第二被选择端连接所述音频处理子模块的第一噪声信号输入端;The first selected end of the third selector is connected to the first audio signal output end of the audio processing sub-module, and the second selected end of the third selector is connected to the first noise of the audio processing sub-module. signal input;
所述第四选择器的第一被选择端连接所述音频处理子模块的第一噪声信号输入端,所述第四选择器的第二被选择端连接所述音频处理子模块的第一音频信号输出端;The first selected end of the fourth selector is connected to the first noise signal input end of the audio processing sub-module, and the second selected end of the fourth selector is connected to the first audio signal input end of the audio processing sub-module. signal output;
在所述控制处理模块确定所述包括Type-C公头的电子设备为目标音频设备时,所述控制处理模块通过所述总线复用模块调整所述第一选择器、所述第二选择器,使所述第三选择器的公共端与所述Type-C母头的第一噪声信号输入引脚连通,所述第四选择器的公共端与所述Type-C母头的第一音频信号输出引脚连通;When the control processing module determines that the electronic device including the Type-C male head is the target audio device, the control processing module adjusts the first selector and the second selector through the bus multiplexing module , so that the common end of the third selector communicates with the first noise signal input pin of the Type-C female head, and the common end of the fourth selector communicates with the first audio signal input pin of the Type-C female head. The signal output pin is connected;
所述音频处理子模块用于在确定所述目标音频设备的Type-C公头插入所述设备的Type-C母头的方向与预设方向不同后,分别切换所述第三选择器、所述第四选择器的传输线路到匹配所述目标音频设备的线序;The audio processing sub-module is used to respectively switch the third selector, the the transmission line of the fourth selector to match the line sequence of the target audio device;
所述音频处理子模块具体用于通过所述音频处理子模块的第一噪声信号输入端接收目标音频设备传输的第一噪声信号;根据所述第一噪声信号生成第一噪声反相信号;将所述第一噪声反相信号叠加到第一放音信号上,得到第一音频信号;并通过所述音频处理子模块的第一音频信号输出端将所述第一音频信号输出到所述目标音频设备,本实施例中,第一放音信号为音频设备需要输出的左声道或右声道原始音频信号。The audio processing sub-module is specifically configured to receive the first noise signal transmitted by the target audio device through the first noise signal input terminal of the audio processing sub-module; generate a first noise inversion signal according to the first noise signal; The first noise anti-phase signal is superimposed on the first playback signal to obtain a first audio signal; and the first audio signal is output to the target through the first audio signal output terminal of the audio processing submodule For the audio device, in this embodiment, the first playback signal is the original audio signal of the left channel or the right channel that the audio device needs to output.
下面一个具体场景为例介绍,如图9所示,所述第一噪声信号输入引脚和所述第一音频信号输出引脚相对Type-C母头的几何中心成中心对称;The following specific scenario is described as an example. As shown in FIG. 9, the first noise signal input pin and the first audio signal output pin are symmetrical to the geometric center of the Type-C female connector;
将终端设备的Type-C母头上的D1+引脚(A6)定义为第一音频信号输出引脚HSR,将该Type-C母头上的D2+引脚(B6)定义为第一噪声信号输入引脚M_R;Define the D1+ pin (A6) on the Type-C female connector of the terminal device as the first audio signal output pin HSR, and define the D2+ pin (B6) on the Type-C female connector as the first noise signal input pin M_R;
总线复用模块中第一选择器和第二选择器为两个二选一的开关,第一选择器的公共端连接HSR,第二选择器的公共端连接M_R,第一选择器的第一被选择端为USB D+,第一选择器的第二被选择端连接所述第三选择器MUX1的公共端,第二选择器的第一被选择端连接USB D-,第二选择器的第二被选择端连接所述第三选择器MUX2的公共端,MUX1的第一被选择端连接所述音频处理子模块的第一音频信号输出端,MUX1的第二被选择端连接所述音频处理子模块的第一噪声信号输入端。The first selector and the second selector in the bus multiplexing module are two two-choice switches, the common end of the first selector is connected to HSR, the common end of the second selector is connected to M_R, and the first selector of the first selector is connected to M_R. The selected end is USB D+, the second selected end of the first selector is connected to the common end of the third selector MUX1, the first selected end of the second selector is connected to USB D-, and the second selected end of the second selector is connected to the common end of the third selector MUX1. The two selected ends are connected to the common end of the third selector MUX2, the first selected end of MUX1 is connected to the first audio signal output end of the audio processing sub-module, and the second selected end of MUX1 is connected to the audio processing The first noise signal input terminal of the sub-module.
第一选择器和第二选择器固定同时选择各自第一被选择端的或第二被选择短,例如,当第一选择器和第二选择器都选择第一被选择端,即所述总线复用模块连接USB D+和USB D-,此时,总线复用模块即选择的电能输出通道,终端设备通过Type-C母头向音频设备充电,当第一选择器和第二选择器都选择第二被选择端,即总线复用模块选择的音频信号传输通道,使Type-C母头和音频处理子模块之间连通。The first selector and the second selector are fixed to select the respective first selected terminal or the second selected terminal at the same time, for example, when both the first selector and the second selector select the first selected terminal, that is, the bus complex Use the module to connect USB D+ and USB D-. At this time, the bus multiplexing module is the selected power output channel, and the terminal device charges the audio device through the Type-C female connector. When both the first selector and the second selector select the second The second selected end, that is, the audio signal transmission channel selected by the bus multiplexing module, connects the Type-C female head with the audio processing sub-module.
具体的,即在所述控制处理模块确定所述包括Type-C公头的电子设备为目标音频设备时,所述控制处理模块通过控制信号func_sw控制所述总线复用模块调整所述第一选择器、所述第二选择器,使所述第三选择器的公共端与所述Type-C母头的第一噪声信号输入引脚M_R连通,所述第四选择器的公共端与所述Type-C母头的第一音频信号输出引脚HSR连通;Specifically, when the control processing module determines that the electronic device including the Type-C male head is the target audio device, the control processing module controls the bus multiplexing module to adjust the first selection through the control signal func_sw device, the second selector, so that the common end of the third selector communicates with the first noise signal input pin M_R of the Type-C female head, and the common end of the fourth selector communicates with the The first audio signal output pin HSR of the Type-C female head is connected;
所述音频处理子模块用于在确定所述目标音频设备的Type-C公头插入所述设备的Type-C母头的方向与预设方向不同后,分别切换所述第三选择器、所述第四选择器的传输线路到匹配所述目标音频设备的线序,例如,当控制处理模块确定音频设备的Type-C公头是正向插入所述终端设备的Type-C母头时,第三选择器和第四选择器则是默认的正向连接方式,MUX1选择HSR信号传输通道、MUX选择M_R信号传输通道;当控制处理模块确定音频设备的Type-C公头是反向插入所述终端设备的Type-C母头时,MUX1选择M_R信号传输通道、MUX选择HSR信号传输通道,此时,即可实现不管音频设备是正向插入还是方向插入,均可正常使用;The audio processing sub-module is used to respectively switch the third selector, the The transmission line of the fourth selector matches the line sequence of the target audio device. For example, when the control processing module determines that the Type-C male head of the audio device is inserted into the Type-C female head of the terminal device, the second The three selectors and the fourth selector are the default forward connection mode, MUX1 selects the HSR signal transmission channel, and MUX selects the M_R signal transmission channel; when the control processing module determines that the Type-C male head of the audio device is inserted in the reverse direction When the Type-C female head of the terminal device is used, MUX1 selects the M_R signal transmission channel, and MUX selects the HSR signal transmission channel. At this time, it can be used normally regardless of whether the audio device is inserted in the forward direction or in the direction;
所述音频处理子模块具体用于通过所述音频处理子模块的第一噪声信号输入端接收目标音频设备传输的第一噪声信号;根据所述第一噪声信号生成第一噪声反相信号;将所述第一噪声反相信号叠加到第一音频信号上,得到第一音频信号;并通过所述音频处理子模块的第一音频信号输出端将所述第一音频信号输出到所述目标音频设备。The audio processing sub-module is specifically configured to receive the first noise signal transmitted by the target audio device through the first noise signal input terminal of the audio processing sub-module; generate a first noise inversion signal according to the first noise signal; The first noise inversion signal is superimposed on the first audio signal to obtain the first audio signal; and the first audio signal is output to the target audio through the first audio signal output port of the audio processing submodule equipment.
当在音频设备侧,所述第一噪声信号输出引脚至少包括:第一引脚和第二引脚,所述第一音频信号输入引脚至少包括:第三引脚和第四引脚;所述第一引脚与所述第二引脚相对Type-C公头的几何中心成中心对称,所述第三引脚与所述第四引脚相对Type-C公头的几何中心成中心对称,第一引脚和第二引脚连接,第三引脚和第四引脚连接的情况下;When on the audio device side, the first noise signal output pin includes at least: a first pin and a second pin, and the first audio signal input pin includes at least: a third pin and a fourth pin; The first pin and the second pin are centered symmetrically with respect to the geometric center of the Type-C male head, and the third pin is centered with the fourth pin relative to the geometric center of the Type-C male head Symmetry, when the first pin is connected to the second pin, and the third pin is connected to the fourth pin;
与之对应的,在本发明实施例的一些终端设备实施例中,所述第一噪声信号输入引脚至少包括:第一引脚和第二引脚,所述第一音频信号输出引脚至少包括:第三引脚和第四引脚;所述第一引脚与所述第二引脚相对所述Type-C母头的几何中心成中心对称,所述第三引脚与所述第四引脚相对所述Type-C母头的几何中心成中心对称,且,所述第一引脚连接所述第二引脚,所述第三引脚连接所述第四引脚。Correspondingly, in some terminal device embodiments of the embodiments of the present invention, the first noise signal input pin at least includes: a first pin and a second pin, and the first audio signal output pin at least Including: a third pin and a fourth pin; the first pin and the second pin are symmetrical to the geometric center of the Type-C female head, and the third pin is symmetrical to the second pin The four pins are symmetrical to the geometric center of the Type-C female connector, and the first pin is connected to the second pin, and the third pin is connected to the fourth pin.
由于终端设备的Type-C母头上的引脚中用两个相对Type-C公头的几何中心成中心对称的引脚去完成同一功能,因此,不论Type-C公头正插,还是反插,均能实现第一噪声信号的正常输入和第一音频信号的正常输出。Since the pins on the Type-C female head of the terminal device use two pins that are symmetrical to the geometric center of the Type-C male head to complete the same function, no matter whether the Type-C male head is plugged in or reversed Both can realize the normal input of the first noise signal and the normal output of the first audio signal.
在本发明的实施例中,当音频设备设置同时第一扬声器和第二扬声器,以及对应的第一降噪麦克风和第二降噪麦克风时,与之对应的,在本发明实施例中的一些终端设备实施例中,所述Type-C母头包括第二噪声信号输入引脚和第二音频信号输出引脚,所述音频处理单元分别耦合至所述Type-C母头的第二噪声信号输入引脚和第二音频信号输出引脚,该第二噪声信号输入引脚与音频设备的第二噪声输出引脚对应,第二音频信号输出引脚和音频设备的第二噪声输入引脚对应。In the embodiment of the present invention, when the audio device is set with the first speaker and the second speaker, and the corresponding first noise reduction microphone and the second noise reduction microphone, correspondingly, in some embodiments of the present invention In an embodiment of the terminal device, the Type-C female head includes a second noise signal input pin and a second audio signal output pin, and the audio processing unit is respectively coupled to the second noise signal of the Type-C female head The input pin and the second audio signal output pin, the second noise signal input pin corresponds to the second noise output pin of the audio equipment, and the second audio signal output pin corresponds to the second noise input pin of the audio equipment .
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频处理单元通过所述第二噪声信号输入引脚接收目标音频设备传输的第二噪声信号并传输到所述音频处理单元;所述音频处理单元根据所述第二噪声信号对第二放音信号进行降噪处理后得到第二音频信号;并通过所述第二音频信号输出引脚将所述第二音频信号输出到所述目标音频设备,所述第一放音信号、所述第二放音信号分别为所述终端设备当前播放的音频文件(可以本地音频文件或网络音频文件)输出的原始左声道信号或原始右声道信号中一种,例如当第一放音信号为原始左声道信号时,第二放音信号为原始右声道信号,同理,当第一放音信号为原始右声道信号时,第二放音信号为原始左声道信号;When the Type-C male head of the target audio device is inserted into the Type-C female head and is electrically connected to the Type-C female head, the audio processing unit receives the target signal through the second noise signal input pin. The second noise signal transmitted by the audio device is transmitted to the audio processing unit; the audio processing unit performs noise reduction processing on the second playback signal according to the second noise signal to obtain a second audio signal; and through the The second audio signal output pin outputs the second audio signal to the target audio device, and the first playback signal and the second playback signal are respectively audio files currently played by the terminal device (can be Local audio files or network audio files) output the original left channel signal or the original right channel signal, for example, when the first playback signal is the original left channel signal, the second playback signal is the original right channel signal signal, similarly, when the first playback signal is the original right channel signal, the second playback signal is the original left channel signal;
其中,所述第二噪声信号输入引脚为所述引脚集合中的至少一个引脚;所述第二音频信号输出引脚为所述引脚集合中的至少一个引脚,且所述第一噪声信号输入引脚、第一音频信号输出引脚、所述第二噪声信号输入引脚和第二音频信号输出引脚中的引脚互不相同。Wherein, the second noise signal input pin is at least one pin in the pin set; the second audio signal output pin is at least one pin in the pin set, and the first A noise signal input pin, the first audio signal output pin, the second noise signal input pin and the second audio signal output pin are different from each other.
进一步的,在发明的一些终端设备的实施例中,在所述第一噪声信号输入引脚、所述第一音频信号输出引脚、所述第二噪声信号输入引脚和所述第二音频信号输出引脚均为所述引脚集合中的一个引脚的情况下;Further, in some embodiments of the terminal equipment of the invention, the first noise signal input pin, the first audio signal output pin, the second noise signal input pin and the second audio In the case where the signal output pins are all one pin in the set of pins;
所述音频处理模块包括音频处理子模块和第一选择模块;The audio processing module includes an audio processing submodule and a first selection module;
所述第一选择模块分别与所述总线复用模块和所述音频处理子模块连接;The first selection module is respectively connected to the bus multiplexing module and the audio processing sub-module;
在所述控制处理模块确定所述目标音频设备的Type-C公头插入所述Type-C母头的方向后,所述音频处理子模块用于控制所述第一选择模块与所述音频处理子模块的连接方式,使所述音频处理子模块与所述总线复用模块之间的连通线路,匹配所述目标音频设备的Type-C公头插入所述Type-C母头的方向;After the control processing module determines the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head, the audio processing sub-module is used to control the first selection module and the audio processing The sub-module is connected in such a way that the connection line between the audio processing sub-module and the bus multiplexing module matches the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head;
所述第一噪声信号输入引脚和所述第一音频信号输出引脚相对Type-C母头的几何中心成中心对称,所述第二噪声信号输入引脚和所述第二音频信号输出引脚相对Type-C母头的几何中心成中心对称,The first noise signal input pin and the first audio signal output pin are symmetrical to the geometric center of the Type-C female head, and the second noise signal input pin and the second audio signal output pin The feet are symmetrical to the geometric center of the Type-C female head,
或,所述第一噪声信号输入引脚和所述第二噪声信号输入引脚相对Type-C母头的几何中心成中心对称,所述第一音频信号输出引脚和所述第二音频信号输出引脚相对Type-C母头的几何中心成中心对称,Or, the first noise signal input pin and the second noise signal input pin are symmetrical to the geometric center of the Type-C female connector, and the first audio signal output pin and the second audio signal output pin are symmetrical to each other. The output pin is symmetrical to the geometric center of the Type-C female connector.
或,所述第一噪声信号输入引脚和所述第二音频信号输出引脚相对Type-C母头的几何中心成中心对称,所述第一音频信号输出引脚和所述第二噪声信号输入引脚相对Type-C母头的几何中心成中心对称。Or, the first noise signal input pin and the second audio signal output pin are symmetrical to the geometric center of the Type-C female connector, and the first audio signal output pin and the second noise signal output pin are symmetrical to each other. The input pin is symmetrical to the geometric center of the Type-C female connector.
具体的,此时,所述总线复用模块包括四个2选1选择器:第一选择器、第二选择器、第五选择器和第六选择器;Specifically, at this time, the bus multiplexing module includes four 2-to-1 selectors: a first selector, a second selector, a fifth selector, and a sixth selector;
所述选择模块包括四个2选1选择器:第三选择器、第四选择器、第七选择器和第八选择器;The selection module includes four 2-to-1 selectors: a third selector, a fourth selector, a seventh selector and an eighth selector;
所述第一选择器的公共端连接所述Type-C母头上的第一音频信号输出引脚,所述第二选择器的公共端连接所述Type-C母头的第一噪声信号输入引脚;The common end of the first selector is connected to the first audio signal output pin on the Type-C female head, and the common end of the second selector is connected to the first noise signal input of the Type-C female head pin;
所述第一选择器的第一被选择端连接所述第三选择器的公共端,所述第二选择器的第一被选择端连接所述第四选择器的公共端;The first selected end of the first selector is connected to the common end of the third selector, and the first selected end of the second selector is connected to the common end of the fourth selector;
所述第三选择器的第一被选择端连接所述音频处理子模块的第一音频信号输出端,所述第三选择器的第二被选择端连接所述音频处理子模块的第一噪声信号输入端;The first selected end of the third selector is connected to the first audio signal output end of the audio processing sub-module, and the second selected end of the third selector is connected to the first noise of the audio processing sub-module. signal input;
所述第四选择器的第一被选择端连接所述音频处理子模块的第一噪声信号输入端,所述第四选择器的第二被选择端连接所述音频处理子模块的第一音频信号输出端;The first selected end of the fourth selector is connected to the first noise signal input end of the audio processing sub-module, and the second selected end of the fourth selector is connected to the first audio signal input end of the audio processing sub-module. signal output;
所述第五选择器的公共端连接所述Type-C母头上的第二音频信号输出引脚,所述第六选择器的公共端连接所述Type-C母头的第二噪声信号输入引脚;The common end of the fifth selector is connected to the second audio signal output pin on the Type-C female head, and the common end of the sixth selector is connected to the second noise signal input of the Type-C female head pin;
所述第五选择器的第一被选择端连接所述第七选择器的公共端,所述第六选择器的第一被选择端连接所述第八选择器的公共端;The first selected end of the fifth selector is connected to the common end of the seventh selector, and the first selected end of the sixth selector is connected to the common end of the eighth selector;
所述第七选择器的第一被选择端连接所述音频处理子模块的第二音频信号输出端,所述第七选择器的第二被选择端连接所述音频处理子模块的第二噪声信号输入端;The first selected end of the seventh selector is connected to the second audio signal output end of the audio processing sub-module, and the second selected end of the seventh selector is connected to the second noise of the audio processing sub-module. signal input;
所述第八选择器的第一被选择端连接所述音频处理子模块的第二噪声信号输入端,所述第八选择器的第二被选择端连接所述音频处理子模块的第二音频信号输出端;The first selected end of the eighth selector is connected to the second noise signal input end of the audio processing sub-module, and the second selected end of the eighth selector is connected to the second audio signal input end of the audio processing sub-module. signal output;
在所述控制处理模块确定所述包括Type-C公头的电子设备为目标音频设备时,所述控制处理模块通过所述总线复用模块调整所述第一选择器、所述第二选择器、所述第五选择器、所述第六选择器,使所述第三选择器的公共端与所述Type-C母头的第一噪声信号输入引脚连通,所述第四选择器的公共端与所述Type-C母头的第一音频信号输出引脚连通,所述第七选择器的公共端与所述Type-C母头的第二噪声信号输入引脚连通,所述第八选择器的公共端与所述Type-C母头的第二音频信号输出引脚连通;When the control processing module determines that the electronic device including the Type-C male head is the target audio device, the control processing module adjusts the first selector and the second selector through the bus multiplexing module , the fifth selector, and the sixth selector make the common end of the third selector communicate with the first noise signal input pin of the Type-C female head, and the fourth selector The common end communicates with the first audio signal output pin of the Type-C female head, the common end of the seventh selector communicates with the second noise signal input pin of the Type-C female head, and the first The common end of the eight selectors communicates with the second audio signal output pin of the Type-C female head;
所述音频处理子模块用于在确定所述目标音频设备的Type-C公头插入所述设备的Type-C母头的方向与预设方向不同后,分别切换所述第三选择器、所述第四选择器、第七选择器、第八选择器的传输线路到匹配所述目标音频设备的线序;The audio processing sub-module is used to respectively switch the third selector, the The transmission lines of the fourth selector, the seventh selector, and the eighth selector match the line sequence of the target audio device;
所述音频处理子模块具体用于通过所述音频处理子模块的第一噪声信号输入端接收目标音频设备传输的第一噪声信号;根据所述第一噪声信号生成第一噪声信号的反相信号;将所述第一噪声信号的反相信号叠加到第一放音信号上,得到第一音频信号;并通过所述音频处理子模块的第一音频信号输出端将所述第一音频信号输出到所述目标音频设备。The audio processing sub-module is specifically configured to receive the first noise signal transmitted by the target audio device through the first noise signal input terminal of the audio processing sub-module; generate an inversion signal of the first noise signal according to the first noise signal ; Superimpose the inversion signal of the first noise signal on the first playback signal to obtain a first audio signal; and output the first audio signal through the first audio signal output port of the audio processing submodule to the target audio device.
所述音频处理子模块具体用于通过所述音频处理子模块的第二噪声信号输入端接收目标音频设备传输的第二噪声信号;根据所述第二噪声信号生成第二噪声信号的反相信号;将所述第二噪声信号的反相信号叠加到第二放音信号上,得到第二音频信号;并通过所述音频处理子模块的第二音频信号输出端将所述第二音频信号输出到所述目标音频设备。The audio processing sub-module is specifically configured to receive the second noise signal transmitted by the target audio device through the second noise signal input terminal of the audio processing sub-module; generate an inverse signal of the second noise signal according to the second noise signal ; Superimpose the inversion signal of the second noise signal on the second playback signal to obtain a second audio signal; and output the second audio signal through the second audio signal output port of the audio processing submodule to the target audio device.
如图10所示,在图9所示的实施例的基础上,将终端设备的Type-C母头上的D1-引脚(A7)定义为第一音频信号输出引脚HSL,将该Type-C母头上的D2-引脚(B7)定义为第一噪声信号输入引脚M_L;As shown in Figure 10, on the basis of the embodiment shown in Figure 9, the D1-pin (A7) on the Type-C female head of the terminal device is defined as the first audio signal output pin HSL, and the Type -The D2-pin (B7) on the C female is defined as the first noise signal input pin M_L;
图10中总线复用模块右端和音频处理模块左端连接线上的HSR/M_R、HSL/M_L、M_R/HSR、M_L/HSL等是为了方便理解而标识出的连接关系(其它实施例中类似),表示总线复用模块右端标HSR/M_R的连接线连接音频处理模块左端标HSR/M_R的连接线,依次类推,HSR/M_R前后分别正反插时信号传输情况。HSR/M_R, HSL/M_L, M_R/HSR, M_L/HSL etc. on the connecting line of the right end of the bus multiplexing module and the left end of the audio processing module in Fig. 10 are connection relationships identified for convenience of understanding (similar in other embodiments) , indicating that the connection line marked HSR/M_R on the right end of the bus multiplexing module is connected to the connection line marked HSR/M_R on the left end of the audio processing module, and so on, the signal transmission situation when HSR/M_R is inserted forward and backward respectively.
总线复用模块增加了两个选择器:第五选择器和第六选择器,第一选择模块增加了两个选择器:第七选择器MUX3和第八选择器MUX4,图10在图9的基础上多了两路信号(第二噪声输入信号和第二音频输出信号)的处理,具体实现过程可以参照图9所示的实施例,此处不再赘述。The bus multiplexing module has increased two selectors: the fifth selector and the sixth selector, and the first selection module has increased two selectors: the seventh selector MUX3 and the eighth selector MUX4, Fig. 10 is in Fig. 9 Basically, two channels of signal processing (the second noise input signal and the second audio output signal) are processed, and the specific implementation process can refer to the embodiment shown in FIG. 9 , which will not be repeated here.
在本发明实施例中的一些终端设备的实施例中,所述第一噪声信号输入引脚包括第一引脚和第二引脚,所述第一音频信号输出引脚包括第三引脚和第四引脚,所述第二噪声信号输入引脚包括第五引脚和第六引脚,所述第二音频信号输出引脚包括第七引脚和第八引脚;In some embodiments of the terminal device in the embodiments of the present invention, the first noise signal input pin includes a first pin and a second pin, and the first audio signal output pin includes a third pin and a The fourth pin, the second noise signal input pin includes a fifth pin and a sixth pin, and the second audio signal output pin includes a seventh pin and an eighth pin;
其中,所述第一引脚与所述第二引脚相对Type-C母头的几何中心成中心对称,所述第三引脚与所述第四引脚相对Type-C母头的几何中心成中心对称;所述第五引脚与所述第六引脚相对Type-C母头的几何中心成中心对称,所述第七引脚与所述第八引脚相对Type-C母头的几何中心成中心对称;Wherein, the first pin and the second pin are symmetrical to the geometric center of the Type-C female head, and the third pin and the fourth pin are relative to the geometric center of the Type-C female head. Symmetrical to the center; the fifth pin and the sixth pin are symmetrical to the geometric center of the Type-C female head, and the seventh pin and the eighth pin are relative to the Type-C female head. The geometric center is symmetrical to the center;
且所述第一引脚、所述第二引脚、所述第三引脚、所述第四引脚、所述第五引脚、所述第六引脚、所述第七引脚和所述第八引脚为所述引脚集合中互不相同的引脚。And the first pin, the second pin, the third pin, the fourth pin, the fifth pin, the sixth pin, the seventh pin and The eighth pin is a different pin in the set of pins.
本发明实施例中的一些终端设备实施例中,所述Type-C母头包括语音信号输入引脚,所述语音信号输入引脚包括Type-C接口协议规定的SBU1引脚或SBU2引脚;In some terminal device embodiments in the embodiments of the present invention, the Type-C female connector includes a voice signal input pin, and the voice signal input pin includes an SBU1 pin or an SBU2 pin specified in the Type-C interface protocol;
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,所述音频处理模块还用于通过语音信号输入引脚接收所述目标音频设备输入的语音信号,并根据所述第一噪声信号对所述语音信号进行降噪处理,所述语音信号为所述目标音频设备的语音麦克风采集得到,所述语音信号输入引脚包括Type-C接口协议规定的SBU1引脚或SBU2引脚。When the Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, the audio processing module is also used to receive the The voice signal input by the target audio device, and perform noise reduction processing on the voice signal according to the first noise signal, the voice signal is collected by the voice microphone of the target audio device, and the voice signal input pin includes The SBU1 pin or SBU2 pin specified by the Type-C interface protocol.
在目标音频设备的Type-C公头插入所述Type-C母头并与所述Type-C母头电连接的情况下,用户通过本发明音频设备和终端设备与其他人进行通话时,终端设备通过同时接收音频设备语音麦克风采集的语音信号以及音频设备第一降噪麦克风采集的第一噪声信号,音频处理模块根据所述第一噪声信号对所述语音信号进行降噪处理可以是:音频处理模块根据第一噪声信号生成第一噪声信号的反相信号,将接收的语音信号和第一噪声信号的反相信号进行叠加,即可以提高用户的通话质量。When the Type-C male head of the target audio device is inserted into the Type-C female head and electrically connected to the Type-C female head, when the user talks to other people through the audio device and the terminal device of the present invention, the terminal The device simultaneously receives the voice signal collected by the voice microphone of the audio device and the first noise signal collected by the first noise reduction microphone of the audio device, and the audio processing module performs noise reduction processing on the voice signal according to the first noise signal, which may be: audio The processing module generates an inverse signal of the first noise signal according to the first noise signal, and superimposes the received voice signal and the inverse signal of the first noise signal, thereby improving the call quality of the user.
进一步的,本发明实施例中的一些终端设备实施例中,在所述音频处理模块包括音频处理子模块和第一选择模块,所述第一选择模块分别与所述总线复用模块和所述音频处理子模块连接的情况下;Further, in some terminal device embodiments in the embodiments of the present invention, the audio processing module includes an audio processing sub-module and a first selection module, and the first selection module is connected with the bus multiplexing module and the In the case of audio processing sub-module connection;
所述音频处理模块还包括第二选择模块,所述第二选择模块分别连接所述音频处理单元和模拟地;所述第二选择模块还连接所述语音信号输入引脚;The audio processing module also includes a second selection module, the second selection module is respectively connected to the audio processing unit and the analog ground; the second selection module is also connected to the voice signal input pin;
在所述控制处理模块确定所述目标音频设备的Type-C公头插入所述Type-C母头的方向后,所述音频处理子模块还用于控制所述第二选择模块与所述音频处理子模块的连接方式,使所述音频处理子模块分别与所述语音信号输入引脚之间的连通线路,匹配所述目标音频设备的Type-C公头插入所述Type-C母头的方向;After the control processing module determines the direction in which the Type-C male head of the target audio device is inserted into the Type-C female head, the audio processing sub-module is also used to control the second selection module and the audio Processing the connection mode of the sub-module, so that the connecting line between the audio processing sub-module and the voice signal input pin matches the Type-C male plug of the target audio device inserted into the Type-C female plug direction;
其中,在所述语音信号输入引脚为所述SBU1引脚的情况下,所述SBU1引脚与所述语音麦克风连接,所述SBU2引脚连接模拟地;在所述语音信号输入引脚为所述SBU2引脚的情况下,所述SBU2引脚与所述语音麦克风连接,所述SBU1引脚连接模拟地。Wherein, in the case where the voice signal input pin is the SBU1 pin, the SBU1 pin is connected to the voice microphone, and the SBU2 pin is connected to an analog ground; when the voice signal input pin is In the case of the SBU2 pin, the SBU2 pin is connected to the voice microphone, and the SBU1 pin is connected to an analog ground.
如图11所示,为终端设备音频处理模块的结构示意图,音频处理模块中增加了两个选择器MUX5和MUX6,同理,总线复用模块也会多出两个选择器(图中未示出,可参照上述实施例中设置),其中,MUX5的公共端连接终端设备Type-C母头上的SUB1引脚(A8),MUX6的公共端连接终端设备的Type-C母头上的SUB2引脚(B8),将该Type-C母头上的SUB1引脚(A8)定义为语音信号输入引脚MIC,SUB2引脚(B8)定义为模拟地引脚AGND,其他可参照图10,此处不再赘述。As shown in Figure 11, it is a schematic structural diagram of the audio processing module of the terminal equipment. Two selectors MUX5 and MUX6 are added to the audio processing module. Similarly, the bus multiplexing module will also have two more selectors (not shown in the figure) can refer to the setting in the above embodiment), wherein, the public end of MUX5 is connected to the SUB1 pin (A8) on the Type-C female head of the terminal device, and the public end of MUX6 is connected to the SUB2 on the Type-C female head of the terminal device Pin (B8), the SUB1 pin (A8) on the Type-C female is defined as the voice signal input pin MIC, and the SUB2 pin (B8) is defined as the analog ground pin AGND. Others can refer to Figure 10. I won't repeat them here.
在本发明实施例中的一些终端设备实施例中,所述第二选择模块包括两个2选1选择器:第九选择器和第十选择器;In some terminal device embodiments in the embodiments of the present invention, the second selection module includes two 2-to-1 selectors: a ninth selector and a tenth selector;
所述第九选择器的公共端连接所述音频处理子模块,所述第九选择器的第一被选择端连接所述Type-C母头的SBU1引脚,所述第九选择器的第二被选择端连接所述Type-C母头上的SBU2引脚;The common end of the ninth selector is connected to the audio processing sub-module, the first selected end of the ninth selector is connected to the SBU1 pin of the Type-C female head, and the first selected end of the ninth selector is connected to the SBU1 pin of the Type-C female head. The second selected end is connected to the SBU2 pin on the Type-C female head;
所述第十选择器的公共端连接所述音频处理子模块,所述第十选择器的第一被选择端连接所述Type-C母头的SBU2引脚,所述第十选择器的第二被选择端连接所述Type-C母头上的SBU1引脚;The common end of the tenth selector is connected to the audio processing sub-module, the first selected end of the tenth selector is connected to the SBU2 pin of the Type-C female head, and the first selected end of the tenth selector is connected to the SBU2 pin of the Type-C female head. The second selected end is connected to the SBU1 pin on the Type-C female head;
在所述设备通过所述Type-C母头与目标音频设备的Type-C公头插入连接时,所述音频处理子模块用于在确定所述目标音频设备的Type-C公头插入所述设备的Type-C母头的方向与预设方向不同后,分别切换所述第九选择器、所述第十选择器的传输线路到匹配所述目标音频设备的线序;When the device is inserted and connected to the Type-C male head of the target audio device through the Type-C female head, the audio processing submodule is used to determine that the Type-C male head of the target audio device is inserted into the After the direction of the Type-C female head of the device is different from the preset direction, respectively switch the transmission lines of the ninth selector and the tenth selector to match the line sequence of the target audio device;
所述音频处理子模块还用于通过所述Type-C母头的所述SBU1引脚接收所述目标音频设备输入的语音信号,所述语音信号为所述目标音频设备的语音麦克风收集得到。The audio processing sub-module is also configured to receive the voice signal input by the target audio device through the SBU1 pin of the Type-C female connector, and the voice signal is collected by the voice microphone of the target audio device.
本发明实施例中,所述总线复用模块、所述控制处理模块、所述CC逻辑模块、所述音频处理模块均可以为独立的芯片,或者在所述终端设备包括系统芯片SOC时,集成在SOC中,亦或者上述模块中的多个集成为一个芯片单元。本发明实施例中,DGND是模拟地,是数字电路零电位的公共基准地,AGND是模拟地,是模拟电路零电位的公共基准地。In the embodiment of the present invention, the bus multiplexing module, the control processing module, the CC logic module, and the audio processing module can all be independent chips, or when the terminal device includes a system chip SOC, an integrated In the SOC, or multiple of the above-mentioned modules are integrated into one chip unit. In the embodiment of the present invention, DGND is an analog ground, which is a common reference ground of zero potential of digital circuits, and AGND is an analog ground, and is a common reference ground of zero potential of analog circuits.
本发明实施例中还提供一种电子设备,包括音频设备和终端设备,所述音频设备包括Type-C公头,所述终端设备包括Type-C母头;所述音频设备可以是如上任一种情况的音频设备;所述终端设备可以是如上任一种情况的终端设备。An electronic device is also provided in an embodiment of the present invention, including an audio device and a terminal device, the audio device includes a Type-C male head, and the terminal device includes a Type-C female head; the audio device can be any of the above An audio device in any of the above cases; the terminal device may be a terminal device in any of the above cases.
同时,为了让本发明实施例中提供的音频设备能够应用在具有普通3.5mm耳机插座,本发明实施例中还提供一种转换接口,可以利用转换接口上的Type-C母头将音频设备上的Type-C插头转换成3.5mm耳机插头,使上述音频设备能够使用在具有3.5mm耳机插座的设备上。At the same time, in order to allow the audio equipment provided in the embodiment of the present invention to be applied to a common 3.5mm headphone jack, the embodiment of the present invention also provides a conversion interface, which can use the Type-C female head on the conversion interface to connect the audio equipment to The USB Type-C plug is converted into a 3.5mm headphone plug, enabling the above audio devices to be used on devices with a 3.5mm headphone jack.
本发明实施例中与降噪音频设备匹配的包括Type-C母头的设备,也可以是带耳机插口的普通设备插上转换接头,该转换接头为耳机接口和Type-C母头的转换接头,则该普通设备就不需要包括Type-C母头,可以是带普通3.5mm耳机插口的手机、平板、智能手表、笔记本电脑等,也可以是包括普通3.5mm耳机插口的MP3、MP4、MP5等其他音频电子设备,通过上述转换接头与带Type-C公头的降噪音频设备连接。In the embodiment of the present invention, the device including the Type-C female head matched with the noise reduction audio device can also be an ordinary device with a headphone jack plugged into a conversion joint, and the conversion joint is a conversion joint between the headphone jack and the Type-C female head , then the ordinary device does not need to include the Type-C female head, it can be a mobile phone, a tablet, a smart watch, a laptop, etc. Other audio electronic equipment, such as other audio electronic equipment, can be connected to the noise reduction audio equipment with Type-C male through the above-mentioned conversion connector.
本发明实施例中提供的一种转换接口,所述转换接口包括Type-C母头和耳机插头,所述Type-C母头用于与如上所述任一种情况的音频设备的Type-C公头插入连接;A conversion interface provided in an embodiment of the present invention, the conversion interface includes a Type-C female head and a headphone plug, and the Type-C female head is used to connect to the Type-C audio device in any of the above situations. male plug-in connection;
所述Type-C母头用于与所述音频设备的Type-C公头连接,所述耳机插头用于与另一电子设备的耳机插座连接。The Type-C female connector is used for connecting with the Type-C male connector of the audio device, and the earphone plug is used for connecting with the earphone socket of another electronic device.
本发明的一些实施例中,所述耳机插头的左声道引脚与所述Type-C公头上的第一音频输入引脚连接;In some embodiments of the present invention, the left channel pin of the earphone plug is connected to the first audio input pin on the Type-C male;
所述耳机插头的右声道引脚与所述Type-C公头上的第二音频输入引脚连接;The right channel pin of the earphone plug is connected to the second audio input pin on the Type-C male;
所述耳机插头的麦克风引脚与所述Type-C公头上的SUB1引脚连接The microphone pin of the earphone plug is connected to the SUB1 pin on the Type-C male head
所述耳机插头的接地引脚与所述Type-C公头上的SUB2引脚连接;The ground pin of the earphone plug is connected to the SUB2 pin on the Type-C male head;
所述Type-C公头上的第第一音频输入引脚、第二音频输入引脚为USB 3.1规范定义的Type-C公头的D1+引脚、D2+引脚、D1-引脚、D2-引脚、RX1+引脚、RX1-引脚、RX2+引脚、RX2-引脚、TX1+引脚、TX1-引脚、TX2+引脚、TX2-引脚、4个VBUS引脚中任意两个引脚。The first audio input pin and the second audio input pin on the Type-C male head are the D1+ pin, D2+ pin, D1- pin, D2- pin, RX1+ pin, RX1- pin, RX2+ pin, RX2- pin, TX1+ pin, TX1- pin, TX2+ pin, TX2- pin, any two of the 4 VBUS pins .
这时候用了转换接口的音频设备,由于普通3.5mm的耳机接口引脚不够,此时音频设备的降噪麦克风采集的噪声信号即无法输出到转换接口插入的终端设备,此时该音频设备的降噪功能即无法实现了。At this time, the audio device with the conversion interface is used. Since the pins of the ordinary 3.5mm headphone interface are not enough, the noise signal collected by the noise reduction microphone of the audio device cannot be output to the terminal device inserted into the conversion interface. At this time, the audio device’s The noise reduction function is no longer available.
其中,所述转换接口的Type-C母头的外观面可以设置有包括用于标识所述Type-C母头正反向的标识部件或标识结构。Wherein, the appearance surface of the Type-C female connector of the conversion interface may be provided with an identification component or an identification structure for identifying the forward and reverse of the Type-C female connector.
所述耳机插头为美国移动通信和互联网协会(英文全称:CellularTelecommunication&Internet Association,英文简称:CTIA)标准耳机插头或开放移动终端平台组织(英文全称:Open Mobile Terminal Platform,英文简称:OMTP)标准耳机插头。The earphone plug is a standard earphone plug of the Cellular Telecommunications & Internet Association (English abbreviation: CTIA) or an Open Mobile Terminal Platform Organization (English abbreviation: Open Mobile Terminal Platform, English abbreviation: OMTP) standard earphone plug.
如图12所示,以3.5mm耳机插头为CTIA标准耳机插头的具体例子为例,将所述转换接口的3.5mm耳机插头从左到右分别连接转换接口上的Type-C母头上的D1-引脚(A7)、D1+引脚(A6)、SBU2引脚(B8)和SBU1引脚(A8)分别连接。As shown in Figure 12, taking the specific example where the 3.5mm headphone plug is a CTIA standard headphone plug as an example, connect the 3.5mm headphone plug of the conversion interface to D1 on the Type-C female head on the conversion interface from left to right. - Pin (A7), D1+ pin (A6), SBU2 pin (B8) and SBU1 pin (A8) are connected separately.
当本发明实施例中,音频设备的Type-C公头插入所述转换接口的Type-C母头时,即可让本发明实施例中音频设备实现普通耳机信号的输出。In the embodiment of the present invention, when the Type-C male plug of the audio device is inserted into the Type-C female plug of the conversion interface, the audio device in the embodiment of the present invention can realize the output of ordinary earphone signals.
需要说明的是,本发明实施例所有附图中,音频设备的外观结构仅为示例,在保证电路功能的情形下,其可以是任意形状,例如音频设备可以是头戴式、挂耳式、入耳式、耳塞式耳机,也可以是不同大小的音响等。It should be noted that in all the drawings of the embodiments of the present invention, the appearance structure of the audio device is only an example, and it can be in any shape under the condition of ensuring the circuit function. For example, the audio device can be a head-mounted type, an ear-mounted type, Earphones, earphones, or stereos of different sizes.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (21)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510465052.0A CN105120404B (en) | 2015-07-31 | 2015-07-31 | A kind of audio frequency apparatus, terminal device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510465052.0A CN105120404B (en) | 2015-07-31 | 2015-07-31 | A kind of audio frequency apparatus, terminal device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105120404A CN105120404A (en) | 2015-12-02 |
CN105120404B true CN105120404B (en) | 2018-11-30 |
Family
ID=54668245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510465052.0A Active CN105120404B (en) | 2015-07-31 | 2015-07-31 | A kind of audio frequency apparatus, terminal device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105120404B (en) |
Families Citing this family (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105491421B (en) * | 2015-12-29 | 2018-10-12 | 康佳集团股份有限公司 | A kind of Wireless TV based on Type-C interfaces |
CN105872869A (en) * | 2015-12-31 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Method and device for positive and negative insertion of compatible analog headphones |
CN105933824A (en) * | 2016-04-20 | 2016-09-07 | 乐视控股(北京)有限公司 | Audio switching method and device of terminal |
CN105933807A (en) * | 2016-04-20 | 2016-09-07 | 乐视控股(北京)有限公司 | USB interface insert end suitable for earphone and earphone |
CN105898639A (en) * | 2016-04-20 | 2016-08-24 | 乐视控股(北京)有限公司 | USB interface insertion end being suitable for earphones, and earphones |
CN105847454A (en) * | 2016-04-20 | 2016-08-10 | 乐视控股(北京)有限公司 | Signal processing method and device |
CN106025741B (en) * | 2016-07-08 | 2019-10-11 | 西本新干线股份有限公司 | Data switch connects system, mobile terminal and switching head apparatus |
CN106099587A (en) * | 2016-07-08 | 2016-11-09 | 深圳天珑无线科技有限公司 | Adaptor equipment |
KR101992036B1 (en) | 2016-07-20 | 2019-06-21 | 선전 구딕스 테크놀로지 컴퍼니, 리미티드 | Headphone and interaction system |
CN107643994B (en) * | 2016-07-20 | 2021-11-30 | 中兴通讯股份有限公司 | Terminal, terminal peripheral, signal sending and receiving method and data transmission system |
CN207010908U (en) * | 2016-07-20 | 2018-02-13 | 中兴通讯股份有限公司 | Terminal and earphone |
WO2018014474A1 (en) * | 2016-07-20 | 2018-01-25 | 中兴通讯股份有限公司 | Audio switching method, device, terminal, earpiece and storage medium |
CN106131732A (en) * | 2016-08-16 | 2016-11-16 | 歌尔股份有限公司 | A kind of earphone |
CN106255003B (en) * | 2016-08-19 | 2019-02-26 | 华为技术有限公司 | Working control method of earphone noise reduction and audio processor in terminal device |
CN107785682A (en) * | 2016-08-30 | 2018-03-09 | 福州瑞芯微电子股份有限公司 | A kind of USB line cable joint and mode of connection |
CN106358125A (en) * | 2016-09-09 | 2017-01-25 | 北京小米移动软件有限公司 | Method and device for audio output |
CN106535077B (en) * | 2016-11-22 | 2019-03-15 | 歌尔股份有限公司 | A kind of earphone test circuit |
CN108268396B (en) * | 2016-12-30 | 2020-01-03 | 维沃移动通信有限公司 | Processing method of access equipment and mobile terminal |
CN108268397B (en) * | 2016-12-30 | 2020-03-06 | 维沃移动通信有限公司 | A processing method for an access device and a mobile terminal |
CN108270042B (en) * | 2016-12-30 | 2019-11-19 | 维沃移动通信有限公司 | A charging method and mobile terminal |
CN108268395A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of method and mobile terminal of data communication |
CN108268410B (en) * | 2016-12-30 | 2019-10-15 | 维沃移动通信有限公司 | A data communication method and mobile terminal |
CN108268404A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of method and mobile terminal of data communication |
CN108268394B (en) * | 2016-12-30 | 2020-03-06 | 维沃移动通信有限公司 | A processing method for an access device and a mobile terminal |
CN108268407B (en) * | 2016-12-30 | 2020-03-06 | 维沃移动通信有限公司 | A processing method for an access device and a mobile terminal |
CN108268415A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of method and mobile terminal of data communication |
CN108268399A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of method and mobile terminal of data communication |
CN106878869B (en) * | 2017-03-30 | 2020-07-24 | 联想(北京)有限公司 | Microphone array and method of using the same |
CN108874704B (en) * | 2017-05-12 | 2019-12-13 | 展讯通信(上海)有限公司 | USB interface circuit and electronic equipment |
CN107291415B (en) * | 2017-05-31 | 2020-03-03 | 维沃移动通信有限公司 | Charging and audio data processing method and terminal |
CN107257406B (en) * | 2017-05-31 | 2019-03-05 | 维沃移动通信有限公司 | A kind of method and terminal to charge and audio data is handled |
CN107182010A (en) * | 2017-06-23 | 2017-09-19 | 北京小米移动软件有限公司 | interface circuit and terminal device |
WO2019006588A1 (en) * | 2017-07-03 | 2019-01-10 | 深圳市汇顶科技股份有限公司 | Audio system and headphone |
CN109660913B (en) * | 2017-10-12 | 2021-01-26 | 中兴通讯股份有限公司 | Terminal, terminal peripheral, signal transmission system and signal sending and receiving method |
WO2019191950A1 (en) * | 2018-04-04 | 2019-10-10 | 万魔声学科技有限公司 | Earphones noise reduction method and apparatus, master earphone, slave earphone, and earphones noise reduction system |
CN108430005B (en) * | 2018-04-26 | 2021-04-09 | 努比亚技术有限公司 | Audio circuit, audio judgment method and mobile terminal |
CN108429957A (en) * | 2018-04-27 | 2018-08-21 | 努比亚技术有限公司 | TypeC earphones switching cable and wired earphone TypeC connection systems |
CN108966085B (en) * | 2018-06-28 | 2021-03-26 | 努比亚技术有限公司 | Self-adaptive audio circuit and mobile terminal |
CN109918041B (en) * | 2019-03-15 | 2021-01-08 | 维沃移动通信有限公司 | Audio circuit, related equipment and control method |
CN109769174B (en) * | 2019-03-27 | 2024-04-12 | 上海爻火微电子有限公司 | Judging circuit and method for positive and negative terminals of MIC (microphone) of earphone and electronic equipment |
CN112511186B (en) * | 2019-09-16 | 2022-08-02 | 北京小米移动软件有限公司 | Mobile terminal |
CN111142831B (en) * | 2019-12-02 | 2021-10-22 | 联想(北京)有限公司 | Information processing method, electronic equipment and storage medium |
CN111857639B (en) * | 2020-06-28 | 2023-01-24 | 浙江大华技术股份有限公司 | Audio input signal detection system, method, computer device and storage medium |
CN111881072B (en) * | 2020-07-30 | 2021-11-23 | 武汉精立电子技术有限公司 | High-speed USB TYPE-C interface device supporting bidirectional transmission and graphic signal generator |
CN114238192B (en) * | 2022-02-21 | 2022-06-03 | 广州思林杰科技股份有限公司 | Control circuit and control method for positive and negative short circuit of TYPEC |
CN118646982A (en) * | 2022-12-21 | 2024-09-13 | 荣耀终端有限公司 | Audio circuit and control method thereof, electronic equipment and audio system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101765041A (en) * | 2009-06-09 | 2010-06-30 | 北京中星微电子有限公司 | Audio-frequency playing equipment and method for reducing environmental noises generated during audio-frequency playing |
CN102158778A (en) * | 2011-03-11 | 2011-08-17 | 青岛海信移动通信技术股份有限公司 | Method, equipment and system for reducing headset noise |
JP2012146593A (en) * | 2011-01-14 | 2012-08-02 | Canon Inc | Support structure of connector jack and electronic apparatus having connector jack |
CN103856861A (en) * | 2014-03-11 | 2014-06-11 | 深圳市中兴移动通信有限公司 | Active noise reduction system, noise reduction earphone and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101881393B1 (en) * | 2012-02-24 | 2018-07-25 | 삼성전자 주식회사 | Apparatus and method for reducing tdma noise of terminal |
-
2015
- 2015-07-31 CN CN201510465052.0A patent/CN105120404B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101765041A (en) * | 2009-06-09 | 2010-06-30 | 北京中星微电子有限公司 | Audio-frequency playing equipment and method for reducing environmental noises generated during audio-frequency playing |
JP2012146593A (en) * | 2011-01-14 | 2012-08-02 | Canon Inc | Support structure of connector jack and electronic apparatus having connector jack |
CN102158778A (en) * | 2011-03-11 | 2011-08-17 | 青岛海信移动通信技术股份有限公司 | Method, equipment and system for reducing headset noise |
CN103856861A (en) * | 2014-03-11 | 2014-06-11 | 深圳市中兴移动通信有限公司 | Active noise reduction system, noise reduction earphone and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105120404A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105120404B (en) | A kind of audio frequency apparatus, terminal device and electronic equipment | |
CN107257963B (en) | Connector for audio data transmission | |
US9788096B2 (en) | Transmission method, mobile terminal, multi-channel headset, and audio play system | |
WO2012009984A1 (en) | Method and device for sharing micro-usb interface between earphone and usb | |
CN106535077B (en) | A kind of earphone test circuit | |
JP2006514412A (en) | General-purpose audio jacks and plugs | |
WO2015135201A1 (en) | Dual-microphone earphone and noise reduction processing method for audio signal in call | |
CN101217225A (en) | An audio signal switching device | |
CN101207256A (en) | An audio signal switching device | |
CN110166867A (en) | Digital earphone and electric terminal | |
CN105872869A (en) | Method and device for positive and negative insertion of compatible analog headphones | |
CN101232742A (en) | Headphone unit with switchable signal transmission | |
EP3119106A1 (en) | A passive audio headset compatible with binaural recording and off-headset noise cancellation | |
CN109918041B (en) | Audio circuit, related equipment and control method | |
US20170111724A1 (en) | Dual Purpose Power and Headset Interface System | |
CN206413138U (en) | A kind of mobile terminal and earphone | |
CN106131732A (en) | A kind of earphone | |
CN205726253U (en) | The USB interface being applicable to earphone inserts end and earphone | |
CN105977740B (en) | A kind of earphone joint | |
CN116546410A (en) | Access detection method of electronic device interface, electronic device and storage medium | |
CN116261081B (en) | Headphone circuit and control method thereof | |
CN206195077U (en) | Storage type data line of voiced sound source conversion functions and DC earphone interface | |
CN205726254U (en) | The USB interface being applicable to earphone inserts end and earphone | |
KR100565291B1 (en) | Remote control device of mobile communication terminal | |
CN109144933B (en) | USB Type-C interface circuit and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |