CN106329256B - USB connecting line, operation method based on USB connecting line and mobile terminal - Google Patents

USB connecting line, operation method based on USB connecting line and mobile terminal Download PDF

Info

Publication number
CN106329256B
CN106329256B CN201510335271.7A CN201510335271A CN106329256B CN 106329256 B CN106329256 B CN 106329256B CN 201510335271 A CN201510335271 A CN 201510335271A CN 106329256 B CN106329256 B CN 106329256B
Authority
CN
China
Prior art keywords
usb interface
usb
mobile terminal
line
data
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
CN201510335271.7A
Other languages
Chinese (zh)
Other versions
CN106329256A (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.)
Xiaomi Inc
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Xiaomi Inc
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 Xiaomi Inc, Beijing Xiaomi Mobile Software Co Ltd filed Critical Xiaomi Inc
Priority to CN201510335271.7A priority Critical patent/CN106329256B/en
Publication of CN106329256A publication Critical patent/CN106329256A/en
Application granted granted Critical
Publication of CN106329256B publication Critical patent/CN106329256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The disclosure relates to a USB connecting line, an operation method based on the USB connecting line and a mobile terminal, wherein the USB connecting line comprises: a wire body; the first USB interface and the second USB interface are positioned at one end of the wire body; the third USB interface is positioned at the other end of the wire body; the versions of the first USB interface and the second USB interface are lower than that of the third USB interface, and the first USB interface or the second USB interface is used for multiplexing idle data lines of the third USB interface. According to the USB connecting line, the operation method based on the USB connecting line and the mobile terminal, the idle data line of the third USB interface is multiplexed through the first USB interface or the second USB interface, and the use efficiency of the third USB interface is improved.

Description

USB connecting line, operation method based on USB connecting line and mobile terminal
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a USB connection line, an operation method based on the USB connection line, and a mobile terminal.
Background
Universal Serial Bus (USB) was a standard established by the nonprofit organization in 1994, consisting of microsoft, intel, International Business Machines (IBM), etc., and was originally intended to help external devices better connect and exchange data with computers. Over the course of more than 20 years, the USB standard has undergone multiple versions ranging from 1.x, 2.0, 3.0 to 3.1, with significant advances in data transfer rates. The C-Type USB (USB Type-C, abbreviated as USB-C) is a specification of a new USB cable and connector, and defines a whole set of new USB physical specifications including a connector, a port, a container, a cable, and the like.
The USB-C interface has the bright points of thinner design, higher transmission speed (highest 10Gbps) and stronger power transmission (highest 100W), and has the biggest characteristic of supporting the double-sided insertion of the USB interface, formally solving the problem of inaccurate USB insertion, and the convenient insertion of the front side and the back side, thereby greatly improving the usability of the USB interface. Since the interface has no directivity and the size of the interface is small, only 8.3mm by 2.5mm, more and more mobile phones start to use the USB-C interface as the USB interface.
The USB-C is part of a USB 3.1 interface, and compared with the USB2.0, the USB-C interface comprises four newly added lines SSTX +, SSTX-, SSRX +, SSRX-in the USB 3.0. However, since many mobile phones do not use USB 3.0, these pins on the interface are idle, which inevitably results in waste of resources and reduces the efficiency of interface usage.
Disclosure of Invention
The embodiment of the disclosure provides a USB connecting line, and an operation method and device based on the USB connecting line, so as to solve the problem of low use efficiency of the current interface.
According to a first aspect of the embodiments of the present disclosure, there is provided a USB connection line, including:
a wire body;
the first USB interface and the second USB interface are positioned at one end of the wire body;
the third USB interface is positioned at the other end of the wire body;
the versions of the first USB interface and the second USB interface are both lower than the version of the third USB interface, and the first USB interface or the second USB interface is used for multiplexing idle data lines of the third USB interface.
In an embodiment, the line body includes a main line body connected to the third USB interface, a first secondary line body connected to the first USB interface, and a second secondary line body connected to the second USB interface, where the main line body is connected to the first secondary line body and the second secondary line body, respectively.
In an embodiment, the first USB interface and the second USB interface each include a USB2.0 interface, and the third USB interface includes a type-C USB interface.
In one embodiment, a D +, D-, SSTX +, SSTX-, SSRX +, SSRX-data line connected to the third USB interface is disposed in the main line body;
and part or all of SSTX +, SSTX-, SSRX + and SSRX-connected with the first USB interface are arranged in the first secondary wire body, the SSTX +, SSTX-, SSRX + and SSRX-are idle data lines of a third USB interface, and D + and D-data lines connected with the second USB interface are arranged in the second secondary wire body.
In an embodiment, a signal conversion chip is disposed in the first USB interface, and the signal conversion chip is configured to convert a USB signal into a UART signal or a JTAG signal.
In one embodiment, a D +, D-, SSTX +, SSTX-, SSRX +, SSRX-data line connected to the third USB interface is disposed in the main line body;
d + and D-data lines connected with the first USB interface are arranged in the first auxiliary line body, part or all of SSTX +, SSTX-, SSRX + and SSRX-connected with the second USB interface are arranged in the second auxiliary line body, and the SSTX +, SSTX-, SSRX + and SSRX-are idle data lines of the third USB interface.
In an embodiment, a signal conversion chip is disposed in the second USB interface, and the signal conversion chip is configured to convert a USB signal into a UART signal or a JTAG signal.
In an embodiment, the third USB interface is connected to a mobile terminal, and the first USB interface and/or the second USB interface is connected to a host.
According to a second aspect of the embodiments of the present disclosure, an operating method based on a USB connection line is provided, where the USB connection line includes a line body, a first USB interface and a second USB interface located at one end of the line body, and a third USB interface located at the other end of the line body, where versions of the first USB interface and the second USB interface are both lower than that of the third USB interface; the second USB interface is configured to multiplex idle data lines of the third USB interface, and the method includes:
judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface;
and when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the second USB interface, transmitting data based on the multiplexed data line, wherein the data comprises test data.
In an embodiment, the method may further comprise:
and when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the first USB interface, charging the mobile terminal and/or transmitting data with the host through the host.
In an embodiment, the data may also include log data.
According to a third aspect of the embodiments of the present disclosure, a mobile terminal is provided, where the USB connection line includes a line body, a first USB interface and a second USB interface located at one end of the line body, and a third USB interface located at the other end of the line body, where versions of the first USB interface and the second USB interface are both lower than that of the third USB interface; the second USB interface is configured to multiplex an idle data line of the third USB interface, and the mobile terminal includes:
the first judgment module is used for judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface;
and the transmission module is used for transmitting data based on a multiplexed data line when the mobile terminal is judged to be successfully connected with the third USB interface and the host is successfully connected with the second USB interface, wherein the data comprises test data.
In one embodiment, the mobile terminal further includes:
the second judgment module is used for judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the first USB interface;
and the operation module is used for charging the mobile terminal and/or transmitting data with the host through the host when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the first USB interface.
In an embodiment, the data further comprises log data.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface;
and when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the second USB interface, transmitting data based on the multiplexed data line, wherein the data comprises test data.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the first USB interface or the second USB interface multiplexes the idle data line of the third USB interface, so that the use efficiency of the third USB interface is improved, and in addition, an additional interface is not required to be added to the mobile terminal connected with the third USB interface, so that the cost of the mobile terminal can be reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram illustrating a USB connection cord in accordance with an exemplary embodiment.
FIG. 2 is a block diagram illustrating another USB connection line in accordance with an exemplary embodiment.
FIG. 3 is a block diagram illustrating yet another USB connection line in accordance with an exemplary embodiment.
FIG. 4 is a block diagram illustrating yet another USB connection line in accordance with an exemplary embodiment.
FIG. 5 is a flow chart illustrating a method of operation based on USB connection lines in accordance with an exemplary embodiment.
Fig. 6a is a block diagram illustrating a mobile terminal according to an example embodiment.
Fig. 6b is a block diagram illustrating another mobile terminal according to an example embodiment.
Fig. 7 is a block diagram illustrating a mobile terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a block diagram illustrating a USB connection line according to an exemplary embodiment, where the USB connection line includes, as shown in fig. 1: the cable body 11 is provided with a first USB interface 12 and a second USB interface 13 which are positioned at one end of the cable body 11; a third USB interface 14 located at the other end of the wire body 11; the versions of the first USB interface and the second USB interface are lower than that of the third USB interface, and the first USB interface or the second USB interface is used for multiplexing idle data lines of the third USB interface.
As shown in fig. 2, the wire body 11 may include a main wire body 111 connected to the third USB interface 14, a first secondary wire body 112 connected to the first USB interface 12, and a second secondary wire body 113 connected to the second USB interface 13, wherein the main wire body 111 is connected to the first secondary wire body 112 and the second secondary wire body 113, respectively.
The first USB interface and the second USB interface may be different interfaces or the same interface, for example, both may be USB2.0 interfaces, and the version of the third USB interface is higher than the versions of the first USB interface and the second USB interface, for example, may be a C-type USB interface. It should be noted that the above is only an example, and does not limit the specific interface type.
The structure and the use of the USB cable will be described in detail below by taking as an example that the first USB interface and the second USB interface are both USB2.0 interfaces, and the third USB interface is a C-type USB interface.
Because the main line body is internally provided with the D +, D-, SSTX +, SSRX + and SSRX-data lines connected with the C-type USB interface, when the C-type USB interface is only used as a USB2.0 interface, only the D + and D-data lines of the USB2.0 are used, and thus the SSTX +, SSRX and SSRX-data lines are idle and can be used for transmitting four data signals at most. In this embodiment, if the first USB interface uses D + and D-data lines, the second USB interface may multiplex part or all of SSTX +, SSTX-, SSRX +, and SSRX-, that is, the first auxiliary line body is provided with D + and D-data lines connected to the first USB interface, and the second auxiliary line body is provided with part or all of SSTX +, SSTX-, SSRX +, and SSRX-connected to the second USB interface; similarly, if the second USB interface uses D + and D-data lines, the first USB interface may multiplex part or all of SSTX +, SSTX-, SSRX +, and SSRX-, that is, part or all of SSTX +, SSTX-, SSRX +, and SSRX-connected to the first USB interface is provided in the first sub-line body, and D + and D-data lines connected to the second USB interface are provided in the second sub-line body.
The main line body 111 shown in fig. 2 conforms to the specification of USB 3.0, and the first secondary line body 112 and the second secondary line body 113 both conform to the specification of USB 2.0.
In this embodiment, when the first USB interface 12 multiplexes some or all of the SSTX +, SSTX-, SSRX +, SSRX-of the third USB interface 14, a signal conversion chip 121 may be disposed in the first USB interface 12, as shown in fig. 3; similarly, when the second USB interface 13 multiplexes some or all of SSTX +, SSTX-, SSRX +, SSRX-of the third USB interface 14, a signal conversion chip 131 may be disposed in the second USB interface 13, as shown in fig. 4.
When two of the four idle data lines are multiplexed as a UART interface, a conversion chip (e.g., PL2303) for converting USB and Universal Asynchronous Receiver/Transmitter (UART) and a peripheral circuit are required to be disposed in the corresponding USB interface, so as to convert the USB signal into a corresponding UART signal. When four idle data lines are used as Joint Test Action Group (JTAG) debug interfaces, a Micro Control Unit (MCU) needs to be set in the corresponding USB interface, and programmed therein to convert USB signals into corresponding JTAG signals.
In addition, the first, second and third USB interfaces are male interfaces, the male interface is opposite to the female interface, and the male interface generally refers to an interface into which other devices can be inserted. The first and second USB interfaces are A-type male interfaces and can be connected with a host computer such as a PC, and the third USB interface can be connected with a mobile terminal such as a mobile phone.
In this embodiment, after the user connects the third USB interface to the mobile phone, if only the first USB interface in fig. 4 is connected to the PC, the normal data operation and charging of USB2.0 can be realized; if only the second USB interface in fig. 4 is connected to the PC, the mobile phone cannot be charged, and only data can be transmitted based on the multiplexed data line, for example, test data of a mobile phone chip, log data of a program in the mobile phone, and the like; if the first USB interface and the second USB interface are connected to the PC, normal USB2.0 operation and charging can be achieved, and data can be transmitted based on the multiplexed data lines, wherein the data includes but is not limited to test data and log data.
According to the USB connecting line, the idle data line of the third USB interface is multiplexed through the first USB interface or the second USB interface, the use efficiency of the third USB interface is improved, in addition, an additional interface does not need to be added to the mobile terminal connected with the third USB interface, and the cost of the mobile terminal can be reduced.
Fig. 5 is a flowchart illustrating an operation method based on a USB connection line according to an exemplary embodiment, where the structure of the USB connection line may refer to fig. 1, which is not described herein, and in this embodiment, it is assumed that the second USB interface multiplexes a spare data line of the third USB interface, as shown in fig. 5, the method includes:
in step S501, it is determined whether the mobile terminal is successfully connected to the third USB interface and the host is successfully connected to the second USB interface.
The mobile terminal can be a mobile phone, and the host can be a PC.
In this embodiment, a mobile terminal such as a mobile phone can determine whether the mobile terminal is connected to a PC through a first USB interface or a second USB interface of a USB connection line.
In step S502, when it is determined that the mobile terminal is successfully connected to the third USB interface and the host is successfully connected to the second USB interface, data including test data is transmitted based on the multiplexed data line.
If the mobile terminal such as a mobile phone judges that the mobile terminal is connected with the PC through the second USB interface, data can be transmitted based on the multiplexed data line, and the data comprises test data.
In this embodiment, a signal conversion chip may be disposed in the second USB interface, as shown in fig. 4. The multiplexed data line can be used as a UART interface, so the transmitted data can be test data, log data and other various data, and in addition, the multiplexed data line can also be used as a JTAG debugging interface, so the test data, for example, the test data of an internal chip arranged on a mobile phone and the like can be transmitted.
In addition, after determining that the mobile terminal is successfully connected to the third USB interface and the host is not successfully connected to the second USB interface, or after transmitting data based on the multiplexed data lines, the method may further include steps S503 to S504.
In step S503, it is determined whether the mobile terminal is successfully connected to the third USB interface and the host is successfully connected to the first USB interface.
In step S504, when it is determined that the mobile terminal is successfully connected to the third USB interface and the host is successfully connected to the first USB interface, the mobile terminal is charged and/or data transmission is performed with the host through the host.
In this embodiment, the first USB interface corresponds to a conventional USB2.0 interface.
The operation method based on the USB connecting line can be operated based on the USB connecting line provided by the disclosure, and an additional interface does not need to be added to the mobile terminal connected with the connecting line, so that the cost of the mobile terminal can be reduced.
Fig. 6a is a block diagram of a mobile terminal according to an exemplary embodiment, where a USB connection line includes a line body, a first USB interface and a second USB interface located at one end of the line body, and a third USB interface located at the other end of the line body, where the first USB interface and the second USB interface are both lower in version than the third USB interface; the second USB interface is configured to multiplex a spare data line of the third USB interface, as shown in fig. 6a, the mobile terminal includes a first determining module 61 and a transmitting module 62, where:
the first judging module 61 is used for judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface; the transmission module 62 is configured to transmit data based on the multiplexed data line when the first determination module 61 determines that the mobile terminal is successfully connected to the third USB interface and the host is successfully connected to the second USB interface, where the data includes test data.
In an embodiment, the data may further include log data.
Fig. 6b is a block diagram of a mobile terminal according to an exemplary embodiment, and as shown in fig. 6b, on the basis of the embodiment shown in fig. 6a, the apparatus may further include:
a second judging module 63, configured to judge whether the mobile terminal is successfully connected to the third USB interface and whether the host is successfully connected to the first USB interface;
the operation module 64 is configured to charge the mobile terminal and/or perform data transmission with the host through the host when the second determination module 63 determines that the mobile terminal is successfully connected to the third USB interface and the host is successfully connected to the first USB interface.
With regard to the apparatus in the above embodiment, the specific manner in which each module and sub-module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
The mobile terminal can be operated based on the USB connecting line provided by the disclosure, an additional interface is not required to be added to the device, and the cost is reduced.
Fig. 7 is a block diagram illustrating a mobile terminal adapted for operating over a USB connection line according to an example embodiment. For example, the mobile terminal 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, and so forth.
Referring to fig. 7, mobile terminal 700 may include one or more of the following components: processing component 702, memory 704, power component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714, and communication component 717.
Processing component 702 generally controls overall operation of mobile terminal 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is used to store various types of data to support operation of the device 700. Examples of such data include instructions for any application or method operating on mobile terminal 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 706 provides power to various components of mobile terminal 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 700.
The multimedia component 708 includes a screen that provides an output interface between the mobile terminal 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input an audio signal. For example, the audio component 710 may include a Microphone (MIC) for receiving external audio signals when the mobile terminal 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 714 includes one or more sensors for providing various aspects of state assessment for the mobile terminal 700. For example, sensor assembly 714 may determine the open/closed status of device 700, the relative positioning of components such as a display and keypad of mobile terminal 700, sensor assembly 714 may also detect a change in the position of mobile terminal 700 or a component of mobile terminal 700, the presence or absence of user contact with mobile terminal 700, orientation or acceleration/deceleration of mobile terminal 700, and a change in the temperature of mobile terminal 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 can facilitate communications between the mobile terminal 700 and other devices in a wired or wireless manner. The mobile terminal 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the mobile terminal 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 704 including instructions, executable by the processor 720 of the mobile terminal 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A USB connection cord, comprising:
a wire body;
the first USB interface and the second USB interface are positioned at one end of the wire body;
the third USB interface is positioned at the other end of the wire body;
the versions of the first USB interface and the second USB interface are lower than the version of the third USB interface, and the first USB interface or the second USB interface is used for multiplexing idle data lines of the third USB interface;
and a signal conversion chip is arranged in the USB interface for multiplexing the idle data line of the third USB interface, and the signal conversion chip is used for converting the USB signal into a joint test task group (JTAG) signal.
2. The USB connection according to claim 1, wherein the wire body includes a main wire body connected to the third USB interface, a first secondary wire body connected to the first USB interface, and a second secondary wire body connected to the second USB interface, wherein the main wire body is connected to the first secondary wire body and the second secondary wire body, respectively.
3. The USB connection cord of claim 2, wherein the first USB interface and the second USB interface each comprise a USB2.0 interface, and the third USB interface comprises a type C USB interface.
4. The USB connecting wire according to claim 2, wherein a D +, D-, SSTX +, SSRX + SSRX-data line connected to the third USB interface is arranged in the main wire body;
and part or all of SSTX +, SSTX-, SSRX + and SSRX-connected with the first USB interface are arranged in the first secondary wire body, the SSTX +, SSTX-, SSRX + and SSRX-are idle data lines of a third USB interface, and D + and D-data lines connected with the second USB interface are arranged in the second secondary wire body.
5. The USB connection line according to claim 4, wherein a signal conversion chip is disposed in the first USB interface, and the signal conversion chip is configured to convert the USB signal into a joint test task group (JTAG) signal.
6. The USB connecting wire according to claim 2, wherein a D +, D-, SSTX +, SSRX + SSRX-data line connected to the third USB interface is arranged in the main wire body;
d + and D-data lines connected with the first USB interface are arranged in the first auxiliary line body, part or all of SSTX +, SSTX-, SSRX + and SSRX-connected with the second USB interface are arranged in the second auxiliary line body, and the SSTX +, SSTX-, SSRX + and SSRX-are idle data lines of the third USB interface.
7. The USB connection line according to claim 6, wherein a signal conversion chip is disposed in the second USB interface, and the signal conversion chip is configured to convert the USB signal into a joint test task group (JTAG) signal.
8. The USB connection cable according to any one of claims 1 to 6, wherein the third USB interface is connected to a mobile terminal, and the first USB interface and/or the second USB interface is connected to a host.
9. An operation method based on a USB connecting line is characterized in that the USB connecting line comprises a line body, a first USB interface and a second USB interface which are positioned at one end of the line body, and a third USB interface which is positioned at the other end of the line body, wherein the versions of the first USB interface and the second USB interface are both lower than the version of the third USB interface; the second USB interface is used for multiplexing an idle data line of the third USB interface, wherein a signal conversion chip is arranged in the USB interface for multiplexing the idle data line of the third USB interface, and the signal conversion chip is used for converting a USB signal into a joint test group (JTAG) signal;
the method comprises the following steps:
judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface;
and when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the second USB interface, transmitting data based on the multiplexed data line, wherein the data comprises test data.
10. The method of claim 9, further comprising:
judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the first USB interface;
and when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the first USB interface, charging the mobile terminal and/or transmitting data with the host through the host.
11. The method of claim 9 or 10, wherein the data further comprises log data.
12. A mobile terminal is used for operating a USB connecting line, and is characterized in that the USB connecting line comprises a line body, a first USB interface and a second USB interface which are positioned at one end of the line body, and a third USB interface which is positioned at the other end of the line body, wherein the versions of the first USB interface and the second USB interface are both lower than the version of the third USB interface; the second USB interface is used for multiplexing an idle data line of the third USB interface, wherein a signal conversion chip is arranged in the USB interface for multiplexing the idle data line of the third USB interface, and the signal conversion chip is used for converting a USB signal into a joint test group (JTAG) signal;
the mobile terminal includes:
the first judging module is used for judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface;
and the transmission module is used for transmitting data based on a multiplexed data line when the first judgment module judges that the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the second USB interface, and the data comprises test data.
13. The mobile terminal of claim 12, wherein the mobile terminal further comprises:
the second judgment module is used for judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the first USB interface;
and the operation module is used for charging the mobile terminal and/or transmitting data with the host through the host when the second judgment module judges that the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the first USB interface.
14. A mobile terminal according to claim 12 or 13, wherein the data further comprises log data.
15. A mobile terminal is used for operating a USB connecting line, and is characterized in that the USB connecting line comprises a line body, a first USB interface and a second USB interface which are positioned at one end of the line body, and a third USB interface which is positioned at the other end of the line body, wherein the versions of the first USB interface and the second USB interface are both lower than the version of the third USB interface; the second USB interface is used for multiplexing an idle data line of the third USB interface, wherein a signal conversion chip is arranged in the USB interface for multiplexing the idle data line of the third USB interface, and the signal conversion chip is used for converting a USB signal into a joint test group (JTAG) signal;
the mobile terminal includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
judging whether the mobile terminal is successfully connected with the third USB interface and whether the host is successfully connected with the second USB interface;
and when the mobile terminal is successfully connected with the third USB interface and the host is successfully connected with the second USB interface, transmitting data based on the multiplexed data line, wherein the data comprises test data.
16. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 9-11.
CN201510335271.7A 2015-06-16 2015-06-16 USB connecting line, operation method based on USB connecting line and mobile terminal Active CN106329256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510335271.7A CN106329256B (en) 2015-06-16 2015-06-16 USB connecting line, operation method based on USB connecting line and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510335271.7A CN106329256B (en) 2015-06-16 2015-06-16 USB connecting line, operation method based on USB connecting line and mobile terminal

Publications (2)

Publication Number Publication Date
CN106329256A CN106329256A (en) 2017-01-11
CN106329256B true CN106329256B (en) 2020-10-30

Family

ID=57732116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510335271.7A Active CN106329256B (en) 2015-06-16 2015-06-16 USB connecting line, operation method based on USB connecting line and mobile terminal

Country Status (1)

Country Link
CN (1) CN106329256B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112449270B (en) * 2020-11-24 2023-10-03 Oppo广东移动通信有限公司 Audio output method, data cable, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202121142U (en) * 2011-05-19 2012-01-18 富士康(昆山)电脑接插件有限公司 Cable assembly
GB2486984A (en) * 2010-12-31 2012-07-04 Wen-Yung Liao A USB connector with relatively movable modules
CN203562629U (en) * 2013-10-15 2014-04-23 吴文明 Data connecting line with multiple USB interfaces
CN204179435U (en) * 2014-09-26 2015-02-25 特通科技有限公司 There is the enlargement module of USB C-Type connector
CN204706733U (en) * 2015-06-16 2015-10-14 小米科技有限责任公司 USB connecting line

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI398053B (en) * 2010-04-09 2013-06-01 Via Tech Inc Cable assembly and electronic device
CN102546869B (en) * 2012-01-06 2014-09-17 海能达通信股份有限公司 USB (Universal Serial Bus) interface multiplexing interphone and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2486984A (en) * 2010-12-31 2012-07-04 Wen-Yung Liao A USB connector with relatively movable modules
CN202121142U (en) * 2011-05-19 2012-01-18 富士康(昆山)电脑接插件有限公司 Cable assembly
CN203562629U (en) * 2013-10-15 2014-04-23 吴文明 Data connecting line with multiple USB interfaces
CN204179435U (en) * 2014-09-26 2015-02-25 特通科技有限公司 There is the enlargement module of USB C-Type connector
CN204706733U (en) * 2015-06-16 2015-10-14 小米科技有限责任公司 USB connecting line

Also Published As

Publication number Publication date
CN106329256A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN102263904B (en) Method and system for controlling double cameras and electronic equipment with double cameras
US9362639B2 (en) Audio jack and electronic device including same
CN108964187B (en) Terminal and charging method between terminals
JP6228716B2 (en) Interface circuit, state switching method and apparatus
CN106712179B (en) Method and device for realizing reverse charging
KR20100072857A (en) Controlling method of interrupt and potable device using the same
CN107196372B (en) Charging method and device
WO2020015160A1 (en) Reverse charging device and reverse charging current adjustment method and apparatus
CN105224494A (en) Method for handover control and device
EP3832841A1 (en) Charging circuit, electronic device, charging control method and device
JP6491237B2 (en) Method, apparatus, program and recording medium for processing touch screen point reports
CN107329520B (en) USB interface connection method, device and system of mobile terminal
US11205906B2 (en) Charging processing method, terminal device and storage medium
CN107681727B (en) Control method and device of electronic equipment
CN114885322A (en) Switch module, terminal control method and device, equipment and storage medium
CN204706733U (en) USB connecting line
KR101504654B1 (en) Method for Establishing Connection Between External Device and Mobile Terminal Docking Thereat
CN106329256B (en) USB connecting line, operation method based on USB connecting line and mobile terminal
US20140244890A1 (en) Cable, user apparatus connected with cable, and operating method thereof
CN111752362B (en) Method, device and storage medium for preventing interface from being corroded
CN109586125B (en) Type-C adapter, terminal and electronic equipment
US11533728B2 (en) Data transmission method and apparatus on unlicensed frequency band
CN113726905B (en) Data acquisition method, device and equipment based on home terminal equipment
EP3828716A1 (en) Method and apparatus for identifying electronic device, terminal device, and electronic device
CN108092986B (en) Data transmission method and device of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: No.018, floor 8, building 6, yard 33, middle Xierqi Road, Haidian District, Beijing 100085

Applicant after: BEIJING XIAOMI MOBILE SOFTWARE Co.,Ltd.

Applicant after: Xiaomi Technology Co.,Ltd.

Address before: 100085, Haidian District, Beijing Qinghe Street No. 68, Huarun colorful city shopping center two, 13 layers

Applicant before: Xiaomi Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant