CN105552670B - USB socket conversion method, USB socket and USB data line - Google Patents

USB socket conversion method, USB socket and USB data line Download PDF

Info

Publication number
CN105552670B
CN105552670B CN201610058814.XA CN201610058814A CN105552670B CN 105552670 B CN105552670 B CN 105552670B CN 201610058814 A CN201610058814 A CN 201610058814A CN 105552670 B CN105552670 B CN 105552670B
Authority
CN
China
Prior art keywords
socket
interface
usb
data line
lines
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
CN201610058814.XA
Other languages
Chinese (zh)
Other versions
CN105552670A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610058814.XA priority Critical patent/CN105552670B/en
Publication of CN105552670A publication Critical patent/CN105552670A/en
Application granted granted Critical
Publication of CN105552670B publication Critical patent/CN105552670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/02Intermediate parts for distributing energy to two or more circuits in parallel, e.g. splitter
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R12/00Structural associations of a plurality of mutually-insulated electrical connecting elements, specially adapted for printed circuits, e.g. printed circuit boards [PCB], flat or ribbon cables, or like generally planar structures, e.g. terminal strips, terminal blocks; Coupling devices specially adapted for printed circuits, flat or ribbon cables, or like generally planar structures; Terminals specially adapted for contact with, or insertion into, printed circuits, flat or ribbon cables, or like generally planar structures
    • H01R12/70Coupling devices
    • H01R12/71Coupling devices for rigid printing circuits or like structures

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a conversion method of a USB socket, the USB socket and a USB data line, and belongs to the technical field of communication. The method comprises the following steps: and inserting the USB3.0 interface of the USB data line into the USB3.0 socket, and respectively inserting the first USB2.0 interface and/or the second USB2.0 interface of the USB data line into the USB2.0 socket of the first external equipment and/or the second external equipment. The invention can not only save the number of the USB sockets in practical projects, but also fully utilize the functions of the pins of the USB3.0 socket.

Description

USB socket conversion method, USB socket and USB data line
Technical Field
The invention relates to the technical field of communication, in particular to a USB socket conversion method, a USB socket and a USB data line.
Background
Universal Serial Bus (USB) is a Serial Bus standard for connecting computer systems and external devices, and is also a technical specification of input/output interfaces, and is widely used in information communication products such as personal computers and mobile devices, and is extended to other related fields such as video equipment, digital televisions (set-top boxes), game machines, and the like.
In the prior art, when two USB2.0 interfaces are designed for one system and a mode of two CPU cascades is adopted, two USB2.0 sockets are required on a hardware interface, but in practical use, due to the limitation of a hardware structure, a situation that only one USB socket can be accommodated often occurs, and in such a situation, an alternative scheme needs to be provided to realize that one USB socket meets the requirement of two CPU cascades, so that a conversion method of the USB socket, the USB socket and a USB data line need to be provided.
Disclosure of Invention
The invention mainly aims to provide a USB socket conversion method, a USB socket and a USB data line, and aims to solve the problem that only one USB socket can be accommodated in a system needing a plurality of USB sockets due to the limitation of a hardware structure.
In order to achieve the above object, the present invention provides a method for converting a USB socket, which is suitable for a system including at least two cascaded CPUs, the method including:
in the system, a first pair of high-speed differential lines of a USB3.0 socket is connected with a differential data line of USB2.0 of a first CPU of the system, and a second pair of high-speed differential lines of the USB3.0 socket is connected with a differential data line of USB2.0 of a second CPU of the system;
in a USB data line, connecting a first pair of high-speed differential lines of a USB3.0 interface at one end of the USB data line with a differential data line of a first USB2.0 interface at the other end of the data line, and connecting a second pair of high-speed differential lines of the USB3.0 interface with a differential data line of a second USB2.0 interface at the other end of the data line;
when the USB interface plug is used, the USB3.0 interface of the USB data line is inserted into the USB3.0 socket, and the first USB2.0 interface and/or the second USB2.0 interface of the USB data line are/is respectively inserted into the USB2.0 socket of the first external equipment and/or the second external equipment.
There is provided a method as above, the system further comprising a third CPU, the method further comprising:
and connecting the third pair of high-speed differential lines of the USB3.0 socket with the differential data lines of the USB2.0 of the third CPU of the system.
There is provided a method as above, the data line further comprising a third USB2.0 interface, the method further comprising: and connecting a third pair of high-speed differential lines of the USB3.0 interface of the data line with the differential data lines of the third USB2.0 interface.
In addition, in order to achieve the above object, the present invention further provides a USB socket, which is suitable for a system including at least two CPUs cascaded, wherein the USB socket is a USB3.0 socket, a first pair of high-speed differential lines of the USB3.0 socket is connected to a differential data line of USB2.0 of a first CPU of the system, and a second pair of high-speed differential lines of the USB3.0 socket is connected to a differential data line of USB2.0 of a second CPU of the system.
There is provided a USB socket as described above, the third pair of high speed differential lines of the USB3.0 socket being connected to the differential data lines of USB2.0 of the third CPU of the system.
In order to achieve the above object, the present invention further provides a USB data line, where one end of the data line includes a USB3.0 interface, and the other end includes at least a first USB2.0 interface and a second USB 2.0:
a first pair of high-speed differential lines of the USB3.0 interface is connected with differential data lines of the first USB2.0 interface;
and the second pair of high-speed differential lines of the USB3.0 interface is connected with the differential data lines of the second USB2.0 interface.
Providing a data line as above, where the other end of the data line further includes a third USB2.0 interface, and a third pair of high-speed differential lines of the USB3.0 interface is connected to the differential data lines of the third USB2.0 interface.
There is provided a data line as described above, the USB3.0 interface, the first USB2.0 interface, the second USB2.0 interface and the third USB2.0 interface sharing a 5V power supply and a ground.
According to the conversion method of the USB socket, the USB socket and the USB data line, the functions of two (or three) USB2.0 sockets are realized by using one USB3.0 socket, any one pair of differential lines in two pairs of high-speed data lines of the USB3.0 socket is used for the differential data lines of the USB2.0, the number of the USB sockets in an actual project (a system with a plurality of CPUs) can be saved, the design space is saved, and meanwhile, the functional pins of the USB3.0 socket are fully utilized, so that each CPU can independently perform data communication with external equipment in the project of the system with the plurality of CPUs.
Drawings
FIG. 1 is a schematic diagram of a system with two cascaded CPUs employing two USB2.0 receptacles;
FIG. 2 is a diagram of a system with two cascaded CPUs employing a USB3.0 socket according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a data line with two USB2.0 interfaces according to a second embodiment of the present invention;
FIG. 4 is a diagram of a data line with three USB2.0 interfaces according to a second embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The conversion method of the USB socket of the invention relates to a USB3.0 socket/interface and a USB2.0 socket/interface, both of which conform to the standard USB interface protocol. For convenience of description, the USB socket/interface provided on the hardware is referred to as a USB socket, and the USB socket/interface provided on the data line is referred to as a USB interface.
According to the USB2.0 related protocol, the USB2.0 socket/interface corresponding pin definition is fixed. As shown in table 1 and table 2, The function pin definitions corresponding to The socket of The ordinary USB2.0 and The function pin definition corresponding to The USB2.0 with USB-The-Go (OTG function for short) are respectively defined.
TABLE 1
Pin numbering Definition of Function(s)
1 VBUS 5V voltage pin
2 D- USB data port
3 D+ USB data port
4 GND Grounding pin
TABLE 2
Pin numbering Definition of Function(s)
1 VBUS 5V voltage pin
2 D- USB data port
3 D+ USB data port
4 ID For insertion detection
5 GND Grounding pin
According to the USB3.0 related protocol, the USB3.0 socket/interface corresponding pin definition is fixed. As shown in table 3 and table 4, The definition of The corresponding function pin of The USB socket with USB3.0 and The definition of The corresponding function pin of The USB4.0 with USB-The-Go (OTG function for short) are shown in table 3 and table 4, respectively
TABLE 3
Figure GDA0002099011250000041
TABLE 4
Figure GDA0002099011250000052
The invention has no limit on the appearance and the encapsulation of the USB2.0 and USB3.0 sockets/interfaces, the size of the interfaces and the types of the male and female seats, can be USB socket Type-A Type, Type-B Type, Micro USB and the like, has no limit on the types of materials used by the USB sockets, and has electrical parameters meeting the basic electrical requirement standards of the industry; the invention mainly defines the USB3.0 function pin, and uses one USB3.0 to complete the conversion of two or three USB2.0 pin functions. The present invention will be described in detail with reference to specific examples.
A first embodiment of the present invention provides a method for converting a USB socket, including:
in the system, a first pair of high-speed differential lines of a USB3.0 socket is connected with a differential data line of USB2.0 of a first CPU of the system, and a second pair of high-speed differential lines of the USB3.0 socket is connected with a differential data line of USB2.0 of a second CPU of the system;
in a USB data line, connecting a first pair of high-speed differential lines of a USB3.0 interface at one end of the USB data line with a differential data line of a first USB2.0 interface at the other end of the data line, and connecting a second pair of high-speed differential lines of the USB3.0 interface with a differential data line of a second USB2.0 interface at the other end of the data line;
when the USB interface plug is used, the USB3.0 interface of the USB data line is inserted into the USB3.0 socket, and the first USB2.0 interface and/or the second USB2.0 interface of the USB data line are/is respectively inserted into the USB2.0 socket of the first external equipment and/or the second external equipment.
In one possible implementation, the system further includes a third CPU, and the method further includes:
and connecting the third pair of high-speed differential lines of the USB3.0 socket with the differential data lines of the USB2.0 of the third CPU of the system.
In one possible implementation, the data line further includes a third USB2.0 interface, and the method further includes: and connecting a third pair of high-speed differential lines of the USB3.0 interface of the data line with the differential data lines of the third USB2.0 interface.
The method for converting the USB socket of the embodiment utilizes one USB3.0 socket to complete the pin definition method for converting two or three USB2.0 sockets, realizes the mode that one USB socket is used for independently communicating two or three mutually cascaded CPUs with the external equipment, can save the number of the USB sockets in actual projects, and can fully utilize the functions of the USB3.0 socket pins.
On the basis of the above embodiment, a second embodiment of the present invention provides a USB socket, which is suitable for a system including at least two cascaded CPUs, where the USB socket is a USB3.0 socket:
the first pair of high-speed differential lines of the USB3.0 socket is connected with the differential data lines of the USB2.0 of the first CPU of the system, and the second pair of high-speed differential lines of the USB3.0 socket is connected with the differential data lines of the USB2.0 of the second CPU of the system.
Specifically, when a system is composed of two CPUs (the first CPU11 and the second CPU12), and the system itself physically needs two USB2.0 sockets (shown in fig. 1) in a cascade manner, one USB3.0 socket 23 may be used to replace the two USB2.0 sockets (shown in fig. 2) to implement USB socket conversion, and at this time, the definition of the socket pin of the USB3.0 may be as described in table 5 or table 6.
TABLE 5
Figure GDA0002099011250000061
Figure GDA0002099011250000071
TABLE 6
Figure GDA0002099011250000072
In practical application, the relationship between the two CPUs may be a master-slave relationship or a parallel non-master-slave relationship: if the master-slave relationship is established, the data interface of USB2.0 of the master CPU (first CPU21) uses D1-D1 + in Table 5 (or Table 6), and the data interface of USB2.0 of the slave CPU (second CPU22) uses D2-D2 + in Table 5 (or Table 6); therefore, the main CPU can be ensured to be compatible with a standard USB2.0 data port and a standard USB3.0 data port; if not master-slave, then both CPUs may use either set of USB2.0 differential data lines in Table 5 (or Table 6).
When one USB3.0 socket is used for realizing the functions of two USB2.0 sockets, any one pair of differential lines in two pairs of high-speed data lines of the USB3.0 socket is used for the differential data lines of the USB2.0, and the other pair of high-speed data lines is reserved, so that other functions such as insertion identification, detection and the like can be reserved.
In another possible scenario, the third pair of high speed differential lines of the USB3.0 receptacle is connected to the differential data lines of USB2.0 of the third CPU of the system.
The USB3.0 socket is converted into three USB2.0 sockets, only the high-speed differential lines of the USB3.0 socket are all used for differential data lines of the USB2.0, and the high-speed differential lines are all used for differential data lines of the USB2.0, so that the three CPU cascade modes can be supported: the CPU may be a master CPU, two slave CPUs, or three parallel CPUs, and the specific pin definitions are shown in table 7.
TABLE 7
Figure GDA0002099011250000081
The USB socket of this embodiment implements the functions of two (or three) USB2.0 sockets by using one USB3.0 socket, and uses any one pair of differential lines of two pairs of high-speed data lines of the USB3.0 socket for the differential data lines of the USB2.0, so as to save the number of USB sockets in actual items (multiple CPU systems), save design space, and simultaneously, make full use of the functional pins of the USB3.0 socket, and ensure that each CPU can independently perform data communication with external devices in the items of the multiple CPU systems.
On the basis of the above embodiment, the third embodiment of the present invention provides a USB data line. Referring to fig. 3, one end of the data line includes a USB3.0 interface 31, and the other end includes at least a first USB2.0 interface 321 and a second USB 2.0322:
a first pair of high-speed differential lines of the USB3.0 interface 31 is connected to the differential data lines of the first USB2.0 interface 321;
the second pair of high-speed differential lines of the USB3.0 interface 31 is connected to the differential data lines of the second USB2.0 interface 322.
As shown in fig. 4, in one possible solution, the other end of the data line further includes a third USB2.0 interface 323, and the third pair of high-speed differential lines of the USB3.0 interface 31 is connected to the differential data lines of the third USB2.0 interface 323.
In practical application, several USB interfaces share the 5V power supply and the ground wire in the data lines of the two specifications.
According to the USB data line, the USB3.0 interface can be plugged with the USB3.0 socket of the system, the USB2.0 interface can be connected with external equipment, functional pins of the USB3.0 socket are fully utilized, and in the project of the system of the CPUs, each CPU can independently perform data communication with the external equipment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (5)

1. A method for converting a USB socket, which is suitable for a system including at least two cascaded CPUs, the method comprising:
in the system, when the two CPUs are in a master-slave relationship, a first pair of high-speed differential lines corresponding to the pin numbers 2 and 3 of the USB3.0 socket are connected with a differential data line of USB2.0 of a first CPU serving as a master CPU, and a second pair of high-speed differential lines of the USB3.0 socket are connected with a differential data line of USB2.0 of a second CPU serving as a slave CPU; when the two CPUs are in a non-master-slave relationship, connecting a first pair of high-speed differential lines of the USB3.0 socket with USB2.0 differential data lines of the first CPU/the second CPU, and connecting a second pair of high-speed differential lines of the USB3.0 socket with USB2.0 differential data lines of the second CPU/the first CPU;
in a USB data line, connecting a first pair of high-speed differential lines of a USB3.0 interface at one end of the USB data line with a differential data line of a first USB2.0 interface at the other end of the data line, and connecting a second pair of high-speed differential lines of the USB3.0 interface with a differential data line of a second USB2.0 interface at the other end of the data line;
when the USB interface plug is used, the USB3.0 interface of the USB data line is inserted into the USB3.0 socket, and the first USB2.0 interface and/or the second USB2.0 interface of the USB data line are/is respectively inserted into the USB2.0 socket of the first external equipment and/or the second external equipment.
2. The method of claim 1, wherein the system further comprises a third CPU, the method further comprising:
and connecting the third pair of high-speed differential lines of the USB3.0 socket with the differential data lines of the USB2.0 of the third CPU of the system.
3. The method of claim 2, wherein the data line further comprises a third USB2.0 interface, the method further comprising: and connecting a third pair of high-speed differential lines of the USB3.0 interface of the data line with the differential data lines of the third USB2.0 interface.
4. A USB socket is suitable for a system comprising at least two cascaded CPUs, and is characterized in that the USB socket is a USB3.0 socket, when the two CPUs are in a master-slave relationship, a first pair of high-speed differential lines corresponding to pins 2 and 3 of the USB3.0 socket are connected with a differential data line of USB2.0 of a first CPU serving as a master CPU, and a second pair of high-speed differential lines of the USB3.0 socket are connected with a differential data line of USB2.0 of a second CPU serving as a slave CPU;
when the two CPUs are in a non-master-slave relationship, a first pair of high-speed differential lines of the USB3.0 socket is connected with USB2.0 differential data lines of the first CPU/the second CPU, and a second pair of high-speed differential lines of the USB3.0 socket is connected with USB2.0 differential data lines of the second CPU/the first CPU;
when the USB interface plug is used, a USB3.0 interface of a USB data line is inserted into the USB3.0 socket, and a first USB2.0 interface and/or a second USB2.0 interface of the USB data line are/is respectively inserted into a USB2.0 socket of first external equipment and/or second external equipment;
the USB3.0 interface comprises a first pair of high-speed differential lines and a second pair of high-speed differential lines, wherein the first pair of high-speed differential lines of the USB3.0 interface at one end of the USB data line is connected with the differential data lines of the first USB2.0 interface at the other end of the data line, and the second pair of high-speed differential lines of the USB3.0 interface is connected with the differential data lines of the second USB2.0 interface at the other end of the data line.
5. The USB socket according to claim 4, wherein the third pair of high speed differential lines of the USB3.0 socket are connected to the differential data lines of USB2.0 of the third CPU of the system.
CN201610058814.XA 2016-01-28 2016-01-28 USB socket conversion method, USB socket and USB data line Active CN105552670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610058814.XA CN105552670B (en) 2016-01-28 2016-01-28 USB socket conversion method, USB socket and USB data line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610058814.XA CN105552670B (en) 2016-01-28 2016-01-28 USB socket conversion method, USB socket and USB data line

Publications (2)

Publication Number Publication Date
CN105552670A CN105552670A (en) 2016-05-04
CN105552670B true CN105552670B (en) 2020-02-07

Family

ID=55831705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610058814.XA Active CN105552670B (en) 2016-01-28 2016-01-28 USB socket conversion method, USB socket and USB data line

Country Status (1)

Country Link
CN (1) CN105552670B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112186446A (en) * 2020-09-07 2021-01-05 苏州浪潮智能科技有限公司 USB interface expansion device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466700A1 (en) * 2010-12-20 2012-06-20 Karl Storz GmbH & Co. KG Electrical cable for electrical energy and data transfer
CN204706733U (en) * 2015-06-16 2015-10-14 小米科技有限责任公司 USB connecting line
CN204928796U (en) * 2015-07-27 2015-12-30 维沃移动通信有限公司 USB interface circuit and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466700A1 (en) * 2010-12-20 2012-06-20 Karl Storz GmbH & Co. KG Electrical cable for electrical energy and data transfer
CN204706733U (en) * 2015-06-16 2015-10-14 小米科技有限责任公司 USB connecting line
CN204928796U (en) * 2015-07-27 2015-12-30 维沃移动通信有限公司 USB interface circuit and electronic equipment

Also Published As

Publication number Publication date
CN105552670A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN203870529U (en) Universal serial bus server
US20120233373A1 (en) Electronic equipment system, electronic equipment and connection equipment
US8414335B2 (en) USB port
CN204155270U (en) There is the computer architecture of general-purpose interface
CN107544653A (en) A kind of USB Type C interface and mobile device
US9575509B2 (en) Electronic device with stackable modules
CN106299938A (en) USB interface adapter
EP2849292A1 (en) Electronic device assembly
CN102593632B (en) Universal serial bus plug connector
CN115237841A (en) Electronic equipment, quick charging method, device, system and readable storage medium
CN105552670B (en) USB socket conversion method, USB socket and USB data line
CN102064421A (en) Universal serial bus (USB) connector
CN201075214Y (en) USB general-purpose data line
CN203932603U (en) A kind of quick charge formula usb data line
CN201927865U (en) Application structure of connector
CN202488738U (en) Wireless fidelity (WiFi) wireless internet adapter integrating universal serial bus (USB) flash disk function and USB hub function
CN100379117C (en) Electronic device capable of raising charging current and charger thereof
CN201898265U (en) All-in-one connector
CN201898259U (en) Improved structure of all-in-one connector
CN201898258U (en) Improved structure of all-in-one connector
US20130054865A1 (en) Mouse
TWM491270U (en) Terminal module
CN202551059U (en) Multifunctional USB (Universal Serial Bus) network card
US9478928B1 (en) Multi-function connectable data cable
CN201898266U (en) All-in-one connector structure

Legal Events

Date Code Title Description
C06 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