[go: up one dir, main page]

CN107306000B - Method and device for interface configuration - Google Patents

Method and device for interface configuration Download PDF

Info

Publication number
CN107306000B
CN107306000B CN201610259589.6A CN201610259589A CN107306000B CN 107306000 B CN107306000 B CN 107306000B CN 201610259589 A CN201610259589 A CN 201610259589A CN 107306000 B CN107306000 B CN 107306000B
Authority
CN
China
Prior art keywords
access device
controller
mhl
chip
command transmission
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
Application number
CN201610259589.6A
Other languages
Chinese (zh)
Other versions
CN107306000A (en
Inventor
袁赛峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201610259589.6A priority Critical patent/CN107306000B/en
Priority to PCT/CN2017/081524 priority patent/WO2017182001A1/en
Publication of CN107306000A publication Critical patent/CN107306000A/en
Application granted granted Critical
Publication of CN107306000B publication Critical patent/CN107306000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R24/00Two-part coupling devices, or either of their cooperating parts, characterised by their overall structure
    • H01R24/60Contacts spaced along planar side wall transverse to longitudinal axis of engagement
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/64Means for preventing incorrect coupling
    • H01R13/641Means for preventing incorrect coupling by indicating incorrect coupling; by indicating correct or full engagement
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Power Sources (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)
  • Information Transfer Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of methods of interface configuration, which is characterized in that the described method includes: the energization pins of any inserting surface send access signal to the power-supply controller of electric of terminal device when access device access;It indicates that pin receives the signal condition that the piece connecting with the socket selects controller to be forwarded according to the access device type of any inserting surface, identifies the device type of the access device, determine the working condition of any inserting surface.The embodiment of the present invention also discloses a kind of device of interface configuration simultaneously.

Description

一种接口配置的方法和装置Method and device for interface configuration

技术领域technical field

本发明涉及智能终端技术领域,尤其涉及一种接口配置的方法和装置。The present invention relates to the technical field of intelligent terminals, in particular to a method and device for interface configuration.

背景技术Background technique

随着智能移动终端的迅速普及,用户可以通过智能移动终端接入互联网,传输多种类型的数据,因此,用户对智能移动终端数据接口功能的多样性有着更高的需求。With the rapid popularization of smart mobile terminals, users can access the Internet through smart mobile terminals and transmit various types of data. Therefore, users have higher requirements for the diversity of data interface functions of smart mobile terminals.

现有技术中,智能移动终端配置有一个数据接口,如微型通用串行总线2.0(MicroUSB 2.0,Micro Universal Serial Bus)接口,这是一种5pin(5个金属引脚触点)的接口方案。该接口为手机提供了充电功能和与电脑等设备进行数据传输的方案,还可以通过OTG(On The Go)线外接鼠标、键盘、U盘等通用串行总线(USB,Universal Serial Bus)设备,还能通过移动终端高清影音标准接口(MHL,Mobile High-Definition Link)转标准高清晰度多媒体接口(HDMI,High Definition Multimedia Interface)线将音视频输出到显示器、电视等大屏幕设备。然而,该接口只能分别支持上述功能,无法同时支持USB和MHL功能,同时该接口采用舌型设计,有正反面之分,数据线插头必须对准以后才能插入,不方便用户使用。In the prior art, the smart mobile terminal is equipped with a data interface, such as a Micro Universal Serial Bus 2.0 (Micro USB 2.0, Micro Universal Serial Bus) interface, which is a 5pin (five metal pin contacts) interface solution. This interface provides the mobile phone with a charging function and a solution for data transmission with a computer and other equipment. It can also be connected to an external USB (Universal Serial Bus) device such as a mouse, keyboard, and U disk through an OTG (On The Go) cable. It can also output audio and video to monitors, TVs and other large-screen devices through the mobile terminal high-definition audio-visual standard interface (MHL, Mobile High-Definition Link) to standard high-definition multimedia interface (HDMI, High Definition Multimedia Interface) cable. However, this interface can only support the above-mentioned functions separately, and cannot support both USB and MHL functions at the same time. At the same time, the interface adopts a tongue-shaped design, which has a front and a back. The data cable plug must be aligned before it can be inserted, which is inconvenient for users.

发明内容Contents of the invention

为解决上述技术问题,本发明实施例期望提供一种接口配置的方法和装置,同时支持USB和MHL功能,并且接口不分正反面,方便用户使用。In order to solve the above technical problems, the embodiments of the present invention expect to provide a method and device for interface configuration, which support USB and MHL functions at the same time, and the interface does not distinguish between front and back, which is convenient for users to use.

本发明的技术方案是这样实现的:Technical scheme of the present invention is realized like this:

第一方面,本发明实施例提供了一种接口配置的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for interface configuration, the method including:

当接入设备接入时,任一插入面的供电引脚向终端设备的电源控制器发送接入信号;When the access device is connected, the power supply pin of any insertion surface sends an access signal to the power controller of the terminal device;

根据所述任一插入面的接入设备类型指示引脚接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态。According to the access device type indication pin on any of the insertion surfaces receiving the signal state forwarded by the chip select controller connected to the socket, identify the device type of the access device, and determine the any insertion surface working status.

上述方案中,当仅有第一接入设备接入任一插入面,并且所述任一插入面为第一插入面时,所述根据所述任一插入面的接入设备类型指示引脚接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态,包括:In the above scheme, when only the first access device is connected to any insertion surface, and the any insertion surface is the first insertion surface, the type indication pin according to the access device type of the any insertion surface Receiving the signal status forwarded by the chip select controller connected to the socket, identifying the device type of the access device, and determining the working status of any insertion surface, including:

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;When the access device type indication pin on the first insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, the state of the MHL chip controller is suspended, the first access device is identified as a USB device, and the second access device is identified as a USB device. 1. The insertion surface enters the first USB working state;

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is an MHL device, the first insertion surface enters the MHL working state;

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is not an MHL device, device identification fails;

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the first access device is identified as a USB device, and the first insertion surface enters a second USB working state.

上述方案中,当第二接入设备接入任一插入面的另外一面,并且所述任一插入面的另外一面为第二插入面时,在所述识别所述第一接入设备的设备类型之后,还包括:In the above solution, when the second access device is connected to the other side of any insertion surface, and the other side of any insertion surface is the second insertion surface, the device for identifying the first access device After the type, also include:

当第二接入设备接入时,第二插入面的供电引脚向终端设备的电源控制器发送接入信号;When the second access device is connected, the power supply pin of the second insertion surface sends an access signal to the power controller of the terminal device;

根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通;According to the device type of the first access device, the access device type indication pin on the second insertion plane is connected to the second signal forwarded by the chip select controller;

根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。Identify the device type of the second access device according to the state of the second signal forwarded by the chip select controller received by the access device type indicating pin of the second insertion plane, and determine the second insertion plane working status.

上述方案中,所述根据所述第一接入设备的设备类型,第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通,包括:In the above solution, according to the device type of the first access device, the access device type indication pin on the second insertion surface is connected to the second signal forwarded by the chip select controller, including:

若所述第一接入设备已经识别为USB设备,则所述第二插入面的接入设备类型指示引脚通过片选控制器与MHL芯片控制器的命令传输信号接通;If the first access device has been identified as a USB device, the access device type indication pin on the second insertion surface is connected to the command transmission signal of the chip select controller and the MHL chip controller;

若所述第一接入设备已经识别为MHL设备,则所述第二插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口信号接通。If the first access device has been identified as an MHL device, the access device type indication pin on the second insertion surface is connected to the air interface signal of the USB chip through the chip select controller.

上述方案中,所述根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态,包括:In the above solution, the second signal status forwarded by the chip select controller received by the access device type indication pin on the second insertion plane identifies the device type of the second access device, and determines The working status of the second insertion surface includes:

所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;The access device type indication pin of the second insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working state of the second insertion surface;

所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备的设备类型进行识别,确定所述第二插入面的工作状态。The access device type indication pin of the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the device type of the second access device, and determines the device type of the second insertion surface. working status.

上述方案中,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态,包括:In the above solution, the access device type indication pin of the second insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working state of the second insertion surface, including:

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号悬空,所述第二插入面的接入设备类型指示引脚断开与MHL芯片控制器的命令传输信号的连接;When the access device type indication pin of the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended, the access device type indication pin of the second insertion surface is disconnected Connection with the command transmission signal of the MHL chip controller;

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is an MHL device, the second insertion surface enters the MHL working state;

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is not an MHL device, the identification of the second access device fails;

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the identification of the second access device fails.

上述方案中,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态,包括:In the above solution, the access device type indication pin on the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the second insertion Surface working status, including:

若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;If the second insertion surface identifies the USB device successfully, the second insertion surface enters the USB working state;

若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。If the second insertion surface fails to identify the USB device, the access device type indication pin on the second insertion surface is disconnected from the USB chip.

上述方案中,当第一接入设备接入任一面,第二接入设备接入任一面的另外一面,并且所述任一面为第一插入面,所述任一面的另外一面为第二插入面时,所述方法还包括:In the above solution, when the first access device accesses any side, the second access device accesses the other side of any side, and the any side is the first insertion side, and the other side of the any side is the second insertion side. When facing, the method also includes:

当第一接入设备与第二接入设备同时接入时,所述第一插入面和第二插入面的供电引脚向终端设备的电源控制器发送接入信号;When the first access device and the second access device are connected at the same time, the power supply pins of the first insertion surface and the second insertion surface send an access signal to the power controller of the terminal device;

所述第一插入面的接入设备类型指示引脚与片选控制器转发的第一信号接通;The access device type indication pin on the first insertion surface is connected to the first signal forwarded by the chip select controller;

所述第一插入面的接入设备类型指示引脚接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态;The access device type indication pin of the first insertion plane receives the first signal state forwarded by the chip select controller, identifies the device type of the first access device, and determines the working status of the first insertion plane;

根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通;According to the device type of the first access device, the access device type indication pin on the second insertion plane is connected to the second signal forwarded by the chip select controller;

根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。Identify the device type of the second access device according to the state of the second signal forwarded by the chip select controller received by the access device type indicating pin of the second insertion plane, and determine the second insertion plane working status.

上述方案中,所述第一插入面的接入设备类型指示引脚接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态,包括:In the above scheme, the access device type indication pin of the first insertion plane receives the first signal state forwarded by the chip select controller, identifies the device type of the first access device, and determines the status of the first insertion plane. working status, including:

所述第一插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第一插入面的第一接入设备类型;The access device type indication pin of the first insertion plane receives the command transmission signal state of the MHL chip controller through the chip select controller, and determines the first access device type of the first insertion plane;

当所述第一插入面的第一接入设备类型识别为USB设备时,断开所述第一插入面的接入设备类型指示引脚与所述MHL芯片控制器的命令传输信号的连接;When the first access device type of the first insertion surface is identified as a USB device, disconnect the connection of the access device type indication pin of the first insertion surface with the command transmission signal of the MHL chip controller;

所述第一插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口接通,所述第一插入面进入USB工作状态;The access device type indication pin of the first insertion surface is connected to the air interface of the USB chip through the chip select controller, and the first insertion surface enters the USB working state;

当所述第一插入面的接入设备类型识别为MHL设备时,保持所述第一插入面的接入设备类型指示引脚与所述MHL芯片控制器的命令传输信号的连接,所述第一插入面进入MHL工作状态。When the type of the access device on the first insertion plane is identified as an MHL device, keep the connection between the indication pin of the access device type on the first insertion plane and the command transmission signal of the MHL chip controller, the second An inserted surface enters the MHL working state.

上述方案中,所述第一插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定第一插入面的第一接入设备类型,包括:In the above solution, the access device type indication pin of the first insertion plane receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the first access device type of the first insertion plane, including :

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;When the access device type indication pin on the first insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, the state of the MHL chip controller is suspended, the first access device is identified as a USB device, and the second access device is identified as a USB device. 1. The insertion surface enters the first USB working state;

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is an MHL device, the first insertion surface enters the MHL working state;

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is not an MHL device, device identification fails;

当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the first access device is identified as a USB device, and the first insertion surface enters a second USB working state.

上述方案中,所述根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通,包括:In the above solution, according to the device type of the first access device, the access device type indication pin on the second insertion surface is connected to the second signal forwarded by the chip select controller, including:

当所述第一接入设备类型识别为USB设备时,所述第二插入面的接入设备类型指示引脚通过片选控制器与所述MHL芯片控制器的命令传输信号接通;When the first access device type is identified as a USB device, the access device type indication pin on the second insertion surface is connected to the command transmission signal of the MHL chip controller through the chip select controller;

当所述第一插入面的接入设备类型识别为MHL设备时,所述第二插入面的接入设备类型指示引脚通过片选控制器与USB芯片的命令空口信号接通。When the type of the access device on the first insertion plane is identified as an MHL device, the indication pin of the access device type on the second insertion plane is connected to the command air interface signal of the USB chip through the chip select controller.

上述方案中,根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态,包括:In the above solution, according to the state of the second signal forwarded by the chip select controller received by the access device type indication pin on the second insertion plane, the device type of the second access device is identified, and the The working status of the second insertion surface, including:

所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;The access device type indication pin of the second insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working state of the second insertion surface;

所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态。The access device type indication pin of the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the working state of the second insertion surface .

上述方案中,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态,包括:In the above solution, the access device type indication pin of the second insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working state of the second insertion surface, including:

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到MHL芯片控制器的命令传输信号悬空,所述第二插入面的接入设备类型指示引脚断开与MHL芯片控制器的命令传输信号的连接;When the access device type indication pin of the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended, the access device type indication pin of the second insertion surface is disconnected from the MHL The connection of the command transmission signal of the chip controller;

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is an MHL device, the second insertion surface enters the MHL working state;

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is not an MHL device, the identification of the second access device fails;

当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the identification of the second access device fails.

上述方案中,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对第二接入设备类型进行识别,确定所述第二插入面的工作状态,包括:In the above scheme, the access device type indicating pin of the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the type of the second insertion surface. working status, including:

若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;If the second insertion surface identifies the USB device successfully, the second insertion surface enters the USB working state;

若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。If the second insertion surface fails to identify the USB device, the access device type indication pin on the second insertion surface is disconnected from the USB chip.

第二方面,本发明实施例还提供了一种接口配置的装置,所述装置包括:发送模块和处理模块;其中,In the second aspect, the embodiment of the present invention also provides an interface configuration device, the device includes: a sending module and a processing module; wherein,

所述发送模块,用于当接入设备接入时,任一插入面向终端设备的电源控制器发送接入信号;The sending module is configured to send an access signal to any plug-in power controller facing the terminal device when the access device is connected;

所述处理模块,用于所述任一插入面与片选控制器转发的信号接通;The processing module is used for connecting any one of the insertion planes with the signal forwarded by the chip selection controller;

以及,根据所述任一插入面接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态。And, according to the state of the signal forwarded by the chip select controller connected to the socket received by any of the insertion planes, the device type of the access device is identified, and the working status of any of the insertion planes is determined.

上述方案中,所述处理模块,用于当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;In the above solution, the processing module is configured to identify the first access device as a USB device when the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller and the status is suspended, The first insertion surface enters the first USB working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is an MHL device, the first insertion surface enters the MHL working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is not an MHL device, the device identification will fail;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first interface The input device is recognized as a USB device, and the first insertion surface enters a second USB working state.

上述方案中,所述发送模块,用于当第二接入设备接入时,第二插入面向终端设备的电源控制器发送接入信号;In the above solution, the sending module is configured to, when the second access device is connected, send the access signal to the power controller of the second insertion-oriented terminal device;

所述处理模块,用于根据所述第一接入设备的设备类型,所述第二插入面与片选控制器转发的第二信号接通;The processing module is configured to connect the second insertion plane with the second signal forwarded by the chip selection controller according to the device type of the first access device;

以及,根据所述第二插入面接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。And, according to the state of the second signal forwarded by the chip select controller received by the second insertion plane, the device type of the second access device is identified, and the working status of the second insertion plane is determined.

上述方案中,所述处理模块,用于若所述第一接入设备已经识别为USB设备,则所述第二插入面通过片选控制器与MHL芯片控制器的命令传输信号接通;In the above solution, the processing module is configured to connect the second insertion plane with a command transmission signal of the chip select controller and the MHL chip controller if the first access device has been identified as a USB device;

以及,若所述第一接入设备已经识别为MHL设备,则所述第二插入面通过片选控制器与USB芯片的空口信号接通。And, if the first access device has been identified as an MHL device, then the second insertion plane is connected to the air interface signal of the USB chip through the chip select controller.

上述方案中,所述处理模块,用于所述第二插入面通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;In the above solution, the processing module is used for the second insertion surface to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the working state of the second insertion surface;

以及,所述第二插入面通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备的设备类型进行识别,确定所述第二插入面的工作状态。And, the second insertion plane receives the air interface signal of the USB chip through the chip select controller, identifies the device type of the second access device, and determines the working state of the second insertion plane.

上述方案中,所述处理模块,用于当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号悬空,所述第二插入面断开与MHL芯片控制器的命令传输信号的连接;In the above solution, the processing module is configured to disconnect the second insertion surface from the MHL chip controller when the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended in the air. The connection of the command transmission signal;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first The second access device is an MHL device, and the second insertion surface enters the MHL working state;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the second access device is not an MHL device, the identification of the second access device fails;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。And, when the voltage of the command transmission signal received by the MHL chip controller on the second insertion plane is pulled down through the chip select controller, and the pull-down resistance of the command transmission signal is not 1KΩ, the second Access device identification failed.

上述方案中,所述处理模块,用于若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;In the above solution, the processing module is configured to enter the USB working state on the second insertion surface if the second insertion surface successfully recognizes the USB device;

以及,若所述第二插入面对USB设备识别不成功,则所述第二插入面断开与USB芯片的连接。And, if the second insertion surface fails to identify the USB device, the second insertion surface disconnects from the USB chip.

上述方案中,所述发送模块,用于当第一接入设备与第二接入设备同时接入时,所述第一插入面和第二插入面向终端设备的电源控制器发送接入信号;In the above solution, the sending module is configured to send an access signal to the power controller of the terminal device on the first insertion surface and the second insertion surface when the first access device and the second access device are connected at the same time;

所述处理模块,用于所述第一插入面与片选控制器转发的第一信号接通;The processing module is configured to connect the first insertion plane with the first signal forwarded by the chip select controller;

以及,所述第一插入面接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态;And, the first insertion plane receives the first signal status forwarded by the chip select controller, identifies the device type of the first access device, and determines the working status of the first insertion plane;

以及,根据所述第一接入设备的设备类型,所述第二插入面与片选控制器转发的第二信号接通;And, according to the device type of the first access device, the second insertion plane is connected to the second signal forwarded by the chip selection controller;

以及,根据所述第二插入面接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。And, according to the state of the second signal forwarded by the chip select controller received by the second insertion plane, the device type of the second access device is identified, and the working status of the second insertion plane is determined.

上述方案中,所述处理模块,用于所述第一插入面通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第一插入面的第一接入设备类型;In the above solution, the processing module is used for the first insertion plane to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the first access device type of the first insertion plane;

以及,当所述第一插入面的第一接入设备类型识别为USB设备时,断开所述第一插入面与所述MHL芯片控制器的命令传输信号的连接;And, when the first access device type of the first insertion surface is identified as a USB device, disconnect the first insertion surface from the command transmission signal of the MHL chip controller;

以及,所述第一插入面通过片选控制器与USB芯片的空口接通,所述第一插入面进入USB工作状态;And, the first insertion surface is connected to the air port of the USB chip through the chip select controller, and the first insertion surface enters the USB working state;

以及,当所述第一插入面的接入设备类型识别为MHL设备时,保持所述第一插入面与所述MHL芯片控制器的命令传输信号的连接,所述第一插入面进入MHL工作状态。And, when the access device type of the first insertion surface is identified as an MHL device, the connection between the first insertion surface and the command transmission signal of the MHL chip controller is maintained, and the first insertion surface enters the MHL work state.

上述方案中,所述处理模块,用于当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;In the above solution, the processing module is configured to identify the first access device as a USB device when the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller and the status is suspended, The first insertion surface enters the first USB working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is an MHL device, the first insertion surface enters the MHL working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is not an MHL device, the device identification will fail;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first interface The input device is recognized as a USB device, and the first insertion surface enters a second USB working state.

上述方案中,所述处理模块,用于当所述第一接入设备类型识别为USB设备时,所述第二插入面通过片选控制器与所述MHL芯片控制器的命令传输信号接通;In the above solution, the processing module is configured to, when the type of the first access device is identified as a USB device, connect the second insertion plane with a command transmission signal of the MHL chip controller through a chip select controller ;

以及,当所述第一插入面的接入设备类型识别为MHL设备时,所述第二插入面通过片选控制器与USB芯片的命令空口信号接通。And, when the type of the access device on the first insertion plane is identified as an MHL device, the second insertion plane is connected to the command air interface signal of the USB chip through the chip select controller.

上述方案中,所述处理模块,用于所述第二插入面通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;In the above solution, the processing module is used for the second insertion surface to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the working state of the second insertion surface;

以及,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态。And, the access device type indicating pin of the second insertion plane receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the type of the second insertion plane. working status.

上述方案中,所述处理模块,用于当所述第二插入面通过片选控制器接收到MHL芯片控制器的命令传输信号悬空,所述第二插入面断开与MHL芯片控制器的命令传输信号的连接;In the above solution, the processing module is used to disconnect the second insertion plane from the command of the MHL chip controller when the second insertion plane receives the command transmission signal of the MHL chip controller through the chip select controller. connection for transmitting signals;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first The second access device is an MHL device, and the second insertion surface enters the MHL working state;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the second access device is not an MHL device, the identification of the second access device fails;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。And, when the voltage of the command transmission signal received by the MHL chip controller on the second insertion plane is pulled down through the chip select controller, and the pull-down resistance of the command transmission signal is not 1KΩ, the second Access device identification failed.

上述方案中,所述处理模块,用于若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;In the above solution, the processing module is configured to enter the USB working state on the second insertion surface if the second insertion surface successfully recognizes the USB device;

以及,若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。And, if the second insertion surface fails to identify the USB device, the connection device type indication pin on the second insertion surface is disconnected from the USB chip.

本发明实施例提供了一种接口配置的方法和装置,对数据接口插座和插头的金属引脚触点进行修改,并且将连接插头的数据线另一侧设计成一个可同时接入USB设备和MHL设备的分叉线。实现了同时支持USB和MHL功能,并且接口不分正反面,方便用户使用。The embodiment of the present invention provides a method and device for interface configuration, modifying the metal pin contacts of the data interface socket and the plug, and designing the other side of the data line connecting the plug into a USB device and Forked line for MHL devices. It realizes the simultaneous support of USB and MHL functions, and the interface does not distinguish between front and back, which is convenient for users to use.

附图说明Description of drawings

图1为本发明实施例提供的接口配置装置插座与插头结构示意图;Fig. 1 is a schematic structural diagram of a socket and a plug of an interface configuration device provided by an embodiment of the present invention;

图2为本发明实施例提供的接口配置装置插头与设备连接示意图;Fig. 2 is a schematic diagram of the connection between the interface configuration device plug and the device provided by the embodiment of the present invention;

图3为本发明实施例提供的接入设备种类识别电路连接示意图;FIG. 3 is a schematic diagram of the connection of the access device type identification circuit provided by the embodiment of the present invention;

图4为本发明实施例提供的接口配置方法的流程示意图;FIG. 4 is a schematic flowchart of an interface configuration method provided by an embodiment of the present invention;

图5为本发明实施例提供的确定第一插入面工作状态的流程示意图;Fig. 5 is a schematic flowchart of determining the working state of the first insertion surface provided by the embodiment of the present invention;

图6为本发明实施例提供的另一种接口配置方法的流程示意图;FIG. 6 is a schematic flowchart of another interface configuration method provided by an embodiment of the present invention;

图7为本发明实施例提供的接通第二信号的流程示意图;FIG. 7 is a schematic flow diagram of turning on the second signal provided by an embodiment of the present invention;

图8为本发明实施例提供的确定第二插入面工作状态的流程示意图;Fig. 8 is a schematic flowchart of determining the working state of the second insertion surface provided by the embodiment of the present invention;

图9为本发明实施例提供的确定第二插入面工作状态为MHL的流程示意图;Fig. 9 is a schematic flowchart of determining the working state of the second insertion surface as MHL provided by the embodiment of the present invention;

图10为本发明实施例提供的确定第二插入面工作状态为USB的流程示意图;FIG. 10 is a schematic flow chart of determining that the working state of the second insertion surface is USB provided by an embodiment of the present invention;

图11为本发明实施例提供的另一种接口配置方法的流程示意图;FIG. 11 is a schematic flowchart of another interface configuration method provided by an embodiment of the present invention;

图12为本发明实施例提供的确定第一插入面工作状态的流程示意图;Fig. 12 is a schematic flowchart of determining the working state of the first insertion surface provided by the embodiment of the present invention;

图13为本发明实施例提供的接通第二信号的流程示意图;Fig. 13 is a schematic flow chart of turning on the second signal provided by the embodiment of the present invention;

图14为本发明实施例提供的确定第二插入面工作状态的流程示意图;Fig. 14 is a schematic flowchart of determining the working status of the second insertion surface provided by the embodiment of the present invention;

图15为本发明实施例提供的接口配置装置结构示意图。FIG. 15 is a schematic structural diagram of an interface configuration device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

参见图1,其示出了本发明实施例提供的一种接口装置,该接口装置可以包括:插座和插头两部分。其中,插座部分位于终端设备上,替换现有的终端设备数据接口,如MicroUSB 2.0接口;插头部分位于数据线的一端,其各金属引脚点与插座部分的金属引脚触点相匹配。参见图2,其示出了连接插头的数据线另外一端。数据线另外一端通过分叉线一侧连接USB设备,另一侧连接MHL设备,设备接入位置并不固定,两侧可任意互换。Referring to FIG. 1 , it shows an interface device provided by an embodiment of the present invention. The interface device may include two parts: a socket and a plug. Wherein, the socket part is located on the terminal equipment, replacing the existing data interface of the terminal equipment, such as the MicroUSB 2.0 interface; the plug part is located at one end of the data line, and its metal pin points match the metal pin contacts of the socket part. Referring to Figure 2, it shows the other end of the data cable connected to the plug. The other end of the data cable is connected to the USB device on one side and the MHL device on the other side through the bifurcated line. The access position of the device is not fixed, and the two sides can be interchanged arbitrarily.

终端设备现有的数据接口不能同时支持通用串行总线(USB,Universal SerialBus)和移动终端高清影音标准接口(MHL,Mobile High-Definition Link)功能。MHL是一种连接便携式消费电子装置的影音标准接口,使用一条信号电缆,通过标准高清晰度多媒体接口(HDMI,High Definition Multimedia Interface)输入就可以将影音信号呈现在高清电视等设备上。The existing data interface of the terminal device cannot simultaneously support the functions of the Universal Serial Bus (USB, Universal Serial Bus) and the mobile terminal high-definition audio-visual standard interface (MHL, Mobile High-Definition Link). MHL is an audio-visual standard interface for connecting portable consumer electronic devices. Using a signal cable, audio-visual signals can be presented on high-definition TV and other equipment through a standard high-definition multimedia interface (HDMI, High Definition Multimedia Interface) input.

参见图1的插座部分,不同于现有的Micro USB 2.0接口5pin(5个金属引脚触点)的接口方案,本发明实施例采用10pin(10个金属引脚触点)的接口方案,两边各5pin。Referring to the socket part of Fig. 1, it is different from the interface scheme of the existing Micro USB 2.0 interface 5pin (5 metal pin contacts), the embodiment of the present invention adopts the interface scheme of 10pin (10 metal pin contacts), both sides Each 5pin.

以图1中的插座部分为例,插座分为两侧,有两个插入面,每一侧各引脚都以1、2、3、4、5按顺序编号。插座上方接口触点编号顺序为5、4、3、2、1,由于插座上方接口的5根信号线是下方接口5根信号线的旋转镜像,因此下方接口的5个触点从左到右排列顺序为1、2、3、4、5。Take the socket part in Figure 1 as an example. The socket is divided into two sides and has two insertion surfaces. The pins on each side are numbered sequentially with 1, 2, 3, 4, and 5. The numbering order of the interface contacts above the socket is 5, 4, 3, 2, 1. Since the 5 signal lines of the interface above the socket are the rotating mirror images of the 5 signal lines of the interface below, the 5 contacts of the interface below are from left to right The order of arrangement is 1, 2, 3, 4, 5.

5个引脚的功能分别为对终端设备供电、负差分信号、正差分信号、指示接入设备的类型和信号地线。The functions of the 5 pins are power supply to terminal equipment, negative differential signal, positive differential signal, indicating the type of access equipment and signal ground.

每一个触点对应的功能描述如表1所示:The function description corresponding to each contact is shown in Table 1:

表1Table 1

引脚编号pin number USB功能USB function MHL功能MHL function 11 VCCVCC VBUSVBUS 22 D-D- MHL-MHL- 33 D+D+ MHL+MHL+ 44 IDID CBUSCBUS 55 GNDGND GNDGND

以表1为例,引脚编号为1的引脚,其功能为对终端设备供电。用作USB功能时,该引脚为VCC,表示电源正5伏;用作MHL功能时,该引脚为VBUS,同样表示电源正5伏。Taking Table 1 as an example, the pin whose pin number is 1 has a function of supplying power to terminal equipment. When used as a USB function, this pin is VCC, indicating that the power supply is positive 5 volts; when used as an MHL function, this pin is VBUS, which also indicates that the power supply is positive 5 volts.

引脚编号为2的引脚,其功能为负差分信号。用作USB功能时,该引脚为D-,表示差分数据线负;用作MHL功能时,该引脚为MHL-,表示差分影音信号负,与HDMI信号线RX0-对应。The pin numbered 2 functions as a negative differential signal. When used as a USB function, this pin is D-, indicating the negative of the differential data line; when used as an MHL function, this pin is MHL-, indicating the negative of the differential video signal, corresponding to the HDMI signal line RX0-.

引脚编号为3的引脚,其功能为正差分信号。用作USB功能时,该引脚为D+,表示差分数据线正;用作MHL功能时,该引脚为MHL+,表示差分影音信号正,与HDMI信号线RX0+对应。The pin numbered 3 functions as a positive differential signal. When used as a USB function, this pin is D+, which means the differential data line is positive; when used as an MHL function, this pin is MHL+, which means that the differential audio and video signal is positive, corresponding to the HDMI signal line RX0+.

引脚编号为4的引脚,其为接入设备类型指示引脚。该引脚有两种状态,一种为ID,表示空口,另一种为CBUS,表示命令传输信号。相对应的,USB芯片有与之匹配的ID,MHL芯片有与之匹配的CBUS。当USB芯片的ID与该引脚接通时,用作USB功能,当MHL芯片的CBUS与该引脚接通时,用作MHL功能。The pin numbered 4 is the pin indicating the type of the access device. This pin has two states, one is ID, which means the air interface, and the other is CBUS, which means the command transmission signal. Correspondingly, the USB chip has a matching ID, and the MHL chip has a matching CBUS. When the ID of the USB chip is connected to this pin, it is used as a USB function; when the CBUS of the MHL chip is connected to this pin, it is used as an MHL function.

引脚编号为5的引脚,其功能为信号地线。用作USB功能和MHL功能时都为GND,表示信号地线。The pin numbered 5 functions as a signal ground. When it is used as USB function and MHL function, it is GND, indicating the signal ground.

图1中的插头部分采用与插座对应的硬件形状,两侧各分布5个金属触点。插头的金属触点信号线作用与插座一一对应,一侧为1、2、3、4、5,另一侧为5、4、3、2、1。终端设备通过第4信号线ID/CBUS来智能区分接入的设备类型。The plug part in Figure 1 adopts the hardware shape corresponding to the socket, and 5 metal contacts are distributed on both sides. The metal contact signal line of the plug corresponds to the socket one by one, one side is 1, 2, 3, 4, 5, and the other side is 5, 4, 3, 2, 1. The terminal device intelligently distinguishes the types of connected devices through the fourth signal line ID/CBUS.

参见图3,其示出了终端设备对接入设备种类识别的选择方案,由电源控制器、高速切换器、片选控制器、MHL芯片控制器和USB芯片共同控制对接入设备种类的识别,插座一侧为A面,另一侧为B面,A、B两面是旋转镜像。Referring to Fig. 3, it shows the selection scheme for terminal equipment to identify the type of access equipment, and the identification of the type of access equipment is jointly controlled by the power controller, high-speed switch, chip selection controller, MHL chip controller and USB chip , One side of the socket is the A side, the other side is the B side, and the A and B sides are rotating mirror images.

电源控制器分别连接插座的A面和B面的1号引脚,用于对终端设备进行供电。The power controller is respectively connected to pin 1 of the A side and the B side of the socket, and is used for supplying power to the terminal equipment.

高速切换器的一侧分别连接插座的A面和B面,另一侧分别连接USB芯片和MHL芯片控制器,用于传输差分信号。其中,与插座的A面和B面相连时,分别连接插座的A面和B面的2号引脚和3号引脚;与USB芯片相连时,连接USB芯片的差分数据线负与差分数据线正,分别与插座的A面和B面的2号引脚和3号引脚的USB功能相对应;与MHL芯片控制器相连时,连接MHL芯片控制器的差分影音信号负、差分影音信号正与切换控制线,同样与插座的A面和B面的2号引脚和3号引脚的MHL功能相对应。One side of the high-speed switch is connected to the A side and the B side of the socket, and the other side is connected to the USB chip and the MHL chip controller for differential signal transmission. Among them, when connecting with the A side and B side of the socket, connect the No. 2 pin and No. 3 pin of the A side and the B side of the socket respectively; when connecting with the USB chip, connect the differential data line negative and differential data of the USB chip The positive line corresponds to the USB function of pins 2 and 3 on the A side and B side of the socket respectively; when connected to the MHL chip controller, it is connected to the negative and differential audio and video signals of the MHL chip controller It is corresponding to the MHL function of the switching control line and the pins 2 and 3 on the A side and the B side of the socket.

片选控制器的一侧分别连接插座的A面和B面,另一侧分别连接USB芯片与MHL芯片控制器,用于识别接入设备类型。其中,与插座的A面和B面相连时,分别连接插座的A面和B面的4号引脚;与USB芯片相连时,连接USB芯片的空口,分别与插座的A面和B面的4号引脚的USB功能相对应;与MHL芯片控制器相连时,连接MHL芯片控制器的命令传输信号与切换控制线,连接MHL芯片控制器的命令传输信号时,分别与插座的A面和B面的4号引脚的MHL功能相对应。此外,片选控制器还包括USB切换器,用于选择USB设备或MHL设备。One side of the chip selection controller is respectively connected to the A side and the B side of the socket, and the other side is connected to the USB chip and the MHL chip controller respectively, which are used to identify the type of the access device. Among them, when connecting with the A side and the B side of the socket, respectively connect the No. 4 pins of the A side and the B side of the socket; The USB function of the 4th pin corresponds to; when connected to the MHL chip controller, connect the command transmission signal of the MHL chip controller and the switching control line; The MHL function corresponds to pin 4 on the B side. In addition, the chip select controller also includes a USB switcher for selecting USB devices or MHL devices.

图1中接口装置的插座部分两侧与插头部分的两侧任意接入,相同编号的引脚功能相同。其中,4号引脚,即接入设备类型指示引脚通过片选控制器与USB芯片与MHL芯片控制器相连,用于识别接入设备的类型。由于数据线的分叉线有两个接口,可以接入两个不同类型的设备,因此,本发明实施例按照接入设备的接入次序,分为三种情况进行说明。第一种情况为,数据线的分叉线任一接口插入一个接入设备,另外一个接口不插入任何接入设备;第二种情况为,数据线的分叉线其中一个接口先识别插入的第一接入设备后,另一个接口再插入第二接入设备;第三种情况为,数据线的分叉线两个接口同时插入第一接入设备和第二接入设备。In Fig. 1, both sides of the socket part and both sides of the plug part of the interface device are randomly connected, and pins with the same number have the same function. Among them, the No. 4 pin, that is, the access device type indication pin is connected with the USB chip and the MHL chip controller through the chip select controller, and is used to identify the type of the access device. Since the bifurcated line of the data line has two interfaces and can be connected to two different types of devices, the embodiment of the present invention is divided into three cases for description according to the sequence of accessing devices. In the first case, any interface of the forked line of the data line is inserted into an access device, and the other interface is not inserted into any access device; in the second case, one of the interfaces of the forked line of the data line first identifies the inserted After the first access device, another interface is inserted into the second access device; in the third case, the two interfaces of the branch line of the data line are inserted into the first access device and the second access device at the same time.

需要说明的是,由于终端设备内部只有一个USB芯片和一个MHL芯片控制器,由图3示出的各芯片之间与插座各引脚的连接关系可以得出,插座的两侧不能同时识别相同类型的设备。例如,当插座的A面已经识别接入设备类型为USB设备之后,插座的B面不能再识别为USB设备的接入设备类型。It should be noted that since there is only one USB chip and one MHL chip controller inside the terminal device, it can be concluded from the connection relationship between each chip and each pin of the socket shown in Figure 3 that both sides of the socket cannot identify the same type of equipment. For example, after the A side of the socket has identified the type of the connected device as a USB device, the B side of the socket can no longer be identified as the connected device type of the USB device.

本发明实施例提供的接口装置同时支持USB和MHL功能,可以在MHL输出到大屏幕显示设备的同时,接上USB鼠标键盘移动硬盘等,将终端设备当电脑主机使用。为用智能手机、平板电脑等终端设备的办公、娱乐等应用打开了更广阔的空间。另一方面,该接口装置可以智能识别接口插入设备,插头不分正反面,用户可以随手就插,使用上带来极大的方便。The interface device provided by the embodiment of the present invention supports USB and MHL functions at the same time, and can be connected with a USB mouse, keyboard, mobile hard disk, etc. while MHL is output to a large-screen display device, and the terminal device can be used as a computer host. It opens up a wider space for applications such as office and entertainment using terminal devices such as smart phones and tablet computers. On the other hand, the interface device can intelligently identify the interface inserted into the device, and the plug does not distinguish between the front and the back, and the user can insert it at will, which brings great convenience in use.

实施例一Embodiment one

结合图1和图2,本发明实施例提供一种接口配置的方法,用于当接口装置的插头插入插座的同时,数据线的分叉线任一接口插入一个接入设备。在识别插入的设备是USB或是MHL时,为方便起见,参见图3,本发明实施例将A面作为第一插入面,将B面作为第二插入面为例进行说明。如图4所示,所述方法可以包括:1 and 2 , the embodiment of the present invention provides an interface configuration method, which is used to insert any interface of the bifurcated line of the data line into an access device when the plug of the interface device is inserted into the socket. When identifying whether the inserted device is USB or MHL, for convenience, referring to FIG. 3 , the embodiment of the present invention uses side A as the first insertion side and side B as the second insertion side as an example for illustration. As shown in Figure 4, the method may include:

S101、当接入设备接入时,任一插入面的供电引脚向终端设备的电源控制器发送接入信号。S101. When an access device is connected, a power supply pin on any insertion surface sends an access signal to a power controller of the terminal device.

需要说明的是,当第一接入设备插入数据线的分叉线第一接口时,插座相对应的A面1号引脚向终端设备的电源控制器发送接入信号。It should be noted that when the first access device is plugged into the first interface of the diverged line of the data line, the corresponding No. 1 pin on the side A of the socket sends an access signal to the power controller of the terminal device.

接收到A面的1号引脚向电源控制器发送的接入信号后,终端设备的电源控制器检测到第一接入设备接入,向CPU发送中断请求。After receiving the access signal sent to the power controller by the No. 1 pin on the A surface, the power controller of the terminal device detects that the first access device is connected, and sends an interrupt request to the CPU.

S102、根据所述任一插入面的接入设备类型指示引脚接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态。S102. Identify the device type of the access device according to the status of the signal forwarded by the chip select controller connected to the socket received by the access device type indication pin on the any insertion surface, and determine the The working state of the inserted face.

具体地,所述任一插入面的接入设备类型指示引脚与片选控制器转发的信号接通。Specifically, the access device type indication pin on any of the insertion planes is connected to the signal forwarded by the chip select controller.

终端设备的CPU向MHL芯片控制器发送连接命令,通过片选控制器接通MHL芯片控制器的命令传输信号和A面的4号引脚。The CPU of the terminal device sends a connection command to the MHL chip controller, and connects the command transmission signal of the MHL chip controller and the No. 4 pin of the A surface through the chip select controller.

由于终端设备通过4号引脚,即USB的ID或MHL的CBUS信号线来识别接入设备,因此,通过片选控制器接通MHL芯片控制器的命令传输信号和A面的4号引脚来判断接入设备的类型。Since the terminal device identifies the access device through the No. 4 pin, that is, the ID of the USB or the CBUS signal line of the MHL, the command transmission signal of the MHL chip controller and the No. 4 pin of the A side are connected through the chip select controller. To determine the type of access device.

A面的4号引脚根据MHL芯片控制器的命令传输信号状态是悬空或是电压被拉低,判断A面的工作状态是USB工作状态或是MHL工作状态。The No. 4 pin on the A side is suspended or the voltage is pulled down according to the command transmission signal state of the MHL chip controller, and the working state of the A side is judged to be the USB working state or the MHL working state.

具体地,当仅有第一接入设备插入任一插入面,并且所述任一插入面为第一插入面时,参见图5,步骤S102包括步骤S1021至S1024:Specifically, when only the first access device is inserted into any insertion surface, and the any insertion surface is the first insertion surface, referring to FIG. 5, step S102 includes steps S1021 to S1024:

S1021、当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态。S1021. When the access device type indication pin on the first insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, the state of the MHL chip controller is suspended, and the first access device is identified as a USB device, so The first insertion surface enters the first USB working state.

默认状态下,4号引脚CBUS/USB_ID有上拉电阻,USB_ID脚保持高电平,USB切换器和高速切换器均打到USB一侧,此时MHL断开。By default, pin 4 CBUS/USB_ID has a pull-up resistor, and the USB_ID pin is kept at a high level. Both the USB switch and the high-speed switch are connected to the USB side, and the MHL is disconnected at this time.

当A面连接电脑等设备的USB口时,确定A面的4号引脚连接状态和电平高低。When the A side is connected to the USB port of a computer and other equipment, determine the connection status and level of the No. 4 pin on the A side.

由于电脑等设备USB口的引脚触点是4个,即4pin,当A面的第一接入设备连接USB口时,A面的5根信号线连接USB口的4根信号线,此时,A面的第4脚CBUS/USB_ID悬空。那么A面的4号引脚仍保持高电平,则A面进入第一USB工作状态。Since the pin contacts of the USB port of the computer and other equipment are 4, that is, 4pin, when the first access device on the A side is connected to the USB port, the 5 signal lines on the A side are connected to the 4 signal lines of the USB port. , the 4th pin CBUS/USB_ID of side A is left floating. Then the No. 4 pin of the A side remains at a high level, and the A side enters the first USB working state.

这里需要说明的是,第一USB工作状态表示连接A面的终端设备作为USB设备(USB-DEVICE)使用。It should be noted here that the first USB working state indicates that the terminal device connected to side A is used as a USB device (USB-DEVICE).

S1022、当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态。S1022. When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller, the state voltage is pulled low, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first access device is an MHL device, the first insertion surface enters the MHL working state.

当A面连接MHL设备时,MHL芯片控制器的命令传输信号电压会被拉低。若命令传输信号的下拉电阻是1KΩ,开启握手过程,通过握手过程确认第一接入设备是否是MHL设备。When the A side is connected to the MHL device, the command transmission signal voltage of the MHL chip controller will be pulled down. If the pull-down resistance of the command transmission signal is 1KΩ, start the handshake process, and confirm whether the first access device is an MHL device through the handshake process.

若第一接入设备是MHL设备,则片选控制器继续连接MHL芯片控制器的命令传输信号与A面的4号引脚,USB切换器将连接状态更改为MHL状态,A面进入MHL工作状态。接收到的所述片选控制器转发的。If the first access device is an MHL device, the chip select controller continues to connect the command transmission signal of the MHL chip controller with the No. 4 pin on the A side, and the USB switcher changes the connection status to the MHL state, and the A side enters the MHL work state. received by the chip select controller and forwarded.

S1023、当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败。S1023. When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller, the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first access device is not an MHL device, the device identification fails.

若通过握手过程确定第一接入设备不是MHL设备,则USB切换器保持初始状态不变,此时接入设备的插入面停留在默认的USB侧,设备无法识别。If it is determined through the handshake process that the first access device is not an MHL device, the USB switch remains in its initial state, and the insertion side of the access device stays at the default USB side, and the device cannot be recognized.

S1024、当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。S1024. When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller, the state voltage is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first access device is recognized as a USB device, and the first insertion surface enters the second USB working state.

当A面连接OTG设备时,MHL芯片控制器的命令传输信号电压会被拉低。若命令传输信号的下拉电阻不是1KΩ,片选控制器断开MHL芯片控制器的命令传输信号与A面4号引脚的连接,接通USB芯片空口信号与A面的4号引脚,USB切换器保持连接状态不变,仍然是USB状态,则A面进入第二USB工作状态。When the A side is connected to an OTG device, the command transmission signal voltage of the MHL chip controller will be pulled down. If the pull-down resistance of the command transmission signal is not 1KΩ, the chip select controller disconnects the connection between the command transmission signal of the MHL chip controller and the No. The switch keeps the connection state unchanged, and is still in the USB state, then the A side enters the second USB working state.

这里需要说明的是,第二USB工作状态表示连接A面的终端设备作为USB主设备(USB-HOST)使用。It should be noted here that the second USB working state indicates that the terminal device connected to side A is used as a USB host device (USB-HOST).

还需要说明的是插座的A面或B面的2号引脚和3号引脚通过高速切换器与MHL芯片控制器或USB芯片相连。例如,当A面的2号引脚和3号引脚通过高速切换器与MHL芯片控制器的差分影音信号负和差分影音信号正相连时,传输的信号为差分影音信号。当B面的2号引脚和3号引脚通过高速切换器与USB芯片的差分数据线负和差分数据线正相连时,传输的信号为差分数据信号。其中,差分信号为传输在两根数据线上的信号,这两个信号振幅相等,相位相反。It should also be noted that pins 2 and 3 on the A side or B side of the socket are connected to the MHL chip controller or the USB chip through a high-speed switch. For example, when pins 2 and 3 on side A are connected to the negative and positive differential audio and video signals of the MHL chip controller through a high-speed switcher, the transmitted signal is a differential audio and video signal. When pin 2 and pin 3 on the B side are connected to the negative differential data line and the positive differential data line of the USB chip through the high-speed switcher, the transmitted signal is a differential data signal. Wherein, the differential signal is a signal transmitted on two data lines, and the two signals have equal amplitudes and opposite phases.

本发明实施例提供了一种接口配置的方法,对数据接口插座和插头的金属引脚触点进行修改,并且将连接插头的数据线另一侧设计成一个可同时接入USB设备和MHL设备的分叉线。实现了同时支持USB和MHL功能,并且接口不分正反面,方便用户使用。The embodiment of the present invention provides a method for interface configuration, modifying the metal pin contacts of the data interface socket and the plug, and designing the other side of the data line connecting the plug into a device that can simultaneously connect to a USB device and an MHL device. fork line. It realizes the simultaneous support of USB and MHL functions, and the interface does not distinguish between front and back, which is convenient for users to use.

实施例二Embodiment two

结合图1和图2,本发明实施例提供一种接口配置的方法,用于当接口装置的插头插入插座的同时,数据线的分叉线其中一个接口先识别插入的第一接入设备后,另一个接口再插入第二接入设备。在识别插入的设备是USB或是MHL时,为方便起见,参见图3,本发明实施例将A面作为第一插入面,将B面作为第二插入面为例进行说明。如图6所示,所述方法可以包括:1 and 2, the embodiment of the present invention provides a method for interface configuration, which is used for when the plug of the interface device is inserted into the socket, one of the interfaces of the bifurcated line of the data line first identifies the inserted first access device and then , and plug another interface into the second access device. When identifying whether the inserted device is USB or MHL, for convenience, referring to FIG. 3 , the embodiment of the present invention uses side A as the first insertion side and side B as the second insertion side as an example for illustration. As shown in Figure 6, the method may include:

S201、当第二接入设备接入时,第二插入面的供电引脚向终端设备的电源控制器发送接入信号。S201. When the second access device is connected, the power supply pin on the second insertion surface sends an access signal to the power controller of the terminal device.

需要说明的是,当第二接入设备插入数据线的分叉线第二接口时,插座相对应的B面1号引脚向终端设备的电源控制器发送接入信号。It should be noted that when the second access device is plugged into the second interface of the diverged line of the data cable, the corresponding No. 1 pin on the B side of the socket sends an access signal to the power controller of the terminal device.

接收到B面的1号引脚向电源控制器发送的接入信号后,终端设备的电源控制器检测到第二接入设备接入,向CPU发送中断请求。After receiving the access signal sent from the No. 1 pin on the B side to the power controller, the power controller of the terminal device detects that the second access device is connected, and sends an interrupt request to the CPU.

当插座的两侧先后插入第一接入设备和第二接入设备,并且两种接入设备同时使用时,CPU要先判断第一接入设备的类型。When the first access device and the second access device are inserted into both sides of the socket successively, and the two access devices are used at the same time, the CPU first determines the type of the first access device.

S202、根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通。S202. According to the device type of the first access device, the access device type indication pin on the second insertion plane is connected to the second signal forwarded by the chip select controller.

具体地,参见图7,步骤S202包括步骤S2021和S2022:Specifically, referring to FIG. 7, step S202 includes steps S2021 and S2022:

S2021、若所述第一接入设备已经识别为USB设备,则所述第二插入面的接入设备类型指示引脚通过片选控制器与MHL芯片控制器的命令传输信号接通。S2021. If the first access device has been identified as a USB device, connect the access device type indication pin on the second insertion surface with a command transmission signal between the chip select controller and the MHL chip controller.

终端设备的CPU向MHL芯片控制器发送连接命令,通过片选控制器接通MHL芯片控制器的命令传输信号和B面的4号引脚。The CPU of the terminal device sends a connection command to the MHL chip controller, and connects the command transmission signal of the MHL chip controller and the No. 4 pin on the B side through the chip select controller.

由于已经确定第一接入设备为USB设备,此时,第一插入面的连接状态为第一插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口相连,因此第二接入设备只能为MHL设备。这里将B面的4号引脚通过片选控制器与MHL芯片控制器的命令传输信号接通,用于判断第二接入设备的类型是否是MHL设备。Since it has been determined that the first access device is a USB device, at this moment, the connection state of the first insertion surface is that the access device type indication pin of the first insertion surface is connected to the air port of the USB chip through the chip select controller, so the second Access devices can only be MHL devices. Here, the No. 4 pin on the B side is connected to the command transmission signal of the chip select controller and the MHL chip controller to determine whether the type of the second access device is an MHL device.

S2022、若所述第一接入设备已经识别为MHL设备,则所述第二插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口信号接通。S2022. If the first access device has been identified as an MHL device, connect the access device type indication pin on the second insertion surface with the air interface signal of the USB chip through the chip select controller.

由于第一接入设备识别为MHL设备,此时,第一插入面的连接状态为第一插入面的接入设备类型指示引脚通过片选控制器与MHL芯片控制器的命令传输信号相连,因此第二接入设备只能为USB设备。这里将B面的4号引脚通过片选控制器与USB芯片的空口接通,对B面的设备类型是否为USB设备进行识别。Since the first access device is identified as an MHL device, at this time, the connection status of the first insertion surface is that the access device type indication pin of the first insertion surface is connected to the command transmission signal of the MHL chip controller through the chip select controller, Therefore, the second access device can only be a USB device. Here, the No. 4 pin on the B side is connected to the air interface of the USB chip through the chip select controller, and it is identified whether the device type on the B side is a USB device.

S203、根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。S203. Identify the device type of the second access device according to the state of the second signal forwarded by the chip select controller received by the access device type indication pin on the second insertion plane, and determine the second The working state of the inserted face.

具体地,参见图8,步骤S203包括步骤S2031和S2032:Specifically, referring to FIG. 8, step S203 includes steps S2031 and S2032:

S2031、所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态。S2031. The access device type indication pin of the second insertion plane receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working status of the second insertion plane.

B面的4号引脚根据MHL芯片控制器的命令传输信号状态是悬空或是电压被拉低,判断B面的工作状态是MHL工作状态或是无法识别。The No. 4 pin on the B side is suspended in the air or the voltage is pulled down according to the command transmission signal status of the MHL chip controller, and the working status of the B side is judged to be the MHL working status or unrecognizable.

具体地,参见图9,步骤S2031包括步骤S20311至S20314:Specifically, referring to FIG. 9, step S2031 includes steps S20311 to S20314:

S20311、当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号悬空,所述第二插入面的接入设备类型指示引脚断开与MHL芯片控制器的命令传输信号的连接。S20311. When the access device type indication pin of the second insertion plane receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended, the access device type indication pin of the second insertion plane Disconnect the command transmission signal from the MHL chip controller.

MHL芯片控制器的命令传输信号为空,那么B面的4号引脚保持高电平。由于第一接入设备已经识别为USB设备,因此第二设备识别失败,断开B面的4号引脚与MHL芯片控制器的命令传输信号的连接。If the command transmission signal of the MHL chip controller is empty, then the No. 4 pin on the B side remains at a high level. Since the first access device has been identified as a USB device, the identification of the second device fails, and the connection between the No. 4 pin on the B side and the command transmission signal of the MHL chip controller is disconnected.

S20312、当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态。S20312. When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the second access device is an MHL device, the second insertion surface enters the MHL working state.

若命令传输信号的下拉电阻是1KΩ,开启握手过程,通过握手过程确认第二接入设备是否是MHL设备。If the pull-down resistance of the command transmission signal is 1KΩ, start the handshake process, and confirm whether the second access device is an MHL device through the handshake process.

若第二接入设备是MHL设备,则片选控制器继续连接MHL芯片控制器的命令传输信号与B面的4号引脚,USB切换器将连接状态更改为MHL状态,B面作为MHL设备使用。If the second access device is an MHL device, the chip select controller continues to connect the command transmission signal of the MHL chip controller with the No. 4 pin on the B side, and the USB switcher changes the connection state to the MHL state, and the B side is used as the MHL device use.

S20313、当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败。S20313. When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the second access device is not an MHL device, the identification of the second access device fails.

若通过握手过程确定第二接入设备不是MHL设备,则USB切换器保持初始状态不变,此时接入设备的插入面停留在默认的USB侧,设备无法识别。If it is determined through the handshake process that the second access device is not an MHL device, the USB switch remains in its initial state, and the insertion side of the access device stays at the default USB side, and the device cannot be recognized.

S20314、当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。S20314. When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is not When it is 1KΩ, the identification of the second access device fails.

由于第一接入设备已经识别为USB设备,因此第二接入设备只能识别为MHL设备。在上述条件下,第二接入设备不能被识别为MHL设备,因此第二接入设备识别失败。Since the first access device has been identified as a USB device, the second access device can only be identified as an MHL device. Under the above conditions, the second access device cannot be identified as an MHL device, so the identification of the second access device fails.

S2032、所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备的设备类型进行识别,确定所述第二插入面的工作状态。S2032. The access device type indication pin on the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the device type of the second access device, and determines the second insertion surface working status.

当B面的4号引脚接收到USB芯片的空口信号后直接识别第二接入设备的类型是否是USB设备,若第二插入面对USB设备识别成功,则执行步骤S20321;若第二插入面对USB设备识别不成功,则执行步骤S20322。When the No. 4 pin on the B side receives the air interface signal of the USB chip, it directly identifies whether the type of the second access device is a USB device. If the USB device identification is unsuccessful, step S20322 is executed.

具体地,参见图10,步骤S2032包括步骤S20321和S20322:Specifically, referring to FIG. 10, step S2032 includes steps S20321 and S20322:

S20321、若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态。S20321. If the second insertion surface successfully recognizes the USB device, the second insertion surface enters a USB working state.

如果B面对USB设备识别成功,那么B面进入USB工作状态。此时A面接入设备为MHL设备,B面接入设备为USB设备。If the B side recognizes the USB device successfully, then the B side enters the USB working state. At this time, the device connected to side A is an MHL device, and the device connected to side B is a USB device.

S20322、若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。S20322. If the second insertion surface fails to identify the USB device, disconnect the connection with the USB chip on the access device type indication pin of the second insertion surface.

如果B面对USB设备识别不成功,那么只有A面的第一接入设备,即仅A面工作在MHL状态。If the identification of the USB device by the B side is unsuccessful, then only the first access device on the A side, that is, only the A side works in the MHL state.

需要说明的是插座的A面或B面的2号引脚和3号引脚通过高速切换器与MHL芯片控制器或USB芯片相连。例如,当A面的2号引脚和3号引脚通过高速切换器与MHL芯片控制器的差分影音信号负和差分影音信号正相连时,传输的信号为差分影音信号。当B面的2号引脚和3号引脚通过高速切换器与USB芯片的差分数据线负和差分数据线正相连时,传输的信号为差分数据信号。其中,差分信号为传输在两根数据线上的信号,这两个信号振幅相等,相位相反。It should be noted that pins 2 and 3 on the A side or B side of the socket are connected to the MHL chip controller or the USB chip through a high-speed switch. For example, when pins 2 and 3 on side A are connected to the negative and positive differential audio and video signals of the MHL chip controller through a high-speed switcher, the transmitted signal is a differential audio and video signal. When pin 2 and pin 3 on the B side are connected to the negative differential data line and the positive differential data line of the USB chip through the high-speed switcher, the transmitted signal is a differential data signal. Wherein, the differential signal is a signal transmitted on two data lines, and the two signals have equal amplitudes and opposite phases.

本发明实施例提供了一种接口配置的方法,对数据接口插座和插头的金属引脚触点进行修改,并且将连接插头的数据线另一侧设计成一个可同时接入USB设备和MHL设备的分叉线。实现了同时支持USB和MHL功能,并且接口不分正反面,方便用户使用。The embodiment of the present invention provides a method for interface configuration, modifying the metal pin contacts of the data interface socket and the plug, and designing the other side of the data line connecting the plug into a device that can simultaneously connect to a USB device and an MHL device. fork line. It realizes the simultaneous support of USB and MHL functions, and the interface does not distinguish between front and back, which is convenient for users to use.

实施例三Embodiment three

结合图1和图2,本发明实施例提供一种接口配置的方法,用于当接口装置的插头插入插座的同时,数据线的分叉线两个接口同时插入第一接入设备和第二接入设备。在识别插入的设备是USB或是MHL时,为方便起见,参见图3,本发明实施例将A面作为第一插入面,将B面作为第二插入面为例进行说明。如图11所示,所述方法可以包括:With reference to Figure 1 and Figure 2, the embodiment of the present invention provides a method for interface configuration, which is used to simultaneously insert the two interfaces of the bifurcated line of the data line into the first access device and the second when the plug of the interface device is inserted into the socket. Access the device. When identifying whether the inserted device is USB or MHL, for convenience, referring to FIG. 3 , the embodiment of the present invention uses side A as the first insertion side and side B as the second insertion side as an example for illustration. As shown in Figure 11, the method may include:

S301、当第一接入设备与第二接入设备同时接入时,所述第一插入面和第二插入面的供电引脚向终端设备的电源控制器发送接入信号。S301. When the first access device and the second access device are connected at the same time, the power supply pins of the first insertion surface and the second insertion surface send an access signal to a power controller of the terminal device.

需要说明的是,当第一接入设备与第二接入设备同时插入数据线的分叉线两个接口时,插座相对应的A面和B面的1号引脚向终端设备的电源控制器发送接入信号。It should be noted that when the first access device and the second access device are plugged into the two interfaces of the bifurcated line of the data line at the same time, the pins 1 of the corresponding A side and B side of the socket will control the power of the terminal device. The device sends an access signal.

接收到A面和B面的1号引脚向电源控制器发送的接入信号后,终端设备的电源控制器检测到第一接入设备和第二接入设备接入,向CPU发送中断请求。After receiving the access signal sent to the power controller by the No. 1 pin of the A side and the B side, the power controller of the terminal device detects that the first access device and the second access device are connected, and sends an interrupt request to the CPU .

第一接入设备与第二接入设备同时插入插座,CPU需要判断A面和B面的接入类型。The first access device and the second access device are plugged into the socket at the same time, and the CPU needs to determine the access types of the A side and the B side.

S302、所述第一插入面的接入设备类型指示引脚与片选控制器转发的第一信号接通。S302. The access device type indication pin on the first insertion plane is connected to the first signal forwarded by the chip select controller.

CPU对接入设备的设备类型进行判断时,通过片选控制器先对A面的设备类型进行识别。When the CPU judges the device type of the access device, it first recognizes the device type on the A side through the chip selection controller.

S303、所述第一插入面的接入设备类型指示引脚接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态。S303. The access device type indicating pin of the first insertion plane receives the first signal state forwarded by the chip select controller, identifies the device type of the first access device, and determines the working status of the first insertion plane .

具体地,参见图12,步骤S303包括步骤S3031至S3034:Specifically, referring to FIG. 12, step S303 includes steps S3031 to S3034:

S3031、所述第一插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第一插入面的第一接入设备类型。S3031. The access device type indication pin of the first insertion plane receives the state of the command transmission signal of the MHL chip controller through the chip select controller, and determines the first access device type of the first insertion plane.

判断A面的第一接入设备类型步骤与实施例一中的步骤S1021至S1024相同,这里不再赘述。The steps of judging the type of the first access device on side A are the same as steps S1021 to S1024 in Embodiment 1, and will not be repeated here.

S3032、当第一插入面的第一接入设备类型识别为USB设备时,断开所述第一插入面的接入设备类型指示引脚与所述MHL芯片控制器的命令传输信号的连接。S3032. When the first access device type on the first insertion surface is identified as a USB device, disconnect the connection device type indication pin on the first insertion surface from the command transmission signal of the MHL chip controller.

由于A面的接入设备类型已经识别为USB设备,因此需要断开A面的4号引脚与MHL芯片控制器的命令传输信号的连接,让A面准备与USB芯片连接。Since the type of access device on side A has been identified as a USB device, it is necessary to disconnect the connection between pin 4 of side A and the command transmission signal of the MHL chip controller, so that side A is ready to connect to the USB chip.

S3033、所述第一插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口接通,所述第一插入面进入USB工作状态。S3033. The access device type indication pin on the first insertion surface is connected to the air interface of the USB chip through the chip select controller, and the first insertion surface enters a USB working state.

当A面的4号引脚通过片选控制器与USB芯片的空口接通时,A面就接入USB设备,进入USB工作状态。此时,B面只能工作在MHL状态。When the No. 4 pin on the A side is connected to the air interface of the USB chip through the chip select controller, the A side is connected to the USB device and enters the USB working state. At this time, side B can only work in the MHL state.

S3034、当所述第一插入面的接入设备类型识别为MHL设备时,保持所述第一插入面的接入设备类型指示引脚与所述MHL芯片控制器的命令传输信号的连接,第一插入面进入MHL工作状态。S3034. When the type of the access device on the first insertion plane is identified as an MHL device, maintain the connection between the indication pin of the access device type on the first insertion plane and the command transmission signal of the MHL chip controller. An inserted surface enters the MHL working state.

若A面的接入设备类型已经识别为MHL设备,则A面进入MHL工作状态。此时,B面的第二接入设备只能为USB设备。If the type of access device on side A has been identified as an MHL device, side A enters the MHL working state. At this time, the second access device on the B side can only be a USB device.

S304、根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通。S304. According to the device type of the first access device, the access device type indication pin on the second insertion plane is connected to the second signal forwarded by the chip select controller.

具体地,参见图13,步骤S304包括步骤S3041至S3042:Specifically, referring to FIG. 13, step S304 includes steps S3041 to S3042:

S3041、当所述第一接入设备类型识别为USB设备时,所述第二插入面的接入设备类型指示引脚通过片选控制器与所述MHL芯片控制器的命令传输信号接通。S3041. When the first access device type is identified as a USB device, the access device type indication pin on the second insertion surface is connected to a command transmission signal of the MHL chip controller through the chip select controller.

在A面确认接入设备为USB设备之后,B面的4号引脚通过片选控制器与MHL芯片控制器的命令传输信号接通,用于识别B面的接入设备是否是MHL设备。After the A-side confirms that the access device is a USB device, the No. 4 pin of the B-side is connected through the command transmission signal of the chip select controller and the MHL chip controller, and is used to identify whether the access device of the B-side is an MHL device.

S3042、当所述第一插入面的接入设备类型识别为MHL设备时,所述第二插入面的接入设备类型指示引脚通过片选控制器与USB芯片的命令空口信号接通。S3042. When the type of the access device on the first insertion plane is identified as an MHL device, connect the indication pin of the access device type on the second insertion plane to a command air interface signal of the USB chip through the chip select controller.

对B面的设备类型进行判断。由于B面的第二接入设备只能为USB设备,因此B面的4号引脚通过片选控制器与USB芯片的命令空口接通,判断B面的第二接入设备是否是USB设备。Determine the device type on side B. Since the second access device on side B can only be a USB device, pin 4 on side B is connected to the command air port of the USB chip through the chip select controller to determine whether the second access device on side B is a USB device .

S305、根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。S305. Identify the device type of the second access device according to the state of the second signal forwarded by the chip select controller received by the access device type indication pin on the second insertion plane, and determine the second The working state of the inserted face.

具体地,参见图14,步骤S305包括步骤S3051至S3052:Specifically, referring to FIG. 14, step S305 includes steps S3051 to S3052:

S3051、所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态。S3051. The access device type indication pin of the second insertion plane receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working status of the second insertion plane.

B面的4号引脚根据MHL芯片控制器的命令传输信号状态是悬空或是电压被拉低,判断B面的工作状态是MHL工作状态或是无法识别。The No. 4 pin on the B side is suspended in the air or the voltage is pulled down according to the command transmission signal status of the MHL chip controller, and the working status of the B side is judged to be the MHL working status or unrecognizable.

这里步骤S3051具体的实现过程与步骤S20311至S20314相同,本发明实施例不再赘述。Here, the specific implementation process of step S3051 is the same as that of steps S20311 to S20314, and will not be repeated in this embodiment of the present invention.

S3052、所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态。S3052. The access device type indication pin of the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the type of the second insertion surface working status.

这里步骤S3052具体的实现过程与步骤S20321至S20322相同,本发明实施例不再赘述。Here, the specific implementation process of step S3052 is the same as that of steps S20321 to S20322, and will not be repeated in this embodiment of the present invention.

需要说明的是插座的A面或B面的2号引脚和3号引脚通过高速切换器与MHL芯片控制器或USB芯片相连。例如,当A面的2号引脚和3号引脚通过高速切换器与MHL芯片控制器的差分影音信号负和差分影音信号正相连时,传输的信号为差分影音信号。当B面的2号引脚和3号引脚通过高速切换器与USB芯片的差分数据线负和差分数据线正相连时,传输的信号为差分数据信号。其中,差分信号为传输在两根数据线上的信号,这两个信号振幅相等,相位相反。It should be noted that pins 2 and 3 on the A side or B side of the socket are connected to the MHL chip controller or the USB chip through a high-speed switch. For example, when pins 2 and 3 on side A are connected to the negative and positive differential audio and video signals of the MHL chip controller through a high-speed switcher, the transmitted signal is a differential audio and video signal. When pin 2 and pin 3 on the B side are connected to the negative differential data line and the positive differential data line of the USB chip through the high-speed switcher, the transmitted signal is a differential data signal. Wherein, the differential signal is a signal transmitted on two data lines, and the two signals have equal amplitudes and opposite phases.

本发明实施例提供了一种接口配置的方法,对数据接口插座和插头的金属引脚触点进行修改,并且将连接插头的数据线另一侧设计成一个可同时接入USB设备和MHL设备的分叉线。实现了同时支持USB和MHL功能,并且接口不分正反面,方便用户使用。The embodiment of the present invention provides a method for interface configuration, modifying the metal pin contacts of the data interface socket and the plug, and designing the other side of the data line connecting the plug into a device that can simultaneously connect to a USB device and an MHL device. fork line. It realizes the simultaneous support of USB and MHL functions, and the interface does not distinguish between front and back, which is convenient for users to use.

实施例四Embodiment four

参见图15,其示出了本发明实施例提供一种接口配置的装置15。如图1所示,所述接口配置装置的插座部分包括两个呈旋转镜像的插入面,两个插入面均包括供电引脚和接入设备类型指示引脚。图15中的发送模块1501对应图1中插座部分编号为1的供电引脚,图15中的处理模块1502对应图1中插座部分编号为4的接入设备类型指示引脚,所述接口配置的装置包括:发送模块1501和处理模块1502;其中,Referring to FIG. 15 , it shows an apparatus 15 for providing an interface configuration according to an embodiment of the present invention. As shown in FIG. 1 , the socket part of the interface configuration device includes two insertion surfaces that are rotated mirror images, and both insertion surfaces include power supply pins and access device type indication pins. The sending module 1501 in Figure 15 corresponds to the power supply pin numbered 1 in the socket part in Figure 1, and the processing module 1502 in Figure 15 corresponds to the access device type indication pin numbered 4 in the socket part in Figure 1, and the interface configuration The device includes: a sending module 1501 and a processing module 1502; wherein,

所述发送模块1501,用于当接入设备接入时,任一插入面向终端设备的电源控制器发送接入信号;The sending module 1501 is configured to send an access signal to any plug-in power controller facing the terminal device when the access device is connected;

所述处理模块1502,用于所述任一插入面与片选控制器转发的信号接通;The processing module 1502 is configured to connect any of the insertion planes with the signal forwarded by the chip select controller;

以及,根据所述任一插入面接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态。And, according to the state of the signal forwarded by the chip select controller connected to the socket received by any of the insertion planes, the device type of the access device is identified, and the working status of any of the insertion planes is determined.

上述方案中,所述处理模块1502,用于当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;In the above solution, the processing module 1502 is configured to identify the first access device as a USB device when the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller and the status is suspended. , the first insertion surface enters the first USB working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is an MHL device, the first insertion surface enters the MHL working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is not an MHL device, the device identification will fail;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first interface The input device is recognized as a USB device, and the first insertion surface enters a second USB working state.

上述方案中,所述发送模块1501,用于当第二接入设备接入时,第二插入面向终端设备的电源控制器发送接入信号;In the above solution, the sending module 1501 is configured to send an access signal to the power controller of the terminal device when the second plug-in device is connected;

所述处理模块1502,用于根据所述第一接入设备的设备类型,所述第二插入面与片选控制器转发的第二信号接通;The processing module 1502 is configured to connect the second insertion plane with the second signal forwarded by the chip selection controller according to the device type of the first access device;

以及,根据所述第二插入面接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。And, according to the state of the second signal forwarded by the chip select controller received by the second insertion plane, the device type of the second access device is identified, and the working status of the second insertion plane is determined.

上述方案中,所述处理模块1502,用于若所述第一接入设备已经识别为USB设备,则所述第二插入面通过片选控制器与MHL芯片控制器的命令传输信号接通;In the above solution, the processing module 1502 is configured to connect the second plug-in interface with a command transmission signal between the chip select controller and the MHL chip controller if the first access device has been identified as a USB device;

以及,若所述第一接入设备已经识别为MHL设备,则所述第二插入面通过片选控制器与USB芯片的空口信号接通。And, if the first access device has been identified as an MHL device, then the second insertion plane is connected to the air interface signal of the USB chip through the chip select controller.

上述方案中,所述处理模块1502,用于所述第二插入面通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;In the above scheme, the processing module 1502 is used for the second insertion plane to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the working status of the second insertion plane;

以及,所述第二插入面通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备的设备类型进行识别,确定所述第二插入面的工作状态。And, the second insertion plane receives the air interface signal of the USB chip through the chip select controller, identifies the device type of the second access device, and determines the working state of the second insertion plane.

上述方案中,所述处理模块1502,用于当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号悬空,所述第二插入面的接入设备类型指示引脚断开与MHL芯片控制器的命令传输信号的连接;In the above scheme, the processing module 1502 is configured to indicate that the type of the access device on the second insertion plane indicates The pin is disconnected from the command transmission signal of the MHL chip controller;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first The second access device is an MHL device, and the second insertion surface enters the MHL working state;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the second access device is not an MHL device, the identification of the second access device fails;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。And, when the voltage of the command transmission signal received by the MHL chip controller on the second insertion plane is pulled down through the chip select controller, and the pull-down resistance of the command transmission signal is not 1KΩ, the second Access device identification failed.

上述方案中,所述处理模块1502,用于若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;In the above solution, the processing module 1502 is configured to, if the second insertion surface successfully recognizes the USB device, then the second insertion surface enters the USB working state;

以及,若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。And, if the second insertion surface fails to identify the USB device, the connection device type indication pin on the second insertion surface is disconnected from the USB chip.

上述方案中,所述发送模块1501,用于当第一接入设备与第二接入设备同时接入时,所述第一插入面和第二插入面向终端设备的电源控制器发送接入信号;In the above solution, the sending module 1501 is configured to send an access signal to the power controller of the terminal device on the first insertion surface and the second insertion surface when the first access device and the second access device are connected at the same time ;

所述处理模块1502,用于所述第一插入面与片选控制器转发的第一信号接通;The processing module 1502 is configured to connect the first insertion plane with the first signal forwarded by the chip select controller;

以及,所述第一插入面接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态;And, the first insertion plane receives the first signal status forwarded by the chip select controller, identifies the device type of the first access device, and determines the working status of the first insertion plane;

以及,根据所述第一接入设备的设备类型,所述第二插入面与片选控制器转发的第二信号接通;And, according to the device type of the first access device, the second insertion plane is connected to the second signal forwarded by the chip selection controller;

以及,根据所述第二插入面接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。And, according to the state of the second signal forwarded by the chip select controller received by the second insertion plane, the device type of the second access device is identified, and the working status of the second insertion plane is determined.

上述方案中,所述处理模块1502,用于所述第一插入面通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第一插入面的第一接入设备类型;In the above solution, the processing module 1502 is used for the first insertion plane to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the first access device type of the first insertion plane ;

以及,当所述第一插入面的第一接入设备类型识别为USB设备时,断开所述第一插入面与所述MHL芯片控制器的命令传输信号的连接;And, when the first access device type of the first insertion surface is identified as a USB device, disconnect the first insertion surface from the command transmission signal of the MHL chip controller;

以及,所述第一插入面通过片选控制器与USB芯片的空口接通,所述第一插入面进入USB工作状态;And, the first insertion surface is connected to the air port of the USB chip through the chip select controller, and the first insertion surface enters the USB working state;

以及,当所述第一插入面的接入设备类型识别为MHL设备时,保持所述第一插入面与所述MHL芯片控制器的命令传输信号的连接,所述第一插入面进入MHL工作状态。And, when the access device type of the first insertion surface is identified as an MHL device, the connection between the first insertion surface and the command transmission signal of the MHL chip controller is maintained, and the first insertion surface enters the MHL work state.

上述方案中,所述处理模块1502,用于当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;In the above solution, the processing module 1502 is configured to identify the first access device as a USB device when the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller and the status is suspended. , the first insertion surface enters the first USB working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is an MHL device, the first insertion surface enters the MHL working state;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is not an MHL device, the device identification will fail;

以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first interface The input device is recognized as a USB device, and the first insertion surface enters a second USB working state.

上述方案中,所述处理模块1502,用于当所述第一接入设备类型识别为USB设备时,所述第二插入面通过片选控制器与所述MHL芯片控制器的命令传输信号接通;In the above solution, the processing module 1502 is configured to, when the first access device type is identified as a USB device, connect the second insertion plane with the command transmission signal of the MHL chip controller through the chip select controller. Pass;

以及,当所述第一插入面的接入设备类型识别为MHL设备时,所述第二插入面通过片选控制器与USB芯片的命令空口信号接通。And, when the type of the access device on the first insertion plane is identified as an MHL device, the second insertion plane is connected to the command air interface signal of the USB chip through the chip select controller.

上述方案中,所述处理模块1502,用于所述第二插入面通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;In the above scheme, the processing module 1502 is used for the second insertion plane to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the working status of the second insertion plane;

以及,用于所述第二插入面通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态。And, the second insertion plane receives the air interface signal of the USB chip through the chip select controller, identifies the type of the second access device, and determines the working state of the second insertion plane.

上述方案中,所述处理模块1502,用于当所述第二插入面通过片选控制器接收到MHL芯片控制器的命令传输信号悬空,所述第二插入面断开与MHL芯片控制器的命令传输信号的连接;In the above solution, the processing module 1502 is configured to disconnect the second insertion surface from the MHL chip controller when the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended. connection of command transmission signals;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first The second access device is an MHL device, and the second insertion surface enters the MHL working state;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the second access device is not an MHL device, the identification of the second access device fails;

以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。And, when the voltage of the command transmission signal received by the MHL chip controller on the second insertion plane is pulled down through the chip select controller, and the pull-down resistance of the command transmission signal is not 1KΩ, the second Access device identification failed.

上述方案中,所述处理模块1502,用于若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;In the above solution, the processing module 1502 is configured to, if the second insertion surface successfully recognizes the USB device, then the second insertion surface enters the USB working state;

以及,若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。And, if the second insertion surface fails to identify the USB device, the connection device type indication pin on the second insertion surface is disconnected from the USB chip.

具体的,本发明实施例提供的接口配置的装置说明可以参考实施例一至实施例三的接口配置的方法说明,本发明实施例在此不再赘述。Specifically, for the device description of the interface configuration provided in the embodiment of the present invention, reference may be made to the description of the interface configuration method in Embodiment 1 to Embodiment 3, and details will not be repeated here in the embodiment of the present invention.

在实际应用中,所述发送模块1501、处理模块1502均可由位于接口配置的装置15中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(FieldProgrammable Gate Array,FPGA)等实现。In practical applications, the sending module 1501 and the processing module 1502 can be configured by a central processing unit (Central Processing Unit, CPU), a microprocessor (Micro Processor Unit, MPU), a digital signal processor, etc. (Digital Signal Processor, DSP), or Field Programmable Gate Array (Field Programmable Gate Array, FPGA) and other implementations.

本发明实施例提供了一种接口配置的方法和装置,对数据接口插座和插头的金属引脚触点进行修改,并且将连接插头的数据线另一侧设计成一个可同时接入USB设备和MHL设备的分叉线。实现了同时支持USB和MHL功能,并且接口不分正反面,方便用户使用。The embodiment of the present invention provides a method and device for interface configuration, modifying the metal pin contacts of the data interface socket and the plug, and designing the other side of the data line connecting the plug into a USB device and Forked line for MHL devices. It realizes the simultaneous support of USB and MHL functions, and the interface does not distinguish between front and back, which is convenient for users to use.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (26)

1.一种接口配置的方法,其特征在于,所述方法应用于接口配置装置的插座部分,所述插座部分包括两个呈旋转镜像的插入面,两个插入面均包括供电引脚和接入设备类型指示引脚,所述方法包括:1. A method for interface configuration, characterized in that the method is applied to the socket part of the interface configuration device, and the socket part includes two insertion surfaces that are rotating mirror images, and both insertion surfaces include power supply pins and connectors. Entering the device type indication pin, the method includes: 当接入设备接入时,任一插入面的供电引脚向终端设备的电源控制器发送接入信号;When the access device is connected, the power supply pin of any insertion surface sends an access signal to the power controller of the terminal device; 根据所述任一插入面的接入设备类型指示引脚接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态,其中,所述工作状态为USB工作状态或MHL工作状态;According to the access device type indication pin on any of the insertion surfaces receiving the signal state forwarded by the chip select controller connected to the socket, identify the device type of the access device, and determine the any insertion surface The working state, wherein, the working state is USB working state or MHL working state; 当第二接入设备接入任一插入面的另外一面,并且所述任一插入面的另外一面为第二插入面时,在所述识别第一接入设备的设备类型之后,还包括:When the second access device is connected to the other side of any insertion surface, and the other side of the any insertion surface is the second insertion surface, after identifying the device type of the first access device, it further includes: 当第二接入设备接入时,第二插入面的供电引脚向终端设备的电源控制器发送接入信号;When the second access device is connected, the power supply pin of the second insertion surface sends an access signal to the power controller of the terminal device; 根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通;According to the device type of the first access device, the access device type indication pin on the second insertion plane is connected to the second signal forwarded by the chip select controller; 根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。Identify the device type of the second access device according to the state of the second signal forwarded by the chip select controller received by the access device type indicating pin of the second insertion plane, and determine the second insertion plane working status. 2.根据权利要求1所述的方法,其特征在于,当仅有第一接入设备接入任一插入面,并且所述任一插入面为第一插入面时,所述根据所述任一插入面的接入设备类型指示引脚接收到与所述插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态,包括:2. The method according to claim 1, wherein when only the first access device is connected to any insertion surface, and the any insertion surface is the first insertion surface, the An access device type indication pin on the insertion surface receives the signal status forwarded by the chip select controller connected to the socket, identifies the device type of the access device, and determines the working status of any of the insertion surfaces, include: 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;When the access device type indication pin on the first insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, the state of the first access device is identified as a USB device, and the first insertion device is identified as a USB device. enter the first USB working state; 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is an MHL device, the first insertion surface enters the MHL working state; 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is not an MHL device, device identification fails; 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the first access device is identified as a USB device, and the first insertion surface enters a second USB working state. 3.根据权利要求1所述的方法,其特征在于,所述根据所述第一接入设备的设备类型,第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通,包括:3. The method according to claim 1, characterized in that, according to the device type of the first access device, the access device type indication pin on the second insertion plane and the second device forwarded by the chip select controller Signals on, including: 若所述第一接入设备已经识别为USB设备,则所述第二插入面的接入设备类型指示引脚通过片选控制器与MHL芯片控制器的命令传输信号接通;If the first access device has been identified as a USB device, the access device type indication pin on the second insertion surface is connected to the command transmission signal of the chip select controller and the MHL chip controller; 若所述第一接入设备已经识别为MHL设备,则所述第二插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口信号接通。If the first access device has been identified as an MHL device, the access device type indication pin on the second insertion surface is connected to the air interface signal of the USB chip through the chip select controller. 4.根据权利要求1所述的方法,其特征在于,所述根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态,包括:4. The method according to claim 1, wherein the state of the second signal forwarded by the chip select controller received by the access device type indication pin on the second insertion plane identifies the The device type of the second access device is used to determine the working status of the second insertion surface, including: 所述第二插入面的接入设备类型指示引脚通过片选控制器接收MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;The access device type indication pin of the second insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working state of the second insertion surface; 所述第二插入面的接入设备类型指示引脚通过片选控制器接收USB芯片的空口信号,对所述第二接入设备的设备类型进行识别,确定所述第二插入面的工作状态。The access device type indication pin of the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the device type of the second access device, and determines the working state of the second insertion surface . 5.根据权利要求4所述的方法,其特征在于,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态,包括:5. The method according to claim 4, wherein the access device type indication pin of the second insertion surface receives the command transmission signal state of the MHL chip controller through a chip select controller, and determines the The working status of the second insertion surface, including: 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号悬空,所述第二插入面的接入设备类型指示引脚断开与MHL芯片控制器的命令传输信号的连接;When the access device type indication pin of the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended, the access device type indication pin of the second insertion surface is disconnected Connection with the command transmission signal of the MHL chip controller; 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is an MHL device, the second insertion surface enters the MHL working state; 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is not an MHL device, the identification of the second access device fails; 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the identification of the second access device fails. 6.根据权利要求4所述的方法,其特征在于,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态,包括:6. The method according to claim 4, wherein the access device type indication pin on the second insertion surface receives the air interface signal of the USB chip through a chip select controller, and the second access device Identify the type of equipment and determine the working status of the second insertion surface, including: 若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;If the second insertion surface identifies the USB device successfully, the second insertion surface enters the USB working state; 若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。If the second insertion surface fails to identify the USB device, the access device type indication pin on the second insertion surface is disconnected from the USB chip. 7.根据权利要求1所述的方法,其特征在于,当第一接入设备接入任一面,第二接入设备接入任一面的另外一面,并且所述任一面为第一插入面,所述任一面的另外一面为第二插入面时,所述方法还包括:7. The method according to claim 1, wherein when the first access device accesses any side, the second access device accesses the other side of any side, and the any side is the first insertion side, When the other side of any one side is the second insertion side, the method also includes: 当第一接入设备与第二接入设备同时接入时,所述第一插入面和第二插入面的供电引脚向终端设备的电源控制器发送接入信号;When the first access device and the second access device are connected at the same time, the power supply pins of the first insertion surface and the second insertion surface send an access signal to the power controller of the terminal device; 所述第一插入面的接入设备类型指示引脚与片选控制器转发的第一信号接通;The access device type indication pin on the first insertion surface is connected to the first signal forwarded by the chip select controller; 所述第一插入面的接入设备类型指示引脚接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态;The access device type indication pin of the first insertion plane receives the first signal state forwarded by the chip select controller, identifies the device type of the first access device, and determines the working status of the first insertion plane; 根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通;According to the device type of the first access device, the access device type indication pin on the second insertion plane is connected to the second signal forwarded by the chip select controller; 根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。Identify the device type of the second access device according to the state of the second signal forwarded by the chip select controller received by the access device type indicating pin of the second insertion plane, and determine the second insertion plane working status. 8.根据权利要求7所述的方法,其特征在于,所述第一插入面的接入设备类型指示引脚接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态,包括:8. The method according to claim 7, wherein the access device type indication pin on the first insertion plane receives the first signal state forwarded by the chip select controller, and identifies the status of the first access device. The equipment type determines the working state of the first insertion surface, including: 所述第一插入面的接入设备类型指示引脚通过片选控制器接收MHL芯片控制器的命令传输信号状态,确定所述第一插入面的第一接入设备类型;The access device type indication pin of the first insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the first access device type of the first insertion surface; 当所述第一插入面的第一接入设备类型识别为USB设备时,断开所述第一插入面的接入设备类型指示引脚与所述MHL芯片控制器的命令传输信号的连接;When the first access device type of the first insertion surface is identified as a USB device, disconnect the connection of the access device type indication pin of the first insertion surface with the command transmission signal of the MHL chip controller; 所述第一插入面的接入设备类型指示引脚通过片选控制器与USB芯片的空口接通,所述第一插入面进入USB工作状态;The access device type indication pin of the first insertion surface is connected to the air interface of the USB chip through the chip select controller, and the first insertion surface enters the USB working state; 当所述第一插入面的接入设备类型识别为MHL设备时,保持所述第一插入面的接入设备类型指示引脚与所述MHL芯片控制器的命令传输信号的连接,所述第一插入面进入MHL工作状态。When the type of the access device on the first insertion plane is identified as an MHL device, keep the connection between the indication pin of the access device type on the first insertion plane and the command transmission signal of the MHL chip controller, the second An inserted surface enters the MHL working state. 9.根据权利要求8所述的方法,其特征在于,所述第一插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定第一插入面的第一接入设备类型,包括:9. The method according to claim 8, wherein the access device type indication pin on the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller, and determines the first The first access device type on the insertion side, including: 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;When the access device type indication pin on the first insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, the state of the MHL chip controller is suspended, the first access device is identified as a USB device, and the second access device is identified as a USB device. 1. The insertion surface enters the first USB working state; 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is an MHL device, the first insertion surface enters the MHL working state; 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;When the access device type indication pin of the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the first access device is not an MHL device, device identification fails; 当所述第一插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。When the access device type indication pin on the first insertion surface receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the first access device is identified as a USB device, and the first insertion surface enters a second USB working state. 10.根据权利要求7所述的方法,其特征在于,所述根据所述第一接入设备的设备类型,所述第二插入面的接入设备类型指示引脚与片选控制器转发的第二信号接通,包括:10. The method according to claim 7, characterized in that, according to the device type of the first access device, the access device type indication pin on the second insertion plane is forwarded by the chip select controller The second signal is turned on, including: 当所述第一接入设备类型识别为USB设备时,所述第二插入面的接入设备类型指示引脚通过片选控制器与MHL芯片控制器的命令传输信号接通;When the first access device type is identified as a USB device, the access device type indication pin on the second insertion surface is connected to the command transmission signal of the chip select controller and the MHL chip controller; 当所述第一插入面的接入设备类型识别为MHL设备时,所述第二插入面的接入设备类型指示引脚通过片选控制器与USB芯片的命令空口信号接通。When the type of the access device on the first insertion plane is identified as an MHL device, the indication pin of the access device type on the second insertion plane is connected to the command air interface signal of the USB chip through the chip select controller. 11.根据权利要求7所述的方法,其特征在于,根据所述第二插入面的接入设备类型指示引脚接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态,包括:11. The method according to claim 7, characterized in that, according to the state of the second signal forwarded by the chip select controller received by the access device type indicating pin of the second insertion plane, the second signal is identified. 2. The device type of the access device, to determine the working state of the second insertion surface, including: 所述第二插入面的接入设备类型指示引脚通过片选控制器接收MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;The access device type indication pin of the second insertion surface receives the command transmission signal status of the MHL chip controller through the chip select controller, and determines the working state of the second insertion surface; 所述第二插入面的接入设备类型指示引脚通过片选控制器接收USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态。The access device type indication pin of the second insertion plane receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the working state of the second insertion plane. 12.根据权利要求11所述的方法,其特征在于,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态,包括:12. The method according to claim 11, wherein the access device type indication pin of the second insertion surface receives the command transmission signal state of the MHL chip controller through a chip select controller, and determines the The working status of the second insertion surface, including: 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到MHL芯片控制器的命令传输信号悬空,所述第二插入面的接入设备类型指示引脚断开与MHL芯片控制器的命令传输信号的连接;When the access device type indication pin of the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended, the access device type indication pin of the second insertion surface is disconnected from the MHL The connection of the command transmission signal of the chip controller; 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is an MHL device, the second insertion surface enters the MHL working state; 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;When the access device type indication pin on the second insertion surface receives the command transmission signal voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ , if it is confirmed that the second access device is not an MHL device, the identification of the second access device fails; 当所述第二插入面的接入设备类型指示引脚通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。When the access device type indication pin on the second insertion surface receives the command transmission signal of the MHL chip controller through the chip select controller, the voltage is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ , the identification of the second access device fails. 13.根据权利要求11所述的方法,其特征在于,所述第二插入面的接入设备类型指示引脚通过片选控制器接收所述USB芯片的空口信号,对第二接入设备类型进行识别,确定所述第二插入面的工作状态,包括:13. The method according to claim 11, wherein the access device type indication pin on the second insertion surface receives the air interface signal of the USB chip through a chip select controller, and the second access device type Identifying and determining the working state of the second insertion surface includes: 若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;If the second insertion surface identifies the USB device successfully, the second insertion surface enters the USB working state; 若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。If the second insertion surface fails to identify the USB device, the access device type indication pin on the second insertion surface is disconnected from the USB chip. 14.一种接口配置的装置,其特征在于,所述装置包括:发送模块和处理模块;其中,14. A device for interface configuration, characterized in that the device comprises: a sending module and a processing module; wherein, 所述发送模块,用于当接入设备接入时,任一插入面向终端设备的电源控制器发送接入信号;The sending module is configured to send an access signal to any plug-in power controller facing the terminal device when the access device is connected; 所述处理模块,用于所述任一插入面与片选控制器转发的信号接通;The processing module is used for connecting any one of the insertion planes with the signal forwarded by the chip selection controller; 以及,根据所述任一插入面接收到与插座连接的片选控制器所转发的信号状态,识别所述接入设备的设备类型,确定所述任一插入面的工作状态,其中,所述工作状态为USB工作状态或MHL工作状态;And, according to the signal status forwarded by the chip select controller connected to the socket received by any of the insertion planes, the device type of the access device is identified, and the working status of any of the insertion planes is determined, wherein the The working status is USB working status or MHL working status; 所述发送模块,还用于当第二接入设备接入时,第二插入面向终端设备的电源控制器发送接入信号;The sending module is further configured to send an access signal to the power controller of the second plug-in terminal device when the second access device is connected; 所述处理模块,还用于根据第一接入设备的设备类型,所述第二插入面与片选控制器转发的第二信号接通;The processing module is further configured to connect the second insertion plane with the second signal forwarded by the chip selection controller according to the device type of the first access device; 以及,根据所述第二插入面接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。And, according to the state of the second signal forwarded by the chip select controller received by the second insertion plane, the device type of the second access device is identified, and the working status of the second insertion plane is determined. 15.根据权利要求14所述的装置,其特征在于,15. The apparatus of claim 14, wherein: 所述处理模块,用于当第一插入面通过片选控制器接收到MHL芯片控制器的命令传输信号状态悬空,第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;The processing module is used to identify the first access device as a USB device when the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller, and the first insertion surface enters the first USB device. working status; 以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is an MHL device, the first insertion surface enters the MHL working state; 以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is not an MHL device, the device identification will fail; 以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first interface The input device is recognized as a USB device, and the first insertion surface enters a second USB working state. 16.根据权利要求14所述的装置,其特征在于,16. The apparatus of claim 14, wherein: 所述处理模块,用于若所述第一接入设备已经识别为USB设备,则所述第二插入面通过片选控制器与MHL芯片控制器的命令传输信号接通;The processing module is configured to, if the first access device has been identified as a USB device, then the second insertion surface is connected to the command transmission signal of the chip select controller and the MHL chip controller; 以及,若所述第一接入设备已经识别为MHL设备,则所述第二插入面通过片选控制器与USB芯片的空口信号接通。And, if the first access device has been identified as an MHL device, then the second insertion plane is connected to the air interface signal of the USB chip through the chip select controller. 17.根据权利要求14所述的装置,其特征在于,17. The apparatus of claim 14, wherein: 所述处理模块,用于所述第二插入面通过片选控制器接收MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;The processing module is used for the second insertion surface to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the working state of the second insertion surface; 以及,所述第二插入面通过片选控制器接收USB芯片的空口信号,对所述第二接入设备的设备类型进行识别,确定所述第二插入面的工作状态。And, the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the device type of the second access device, and determines the working state of the second insertion surface. 18.根据权利要求17所述的装置,其特征在于,18. The apparatus of claim 17, wherein: 所述处理模块,用于当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号悬空,所述第二插入面断开与MHL芯片控制器的命令传输信号的连接;The processing module is configured to disconnect the second insertion plane from the command transmission signal of the MHL chip controller when the second insertion plane receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended in the air. Connection; 以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first The second access device is an MHL device, and the second insertion surface enters the MHL working state; 以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the second access device is not an MHL device, the identification of the second access device fails; 以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。And, when the voltage of the command transmission signal received by the MHL chip controller on the second insertion plane is pulled down through the chip select controller, and the pull-down resistance of the command transmission signal is not 1KΩ, the second Access device identification failed. 19.根据权利要求17所述的装置,其特征在于,19. The apparatus of claim 17, wherein: 所述处理模块,用于若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;The processing module is configured to, if the second insertion surface successfully recognizes the USB device, enter the USB working state on the second insertion surface; 以及,若所述第二插入面对USB设备识别不成功,则所述第二插入面断开与USB芯片的连接。And, if the second insertion surface fails to identify the USB device, the second insertion surface disconnects from the USB chip. 20.根据权利要求14所述的装置,其特征在于,20. The apparatus of claim 14, wherein: 所述发送模块,用于当第一接入设备与第二接入设备同时接入时,第一插入面和第二插入面向终端设备的电源控制器发送接入信号;The sending module is configured to send an access signal to the power controller of the terminal device on the first insertion surface and the second insertion surface when the first access device and the second access device are connected at the same time; 所述处理模块,用于所述第一插入面与片选控制器转发的第一信号接通;The processing module is configured to connect the first insertion plane with the first signal forwarded by the chip select controller; 以及,所述第一插入面接收片选控制器转发的第一信号状态,识别所述第一接入设备的设备类型,确定所述第一插入面的工作状态;And, the first insertion plane receives the first signal status forwarded by the chip select controller, identifies the device type of the first access device, and determines the working status of the first insertion plane; 以及,根据所述第一接入设备的设备类型,所述第二插入面与片选控制器转发的第二信号接通;And, according to the device type of the first access device, the second insertion plane is connected to the second signal forwarded by the chip selection controller; 以及,根据所述第二插入面接收到的所述片选控制器转发的第二信号状态,识别所述第二接入设备的设备类型,确定所述第二插入面的工作状态。And, according to the state of the second signal forwarded by the chip select controller received by the second insertion plane, the device type of the second access device is identified, and the working status of the second insertion plane is determined. 21.根据权利要求20所述的装置,其特征在于,21. The apparatus of claim 20, wherein: 所述处理模块,用于所述第一插入面通过片选控制器接收MHL芯片控制器的命令传输信号状态,确定所述第一插入面的第一接入设备类型;The processing module is used for the first insertion plane to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the first access device type of the first insertion plane; 以及,当所述第一插入面的第一接入设备类型识别为USB设备时,断开所述第一插入面与所述MHL芯片控制器的命令传输信号的连接;And, when the first access device type of the first insertion surface is identified as a USB device, disconnect the first insertion surface from the command transmission signal of the MHL chip controller; 以及,所述第一插入面通过片选控制器与USB芯片的空口接通,所述第一插入面进入USB工作状态;And, the first insertion surface is connected to the air port of the USB chip through the chip select controller, and the first insertion surface enters the USB working state; 以及,当所述第一插入面的接入设备类型识别为MHL设备时,保持所述第一插入面与所述MHL芯片控制器的命令传输信号的连接,所述第一插入面进入MHL工作状态。And, when the access device type of the first insertion surface is identified as an MHL device, the connection between the first insertion surface and the command transmission signal of the MHL chip controller is maintained, and the first insertion surface enters the MHL work state. 22.根据权利要求21所述的装置,其特征在于,22. The device of claim 21, wherein: 所述处理模块,用于当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态悬空,所述第一接入设备识别为USB设备,所述第一插入面进入第一USB工作状态;The processing module is configured to identify the first access device as a USB device when the first insertion surface receives the command transmission signal state of the MHL chip controller through the chip select controller and the status is suspended. The insertion surface enters the first USB working state; 以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备是MHL设备,则所述第一插入面进入MHL工作状态;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is an MHL device, the first insertion surface enters the MHL working state; 以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻是1KΩ时,若确认所述第一接入设备不是MHL设备,则设备识别失败;And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and the state voltage is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the access device is not an MHL device, the device identification will fail; 以及,当所述第一插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号状态电压被拉低,并且所述命令传输信号的下拉电阻不是1KΩ时,所述第一接入设备识别为USB设备,所述第一插入面进入第二USB工作状态。And, when the first insertion plane receives the command transmission signal state voltage of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is not 1KΩ, the first interface The input device is recognized as a USB device, and the first insertion surface enters a second USB working state. 23.根据权利要求20所述的装置,其特征在于,23. The apparatus of claim 20, wherein: 所述处理模块,用于当所述第一接入设备类型识别为USB设备时,所述第二插入面通过片选控制器与MHL芯片控制器的命令传输信号接通;The processing module is configured to, when the type of the first access device is identified as a USB device, connect the second insertion plane with a command transmission signal of the chip select controller and the MHL chip controller; 以及,当所述第一插入面的接入设备类型识别为MHL设备时,所述第二插入面通过片选控制器与USB芯片的命令空口信号接通。And, when the type of the access device on the first insertion plane is identified as an MHL device, the second insertion plane is connected to the command air interface signal of the USB chip through the chip select controller. 24.根据权利要求20所述的装置,其特征在于,24. The apparatus of claim 20, wherein: 所述处理模块,用于所述第二插入面通过片选控制器接收MHL芯片控制器的命令传输信号状态,确定所述第二插入面的工作状态;The processing module is used for the second insertion surface to receive the command transmission signal status of the MHL chip controller through the chip select controller, and determine the working state of the second insertion surface; 以及,所述第二插入面的接入设备类型指示引脚通过片选控制器接收USB芯片的空口信号,对所述第二接入设备类型进行识别,确定所述第二插入面的工作状态。And, the access device type indication pin of the second insertion surface receives the air interface signal of the USB chip through the chip select controller, identifies the second access device type, and determines the working state of the second insertion surface . 25.根据权利要求24所述的装置,其特征在于,25. The device of claim 24, wherein: 所述处理模块,用于当所述第二插入面通过片选控制器接收到MHL芯片控制器的命令传输信号悬空,所述第二插入面断开与MHL芯片控制器的命令传输信号的连接;The processing module is configured to disconnect the second insertion plane from the command transmission signal of the MHL chip controller when the second insertion plane receives the command transmission signal of the MHL chip controller through the chip select controller and is suspended in the air. ; 以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备是MHL设备,则所述第二插入面进入MHL工作状态;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first The second access device is an MHL device, and the second insertion surface enters the MHL working state; 以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻为1KΩ时,若确认所述第二接入设备不是MHL设备,则所述第二接入设备识别失败;And, when the second insertion plane receives the voltage of the command transmission signal of the MHL chip controller through the chip select controller and is pulled down, and the pull-down resistance of the command transmission signal is 1KΩ, if it is confirmed that the first If the second access device is not an MHL device, the identification of the second access device fails; 以及,当所述第二插入面通过片选控制器接收到所述MHL芯片控制器的命令传输信号的电压被拉低,并且所述命令传输信号的下拉电阻不为1KΩ时,所述第二接入设备识别失败。And, when the voltage of the command transmission signal received by the MHL chip controller on the second insertion plane is pulled down through the chip select controller, and the pull-down resistance of the command transmission signal is not 1KΩ, the second Access device identification failed. 26.根据权利要求24所述的装置,其特征在于,26. The device of claim 24, wherein: 所述处理模块,用于若所述第二插入面对USB设备识别成功,则所述第二插入面进入USB工作状态;The processing module is configured to, if the second insertion surface successfully recognizes the USB device, enter the USB working state on the second insertion surface; 以及,若所述第二插入面对USB设备识别不成功,则所述第二插入面的接入设备类型指示引脚断开与USB芯片的连接。And, if the second insertion surface fails to identify the USB device, the connection device type indication pin on the second insertion surface is disconnected from the USB chip.
CN201610259589.6A 2016-04-22 2016-04-22 Method and device for interface configuration Active CN107306000B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610259589.6A CN107306000B (en) 2016-04-22 2016-04-22 Method and device for interface configuration
PCT/CN2017/081524 WO2017182001A1 (en) 2016-04-22 2017-04-21 Method and device for interface configuration, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610259589.6A CN107306000B (en) 2016-04-22 2016-04-22 Method and device for interface configuration

Publications (2)

Publication Number Publication Date
CN107306000A CN107306000A (en) 2017-10-31
CN107306000B true CN107306000B (en) 2019-09-13

Family

ID=60115696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610259589.6A Active CN107306000B (en) 2016-04-22 2016-04-22 Method and device for interface configuration

Country Status (2)

Country Link
CN (1) CN107306000B (en)
WO (1) WO2017182001A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158335B (en) * 2019-11-19 2021-08-20 潍柴动力股份有限公司 Pin function matching method and storage medium for multi-ECU system
CN115224766A (en) * 2022-07-29 2022-10-21 普联技术有限公司 Type identification method of access device and network device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202772373U (en) * 2012-08-03 2013-03-06 北京壹人壹本信息科技有限公司 USB connecting device and electronic device
CN203734053U (en) * 2013-11-27 2014-07-23 合肥联宝信息技术有限公司 Blind plug type female socket interface suitable for unlimited slot type A USB

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237189B (en) * 2013-03-26 2016-01-13 小米科技有限责任公司 Electronic equipment, MHL connector, MHL system and connector detection method
KR102048222B1 (en) * 2013-05-21 2019-11-25 삼성전자주식회사 Apparatus and method for recognizing an external device in a communication system
CN204304069U (en) * 2014-07-05 2015-04-29 东莞市铭基电子有限公司 A new type of USB plug connector and USB socket connector
US20160091669A1 (en) * 2014-09-30 2016-03-31 Silicon Image, Inc. Electrical Connector with Optical Channel
CN205142391U (en) * 2015-08-05 2016-04-06 东莞铭基电子科技集团有限公司 A kind of HDMI signal converter with connection line
CN205029143U (en) * 2015-08-05 2016-02-10 庄忆芳 USB Type-C conversion module
CN110851387B (en) * 2015-09-30 2022-08-19 联想(北京)有限公司 Interface function configuration method and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202772373U (en) * 2012-08-03 2013-03-06 北京壹人壹本信息科技有限公司 USB connecting device and electronic device
CN203734053U (en) * 2013-11-27 2014-07-23 合肥联宝信息技术有限公司 Blind plug type female socket interface suitable for unlimited slot type A USB

Also Published As

Publication number Publication date
CN107306000A (en) 2017-10-31
WO2017182001A1 (en) 2017-10-26

Similar Documents

Publication Publication Date Title
CN108666826B (en) Adapter, terminal equipment and adapter system
US8095716B2 (en) Method and system for communicating capability information from an accessory to a media player
KR101822497B1 (en) Adaptive interconnection scheme for multimedia devices
US9990328B2 (en) Increased data flow in universal serial bus (USB) cables
WO2017113683A1 (en) Usb data line comprising extension interface and control method thereof
JP2011166720A (en) Motherboard compatible with multiple versions of usb, and related method
CN106104506A (en) For entering method, device and the computer program of annex joint mode in USB c-type interface
US10074949B1 (en) Electronic device and a method for detecting the connecting direction of two electronic components
US9148001B1 (en) Intelligent cable mechanism
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
CN104617461A (en) Compatible data interface
US20180097315A1 (en) Power adapter, terminal device, charging system, and charging method
JP6661342B2 (en) Port connection circuit, port connection control method, electronic equipment
CN107181145A (en) A kind of data line and USB data line interface
CN115237841A (en) Electronic device, fast charging method, device, system and readable storage medium
TWI554889B (en) Electric system
CN107306000B (en) Method and device for interface configuration
CN102768574A (en) Peripheral devices of data transmission system and its electronic equipment
CN218825507U (en) Dual-interface device and projection equipment
CN205583335U (en) Electronic connecting line
CN102789440A (en) Data transmission system
CN205141217U (en) Adapter cable based on USB Type-C
CN118842138A (en) Multifunctional charging device supporting bidirectional blind plugging
CN201117844Y (en) Transmission line that can transmit E-SATA interface signal and power
TW201306481A (en) Shared socket and method of operating shared socket

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant