[go: up one dir, main page]

CN105703185B - Method for transmitting signals, device and adapter - Google Patents

Method for transmitting signals, device and adapter Download PDF

Info

Publication number
CN105703185B
CN105703185B CN201610090306.XA CN201610090306A CN105703185B CN 105703185 B CN105703185 B CN 105703185B CN 201610090306 A CN201610090306 A CN 201610090306A CN 105703185 B CN105703185 B CN 105703185B
Authority
CN
China
Prior art keywords
interface
type
usb type
serial bus
sockets
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
CN201610090306.XA
Other languages
Chinese (zh)
Other versions
CN105703185A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610090306.XA priority Critical patent/CN105703185B/en
Publication of CN105703185A publication Critical patent/CN105703185A/en
Application granted granted Critical
Publication of CN105703185B publication Critical patent/CN105703185B/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
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • H01R31/06Intermediate parts for linking two coupling parts, e.g. adapter
    • H01R31/065Intermediate parts for linking two coupling parts, e.g. adapter with built-in electric apparatus
    • 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/6675Structural association with built-in electrical component with built-in electronic circuit with built-in power supply
    • 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/6683Structural association with built-in electrical component with built-in electronic circuit with built-in sensor
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R27/00Coupling parts adapted for co-operation with two or more dissimilar counterparts

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Telephone Function (AREA)
  • Headphones And Earphones (AREA)

Abstract

The disclosure is directed to a kind of method for transmitting signals, device and adapter.This method includes:When detecting access connecting line on the adapter being connected with terminal, determine the interface type of the connecting line connection, wherein, the terminal is provided with c-type general-purpose serial bus USB Type C sockets, the adapter is provided with the USB Type C plugs with USB Type C sockets pairing, and the interface type of the USB Type C sockets includes earphone interface and micro universal serial bus interface;Interface function corresponding with the interface type is performed by the connecting line.The technical scheme make user only need in terminal connecting adapter, the function of earphone interface and micro universal serial bus interface can be achieved, without buying special USB Type C interface connecting lines, while the earphone interface of exterior of terminal is eliminated, the profile of terminal simplified and attractive in appearance.

Description

Method for transmitting signals, device and adapter
Technical field
This disclosure relates to communication technical field, more particularly to a kind of method for transmitting signals, device and adapter.
Background technology
In correlation technique, USB (Universal Serial Bus, USB) Type-C interfaces obtain in recent years Extensive support is arrived, numerous manufacturers are all proposed USB Type-C interface products, and especially more money mobile phones or computer all start USB Type-C interfaces are supported, for example, the Macbook series of apple only provides a USB Type-C interface.But USB On Type-C interfaces in addition to power supply and detection pin, go back and include USB2.0 and USB3.0 signal pins simultaneously, and current mobile phone USB2.0 is only supported mostly, without supporting USB3.0, this results in the wave of the USB3.0 signal pins on USB Type-C interfaces Take.
The content of the invention
The embodiment of the present disclosure provides a kind of method for transmitting signals, device and adapter.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for transmitting signals, including:
When detecting access connecting line on the adapter being connected with terminal, the interface class of the connecting line connection is determined Type, wherein, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with and the USB The USB Type-C plugs of Type-C sockets pairing, the interface type of the USB Type-C sockets include earphone interface With micro universal serial bus interface, the adapter also includes and earphone interface is direct-connected in the USB Type-C plugs is used for The earphone interface of external connecting wire, and it is direct-connected for external with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface of connecting line;
Interface function corresponding with the interface type is performed by the connecting line.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal, by determining the interface type of connecting line access on adapter, and perform and interface type pair The interface function answered so that the USB Type-C sockets in terminal can be converted to earphone interface or miniature logical by adapter With serial bus interface so that user only need in terminal connecting adapter, you can realize earphone interface and micro universal string The function of row bus interface, without buying special USB Type-C interface connecting lines, while eliminate the ear of exterior of terminal Machine interface, the profile of terminal simplified and attractive in appearance.
In one embodiment, the interface type for determining the connecting line connection, including:
By detecting the earphone interface in the USB Type-C sockets, being used for outside for the USB Type-C plugs is determined Whether the earphone interface of wiring is connected with connecting line in succession;
When determining that the earphone interface for external connecting wire of the USB Type-C plugs is connected with connecting line, institute is determined The interface type for stating connecting line connection is the earphone interface.
The embodiment determines the interface type of connecting line connection by detecting the earphone interface in USB Type-C sockets For earphone interface, and perform when it is determined that interface type is earphone interface the function of earphone interface so that the USB in terminal The function of earphone interface can be achieved by connecting adapter for Type-C sockets, so as to eliminate the earphone interface of exterior of terminal, The profile of terminal simplified and attractive in appearance, and the vacant pin on USB Type-C interfaces is taken full advantage of, avoid the wave of vacant pin Take.
In one embodiment, the interface type for determining the connecting line connection, including:
By detecting the micro universal serial bus interface in the USB Type-C sockets, the USB Type-C are determined Whether the micro universal serial bus interface for external connecting wire of plug is connected with connecting line;
Determine the micro universal serial bus interface and connecting line for external connecting wire of the USB Type-C plugs During connection, the interface type for determining the connecting line connection is the micro universal serial bus interface.
The embodiment determines interface type by detecting the micro universal serial bus interface in USB Type-C sockets For micro universal serial bus interface, and micro universal string is performed when it is determined that interface type is micro universal serial bus interface The function of row bus interface so that it is serial that micro universal can be achieved by connecting adapter for the USB Type-C sockets in terminal The function of EBI.
In one embodiment, ear is defined by being multiplexed the USB3.0 signal pins of the USB Type-C sockets Machine interface.
In the embodiment, earphone interface is defined by the USB3.0 signal pins of multiplexing USB Type-C sockets, Enable the pin being redefined to realize the function of earphone interface, so as to not only take full advantage of USB Type-C sockets/ Vacant pin on plug, and the earphone interface of exterior of terminal is eliminated, the profile of terminal simplified and attractive in appearance.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of signal transmitting apparatus, including:
Determining module, for when detecting access connecting line on the adapter being connected with terminal, determining the connecting line The interface type of connection, wherein, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, on the adapter Provided with the USB Type-C plugs matched with the USB Type-C sockets, the interface class of the USB Type-C sockets Type includes earphone interface and micro universal serial bus interface, and the adapter also includes and the USB Type-C plug middle ear The direct-connected earphone interface for external connecting wire of machine interface, and connect with micro universal serial bus in the USB Type-C plugs The direct-connected micro universal serial bus interface for external connecting wire of mouth;
Execution module, for performing interface corresponding with the interface type of determining module determination by the connecting line Function.
In one embodiment, the determining module includes:
First detection sub-module, for by detecting the earphone interface in the USB Type-C sockets, determining the USB Whether the earphone interface for external connecting wire of Type-C plugs is connected with connecting line;
First determination sub-module, for first detection sub-module determine the USB Type-C plugs be used for it is external When the earphone interface of connecting line is connected with connecting line, the interface type for determining the connecting line connection is the earphone interface.
In one embodiment, the determining module includes:
Second detection sub-module, for being connect by detecting the micro universal serial bus in the USB Type-C sockets Mouthful, determine whether the micro universal serial bus interface for external connecting wire of the USB Type-C plugs connects with connecting line Connect;
Second determination sub-module, for second detection sub-module determine the USB Type-C plugs be used for it is external When the micro universal serial bus interface of connecting line is connected with connecting line, determine that the interface type of the connecting line connection is described Micro universal serial bus interface.
In one embodiment, ear is defined by being multiplexed the USB3.0 signal pins of the USB Type-C sockets Machine interface.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of adapter, including:
C-type general-purpose serial bus USB Type-C plugs, connected for being matched with the USB Type-C sockets in terminal, institute Stating the interface type of USB Type-C sockets includes earphone interface and micro universal serial bus interface;
With the direct-connected earphone interface for external connecting wire of earphone interface in the USB Type-C plugs;With the USB The direct-connected micro universal serial bus interface for external connecting wire of micro universal serial bus interface in Type-C plugs.
In one embodiment, ear is defined by being multiplexed the USB3.0 signal pins of the USB Type-C sockets Machine interface.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of signal transmitting apparatus, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When detecting access connecting line on the adapter being connected with terminal, the interface class of the connecting line connection is determined Type, wherein, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with and the USB The USB Type-C plugs of Type-C sockets pairing, the interface type of the USB Type-C sockets include earphone interface With micro universal serial bus interface, the adapter also includes and earphone interface is direct-connected in the USB Type-C plugs is used for The earphone interface of external connecting wire, and it is direct-connected for external with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface of connecting line;
Signal corresponding with the interface type is transmitted by the connecting line.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of method for transmitting signals according to an exemplary embodiment.
Fig. 2 is the flow chart of step S12 in a kind of method for transmitting signals according to an exemplary embodiment.
Fig. 2 (a) is the flow chart of step S12 in a kind of method for transmitting signals according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of method for transmitting signals according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of signal transmitting apparatus according to an exemplary embodiment.
Fig. 5 is the block diagram of determining module in a kind of signal transmitting apparatus according to an exemplary embodiment.
Fig. 5 (a) is the block diagram of determining module in a kind of signal transmitting apparatus according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of signal transmitting apparatus according to an exemplary embodiment.
Fig. 7 is the block diagram of determining module in a kind of signal transmitting apparatus according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of adapter according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of device suitable for signal transmission according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of method for transmitting signals according to an exemplary embodiment, the method for transmitting signals For in terminal, wherein, terminal can be mobile phone, computer, digital broadcast terminal, messaging devices, game control Platform, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..As shown in figure 1, this method comprises the following steps S11- S12。
In step s 11, when detecting access connecting line on the adapter being connected with terminal, connecting line connection is determined Interface type.
Wherein, terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and adapter is provided with and USB Type-C The USB Type-C plugs of socket pairing, the interface type of USB Type-C sockets include earphone interface and micro universal Serial bus interface, adapter also include connecing with the direct-connected earphone for external connecting wire of earphone interface in USB Type-C plugs Mouthful, and it is serially total with the direct-connected micro universal for external connecting wire of micro universal serial bus interface in USB Type-C plugs Line interface.Micro universal serial bus interface is Micro USB interfaces.
In step s 12, interface function corresponding with interface type is performed by connecting line.
In one embodiment, earphone is defined by the USB3.0 signal pins of multiplexing USB Type-C sockets to connect Mouthful.Due to including USB2.0 signal pins and USB3.0 signal pins, and micro universal simultaneously in USB Type-C sockets Serial bus interface uses USB2.0 signal pins, thus vacant USB3.0 signal pins are defined as earphone interface can Avoid the waste of USB3.0 signal pins.
In specific implementation step S12, if interface type is earphone interface, interface function corresponding with interface type For earphone interface function, terminal can transmit audio signal by inserting the earphone cord of the earphone interface on adapter;If interface Type is micro universal serial bus interface, then interface function corresponding with interface type is micro universal serial bus interface work( Can, terminal can by access the Universal Serial line of the micro universal serial bus interface on adapter for terminal charge or Carry out data transmission.
The technical scheme provided using the embodiment of the present disclosure, by determining the interface type of connecting line access on adapter, And perform interface function corresponding with interface type so that the USB Type-C sockets in terminal can be converted to by adapter Earphone interface or micro universal serial bus interface so that user only need in terminal connecting adapter, you can realize ear The function of machine interface and micro universal serial bus interface, without buying special USB Type-C interface connecting lines, simultaneously Eliminate the earphone interface of exterior of terminal, the profile of terminal simplified and attractive in appearance.
In one embodiment, as shown in Fig. 2 step S12 comprises the following steps S121-S122.
In step S121, by detecting the earphone interface in USB Type-C sockets, USB Type-C plugs are determined Whether the earphone interface for external connecting wire is connected with connecting line.
In step S122, when it is determined that the earphone interface for external connecting wire of USB Type-C plugs connects with connecting line When connecing, the interface type for determining connecting line connection is earphone interface.
In the present embodiment, one end is provided with USB Type-C plugs on adapter, and the other end is provided with and inserted with USB Type-C Earphone interface is direct-connected for the earphone interface of external connecting wire and serially total with micro universal in USB Type-C plugs in head The direct-connected micro universal serial bus interface for external connecting wire of line interface.
Earphone interface in USB Type-C sockets is by the USB3.0 signal pins weights in USB Type-C sockets What new definition obtained, therefore, whether there can be signal transmission on the pin being redefined in USB Type-C sockets by detecting To judge whether the interface type of connecting line connection is earphone interface, when on the pin being redefined in USB Type-C sockets When having signal transmission, the earphone interface for illustrating to match with it in USB Type-C plugs being connected is connected with connecting line, then can be true The interface type for determining connecting line connection is earphone interface.In one embodiment, also include in USB Type-C sockets and weighed The headset detection pin newly defined, therefore, can be by the headset detection pin that is redefined in USB Type-C sockets to ear Machine interface is detected.
In one embodiment, the pin function after USB Type-C sockets are redefined is as shown in table 2, and table 1 is existing The pin function definition of some USB Type-C interfaces.To make the USB Type-C sockets in terminal and the USB on adapter Type-C plugs can match connection, and the pin function of USB Type-C plugs is defined as shown in table 3 or table 4.
Can be seen that by Tables 1 and 2, A2, A3 of the USB Type-C sockets in the present embodiment in terminal, A10, A11, B2, These pins of B3, B10, B11 are redefined, specifically, these pins shown in table 1 are used to transmit two groups of difference of TX and RX Signal, the function of USB3.0 signal pins is realized, and in table 2, by the USB3.0 signal pins on USB Type-C sockets Earphone interface pin is newly defined as, wherein, L corresponds to headset left channel pin, and R corresponds to earphone right channel pin, and DET corresponds to ear Machine testing pin, MIC correspond to ear microphone pin.By headset detection pin detect corresponding to L and R on two pins whether Have signal transmission, when detect have signal transmission on two pins corresponding to L and R when, illustrate to insert with USB Type-C in terminal Earphone interface in the USB Type-C plugs of seat pairing connection is connected with connecting line, therefore can determine that the interface of connecting line connection Type is earphone interface.The definition of other pins in addition to these pins still keeps constant with function.
In table 2, tetra- pins of A2, A3, B10 and B11 are defined as one group of earphone interface pin, B2, B3, A10 and A11 Four pins are also defined as one group of earphone interface pin, and this is due to positive and negative two slotting property of USB Type-C interfaces so that is used Family no matter is just being inserted or anti-plug adapter, can realize earphone interface function by USB Type-C interfaces.
Therefore, when the USB Type-C plugs on adapter are redefined pin, A2, A3, B10 and B11 can be defined This four pins are earphone interface pin (as shown in table 4), can also define tetra- pins of B2, B3, A10 and A11 and be connect for earphone Mouth pin (as shown in table 3).
Above-described embodiment determines the interface class of connecting line connection by detecting the earphone interface in USB Type-C sockets Type is earphone interface, and the function of earphone interface is performed when it is determined that interface type is earphone interface so that the USB in terminal The function of earphone interface can be achieved by connecting adapter for Type-C sockets, so as to eliminate the earphone interface of exterior of terminal, The profile of terminal simplified and attractive in appearance, and the vacant pin on USB Type-C interfaces is taken full advantage of, avoid the wave of vacant pin Take.
Table 1
Table 2
Table 3
Table 4
In one embodiment, as shown in Fig. 2 (a), step S12 comprises the following steps S123-S124.
In step S123, by detecting the micro universal serial bus interface in USB Type-C sockets, USB is determined Whether the micro universal serial bus interface for external connecting wire of Type-C plugs is connected with connecting line.
In step S124, the micro universal serial bus interface for external connecting wire of USB Type-C plugs is determined When being connected with connecting line, the interface type for determining connecting line connection is micro universal serial bus interface.
In the present embodiment, one end is provided with USB Type-C plugs on adapter, and the other end is provided with and inserted with USB Type-C Earphone interface is direct-connected for the earphone interface of external connecting wire and serially total with micro universal in USB Type-C plugs in head The direct-connected micro universal serial bus interface for external connecting wire of line interface.
Micro universal serial bus interface in USB Type-C sockets is using defined in USB Type-C interfaces Original pin realize, can be seen that by above-mentioned table 1, four are drawn corresponding to VBUS, D+, D-, GND in USB Type-C interfaces Pin realizes the function of micro universal serial bus interface, wherein, VBUS is power pins, and GND is grounding pin, and D+ and D- are Two single data pins.Therefore, whether there can be signal biography on D+ in USB Type-C sockets and D- this two pins by detecting It is defeated come judge connecting line connection interface type whether be micro universal serial bus interface, the D+ in USB Type-C sockets During with having signal transmission on D- this two pins, illustrate that the micro universal that is matched with it in USB Type-C plugs being connected is serial EBI is connected with connecting line, then the interface type that can determine that connecting line access is micro universal serial bus interface.
The embodiment determines interface type by detecting the micro universal serial bus interface in USB Type-C sockets For micro universal serial bus interface, and micro universal string is performed when it is determined that interface type is micro universal serial bus interface The function of row bus interface so that it is serial that micro universal can be achieved by connecting adapter for the USB Type-C sockets in terminal The function of EBI.
In one embodiment, terminal can according to selection of the user to the functional configuration option of USB Type-C sockets come The interface type of connecting line connection is determined, therefore, as shown in figure 3, the further comprising the steps of S31-S32 of the above method.
In step S31, when receiving the functional configuration request to the default pin of USB Type-C sockets, display is pre- If the functional configuration option of pin.
Wherein, functional configuration option includes being configured to micro universal serial bus interface and is configured to earphone interface.
In step s 32, selection operation of the user to one of functional configuration option is received.
Wherein, default pin can be the single data pin of D+, D- two on USB Type-C sockets, when user is selected in advance If pin configuration is micro universal serial bus interface, the single data pin function of D+, D- two is constant, still as the general string of transmission Two pins of row bus signal, when user selection by default pin configuration for earphone interface when, the single data pin of D+, D- two is then By the left and right sound track signals line as earphone, to realize the function of transmitting audio signal.
It can be seen that in the present embodiment, without being redefined to the pin on the USB Type-C sockets in terminal, user only needs The connecting adapter in terminal, the adapter are provided with and USB Type-C plugs of USB Type-C sockets pairing, miniature logical With serial bus interface and earphone interface, you can realize ear-phone function by USB Type-C sockets.Used it should be noted that working as Family selection by default pin configuration be earphone interface when, due to the single data pin of D+, D- two by as earphone left and right acoustic channels believe Number line uses, therefore can not realize Minisize universal serial interface function by USB Type-C sockets in this case, that is, Say, the scheme of earphone interface is converted to by being multiplexed the single data pin of D+, D- two by USB Type-C sockets, can not be realized simultaneously The function of earphone interface and micro universal serial bus interface.
In the present embodiment, pass through the single data pin of D+, D- two on multiplexing USB Type-C interfaces so that user can be right Default pin on USB Type-C sockets in terminal carries out functional configuration, so that default on USB Type-C sockets is drawn Pin can realize micro universal serial data line function or earphone cord function, not only take full advantage of on USB Type-C sockets Vacant pin, and eliminate the earphone interface of exterior of terminal, the profile of terminal simplified and attractive in appearance.
Based on above-described embodiment, step S12 can also be embodied as following steps:Functional configuration is selected according to corresponding to selection operation , determine the interface type that connecting line connects.
When functional configuration option corresponding to the selection operation of user is to be configured to micro universal serial bus interface, terminal The interface type for determining connecting line connection is micro universal serial bus interface;When functional configuration corresponding to the selection operation of user Option is when being configured to earphone interface, terminal determines that the interface type of connecting line connection is earphone interface.
It can be seen that in the present embodiment, can determine to connect according to the functional configuration option of the default pin selected by user The interface type of line connection so that the default pin on USB Type-C interfaces can realize micro universal serial bus interface work( Energy or earphone interface function, not only take full advantage of the vacant pin on USB Type-C interfaces, and eliminate exterior of terminal Earphone interface, the profile of terminal simplified and attractive in appearance.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of signal transmitting apparatus according to an exemplary embodiment, and the device can be by soft Part, hardware or both are implemented in combination with as some or all of of electronic equipment.Reference picture 4, the signal transmitting apparatus bag Include determining module 41 and execution module 42;Wherein:
When determining module 41 is configured as detecting access connecting line on the adapter being connected with terminal, connecting line is determined The interface type of connection, wherein, terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and adapter is provided with and USB The USB Type-C plugs of Type-C sockets pairing, the interface types of USB Type-C sockets include earphone interface and micro- Type USB, adapter also include direct-connected for external connecting wire with earphone interface in USB Type-C plugs Earphone interface, and with the direct-connected micro universal for external connecting wire of micro universal serial bus interface in USB Type-C plugs Serial bus interface, micro universal serial bus interface are Micro USB interfaces.
Execution module 42 is configured as performing interface corresponding with the interface type of the determination of determining module 41 by connecting line Function.
In one embodiment, earphone is defined by the USB3.0 signal pins of multiplexing USB Type-C sockets to connect Mouthful.Due to including USB2.0 signal pins and USB3.0 signal pins, and micro universal simultaneously in USB Type-C sockets Serial bus interface uses USB2.0 signal pins, thus vacant USB3.0 signal pins are defined as earphone interface can Avoid the waste of USB3.0 signal pins.
In the embodiment, if interface type is earphone interface, interface function corresponding with interface type connects for earphone Mouth function, execution module 42 can transmit audio signal by inserting the earphone cord of the earphone interface on adapter;If interface class Type is micro universal serial bus interface, then interface function corresponding with interface type is micro universal serial bus interface work( Can, execution module 42 can be filled by accessing the Universal Serial line of the micro universal serial bus interface on adapter for terminal Electricity carries out data transmission.
The device provided using the embodiment of the present disclosure, the interface that connecting line accesses on adapter is determined by determining module 41 Type, and interface function corresponding with interface type is performed by execution module 42 so that the USB Type-C sockets in terminal Earphone interface or micro universal serial bus interface can be converted to by adapter, so that user need to only connect in terminal Switch through joint, you can the function of earphone interface and micro universal serial bus interface is realized, without buying special USB Type-C interface connecting lines, while the earphone interface of exterior of terminal is eliminated, the profile of terminal simplified and attractive in appearance.
In one embodiment, as shown in figure 5, determining module 41, which includes the first detection sub-module 411 and first, determines son Module 412;Wherein:
First detection sub-module 411 is configured as, by detecting the earphone interface in USB Type-C sockets, determining USB Whether the earphone interface for external connecting wire of Type-C plugs is connected with connecting line.
First determination sub-module 412 is configured as the first detection sub-module 411 and determines being used for outside for USB Type-C plugs When the earphone interface of wiring is connected with connecting line in succession, the interface type for determining connecting line connection is earphone interface.
In the present embodiment, one end is provided with USB Type-C plugs on adapter, and the other end is provided with and inserted with USB Type-C Earphone interface is direct-connected for the earphone interface of external connecting wire and serially total with micro universal in USB Type-C plugs in head The direct-connected micro universal serial bus interface for external connecting wire of line interface.
Earphone interface in USB Type-C sockets is by the USB3.0 signal pins rows in USB Type-C sockets Acquisition is redefined, therefore, whether there can be signal biography on the pin being redefined in USB Type-C sockets by detecting It is defeated come judge connecting line connection interface type whether be earphone interface, when the first detection sub-module 411 detects USB Type- When having signal transmission on the pin being redefined in C sockets, illustrate to match the ear in the USB Type-C plugs being connected with it Machine interface is connected with connecting line, then can determine that the interface type that connecting line connects connects for earphone by the first determination sub-module 412 Mouthful.In one embodiment, the headset detection pin being redefined, therefore, first are also included in USB Type-C sockets Detection sub-module 411 can be examined by the headset detection pin being redefined in USB Type-C sockets to earphone interface Survey.
In the present embodiment, the USB3.0 signal pins on USB Type-C sockets are redefined.USB3.0 signals draw Pin is used to transmit two groups of differential signals of TX and RX, realizes the function of USB3.0 signal pins, and the present embodiment is by USB3.0 signals Pin is newly defined as earphone interface pin, including headset left channel pin, earphone right channel pin, headset detection pin and ear Machine microphone pin.First detection sub-module 411 passes through headset detection pin test earphone left channel pin and earphone R channel Whether have signal transmission on the two pins of pin, when detect have signal transmission on the two pins when, illustrate with terminal on Earphone interface in the USB Type-C plugs of USB Type-C sockets pairing connection is connected with connecting line, therefore first determines son Module 412 can determine that the interface type of connecting line connection is earphone interface.The definition of other pins in addition to these pins with Function still keeps constant.
The embodiment detects the earphone interface in USB Type-C sockets to determine to connect by the first detection sub-module 411 The interface type of line connection is earphone interface, and the function of earphone interface is performed when it is determined that interface type is earphone interface, is made The function that earphone interface can be achieved by connecting adapter for the USB Type-C sockets in terminal is obtained, so as to eliminate outside terminal The earphone interface in portion, the profile of terminal simplified and attractive in appearance, and the vacant pin on USB Type-C interfaces is taken full advantage of, avoid The waste of vacant pin.
In one embodiment, as shown in Fig. 5 (a), determining module 41 includes the second detection sub-module 413 and second and determined Submodule 414;Wherein:
Second detection sub-module 413 is configured as connecing by detecting the micro universal serial bus in USB Type-C sockets Mouthful, determine whether the micro universal serial bus interface for external connecting wire of USB Type-C plugs is connected with connecting line.
Second determination sub-module 414 is configured as the second detection sub-module 413 and determines being used for outside for USB Type-C plugs When the micro universal serial bus interface of wiring is connected with connecting line in succession, the interface type for determining connecting line connection is miniature logical Use serial bus interface.
In the present embodiment, one end is provided with USB Type-C plugs on adapter, and the other end is provided with and inserted with USB Type-C Earphone interface is direct-connected for the earphone interface of external connecting wire and serially total with micro universal in USB Type-C plugs in head The direct-connected micro universal serial bus interface for external connecting wire of line interface.
Micro universal serial bus interface in USB Type-C sockets is using defined in USB Type-C interfaces Original pin realize, including four pins corresponding to VBUS, D+, D-, GND, wherein, VBUS is power pins, and GND is connects Ground pin, D+ and D- are two single data pins.Therefore, the second detection sub-module 413 can be by detecting in USB Type-C sockets D+ and D- this two pins on whether there is signal transmission to judge whether the interface type that connecting line connects is micro universal string Row bus interface, when the second detection sub-module 413 detects on D+ in USB Type-C sockets and D- this two pins there is letter During number transmission, illustrate to match micro universal serial bus interface in the USB Type-C plugs being connected and connecting line company with it Connect, then can determine that the interface type that connecting line accesses is micro universal serial bus interface by the second determination sub-module 414.
The embodiment detects the micro universal serial bus in USB Type-C sockets by the second detection sub-module 413 and connect Mouthful determine that interface type is micro universal serial bus interface, and it is determined that interface type is micro universal serial bus interface The function of Shi Zhihang micro universal serial bus interfaces so that the USB Type-C sockets in terminal pass through connecting adapter Realize the function of micro universal serial bus interface.
In one embodiment, as shown in fig. 6, said apparatus also includes display module 61 and receiving module 62;Wherein:
Display module 61 is configured as receiving the functional configuration request to the default pin on USB Type-C sockets When, show the functional configuration option of default pin, functional configuration option include being configured to micro universal serial bus interface and It is configured to earphone interface.
Receiving module 62 is configured as receiving the choosing for one of functional configuration option that user shows to display module 61 Select operation.
Wherein, default pin can be the single data pin of D+, D- two on USB Type-C sockets, when user is selected in advance If pin configuration is micro universal serial bus interface, the single data pin function of D+, D- two is constant, still as the general string of transmission Two pins of row bus signal, when user selection by default pin configuration for earphone interface when, the single data pin of D+, D- two is then By the left and right sound track signals line as earphone, to realize the function of transmitting audio signal.
It can be seen that in the present embodiment, without being redefined to the pin on the USB Type-C sockets in terminal, user only needs The connecting adapter in terminal, the adapter are provided with and USB Type-C plugs of USB Type-C sockets pairing, miniature logical With serial bus interface and earphone interface, you can realize ear-phone function by USB Type-C sockets.Used it should be noted that working as Family selection by default pin configuration be earphone interface when, due to the single data pin of D+, D- two by as earphone left and right acoustic channels believe Number line uses, therefore can not realize Minisize universal serial interface function by USB Type-C sockets in this case, that is, Say, the scheme of earphone interface is converted to by being multiplexed the single data pin of D+, D- two by USB Type-C sockets, can not be realized simultaneously The function of earphone interface and micro universal serial bus interface.
In the present embodiment, pass through the single data pin of D+, D- two on multiplexing USB Type-C interfaces so that user can be right Default pin on USB Type-C sockets in terminal carries out functional configuration, so that default on USB Type-C sockets is drawn Pin can realize micro universal serial data line function or earphone cord function, not only take full advantage of on USB Type-C interfaces Vacant pin, and eliminate the earphone interface of exterior of terminal, the profile of terminal simplified and attractive in appearance.
In one embodiment, as shown in fig. 7, determining module 41 includes the 3rd determination sub-module 415, the 3rd determines son Module 415 is configured as the functional configuration option according to corresponding to selection operation, determines the interface type of connecting line connection.
When functional configuration option corresponding to the selection operation of user is to be configured to micro universal serial bus interface, the 3rd Determination sub-module 415 determines that the interface type of connecting line connection is micro universal serial bus interface;When the selection operation of user Corresponding functional configuration option is when being configured to earphone interface, the 3rd determination sub-module 415 determines the interface class of connecting line connection Type is earphone interface.
It can be seen that in the present embodiment, the function for the default pin that the 3rd determination sub-module 415 can be according to selected by user is matched somebody with somebody Option is put to determine the interface type of connecting line connection so that the default pin on USB Type-C interfaces can be realized miniature logical With serial bus interface function or earphone interface function, the vacant pin on USB Type-C interfaces is not only taken full advantage of, And the earphone interface of exterior of terminal is eliminated, the profile of terminal simplified and attractive in appearance.
Fig. 8 is a kind of block diagram of adapter according to an exemplary embodiment.As shown in figure 8, adapter 80 includes: C-type general-purpose serial bus USB Type-C plugs 81, connected for being matched with the USB Type-C sockets in terminal, USB The interface type of Type-C sockets includes earphone interface and micro universal serial bus interface;With USB Type-C plugs The direct-connected earphone interface 82 for external connecting wire of earphone interface in 81;And with micro universal string in USB Type-C plugs 81 The direct-connected micro universal serial bus interface 83 for external connecting wire of row bus interface.
In one embodiment, earphone is defined by the USB3.0 signal pins of multiplexing USB Type-C sockets to connect Mouthful.
In the present embodiment, by the way that the part pin on USB Type-C plugs 81 is newly defined as into earphone interface pin, Earphone interface pin connection corresponding with the pin on earphone interface 82 after redefining again, you can inserted by USB Type-C First 81 realize the function of earphone interface.The pin of micro universal serial bus interface will be defined as on USB Type-C plugs 81 Connection corresponding with the pin on micro universal serial bus interface 83, you can micro universal is realized by USB Type-C plugs 81 The function of serial bus interface.
It is connected to enable the USB Type-C sockets in terminal to be matched with the USB Type-C plugs 81 on adapter 80, When the part pin in USB Type-C plugs 81 is redefined earphone interface pin, the USB Type-C in terminal are inserted Pin in seat with the pairing connection of these pins is also redefined earphone interface pin.
The adapter provided using the embodiment of the present disclosure so that the USB Type-C sockets in terminal can be turned by connection Joint is converted to earphone interface or micro universal serial bus interface so that user only need in terminal connecting adapter, The function of earphone interface and micro universal serial bus interface can be achieved, connect without buying special USB Type-C interfaces Wiring, while the earphone interface of exterior of terminal is eliminated, the profile of terminal simplified and attractive in appearance.
In the exemplary embodiment, there is provided a kind of signal transmitting apparatus, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
When detecting access connecting line on the adapter being connected with terminal, the interface class of the connecting line connection is determined Type, wherein, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with and the USB The USB Type-C plugs of Type-C sockets pairing, the interface type of the USB Type-C sockets include earphone interface With micro universal serial bus interface, the adapter also includes and earphone interface is direct-connected in the USB Type-C plugs is used for The earphone interface of external connecting wire, and it is direct-connected for external with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface of connecting line;
Interface function corresponding with the interface type is performed by the connecting line.
Above-mentioned processor is also configured to:
The interface type for determining the connecting line connection, including:
By detecting the earphone interface in the USB Type-C sockets, being used for outside for the USB Type-C plugs is determined Whether the earphone interface of wiring is connected with connecting line in succession;
When determining that the earphone interface for external connecting wire of the USB Type-C plugs is connected with connecting line, institute is determined The interface type for stating connecting line connection is the earphone interface.
Above-mentioned processor is also configured to:
The interface type for determining the connecting line connection, including:
By detecting the micro universal serial bus interface in the USB Type-C sockets, the USB Type-C are determined Whether the micro universal serial bus interface for external connecting wire of plug is connected with connecting line;
Determine the micro universal serial bus interface and connecting line for external connecting wire of the USB Type-C plugs During connection, the interface type for determining the connecting line connection is the micro universal serial bus interface.
Above-mentioned processor is also configured to:
Earphone interface is defined by the USB3.0 signal pins for being multiplexed the USB Type-C sockets.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram of device for signal transmission according to an exemplary embodiment.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Device 1200 can include following one or more assemblies:Processing component 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster 1214, and Communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as communicated with display, call, data, The operation that camera operation and record operation are associated.Processing component 1202 can include one or more processors 1220 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1202 can include one or more moulds Block, the interaction being easy between processing component 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia groupware 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example includes being used for the instruction of any application program or method operated on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1200.
Multimedia groupware 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured as output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (MIC), when device 1200 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1204 or via communication Component 1216 is sent.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor cluster 1214 can detect opening/closed mode of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor cluster 1214 can be with detection means 1200 or device 1,200 1 The position of individual component changes, the existence or non-existence that user contacts with device 1200, the orientation of device 1200 or acceleration/deceleration and dress Put 1200 temperature change.Sensor cluster 1214 can include proximity transducer, be configured in no any physics The presence of object nearby is detected during contact.Sensor cluster 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1214 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1200.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 also includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1220 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device performs so that device 1200 is able to carry out above-mentioned method for transmitting signals, and methods described includes:
When detecting access connecting line on the adapter being connected with terminal, the interface class of the connecting line connection is determined Type, wherein, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with and the USB The USB Type-C plugs of Type-C sockets pairing, the interface type of the USB Type-C sockets include earphone interface With micro universal serial bus interface, the adapter also includes and earphone interface is direct-connected in the USB Type-C plugs is used for The earphone interface of external connecting wire, and it is direct-connected for external with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface of connecting line;
Interface function corresponding with the interface type is performed by the connecting line.
The interface type for determining the connecting line connection, including:
By detecting the earphone interface in the USB Type-C sockets, being used for for the USB Type-C plugs is determined Whether the earphone interface of external connecting wire is connected with connecting line;
When determining that the earphone interface for external connecting wire of the USB Type-C plugs is connected with connecting line, institute is determined The interface type for stating connecting line connection is the earphone interface.
The interface type for determining the connecting line connection, including:
By detecting the micro universal serial bus interface in the USB Type-C sockets, the USB Type-C are determined Whether the micro universal serial bus interface for external connecting wire of plug is connected with connecting line;
Determine the micro universal serial bus interface and connecting line for external connecting wire of the USB Type-C plugs During connection, the interface type for determining the connecting line connection is the micro universal serial bus interface.
Earphone interface is defined by the USB3.0 signal pins for being multiplexed the USB Type-C sockets.
Those skilled in the art will readily occur to other realities of the disclosure after considering specification and putting into practice disclosure herein Apply scheme.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or suitable The change of answering property follows the general principle of the disclosure and including the undocumented common knowledge or used in the art of the disclosure Use technological means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following right It is required that point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (8)

  1. A kind of 1. method for transmitting signals, it is characterised in that including:
    When detecting access connecting line on the adapter being connected with terminal, the interface type of the connecting line connection is determined, its In, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with and the USB The USB Type-C plugs of Type-C sockets pairing, the interface type of the USB Type-C sockets include earphone interface With micro universal serial bus interface, the adapter also includes and earphone interface is direct-connected in the USB Type-C plugs is used for The earphone interface of external connecting wire, and it is direct-connected for external with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface of connecting line;
    Interface function corresponding with the interface type is performed by the connecting line;
    The interface type for determining the connecting line connection, including:
    By detecting the earphone interface in the USB Type-C sockets, being used for outside in succession for the USB Type-C plugs is determined Whether the earphone interface of wiring is connected with connecting line;
    When determining that the earphone interface for external connecting wire of the USB Type-C plugs is connected with connecting line, the company is determined The interface type of wiring connection is the earphone interface.
  2. 2. according to the method for claim 1, it is characterised in that the interface type for determining the connecting line connection, bag Include:
    By detecting the micro universal serial bus interface in the USB Type-C sockets, the USB Type-C plugs are determined The micro universal serial bus interface for external connecting wire whether be connected with connecting line;
    Determine that the micro universal serial bus interface for external connecting wire of the USB Type-C plugs is connected with connecting line When, the interface type for determining the connecting line connection is the micro universal serial bus interface.
  3. 3. according to the method for claim 1, it is characterised in that by being multiplexed the USB Type-C sockets USB3.0 signal pins define earphone interface.
  4. A kind of 4. signal transmitting apparatus, it is characterised in that including:
    Determining module, for when detecting access connecting line on the adapter being connected with terminal, determining the connecting line connection Interface type, wherein, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with With the USB Type-C plugs of USB Type-C sockets pairing, the interface type bag of the USB Type-C sockets Earphone interface and micro universal serial bus interface are included, the adapter also includes connecing with earphone in the USB Type-C plugs The direct-connected earphone interface for external connecting wire of mouth, and it is straight with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface in external connecting wire is used in conjunction;
    Execution module, for performing interface work(corresponding with the interface type of determining module determination by the connecting line Energy;
    The determining module includes:
    First detection sub-module, for by detecting the earphone interface in the USB Type-C sockets, determining the USB Whether the earphone interface for external connecting wire of Type-C plugs is connected with connecting line;
    First determination sub-module, it is used for external connection for what first detection sub-module determined the USB Type-C plugs When the earphone interface of line is connected with connecting line, the interface type for determining the connecting line connection is the earphone interface.
  5. 5. device according to claim 4, it is characterised in that the determining module includes:
    Second detection sub-module, for by detecting the micro universal serial bus interface in the USB Type-C sockets, really Whether the micro universal serial bus interface for external connecting wire of the fixed USB Type-C plugs is connected with connecting line;
    Second determination sub-module, it is used for external connection for what second detection sub-module determined the USB Type-C plugs When the micro universal serial bus interface of line is connected with connecting line, determine that the interface type of the connecting line connection is described miniature USB.
  6. 6. device according to claim 4, it is characterised in that by being multiplexed the USB Type-C sockets USB3.0 signal pins define earphone interface.
  7. A kind of 7. adapter, it is characterised in that including:
    C-type general-purpose serial bus USB Type-C plugs, connected for being matched with the USB Type-C sockets in terminal, it is described The interface type of USB Type-C sockets includes earphone interface and micro universal serial bus interface;
    With the direct-connected earphone interface for external connecting wire of earphone interface in the USB Type-C plugs;
    With the direct-connected micro universal string for external connecting wire of micro universal serial bus interface in the USB Type-C plugs Row bus interface;
    Earphone interface is defined by the USB3.0 signal pins for being multiplexed the USB Type-C sockets.
  8. A kind of 8. signal transmitting apparatus, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    When detecting access connecting line on the adapter being connected with terminal, the interface type of the connecting line connection is determined, its In, the terminal is provided with c-type general-purpose serial bus USB Type-C sockets, and the adapter is provided with and the USB The USB Type-C plugs of Type-C sockets pairing, the interface type of the USB Type-C sockets include earphone interface With micro universal serial bus interface, the adapter also includes and earphone interface is direct-connected in the USB Type-C plugs is used for The earphone interface of external connecting wire, and it is direct-connected for external with micro universal serial bus interface in the USB Type-C plugs The micro universal serial bus interface of connecting line;
    Interface function corresponding with the interface type is performed by the connecting line.
CN201610090306.XA 2016-02-18 2016-02-18 Method for transmitting signals, device and adapter Active CN105703185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610090306.XA CN105703185B (en) 2016-02-18 2016-02-18 Method for transmitting signals, device and adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610090306.XA CN105703185B (en) 2016-02-18 2016-02-18 Method for transmitting signals, device and adapter

Publications (2)

Publication Number Publication Date
CN105703185A CN105703185A (en) 2016-06-22
CN105703185B true CN105703185B (en) 2018-03-16

Family

ID=56222970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610090306.XA Active CN105703185B (en) 2016-02-18 2016-02-18 Method for transmitting signals, device and adapter

Country Status (1)

Country Link
CN (1) CN105703185B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207010908U (en) * 2016-07-20 2018-02-13 中兴通讯股份有限公司 Terminal and earphone
CN106131732A (en) * 2016-08-16 2016-11-16 歌尔股份有限公司 A kind of earphone
CN106410550A (en) * 2016-10-31 2017-02-15 乐视控股(北京)有限公司 Charging data line and charging processing method
CN106776424B (en) * 2016-11-29 2019-12-06 北京小米移动软件有限公司 Connector, control method and control device thereof, and electronic equipment
CN108268393A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 The processing method and mobile terminal of a kind of access device
CN108268395A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 A kind of method and mobile terminal of data communication
CN108268415A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 A kind of method and mobile terminal of data communication
CN108268404A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 A kind of method and mobile terminal of data communication
CN108268399A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 A kind of method and mobile terminal of data communication
CN107277416A (en) * 2017-07-20 2017-10-20 青岛海信电器股份有限公司 television terminal and control method
WO2019015681A1 (en) 2017-07-20 2019-01-24 青岛海信电器股份有限公司 Terminal device and control method therefor
CN107807892B (en) * 2017-11-14 2019-12-24 深圳增强现实技术有限公司 A method of converting USB TYPE-C to USB3.0 and an adapter
CN108430005B (en) * 2018-04-26 2021-04-09 努比亚技术有限公司 Audio circuit, audio judgment method and mobile terminal
CN108763136A (en) * 2018-07-25 2018-11-06 合肥联宝信息技术有限公司 A kind of interface circuit and electronic device of forwarding information
CN115442706A (en) * 2021-06-02 2022-12-06 瑞昱半导体股份有限公司 External audio device and method for operating the external audio device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832631B (en) * 2005-03-11 2010-11-03 台均科技(深圳)有限公司 Earphone with USB plug
CN201774101U (en) * 2010-08-18 2011-03-23 萨基姆移动电话研发(宁波)有限公司 Mobile terminal
CN202103290U (en) * 2011-05-12 2012-01-04 北京元隆雅图文化传播有限责任公司 USB connecting wire, connecting terminal, and joint
CN102969633B (en) * 2012-11-30 2015-10-07 小米科技有限责任公司 A kind of conversion equipment
CN203520391U (en) * 2013-09-16 2014-04-02 上海斐讯数据通信技术有限公司 Data transmission multiplexing device
CN104023294B (en) * 2014-05-30 2017-08-11 广东欧珀移动通信有限公司 Interface duplex device and pinboard in terminal
CN204350072U (en) * 2014-12-31 2015-05-20 上海乐今通信技术有限公司 Data line interface, headset plug, mobile terminal and system

Also Published As

Publication number Publication date
CN105703185A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105703185B (en) Method for transmitting signals, device and adapter
CN107426428A (en) Electronic equipment and display lightness regulating method
CN104038263A (en) Method and device for establishing Bluetooth connection
CN110996305B (en) Method and device for connecting Bluetooth equipment, electronic equipment and medium
CN104506772A (en) Method and device for regulating shooting parameters
CN103986999B (en) A kind of method, apparatus and terminal device of test earphone impedance
CN103887643A (en) Earphone socket, electronic device, electronic equipment and electronic system
CN108038034A (en) Electronic equipment adjustment method, adapter, device and storage medium
CN104378715A (en) Device and method for lowering earphone POP sound
CN108810701A (en) A kind of Type-C interfaces method for detecting abnormality and mobile terminal
CN104935729B (en) Audio-frequency inputting method and device
CN105975038A (en) Prompt method and device of charging port detection result
CN106453838A (en) Method and apparatus for adjusting volume
CN105183309B (en) Method for handover control and device
CN106303896A (en) The method and apparatus playing audio frequency
CN105554631A (en) Audio switching method and device, and electronic device
CN105630655A (en) Charging connection prompting method and apparatus
CN104967174B (en) Charge control method and device
CN106451824A (en) Bluetooth earphone charging method, Bluetooth earphone charging device and Bluetooth earphone
CN106026232A (en) Detecting method and apparatus for USB port type
CN206412603U (en) Type C joints and connecting line
CN104281431A (en) Method and device for audio playing
CN109769191A (en) Audio output detection method and device, electronic equipment
CN219302567U (en) Interface testing device
CN105530594A (en) Communication method and device based remote control

Legal Events

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