CN113934658A - Device and method for improving compatibility of active universal serial bus cable - Google Patents
Device and method for improving compatibility of active universal serial bus cable Download PDFInfo
- Publication number
- CN113934658A CN113934658A CN202111524732.7A CN202111524732A CN113934658A CN 113934658 A CN113934658 A CN 113934658A CN 202111524732 A CN202111524732 A CN 202111524732A CN 113934658 A CN113934658 A CN 113934658A
- Authority
- CN
- China
- Prior art keywords
- active
- module
- serial bus
- universal serial
- bus cable
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Information Transfer Systems (AREA)
Abstract
The present disclosure relates to an apparatus for improving compatibility of an active universal serial bus cable and a method thereof. The device includes: the detection module is connected with the input end of the active module and used for detecting whether a preset signal exists at the input end of the active module or not and obtaining a detection result; and the control module is connected with the active module and the detection module and used for controlling whether the active module is closed or not according to the detection result so as to improve the compatibility of the active universal serial bus cable. By the scheme, the compatibility of the active universal serial bus copper cable and the optical cable can be improved, and the user experience is improved.
Description
Technical Field
The present disclosure relates generally to the field of cabling technology. More particularly, the present disclosure relates to an apparatus, a method, and an active universal serial bus cable apparatus and a computer readable storage medium for improving compatibility of an active universal serial bus cable.
Background
Universal Serial Bus ("USB") is a Serial Bus standard for connecting external devices, which is a necessary hardware for many digital products. With the continuous progress of data transmission technology, the USB interfaces are also continuously updated iteratively, such as USB 1.0, USB 2.0, USB3.0, and USB 3.1. In general, the USB protocol provides for the transmission of data between a Host and a Device over a USB cable, the data being transmitted bi-directionally in a main link consisting of two differential signals. In practical application, after the Host and the Device are connected through the USB cable, a series of signal handshake negotiations are performed between the Host and the Device on a data link, and finally, the operating mode of the link is determined. For example, whether the link is operating in USB3.0 mode or USB3.1 mode is ultimately determined.
However, in practical applications, due to the difference in the high speed performance of the individual ICs in the active modules of many cables (links) for transmitting USB signals, the eye diagram of signals on the links operating in USB3.1 mode (at 10 Gbps) is poor and there are errors in the transmitted data. At this time, the link connection is in an unstable state, so that the high-speed signal cannot be correctly identified by the Device, and some compatibility problems are brought to the user in the using process. Therefore, how to improve the compatibility of the active USB cable becomes a technical problem to be solved.
Disclosure of Invention
To at least partially solve the technical problems mentioned in the background, the solution of the present disclosure provides a solution to improve the compatibility of an active universal serial bus cable. By using the scheme disclosed by the invention, all the active USB copper cables and the active USB optical cables can be compatible. To this end, the present disclosure provides solutions in a number of aspects as follows.
In one aspect, the present disclosure provides an apparatus for improving compatibility of an active universal serial bus cable, wherein the active universal serial bus cable includes at least an active module, and the apparatus includes: the detection module is connected with the input end of the active module and used for detecting whether a preset signal exists at the input end of the active module or not and obtaining a detection result; and the control module is connected with the active module and the detection module and used for controlling whether the active module is closed or not according to the detection result so as to improve the compatibility of the active universal serial bus cable.
In one embodiment, wherein the active module includes a register, in controlling whether the active module is turned off according to the detection result, the control module is further configured to: and configuring the register according to the detection result so as to control whether the active module is closed or not.
In another embodiment, in configuring the register to control whether the active module is turned off according to the detection result, the control module is further configured to: and responding to the detection module detecting that the input end of the active module has a preset signal, and configuring the register to control the active module to be closed so as to improve the compatibility of the active universal serial bus cable.
In yet another embodiment, the preset signal is an LBPM signal.
In yet another embodiment, wherein the control module comprises a control interface for connecting with the active module and for being controlled by the control module to configure the register.
In yet another embodiment, wherein the control interface comprises at least an integrated circuit bus interface, a serial peripheral interface, a universal asynchronous receiver transmitter interface, or a controller area network interface.
In another aspect, the present disclosure also provides an active universal serial bus cable apparatus comprising: an active universal serial bus cable; and an apparatus according to the preceding embodiments and for improving the compatibility of an active universal serial bus cable.
In one embodiment, wherein the active universal serial bus cable comprises an active universal serial bus copper cable or an active universal serial bus optical cable.
In yet another aspect, the present disclosure also provides a method of improving compatibility of an active universal serial bus cable, wherein the active universal serial bus cable includes at least an active module, and the method includes: detecting whether a preset signal exists at the input end of the active module or not, and obtaining a detection result; and controlling whether the active module is closed or not according to the detection result so as to improve the compatibility of the active universal serial bus cable.
In yet another aspect, the present disclosure also provides a computer readable storage medium having stored thereon computer readable instructions of program instructions for improving compatibility of an active universal serial bus cable, which when executed by one or more processors, implement various embodiments as previously described.
The USB host, the cable, and the device may be USB3.1 standard or USB3.0 standard, but must be downward compatible, only the combination of the USB3.1 host, the USB3.1 cable, and the USB3.1 device makes the entire link operate in the USB3.1 operating mode, and when one of them does not meet the speed requirement of USB3.1, the link does not operate in the USB3.1 operating mode, but is downward compatible (down mode); however, in the signal transmission link, due to the difference of the high-speed performance of the IC individuals in the active module, the link is not good at a high speed at 10Gbps, and there is an error code in the transmission data, but because the host and the device connected to the USB3.1 can normally transmit a low-speed LBPM low-speed handshake signal between the links, the host and the device cannot reduce the mode (to USB 3.0) for transmission, so that the high-speed bandwidth is not sufficient, and the device cannot be stably identified.
According to the scheme of the disclosure, whether the input end of the active module has the preset signal is detected through the detection module, whether the active module is closed is controlled through the control module according to the detection result of the detection module, and the active module is closed when the preset signal (such as an LBPM signal) is retrieved, so that the mode is reduced through the handshake failure of the preset signal between the host and the equipment, and thus the compatibility of the active USB cable can be improved. Further, the control module of the embodiment of the disclosure configures the register of the active module through the control interface, so that the active module does not transmit the LBPM signal, thereby causing a handshake failure between Host and Device and being compatible with other USB protocols, and improving the compatibility of all active USB cables (including active copper cables and active optical cables).
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. In the drawings, several embodiments of the disclosure are illustrated by way of example and not by way of limitation, and like or corresponding reference numerals indicate like or corresponding parts and in which:
fig. 1 is an exemplary schematic diagram illustrating an existing active USB cable;
FIG. 2 is an exemplary diagram illustrating an LFPS signal and an LBPM signal;
FIG. 3 is a schematic flow chart illustrating handshaking between an existing Host and a Device;
fig. 4 is an exemplary block diagram illustrating an apparatus for improving compatibility of an active universal serial bus cable according to an embodiment of the present disclosure;
FIG. 5 is an exemplary diagram illustrating an apparatus containing one detection module according to an embodiment of the disclosure;
FIG. 6 is an exemplary schematic diagram illustrating an apparatus containing two detection modules according to an embodiment of the disclosure;
FIG. 7 is a block diagram illustrating an exemplary structure of an active universal serial bus cable device according to an embodiment of the present disclosure;
FIG. 8 is an exemplary flow diagram illustrating a method of improving compatibility of an active universal serial bus cable according to an embodiment of the present disclosure; and
fig. 9 is an exemplary flowchart illustrating an overview of a method of improving compatibility of an active universal serial bus cable according to an embodiment of the present disclosure.
Detailed Description
The principles and spirit of the present disclosure will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the present disclosure, and are not intended to limit the scope of the present disclosure in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is an exemplary diagram illustrating an existing active USB cable 100. As shown in fig. 1, the active USB cable 100 includes active modules 101 at both ends, and the two active modules 101 are connected by copper wires (or optical cables) 102. Further, both ends of the active USB cable 100 are connected to the Host 103 and the Device 104, respectively. As described in the background, the USB protocol provides for data to be transmitted between Host and Device via a USB cable, and the data is transmitted bi-directionally in a main link formed by two differential signals. Besides the standard USB copper cable or USB optical cable, the transmission link may be a line of other interfaces or only an internal PCB trace, which usually causes error codes to be generated at a rate of 10Gbps due to individual differences of active modules. For example, in the USB3.0 protocol, Host and Device are connected and then handshake through LFPS, while in the USB3.1 protocol, Host and Device are connected and then handshake through LBPM.
Fig. 2 is an exemplary diagram illustrating the LFPS signal and the LBPM signal. The upper graph in fig. 2 shows a Low frequency periodic signal ("LFPS"), and the lower graph in fig. 2 shows LFPS-Based pulse width modulation information ("LBPM"). Taking Host and Device as USB3.1 as an example, when they are connected by an active USB cable, a series of handshaking protocols are performed before Device is identified. However, since the LBPM is a low speed signal, the active module will convert and transmit the LBPM signal out through the link. When the handshake between the Host and the Device is successful, a high-speed signal with a speed of 10Gbps is transmitted through the link, so that an eye pattern of an active module of an individual active cable is poor due to a bottleneck in bandwidth, and the error rate is high. The handshake protocol between Host and Device will be described in detail below in conjunction with fig. 3.
Fig. 3 is a schematic flow chart illustrating handshake between an existing Host and a Device. As shown in fig. 3, at step S302, Host and Device are powered up. Next, at step S304, Host and Device transmit LBPM signal handshake over cable. After the LBPM signal handshake between Host and Device is successful, further, at step S306, a high-speed signal with a rate of 10Gbps is transmitted through the link, and when the high-speed signal is transmitted normally, at step S308, the USB3.1 can normally recognize the signal. When the high-speed signal transmission fails, that is, the eye pattern of the active module of the individual active cable is poor, and the bit error rate is large, so that the transmission link of normal data is disconnected, and the Host and the Device perform the low-speed LBPM signal handshake again, and the aforementioned steps S304-S306 are repeated all the time. Neither Host nor Device will jump to step S310 and will not be able to attempt USB3.0 handshaking by lowering mode (i.e., compatibility).
In view of the above, in order to overcome the defects of one or more aspects, in the embodiments of the present disclosure, a scheme for improving the compatibility of an active universal serial bus cable is provided, in which a detection module controls to turn off an active module when detecting an LBPM signal, so that Host and Device are compatible by a down mode.
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the embodiments described in this specification are only some of the embodiments of the present disclosure provided to facilitate a clear understanding of the aspects and to comply with legal requirements, and not all embodiments of the present disclosure may be implemented. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed in the specification without making any creative effort, shall fall within the protection scope of the present disclosure.
Fig. 4 is an exemplary block diagram illustrating an apparatus 400 for improving compatibility of an active universal serial bus cable according to an embodiment of the present disclosure. As shown in fig. 4, the apparatus 400 may include at least one detection module 401 and at least one control module 402. The aforementioned detection module 401 and control module 402 will be described in detail below.
In one embodiment, the active USB cable may include an active USB copper cable and an active USB optical cable, and both ends of each active USB cable may include an active module. In an implementation scenario, the electronics are typically disposed within the active module. For an active USB copper cable, electronic devices are arranged in the active module, and for an active USB optical cable, optoelectronic devices are arranged in the active module to convert electrical signals into optical signals or vice versa.
In one embodiment, the detection module 401 may be connected to an input terminal of an active module in the USB cable, and configured to detect whether the input terminal of the active module has a preset signal, and obtain a detection result. In one implementation scenario, the preset signal may be an LBPM signal. In some embodiments, when the number of the detection modules is one, the detection module may be connected to the input terminal of the active module at any end of the USB cable, so as to detect whether there is an LBPM signal at the input terminal of the active module at any end of the USB cable through one detection module. When the number of the detection modules is multiple, the detection modules can be respectively connected with the input ends of the active modules at the two ends of the USB cable, so that whether the input ends of the active modules at the two ends of the USB cable have LBPM signals or not can be detected through the detection modules. Which will be described in detail later in connection with fig. 5-6.
In one embodiment, the control module 402 may be connected to the active module and the detection module, and configured to control whether the active module is turned off according to the detection result, so as to improve compatibility of the active usb cable. In some embodiments, the number of control modules may correspond to the number of detection modules. Namely, each control module is correspondingly connected with one detection module so as to control whether the active module is closed or not according to the detection result of the detection module. In an implementation scenario, the active module may include a register, and the active module may be controlled by the configuration register. Specifically, the control module may configure the register according to a detection result of the detection module, so as to control whether the active module is turned off. The control module of the disclosed example may include a control interface, which may be connected to the active module, for controlling the configuration of the register by the control module. More specifically, the control module may configure the register through the control interface according to a detection result of the detection module, so as to control whether the active module is turned off.
For example, in an exemplary scenario, when the detection module detects that the input end of the active module has a preset signal, the control module configures the register through the control interface to control the active module to be turned off, so that handshake between Host and Device fails to reduce mode compatibility, thereby improving compatibility of the active USB cable. It can be understood that in a scenario including a plurality of detection modules and a plurality of control modules, when at least one detection module of the plurality of detection modules detects that a preset signal is present at an input end of an active module, the corresponding control module controls to turn off the active module.
In some embodiments, the control Interface includes, but is not limited to, an Integrated Circuit bus (Inter-Integrated Circuit ("IIC") Interface, a Serial Peripheral Interface ("SPI"), a Universal Asynchronous Receiver/Transmitter ("UART"), or a Controller Area Network ("CAN") Interface.
As can be seen from the above description, in the embodiments of the present disclosure, the detection module detects whether there is an LBPM signal at the input end of the active module, and the control module configures the register of the active module through the control interface when the detection module detects the LBPM signal, so as to control to turn off the active module without transmitting the LBPM signal. Therefore, Host and Device are compatible by reducing mode, the problem that the Device cannot be correctly identified because Host and Device cannot reduce mode is solved, and user experience is improved.
Fig. 5 is an exemplary schematic diagram illustrating an apparatus containing one detection module according to an embodiment of the disclosure. It is to be understood that the apparatus of fig. 5 is one embodiment of the apparatus 400 of fig. 4 described above, and thus the description made with respect to fig. 4 above applies equally to fig. 5.
As shown in fig. 5, Host 501 and Device 502 (corresponding to Host 103 and Device 104 in fig. 1) are connected via an active USB cable, which includes active modules 503 (corresponding to active module 101 in fig. 1) at both ends, and each active module 503 has an input end and an output end for transmitting signals. Further, a detection module 401 (e.g., the active module shown on the left side of the figure) is connected to the input of the active module 503 at one end. A control module 402 is also connected between the active module 503 and the detection module 401, and the control module 402 is connected to the active module 503 via a control interface 504.
In an exemplary scenario, Host 501 and Device 502 may both be USB3.1 interfaces, and when the detection module 401 detects an LBPM signal at the input of the active module 503, the active module 503 is controlled by configuring a register of the active module 503 through a control interface (e.g., IIC) 504 via the control module 402. Such as by controlling the active module 503 to be turned off so that the active module 503 does not transmit the LBPM signal. In this scenario, the Host 501 and the Device 502 cannot handshake through the LBPM signal, i.e., the LBPM handshake between the Host 501 and the Device 502 fails. Then, Host 501 or Device 502 will drop mode (i.e., be compatible) and continue to attempt handshaking in the USB3.0 protocol so that Device 502 can be recognized by USB3.0, enabling compatibility of the active USB cable.
Fig. 6 is an exemplary schematic diagram illustrating an apparatus containing two detection modules according to an embodiment of the disclosure. It is to be understood that the apparatus of fig. 6 is another embodiment of the apparatus 400 of fig. 4 described above, and thus the description made with respect to fig. 4 above applies equally to fig. 6.
As shown in fig. 6, Host 501 and Device 502 are connected by an active USB cable, which includes active modules 503 at both ends, and each active module 503 has an input end and an output end to transmit signals. Further, the input ends of the active modules 503 at the two ends are respectively connected with a detection module 401, for example, the active modules at the left and right sides in the figure are both connected with a detection module 401. A control module 402 is also connected between each active module 503 and each detection module 401, and each control module 402 is connected to the active module 503 via a control interface 504.
In an exemplary scenario, taking the example that Host 501 and Device 502 are both USB3.1 interfaces again, when any one of the two detection modules 401 detects that there is an LBPM signal at the input end of the active module 503 (i.e. there is at least one LBPM signal), the control module 402 configures the register of the active module 503 through the control interface (e.g. IIC) to control the active module 503. Similarly, the active module 503 is turned off by control so that the active module 503 does not transmit the LBPM signal. In this scenario, the Host 501 and the Device 502 cannot handshake through the LBPM signal, i.e., the LBPM handshake between the Host 501 and the Device 502 fails. Then, Host 501 or Device 502 will drop mode (i.e., be compatible) and continue to attempt handshaking in the USB3.0 protocol so that Device 302 can be recognized by USB3.0, enabling compatibility of the active USB cable.
In one embodiment, the present disclosure also provides an active universal serial bus cable assembly, described in detail below in conjunction with fig. 7.
Fig. 7 is a block diagram illustrating an exemplary structure of an active universal serial bus cable assembly 700 according to an embodiment of the present disclosure. As shown in fig. 7, the active universal serial bus cable apparatus 700 may include an active USB cable 701 as well as the above-described apparatus 400 of the disclosed embodiments. In one embodiment, the active USB cable may include an active USB copper cable or an active USB optical cable. As previously noted, the apparatus 400 may include at least one detection module 401 and at least one control module 402. The detection module 401 may be connected to an input terminal of an active module in the active USB cable. Further, the control module 402 may be connected with the detection module 401 and the active module. The detection module 401 is configured to detect whether the input end of the active module has a preset signal LBPM, and the control module 402 is configured to configure a register in the active module through the control interface when the detection module 401 detects that the input end of the active module has the preset signal LBPM, so as to control to turn off the active module and not transmit the LBPM signal. Based on this, the compatibility of all active USB cables is improved. For the aforementioned detection module and the control module, reference may be made to fig. 4 to fig. 6, and details of the embodiments of the disclosure are not repeated herein.
Fig. 8 is an exemplary flow diagram illustrating a method 800 of improving compatibility of an active universal serial bus cable according to an embodiment of the present disclosure. As shown in fig. 8, at step S802, whether the input terminal of the active module has a preset signal is detected, and a detection result is obtained. In one embodiment, the at least one detection module may be connected to the input terminal of the active module to detect whether the input terminal of the active module has a preset signal. In some embodiments, the predetermined signal is an LBPM signal. Based on the obtained detection result, at step S804, whether the active module is turned off is controlled according to the detection result, so as to improve the compatibility of the active universal serial bus cable. In one implementation scenario, the at least one control module may be connected to the detection module and the active module to control whether the active module is turned off according to a detection result of the control module. Specifically, when the detection module detects that the input end of the active module has the LBPM signal, the active module is turned off by configuring a register of the active module through the control interface via the control module. Because the closed active module cannot transmit the LBPM signal, the handshake between Host and Device fails, and then goes through the down mode (i.e., compatibility). For the aforementioned detection module and the control module, reference may be made to fig. 4 to fig. 6, and details of the embodiments of the disclosure are not repeated herein.
Fig. 9 is an exemplary flowchart illustrating an overview of a method of improving compatibility of an active universal serial bus cable according to an embodiment of the present disclosure. As shown in fig. 9, at step S902, Host and Device are powered on, so that signals are transmitted between Host and Device through the active USB cable. Next, at step S904, the detecting module detects whether there is an LBPM signal at the input end of the active module in the active USB cable. When the detection module does not detect that the input terminal of the active module has the LBPM signal, at step S906, the module is compatible via Host or Device down mode.
Further, when the detection module detects that the input terminal of the active module has the LBPM signal, the register of the active module is configured through the control interface via the control module to control to turn off the active module at step S908. At S910, the LBPM handshake between Host and Device is failed. After the LBPM handshake between Host and Device fails, the flow goes to step S906 to reduce mode compatibility via Host or Device. Taking the example that Host and Device are both USB3.1, the reduced mode can make Host and Device transmit in USB3.0 protocol.
In an application scenario, after Host or Device down mode, LFPS signal handshake is attempted between Host and Device, and when LFPS signal handshake is successful and high-speed transmission is normal, transmission is performed by using USB3.0 protocol, for example, steps S912 to S916. In case of the LFPS signal handshake failure, the USB3.0 protocol cannot be used for transmission, for example, in step S918. In addition, when there is a failure in the high-speed transmission, the aforementioned steps S912 to S914 are repeated so as to be normally recognized by the USB 3.0. It should be understood that, after the LBPM handshake between the Host and the Device fails, the embodiment of the present disclosure may decrease the mode through the Host or the Device, so as to be compatible with all active USB cables, thereby improving the compatibility of the active USB cables.
From the above description in conjunction with the accompanying drawings, those skilled in the art will also appreciate that embodiments of the present disclosure may also be implemented by software programs. The present disclosure thus also provides a computer program product. The computer program product may be used to implement the method for improving the compatibility of an active universal serial bus cable described in connection with fig. 8-9 of the present disclosure.
It should be noted that while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
It should be understood that when the claims of the present disclosure, and when the terms first, second, third, fourth, etc. are used in the specification and drawings, they are used only to distinguish one object from another, and not to describe a particular order. The terms "comprises" and "comprising," when used in the specification and claims of this disclosure, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the disclosure herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the disclosure. As used in the specification and claims of this disclosure, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the specification and claims of this disclosure refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
Although the embodiments of the present disclosure are described above, the descriptions are only examples for facilitating understanding of the present disclosure, and are not intended to limit the scope and application scenarios of the present disclosure. It will be understood by those skilled in the art of the present disclosure that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure, and that the scope of the disclosure is to be limited only by the appended claims.
Claims (10)
1. An apparatus for improving compatibility of an active universal serial bus cable, wherein the active universal serial bus cable includes at least an active module, and the apparatus comprises:
the detection module is connected with the input end of the active module and used for detecting whether a preset signal exists at the input end of the active module or not and obtaining a detection result; and
and the control module is connected with the active module and the detection module and used for controlling whether the active module is closed or not according to the detection result so as to improve the compatibility of the active universal serial bus cable.
2. The apparatus of claim 1, wherein the active module comprises a register, and in controlling whether the active module is turned off according to the detection result, the control module is further to:
and configuring the register according to the detection result so as to control whether the active module is closed or not.
3. The apparatus of claim 2, wherein in configuring the register to control whether the active module is turned off according to the detection result, the control module is further to:
and responding to the detection module detecting that the input end of the active module has a preset signal, and configuring the register to control the active module to be closed so as to improve the compatibility of the active universal serial bus cable.
4. The apparatus of claim 3, wherein the preset signal is an LBPM signal.
5. The apparatus of claim 3, wherein the control module comprises a control interface to connect with the active module and to be controlled by the control module to configure the register.
6. The apparatus of claim 5, wherein the control interface comprises at least an integrated circuit bus interface, a serial peripheral interface, a universal asynchronous receiver transmitter interface, or a controller area network interface.
7. An active universal serial bus cable device comprising:
an active universal serial bus cable; and
the apparatus of any of claims 1-6, and for improving compatibility of an active universal serial bus cable.
8. The active universal serial bus cable apparatus of claim 7, wherein the active universal serial bus cable comprises an active universal serial bus copper cable or an active universal serial bus optical cable.
9. A method of improving compatibility of an active universal serial bus cable, wherein the active universal serial bus cable includes at least an active module, and the method comprises:
detecting whether a preset signal exists at the input end of the active module or not, and obtaining a detection result; and
and controlling whether the active module is closed or not according to the detection result so as to improve the compatibility of the active universal serial bus cable.
10. A computer readable storage medium comprising program instructions for improving the compatibility of an active universal serial bus cable, which when executed by one or more processors, cause the method of claim 9 to be implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111524732.7A CN113934658B (en) | 2021-12-14 | 2021-12-14 | Device and method for improving compatibility of active universal serial bus cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111524732.7A CN113934658B (en) | 2021-12-14 | 2021-12-14 | Device and method for improving compatibility of active universal serial bus cable |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113934658A true CN113934658A (en) | 2022-01-14 |
CN113934658B CN113934658B (en) | 2022-02-25 |
Family
ID=79288897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111524732.7A Active CN113934658B (en) | 2021-12-14 | 2021-12-14 | Device and method for improving compatibility of active universal serial bus cable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113934658B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070294456A1 (en) * | 2006-06-16 | 2007-12-20 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Data communication interface and communication devices incorporating same |
CN108763001A (en) * | 2018-05-25 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of test of universal serial bus is given out a contract for a project method |
CN110113070A (en) * | 2019-03-21 | 2019-08-09 | 长芯盛(武汉)科技有限公司 | A kind of signal sending and receiving method suitable for USB |
CN113030645A (en) * | 2021-03-10 | 2021-06-25 | 长芯盛(武汉)科技有限公司 | Active cable test programming integrated comprehensive test method and tester |
-
2021
- 2021-12-14 CN CN202111524732.7A patent/CN113934658B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070294456A1 (en) * | 2006-06-16 | 2007-12-20 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Data communication interface and communication devices incorporating same |
CN108763001A (en) * | 2018-05-25 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of test of universal serial bus is given out a contract for a project method |
CN110113070A (en) * | 2019-03-21 | 2019-08-09 | 长芯盛(武汉)科技有限公司 | A kind of signal sending and receiving method suitable for USB |
CN113030645A (en) * | 2021-03-10 | 2021-06-25 | 长芯盛(武汉)科技有限公司 | Active cable test programming integrated comprehensive test method and tester |
Also Published As
Publication number | Publication date |
---|---|
CN113934658B (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8553578B2 (en) | Automated protocol selection for host adapter card | |
CN111371542B (en) | Method and apparatus for clock and data recovery for a pulse-based multiline | |
CN109714235B (en) | Non-polar RS485 communication interface and method for realizing non-polar RS485 communication | |
CN105047134A (en) | LED lamp panel, lamp panel module group, and LED display screen control system | |
CN108780430B (en) | Sending Universal Serial Bus (USB) data over an alternate mode connection | |
CN113849436A (en) | CAN data conversion chip compatible with multiple serial protocols and method | |
CN112579497B (en) | Universal serial bus interface circuit compatible with dual operating systems and method | |
CN113934658B (en) | Device and method for improving compatibility of active universal serial bus cable | |
US20140258584A1 (en) | Bus relay apparatus, integrated circuit apparatus, cable, connector, electronic appliance, and bus relay method | |
CN108804361B (en) | PCIE switching device based on VPX bus architecture | |
US7000170B2 (en) | Method and apparatus for generating CRC/parity error in network environment | |
JP2002237853A (en) | Differential signal transmission circuit and method for detecting transmission error thereof | |
CN107704403B (en) | Device and method for optimizing signal transmission of main back plate | |
CN115168253A (en) | USB working mode switching method and electronic equipment | |
CN113852448B (en) | Device compatible with multiple transmission rates of active cable and method thereof | |
CN113778796B (en) | Method for monitoring serial port communication through USB | |
CN111384939B (en) | ESD protection method for high-speed interface | |
CN115215174B (en) | Terminal control device, elevator control system, and communication speed setting method | |
JP6241256B2 (en) | Electronic device, control device, and communication method | |
CN116437070B (en) | Terminal state detection system, method, computer equipment and storage medium | |
US5581744A (en) | Method and apparatus for correcting polarity using a synchronizing sequence | |
CN214795911U (en) | Data type control circuit and circuit board | |
CN113778796A (en) | Method for monitoring serial port communication through USB | |
JP5297417B2 (en) | Method for adapting signal transmission between two electronic devices and structure comprising a computer system and peripheral devices | |
CN111769863A (en) | Relay method and relay board card for TPCM communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |