Switching device and method of data transmission channel based on Type-C interface

文档序号:190302 发布日期:2021-11-02 浏览:42次 中文

阅读说明:本技术 基于Type-C接口的数据传输通道的切换装置及方法 (Switching device and method of data transmission channel based on Type-C interface ) 是由 刘圣佳 毛建元 于 2021-08-09 设计创作,主要内容包括:本申请实施例提供了一种基于Type-C接口的数据传输通道的切换装置及方法,该装置包括:上行Type-C接口;切换开关,用于输出第一电平信号或第二电平信号;控制模块,连接所述切换开关和所述上行Type-C接口,用于接收所述上行Type-C接口传输的4对差分信号,当接收到所述切换开关传输的第一电平信号时,切换到第一通信模式,当接收到所述切换开关传输的第二电平信号时,切换到第二通信模式;所述第一通信模式是指将接收的4对差分信号,其中2对转换成DisplayPort信号,另外2对转换成USB3.0信号;第二通信模式是指将接收的4对差分信号全部转换成DisplayPort信号。使同一设备在不同时刻可以使用Type-C中的USB3.0信号和完全使用Type-C中的4对差分对来传输视频信号。(The embodiment of the application provides a device and a method for switching a data transmission channel based on a Type-C interface, wherein the device comprises: an uplink Type-C interface; the selector switch is used for outputting a first level signal or a second level signal; the control module is connected with the change-over switch and the uplink Type-C interface and is used for receiving 4 pairs of differential signals transmitted by the uplink Type-C interface, switching to a first communication mode when receiving a first level signal transmitted by the change-over switch, and switching to a second communication mode when receiving a second level signal transmitted by the change-over switch; the first communication mode is to convert 4 pairs of received differential signals, wherein 2 pairs are converted into DisplayPort signals, and the other 2 pairs are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals. The same device is made available to transmit video signals at different times using the USB3.0 signal in Type-C and using the 4 pairs of differential pairs in Type-C entirely.)

1. The utility model provides a switching device of data transmission channel based on Type-C interface which characterized in that includes: an uplink Type-C interface;

the selector switch is used for outputting a first level signal or a second level signal;

the control module is connected with the change-over switch and the uplink Type-C interface and is used for receiving 4 pairs of differential signals transmitted by the uplink Type-C interface, switching to a first communication mode when receiving a first level signal transmitted by the change-over switch, and switching to a second communication mode when receiving a second level signal transmitted by the change-over switch;

the first communication mode is to convert 4 pairs of received differential signals, wherein 2 pairs are converted into DisplayPort signals, and the other 2 pairs are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals.

2. The apparatus of claim 1, further comprising: a plurality of USB3.0 interfaces, a plurality of DisplayPort interfaces and,

a first interface expansion module connecting the control module and the plurality of USB3.0 interfaces,

and the second interface expansion module is connected with the control module and the plurality of DisplayPort interfaces.

3. The apparatus of claim 2, wherein there are four USB3.0 interfaces.

4. The apparatus of claim 2, wherein there are two DisplayPort interfaces.

5. The apparatus of claim 2, further comprising:

the VGA interface is connected with the second interface expansion module;

and the HDMI is connected with the second interface expansion module.

6. The apparatus of claim 1, further comprising:

and the downlink Type-C interface is connected with the control module.

7. The apparatus of claim 6, further comprising:

the N-channel double MOS is connected with the downlink Type-C interface or the uplink Type-C interface;

and the voltage boosting and reducing module is connected with the N-channel double MOS and used for supplying power to the device after the voltage boosting and reducing processing is carried out on the power signal transmitted by the downlink Type-C interface or the uplink Type-C interface.

8. The apparatus of claim 1, wherein the switch is a dip switch.

9. The apparatus of claim 1, wherein the control module comprises a 10Gbps3:2 data selector.

10. A method for switching a data transmission channel based on a Type-C interface is characterized by comprising the following steps:

receiving 4 pairs of differential signals transmitted by an uplink Type-C interface;

when a first level signal transmitted by the selector switch is received, switching to a first communication mode, and when a second level signal transmitted by the selector switch is received, switching to a second communication mode;

wherein, the first communication mode refers to 4 pairs of received differential signals, 2 pairs of which are converted into DisplayPort signals, and the other 2 pairs of which are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals.

Technical Field

The present application relates to the field of communications technologies, and in particular, to a device and a method for switching data transmission channels based on a Type-C interface.

Background

At present, along with the performance of smart mobile phones and tablet computers is more and more powerful and the screen is more and more big, its functionality also can use like notebook computer gradually, and the commonly used external equipment of computer such as mouse, keyboard and USB flash disk also has the demand to use simultaneously. However, due to the light and thin structure characteristics of the smart phone and the tablet computer, only one USB interface is usually provided, and when a plurality of external USB devices are required, an additional USB hub has to be connected, which is very troublesome on one hand, and on the other hand, because the USB hub has a large volume, is poor in portability and is not beautiful.

At present, newly-released smart phones and tablet computers have started to use the latest USB TYPE-C interface based on the USB 3.1 standard as a standard configuration, and this USB TYPE-C interface can support both forward and reverse plug-in, and has great convenience in use. A total of four (pairs) of high-speed differential signals are provided in the USBTYPE-C interface: TX1+/-, TX2+/-, RX1+/-, RX2 +/-. Since the data transmission channel is directly switched by adopting a plug-in mode at present, if the USB3.0 signal is being used to transmit data at present, if the data transmission channel is switched to completely use 4 pairs of differential pairs in Type-C to transmit the display signal, the data transmission is interrupted.

Disclosure of Invention

The embodiment of the application provides a switching device of a data transmission channel based on a Type-C interface, which is used for enabling the same equipment to transmit video signals by using USB3.0 signals in the Type-C and completely using 4 pairs of differential pairs in the Type-C at different moments.

The embodiment of the application provides a auto-change over device of data transmission channel based on Type-C interface, includes: an uplink Type-C interface;

the selector switch is used for outputting a first level signal or a second level signal;

the control module is connected with the change-over switch and the uplink Type-C interface and is used for receiving 4 pairs of differential communication signals transmitted by the uplink Type-C interface, switching to a first communication mode when receiving a first level signal transmitted by the change-over switch, and switching to a second communication mode when receiving a second level signal transmitted by the change-over switch;

the first communication mode is to convert 4 pairs of received differential signals, wherein 2 pairs are converted into DisplayPort signals, and the other 2 pairs are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals.

In one embodiment, the apparatus further comprises: a plurality of USB3.0 interfaces, a plurality of DisplayPort interfaces and,

a first interface expansion module connecting the control module and the plurality of USB3.0 interfaces,

and the second interface expansion module is connected with the control module and the plurality of DisplayPort interfaces.

In one embodiment, there are four USB3.0 interfaces.

In one embodiment, there are two DisplayPort interfaces.

In one embodiment, the apparatus further comprises:

the VGA interface is connected with the second interface expansion module;

and the HDMI is connected with the second interface expansion module.

In one embodiment, the apparatus further comprises:

and the downlink Type-C interface is connected with the control module.

In one embodiment, the apparatus further comprises:

the N-channel double MOS is connected with the downlink Type-C interface or the uplink Type-C interface;

and the voltage boosting and reducing module is connected with the N-channel double MOS and used for supplying power to the device after the voltage boosting and reducing processing is carried out on the power signal transmitted by the downlink Type-C interface or the uplink Type-C interface.

In one embodiment, the switch is a dial switch.

In one embodiment, the control module includes a 10Gbps3:2 data selector.

The embodiment of the application further provides a method for switching a data transmission channel based on a Type-C interface, which includes:

receiving 4 pairs of differential signals transmitted by an uplink Type-C interface;

when a first level signal transmitted by the selector switch is received, switching to a first communication mode, and when a second level signal transmitted by the selector switch is received, switching to a second communication mode;

wherein, the first communication mode refers to 4 pairs of received differential signals, 2 pairs of which are converted into DisplayPort signals, and the other 2 pairs of which are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals.

According to the technical scheme provided by the above embodiment of the application, when receiving a first level signal transmitted by a switch, a control module switches to a first communication mode, converts 4 pairs of received differential signals, wherein 2 pairs are converted into DisplayPort signals, and the other 2 pairs are converted into USB3.0 signals, and when receiving a second level signal transmitted by the switch, switches to a second communication mode, and converts all the 4 pairs of received differential signals into DisplayPort signals. The USB3.0 signal in Type-C and the 4 pairs of differential pairs in Type-C can be used by the same device at different moments to transmit video signals, and the on-off transmission is avoided when the first communication mode is switched to the second communication mode.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below.

Fig. 1 is a block diagram of a switching device for data transmission channels based on a Type-C interface according to an embodiment of the present application;

fig. 2 is a transmission diagram of a first communication mode according to an embodiment of the present application;

fig. 3 is a transmission diagram of a second communication mode according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

Like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.

Fig. 1 is a block diagram of a switching device of a data transmission channel based on a Type-C interface according to an embodiment of the present application. As shown in fig. 1, the apparatus includes an uplink Type-c interface 11, a switch 12, and a control module 13. The uplink Type-C interface 11 can be an uplink Type-C female connector.

The switch 12 is used for outputting a first level signal or a second level signal. The switch 12 may be a dial switch, the first level signal may be high, and the second level signal may be low. Alternatively, the first level signal is low level and the second level signal is high level. The switch may also be a virtual signal, such as a switch signal transmitted from another device, etc.

The control module 13 is connected to the switch 12 and the uplink Type-c interface 11, and configured to receive 4 pairs of differential communication signals (RX1+/-, RX2+/-, TX1+/-, TX2+/-) transmitted by the uplink Type-c interface 11, switch to a first communication mode (2lane) when receiving a first level signal transmitted by the switch 12, and switch to a second communication mode (4lane) when receiving a second level signal transmitted by the switch 12. The first communication mode is to convert 4 pairs of received differential signals, wherein 2 pairs are converted into DisplayPort signals, and the other 2 pairs are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals. The first communication mode may be as shown in fig. 2 and the second communication mode may be as shown in fig. 3.

The control module 13 may be an RTS5459 chip, the video signal input is input from the uplink Type-c interface 11, and the RTS5459 communicates with the source terminal through the uplink Type-c interface 11. And the source end outputs corresponding signals according to the communication result through 4 pairs of high-speed differential pairs on the Type-C. The RTS5459 chip may include a 10Gbps3: 2MUX (data selector). The AUX signal is used for reading the display screen signal.

The HPD signal of the RTS5459 chip is used for detecting hot plugging of the interfaces 17,18 and 19; the IIC signal is used for chip debugging.

The 4 pairs of Type-C four pairs of high speed differential pairs are coupled to the upstream port of RTS5459 and then pass through the 10Gbps3: 2MUX inside RTS 5459. If the device is set to 2lane, the MUX will switch 2lane to DisplayPort signal and 2lane to USB3.0 signal, as shown in fig. 2. If the device sets 4lane, the MUX will switch both 4 lanes to the DisplayPort signal, as shown in FIG. 3.

In an embodiment, as shown in fig. 1, the switching device further includes: a plurality of USB3.0 interfaces 15, a plurality of DisplayPort interfaces, a first interface expansion module 14, and a second interface expansion module 16.

The first interface extension module 14 connects the control module 13 and the plurality of USB3.0 interfaces 15. In one embodiment, there may be four USB3.0 interfaces 15. As shown in fig. 1, a USB3.0 Hub chip RTS5414 is connected to the USB3.0 signal terminal. The USB3.0 signal is expanded into 4 USB3.0 signals and connected to 4 USB3.0 female sockets.

The second interface expansion module 16 connects the control module 13 and the DisplayPort interfaces 17. In one embodiment, there may be two DisplayPort interfaces 17.

In an embodiment, as shown in fig. 1, the switching device further includes: VGA interface 19 and HDMI interface 18. The VGA interface 19 is connected to the second interface expansion module 16; the HDMI interface 18 is connected to the second interface expansion module 16. As shown in FIG. 1, a DisplayPort Multimedia Hub chip RTD2186 is connected to the DisplayPort signal terminal. 2 Dual-mode displayPort (DP + +) signals, one HDMI signal and one VGA signal can be developed through the chip. Then are respectively connected with the corresponding seats. The RTD2186 input signal is adaptive regardless of whether 2lane or 4 lane. The chip will make corresponding action according to the input signal.

In an embodiment, as shown in fig. 1, the switching device further includes: and the downlink Type-C interface 20, wherein the downlink Type-C interface 20 is connected with the control module 13.

In an embodiment, as shown in fig. 1, the switching device further includes: an N-channel double MOS and a buck-boost module. The N-channel double MOS is connected with the downlink Type-C interface 20 or the uplink Type-C interface 11; and the voltage boosting and reducing module is connected with the N-channel double MOS and used for supplying power to the device after the voltage boosting and reducing processing is performed on the power signal transmitted by the downlink Type-C interface 20 or the uplink Type-C interface 11. The power supply of the whole equipment is from the uplink Type-C interface 11 or the downlink Type-C interface 20. The power supplies of the two ports pass through an N-channel double MOS and then a DC/DC buck-boost chip JW3651 to output 5V to supply power to the whole device.

The embodiment of the present application further provides a method for switching a data transmission channel based on a Type-C interface, where the method may be executed by the control module 13, and the method includes: receiving 4 pairs of differential signals transmitted by an uplink Type-c interface 11, switching to a first communication mode when receiving a first level signal transmitted by a switch 12, and switching to a second communication mode when receiving a second level signal transmitted by the switch 12; wherein, the first communication mode refers to 4 pairs of received differential signals, 2 pairs of which are converted into DisplayPort signals, and the other 2 pairs of which are converted into USB3.0 signals; the second communication mode is to convert all of the received 4 pairs of differential signals into DisplayPort signals.

In the embodiments provided in the present application, the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:SPI系统自动写入数据的控制方法及SPI系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!