WO2016206312A1 - 一种实现音频信号收发的装置 - Google Patents

一种实现音频信号收发的装置 Download PDF

Info

Publication number
WO2016206312A1
WO2016206312A1 PCT/CN2015/096695 CN2015096695W WO2016206312A1 WO 2016206312 A1 WO2016206312 A1 WO 2016206312A1 CN 2015096695 W CN2015096695 W CN 2015096695W WO 2016206312 A1 WO2016206312 A1 WO 2016206312A1
Authority
WO
WIPO (PCT)
Prior art keywords
bus
codec
jack
headphone
signal line
Prior art date
Application number
PCT/CN2015/096695
Other languages
English (en)
French (fr)
Inventor
蒋晓
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016206312A1 publication Critical patent/WO2016206312A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones

Definitions

  • This document relates to, but is not limited to, audio signal processing technology, and more particularly to a device for implementing audio signal transceiving.
  • FIG. 1 is a schematic structural diagram of a device for implementing audio signal transceiving in the related art.
  • a first headphone jack a first control unit such as a central processing unit (CPU), an analog switch, and a codec (Coder, Decoder) are included.
  • the first earphone jack is connected to the first control unit through the first state line, and is connected to the analog switch through the first jack headphone bus, wherein the jack headphone bus comprises a left channel line (L line) and a right sound Line (R line), ground line (GND line), and microphone line (MIC line).
  • the analog switch is connected to the first control unit through the switch control bus, and is connected to the Codec through the first Codec headphone bus, wherein the Codec headphone bus includes a left channel line (L line), a right channel line (R line), and a ground line.
  • the analog switch is set to adjust the connection relationship between the first jack headphone bus and the first Codec headphone bus under the control of the switch control bus. Since in the device shown in FIG. 1, the L lines of the two buses are fixedly connected, and the R lines of the two buses are fixedly connected, the analog switch is set to adjust the GND line and the MIC line of the headphone bus of the first jack,
  • the connection relationship between the GND line and the MIC line of the first Codec headphone bus includes: the GND line and the MIC line of the first jack headphone bus are normally connected or cross-connected with the GND line and the MIC line of the first Codec headphone bus; When the connection is normal, the GND lines of the two buses are connected, and the MIC lines of the two buses are connected. When the cross connection is made, the GND line of the former is connected to the MIC line of the latter, and the MIC line of the former is connected to the GND line of the latter.
  • the analog switch is not only set to adjust the connection relationship between the two bus signal lines on both sides, but also can be set to adjust the interruption relationship between the two bus signal lines on both sides thereof.
  • the function of adjusting the interrupt relationship of the analog switch is not used.
  • the analog switch array is configured to adjust the connection and interrupt relationship between signal lines of two or more buses on either side thereof.
  • Codec connected to the first control unit via the Codec data bus, is set to encode and decode the audio signal.
  • the related art Codec also supports a second Codec earphone bus (not shown in FIG. 1), a first Codec input bus, and a second Codec input bus (not shown in FIG. 1). And a bus such as a first Codec output bus and a second Codec output bus (not shown in FIG. 1).
  • the Codec input bus includes two or more signal lines
  • the Codec output bus includes two or more signal lines.
  • both the Codec input bus and the Codec output bus include five signal lines.
  • the first control unit checks the earphone type through the first state line, adjusts the connection relationship according to the detected earphone type through the switch control bus, and passes the Codec data.
  • the bus control Codec's working mode controls the Codec to enter the working mode corresponding to the switch type.
  • the device for transmitting and receiving audio signals in a mobile terminal only supports one earphone jack, so it can only support a single-plug earphone, and cannot be compatible with a personal computer (PC) earphone or a dual-plug earphone, thereby reducing the user experience of the related mobile terminal.
  • PC personal computer
  • Embodiments of the present invention provide a device for implementing audio signal transceiving to solve the technical problem of how to be compatible with a single plug earphone and a dual plug earphone.
  • the embodiment of the invention discloses a device for transmitting and receiving audio signals, comprising: a first earphone jack, a codec Codec, a second earphone jack, a second control unit and an analog switch array, wherein
  • the first earphone jack and the second earphone jack are respectively connected to the second control unit through the first state line and the second state line, respectively connected to the mode through the first jack headphone bus and the second jack headphone bus Quasi-switch array
  • the analog switch array is connected to the second control unit through the switch control bus, connected to the Codec through the first Codec headphone bus and the second Codec headphone bus, and is configured to respectively adjust the signal lines of the first jack headphone bus under the control of the switch control bus
  • the connection and interruption relationship with the signal line of the first Codec headphone bus, and the connection and interruption relationship between the signal line of the second jack headphone bus and the signal line of the second Codec headphone bus are compatible with at least one single jack Headphones and dual jack headphones;
  • the second control unit is connected to the Codec via the Codec data bus and is configured to control the analog switch array and the Codec.
  • the second control unit is configured to detect a type of a component inserted in the first earphone jack and the second earphone jack according to the first state line and the second state line, and pass the detected component type
  • the switch control bus controls conduction of the analog switch array and controls the operation mode of the Codec through the Codec data bus according to the component type.
  • the second control unit is configured to: receive an external command, and control an analog switch array by using the switch control bus according to a type of components inserted in the first earphone jack and the second earphone jack indicated by an external command Turning on, and controlling the working mode of Codec through the Codec data bus according to the component type.
  • the component is an earphone, an audio receiving component or an audio transmitting component.
  • the Codec is also connected to the analog switch array through a first Codec input bus and a second Codec input bus;
  • the analog switch array is further configured to: respectively adjust a connection and an interrupt relationship between a signal line of the first jack headphone bus and a signal line of the first Codec input bus under the control of the switch control bus, and a second jack headphone bus The connection and interruption relationship between the signal line and the signal line of the second Codec input bus to achieve simultaneous reception of the audio signal through the first headphone jack bus and the second headphone jack bus.
  • the Codec is also connected to the analog switch array through a first Codec output bus and a second Codec output bus;
  • the analog switch array is further configured to: respectively adjust the first jack under the control of the switch control bus a connection and interruption relationship between a signal line of the headphone bus and a signal line of the first Codec output bus, and a connection and an interruption relationship between a signal line of the second jack headphone bus and a signal line of the second Codec output bus, Simultaneously, the audio signal is transmitted through the first headphone jack bus and the second headphone jack bus.
  • the Codec is also connected to the analog switch array through a first Codec output bus and a first Codec input bus;
  • the analog switch array is further configured to: respectively adjust a connection and an interrupt relationship between a signal line of the first jack headphone bus and a signal line of the first Codec output bus under the control of the switch control bus, and a second jack headphone bus The connection and interruption relationship between the signal line and the signal line of the first Codec input bus to enable the audio signal to be transmitted through the first headphone jack bus while receiving the audio signal through the second headphone jack bus.
  • the Codec is also connected to the analog switch array through a first Codec output bus and a first Codec input bus;
  • the analog switch array is further configured to: respectively adjust a connection and an interrupt relationship between a signal line of the first jack headphone bus and a signal line of the first Codec input bus under the control of the switch control bus, and a second jack headphone bus
  • the connection between the signal line and the signal line of the first Codec output bus is interrupted to receive an audio signal through the first headphone jack bus while the audio signal is transmitted through the second headphone jack bus.
  • the technical solution of the embodiment of the present invention includes a first earphone jack, a second earphone jack, a second control unit, a Codec, and an analog switch array, wherein the first earphone jack and the second earphone jack, Connected to the second control unit through the first state line and the second state line respectively, respectively connected to the analog switch array through the first jack headphone bus and the second jack headphone bus; the analog switch array is connected to the first through the switch control bus
  • the second control unit is connected to the Codec through the first Codec headphone bus and the second Codec headphone bus, and is configured to respectively adjust each signal line of the first jack headphone bus and each of the first Codec headphone buses under the control of the switch control bus a signal line, and a connection and interruption relationship between each signal line of the second jack headphone bus and each signal line of the second Codec headphone bus to at least be compatible with the single jack earphone and the dual jack earphone; the second control The unit is
  • FIG. 1 is a schematic structural diagram of a device for transmitting and receiving an audio signal according to the related art
  • FIG. 2 is a schematic structural diagram of a device for implementing audio signal transceiving according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a device for transmitting and receiving an audio signal according to an embodiment of the present invention, where the device is disposed in a mobile terminal.
  • the first earphone jack, the second earphone jack, the second control unit, the Codec, and the analog switch array are included, wherein
  • the first earphone jack and the second earphone jack are respectively connected to the second control unit through the first state line and the second state line, respectively connected to the analog switch array through the first jack headphone bus and the second jack headphone bus .
  • the analog switch array is connected to the second control unit through the switch control bus, connected to the Codec through the first Codec headphone bus and the second Codec headphone bus, and is configured to respectively adjust the signal lines of the first jack headphone bus under the control of the switch control bus.
  • the second control unit is connected to the Codec via the Codec data bus and is configured to control the analog switch array and the Codec.
  • the second control unit can be implemented by a CPU.
  • the MIC plug of the dual-plug earphone is inserted into the first headphone jack, and the channel plug of the double-plug headphone is inserted into the second headphone jack, and the analog switch array is implemented in the switch bus control line as shown in Table 1 below. Connection and interrupt relationships to support dual plug headphones.
  • the analog switch array realizes the connection and interruption relationship as shown in Table 2 or Table 3 below under the control of the switch control bus, thereby supporting the US Standard 4-segment single-plug headphones or European standard 4-segment single-plug headphones.
  • the device of the embodiment of the present invention can simultaneously support two earphone jacks to insert two identical or different types of earphones.
  • the second control unit is configured to detect the type of the component inserted in the first earphone jack and the second earphone jack according to the first state line and the second state line, according to the detected
  • the component type controls the conduction of the analog switch array through the switch control bus, and controls the Codec operating mode through the Codec data bus according to the component type. among them,
  • the second control unit detects an implementation of a type of a component inserted in the first earphone jack and the second earphone jack according to the first state line and the second state line, similar to the device in the related art device as shown in FIG.
  • the second control unit detects the type of the earphone inserted according to the first state line, which is a conventional technical means for those skilled in the art, and is not limited to the scope of protection of the present invention, and details are not described herein again.
  • Codec has various types of options in the related art, and some of the types can support the working mode required by the embodiment of the present invention, such as supporting the dual plug earphone working mode.
  • the second control unit is configured to: receive an external command, control the simulation by the switch control bus according to the type of the component inserted in the first earphone jack and the second earphone jack indicated by the external command
  • the switch array is turned on, and the Codec operating mode is controlled by the Codec data bus according to the component type.
  • the second control unit can receive an external command by means of human-computer interaction in the related art.
  • the above components may be an earphone, an audio receiving component such as an audio collector or an audio transmitting component such as an audio transmitter.
  • Codec is also arranged to be connected to the analog switch array via the first Codec input bus and the second Codec input bus;
  • the analog switch array is also set to: adjust the first jack earphone separately under the control of the switch control bus
  • the connection and interruption relationship between the signal line of the bus and the signal line of the first Codec input bus, and the connection and interruption relationship between the signal line of the second jack headphone bus and the signal line of the second Codec input bus are implemented.
  • the audio signal is received through the first headphone jack bus and the second headphone jack bus.
  • the device of the embodiment of the present invention implements the two-channel audio signal through the two earphone jacks, which improves the processing capability of the mobile terminal that uses the device of the embodiment of the present invention to receive audio, and expands the application scenario of the mobile terminal.
  • Codec is also arranged to be connected to the analog switch array via the first Codec output bus and the second Codec output bus;
  • the analog switch array is further configured to: respectively adjust a connection and an interrupt relationship between a signal line of the first jack headphone bus and a signal line of the first Codec output bus under the control of the switch control bus, and a signal of the second jack headphone bus The connection and interruption relationship between the line and the signal line of the second Codec output bus to enable simultaneous transmission of the audio signal through the first headphone jack bus and the second headphone jack bus.
  • the device of the embodiment of the present invention implements the two-channel audio signal transmission through the two earphone jacks, which improves the processing capability of the mobile terminal that uses the device of the embodiment of the present invention to transmit audio, and expands the application scenario of the mobile terminal.
  • Codec is also arranged to be connected to the analog switch array via the first Codec output bus and the first Codec input bus;
  • the analog switch array is further configured to: respectively adjust a connection and an interrupt relationship between a signal line of the first jack headphone bus and a signal line of the first Codec output bus under the control of the switch control bus, and a signal of the second jack headphone bus a connection and interruption relationship between the line and a signal line of the first Codec input bus to enable transmission of an audio signal through the first headphone jack bus while receiving an audio signal through the second headphone jack bus;
  • the analog switch array is further configured to: respectively adjust a connection and a break between the signal line of the first jack headphone bus and the signal line of the first Codec input bus under the control of the switch control bus And a connection and interruption relationship between the signal line of the second jack headphone bus and the signal line of the first Codec output bus, so as to receive the audio signal through the first headphone jack bus and simultaneously send through the second headphone jack bus audio signal.
  • the apparatus of the embodiment of the present invention realizes that the audio signals are respectively received and transmitted through the two earphone jacks, and the processing capability of the mobile terminal that uses the apparatus of the embodiment of the present invention to transmit and receive audio is improved, and the application scenario of the mobile terminal is extended.
  • Codec can also be connected to the analog switch through the first Codec headphone jack, the second Codec headphone jack, the first Codec input bus, the second Codec input bus, the first Codec input bus and the second Codec output bus. Array; at this time,
  • the analog switch array may be arranged to adjust a connection and an interruption relationship between signal lines of any two of the above six buses and signal lines of the first jack headphone bus and the second jack headphone bus, respectively.
  • the apparatus of the embodiment of the present invention can implement a plurality of audio signal transceiving and processing schemes, and improve the flexibility of the mobile terminal using the apparatus of the embodiment of the present invention.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution realizes compatibility with a single plug earphone and a dual plug earphone, thereby improving the user experience of the mobile terminal.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Stereophonic Arrangements (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

一种实现音频信号收发的装置,包括第一耳机插孔、第二耳机插孔、第二控制单元、Codec和模拟开关阵列,其中,模拟开关阵列,通过开关控制总线连接到第二控制单元,通过第一Codec耳机总线和第二Codec耳机总线连接到Codec,设置为在开关控制总线控制下分别调整第一插孔耳机总线的每个信号线与第一Codec耳机总线的每个信号线、以及第二插孔耳机总线的每个信号线与第二Codec耳机总线的每个信号线之间的连接和中断关系。上述技术方案实现了兼容单插头耳机和双插头耳机,从而提高了移动终端的用户体验。

Description

一种实现音频信号收发的装置 技术领域
本文涉及但不限于音频信号处理技术,尤指一种实现音频信号收发的装置。
背景技术
众所周知,移动终端如手机中的实现音频信号收发的装置支持一个耳机插孔,兼容3段式耳机、美标4段式耳机和欧标4段式耳机等耳机类型。图1为相关技术中实现音频信号收发的装置的组成结构示意图。如图1所示,包括第一耳机插孔、第一控制单元如中央处理单元(CPU)、模拟开关和编解码器(Codec,Coder and Decoder)。
其中,第一耳机插孔,通过第一状态线连接到第一控制单元,通过第一插孔耳机总线连接到模拟开关,其中,插孔耳机总线包括左声道线(L线)、右声道线(R线)、接地线(GND线)和麦克风线(MIC线)。模拟开关,通过开关控制总线连接到第一控制单元,通过第一Codec耳机总线连接到Codec,其中,Codec耳机总线包括左声道线(L线)、右声道线(R线)、接地线(GND线)和麦克风线(MIC线);模拟开关设置为在开关控制总线的控制下调整第一插孔耳机总线与第一Codec耳机总线的连接关系。由于在如图1所示装置中,两个总线的L线固定相连,两个总线的R线固定相连,因此所述模拟开关是设置为调整第一插孔耳机总线的GND线和MIC线,与第一Codec耳机总线的GND线和MIC线之间的连接关系,包括:第一插孔耳机总线的GND线和MIC线与第一Codec耳机总线的GND线和MIC线正常连接或者交叉连接;正常连接时,两个总线的GND线相连,两个总线的MIC线相连,交叉连接时,前者的GND线与后者的MIC线相连,前者的MIC线与后者的GND线相连。
需要说明的是,模拟开关不仅设置为调整其两侧的两个总线信号线之间的连接关系,还可以设置为调整其两侧的两个总线信号线之间的中断关系。 在如图1所示装置中,没有使用模拟开关的调整中断关系的功能。对于两个或两个以上模拟开关构成的模拟开关阵列,模拟开关阵列设置为调整其两侧的两个或两个以上总线的信号线之间的连接和中断关系。
Codec,通过Codec数据总线连接到第一控制单元,设置为编解码音频信号。需要说明的是,为了方便功能扩展,相关技术中Codec还支持第二Codec耳机总线(图1中未示出)、第一Codec输入总线和第二Codec输入总线(图1中未示出),以及第一Codec输出总线和第二Codec输出总线等总线(图1中未示出)。其中,Codec输入总线包括两个或两个以上信号线,Codec输出总线包括两个或两个以上信号线。通常,Codec输入总线和Codec输出总线均包括5个信号线。
当耳机插入如图1所示的第一耳机插孔时,第一控制单元通过第一状态线检查耳机类型,根据检查出的耳机类型通过开关控制总线控制模拟开关调整连接关系,并通过Codec数据总线控制Codec的工作模式即控制Codec进入与开关类型对应的工作模式。
目前,移动终端中实现音频信号收发的装置,只支持一个耳机插孔,因此只能支持单插头耳机,无法兼容个人计算机(PC)耳机即双插头耳机,降低了相关移动终端的用户体验。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种实现音频信号收发的装置,以解决如何能够兼容单插头耳机和双插头耳机的技术问题。
本发明实施例公开了一种实现音频信号收发的装置,包括:第一耳机插孔、编解码器Codec、第二耳机插孔、第二控制单元和模拟开关阵列,其中,
第一耳机插孔和第二耳机插孔,分别通过第一状态线和第二状态线连接到第二控制单元,分别通过第一插孔耳机总线和第二插孔耳机总线连接到模 拟开关阵列;
模拟开关阵列,通过开关控制总线连接到第二控制单元,通过第一Codec耳机总线和第二Codec耳机总线连接到Codec,设置为在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec耳机总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec耳机总线的信号线之间的连接和中断关系,以至少兼容单插孔耳机和双插孔耳机;
第二控制单元,通过Codec数据总线连接到Codec,设置为对模拟开关阵列和Codec进行控制。
所述第二控制单元是设置为:根据所述第一状态线和第二状态线检测所述第一耳机插孔和第二耳机插孔中插入的部件的类型,根据检测出的部件类型通过所述开关控制总线控制模拟开关阵列的导通,并根据所述部件类型通过所述Codec数据总线控制Codec的工作模式。
所述第二控制单元是设置为:接收外部指令,根据外部指令指示的所述第一耳机插孔和第二耳机插孔中插入的部件的类型,通过所述开关控制总线控制模拟开关阵列的导通,并根据所述部件类型通过所述Codec数据总线控制Codec的工作模式。
所述部件为耳机、音频接收部件或者音频发送部件。
所述Codec还通过第一Codec输入总线和第二Codec输入总线连接到所述模拟开关阵列;
所述模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec输入总线的信号线之间的连接和中断关系,以实现同时通过第一耳机插孔总线和第二耳机插孔总线接收音频信号。
所述Codec还通过第一Codec输出总线和第二Codec输出总线连接到所述模拟开关阵列;
所述模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔 耳机总线的信号线与第一Codec输出总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec输出总线的信号线之间的连接和中断关系,以实现同时通过第一耳机插孔总线和第二耳机插孔总线发送音频信号。
所述Codec还通过第一Codec输出总线和第一Codec输入总线连接到所述模拟开关阵列;
所述模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输出总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系,以实现通过第一耳机插孔总线发送音频信号,同时通过第二耳机插孔总线接收音频信号。
所述Codec还通过第一Codec输出总线和第一Codec输入总线连接到所述模拟开关阵列;
所述模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第一Codec输出总线的信号线之间连接和中断关系,以实现通过第一耳机插孔总线接收音频信号,同时通过第二耳机插孔总线发送音频信号。
与相关技术相比,本发明实施例技术方案包括第一耳机插孔、第二耳机插孔、第二控制单元、Codec和模拟开关阵列,其中,第一耳机插孔和第二耳机插孔,分别通过第一状态线和第二状态线连接到第二控制单元,分别通过第一插孔耳机总线和第二插孔耳机总线连接到模拟开关阵列;模拟开关阵列,通过开关控制总线连接到第二控制单元,通过第一Codec耳机总线和第二Codec耳机总线连接到Codec,设置为在开关控制总线控制下分别调整第一插孔耳机总线的每个信号线与第一Codec耳机总线的每个信号线、以及第二插孔耳机总线的每个信号线与第二Codec耳机总线的每个信号线之间的连接和中断关系,以至少兼容单插孔耳机和双插孔耳机;第二控制单元,通过Codec数据总线连接到Codec,设置为对模拟开关阵列和Codec进行控制。通 过本发明实施例实现音频信号收发的装置,实现了兼容单插头耳机和双插头耳机,从而提高了移动终端的用户体验。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为相关技术实现音频信号收发的装置的组成结构示意图;
图2为本发明实施例实现音频信号收发的装置的组成结构示意图。
本发明的实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
图2为本发明实施例实现音频信号收发的装置的组成结构示意图,该装置设置在移动终端中。如图2所示,包括第一耳机插孔、第二耳机插孔、第二控制单元、Codec和模拟开关阵列,其中,
第一耳机插孔和第二耳机插孔,分别通过第一状态线和第二状态线连接到第二控制单元,分别通过第一插孔耳机总线和第二插孔耳机总线连接到模拟开关阵列。
模拟开关阵列,通过开关控制总线连接到第二控制单元,通过第一Codec耳机总线和第二Codec耳机总线连接到Codec,设置为在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec耳机总线的信号线的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec耳机总线的信号线之间的连接和中断关系,以兼容单插孔耳机和双插孔耳机。
第二控制单元,通过Codec数据总线连接到Codec,设置为对模拟开关阵列和Codec进行控制。其中,第二控制单元可以通过CPU来实现。
下面举例说明,假设第一耳机插孔中插入双插头耳机的MIC插头,第二耳机插孔中插入双插头耳机的声道插头,模拟开关阵列在开关总线控制线实现如下面表1所示的连接和中断关系,从而支持双插头耳机。
第一插孔耳机总线 连接和中断关系 第一Codec耳机总线
L线 中断 L线
R线 中断 R线
GND线 连接 GND线
MIC线 连接 MIC线
第二插孔耳机总线 连接和中断关系 第二Codec耳机总线
L线 连接 L线
R线 连接 R线
GND线 连接 GND线
MIC线 中断 MIC线
表1
假设第一耳机插孔或第二耳机插孔中插入4段式单插头耳机,模拟开关阵列在开关控制总线的控制下实现如下面表2或者表3所示的连接和中断关系,从而支持美标4段式单插头耳机或者欧标4段式单插头耳机。
Figure PCTCN2015096695-appb-000001
表2
Figure PCTCN2015096695-appb-000002
表3
不难理解的是,本发明实施例装置可以同时支持两个耳机插口插入两个相同或不同类型耳机。
在本发明第一实施例中,第二控制单元是设置为:根据第一状态线和第二状态线检测第一耳机插孔和第二耳机插孔中插入的部件的类型,根据检测出的部件类型通过开关控制总线控制模拟开关阵列的导通,并根据部件类型通过Codec数据总线控制Codec的工作模式。其中,
第二控制单元根据第一状态线和第二状态线检测第一耳机插孔和第二耳机插孔中插入的部件的类型的实现,类似于如图1所示的相关技术的装置中的第二控制单元根据第一状态线检测插入耳机的类型,属于本领域技术人员的惯用技术手段,并不设置为限定本发明的保护范围,此处不再赘述。
如何控制模拟开关阵列类似于如图1所示的相关技术中的装置如何控制模拟开关,如何根据检测出的耳机类型控制Codec的工作模式也类似于如图1所示的相关技术中的装置如何控制Codec的工作模式,属于本领域技术人员的惯用技术手段,并不设置为限定本发明的保护范围,此处不再赘述。
需要说明的是,相关技术中Codec具有多种类型供选择,其中一些类型可以支持本发明实施例所需的工作模式如支持双插头耳机工作模式。
在本发明第二实施例中,第二控制单元是设置为:接收外部指令,根据外部指令指示的第一耳机插孔和第二耳机插孔中插入的部件的类型,通过开关控制总线控制模拟开关阵列的导通,并根据部件类型通过Codec数据总线控制Codec的工作模式。其中,第二控制单元可以通过相关技术中的人机交互方式接收外部指令。
需要说明的是,上述部件可以为耳机、音频接收部件如音频采集器或者音频发送部件如音频发送器。
可选地,
Codec还设置为通过第一Codec输入总线和第二Codec输入总线连接到模拟开关阵列;此时,
模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机 总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec输入总线的信号线之间的连接和中断关系,以实现同时通过第一耳机插孔总线和第二耳机插孔总线接收音频信号。
这样,本发明实施例装置实现了通过两个耳机插孔接收两路音频信号,提高了采用本发明实施例装置的移动终端在接收音频的处理能力,扩展了上述移动终端的应用场景。
可选地,
Codec还设置为通过第一Codec输出总线和第二Codec输出总线连接到模拟开关阵列;此时,
模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输出总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec输出总线的信号线之间的连接和中断关系,以实现同时通过第一耳机插孔总线和第二耳机插孔总线发送音频信号。
这样,本发明实施例装置实现了通过两个耳机插孔发送两路音频信号,提高了采用本发明实施例装置的移动终端在发送音频的处理能力,扩展了上述移动终端的应用场景。
可选地,
Codec还设置为通过第一Codec输出总线和第一Codec输入总线连接到模拟开关阵列;此时,
模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输出总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系,以实现通过第一耳机插孔总线发送音频信号,同时通过第二耳机插孔总线接收音频信号;
或者,模拟开关阵列还设置为:在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关 系、以及第二插孔耳机总线的信号线与第一Codec输出总线的信号线之间连接和中断关系,以实现通过第一耳机插孔总线接收音频信号,同时通过第二耳机插孔总线发送音频信号。
这样,本发明实施例装置实现了通过两个耳机插孔分别接收和发送音频信号,提高了采用本发明实施例装置的移动终端在发送和接收音频的处理能力,扩展了上述移动终端的应用场景如声学探测。
需要说明的是,Codec还可以通过第一Codec耳机插孔、第二Codec耳机插孔、第一Codec输入总线、第二Codec输入总线、第一Codec输入总线和第二Codec输出总线连接到模拟开关阵列;此时,
模拟开关阵列可以设置为调整上述6个总线中的任意两个总线的信号线分别与第一插孔耳机总线和第二插孔耳机总线的信号线之间的连接和中断关系。这样,本发明实施例装置可以实现支持多种音频信号收发和处理方案,提高了采用本发明实施例装置的移动终端的灵活性。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。
本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。
工业实用性
上述技术方案实现了兼容单插头耳机和双插头耳机,从而提高了移动终端的用户体验。

Claims (8)

  1. 一种实现音频信号收发的装置,包括:第一耳机插孔和编解码器Codec、第二耳机插孔、第二控制单元和模拟开关阵列,其中,
    第一耳机插孔和第二耳机插孔,分别通过第一状态线和第二状态线连接到第二控制单元,以及通过第一插孔耳机总线和第二插孔耳机总线连接到模拟开关阵列;
    模拟开关阵列,通过开关控制总线连接到第二控制单元,通过第一Codec耳机总线和第二Codec耳机总线连接到Codec,设置为在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec耳机总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec耳机总线的信号线之间的连接和中断关系;
    第二控制单元,通过Codec数据总线连接到Codec,设置为对模拟开关阵列和Codec进行控制。
  2. 根据权利要求1所述的装置,其中,
    所述第二控制单元是设置为,根据所述第一状态线和第二状态线检测所述第一耳机插孔和第二耳机插孔中插入的部件的类型,根据检测出的部件类型通过所述开关控制总线控制模拟开关阵列的导通,并根据所述部件类型通过所述Codec数据总线控制Codec的工作模式。
  3. 根据权利要求1所述的装置,其中,
    所述第二控制单元是设置为,接收外部指令,根据外部指令指示的所述第一耳机插孔和第二耳机插孔中插入的部件的类型,通过所述开关控制总线控制模拟开关阵列的导通,并根据所述部件类型通过所述Codec数据总线控制Codec的工作模式。
  4. 根据权利要求2或3所述的装置,其中,所述部件包括耳机、音频接收部件或者音频发送部件。
  5. 根据权利要求1、2或3所述的装置,所述Codec还通过第一Codec输入总线和第二Codec输入总线连接到所述模拟开关阵列;
    所述模拟开关阵列还设置为,在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec输入总线的信号线之间的连接和中断关系。
  6. 根据权利要求1、2或3所述的装置,所述Codec还通过第一Codec输出总线和第二Codec输出总线连接到所述模拟开关阵列;
    所述模拟开关阵列还设置为,在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输出总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第二Codec输出总线的信号线之间的连接和中断关系。
  7. 根据权利要求1、2或3所述的装置,所述Codec还通过第一Codec输出总线和第一Codec输入总线连接到所述模拟开关阵列;
    所述模拟开关阵列还设置为,在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输出总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系。
  8. 根据权利要求1、2或3所述的装置,所述Codec还通过第一Codec输出总线和第一Codec输入总线连接到所述模拟开关阵列;
    所述模拟开关阵列还设置为,在开关控制总线控制下分别调整第一插孔耳机总线的信号线与第一Codec输入总线的信号线之间的连接和中断关系、以及第二插孔耳机总线的信号线与第一Codec输出总线的信号线之间连接和中断关系。
PCT/CN2015/096695 2015-06-26 2015-12-08 一种实现音频信号收发的装置 WO2016206312A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510367406.8 2015-06-26
CN201510367406.8A CN106331945A (zh) 2015-06-26 2015-06-26 一种实现音频信号收发的装置

Publications (1)

Publication Number Publication Date
WO2016206312A1 true WO2016206312A1 (zh) 2016-12-29

Family

ID=57584438

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/096695 WO2016206312A1 (zh) 2015-06-26 2015-12-08 一种实现音频信号收发的装置

Country Status (2)

Country Link
CN (1) CN106331945A (zh)
WO (1) WO2016206312A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913503A (zh) * 2018-09-17 2020-03-24 泰凌微电子(上海)有限公司 一种无线耳机信号传输方法及无线耳机

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100081487A1 (en) * 2008-09-30 2010-04-01 Apple Inc. Multiple microphone switching and configuration
CN202634659U (zh) * 2012-05-23 2012-12-26 东莞宇龙通信科技有限公司 耳机接口自适应电路及移动终端
CN204069063U (zh) * 2014-07-29 2014-12-31 中兴通讯股份有限公司 一种手机

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100081487A1 (en) * 2008-09-30 2010-04-01 Apple Inc. Multiple microphone switching and configuration
CN202634659U (zh) * 2012-05-23 2012-12-26 东莞宇龙通信科技有限公司 耳机接口自适应电路及移动终端
CN204069063U (zh) * 2014-07-29 2014-12-31 中兴通讯股份有限公司 一种手机

Also Published As

Publication number Publication date
CN106331945A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
US20190220430A1 (en) Connectors for audio data transfer
US10997104B2 (en) Audio transfer
US9414147B2 (en) Method and device for earphone and USB to share micro-USB interface
RU2606243C2 (ru) Способ и устройство для конфигурации и управления микшера для аудиосистемы с использованием беспроводной системы док-станции
TWI380184B (en) Signal transmission path selecting circuit and method and electronic device applying the circuit
WO2020063594A1 (zh) 音频播放电路和终端
US10380049B2 (en) Multi-host supported universal serial bus hub and automobile head unit using the same
WO2017113697A1 (zh) 一种兼容模拟耳机正反插的方法及装置
JP2008167404A (ja) コンピュータ・オーディオ入出力自動制御
US20030023329A1 (en) Method and apparatus to provide digital or analog audio signals to multiple computer system outputs
JP2010068160A (ja) 情報処理装置及び情報処理方法
EP3240269A1 (en) A headset adapter and a headset system
TWM474314U (zh) 無線揚聲裝置及無線多聲道系統
US20190261076A1 (en) Methods and apparatus relating to data transfer over a usb connector
WO2012171497A1 (zh) 一种音频信号转接及接收装置、音频信号传输系统
JP2020500476A (ja) スピーカ装置、スピーカ装置と連結される電子装置およびスピーカ装置の制御方法
CN111031435A (zh) 音频电路、头戴显示设备及头戴显示系统
WO2016206312A1 (zh) 一种实现音频信号收发的装置
WO2018177243A1 (zh) 一种蓝牙音箱及其分享系统
KR20140108904A (ko) 휴대 단말기에서 외부 장치를 연결하는 장치 및 방법
US10827271B1 (en) Backward compatibility for audio systems and methods
US20120134499A1 (en) Audio Processing Devices, Multi-Channel Audio Application System, and Method Thereof
TW201706858A (zh) 具切換功能的無線擴充器
TWI702854B (zh) 音頻播放裝置及音頻傳輸電路
US20150032923A1 (en) Coupling device and method for dynamically allocating usb endpoints of a usb interface, and exchange trading system terminal with coupling device

Legal Events

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

Ref document number: 15896196

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15896196

Country of ref document: EP

Kind code of ref document: A1