CN107306000B - A kind of method and apparatus of interface configuration - Google Patents

A kind of method and apparatus of 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
inserting surface
access device
controller
mhl
piece
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.)
Shenzhen ZTE Microelectronics 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

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

A kind of method and apparatus of interface configuration
Technical field
The present invention relates to the method and apparatus that intelligent terminal technical field more particularly to a kind of interface configure.
Background technique
With the rapid proliferation of intelligent mobile terminal, user can access internet by intelligent mobile terminal, transmit more The data of seed type, therefore, user have higher demand to the diversity of intelligent mobile terminal data-interface function.
In the prior art, intelligent mobile terminal is configured with a data-interface, such as 2.0 (Micro of micro universal serial bus USB 2.0, Micro Universal Serial Bus) interface, this is a kind of interface side of 5pin (5 metal pins contacts) Case.The scheme that the interface provides charge function for mobile phone and carries out data transmission with apparatus such as computer can also pass through OTG (On The Go) line external access of mouse, keyboard, USB flash disk etc. universal serial bus (USB, Universal Serial Bus) equipment, also Standard definition can be turned by mobile terminal high-definition audio and video standard interface (MHL, Mobile High-Definition Link) Multimedia interface (HDMI, High Definition Multimedia Interface) line by audio-video be output to display, The large screens equipment such as TV.However, the interface can only support above-mentioned function respectively, USB and MHL function can not be supported simultaneously, together When the interface using tongue type design, could be inserted into after being divided into front and back sides, data cable plug that must be aligned, it has not been convenient to which user makes With.
Summary of the invention
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of method and apparatus of interface configuration, simultaneously Support USB and MHL function, and interface is regardless of front and back sides, it is user-friendly.
The technical scheme of the present invention is realized as follows:
In a first aspect, the embodiment of the invention provides a kind of methods of interface configuration, which comprises
When access device access, the energization pins of any inserting surface send access letter to the power-supply controller of electric of terminal device Number;
Indicate that pin receives the piece selected control connecting with the socket according to the access device type of any inserting surface The signal condition that device processed is forwarded identifies the device type of the access device, determines the working condition of any inserting surface.
In above scheme, when any inserting surface of only the first access device access, and any inserting surface is first It is described to indicate that pin receives the piece connecting with the socket according to the access device type of any inserting surface when inserting surface The signal condition that controller is forwarded is selected, identifies the device type of the access device, determines the work of any inserting surface State, comprising:
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition of controller is hanging, and first access device is identified as USB device, and first inserting surface enters First USB working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition voltage of controller is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if Confirm that first access device is MHL equipment, then first inserting surface enters MHL working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition voltage of controller is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if Confirm that first access device is not MHL equipment, then equipment recognition failures;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition voltage of controller is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, First access device is identified as USB device, and first inserting surface enters the 2nd USB working condition.
In above scheme, when the second access device accesses the other one side of any inserting surface, and any inserting surface Other one side when being the second inserting surface, after the device type of the identification first access device, further includes:
When the access of the second access device, the energization pins of the second inserting surface connect to the transmission of the power-supply controller of electric of terminal device Enter signal;
According to the device type of first access device, the access device type of second inserting surface instruction pin with The second signal that piece selects controller to forward is connected;
Described received according to the access device type of second inserting surface instruction pin selects controller to forward Second signal state identifies the device type of second access device, determines the working condition of second inserting surface.
In above scheme, the device type according to first access device, the access device class of the second inserting surface The second signal that type instruction pin and piece select controller to forward is connected, comprising:
If first access device has been identified as USB device, the access device type of second inserting surface refers to Show that pin selects the order of controller and MHL chip controller to transmit signal and connects by piece;
If first access device has been identified as MHL equipment, the access device type of second inserting surface refers to Show that pin selects the signal of eating dishes without rice or wine of controller and USB chip to connect by piece.
In above scheme, described for indicating that pin is received according to the access device type of second inserting surface The second signal state for selecting controller to forward identifies the device type of second access device, determines second inserting surface Working condition, comprising:
The access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece Signal condition is transmitted in the order of device, determines the working condition of second inserting surface;
The access device type of second inserting surface indicates the sky that pin selects controller to receive the USB chip by piece Message number identifies the device type of second access device, determines the working condition of second inserting surface.
In above scheme, the access device type instruction pin of second inserting surface is selected described in controller reception by piece Signal condition is transmitted in the order of MHL chip controller, determines the working condition of second inserting surface, comprising:
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece The order transmission signal of controller is hanging, and the access device type instruction pin of second inserting surface disconnects and the control of MHL chip The connection of the order transmission signal of device processed;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece Controller order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if really Recognizing second access device is MHL equipment, then second inserting surface enters MHL working condition;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece Controller order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if really Recognizing second access device is not MHL equipment, then the second access device recognition failures;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece The voltage of the order transmission signal of controller is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, institute State the second access device recognition failures.
In above scheme, the access device type instruction pin of second inserting surface is selected described in controller reception by piece The signal of eating dishes without rice or wine of USB chip identifies the second access device type, determines the work shape of second inserting surface State, comprising:
If second inserting surface identifies successfully USB device, second inserting surface enters USB working condition;
If second inserting surface is unsuccessful to USB device identification, the access device type of second inserting surface refers to Show that pin disconnects the connection with USB chip.
In above scheme, when the first access device accesses any surface, the second access device accesses the other one side of any surface, And any surface is the first inserting surface, when the other one side of any surface is the second inserting surface, the method also includes:
When the first access device and the second access device access simultaneously, the confession of first inserting surface and the second inserting surface Electric pin sends access signal to the power-supply controller of electric of terminal device;
The first signal that the access device type instruction pin and piece of first inserting surface select controller to forward is connected;
The first signal condition that the access device type instruction pin receiving sheet of first inserting surface selects controller to forward, The device type for identifying first access device determines the working condition of first inserting surface;
According to the device type of first access device, the access device type of second inserting surface instruction pin with The second signal that piece selects controller to forward is connected;
Described received according to the access device type of second inserting surface instruction pin selects controller to forward Second signal state identifies the device type of second access device, determines the working condition of second inserting surface.
In above scheme, the access device type of first inserting surface instruction pin receiving sheet select that controller forwards the One signal condition identifies the device type of first access device, determines the working condition of first inserting surface, comprising:
The access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece Signal condition is transmitted in the order of device, determines the first access device type of first inserting surface;
When the first access device type identification of first inserting surface is USB device, first inserting surface is disconnected Access device type instruction pin and the MHL chip controller order transmission signal connection;
The access device type instruction pin of first inserting surface selects controller and USB chip to eat dishes without rice or wine to connect by piece Logical, first inserting surface enters USB working condition;
When the access device type identification of first inserting surface is MHL equipment, connecing for first inserting surface is kept Enter the connection of the order transmission signal of device type instruction pin and the MHL chip controller, first inserting surface enters MHL working condition.
In above scheme, the access device type instruction pin of first inserting surface is selected described in controller reception by piece Signal condition is transmitted in the order of MHL chip controller, determines the first access device type of the first inserting surface, comprising:
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition of controller is hanging, and first access device is identified as USB device, and first inserting surface enters First USB working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition voltage of controller is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if Confirm that first access device is MHL equipment, then first inserting surface enters MHL working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition voltage of controller is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if Confirm that first access device is not MHL equipment, then equipment recognition failures;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip by piece The order transmission signal condition voltage of controller is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, First access device is identified as USB device, and first inserting surface enters the 2nd USB working condition.
In above scheme, the device type according to first access device, the access of second inserting surface is set The second signal that standby type instruction pin and piece select controller to forward is connected, comprising:
When the first access device type identification is USB device, the access device type of second inserting surface refers to Show that pin selects the order of controller and the MHL chip controller to transmit signal and connects by piece;
When the access device type identification of first inserting surface is MHL equipment, the access of second inserting surface is set Standby type instruction pin selects the order of controller and USB chip to eat dishes without rice or wine signal connection by piece.
In above scheme, the described selected control that pin receives is indicated according to the access device type of second inserting surface The second signal state of device forwarding processed, identifies the device type of second access device, determines the work of second inserting surface Make state, comprising:
The access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece Signal condition is transmitted in the order of device, determines the working condition of second inserting surface;
The access device type of second inserting surface indicates the sky that pin selects controller to receive the USB chip by piece Message number identifies the second access device type, determines the working condition of second inserting surface.
In above scheme, the access device type instruction pin of second inserting surface is selected described in controller reception by piece Signal condition is transmitted in the order of MHL chip controller, determines the working condition of second inserting surface, comprising:
When the access device type instruction pin of second inserting surface selects controller to receive MHL chip controls by piece The order transmission signal of device is hanging, and the access device type instruction pin of second inserting surface disconnects and MHL chip controller Order transmission signal connection;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece Controller order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if really Recognizing second access device is MHL equipment, then second inserting surface enters MHL working condition;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece Controller order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if really Recognizing second access device is not MHL equipment, then the second access device recognition failures;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip by piece The voltage of the order transmission signal of controller is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, institute State the second access device recognition failures.
In above scheme, the access device type instruction pin of second inserting surface is selected described in controller reception by piece The signal of eating dishes without rice or wine of USB chip identifies the second access device type, determines the working condition of second inserting surface, packet It includes:
If second inserting surface identifies successfully USB device, second inserting surface enters USB working condition;
If second inserting surface is unsuccessful to USB device identification, the access device type of second inserting surface refers to Show that pin disconnects the connection with USB chip.
Second aspect, the embodiment of the invention also provides a kind of devices of interface configuration, and described device includes: sending module And processing module;Wherein,
The sending module, for when access device access, any power-supply controller of electric of the insertion towards terminal device to be sent out Send access signal;
The processing module, the signal for selecting controller to forward for any inserting surface and piece are connected;
And the signal shape that the piece connecting with the socket selects controller to be forwarded is received according to any inserting surface State identifies the device type of the access device, determines the working condition of any inserting surface.
In above scheme, the processing module, for being selected described in controller receives when first inserting surface by piece The order transmission signal condition of MHL chip controller is hanging, and first access device is identified as USB device, and described first inserts Enter face into the first USB working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is MHL equipment, then first inserting surface enters MHL working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is not MHL equipment, then equipment recognition failures;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, first access device It is identified as USB device, first inserting surface enters the 2nd USB working condition.
In above scheme, the sending module, for when the access of the second access device, the second insertion to be towards terminal device Power-supply controller of electric send access signal;
The processing module, for the device type according to first access device, second inserting surface and piece are selected The second signal of controller forwarding is connected;
And the second signal state of controller forwarding is selected according to described that second inserting surface receives, identification The device type of second access device determines the working condition of second inserting surface.
In above scheme, the processing module, if being identified as USB device for first access device, institute It states the second inserting surface and selects the order of controller and MHL chip controller to transmit signal connection by piece;
And if first access device has been identified as MHL equipment, second inserting surface passes through piece selected control system The signal connection of eating dishes without rice or wine of device and USB chip.
In above scheme, the processing module selects controller to receive the MHL core for second inserting surface by piece Signal condition is transmitted in the order of piece controller, determines the working condition of second inserting surface;
And second inserting surface selects controller to receive the signal of eating dishes without rice or wine of the USB chip by piece, to described second The device type of access device is identified, determines the working condition of second inserting surface.
In above scheme, the processing module, for being selected described in controller receives when second inserting surface by piece The order transmission signal of MHL chip controller is hanging, and second inserting surface, which disconnects the order with MHL chip controller and transmits, to be believed Number connection;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is MHL equipment, then second inserting surface enters MHL working condition;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is not MHL equipment, then the second access device recognition failures;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and the pull down resistor of the order transmission signal, when not being 1K Ω, second access device is known Do not fail.
In above scheme, the processing module is described if identifying successfully for second inserting surface to USB device Second inserting surface enters USB working condition;
And if second inserting surface identifies unsuccessful, the second inserting surface disconnection and USB core to USB device The connection of piece.
In above scheme, the sending module, for when the first access device and the second access device access simultaneously, institute It states the first inserting surface and the second power-supply controller of electric of the insertion towards terminal device sends access signal;
The processing module, the first signal for selecting controller to forward for first inserting surface and piece are connected;
And the first signal condition that the first inserting surface receiving sheet selects controller to forward, identify first access The device type of equipment determines the working condition of first inserting surface;
And the device type according to first access device, second inserting surface and piece select controller to forward Second signal is connected;
And the second signal state of controller forwarding is selected according to described that second inserting surface receives, identification The device type of second access device determines the working condition of second inserting surface.
In above scheme, the processing module selects controller to receive the MHL core for first inserting surface by piece Signal condition is transmitted in the order of piece controller, determines the first access device type of first inserting surface;
And when the first access device type identification of first inserting surface is USB device, disconnects described first and insert Enter the connection of the order transmission signal of face and the MHL chip controller;
And first inserting surface selects controller and USB chip to eat dishes without rice or wine to connect by piece, first inserting surface into Enter USB working condition;
And when the access device type identification of first inserting surface is MHL equipment, keep first inserting surface With the connection of the order transmission signal of the MHL chip controller, first inserting surface enters MHL working condition.
In above scheme, the processing module, for being selected described in controller receives when first inserting surface by piece The order transmission signal condition of MHL chip controller is hanging, and first access device is identified as USB device, and described first inserts Enter face into the first USB working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is MHL equipment, then first inserting surface enters MHL working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is not MHL equipment, then equipment recognition failures;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, first access device It is identified as USB device, first inserting surface enters the 2nd USB working condition.
In above scheme, the processing module is used for when the first access device type identification is USB device, institute It states the second inserting surface and selects the order of controller and the MHL chip controller to transmit signal connection by piece;
And when the access device type identification of first inserting surface is MHL equipment, second inserting surface passes through Piece selects the order of controller and USB chip to eat dishes without rice or wine signal connection.
In above scheme, the processing module selects controller to receive the MHL core for second inserting surface by piece Signal condition is transmitted in the order of piece controller, determines the working condition of second inserting surface;
And the access device type instruction pin of second inserting surface selects controller to receive the USB core by piece The signal of eating dishes without rice or wine of piece identifies the second access device type, determines the working condition of second inserting surface.
In above scheme, the processing module, for selecting controller to receive MHL core by piece when second inserting surface The order transmission signal of piece controller is hanging, and second inserting surface disconnects and the order transmission signal of MHL chip controller Connection;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is MHL equipment, then second inserting surface enters MHL working condition;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is not MHL equipment, then the second access device recognition failures;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and the pull down resistor of the order transmission signal, when not being 1K Ω, second access device is known Do not fail.
In above scheme, the processing module is described if identifying successfully for second inserting surface to USB device Second inserting surface enters USB working condition;
And if second inserting surface identifies unsuccessful, the access device class of second inserting surface to USB device Type indicates that pin disconnects the connection with USB chip.
The embodiment of the invention provides a kind of method and apparatus of interface configuration, to the metal of data interface socket and plug Pin contacts are modified, and the data line other side of connection plug is designed to that one can access USB device and MHL simultaneously The Y-track of equipment.Realize while supporting USB and MHL function, and interface is regardless of front and back sides, it is user-friendly.
Detailed description of the invention
Fig. 1 is interface configuration apparatus socket and plug structural schematic diagram provided in an embodiment of the present invention;
Fig. 2 is interface configuration apparatus plug provided in an embodiment of the present invention and equipment connection schematic diagram;
Fig. 3 is access device category identification circuit connection diagram provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of interface allocation method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the first inserting surface of determination working condition provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another interface allocation method provided in an embodiment of the present invention;
Fig. 7 is the flow diagram provided in an embodiment of the present invention for connecting second signal;
Fig. 8 is the flow diagram of the second inserting surface of determination working condition provided in an embodiment of the present invention;
Fig. 9 is the flow diagram that the second inserting surface of determination working condition provided in an embodiment of the present invention is MHL;
Figure 10 is the flow diagram that the second inserting surface of determination working condition provided in an embodiment of the present invention is USB;
Figure 11 is the flow diagram of another interface allocation method provided in an embodiment of the present invention;
Figure 12 is the flow diagram of the first inserting surface of determination working condition provided in an embodiment of the present invention;
Figure 13 is the flow diagram provided in an embodiment of the present invention for connecting second signal;
Figure 14 is the flow diagram of the second inserting surface of determination working condition provided in an embodiment of the present invention;
Figure 15 is interface configuration apparatus structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Referring to Fig. 1, it illustrates a kind of interface arrangement provided in an embodiment of the present invention, which may include: slotting Seat and plug two parts.Wherein, socket part is located on terminal device, replaces existing terminal device data-interface, such as Micro 2.0 interface of USB;Plug portion is located at one end of data line, the metal pins contact phase of each metal pins point and socket part Matching.Referring to fig. 2, it illustrates the data line other ends of connection plug.Data line other end is connected by Y-track side USB device is connect, the other side connects MHL equipment, and equipment on-position is simultaneously not fixed, and two sides can arbitrarily exchange.
The existing data-interface of terminal device cannot support universal serial bus (USB, Universal Serial simultaneously ) and mobile terminal high-definition audio and video standard interface (MHL, Mobile High-Definition Link) function Bus.MHL is a kind of The audio-visual standard interface of connection portable consumer electronic device passes through standard definition multimedia using a bars cable Video-audio signal can be presented on high definition by interface (HDMI, High Definition Multimedia Interface) input In the equipment such as TV.
Referring to the socket part of Fig. 1, it is different from existing 2.0 interface 5pin of Micro USB (5 metal pins contacts) Interface scheme, the embodiment of the present invention use 10pin (10 metal pins contacts) interface scheme, each 5pin in both sides.
By taking the socket part in Fig. 1 as an example, socket is divided into two sides, there are two inserting surface, every each pin in side all with 1,2, 3, it 4,5 numbers in order.Interface contact number order is 5,4,3,2,1 above socket, due to 5 signals of interface above socket Line is the rotating mirror-image of lower section 5 signal wires of interface, thus 5 contacts of lower section interface from left to right put in order as 1,2,3, 4、5。
The function of 5 pins is respectively to power terminal equipment, negative differential signal, principal-employment sub-signal, instruction access device Type and signal ground.
The corresponding function description in each contact is as shown in table 1:
Table 1
Pin numbering USB function MHL function
1 VCC VBUS
2 D- MHL-
3 D+ MHL+
4 ID CBUS
5 GND GND
It is exemplified by Table 1, the pin that pin numbering is 1, function is to power terminal equipment.When as USB function, this draws Foot is VCC, indicates positive 5 volts of power supply;When as MHL function, which is VBUS, same to indicate positive 5 volts of power supply.
The pin that pin numbering is 2, function are negative differential signal.When as USB function, which is D-, and it is poor to indicate Divided data line is negative;When as MHL function, which is MHL-, indicates that difference video-audio signal is negative, with RX0- pairs of HDMI signal wire It answers.
The pin that pin numbering is 3, function are positive differential signal.When as USB function, which is D+, and it is poor to indicate Divided data line is just;When as MHL function, which is MHL+, difference video-audio signal is being indicated just, with RX0+ pairs of HDMI signal wire It answers.
The pin that pin numbering is 4 indicates pin for access device type.For the pin there are two types of state, one kind is ID, Expression is eated dishes without rice or wine, and another kind is CBUS, indicates order transmission signal.Corresponding, USB chip has matching ID, MHL chip There is matching CBUS.When the ID of USB chip and the pin are connected, be used as USB function, when the CBUS of MHL chip with should When pin is connected, it is used as MHL function.
The pin that pin numbering is 5, function are signal ground.All it is GND as USB function and when MHL function, indicates Signal ground.
Plug portion in Fig. 1 uses hardware shape corresponding with socket, and two sides are respectively distributed 5 hard contacts.Plug The effect of hard contact signal wire is corresponded with socket, side 1,2,3,4,5, the other side 5,4,3,2,1.Terminal device is logical It crosses the 4th signal wire ID/CBUS and carrys out the device type that intelligence district is tapped into.
Referring to Fig. 3, it illustrates terminal devices to the selection scheme of access device category identification, by power-supply controller of electric, height Fast switch, piece select the identification of controller, MHL chip controller and USB chip co- controlling to access device category, socket one Side is the face A, and the other side is the face B, and the two sides A, B is rotating mirror-image.
Power-supply controller of electric is separately connected the face A of socket and No. 1 pin in the face B, for being powered to terminal device.
The side of high-speed switches is separately connected the face A and the face B of socket, and the other side is separately connected USB chip and MHL chip Controller is used for transmission differential signal.Wherein, when being connected with the face A of socket and the face B, be separately connected socket the face A and the face B 2 Number pin and No. 3 pins;When being connected with USB chip, the differential data line of connection USB chip is born with differential data line just, respectively It is corresponding with the USB function of No. 2 pins and No. 3 pins in the face A of socket and the face B;When being connected with MHL chip controller, connection The difference video-audio signal of MHL chip controller is negative, difference video-audio signal just with switching control line, equally with the face A of socket and the face B No. 2 pins and No. 3 pins MHL function it is corresponding.
Piece selects the side of controller to be separately connected the face A and the face B of socket, and the other side is separately connected USB chip and MHL chip Controller, for identification access device type.Wherein, when being connected with the face A of socket and the face B, the face A and the B of socket are separately connected No. 4 pins in face;When being connected with USB chip, connection USB chip is eated dishes without rice or wine, respectively with No. 4 pins in the face A of socket and the face B USB function is corresponding;When being connected with MHL chip controller, the order transmission signal of connection MHL chip controller and switching control Line, connection MHL chip controller order transmit signal when, respectively with the MHL function phase of No. 4 pins in the face A of socket and the face B It is corresponding.In addition, it further includes USB switch that piece, which selects controller, for selecting USB device or MHL equipment.
The socket part two sides of interface arrangement and the two sides of plug portion are arbitrarily accessed in Fig. 1, the pin function of identical number It can be identical.Wherein, No. 4 pins, i.e. access device type indicate that pin selects controller and USB chip and the control of MHL chip by piece Device processed is connected, for identification the type of access device.Since the Y-track of data line is there are two interface, two differences can be accessed The equipment of type, therefore, the embodiment of the present invention are divided into three kinds of situations and are illustrated according to the access order of access device.First Kind situation is that the Y-track either interface of data line is inserted into an access device, another interface is not inserted into any access and sets It is standby;Second situation is that after the one of interface of the Y-track of data line first identifies the first access device of insertion, another is connect Mouth is inserted into the second access device;The third situation is that two interfaces of Y-track of data line are inserted into the first access device simultaneously With the second access device.
It should be noted that due to only one USB chip and a MHL chip controller inside terminal device, by Fig. 3 Between each chip shown with the connection relationship of each pin of socket it can be concluded that, the two sides of socket cannot identify same type simultaneously Equipment.For example, the face B of socket cannot identify again after identified access device type is USB device in the face A of socket For the access device type of USB device.
Interface arrangement provided in an embodiment of the present invention supports USB and MHL function simultaneously, can be output to large screen in MHL While showing equipment, USB mouse keyboard mobile hard disk etc. is connected, by terminal device when host computer uses.For with intelligent hand The application such as office, amusement of the terminal devices such as machine, tablet computer opens broader space.On the other hand, the interface arrangement It can be inserted into equipment with intelligent recognition interface, regardless of front and back sides, user can just insert plug conveniently, using above bringing great side Just.
Embodiment one
The embodiment of the present invention provides a kind of method of interface configuration combined with Figure 1 and Figure 2, for working as the plug of interface arrangement While being inserted into socket, the Y-track either interface of data line is inserted into an access device.Identification insertion equipment be USB or When being MHL, for convenience, referring to Fig. 3, the embodiment of the present invention is using the face A as the first inserting surface, using the face B as the second insertion It is illustrated for face.As shown in figure 4, the method may include:
S101, when access device access, the energization pins of any inserting surface are sent to the power-supply controller of electric of terminal device Access signal.
It should be noted that when the Y-track first interface of the first access device insertion data line, the corresponding A of socket The pin of face 1 sends access signal to the power-supply controller of electric of terminal device.
After receiving the access signal that No. 1 pin in the face A is sent to power-supply controller of electric, the power-supply controller of electric of terminal device is examined The access of the first access device is measured, sends interrupt requests to CPU.
S102, indicate that pin receives the piece connecting with the socket according to the access device type of any inserting surface The signal condition that controller is forwarded is selected, identifies the device type of the access device, determines the work of any inserting surface State.
Specifically, the signal that the access device type instruction pin of any inserting surface selects controller to forward with piece connects It is logical.
The CPU of terminal device sends bind command to MHL chip controller, selects controller to connect the control of MHL chip by piece No. 4 pins of order the transmission signal and the face A of device processed.
Since terminal device is by No. 4 pins, i.e. the CBUS signal wire of the ID of USB or MHL identifies access device, because This, selects that controller connects the order transmission signal of MHL chip controller and No. 4 pins in the face A judge access device by piece Type.
No. 4 pins in the face A are hanging according to the order of MHL chip controller transmission signal condition or voltage is pulled low, The working condition for judging the face A is USB working condition or MHL working condition.
Specifically, when any inserting surface of only the first access device insertion, and any inserting surface is the first insertion When face, referring to Fig. 5, step S102 includes step S1021 to S1024:
S1021, it is selected described in controller receives by piece when the access device type instruction pin of first inserting surface The order transmission signal condition of MHL chip controller is hanging, and first access device is identified as USB device, and described first inserts Enter face into the first USB working condition.
Under default conditions, No. 4 pin CBUS/USB_ID have pull-up resistor, and USB_ID foot keeps high level, USB switch The side USB is got to high-speed switches, MHL is disconnected at this time.
When the USB port of the face A connection apparatus such as computer, No. 4 pin connection status and level height in the face A are determined.
Since the pin contacts of apparatus such as computer USB port are 4, i.e. 4pin, when first access device in the face A connects USB When mouth, 4 signal wires of 5 signal wires connection USB port in the face A, at this point, the 4th foot CBUS/USB_ID in the face A is hanging.So A No. 4 pins in face still keep high level, then the face A enters the first USB working condition.
What needs to be explained here is that the first USB working condition indicates the terminal device in the connection face A as USB device (USB- DEVICE it) uses.
S1022, it is selected described in controller receives by piece when the access device type instruction pin of first inserting surface The order transmission signal condition voltage of MHL chip controller is pulled low, and the pull down resistor of the order transmission signal is 1K When Ω, if confirmation first access device is MHL equipment, first inserting surface enters MHL working condition.
When the face A connects MHL equipment, the order transmission signal voltage of MHL chip controller can be pulled low.If order transmission The pull down resistor of signal is 1K Ω, opens handshake procedure, confirms whether the first access device is MHL equipment by handshake procedure.
If the first access device is MHL equipment, piece selects controller to continue to connect the order transmission letter of MHL chip controller Connection status is changed to MHL state by No. 4 pins number with the face A, USB switch, and the face A enters MHL working condition.It receives Described is selected controller to forward.
S1023, it is selected described in controller receives by piece when the access device type instruction pin of first inserting surface The order transmission signal condition voltage of MHL chip controller is pulled low, and the pull down resistor of the order transmission signal is 1K When Ω, if confirmation first access device is not MHL equipment, equipment recognition failures.
If determining the first access device not by handshake procedure is MHL equipment, USB switch keeps original state not Become, the inserting surface of access device rests on the side USB of default at this time, and equipment can not identify.
S1024, it is selected described in controller receives by piece when the access device type instruction pin of first inserting surface The order transmission signal condition voltage of MHL chip controller is pulled low, and the pull down resistor of the order transmission signal is not When 1K Ω, first access device is identified as USB device, and first inserting surface enters the 2nd USB working condition.
When the face A connects OTG equipment, the order transmission signal voltage of MHL chip controller can be pulled low.If order transmission The pull down resistor of signal is not 1K Ω, and signal and the pin of the face A 4 are transmitted in the order that piece selects controller to disconnect MHL chip controller Connection, connect USB chip and eat dishes without rice or wine No. 4 pins of signal and the face A, it is still USB that USB switch holding connection status is constant State, then the face A enters the 2nd USB working condition.
What needs to be explained here is that the 2nd USB working condition indicates the terminal device in the connection face A as USB main equipment (USB-HOST) it uses.
It should be noted that the face A of socket or No. 2 pins in the face B and No. 3 pins pass through high-speed switches and MHL chip Controller or USB chip are connected.For example, when No. 2 pins in the face A and No. 3 pins pass through high-speed switches and MHL chip controller Difference video-audio signal it is negative when being just connected with difference video-audio signal, the signal of transmission is difference video-audio signal.No. 2 when the face B are drawn Foot and No. 3 pins by high-speed switches with the differential data line of USB chip is born and differential data line is just connected when, the letter of transmission Number be differential data signals.Wherein, differential signal is signal of the transmission on two data lines, the two signal amplitudes are equal, Opposite in phase.
The embodiment of the invention provides a kind of methods of interface configuration, touch to the metal pins of data interface socket and plug Point is modified, and the data line other side of connection plug is designed to that one can access USB device and MHL equipment simultaneously Y-track.Realize while supporting USB and MHL function, and interface is regardless of front and back sides, it is user-friendly.
Embodiment two
The embodiment of the present invention provides a kind of method of interface configuration combined with Figure 1 and Figure 2, for working as the plug of interface arrangement While being inserted into socket, after the one of interface of the Y-track of data line first identifies the first access device of insertion, another is connect Mouth is inserted into the second access device.When the equipment of identification insertion is USB or MHL, for convenience, referring to Fig. 3, the present invention Embodiment is using the face A as the first inserting surface, using the face B as being illustrated for the second inserting surface.As shown in fig. 6, the method May include:
S201, when the access of the second access device, the power-supply controller of electric of the energization pins of the second inserting surface to terminal device Send access signal.
It should be noted that when the Y-track second interface of the second access device insertion data line, the corresponding B of socket The pin of face 1 sends access signal to the power-supply controller of electric of terminal device.
After receiving the access signal that No. 1 pin in the face B is sent to power-supply controller of electric, the power-supply controller of electric of terminal device is examined The access of the second access device is measured, sends interrupt requests to CPU.
When the first access device and the second access device are successively inserted into the two sides of socket, and two kinds of access devices make simultaneously Used time, CPU will first judge the type of the first access device.
S202, according to the device type of first access device, the access device type of second inserting surface indicates The second signal that pin and piece select controller to forward is connected.
Specifically, include step S2021 and S2022 referring to Fig. 7, step S202:
If S2021, first access device have been identified as USB device, the access device of second inserting surface Type indicates that pin selects the order of controller and MHL chip controller to transmit signal and connects by piece.
The CPU of terminal device sends bind command to MHL chip controller, selects controller to connect the control of MHL chip by piece No. 4 pins of order the transmission signal and the face B of device processed.
Due to having determined that the first access device is USB device, at this point, the connection status of the first inserting surface is the first insertion The access device type instruction pin in face selects controller and USB chip to eat dishes without rice or wine to be connected by piece, therefore the second access device It can be MHL equipment.Here it selects the order of controller and MHL chip controller to transmit signal by piece No. 4 pins in the face B to connect It is logical, for judging whether the type of the second access device is MHL equipment.
If S2022, first access device have been identified as MHL equipment, the access device of second inserting surface Type indicates that pin selects the signal of eating dishes without rice or wine of controller and USB chip to connect by piece.
Since the first access device is identified as MHL equipment, at this point, the connection status of the first inserting surface is the first inserting surface Access device type indicates that pin selects controller to transmit signal with the order of MHL chip controller and is connected by piece, therefore second Access device is only USB device.Select controller and USB chip to eat dishes without rice or wine to connect by piece No. 4 pins in the face B, to B here Whether the device type in face is that USB device is identified.
S203, indicate that described that pin receives is selected controller to turn according to the access device type of second inserting surface The second signal state of hair identifies the device type of second access device, determines the working condition of second inserting surface.
Specifically, include step S2031 and S2032 referring to Fig. 8, step S203:
S2031, second inserting surface access device type instruction pin the controller reception MHL core is selected by piece Signal condition is transmitted in the order of piece controller, determines the working condition of second inserting surface.
No. 4 pins in the face B are hanging according to the order of MHL chip controller transmission signal condition or voltage is pulled low, The working condition for judging the face B is MHL working condition or can not identify.
Specifically, include step S20311 to S20314 referring to Fig. 9, step S2031:
S20311, it is selected described in controller receives by piece when the access device type instruction pin of second inserting surface The order transmission signal of MHL chip controller is hanging, and the access device type instruction pin of second inserting surface disconnects and MHL The connection of the order transmission signal of chip controller.
The order transmission signal of MHL chip controller is sky, then No. 4 pins in the face B keep high level.It connects due to first Enter equipment and be identified as USB device, therefore the second equipment recognition failures, disconnects No. 4 pins and MHL chip controller in the face B Order transmission signal connection.
S20312, it is selected described in controller receives by piece when the access device type instruction pin of second inserting surface The voltage of the order transmission signal of MHL chip controller is pulled low, and the pull down resistor of the order transmission signal is 1K Ω When, if confirmation second access device is MHL equipment, second inserting surface enters MHL working condition.
If the pull down resistor of order transmission signal is 1K Ω, handshake procedure is opened, passes through the second access of handshake procedure confirmation Whether equipment is MHL equipment.
If the second access device is MHL equipment, piece selects controller to continue to connect the order transmission letter of MHL chip controller Connection status is changed to MHL state by No. 4 pins number with the face B, USB switch, and the face B is used as MHL equipment.
S20313, it is selected described in controller receives by piece when the access device type instruction pin of second inserting surface The voltage of the order transmission signal of MHL chip controller is pulled low, and the pull down resistor of the order transmission signal is 1K Ω When, if confirmation second access device is not MHL equipment, the second access device recognition failures.
If determining the second access device not by handshake procedure is MHL equipment, USB switch keeps original state not Become, the inserting surface of access device rests on the side USB of default at this time, and equipment can not identify.
S20314, it is selected described in controller receives by piece when the access device type instruction pin of second inserting surface The voltage of the order transmission signal of MHL chip controller is pulled low, and the pull down resistor of the order transmission signal is not 1K When Ω, the second access device recognition failures.
Since the first access device has been identified as USB device, the second access device can only be identified as MHL equipment. Under the above conditions, the second access device cannot be identified as MHL equipment, therefore the second access device recognition failures.
S2032, second inserting surface access device type instruction pin the controller reception USB core is selected by piece The signal of eating dishes without rice or wine of piece identifies the device type of second access device, determines the work shape of second inserting surface State.
When No. 4 pins in the face B receive USB chip eat dishes without rice or wine signal after the second access device of Direct Recognition type whether It is USB device, if the second inserting surface identifies successfully USB device, thens follow the steps S20321;If the second inserting surface sets USB Standby identification is unsuccessful, thens follow the steps S20322.
Specifically, include step S20321 and S20322 referring to Figure 10, step S2032:
If S20321, second inserting surface identify successfully USB device, second inserting surface enters USB work State.
If B identifies that successfully the face B enters USB working condition in face of USB device.The face A access device is MHL at this time Equipment, the face B access device are USB device.
If S20322, second inserting surface identify unsuccessful, the access device of second inserting surface to USB device Type indicates that pin disconnects the connection with USB chip.
If B faces USB device, identification is unsuccessful, only first access device in the face A, i.e., only the face A works in MHL State.
It should be noted that the face A of socket or No. 2 pins in the face B and No. 3 pins pass through high-speed switches and the control of MHL chip Device or USB chip processed is connected.For example, when No. 2 pins in the face A and No. 3 pins pass through high-speed switches and MHL chip controller Difference video-audio signal is negative when being just connected with difference video-audio signal, and the signal of transmission is difference video-audio signal.When No. 2 pins in the face B It is born with No. 3 pins by high-speed switches and the differential data line of USB chip and when differential data line is just connected, the signal of transmission For differential data signals.Wherein, differential signal is signal of the transmission on two data lines, the two signal amplitudes are equal, phase Position is opposite.
The embodiment of the invention provides a kind of methods of interface configuration, touch to the metal pins of data interface socket and plug Point is modified, and the data line other side of connection plug is designed to that one can access USB device and MHL equipment simultaneously Y-track.Realize while supporting USB and MHL function, and interface is regardless of front and back sides, it is user-friendly.
Embodiment three
The embodiment of the present invention provides a kind of method of interface configuration combined with Figure 1 and Figure 2, for working as the plug of interface arrangement While being inserted into socket, two interfaces of Y-track of data line are inserted into the first access device and the second access device simultaneously.Knowing When the equipment not being inserted into is USB or MHL, for convenience, referring to Fig. 3, the embodiment of the present invention is using the face A as the first insertion Face, using the face B as being illustrated for the second inserting surface.As shown in figure 11, the method may include:
S301, when the first access device and the second access device access simultaneously, first inserting surface and the second insertion The energization pins in face send access signal to the power-supply controller of electric of terminal device.
It is connect it should be noted that working as Y-track two that the first access device is inserted into data line with the second access device simultaneously When mouth, No. 1 pin in the corresponding face A of socket and the face B sends access signal to the power-supply controller of electric of terminal device.
After receiving the access signal that No. 1 pin in the face A and the face B is sent to power-supply controller of electric, the power supply control of terminal device Device processed detects the first access device and the access of the second access device, sends interrupt requests to CPU.
First access device and the second access device are inserted into socket simultaneously, and CPU needs to judge the access style in the face A and the face B.
S302, the first signal that the access device type instruction pin of first inserting surface selects controller to forward with piece connect It is logical.
When CPU judges the device type of access device, controller is selected first to carry out to the device type in the face A by piece Identification.
S303, first inserting surface access device type instruction pin receiving sheet select controller forward the first signal State identifies the device type of first access device, determines the working condition of first inserting surface.
Specifically, include step S3031 to S3034 referring to Figure 12, step S303:
S3031, first inserting surface access device type instruction pin the controller reception MHL core is selected by piece Signal condition is transmitted in the order of piece controller, determines the first access device type of first inserting surface.
Judge that the first access device type step in the face A is identical as the step S1021 to S1024 in embodiment one, here It repeats no more.
S3032, when the first access device type identification of the first inserting surface be USB device when, disconnect it is described first insertion The connection of the order transmission signal of the access device type instruction pin and MHL chip controller in face.
Since the access device type in the face A has been identified as USB device, it is therefore desirable to disconnect No. 4 pins and MHL in the face A The connection of the order transmission signal of chip controller, allows the face A to prepare to connect with USB chip.
S3033, first inserting surface access device type instruction pin the sky of controller Yu USB chip is selected by piece Mouth is connected, and first inserting surface enters USB working condition.
When No. 4 pins in the face A select controller and when eating dishes without rice or wine to connect of USB chip by piece, A just accesses USB device in face, into Enter USB working condition.At this point, the face B can only operate in MHL state.
S3034, when the access device type identification of first inserting surface be MHL equipment when, keep it is described first insertion Face access device type instruction pin and the MHL chip controller order transmission signal connection, the first inserting surface into Enter MHL working condition.
If the access device type in the face A has been identified as MHL equipment, the face A enters MHL working condition.At this point, the face B Second access device is only USB device.
S304, according to the device type of first access device, the access device type of second inserting surface indicates The second signal that pin and piece select controller to forward is connected.
Specifically, include step S3041 to S3042 referring to Figure 13, step S304:
S3041, when the first access device type identification be USB device when, the access device of second inserting surface Type indicates that pin selects the order of controller and the MHL chip controller to transmit signal and connects by piece.
After in the face A, confirmation access device is USB device, No. 4 pins in the face B select controller and the control of MHL chip by piece The order transmission signal of device processed is connected, and whether the access device in the face B is MHL equipment for identification.
S3042, when the access device type identification of first inserting surface be MHL equipment when, second inserting surface Access device type instruction pin selects the order of controller and USB chip to eat dishes without rice or wine signal connection by piece.
The device type in the face B is judged.Since second access device in the face B is only USB device, the 4 of the face B Number pin selects the order of controller and USB chip to eat dishes without rice or wine to connect by piece, judges whether second access device in the face B is that USB is set It is standby.
S305, indicate that described that pin receives is selected controller to turn according to the access device type of second inserting surface The second signal state of hair identifies the device type of second access device, determines the working condition of second inserting surface.
Specifically, include step S3051 to S3052 referring to Figure 14, step S305:
S3051, second inserting surface access device type instruction pin the controller reception MHL core is selected by piece Signal condition is transmitted in the order of piece controller, determines the working condition of second inserting surface.
No. 4 pins in the face B are hanging according to the order of MHL chip controller transmission signal condition or voltage is pulled low, The working condition for judging the face B is MHL working condition or can not identify.
Here step S3051 concrete implementation process is identical as step S20311 to S20314, and the embodiment of the present invention is no longer It repeats.
S3052, second inserting surface access device type instruction pin the controller reception USB core is selected by piece The signal of eating dishes without rice or wine of piece identifies the second access device type, determines the working condition of second inserting surface.
Here step S3052 concrete implementation process is identical as step S20321 to S20322, and the embodiment of the present invention is no longer It repeats.
It should be noted that the face A of socket or No. 2 pins in the face B and No. 3 pins pass through high-speed switches and the control of MHL chip Device or USB chip processed is connected.For example, when No. 2 pins in the face A and No. 3 pins pass through high-speed switches and MHL chip controller Difference video-audio signal is negative when being just connected with difference video-audio signal, and the signal of transmission is difference video-audio signal.When No. 2 pins in the face B It is born with No. 3 pins by high-speed switches and the differential data line of USB chip and when differential data line is just connected, the signal of transmission For differential data signals.Wherein, differential signal is signal of the transmission on two data lines, the two signal amplitudes are equal, phase Position is opposite.
The embodiment of the invention provides a kind of methods of interface configuration, touch to the metal pins of data interface socket and plug Point is modified, and the data line other side of connection plug is designed to that one can access USB device and MHL equipment simultaneously Y-track.Realize while supporting USB and MHL function, and interface is regardless of front and back sides, it is user-friendly.
Example IV
Referring to Figure 15, it illustrates the embodiment of the present invention to provide a kind of device 15 of interface configuration.As shown in Figure 1, described The socket part of interface configuration apparatus includes two inserting surfaces in rotating mirror-image, and two inserting surfaces include energization pins and connect Enter device type instruction pin.The energization pins that socket part number is 1 in 1501 corresponding diagram 1 of sending module in Figure 15, figure The access device type that socket part number is 4 in 1502 corresponding diagram 1 of processing module in 15 indicates pin, the interface configuration Device include: sending module 1501 and processing module 1502;Wherein,
The sending module 1501, for when access device access, any power supply of the insertion towards terminal device to be controlled Device sends access signal;
The processing module 1502, the signal for selecting controller to forward for any inserting surface and piece are connected;
And the signal shape that the piece connecting with the socket selects controller to be forwarded is received according to any inserting surface State identifies the device type of the access device, determines the working condition of any inserting surface.
In above scheme, the processing module 1502, for selecting controller to receive by piece when first inserting surface The order transmission signal condition of the MHL chip controller is hanging, and first access device is identified as USB device, and described the One inserting surface enters the first USB working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is MHL equipment, then first inserting surface enters MHL working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is not MHL equipment, then equipment recognition failures;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, first access device It is identified as USB device, first inserting surface enters the 2nd USB working condition.
In above scheme, the sending module 1501, for when the access of the second access device, second to be inserted into terminaloriented The power-supply controller of electric of equipment sends access signal;
The processing module 1502, for the device type according to first access device, second inserting surface with The second signal that piece selects controller to forward is connected;
And the second signal state of controller forwarding is selected according to described that second inserting surface receives, identification The device type of second access device determines the working condition of second inserting surface.
In above scheme, the processing module 1502, if being identified as USB device for first access device, Then second inserting surface selects the order of controller and MHL chip controller to transmit signal and connects by piece;
And if first access device has been identified as MHL equipment, second inserting surface passes through piece selected control system The signal connection of eating dishes without rice or wine of device and USB chip.
In above scheme, the processing module 1502 is selected described in controller reception for second inserting surface by piece Signal condition is transmitted in the order of MHL chip controller, determines the working condition of second inserting surface;
And second inserting surface selects controller to receive the signal of eating dishes without rice or wine of the USB chip by piece, to described second The device type of access device is identified, determines the working condition of second inserting surface.
In above scheme, the processing module 1502, for selecting controller to receive by piece when second inserting surface The order transmission signal of the MHL chip controller is hanging, and the access device type instruction pin of second inserting surface disconnects With the connection of the order transmission signal of MHL chip controller;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is MHL equipment, then second inserting surface enters MHL working condition;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is not MHL equipment, then the second access device recognition failures;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and the pull down resistor of the order transmission signal, when not being 1K Ω, second access device is known Do not fail.
In above scheme, the processing module 1502, if being identified successfully for second inserting surface to USB device, Second inserting surface enters USB working condition;
And if second inserting surface identifies unsuccessful, the access device class of second inserting surface to USB device Type indicates that pin disconnects the connection with USB chip.
In above scheme, the sending module 1501, for being accessed simultaneously when the first access device with the second access device When, first inserting surface and the second power-supply controller of electric of the insertion towards terminal device send access signal;
The processing module 1502, the first signal for selecting controller to forward for first inserting surface and piece are connected;
And the first signal condition that the first inserting surface receiving sheet selects controller to forward, identify first access The device type of equipment determines the working condition of first inserting surface;
And the device type according to first access device, second inserting surface and piece select controller to forward Second signal is connected;
And the second signal state of controller forwarding is selected according to described that second inserting surface receives, identification The device type of second access device determines the working condition of second inserting surface.
In above scheme, the processing module 1502 is selected described in controller reception for first inserting surface by piece Signal condition is transmitted in the order of MHL chip controller, determines the first access device type of first inserting surface;
And when the first access device type identification of first inserting surface is USB device, disconnects described first and insert Enter the connection of the order transmission signal of face and the MHL chip controller;
And first inserting surface selects controller and USB chip to eat dishes without rice or wine to connect by piece, first inserting surface into Enter USB working condition;
And when the access device type identification of first inserting surface is MHL equipment, keep first inserting surface With the connection of the order transmission signal of the MHL chip controller, first inserting surface enters MHL working condition.
In above scheme, the processing module 1502, for selecting controller to receive by piece when first inserting surface The order transmission signal condition of the MHL chip controller is hanging, and first access device is identified as USB device, and described the One inserting surface enters the first USB working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is MHL equipment, then first inserting surface enters MHL working condition;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access Equipment is not MHL equipment, then equipment recognition failures;
And when first inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller Signal condition voltage is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, first access device It is identified as USB device, first inserting surface enters the 2nd USB working condition.
In above scheme, the processing module 1502, for being USB device when the first access device type identification When, second inserting surface selects the order of controller and the MHL chip controller to transmit signal and connects by piece;
And when the access device type identification of first inserting surface is MHL equipment, second inserting surface passes through Piece selects the order of controller and USB chip to eat dishes without rice or wine signal connection.
In above scheme, the processing module 1502 is selected described in controller reception for second inserting surface by piece Signal condition is transmitted in the order of MHL chip controller, determines the working condition of second inserting surface;
And select controller to receive the signal of eating dishes without rice or wine of the USB chip by piece for second inserting surface, to described Second access device type is identified, determines the working condition of second inserting surface.
In above scheme, the processing module 1502, for selecting controller to receive by piece when second inserting surface The order transmission signal of MHL chip controller is hanging, and second inserting surface, which disconnects the order with MHL chip controller and transmits, to be believed Number connection;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is MHL equipment, then second inserting surface enters MHL working condition;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation it is described second access set Standby is not MHL equipment, then the second access device recognition failures;
And when second inserting surface is transmitted by the order that piece selects controller to receive the MHL chip controller The voltage of signal is pulled low, and the pull down resistor of the order transmission signal, when not being 1K Ω, second access device is known Do not fail.
In above scheme, the processing module 1502, if being identified successfully for second inserting surface to USB device, Second inserting surface enters USB working condition;
And if second inserting surface identifies unsuccessful, the access device class of second inserting surface to USB device Type indicates that pin disconnects the connection with USB chip.
Specifically, the device description of interface configuration provided in an embodiment of the present invention can be with reference implementation example one to embodiment three Interface configuration method explanation, details are not described herein for the embodiment of the present invention.
In practical applications, the device 15 that the sending module 1501, processing module 1502 can be configured by being located at interface In central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realize.
The embodiment of the invention provides a kind of method and apparatus of interface configuration, to the metal of data interface socket and plug Pin contacts are modified, and the data line other side of connection plug is designed to that one can access USB device and MHL simultaneously The Y-track of equipment.Realize while supporting USB and MHL function, and interface is regardless of front and back sides, it is user-friendly.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (26)

1. a kind of method of interface configuration, which is characterized in that the method is applied to the socket part of interface configuration apparatus, described Socket part includes two inserting surfaces in rotating mirror-image, and two inserting surfaces include energization pins and the instruction of access device type Pin, which comprises
When access device access, the energization pins of any inserting surface send access signal to the power-supply controller of electric of terminal device;
Indicate that pin receives the piece connecting with the socket and selects controller according to the access device type of any inserting surface The signal condition forwarded identifies the device type of the access device, determines the working condition of any inserting surface, In, the working condition is USB working condition or MHL working condition;
When the second access device accesses the other one side of any inserting surface, and the other one side of any inserting surface is second When inserting surface, after the device type of the first access device of the identification, further includes:
When the access of the second access device, the energization pins of the second inserting surface send access letter to the power-supply controller of electric of terminal device Number;
According to the device type of first access device, the access device type instruction pin and piece of second inserting surface are selected The second signal of controller forwarding is connected;
Described received according to the access device type of second inserting surface instruction pin selects the second of controller forwarding Signal condition identifies the device type of second access device, determines the working condition of second inserting surface.
2. any inserting surface is accessed the method according to claim 1, wherein working as and only having the first access device, and And any inserting surface be the first inserting surface when, it is described according to the access device type of any inserting surface indicate pin connect The signal condition that the piece connecting with the socket selects controller to be forwarded is received, identifies the device type of the access device, really The working condition of fixed any inserting surface, comprising:
When the access device type instruction pin of first inserting surface selects controller to receive MHL chip controller by piece Order transmission signal condition is hanging, and first access device is identified as USB device, and first inserting surface enters the first USB Working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition voltage of device is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation First access device is MHL equipment, then first inserting surface enters MHL working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition voltage of device is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation First access device is not MHL equipment, then equipment recognition failures;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition voltage of device is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, described First access device is identified as USB device, and first inserting surface enters the 2nd USB working condition.
3. the method according to claim 1, wherein the device type according to first access device, The second signal that the access device type instruction pin and piece of second inserting surface select controller to forward is connected, comprising:
If first access device has been identified as USB device, the access device type instruction of second inserting surface is drawn Foot selects the order of controller and MHL chip controller to transmit signal and connects by piece;
If first access device has been identified as MHL equipment, the access device type instruction of second inserting surface is drawn Foot selects the signal of eating dishes without rice or wine of controller and USB chip to connect by piece.
4. the method according to claim 1, wherein the access device type according to second inserting surface It indicates described that pin the receives second signal state for selecting controller to forward, identifies the equipment class of second access device Type determines the working condition of second inserting surface, comprising:
The access device type instruction pin of second inserting surface selects the order of controller reception MHL chip controller by piece Signal condition is transmitted, determines the working condition of second inserting surface;
The access device type instruction pin of second inserting surface selects the signal of eating dishes without rice or wine of controller reception USB chip by piece, The device type of second access device is identified, determines the working condition of second inserting surface.
5. according to the method described in claim 4, it is characterized in that, the access device type of second inserting surface indicates pin Signal condition is transmitted by the order that piece selects controller to receive the MHL chip controller, determines the work of second inserting surface Make state, comprising:
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal of device is hanging, and the access device type instruction pin of second inserting surface disconnects and MHL chip controller Order transmission signal connection;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece Device order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation institute Stating the second access device is MHL equipment, then second inserting surface enters MHL working condition;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece Device order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation institute Stating the second access device not is MHL equipment, then the second access device recognition failures;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece The voltage of the order transmission signal of device is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, and described the Two access device recognition failures.
6. according to the method described in claim 4, it is characterized in that, the access device type of second inserting surface indicates pin It selects controller to receive the signal of eating dishes without rice or wine of the USB chip by piece, the second access device type is identified, determines institute State the working condition of the second inserting surface, comprising:
If second inserting surface identifies successfully USB device, second inserting surface enters USB working condition;
If second inserting surface is unsuccessful to USB device identification, the access device type instruction of second inserting surface is drawn Foot disconnects the connection with USB chip.
7. the method according to claim 1, wherein when the first access device accesses any surface, the second access is set The other one side of standby access any surface, and any surface is the first inserting surface, and the other one side of any surface is second When inserting surface, the method also includes:
When the first access device and the second access device access simultaneously, the power supply of first inserting surface and the second inserting surface is drawn Foot sends access signal to the power-supply controller of electric of terminal device;
The first signal that the access device type instruction pin and piece of first inserting surface select controller to forward is connected;
The first signal condition that the access device type instruction pin receiving sheet of first inserting surface selects controller to forward, identification The device type of first access device determines the working condition of first inserting surface;
According to the device type of first access device, the access device type instruction pin and piece of second inserting surface are selected The second signal of controller forwarding is connected;
Described received according to the access device type of second inserting surface instruction pin selects the second of controller forwarding Signal condition identifies the device type of second access device, determines the working condition of second inserting surface.
8. the method according to the description of claim 7 is characterized in that the access device type of first inserting surface indicates pin The first signal condition that receiving sheet selects controller to forward identifies the device type of first access device, determines described first The working condition of inserting surface, comprising:
The access device type instruction pin of first inserting surface selects the order of controller reception MHL chip controller by piece Signal condition is transmitted, determines the first access device type of first inserting surface;
When the first access device type identification of first inserting surface is USB device, connecing for first inserting surface is disconnected Enter the connection of the order transmission signal of device type instruction pin and the MHL chip controller;
The access device type instruction pin of first inserting surface selects controller and USB chip to eat dishes without rice or wine to connect by piece, institute It states the first inserting surface and enters USB working condition;
When the access device type identification of first inserting surface is MHL equipment, the access of first inserting surface is kept to set The connection of the order transmission signal of standby type instruction pin and the MHL chip controller, first inserting surface enter MHL work Make state.
9. according to the method described in claim 8, it is characterized in that, the access device type of first inserting surface indicates pin Signal condition is transmitted by the order that piece selects controller to receive the MHL chip controller, determines that the first of the first inserting surface connects Enter device type, comprising:
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition of device is hanging, and first access device is identified as USB device, and first inserting surface enters first USB working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition voltage of device is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation First access device is MHL equipment, then first inserting surface enters MHL working condition;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition voltage of device is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation First access device is not MHL equipment, then equipment recognition failures;
When the access device type instruction pin of first inserting surface selects controller to receive the MHL chip controls by piece The order transmission signal condition voltage of device is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, described First access device is identified as USB device, and first inserting surface enters the 2nd USB working condition.
10. the method according to the description of claim 7 is characterized in that the device type according to first access device, The second signal that the access device type instruction pin and piece of second inserting surface select controller to forward is connected, comprising:
When the first access device type identification is USB device, the access device type instruction of second inserting surface is drawn Foot selects the order of controller and MHL chip controller to transmit signal and connects by piece;
When the access device type identification of first inserting surface is MHL equipment, the access device class of second inserting surface Type instruction pin selects the order of controller and USB chip to eat dishes without rice or wine signal connection by piece.
11. the method according to the description of claim 7 is characterized in that being referred to according to the access device type of second inserting surface Show described that pin the receives second signal state for selecting controller to forward, identifies the equipment class of second access device Type determines the working condition of second inserting surface, comprising:
The access device type instruction pin of second inserting surface selects the order of controller reception MHL chip controller by piece Signal condition is transmitted, determines the working condition of second inserting surface;
The access device type instruction pin of second inserting surface selects the signal of eating dishes without rice or wine of controller reception USB chip by piece, The second access device type is identified, determines the working condition of second inserting surface.
12. according to the method for claim 11, which is characterized in that the access device type instruction of second inserting surface is drawn Foot transmits signal condition by the order that piece selects controller to receive the MHL chip controller, determines second inserting surface Working condition, comprising:
When the access device type instruction pin of second inserting surface selects controller to receive MHL chip controller by piece Order transmission signal is hanging, and the access device type instruction pin of second inserting surface disconnects the life with MHL chip controller Enable the connection of transmission signal;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece Device order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation institute Stating the second access device is MHL equipment, then second inserting surface enters MHL working condition;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece Device order transmission signal voltage be pulled low, and it is described order transmission signal pull down resistor be 1K Ω when, if confirmation institute Stating the second access device not is MHL equipment, then the second access device recognition failures;
When the access device type instruction pin of second inserting surface selects controller to receive the MHL chip controls by piece The voltage of the order transmission signal of device is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, and described the Two access device recognition failures.
13. according to the method for claim 11, which is characterized in that the access device type instruction of second inserting surface is drawn Foot selects controller to receive the signal of eating dishes without rice or wine of the USB chip by piece, identifies to the second access device type, described in determination The working condition of second inserting surface, comprising:
If second inserting surface identifies successfully USB device, second inserting surface enters USB working condition;
If second inserting surface is unsuccessful to USB device identification, the access device type instruction of second inserting surface is drawn Foot disconnects the connection with USB chip.
14. a kind of device of interface configuration, which is characterized in that described device includes: sending module and processing module;Wherein,
The sending module, for when access device access, power-supply controller of electric transmission of any insertion towards terminal device to be connect Enter signal;
The processing module, the signal for selecting controller to forward for any inserting surface and piece are connected;
And the signal condition that the piece connecting with socket selects controller to be forwarded is received according to any inserting surface, it identifies The device type of the access device determines the working condition of any inserting surface, wherein the working condition is USB work Make state or MHL working condition;
The sending module is also used to when the second access device accesses, the second power-supply controller of electric of the insertion towards terminal device Send access signal;
The processing module, is also used to the device type according to the first access device, and second inserting surface and piece select controller The second signal of forwarding is connected;
And the second signal state of controller forwarding is selected according to described that second inserting surface receives, described in identification The device type of second access device determines the working condition of second inserting surface.
15. device according to claim 14, which is characterized in that
The processing module, for being transmitted when the first inserting surface by the order that piece selects controller to receive MHL chip controller Signal condition is hanging, and the first access device is identified as USB device, and first inserting surface enters the first USB working condition;
And when first inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Of-state voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access device It is MHL equipment, then first inserting surface enters MHL working condition;
And when first inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Of-state voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access device It is not MHL equipment, then equipment recognition failures;
And when first inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Of-state voltage is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, the first access device identification For USB device, first inserting surface enters the 2nd USB working condition.
16. device according to claim 14, which is characterized in that
The processing module, if being identified as USB device for first access device, second inserting surface passes through Piece selects the order of controller and MHL chip controller transmission signal to connect;
And if first access device has been identified as MHL equipment, second inserting surface by piece select controller with The signal connection of eating dishes without rice or wine of USB chip.
17. device according to claim 14, which is characterized in that
The processing module is transmitted for second inserting surface by the order that piece selects controller to receive MHL chip controller Signal condition determines the working condition of second inserting surface;
And second inserting surface selects the signal of eating dishes without rice or wine of controller reception USB chip by piece, to second access device Device type identified, determine the working condition of second inserting surface.
18. device according to claim 17, which is characterized in that
The processing module, for selecting controller to receive the MHL chip controller by piece when second inserting surface Order transmission signal is hanging, and second inserting surface disconnects the connection with the order transmission signal of MHL chip controller;
And when second inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Voltage be pulled low, and when the pull down resistor of the order transmission signal is 1K Ω, if confirmation second access device is MHL equipment, then second inserting surface enters MHL working condition;
And when second inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Voltage be pulled low, and when the pull down resistor of the order transmission signal is 1K Ω, if confirmation second access device is not It is MHL equipment, then the second access device recognition failures;
And when second inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Voltage be pulled low, and the pull down resistor of the order transmission signal, when not being 1K Ω, the second access device identification is lost It loses.
19. device according to claim 17, which is characterized in that
The processing module, if identifying successfully for second inserting surface to USB device, second inserting surface enters USB working condition;
And if second inserting surface identifies unsuccessful, the second inserting surface disconnection and USB chip to USB device Connection.
20. device according to claim 14, which is characterized in that
The sending module, for when the first access device and the second access device access simultaneously, the first inserting surface and second It is inserted into the power-supply controller of electric towards terminal device and sends access signal;
The processing module, the first signal for selecting controller to forward for first inserting surface and piece are connected;
And the first signal condition that the first inserting surface receiving sheet selects controller to forward, identify first access device Device type, determine the working condition of first inserting surface;
And the device type according to first access device, second inserting surface and piece select the second of controller forwarding Signal is connected;
And the second signal state of controller forwarding is selected according to described that second inserting surface receives, described in identification The device type of second access device determines the working condition of second inserting surface.
21. device according to claim 20, which is characterized in that
The processing module is transmitted for first inserting surface by the order that piece selects controller to receive MHL chip controller Signal condition determines the first access device type of first inserting surface;
And when the first access device type identification of first inserting surface is USB device, disconnect first inserting surface With the connection of the order transmission signal of the MHL chip controller;
And first inserting surface selects controller and USB chip to eat dishes without rice or wine to connect by piece, first inserting surface enters USB working condition;
And when the access device type identification of first inserting surface is MHL equipment, keep first inserting surface and institute The connection of the order transmission signal of MHL chip controller is stated, first inserting surface enters MHL working condition.
22. device according to claim 21, which is characterized in that
The processing module, for selecting controller to receive the MHL chip controller by piece when first inserting surface Order transmission signal condition is hanging, and first access device is identified as USB device, and first inserting surface enters the first USB Working condition;
And when first inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Of-state voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access device It is MHL equipment, then first inserting surface enters MHL working condition;
And when first inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Of-state voltage is pulled low, and the pull down resistor of the order transmission signal is when being 1K Ω, if confirmation first access device It is not MHL equipment, then equipment recognition failures;
And when first inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Of-state voltage is pulled low, and the pull down resistor of the order transmission signal is not when being 1K Ω, the first access device identification For USB device, first inserting surface enters the 2nd USB working condition.
23. device according to claim 20, which is characterized in that
The processing module, for when the first access device type identification is USB device, second inserting surface to pass through Piece selects the order of controller and MHL chip controller transmission signal to connect;
And when the access device type identification of first inserting surface is MHL equipment, second inserting surface is selected by piece The order of controller and USB chip is eated dishes without rice or wine signal connection.
24. device according to claim 20, which is characterized in that
The processing module is transmitted for second inserting surface by the order that piece selects controller to receive MHL chip controller Signal condition determines the working condition of second inserting surface;
And the access device type instruction pin of second inserting surface selects controller to receive eating dishes without rice or wine for USB chip by piece Signal identifies the second access device type, determines the working condition of second inserting surface.
25. device according to claim 24, which is characterized in that
The processing module, the order for selecting controller to receive MHL chip controller by piece for working as second inserting surface Transmission signal is hanging, and second inserting surface disconnects the connection with the order transmission signal of MHL chip controller;
And when second inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Voltage be pulled low, and when the pull down resistor of the order transmission signal is 1K Ω, if confirmation second access device is MHL equipment, then second inserting surface enters MHL working condition;
And when second inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Voltage be pulled low, and when the pull down resistor of the order transmission signal is 1K Ω, if confirmation second access device is not It is MHL equipment, then the second access device recognition failures;
And when second inserting surface transmits signal by the order that piece selects controller to receive the MHL chip controller Voltage be pulled low, and the pull down resistor of the order transmission signal, when not being 1K Ω, the second access device identification is lost It loses.
26. device according to claim 24, which is characterized in that
The processing module, if identifying successfully for second inserting surface to USB device, second inserting surface enters USB working condition;
And if second inserting surface is unsuccessful to USB device identification, the access device type of second inserting surface refers to Show that pin disconnects the connection with USB chip.
CN201610259589.6A 2016-04-22 2016-04-22 A kind of method and apparatus of 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 A kind of method and apparatus of 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 A kind of method and apparatus of 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 A kind of method and apparatus of interface configuration

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158335B (en) * 2019-11-19 2021-08-20 潍柴动力股份有限公司 Stitch function matching method of multi-ECU system and storage medium

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 kind of novel 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 东莞铭基电子科技集团有限公司 Take HDMI signal converter of connecting wire
CN205029143U (en) * 2015-08-05 2016-02-10 庄忆芳 USBType -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
CN204179435U (en) There is the enlargement module of USB C-Type connector
US20110191503A1 (en) Motherboard Compatible with Multiple Versions of Universal Serial Bus (USB) and Related Method
CN107111588A (en) The data transfer of PCIe protocol is used via USB port
WO2017113683A1 (en) Usb data line comprising extension interface and control method thereof
EP2659549B1 (en) Adaptive interconnection scheme for multimedia devices
US9990328B2 (en) Increased data flow in universal serial bus (USB) cables
US10127178B2 (en) Coupling system for electronic device
JP2013541742A (en) Dynamic multilink editing partitioning system and method
CN105335311A (en) Portable electronic device and power management method
US9148001B1 (en) Intelligent cable mechanism
US10380049B2 (en) Multi-host supported universal serial bus hub and automobile head unit using the same
TWM485441U (en) USB server
TW201201023A (en) Inter-Integrated Circuit device communication circuit
CN102193503A (en) Industrial control mainboard and method thereof for identifying external device
CN108563594B (en) Data transmission method and device and USB adapter
CN107306000B (en) A kind of method and apparatus of interface configuration
US10007326B2 (en) Power supply system for electronic device
CN218825507U (en) Dual-interface device and projection equipment
US20140177878A1 (en) Interface switching system and method for switching operation mode
US10120821B2 (en) Coupling system for electronic device
US20170220512A1 (en) Electronic device coupling system
TW201901463A (en) Usb interface circuit and usb device
US20170220096A1 (en) Power supply system for electronic device
US20170220513A1 (en) Electronic device coupling system
US20170220514A1 (en) Coupling system for electronic device

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