WO2012119509A1 - 一种音视频信号传输接口的装置及方法 - Google Patents

一种音视频信号传输接口的装置及方法 Download PDF

Info

Publication number
WO2012119509A1
WO2012119509A1 PCT/CN2012/071324 CN2012071324W WO2012119509A1 WO 2012119509 A1 WO2012119509 A1 WO 2012119509A1 CN 2012071324 W CN2012071324 W CN 2012071324W WO 2012119509 A1 WO2012119509 A1 WO 2012119509A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
audio
resistor
line
video signal
Prior art date
Application number
PCT/CN2012/071324
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 华为终端有限公司
Priority to EP12754505.1A priority Critical patent/EP2677742B1/en
Priority to JP2013556951A priority patent/JP5697764B2/ja
Priority to KR1020137025142A priority patent/KR101570173B1/ko
Publication of WO2012119509A1 publication Critical patent/WO2012119509A1/zh
Priority to US14/020,050 priority patent/US9351076B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Definitions

  • Audio and video signal transmission lines are used to transmit audio signals or audio and video signals output by devices such as computers and smart mobile terminals to users or other devices. Audio and video signal transmission lines include line headphones, audio and video data lines, and the like.
  • the line headphones are divided into LRG earphones, LRMG earphones and LRGM earphones according to the line sequence.
  • the LRG headset includes two left and right channels; the LRMG headset and the LRGM headset both include the left and right channels and the microphone.
  • Embodiments of the present invention provide an audio and video signal transmission interface apparatus and method, thereby solving the compatibility problem between different types of devices and audio and video signal transmission lines.
  • An audio and video signal transmission interface device comprising a left channel interface, a right channel interface, a multimedia terminal interface and a ground interface, wherein a voltage detection point is arranged in a circuit of the multimedia terminal interface, and the first power source is connected through the first resistor To the voltage detection point, the device further includes: a voltage detection module, a determination module, a control module, and a second resistor connected to the voltage detection point at one end and connected to the power source at the other end:
  • the voltage detecting module is configured to detect, at the voltage detecting point, a voltage value of a multimedia terminal in the inserted audio and video signal transmission line, where the multimedia terminal of the audio and video signal transmission line includes an audio or video terminal or a microphone terminal, and the second resistor The resistance value is greater than the internal resistance value of the audio and video terminal and smaller than the internal resistance value when the microphone terminal is reversely connected; the determining module is configured to determine the audio and video signal transmission line according to the detection result of the voltage detection module type;
  • the control module is configured to perform processing according to the judgment result of the determining module.
  • a method for processing an inserted audio and video signal transmission line by the interface device of claim 1, comprising: after the audio and video signal transmission line is inserted into the interface device, the voltage detection module measures that the first resistance is turned on And the first voltage value of the multimedia terminal in the audio and video signal transmission line when the second resistor is disconnected; the determining module determines whether the first voltage value is greater than a first threshold or less than a third threshold, if And determining that the audio and video signal transmission line is an earphone that matches an interface line sequence of the device; otherwise, triggering the control module to work, the first threshold is greater than the third threshold;
  • the control module cuts off the first resistor, turns on the second resistor, and triggers the voltage detecting module to re-measure the voltage; the voltage detecting module further measures the audio and video signal according to the trigger of the control module. a second voltage value of the multimedia terminal in the transmission line;
  • the determining module further compares the magnitude relationship between the second voltage value and the second threshold. If the second voltage value is less than or equal to the second threshold, determining that the audio and video signal transmission line is an audio and video data line; Otherwise, it is determined that the audio and video signal transmission line is an earphone that does not match the interface line sequence of the device; and the determination result is sent to the control module, where the second threshold is smaller than the first threshold and greater than the third Threshold value
  • the control module further disconnects the second resistor, turns on the first resistor, and uploads an audio-video data line insertion message;
  • the control module further disconnects the second resistor, turns on the first resistor, and switches the multimedia terminal interface The wire sequence with the ground interface.
  • a second resistor having a resistance value between the audio and video terminal resistance value and the reverse resistance of the microphone terminal is added on the device side. , so that it can accurately identify three-stage headphones (such as LRG (left channel - right channel - ground) headphones), LRMG (left channel - right channel - microphone - ground wire) wire sequence headphones, LRGM (left sound) Track-right channel-grounding wire-mike) Line-sequenced headphones and audio and video data lines, and realize the adaptation of different earphones, achieving compatibility between different types of devices and audio and video signal transmission lines.
  • LRG left channel - right channel - ground
  • LRMG left channel - right channel - microphone - ground wire
  • LRGM left sound Track-right channel-grounding wire-mike
  • FIG. 1 is a schematic structural diagram of an interface device according to an embodiment of the present invention.
  • FIG. 2 is a schematic circuit diagram of an interface device according to Embodiment 1 of the present invention.
  • FIG. 3 is a circuit diagram of an LRMG line-sequence earphone insertion interface device according to Embodiment 1 of the present invention
  • FIG. 4 is a circuit diagram of an LRGM line-sequence earphone insertion interface device according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic circuit diagram of an audio/video data line insertion interface device according to Embodiment 1 of the present invention
  • FIG. 7 is a flowchart of operation of an interface device according to Embodiment 1 of the present invention.
  • FIG. 8 is a schematic circuit diagram of the LRGM line-sequence earphone insertion interface device after being compatible with the processing according to the first embodiment of the present invention
  • FIG. 9 is a schematic circuit diagram of an interface device according to Embodiment 2 of the present invention.
  • FIG. 10 is a schematic circuit diagram of an interface device according to Embodiment 3 of the present invention.
  • FIG. 11 is a circuit diagram of an LRGM line-sequence earphone insertion interface device according to Embodiment 3 of the present invention
  • FIG. 12 is a circuit diagram of an LRMG line-sequence earphone insertion interface device according to Embodiment 3 of the present invention
  • FIG. 14 is a circuit diagram of an audio/video data line insertion interface device according to Embodiment 3 of the present invention
  • FIG. 15 is a flowchart of operation of an interface device according to Embodiment 3 of the present invention.
  • FIG. 16 is a schematic circuit diagram of a LRMG line-sequence earphone insertion interface device compatible with processing according to Embodiment 3 of the present invention
  • FIG. 17 is a schematic circuit diagram of an interface device according to Embodiment 4 of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • An embodiment of the present invention provides an audio and video signal transmission interface device.
  • the device includes: a left channel interface 101, a right channel interface 102, a multimedia terminal interface 103, and a ground interface 104, and is at a multimedia terminal interface.
  • a voltage detection point is provided in the circuit of 103, and the first power source 105 is connected to the voltage detection point through the first resistor 106.
  • the line sequence of the interface device is usually: left channel interface - right channel interface - multimedia terminal interface - ground interface; or: left channel interface - right channel interface - ground interface - multimedia terminal interface .
  • the interface device in the embodiment of the present invention will be described by taking the above two kinds of line sequences as an example.
  • the interface device further includes a voltage detecting module 108, a determining module 109, a control module 110, and one end connected to the voltage detecting point, and the other end A second resistor 111 connected to the power source.
  • the voltage detecting module 108 is configured to detect a voltage value of the multimedia terminal in the inserted audio and video signal transmission line at the voltage detecting point;
  • the determining module 109 is configured to determine the type of the audio and video signal transmission line according to the detection result of the voltage detecting module 108;
  • the processing is performed according to the judgment result of the judging module 109.
  • the processing operation may be, but is not limited to, controlling a line sequence between the multimedia terminal interface and the ground interface.
  • the multimedia terminal of the audio/video signal transmission line includes an audio/video terminal or a microphone terminal, the audio and video terminal is a multimedia terminal in the audio and video data line, and the microphone terminal is a multimedia terminal in the earphone.
  • the resistance of the second resistor 111 is greater than the internal resistance value of the audio and video terminals, and is smaller than the internal resistance value when the microphone terminals are reversely connected.
  • the interface device provided by the embodiment of the present invention is configured on the device side, and may be an interface on the device side, or may be an independent device connected to the interface on the device side.
  • the determining module 109 and the control module 110 may be specifically implemented by a CPU.
  • the audio and video signal transmission line includes a three-segment earphone, an LRMG line sequential earphone, an LRGM line sequential earphone, and an audio and video data line (the line sequence is LRVG, V is an audio and video terminal).
  • the resistance of the first resistor ranges from 1500 to 3000 ohms; the multimedia terminal in the LRMG line headphone and the LRGM line headphone is the microphone terminal, and the internal resistance value when the microphone terminal is connected is 2000 ⁇ 3500 ohms, the microphone terminal
  • the internal resistance value in the positive connection is 2 to 3 times when the reverse connection is made; the multimedia terminal in the audio and video data line is the audio and video terminal, and the resistance value of the audio and video terminal is about 75 ohms.
  • the resistance value is not much different from that of the first resistor.
  • the voltage division on the earphone side is The voltage division of the first resistor is similar; (2) Since the three-segment earphone does not include the multimedia terminal, when the three-segment earphone is inserted into the interface device, the voltage division on the earphone side is almost zero; (3) due to the LRMG line The resistance value of the microphone head of the serial headphone and the LRGM line headphone is reversed, and the resistance value of the audio and video terminal of the audio and video data line is compared with the resistance value of the first resistor. If the voltage is much smaller, the voltage division value relative to the first resistor is also lower.
  • the LRMG line headphone and the LRGM line headphone are not distinguished from each other, and the audio and video data is line.
  • the voltage value of the audio-video signal transmission line side can be measured by the second resistor-divided voltage in the loop of the power supply-second resistance-transmission line side multimedia terminal-ground interface connected by the second resistor. Since the resistance value of the LRMG line sequence earphone (or LRGM line sequence earphone) when the microphone terminal is reversed is greater than the resistance value of the audio and video terminal of the audio and video data line, the resistance of the second resistance can be set to be larger than the resistance value of the audio and video terminal.
  • the resistance of the second resistor 111 ranges from 150 to 350 ohms. According to the range of values of the above resistance values and the analysis of the voltage division relationship, in the circuit of the first resistor divider, when the microphone terminal of the LRMG line headphone (or LRGM line headphone) is connected, the voltage division on the headphone side The value is larger than the voltage division value of the other types of transmission lines.
  • the first threshold is set, so as to determine, according to the first threshold, whether the inserted terminal is the positive terminal of the microphone terminal.
  • the LRMG line-sequence earphones (or LRGM line-sequencing earphones); and according to the above-mentioned characteristics of the three-segment earphones, a third threshold is set (by way of example and not limitation, the value range of the third threshold is less than 0.3 volts),
  • the second threshold can be set according to the power supply capability of the power source connected to the second resistor and the above-mentioned resistance value feature
  • the voltage detecting module 108 measures the first voltage value of the multimedia terminal in the inserted audio and video signal transmission line when the first resistor 106 is turned on and the second resistor 111 is turned off;
  • the module 109 determines whether the first voltage value is greater than the first threshold or less than the third threshold, and if yes, determining that the audio and video signal transmission line is an earphone that matches the interface line sequence of the interface device (interface line sequence with the interface device)
  • the matching earphone refers to: the LRMG earphone (or LRGM earphone) that is connected to the microphone terminal, or the three-segment earphone; otherwise, the trigger control module 110 works (by way of example and not limitation, the determination module 109 can send the control module 110 unrecognizable The signal triggers the operation of the control module 110.
  • the control module 110 After receiving the unrecognizable signal, the control module 110 turns off the circuit of the first resistor divider and turns on the loop of the second resistor divider. Accordingly, the control module 110 Disconnecting the first resistor 106, turning on the second resistor 111, and triggering the voltage detecting module 108 to re-measure the voltage; Correspondingly, the voltage detecting module 108 further measures a second voltage value of the multimedia terminal in the audio and video signal transmission line according to the trigger of the control module 110; the determining module 109 further compares the magnitude relationship between the second voltage value and the second threshold.
  • the second voltage value is less than or equal to the second threshold, determining that the audio and video signal transmission line is an audio and video data line; otherwise, determining that the audio and video signal transmission line does not match the line sequence of the interface device
  • the earphone (the earphone that does not match the line sequence of the interface device refers to: the LRMG earphone or the LRGM earphone that is reversed by the microphone terminal); the judgment result is sent to the control module 110 (by way of example and not limitation, the control module 110 can judge according to the judgment The result identifies the corresponding transmission line type, and then takes the corresponding action);
  • the control module 110 further turns off the second resistor 111, turns on the first resistor 106, and uploads an audio-video data line insertion message;
  • the control module If the audio/video signal transmission line is a headset that does not match the line sequence of the interface device, the control module
  • the 110 also disconnects the second resistor 111, turns on the first resistor 106, and switches the line order of the multimedia terminal interface 103 and the ground port 104.
  • the specific implementation of the line sequence of the switch between the multimedia terminal interface 103 and the ground port 104 may be: switching the multimedia terminal interface and the ground interface by controlling an analog switch disposed between the multimedia terminal interface and the ground interface Line order.
  • an analog switch controlled by a power control line is further included between the multimedia terminal interface 103 and the ground interface 104 of the interface device, and the control module 110 controls the analog switch to switch the multimedia self interface by switching the output level of the power control line.
  • the analog switch When the power control line outputs a high level, the analog switch is turned off, the line order between the multimedia terminal interface 103 and the ground interface 104 is not changed; or, (2) when the power control line outputs a high level, the simulation The switch is closed, and the line sequence between the multimedia terminal interface 103 and the ground interface 104 is switched.
  • the analog switch control mode in the above (1) is taken as an example for description.
  • the interface device provided by the embodiment of the present invention can recognize different types of audio and video data transmission lines inserted, and realize compatibility of the device with different types of audio and video data transmission lines.
  • the added second resistor 111 can be connected in parallel with the first resistor 106, and is powered by the first power source 105. That is, the power source connected to the second resistor 106 is the first power source 105.
  • a preferred implementation manner of the embodiment of the present invention is to increase the second power source 112 connected to the second resistor 111, and turn off the second resistor 111 by turning off the second power source 112.
  • the second resistor 111 is turned on by turning on the second power source 112; the first resistor 106 is turned off by turning off the first power source 105; and the first resistor 106 is turned on by turning on the first power source 105. Since the second power source 112 is added, it has little effect on the existing interface circuit, and is a relatively stable and less risky implementation.
  • Embodiment 1 The specific implementation manners of the embodiments of the present invention in the actual application process will be described in detail below. Embodiment 1
  • the circuit diagram of the audio and video signal transmission interface device shown in FIG. 2 the interface device line sequence is: left channel interface - right channel interface - multimedia terminal interface - ground interface. And a second power source and a second resistor are disposed at a voltage detection point on the circuit of the multimedia terminal interface. By default, the second power is turned off, the first power is turned on, and the power control line is output high.
  • FIG. 2 When an audio/video signal transmission line is inserted into the interface device, the voltage value on the transmission line side is detected by a voltage measurement point (the position of which is shown in FIG. 2) set on the circuit of the multimedia terminal, thereby identifying and compatible with different types of transmission lines.
  • the circuit diagram of different types of audio and video data transmission lines inserted into the interface device is shown in Figures 3 to 6.
  • 3 is a circuit diagram of the LRMG line sequence earphone insertion interface device
  • FIG. 4 is a circuit diagram of the LRGM line sequence earphone insertion interface device
  • FIG. 5 is a circuit diagram of the three-stage earphone insertion interface device
  • a circuit diagram of a line insertion interface device A circuit diagram of a line insertion interface device.
  • the working process of the interface device is as shown in FIG. 7, and includes the following operations:
  • the voltage detecting module measures the voltage at the voltage measuring point, and obtains the first voltage value, and executes S702;
  • the determining module determines whether the first voltage value is greater than the first threshold, if yes, then executing S703, otherwise, executing S704;
  • the judging module judges that the LRMG line sequential earphone is inserted
  • the determining module determines whether the first voltage value is less than the third threshold, and if yes, executing S705; otherwise, sending unrecognized signaling to the control module, and executing S706;
  • the judging module judges that the three-segment earphone is inserted
  • the line sequence of the three-stage earphone matches the interface line sequence of the interface device, and can be compatible by the interface device;
  • control module After receiving the unrecognized signaling, the control module turns off the first power supply, and turns on the second power supply, and divides the voltage by the second resistor, and executes S707;
  • the voltage detecting module measures the second voltage value at the voltage measuring point by the second resistor partial pressure, and executes S708;
  • the determining module determines the magnitude relationship between the second voltage value and the second threshold, if the second voltage value is less than or equal to the second threshold, then executing S709; otherwise, executing S710; 5709.
  • the judging module judges that the audio and video data lines are inserted, and sends the judgment result to the control module, and executes S711;
  • the judging module judges that the LRGM line sequential earphone is inserted, and sends the judgment result to the control module, and executes S712;
  • control module turns off the second power, turns on the first power, and reports a message inserted by the audio and video data line, so that the device side outputs the audio and video signal according to the message;
  • both the audio signal and the video signal can be transmitted. Therefore, after the audio and video data lines are inserted, the audio and video data lines can be connected to the interface device.
  • the device side is compatible. As for the specific transmission of the audio signal or the video signal, it is determined by the device side and is not within the scope of the present invention.
  • the control module turns off the second power source, turns on the first power source, and switches the line sequence between the multimedia terminal interface and the ground interface by controlling the power control line output low level, and the circuit schematic is as shown in FIG. 8.
  • the order of the threshold judgment is only an example and not a limitation. Those skilled in the art can also make threshold judgments in other orders according to the thought without deliberate labor.
  • the above is a processing procedure taking the interface device of the LRMG line sequence as an example.
  • the line sequence of the interface device is LRVG
  • both the audio signal and the video signal can be transmitted in the video loop. Therefore, when the LRMG line sequence earphone is inserted, it is still compatible, and the processing thereof is the same as above.
  • the interface device provided by the embodiment of the present invention can identify different types of audio and video data transmission lines through the foregoing operations, thereby implementing compatibility between different types of devices and audio and video data transmission lines.
  • the circuit diagram of the audio and video signal transmission interface device shown in FIG. 9 is: the left channel interface - the right channel interface - the ground interface - the multimedia terminal interface (specifically, the LRGM Line order). And a second power source and a second resistor are disposed at a voltage detection point on the circuit of the multimedia terminal interface. By default, the second power is turned off, the first power is turned on, and the power control line is output low.
  • the line sequence of the ground interface and the multimedia terminal interface is switched. As shown in FIG. 9, the actual line sequence after the switching is LRMG. Therefore, when the audio/video signal transmission line is inserted into the interface device, the processing manner can be referred to the processing procedure of the first embodiment. The only difference is:
  • the operation of the second embodiment of the present invention is: the control module turns off the second power, turns on the first power, and switches the line sequence between the multimedia terminal interface and the ground interface by controlling the power control line to output a high level. Make The interface line sequence of the interface device is switched to LRGM.
  • the interface device line sequence is: left channel interface - right channel interface - ground interface - multimedia terminal interface (specifically, LRGM Line order).
  • a second power source and a second resistor are disposed at a voltage detection point on the circuit of the multimedia terminal interface. By default, the second power is turned off, the first power is turned on, and the power control line is output high.
  • the voltage value on the transmission line side is detected by a voltage measuring point set on the circuit of the multimedia terminal, thereby identifying and compatible with different types of transmission lines.
  • the circuit diagrams of different types of audio and video data transmission lines inserted into the interface device are shown in Figures 11 to 14.
  • 11 is a circuit diagram of an LRGM line-sequence earphone insertion interface device
  • FIG. 12 is a circuit diagram of an LRMG line-sequence earphone insertion interface device
  • FIG. 13 is a circuit diagram of a three-segment earphone insertion interface device
  • a circuit diagram of a line insertion interface device A circuit diagram of a line insertion interface device.
  • the working process of the interface device is as shown in FIG. 15, and includes the following operations:
  • the S150K voltage detecting module measures the voltage at the voltage measuring point to obtain the first voltage value, and executes S1502; S1502: the determining module determines whether the first voltage value is greater than the first threshold, and if yes, executes
  • the judging module judges that the LRGM line sequential earphone is inserted
  • the determining module determines whether the first voltage value is less than the third threshold, and if yes, executing
  • the judging module judges that the three-segment earphone is inserted
  • the line sequence of the three-segment earphone matches the interface line sequence of the interface device, and can be compatible by the interface device;
  • control module turns off the first power, and turns on the second power, and divides by the second resistor, and executes S 1507;
  • the voltage detecting module measures the second voltage value at the voltage measuring point by the second resistor partial pressure, and executes S1508;
  • the determining module determines the magnitude relationship between the second voltage value and the second threshold, if the second voltage value is less than or equal to the second threshold, then executing S1509; otherwise, executing S1510; 51509. Since the audio and video data lines are inserted into the interface device of the LRGM line sequence, the resistance of the audio and video terminals is still 75 ohms in the constructed multimedia terminal circuit, so the judging module judges that the audio and video data lines are inserted, and the judgment result is obtained. Send to the control module, execute S 1511;
  • the judging module judges that the LRMG line sequence earphone is inserted, and sends the judgment result to the control module, and executes S 1512;
  • the S 151 K control module turns off the second power, turns on the first power, and switches the line sequence between the multimedia terminal interface and the ground interface by controlling the power control line output low level, so as to establish a video path, and the audio and video data line is inserted. Message, so that the device side outputs an audio and video signal according to the message;
  • both the audio signal and the video signal can be transmitted. Therefore, when the audio and video data lines are inserted, the control power supply control line outputs low power.
  • the audio and video data lines are compatible with the device side where the interface device of the LRGM line sequence is located. As for the specific transmission of the audio signal or the video signal, it is determined by the device side and is not within the scope of the present invention.
  • the control module turns off the second power, turns on the first power, and switches the line sequence between the multimedia terminal interface and the ground interface by controlling the power control line output low level, and the circuit schematic is as shown in FIG. 16.
  • the interface device provided by the embodiment of the present invention can identify different types of audio and video data transmission lines through the foregoing operations, thereby implementing compatibility between different types of devices and audio and video data transmission lines.
  • the interface device line sequence is: a left channel interface - a right channel interface - a multimedia terminal - an interface ground interface.
  • a second power source and a second resistor are disposed at the voltage detection point on the circuit of the multimedia terminal interface. By default, the second power is turned off, the first power is turned on, and the power control line is output low.
  • the power supply control line outputs a low level, and the line sequence of the ground interface and the multimedia terminal interface is switched.
  • the actual line sequence after the switching is LRGM. Therefore, when the audio and video signal transmission line is inserted into the interface device, the processing manner of the above embodiment 3 can be referred to. The only difference is:
  • the operation of the fourth embodiment of the present invention is: the control module turns off the second power source, turns on the first power source, and switches the line sequence between the multimedia terminal interface and the ground interface by controlling the power supply control line to output a high level (making The interface line sequence of the interface device is switched to: left channel interface - right channel interface - multimedia terminal - interface ground interface) to establish a video path, and report a message inserted in the audio and video data line, so that the device side outputs audio and video according to the message.
  • the operation of the fourth embodiment of the present invention is: the control module turns off the second power, and turns on the first power. And switching the line sequence between the multimedia terminal interface and the ground interface by controlling the power supply control line output high level, so that the interface line sequence of the interface device is switched to: Left channel interface - right channel interface - multimedia terminal - interface ground interface .
  • All or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to the program instructions.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiments;
  • the foregoing storage medium includes: various media that can store program codes, such as wake up, should, disk or optical disc.

Abstract

一种音视频信号传输接口装置,包括左声道接口、右声道接口、多媒体端子接口和接地接口,在多媒体端子接口中串联有第一电源和第一电阻,该装置还包括电压检测模块、判断模块、控制模块和串联在多媒体端子接口中的第二电阻,该第二电阻的阻值大于音视频端子的内阻值并小于麦克端子反接时的内阻值;判断模块通过电压检测模块测量的电压值识别不同类型的传输线,并由控制模块实现不同传输线的自适应。由于在设备侧增加了一个阻值介于音视频端子阻值以及麦克端子反接阻值之间的第二电阻,从而能够准确识别三段式耳机、LRMG线序耳机、LRGM线序耳机以及音视频数据线,并实现不同耳机的自适应,实现了不同类型的设备与音视频信号传输线之间的兼容。

Description

一种音视频信号传输接口的装置及方法 本申请要求于 2011年 03月 08日提交中国专利局、 申请号为 201110059165. 2、 发 明名称为 "一种音视频信号传输接口的装置及方法"的中国专利申请的优先权, 其全部 内容通过引用结合在本申请中。 技术领域 本发明实施例涉及音频技术领域, 尤其涉及一种音视频信号传输接口的装置及方 法。 背景技术 音视频信号传输线用来将电脑、智能移动终端等设备输出的音频信号或者音视频信 号传输给用户或者其他设备。音视频信号传输线包括线式耳机、音视频数据线等。其中, 线式耳机根据线序的不同又分为 LRG耳机、 LRMG耳机和 LRGM耳机。 LRG耳机包括左右 两个声道; LRMG耳机和 LRGM耳机均包括左、 右声道及麦克。
发明人在实现本发明的过程中, 发现现有技术中至少存在如下问题:
目前, 与音视频信号传输线连接的设备仅支持与其接口线序匹配的音视频信号传输 线, 无法实现不同类型的设备与音视频信号传输线之间的兼容。 发明内容
本发明的实施例提供了一种音视频信号传输接口装置及方法, 从而解决不同类型的 设备与音视频信号传输线之间的兼容问题。
本发明的目的是通过以下技术方案实现的:
一种音视频信号传输接口装置, 包括左声道接口、 右声道接口、 多媒体端子接口和 接地接口, 在所述多媒体端子接口的电路中设置有电压检测点, 第一电源通过第一电阻 连接到所述电压检测点, 所述装置还包括: 电压检测模块、 判断模块、 控制模块, 和一 端与所述电压检测点连接、 另一端与电源连接的第二电阻:
所述电压检测模块用于在所述电压检测点处检测插入的音视频信号传输线中多媒 体端子的电压值, 所述音视频信号传输线的多媒体端子包括音视频端子或麦克端子, 所 述第二电阻的阻值大于所述音视频端子的内阻值并小于所述麦克端子反接时的内阻值; 所述判断模块用于根据所述电压检测模块的检测结果判断所述音视频信号传输线 的类型;
所述控制模块用于根据判断模块的判断结果进行处理。
一种权利要求 1所述的接口装置对插入的音视频信号传输线的处理方法, 包括: 当有音视频信号传输线插入所述接口装置后,所述电压检测模块测量在所述第一电 阻接通、 且所述第二电阻断开时, 所述音视频信号传输线中多媒体端子的第一电压值; 所述判断模块判断所述第一电压值是否大于第一阈值或小于第三阈值, 如果是, 则 判断所述音视频信号传输线是与所述装置的接口线序匹配的耳机; 否则, 触发所述控制 模块工作, 所述第一阈值大于所述第三阈值;
所述控制模块切断所述第一电阻, 接通所述第二电阻, 并触发所述电压检测模块重 新测量电压; 所述电压检测模块还根据所述控制模块的触发, 测量所述音视频信号传输 线中多媒体端子的第二电压值;
所述判断模块还比较所述第二电压值与第二阈值的大小关系, 如果所述第二电压值 小于或等于所述第二阈值, 则判断所述音视频信号传输线为音视频数据线; 否则, 判断 所述音视频信号传输线是与所述装置的接口线序不匹配的耳机; 将判断结果发送给所述 控制模块, 所述第二阈值小于所述第一阈值且大于所述第三阈值;
如果所述音视频信号传输线是音视频数据线, 则所述控制模块还断开所述第二电 阻、 接通所述第一电阻, 并上报音视频数据线插入消息;
如果所述音视频信号传输线是与所述装置的接口线序不匹配的耳机, 则所述控制模 块还断开所述第二电阻、 接通所述第一电阻, 并切换所述多媒体端子接口与所述接地接 口的线序。
由上述本发明的实施例提供的技术方案可以看出, 本发明实施例中, 由于在设备侧 增加了一个阻值介于音视频端子阻值以及麦克端子反接阻值之间的第二电阻, 从而能够 准确识别三段式耳机(如 LRG (左声道 -右声道-接地线)耳机)、 LRMG (左声道 -右声道- 麦克-接地线)线序耳机、 LRGM (左声道 -右声道-接地线-麦克) 线序耳机以及音视频数 据线, 并实现不同耳机的自适应, 实现了不同类型的设备与音视频信号传输线之间的兼 容。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用 的附图作一简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图 获得其他的附图。
图 1为本发明实施例提供的接口装置结构示意图;
图 2为本发明实施例一提供的接口装置的电路示意图;
图 3为本发明实施例一提供的 LRMG线序耳机插入接口装置的电路示意图; 图 4为本发明实施例一提供的 LRGM线序耳机插入接口装置的电路示意图; 图 5为本发明实施例一提供的三段式耳机插入接口装置的电路示意图;
图 6为本发明实施例一提供的音视频数据线插入接口装置的电路示意图; 图 7为本发明实施例一提供的接口装置的工作流程图;
图 8为本发明实施例一提供的 LRGM线序耳机插入接口装置兼容处理后的电路示意 图;
图 9为本发明实施例二提供的接口装置的电路示意图;
图 10为本发明实施例三提供的接口装置的电路示意图;
图 11为本发明实施例三提供的 LRGM线序耳机插入接口装置的电路示意图; 图 12为本发明实施例三提供的 LRMG线序耳机插入接口装置的电路示意图; 图 13为本发明实施例三提供的三段式耳机插入接口装置的电路示意图;
图 14为本发明实施例三提供的音视频数据线插入接口装置的电路示意图; 图 15为本发明实施例三提供的接口装置的工作流程图;
图 16为本发明实施例三提供的 LRMG线序耳机插入接口装置兼容处理后的电路示意 图;
图 17为本发明实施例四提供的接口装置的电路示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整 地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基 于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有 其他实施例, 都属于本发明保护的范围。
本发明实施例提供一种音视频信号传输接口装置, 如图 1所示, 该装置包括: 左声 道接口 101、右声道接口 102、 多媒体端子接口 103和接地接口 104, 且在多媒体端子接 口 103的电路中设置有电压检测点,第一电源 105通过第一电阻 106连接到电压检测点。 在现有技术中, 接口装置的线序通常是: 左声道接口-右声道接口-多媒体端子接口-接 地接口; 或者是: 左声道接口-右声道接口-接地接口 -多媒体端子接口。 本发明实施例 中的接口装置将以上述两种线序为例进行说明, 但应当指出的是, 本发明实施例提供的 接口装置的线序不仅限于上述两种实现方式, 由于工作原理类似, 因此在本发明实施例 中不再对其他线序类型的接口装置进行详细说明。
为了实现不同类型的设备与音视频信号传输线之间的兼容,本发明实施例提供的接 口装置还包括电压检测模块 108、判断模块 109、控制模块 110, 以及一端与上述电压检 测点连接、 另一端与电源连接的第二电阻 111。 电压检测模块 108用于在上述电压检测 点处检测插入的音视频信号传输线中多媒体端子的电压值; 判断模块 109用于根据电压 检测模块 108的检测结果判断该音视频信号传输线的类型; 控制模块 110用于根据判断 模块 109的判断结果进行处理, 处理操作可以但不仅限于: 控制所述多媒体端子接口与 接地接口之间的线序。 其中, 上述音视频信号传输线的多媒体端子包括音视频端子或麦 克端子,音视频端子是音视频数据线中的多媒体端子,麦克端子是耳机中的多媒体端子。 为了保证根据检测到的电压值对不同类型的音视频信号传输线进行识别, 第二电阻 111 的阻值要大于音视频端子的内阻值, 并小于麦克端子反接时的内阻值。
本发明实施例提供的接口装置设置在设备侧, 具体可以是设备侧的接口, 也可以作 为独立的装置与设备侧的接口连接, 其中判断模块 109和控制模块 110具体可以由 CPU 来实现。
本发明实施例中, 音视频信号传输线包括三段式耳机、 LRMG线序耳机、 LRGM线序 耳机以及音视频数据线 (其线序为 LRVG, V是音视频端子)等。 通常, 第一电阻的阻值 范围是 1500〜3000欧姆; LRMG线序耳机和 LRGM线序耳机中的多媒体端子是麦克端子, 当麦克端子正接时的内阻值范围是 2000〜3500欧姆, 麦克端子正接时的内阻值是反接 时的 2〜3倍; 音视频数据线中的多媒体端子是音视频端子, 音视频端子的阻值大约为 75欧姆。 当音视频信号传输线插入接口装置后, 如果由第一电源供电、 第一电阻分压, 则在第一电源-第一电阻 -传输线侧的多媒体端子-接地接口的回路中: (一) 由于 LRMG 线序耳机和 LRGM线序耳机的麦克端子正接时的阻值与第一电阻的阻值相差不大, 因此, LRMG线序耳机和 LRGM线序耳机的麦克端子正接时, 耳机侧的分压与第一电阻的分压相 差不多; (二) 由于三段式耳机中不包括多媒体端子, 因此, 当三段式耳机插入接口装 置后, 耳机侧的分压几乎为零; (三) 由于 LRMG线序耳机和 LRGM线序耳机的麦克端子 反接时的电阻值、 以及音视频数据线的音视频端子的电阻值, 与第一电阻的阻值相比要 小很多, 则相对于第一电阻的分压值也较低, 在上述第一电阻分压的回路中, 无法区分 出 LRMG线序耳机和 LRGM线序耳机的麦克端子反接, 与音视频数据线。 此时, 可由第二 电阻分压, 在由第二电阻连接的电源-第二电阻 -传输线侧的多媒体端子-接地接口的回 路中, 测量音视频信号传输线侧的电压值。 由于 LRMG线序耳机(或 LRGM线序耳机) 麦 克端子反接时的电阻值大于音视频数据线中音视频端子的电阻值, 因此, 可设置第二电 阻的阻值大于音视频端子的电阻值且小于麦克端子反接时的电阻值, 以便在由第二电阻 分压的回路中区分出, 麦克端子反接的 LRMG线序耳机(或 LRGM线序耳机)或音视频数 据线, 作为举例而非限定, 第二电阻 111的阻值范围是 150〜350欧姆。 根据上述各个 阻值的取值范围以及对分压关系的分析可知,在第一电阻分压的回路中, LRMG线序耳机 (或 LRGM线序耳机) 的麦克端子正接时, 耳机侧的分压值比其他类型的传输线的分压 值要大, 因此, 根据上述阻值特征以及第一电源的供电能力, 设置第一阈值, 以便根据 该第一阈值来判断插入的是否是麦克端子正接时的 LRMG线序耳机(或 LRGM线序耳机); 并根据三段式耳机的上述特征, 设置第三阈值(作为举例而非限定, 该第三阈值的取值 范围是小于 0. 3伏), 用来识别三段式耳机; 在第二电阻分压的回路中, 由于第二电阻 的阻值小于 LRMG线序耳机(或 LRGM线序耳机) 的麦克端子反接时的电阻值且大于音视 频数据线的音视频端子的电阻值, 因此, 可以根据与第二电阻连接的电源的供电能力, 以及上述电阻值特征,设置第二阈值,使得第二阈值的取值小于 LRMG线序耳机(或 LRGM 线序耳机) 的麦克端子反接时耳机侧的分压且大于视频数据线的音视频端子的分压, 以 便区分麦克端子反接的 LRMG线序耳机 (或 LRGM线序耳机) 或音视频数据线。
本发明实施例提供的接口装置根据上述设定的阈值识别并处理音视频信号传输线 兼容问题的处理过程如下:
当有音视频信号传输线插入上述接口装置后, 电压检测模块 108 测量在第一电阻 106接通、 且第二电阻 111断开时, 插入的音视频信号传输线中多媒体端子的第一电压 值; 判断模块 109判断第一电压值是否大于第一阈值或者小于第三阈值, 如果是, 则判 断所述音视频信号传输线是与所述接口装置的接口线序匹配的耳机(与接口装置的接口 线序匹配的耳机是指: 麦克端子正接的 LRMG耳机 (或 LRGM耳机), 或者三段式耳机); 否则, 触发控制模块 110工作 (作为举例而非限定, 判断模块 109可以向控制模块 110 发送无法识别信号, 通过该信号触发控制模块 110工作, 控制模块 110在接收到无法识 别信号后, 即断开第一电阻分压的回路并接通第二电阻分压的回路), 相应的, 控制模 块 110断开第一电阻 106, 接通第二电阻 111, 并触发电压检测模块 108重新测量电压; 相应的, 电压检测模块 108还根据控制模块 110的触发, 测量所述音视频信号传输线中 多媒体端子的第二电压值;判断模块 109还比较所述第二电压值与第二阈值的大小关系, 如果所述第二电压值小于或等于所述第二阈值, 则判断所述音视频信号传输线为音视频 数据线; 否则, 判断所述音视频信号传输线是与所述接口装置的线序不匹配的耳机(与 接口装置的线序不匹配的耳机是指: 麦克端子反接的 LRMG耳机或 LRGM耳机); 将判断 结果发送给控制模块 110 (作为举例而非限定, 控制模块 110可以根据该判断结果识别 出相应的传输线类型, 进而采取相应的动作);
如果所述音视频信号传输线是音视频数据线,则控制模块 110还断开第二电阻 111、 接通第一电阻 106, 并上报音视频数据线插入消息;
如果所述音视频信号传输线是与所述接口装置的线序不匹配的耳机, 则控制模块
110还断开第二电阻 111、 接通第一电阻 106, 并切换多媒体端子接口 103与接地端口 104的线序。 其中, 切换多媒体端子接口 103与接地端口 104的线序具体实现方式可以 是: 通过控制设置在所述多媒体端子接口与所述接地接口之间的模拟开关, 切换多媒体 端子接口与所述接地接口的线序。 相应的, 在上述接口装置的多媒体端子接口 103与接 地接口 104之间还包括由电源控制线控制的模拟开关,控制模块 110通过切换电源控制 线的输出电平来控制该模拟开关切换多媒体自接口与接地接口之间的线序。例如, (一) 当电源控制线输出高电平时, 模拟开关断开, 多媒体端子接口 103与接地接口 104之间 的线序不改变; 或者, (二) 当电源控制线输出高电平时, 模拟开关闭合, 多媒体端子 接口 103与接地接口 104之间的线序被切换。 在本发明各个实施例中, 以上述第 (一) 中模拟开关控制方式为例进行说明。
通过上述处理过程,本发明实施例提供的接口装置能够识别出插入的不同类型的音 视频数据传输线, 并实现设备与不同类型的音视频数据传输线的兼容。
上述本发明实施例提供的接口装置中,增加的第二电阻 111可以与第一电阻 106并 联, 由第一电源 105供电, 即上述与第二电阻 106连接的电源是第一电源 105。
为了降低电路改动导致的噪声增加等问题,本发明实施例提供的一种优选的实现方 式是增加与第二电阻 111连接的第二电源 112, 通过关闭第二电源 112来断开第二电阻 111 ;通过打开第二电源 112来接通第二电阻 111 ;通过关闭第一电源 105来断开第一电 阻 106; 通过接通第一电源 105来接通第一电阻 106。 由于增加了第二电源 112, 因此对 现有的接口电路影响不大, 是较为稳定、 风险较小的实现方式。
下面将对本发明实施例在实际应用过程中的具体实现方式进行详细的说明。 实施例一
在实施例一中, 如图 2所示的音视频信号传输接口装置的电路示意图, 该接口装置 线序是: 左声道接口-右声道接口-多媒体端子接口 -接地接口。 且在多媒体端子接口的 电路上的电压检测点处设置有第二电源和第二电阻。 在默认情况下, 第二电源关闭, 第 一电源打开, 且电源控制线输出高电平。
当有音视频信号传输线插入该接口装置后,通过在多媒体端子的电路上设置的电压 测点 (其位置如图 2所示)来检测传输线侧的电压值, 进而识别并兼容不同类型的传输 线。 不同类型的音视频数据传输线插入接口装置后的电路示意图如图 3〜6所示。 其中, 图 3为 LRMG线序耳机插入接口装置的电路示意图; 图 4为 LRGM线序耳机插入接口装置 的电路示意图; 图 5为三段式耳机插入接口装置的电路示意图; 图 6为音视频数据线插 入接口装置的电路示意图。
音视频信号传输线插入接口装置后, 该接口装置的工作过程如图 7所示, 包括如下 操作:
S701、 电压检测模块在电压测点处测量电压, 得到第一电压值, 执行 S702 ;
S702、判断模块判断该第一电压值是否大于上述的第一阈值,如果是,则执行 S703 , 否则, 执行 S704;
S703、 判断模块判断插入的是 LRMG线序耳机;
根据 S703 的判断结果可知, 由于其线序与接口装置的接口线序一致, 因此不需要 接口装置进行任何处理即可实现音频信号的传输;
S704、判断模块判断该第一电压值是否小于上述的第三阈值,如果是,则执行 S705 ; 否则, 向控制模块发送无法识别信令, 并执行 S706 ;
S705、 判断模块判断插入的是三段式耳机;
由于 S705 的判断结果是三段式耳机, 三段式耳机的线序与接口装置的接口线序匹 配, 能够被接口装置兼容;
S706、 控制模块接收到无法识别信令后, 关闭第一电源, 并打开第二电源, 由第二 电阻分压, 执行 S707 ;
5707、 电压检测模块测量由第二电阻分压情况下, 电压测点处的第二电压值, 执行 S708 ;
5708、 判断模块判断第二电压值与上述第二阈值的大小关系, 如果第二电压值小于 或等于第二阈值, 则执行 S709; 否则, 执行 S710; 5709、 判断模块判断插入的是音视频数据线, 并将判断结果发送给控制模块, 执行 S711 ;
5710、 判断模块判断插入的是 LRGM线序耳机, 并将判断结果发送给控制模块, 执 行 S712 ;
S711、 控制模块关闭第二电源, 打开第一电源, 并上报音视频数据线插入的消息, 以便设备侧根据该消息输出音视频信号;
其中, 由于音视频数据线中的视频回路是复用的, 既可以传输音频信号, 也可以传 输视频信号, 因此, 当识别出插入的是音视频数据线后, 音视频数据线能够与接口装置 所在的设备侧兼容。 至于具体传输音频信号还是视频信号, 则由设备侧决定, 不在本发 明的讨论范围之内。
S712、 控制模块关闭第二电源, 接通第一电源, 并且通过控制电源控制线输出低电 平来切换多媒体端子接口与接地接口之间的线序, 其电路示意图如图 8所示。
应当指出的是, 上述处理过程中, 阈值判断的顺序仅是一种举例而非限定。 本领域 技术人员在不付出创造性劳动的基础上, 还可以根据想到按照其他顺序进行阈值判断。
上述是以 LRMG线序的接口装置为例的处理过程。 当接口装置的线序是 LRVG时, 由 于视频回路中既可以传输音频信号, 也可以传输视频信号, 因此, 当 LRMG线序耳机插 入时, 仍可兼容, 其处理过程同上。
本发明实施例提供的接口设备通过上述操作能够识别不同类型的音视频数据传输 线, 进而实现不同类型的设备与音视频数据传输线之间的兼容。
实施例二
在实施例二中, 如图 9所示的音视频信号传输接口装置的电路示意图, 该接口装置 线序是: 左声道接口-右声道接口-接地接口-多媒体端子接口 (具体可以是 LRGM线序)。 且在多媒体端子接口的电路上的电压检测点处设置有第二电源和第二电阻。在默认情况 下, 第二电源关闭, 第一电源打开, 且电源控制线输出低电平。
由于本发明实施例二提供接口装置中, 电源控制线输出低电平, 则接地接口与多媒 体端子接口的线序被切换, 如图 9所示, 其切换后的实际线序为 LRMG。 因此, 当有音视 频信号传输线插入该接口装置后, 其处理方式可参照上述实施例一的处理过程。 区别仅 在于:
在 S712 中, 本发明实施例二的操作是: 控制模块关闭第二电源, 接通第一电源, 并且通过控制电源控制线输出高电平来切换多媒体端子接口与接地接口之间的线序,使 得接口装置的接口线序切换为 LRGM。
实施例三
在实施例三中, 如图 10所示的音视频信号传输接口装置的电路示意图, 该接口装 置线序是:左声道接口 -右声道接口 -接地接口 -多媒体端子接口(具体可以是 LRGM线序)。 且在多媒体端子接口的电路上的电压检测点处设置有第二电源和第二电阻。在默认情况 下, 第二电源关闭, 第一电源打开, 且电源控制线输出高电平。
通过在多媒体端子的电路上设置的电压测点来检测传输线侧的电压值,进而识别并 兼容不同类型的传输线。不同类型的音视频数据传输线插入接口装置后的电路示意图如 图 11〜14所示。其中,图 11为 LRGM线序耳机插入接口装置的电路示意图;图 12为 LRMG 线序耳机插入接口装置的电路示意图; 图 13为三段式耳机插入接口装置的电路示意图; 图 14为音视频数据线插入接口装置的电路示意图。
音视频信号传输线插入接口装置后, 该接口装置的工作过程如图 15所示, 包括如 下操作:
S150K 电压检测模块在电压测点处测量电压, 得到第一电压值, 执行 S1502; S1502、 判断模块判断该第一电压值是否大于上述的第一阈值, 如果是, 则执行
S1503, 否则, 执行 S1504;
S1503、 判断模块判断插入的是 LRGM线序耳机;
根据 S1503的判断结果可知, 由于其线序与接口装置的线序一致, 因此不需要接口 装置进行任何处理即可实现音频信号的传输;
S1504、 判断模块判断该第一电压值是否小于上述的第三阈值, 如果是, 则执行
S1505; 否则, 向控制模块发送无法识别信令, 并执行 S1506;
S1505、 判断模块判断插入的是三段式耳机;
由于 S1505的判断结果是三段式耳机,三段式耳机的线序与接口装置的接口线序匹 配, 能够被接口装置兼容;
S1506、 控制模块接收到无法识别信令后, 关闭第一电源, 并打开第二电源, 由第 二电阻分压, 执行 S 1507;
51507、 电压检测模块测量由第二电阻分压情况下, 电压测点处的第二电压值, 执 行 S1508;
51508、 判断模块判断第二电压值与上述第二阈值的大小关系, 如果第二电压值小 于或等于第二阈值, 则执行 S1509; 否则, 执行 S1510; 51509、由于音视频数据线插入 LRGM线序的接口装置后,构成的多媒体端子回路中, 音视频端子的阻值仍然是 75欧姆, 因此判断模块判断插入的是音视频数据线, 并将判 断结果发送给控制模块, 执行 S 1511 ;
51510、 判断模块判断插入的是 LRMG线序耳机, 并将判断结果发送给控制模块, 执 行 S 1512 ;
S 151 K 控制模块关闭第二电源, 打开第一电源, 通过控制电源控制线输出低电平 来切换多媒体端子接口与接地接口之间的线序, 以便建立视频路, 并上报音视频数据线 插入的消息, 以便设备侧根据该消息输出音视频信号;
其中, 由于音视频数据线中的视频回路是复用的, 既可以传输音频信号, 也可以传 输视频信号, 因此, 当识别出插入的是音视频数据线后, 只要控制电源控制线输出低电 平, 音视频数据线就能够与 LRGM线序的接口装置所在的设备侧兼容。 至于具体传输音 频信号还是视频信号, 则由设备侧决定, 不在本发明的讨论范围之内。
S 1512、 控制模块关闭第二电源, 接通第一电源, 并且通过控制电源控制线输出低 电平来切换多媒体端子接口与接地接口之间的线序, 其电路示意图如图 16所示。
本发明实施例提供的接口设备通过上述操作能够识别不同类型的音视频数据传输 线, 进而实现不同类型的设备与音视频数据传输线之间的兼容。
实施例四
在实施例四中, 如图 17所示的音视频信号传输接口装置的电路示意图, 该接口装 置线序是: 左声道接口-右声道接口-多媒体端子-接口接地接口。 且在多媒体端子接口 的电路上的电压检测点处设置有第二电源和第二电阻。 在默认情况下, 第二电源关闭, 第一电源打开, 且电源控制线输出低电平。
由于本发明实施例四提供接口装置中, 电源控制线输出低电平, 则接地接口与多媒 体端子接口的线序被切换, 如图 17所示, 其切换后的实际线序为 LRGM。 因此, 当有音 视频信号传输线插入该接口装置后, 其处理方式可参照上述实施例三的处理过程。 区别 仅在于:
在 S 1511中, 本发明实施例四的操作是: 控制模块关闭第二电源, 打开第一电源, 通过控制电源控制线输出高电平来切换多媒体端子接口与接地接口之间的线序(使得接 口装置的接口线序切换为: 左声道接口-右声道接口-多媒体端子-接口接地接口) 以便 建立视频路,并上报音视频数据线插入的消息,以便设备侧根据该消息输出音视频信号; 在 S 1512中, 本发明实施例四的操作是: 控制模块关闭第二电源, 接通第一电源, 并且通过控制电源控制线输出高电平来切换多媒体端子接口与接地接口之间的线序,使 得接口装置的接口线序切换为: 左声道接口-右声道接口-多媒体端子-接口接地接口。
实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述 的程序可以存储于一计算机可读取存储介质中, 该程序在执行时, 执行包括上述方法实 施例的步骤; 而前述的存储介质包括: 醒、 應、 磁碟或者光盘等各种可以存储程序代 码的介质。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替 换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保 护范围为准。

Claims

权利要求
1、 一种音视频信号传输接口装置, 包括左声道接口、 右声道接口、 多媒体端子接 口和接地接口, 在所述多媒体端子接口的电路中设置有电压检测点, 第一电源通过第一 电阻连接到所述电压检测点, 其特征在于, 所述装置还包括: 电压检测模块、判断模块、 控制模块, 和一端与所述电压检测点连接、 另一端与电源连接的第二电阻:
所述电压检测模块用于在所述电压检测点处检测插入的音视频信号传输线中多媒 体端子的电压值, 所述音视频信号传输线的多媒体端子包括音视频端子或麦克端子, 所 述第二电阻的阻值大于所述音视频端子的内阻值并小于所述麦克端子反接时的内阻值; 所述判断模块用于根据所述电压检测模块的检测结果判断所述音视频信号传输线 的类型;
所述控制模块用于根据判断模块的判断结果进行处理。
2、 根据权利要求 1所述的装置, 其特征在于, 所述第一电阻与所述第二电阻并联, 与所述第二电阻连接的电源为所述第一电源。
3、 根据权利要求 1所述的装置, 其特征在于, 所述与所述第二电阻连接的电源为 第二电源; 所述第二电源断开使得所述第二电阻断开, 所述第二电源接通使得所述第二 电阻接通, 所述第一电源接通使得所述第一电阻接通, 所述第一电源断开使得所述第一 电阻断开。
4、 根据权利要求 1〜3任意一项所述的装置, 其特征在于, 所述第一电阻的阻值范 围是 1500〜3000欧姆, 所述第二电阻的阻值范围是 150〜350欧姆。
5、 根据权利要求 1〜3任意一项所述的装置, 其特征在于, 在所述装置的多媒体端 子接口与接地接口之间还包括由电源控制线控制的模拟开关,所述电源控制线通过切换 输出电平来控制所述模拟开关切换多媒体自接口与接地接口之间的线序。
6、 一种权利要求 1所述的接口装置对插入的音视频信号传输线的处理方法, 其特 征在于, 包括:
当有音视频信号传输线插入所述接口装置后,所述电压检测模块测量在所述第一电 阻接通、 且所述第二电阻断开时, 所述音视频信号传输线中多媒体端子的第一电压值; 所述判断模块判断所述第一电压值是否大于第一阈值或小于第三阈值, 如果是, 则 判断所述音视频信号传输线是与所述装置的接口线序匹配的耳机; 否则, 触发所述控制 模块工作, 所述第一阈值大于所述第三阈值;
所述控制模块切断所述第一电阻, 接通所述第二电阻, 并触发所述电压检测模块重 新测量电压; 所述电压检测模块还根据所述控制模块的触发, 测量所述音视频信号传输 线中多媒体端子的第二电压值;
所述判断模块还比较所述第二电压值与第二阈值的大小关系, 如果所述第二电压值 小于或等于所述第二阈值, 则判断所述音视频信号传输线为音视频数据线; 否则, 判断 所述音视频信号传输线是与所述装置的接口线序不匹配的耳机; 将判断结果发送给所述 控制模块, 所述第二阈值小于所述第一阈值且大于所述第三阈值;
如果所述音视频信号传输线是音视频数据线, 则所述控制模块还断开所述第二电 阻、 接通所述第一电阻, 并上报音视频数据线插入消息;
如果所述音视频信号传输线是与所述装置的接口线序不匹配的耳机, 则所述控制模 块还断开所述第二电阻、 接通所述第一电阻, 并切换所述多媒体端子接口与所述接地接 口的线序。
7、 根据权利要求 6任意一项所述的方法, 其特征在于, 所述第三阈值的取值范围 是小于 0. 3伏。
8、 根据权利要求 6或 7所述的方法, 其特征在于, 如果所述接口装置的接口线序 是, 左声道接口、右声道接口、接地接口、 多媒体端子接口, 在检测出音视频数据线后, 该方法还包括:
所述控制模块将所述电源控制线设置在高电平状态。
9、 根据权利要求 6或 7所述的方法, 其特征在于, 所述切换多媒体端子接口与所 述接地接口的线序包括:
通过控制设置在所述多媒体端子接口与所述接地接口之间的模拟开关,切换多媒体 端子接口与所述接地接口的线序。
PCT/CN2012/071324 2011-03-08 2012-02-20 一种音视频信号传输接口的装置及方法 WO2012119509A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP12754505.1A EP2677742B1 (en) 2011-03-08 2012-02-20 Audio-video signal transmission interface device and method
JP2013556951A JP5697764B2 (ja) 2011-03-08 2012-02-20 音声映像信号伝送インターフェース装置および方法
KR1020137025142A KR101570173B1 (ko) 2011-03-08 2012-02-20 오디오 및 비디오 신호 전송 인터페이스 장치 및 그 방법
US14/020,050 US9351076B2 (en) 2011-03-08 2013-09-06 Audio and video signal transmission interface apparatus and method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110059165.2 2011-03-08
CN201110059165A CN102164263B (zh) 2011-03-08 2011-03-08 一种音视频信号传输接口的装置及方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/020,050 Continuation US9351076B2 (en) 2011-03-08 2013-09-06 Audio and video signal transmission interface apparatus and method thereof

Publications (1)

Publication Number Publication Date
WO2012119509A1 true WO2012119509A1 (zh) 2012-09-13

Family

ID=44465192

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071324 WO2012119509A1 (zh) 2011-03-08 2012-02-20 一种音视频信号传输接口的装置及方法

Country Status (6)

Country Link
US (1) US9351076B2 (zh)
EP (1) EP2677742B1 (zh)
JP (1) JP5697764B2 (zh)
KR (1) KR101570173B1 (zh)
CN (1) CN102164263B (zh)
WO (1) WO2012119509A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811644A (zh) * 2015-04-14 2015-07-29 龙迅半导体科技(合肥)有限公司 一种hdmi发射器输出信号幅度控制电路

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102164263B (zh) * 2011-03-08 2012-09-05 华为终端有限公司 一种音视频信号传输接口的装置及方法
CN102395072B (zh) * 2011-10-21 2015-08-19 惠州Tcl移动通信有限公司 一种耳机插头及其耳机
CN202310052U (zh) * 2011-11-10 2012-07-04 中兴通讯股份有限公司 耳机插座电路
CN103379420B (zh) 2012-04-18 2016-10-05 华为终端有限公司 一种确定耳机线序的方法及电子设备
CN102892060B (zh) * 2012-10-08 2016-05-18 福建新大陆支付技术有限公司 四节音频口极性反转自适应电路
CN103916151B (zh) * 2012-12-30 2016-03-30 北京握奇数据系统有限公司 一种获取音频线序的方法、装置和系统
CN103916152B (zh) * 2012-12-30 2016-06-29 北京握奇数据系统有限公司 一种获取音频线序的方法、终端和系统
CN106256138A (zh) * 2014-05-30 2016-12-21 华为技术有限公司 一种对主动降噪耳机供电的方法、装置及系统
CN106162433B (zh) * 2015-04-10 2021-08-24 杭州纳雄科技有限公司 一种耳机电路及其控制方法
US9986351B2 (en) * 2016-02-22 2018-05-29 Cirrus Logic, Inc. Direct current (DC) and/or alternating current (AC) load detection for audio codec
US9716955B1 (en) * 2016-03-24 2017-07-25 Revx Technologies Device for monitoring a sound pressure level
US9918173B1 (en) 2016-03-24 2018-03-13 Revx Technologies Adaptable sound quality device
CN105872897A (zh) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 一种音质调整方法和终端
CN105975422B (zh) * 2016-05-27 2018-11-23 北京小米移动软件有限公司 一种切换设备、终端及切换方法
US10015623B2 (en) * 2016-06-17 2018-07-03 Nxp B.V. NFMI based robustness
CN109874097B (zh) * 2017-12-05 2020-10-30 炬芯科技股份有限公司 主动降噪耳机及其测试系统
CN113242487B (zh) * 2021-05-11 2022-12-02 深圳市中科蓝讯科技股份有限公司 一种线控方法及线控装置、转接头与线控系统
CN114488313B (zh) * 2021-07-22 2023-01-24 荣耀终端有限公司 一种耳机在位检测方法及装置
CN117640870A (zh) * 2024-01-26 2024-03-01 荣耀终端有限公司 一种接口防反插电路、方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007180742A (ja) * 2005-12-27 2007-07-12 Nec Infrontia Corp 携帯端末、携帯端末におけるオーディオ機器の判別方法
CN101030189A (zh) * 2007-03-09 2007-09-05 华为技术有限公司 检测插入外设类型的方法,终端、耳机、充电器和usb接口
CN101089837A (zh) * 2006-06-02 2007-12-19 三星电子株式会社 用于辨别主机接口的装置和方法
CN101163220A (zh) * 2006-10-11 2008-04-16 上海晨兴电子科技有限公司 手机自动检测影视输出信号线的方法
CN102164263A (zh) * 2011-03-08 2011-08-24 华为终端有限公司 一种音视频信号传输接口的装置及方法

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3656334B2 (ja) * 1996-09-05 2005-06-08 ソニー株式会社 ステレオ音声/映像装置の接続装置
JP2000032339A (ja) * 1998-07-16 2000-01-28 Victor Co Of Japan Ltd 信号切替回路
US7890284B2 (en) * 2002-06-24 2011-02-15 Analog Devices, Inc. Identification system and method for recognizing any one of a number of different types of devices
TWI229478B (en) * 2003-12-24 2005-03-11 Benq Corp Detecting apparatus and method for an audio/video plug
JP4421945B2 (ja) * 2004-05-31 2010-02-24 京セラ株式会社 携帯電話機
CN200983638Y (zh) * 2006-12-15 2007-11-28 康佳集团股份有限公司 一种scart接口音频输出电路
JP2008182525A (ja) * 2007-01-25 2008-08-07 Funai Electric Co Ltd 送信機器
JP2008301068A (ja) * 2007-05-30 2008-12-11 Kyocera Corp 電子機器
CN101394526B (zh) * 2007-09-21 2011-01-05 鸿富锦精密工业(深圳)有限公司 投影设备视频信号搜索方法及投影设备
CN101466008B (zh) * 2007-12-21 2013-01-02 瑞昱半导体股份有限公司 判断输入信号的传输规格的信号接收方法及电路
EP2224748B1 (en) * 2009-02-26 2012-04-18 Research In Motion Limited Portable electronic device with an audio jack
JP5161153B2 (ja) * 2009-05-28 2013-03-13 レノボ・シンガポール・プライベート・リミテッド オーディオ・デバイスの認識装置および携帯式コンピュータ
TWI405990B (zh) * 2009-10-21 2013-08-21 Htc Corp 電子裝置及其辨識電子配件之方法
CN102056051B (zh) * 2009-10-29 2014-10-15 宏达国际电子股份有限公司 电子装置、电子系统及其处理来自音源配件的信号的方法
JP2011217228A (ja) * 2010-04-01 2011-10-27 Funai Electric Co Ltd 電子装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007180742A (ja) * 2005-12-27 2007-07-12 Nec Infrontia Corp 携帯端末、携帯端末におけるオーディオ機器の判別方法
CN101089837A (zh) * 2006-06-02 2007-12-19 三星电子株式会社 用于辨别主机接口的装置和方法
CN101163220A (zh) * 2006-10-11 2008-04-16 上海晨兴电子科技有限公司 手机自动检测影视输出信号线的方法
CN101030189A (zh) * 2007-03-09 2007-09-05 华为技术有限公司 检测插入外设类型的方法,终端、耳机、充电器和usb接口
CN102164263A (zh) * 2011-03-08 2011-08-24 华为终端有限公司 一种音视频信号传输接口的装置及方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811644A (zh) * 2015-04-14 2015-07-29 龙迅半导体科技(合肥)有限公司 一种hdmi发射器输出信号幅度控制电路
CN104811644B (zh) * 2015-04-14 2018-02-02 龙迅半导体(合肥)股份有限公司 一种hdmi发射器输出信号幅度控制电路

Also Published As

Publication number Publication date
US9351076B2 (en) 2016-05-24
JP5697764B2 (ja) 2015-04-08
KR101570173B1 (ko) 2015-11-18
US20140010390A1 (en) 2014-01-09
EP2677742A4 (en) 2015-02-11
EP2677742B1 (en) 2018-06-27
CN102164263A (zh) 2011-08-24
JP2014512731A (ja) 2014-05-22
KR20130124395A (ko) 2013-11-13
EP2677742A1 (en) 2013-12-25
CN102164263B (zh) 2012-09-05

Similar Documents

Publication Publication Date Title
WO2012119509A1 (zh) 一种音视频信号传输接口的装置及方法
US11438526B2 (en) Determining state signatures for consumer electronic devices coupled to an audio/video switch
US11526459B2 (en) Adapter, terminal device and adapter system
US8280038B2 (en) Microphone line based detection of headset plug removal
US20210219041A1 (en) Voice data transmission method, wireless earphone and tws earphone
US9668076B2 (en) Microphone headset failure detecting and reporting
CN109743654A (zh) 一种蓝牙耳机主副耳切换方法、装置、设备及介质
CN101790125A (zh) 使用话筒和相关动作探测耳机的位置改变
KR20140047201A (ko) 단말기의 이어마이크 폰의 삽입 감지 장치 및 방법
KR20130066880A (ko) 이어폰 접속 검출 시스템 및 이를 지원하는 단말기
CN110366062B (zh) Tws耳机在位检测方法及系统
WO2013107272A1 (zh) 一种音频接口类型检测装置
WO2020063499A1 (zh) 一种无线耳机
EP2988480A1 (en) Automatic configuration of different audio output devices based on a use history
CN103002367A (zh) 用于多通道声音采集和输出的移动设备及其驱动方法
JP6563138B2 (ja) ヘッドマウントディスプレイデバイス及びヘッドマウントディスプレイシステム
US20150326969A1 (en) Multimedia playing system and sound channel control method thereof
WO2015180172A1 (zh) 用于检测耳机按键动作的电路、终端及耳机
CN109068232A (zh) 一种组合音箱的交互控制方法、装置及组合音箱
TWI628962B (zh) 音頻播放系統及其應用之耳機、自動控制方法
US20080270637A1 (en) host based automatic detection unit
CN203761574U (zh) 不同规格制式的耳机可切换的兼容设备
KR101470232B1 (ko) 자동차용 멀티미디어 시스템의 제어 장치 및 방법
TW201440537A (zh) 提供充電之方法及其充電控制系統及具有該充電控制系統之電子裝置
CN105204817A (zh) 一种信息处理方法及电子设备

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: 12754505

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013556951

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012754505

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20137025142

Country of ref document: KR

Kind code of ref document: A