This application claims the benefit of the filing date under 35 U.S.C. §119(a)-(d) of Taiwan Patent Applications No. 103122441, filed Jun. 30, 2014.
Field of the Invention
The present invention relates to a data transfer system and a method of controlling the same, and in particular to, a switch device utilized to rapid application for different transmission protocols.
Description of the Related Art
Referring to
To solve the aforementioned problems in the prior art, an objective of the present invention is to provide a data transfer system with a switch device so as to ensure that the data transfer system can exactly identify and correctly process a USB 2.0 signal and/or a USB 3.0 signal received therein, and can exactly identify whether a first serial port or a second serial port thereof is being used.
To possess the above objective, the present invention provides a data transfer system which comprises a serial controller and a switch device.
The switch device comprises a first serial port, a second serial port and a transferring unit. The first serial port and the second serial port are individually configured to transmit a first type signal to the transferring unit. The transferring unit selectively switches a transmission of the first type signal from either the first serial port or the second serial port to the serial controller. The first serial port and the second serial port are individually configured to transmit a second type signal to the serial controller, wherein the first type signal is faster than the second type signal in transmission rate.
In one embodiment of the present invention, the first type signal complies with an USB 3.0 transmission protocol specification, and the first type signal is a super high speed transferring differential signal (SSTX+, SSTX−) or a super high speed receiving differential signal (SSRX+, SSRX−).
In one embodiment of the present invention, the second type signal complies with an USB 2.0 transmission protocol specification, and the second type signal is a differential signal (D+, D−).
In one embodiment of the present invention, the first serial port transmits at least one first power signal and the second serial port transmits at least one second power signal. The switch device further comprises a first switching unit and a second switching unit. The first switching unit is coupled with the at least one first power signal and determines whether to conduct a transmission of the at least one first power signal to the serial controller or not according to different potentials of the at least one second power signal, and the second switching unit is coupled with the at least one second power signal and determines whether to conduct a transmission of the at least one second power signal to the serial controller or not according to different potentials of the at least one first power signal. Furthermore, the transferring unit is selectively switched to transmit the first type signal of either the first serial port or the second serial port to the serial controller according to different potentials of the at least one first power signal.
In one embodiment of the present invention, while the first switching unit is conducted to transmit the at least one first power signal to the serial controller or the second switching unit is conducted to transmit the at least one second power signal to the serial controller, the serial controller supplies power to the transferring unit.
In one embodiment of the present invention, the first switching unit and the second switching unit are PNP transistors. A source electrode of the first switching unit is coupled with the at least one first power signal of the first serial port, a drain electrode of the first switching unit is coupled with the serial controller, and a gate electrode of the first switching unit is coupled with the at least one second power signal of the second serial port. A source electrode of the second switching unit is coupled with the at least one second power signal of the second serial port, a drain electrode of the second switching unit is coupled with the drain electrode of the first switching unit and the serial controller, and a gate electrode of the second switching unit is coupled with the at least one first power signal of the first serial port.
In one embodiment of the present invention, the first serial port and the second serial port is an USB receptacle or a micro USB receptacle, and the transferring unit is a multiplexer.
To possess the above objective, the present invention provides another data transfer system, which comprises a serial controller and a switch device.
The switch device comprises a first serial port, a second serial port, a first switching unit, and a second switching unit. The first serial port transmits at least one first power signal and the second serial port transmits at least one second power signal. The first switching unit is coupled with the at least one first power signal and determines whether to conduct a transmission of the at least one first power signal to the serial controller or not according to different potentials of the at least one second power signal, and the second switching unit is coupled with the at least one second power signal and determines whether to conduct a transmission of the at least one second power signal to the serial controller or not according to different potentials of the at least one first power signal.
In one embodiment of the present invention, the switch device further comprises a transferring unit. The first serial port and the second serial port are individually configured to transmit a first type signal to the transferring unit. The transferring unit selectively switches a transmission of the first type signal from either the first serial port or the second serial port to the serial controller. The first serial port and the second serial port are individually configured to transmit a second type signal to the serial controller, wherein the first type signal is faster than the second type signal in transmission rate.
In one embodiment of the present invention, the transferring unit selectively switches to transmit one first type signal of the first serial port or the second serial port to the serial controller according to different potentials of at least one first power signal.
In one embodiment of the present invention, the first type signal complies with an USB 3.0 transmission protocol specification, and the first type signal is a super high speed transmitting differential signal (SSTX+, SSTX−) or a super high speed receiving differential signal (SSRX+, SSRX−).
In one embodiment of the present invention, the second type signal complies with an USB 2.0 transmission protocol specification, and the second type signal is a differential signal (D+, D−).
In one embodiment of the present invention, the first switching unit and the second switching unit are PNP transistors. A source electrode of the first switching unit couples with the at least one first power signal of the first serial port, a drain electrode of the first switching unit is coupled with the serial controller, and a gate electrode of the first switching unit is coupled with the at least one second power signal of the second serial port. A source electrode of the second switching unit is coupled with the at least one second power signal of the second serial port, a drain electrode of the second switching unit is coupled with the drain electrode of the first switching unit and the serial controller, and a gate electrode of the second switching unit is coupled with the at least one first power signal of the first serial port.
In order to solve the problems given above, the present invention provides a method of controlling a data transfer system. The data transfer system comprises a first serial port, a second serial port, a transferring unit, a serial controller, a first switching unit, and a second switching unit. The first serial port transmits at least one first power signal and the second serial port transmits at least one second power signal. The controlling method comprises the following steps of:
While the first serial port transmits at least one first power signal to the first switching unit, determining whether to conduct a transmission of the at least one first power signal from the first switching unit to the serial controller or not according to different potentials of the at least one second power signal;
While the second serial port transmits at least one second power signal to the second switching unit, determining whether to conduct a transmission of the at least one second power signal from the second switching unit to the serial controller or not according to different potentials of the at least one first power signal; and
Selectively switching the transferring unit to transmit the first type signal of either the first serial port or the second serial port to the serial controller according to the different potentials of the at least one first power signal.
In one embodiment of the present invention, while the at least one first power signal and the at least one second power signal both have high potentials, the first switching unit and the second switching unit both turn off the transmission of either of the at least one first power signal and the at least one second power signal to the serial controller.
Compared with the prior art, the present invention can ensure that the data transfer system exactly identify and then correctly process a USB 2.0 signal and/or a USB 3.0 signal received therein, and ensure that the data transfer system also exactly identify whether either a first serial port or a second serial port thereof is being activated.
The following description of embodiments, with reference to the accompanying drawings, is used to exemplify a specific embodiment which may be carried out in the present invention. Directional terms mentioned in the present invention, such as “top”, “bottom”, “front”, “back”, “left”, “right”, “inside”, “outside”, “side”, etc., are only used with reference to the orientation of the accompanying drawings. Therefore, the used directional terms are intended to illustrate, but not to limit, the present invention. In the drawings, components having similar structures are denoted by the same numerals.
Firstly referring to
Each of the first serial port 110 and the second serial port 120 is used to respectively receive a first type signal 111, 112 or a second type signal 113, 114 from an external electronic equipment (such as a computer, digital camera, digital TV, mobile phone or pad, etc.). In the preferred embodiment of the present invention, each of the first serial port 110 and the second serial port 120 complies with an USB 3.0 transmission protocol specification, and the first type signals 111, 112 comply with an USB 3.0 transmission protocol specification, either. For example, the first type signals 111, 112 are a super high speed transferring a differential signal (SSTX+, SSTX−) or a super high speed receiving differential signal (SSRX+, SSRX−). The second type signals 113, 114 comply with an USB 2.0 transmission protocol specification. For example, the second type signals are a differential signal (D+, D−). Thus, the first type signals 111, 112 are faster than the second type signals 113, 114 in transmission rate. However, in another preferred embodiment of the present invention, each of the first serial port 110 and the second serial port 120, associated with the first type signals 111, 112 and the second type signals 113, 114 transmitted therefrom, can comply with different transmission protocols such as SATA, e-PCI, etc. In application, the first serial port 110 and the second serial port 120 can be USB receptacles, micro-USB receptacles or other types of connectors used as different connectors.
To make the data transfer system 100 exactly identifying and correctly processing a USB 2.0 signal and/or a USB 3.0 signal received therein, as shown in
With a power actuation illustrated in
In S01, while the first serial port 110 transmits the at least one first power signal to the first switching unit 180, the first switching unit 180 conducts a transmission of the at least one first power signal to the at least one first power signal to the serial controller 140 or not according to different potentials of the at least one second power signal.
In S02, while the second serial port 120 transmits the at least one second power signal to the second switching unit 190, the second switching unit 190 conducts a transmission of the at least one second power signal to the at least one first power signal to the serial controller 140 or not according to the different potentials of the at least one first power signal.
Especially, the steps S01 and S02 may be performed at the same time or not, or only one of the steps S01 and S02 is performed. May be the step S01 first and then the step S02 or the step S02 first and then the step S01 are performed in turns. Hence, according to the different potentials of the at least one first power signal and the at least one second power signal in the steps S01 and S02, the corresponding steps S03-S05 are described below.
In S03, while either the at least one first power signal and the at least one second power signal is a high potential (5V), the transferring unit 130 selectively conducts a transmission of either the first type signal 111 of the first serial port 110 or the first type signal 112 of the second serial port 120 according to the different potentials (high or low) of the first power signal. For example, the first serial port 110 transmits the at least one first power signal with a high potential (5V) and the second serial port 120 transmits the at least one second power signal with a low potential (0V), so the first switching unit 180 conducts a transmission of the at least one first power signal to the serial controller 140 by the at least one second power signal with the low potential (0V), and the serial controller 140 will supply power to the transferring unit 130 according to the at least one first power signal. At the same time, the second switching unit 190 does not conduct a transmission of the at least one second power signal to the serial controller 140 by the at least one first power signal with the high potential (5V), the first serial port 110 will directly supply the at least one first power signal with the high potential (5V) to trigger the transferring unit 130 to conduct a transmission of the first type signal 111 of the first serial port 110 to the serial controller 140, as shown in
In S04, while the at least one first power signal and the at least one second power signal both are high potentials (5V), the first switching unit 180 and the second switching unit 190 both turn off and do not conduct a transmission of either the at least one first power signal and the at least one second power signal to the serial controller 140. For example, while the at least one first power signal and the at least one second power signal are both high potentials (5V), the first switching unit 180 is turned off by the at least one second power signal (5V), and the second switching unit 190 is turned off by the at least one first power signal (5V). While the first switching unit 180 and the second unit 190 are both turned off, no transmission of the first power signal of the first serial port 110 and the second power signal of the second serial port 120 to the transferring unit 130 and the serial controller 140 will be conducted for keeping the data transfer system safe.
In S05, while the at least one first power signal and the at least one second power signal both are low potentials (0V), the serial controller 140 cannot any supply power to the transferring unit 130, so that the data transfer system does not work.
While the invention has been described in terms of various specific embodiments, those skilled in the art will recognize that the invention can be practiced with modification within the spirit and scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
103122441 A | Jun 2014 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
7783799 | Sivertsen | Aug 2010 | B1 |
20060268114 | Chan | Nov 2006 | A1 |
20070033308 | Teng | Feb 2007 | A1 |
20080122292 | Minami | May 2008 | A1 |
20090313510 | Kim | Dec 2009 | A1 |
20100199112 | Yokota | Aug 2010 | A1 |
20120059965 | Foster | Mar 2012 | A1 |
20120271980 | Hu | Oct 2012 | A1 |
20150180254 | Zhao | Jun 2015 | A1 |
20150378951 | Chueh | Dec 2015 | A1 |
Number | Date | Country | |
---|---|---|---|
20150378951 A1 | Dec 2015 | US |