TWI603200B - Usb docking station and control method thereof - Google Patents

Usb docking station and control method thereof Download PDF

Info

Publication number
TWI603200B
TWI603200B TW105114559A TW105114559A TWI603200B TW I603200 B TWI603200 B TW I603200B TW 105114559 A TW105114559 A TW 105114559A TW 105114559 A TW105114559 A TW 105114559A TW I603200 B TWI603200 B TW I603200B
Authority
TW
Taiwan
Prior art keywords
signal
electronic device
usb
video signal
microcontroller
Prior art date
Application number
TW105114559A
Other languages
Chinese (zh)
Other versions
TW201740281A (en
Inventor
詹文賢
曹志銘
Original Assignee
東碩資訊股份有限公司
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 東碩資訊股份有限公司 filed Critical 東碩資訊股份有限公司
Priority to TW105114559A priority Critical patent/TWI603200B/en
Application granted granted Critical
Publication of TWI603200B publication Critical patent/TWI603200B/en
Publication of TW201740281A publication Critical patent/TW201740281A/en

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

USB對接裝置與其控制方法 USB docking device and control method thereof

本發明乃是關於一種USB對接裝置與其控制方法,特別是指一種USB對接裝置與其控制方法,可即時且自動地切換所連接之顯示裝置所顯示之第一電子裝置的螢幕畫面或第二電子裝置的螢幕畫面。 The present invention relates to a USB docking device and a control method thereof, and more particularly to a USB docking device and a control method thereof, which can instantly and automatically switch a screen screen or a second electronic device of a first electronic device displayed by a connected display device. Screen shot.

隨著USB介面漸成為標準介面的首選,USB介面的配置已成為可攜式裝置的基本規格要求。而USB介面的傳輸規範已由USB1.0、USB1.1延伸至USB2.0與USB3.0,甚至是USB3.1。由於USB介面最初便被定位在電腦與周邊裝置間相連接的一個介面,因此USB-IF協會在制定USB介面的基本架構時選擇了主從式(Master-Slave)的架構,以將較困難及較複雜繁瑣的工作都交給主機端(Host)來負責,如此一來裝置端(Device)之設計與開發的困難度就相對地降低了許多,使得製造廠商較容易設計USB介面的裝置。由於USB介面具有隨插即用與熱差拔的特性,使得適用USB介面之USB裝置的便利性大幅提昇,以至於幾乎在所有的主機裝置的周邊裝置上都可以看到它的應用。 As the USB interface becomes the first choice for standard interfaces, the configuration of the USB interface has become a basic specification requirement for portable devices. The USB interface transmission specification has been extended from USB1.0, USB1.1 to USB2.0 and USB3.0, and even USB3.1. Since the USB interface was initially positioned as an interface between the computer and peripheral devices, the USB-IF Association chose the Master-Slave architecture to make it more difficult to develop the basic architecture of the USB interface. More complicated and cumbersome work is left to the host (Host) to be responsible, so the difficulty of designing and developing the device is relatively reduced, making it easier for manufacturers to design USB interface devices. Due to the plug-and-play and hot-draw characteristics of the USB interface, the convenience of the USB device for the USB interface is greatly improved, so that its application can be seen on almost all peripheral devices of the host device.

除此之外,由於USB技術在裝置連接上已十分普遍且受歡迎,為了滿足不斷發展的設計趨勢,如:裝置尺寸設計趨勢,新的USB接頭規格USB Type-C接頭迎合了市場需求並為往後的USB接頭版本奠定了一個新基礎。USB Type-C接頭的尺寸為8.3×2.5毫 米,小於當前主機裝置之的USB接頭(USB Type-A接頭)的尺寸,但大於許多非主機裝置所採用之尺寸為6.85×1.8毫米的Micro-USB接頭(USB Type-B接頭)。由於USB Type-C接頭並不相容於現有的任何類型,因此需要額外地為其設計轉接裝置。 In addition, since USB technology is very popular and popular in device connection, in order to meet the evolving design trends, such as device size design trends, the new USB connector specification USB Type-C connector caters to market demand and The future version of the USB connector has laid a new foundation. The size of the USB Type-C connector is 8.3 x 2.5 millimeters. The meter is smaller than the size of the USB connector (USB Type-A connector) of the current host device, but larger than the 6.85 x 1.8 mm Micro-USB connector (USB Type-B connector) used by many non-host devices. Since the USB Type-C connector is not compatible with any of the existing types, it is necessary to additionally design an adapter for it.

本發明實施例提供一種USB對接裝置,具有第一USB介面、第二USB介面與至少一個視頻訊號輸出端。USB對接裝置包括微控制器、第一訊號多工器與第二訊號多工器、視頻訊號處理器以及視頻訊號轉換器。微控制器透過第一USB介面與第二USB介面分別連接第一電子裝置與第二電子裝置。第一訊號多工器與第二訊號多工器均連接於微控制器。視頻訊號處理器連接於微控制器、第一訊號多工器與第二訊號多工器。視頻訊號轉換器連接於視頻訊號處理器。微控制器接收第一電子裝置之第一控制訊號或第二電子裝置之第二控制訊號。透過第一USB介面,第一訊號多工器接收第一電子裝置之第一資料訊號,再由第一資料訊號選擇並輸出第一視頻訊號。透過第二USB介面,第二訊號多工器接收第二電子裝置之第二資料訊號,再由第二資料訊號選擇並輸出第二視頻訊號。視頻訊號處理器接收並對第一視頻訊號或第二視頻訊號進行訊號處理。最後,視頻訊號轉換器接收並將經訊號處理之第一視頻訊號或第二視頻訊號轉換為視頻輸出訊號並輸出至視頻訊號輸出端進行播放。須說明地是,微控制器係根據第一控制訊號或第二控制訊號控制視頻訊號處理器對第一視頻訊號或第二視頻訊號進行訊號處理。 The embodiment of the invention provides a USB docking device, which has a first USB interface, a second USB interface and at least one video signal output. The USB docking device includes a microcontroller, a first signal multiplexer and a second signal multiplexer, a video signal processor, and a video signal converter. The microcontroller connects the first electronic device and the second electronic device to the second USB interface through the first USB interface. The first signal multiplexer and the second signal multiplexer are both connected to the microcontroller. The video signal processor is connected to the microcontroller, the first signal multiplexer and the second signal multiplexer. The video signal converter is connected to the video signal processor. The microcontroller receives the first control signal of the first electronic device or the second control signal of the second electronic device. The first signal multiplexer receives the first data signal of the first electronic device through the first USB interface, and then selects and outputs the first video signal by the first data signal. The second signal multiplexer receives the second data signal of the second electronic device through the second USB interface, and selects and outputs the second video signal by the second data signal. The video signal processor receives and performs signal processing on the first video signal or the second video signal. Finally, the video signal converter receives and converts the first video signal or the second video signal processed by the signal into a video output signal and outputs the signal to the video signal output for playing. It should be noted that the microcontroller controls the video signal processor to perform signal processing on the first video signal or the second video signal according to the first control signal or the second control signal.

本發明實施例亦提供一種控制方法,適用於一種USB對接裝置,此USB對接裝置具有第一USB介面、第二USB介面與至少一個視頻訊號輸出端。另外,此USB對接裝置包括微控制器、第一訊號多工器與第二訊號多工器、視頻訊號處理器與視頻訊號轉換 器,其中第一訊號多工器與第二訊號多工器連接於微控制器,視頻訊號處理器連接於微控制器、該第一訊號多工器與第二訊號多工器,且視頻訊號轉換器連接於視頻訊號處理器。本發明實施例所提供之控制方法包括:接收由第一電子裝置輸出之第一資料訊號與由第二電子裝置輸出之第二資料訊號,再由第一資料訊號與第二資料訊號中分別選擇並輸出第一視頻訊號與第二視頻訊號;接收由第一電子裝置輸出之第一控制訊號或由第二電子裝置輸出之第二控制訊號,並根據第一控制訊號或第二控制訊號,對第一視頻訊號或第二視頻訊號進行訊號處理;以及將經訊號處理之第一視頻訊號或第二視頻訊號轉換為視頻輸出訊號並輸出至視頻訊號輸出端進行播放。 The embodiment of the invention also provides a control method, which is applicable to a USB docking device, which has a first USB interface, a second USB interface and at least one video signal output end. In addition, the USB docking device includes a microcontroller, a first signal multiplexer and a second signal multiplexer, a video signal processor and a video signal conversion The first signal multiplexer and the second signal multiplexer are connected to the microcontroller, and the video signal processor is connected to the microcontroller, the first signal multiplexer and the second signal multiplexer, and the video signal The converter is connected to the video signal processor. The control method provided by the embodiment of the present invention includes: receiving the first data signal output by the first electronic device and the second data signal output by the second electronic device, and then selecting the first data signal and the second data signal respectively. And outputting the first video signal and the second video signal; receiving the first control signal output by the first electronic device or the second control signal output by the second electronic device, and according to the first control signal or the second control signal, The first video signal or the second video signal performs signal processing; and the first video signal or the second video signal processed by the signal is converted into a video output signal and output to the video signal output end for playing.

在本發明實施例所提供之USB對接裝置與其控制方法中,第一USB介面與第二USB介面之接頭規格係為USB Type-C,且第一USB介面與第二USB介面之傳輸規範係為USB 3.1。 In the USB docking device and the control method thereof provided by the embodiment of the present invention, the connector specifications of the first USB interface and the second USB interface are USB Type-C, and the transmission specifications of the first USB interface and the second USB interface are USB 3.1.

綜上所述,透過本發明實施例所提供之USB對接裝置與其控制方法,便能即時且自動地切換視頻訊號輸出端所輸出的視頻輸出訊號。也就是說,視頻訊號輸出端所連接之顯示裝置可即時且自動地切換顯示第一電子裝置或第二電子裝置的螢幕畫面。再者,透過本發明實施例所提供之USB對接裝置與其控制方法,也能進行第一電子裝置與第二電子裝置之間的檔案傳輸,如:進行檔案的存讀取與備份。此外,由於本發明實施例所提供之USB對接裝置與其控制方法係透過微控制器作為中介裝置,故即便是於第一電子裝置與第二電子裝置均為主機裝置的情況下,也能僅藉由USB傳輸線來實現兩主機裝置之間的檔案傳輸,十分便利。 In summary, the USB docking device and the control method thereof provided by the embodiments of the present invention can instantly and automatically switch the video output signals output by the video signal output terminal. That is to say, the display device connected to the video signal output terminal can instantly and automatically switch the screen display of the first electronic device or the second electronic device. Furthermore, the USB docking device and the control method thereof provided by the embodiments of the present invention can also perform file transfer between the first electronic device and the second electronic device, for example, performing file storage and backup. In addition, since the USB docking device and the control method thereof are provided by the microcontroller as an intermediary device, even if both the first electronic device and the second electronic device are host devices, only the first electronic device and the second electronic device can be borrowed. It is very convenient to realize file transfer between the two host devices by the USB transmission line.

為使能更進一步瞭解本發明之特徵及技術內容,請參閱以下有關本發明之詳細說明與附圖,但是此等說明與所附圖式僅係用來說明本發明,而非對本發明的權利範圍作任何的限制。 The detailed description of the present invention and the accompanying drawings are to be understood by the claims The scope is subject to any restrictions.

1、2、3‧‧‧USB對接裝置 1, 2, 3‧‧‧USB docking device

10‧‧‧微控制器 10‧‧‧Microcontroller

20a‧‧‧第一訊號多工器 20a‧‧‧first signal multiplexer

20b‧‧‧第二訊號多工器 20b‧‧‧Second signal multiplexer

30‧‧‧視頻訊號處理器 30‧‧‧Video Signal Processor

40‧‧‧視頻訊號轉換器 40‧‧‧Video Signal Converter

50a‧‧‧第一電源控制器 50a‧‧‧First power controller

50b‧‧‧第二電源控制器 50b‧‧‧second power controller

60‧‧‧手動控制介面 60‧‧‧Manual control interface

70‧‧‧USB集線器 70‧‧‧USB hub

IN1‧‧‧第一USB介面 IN1‧‧‧First USB interface

IN2‧‧‧第二USB介面 IN2‧‧‧Second USB interface

OUT‧‧‧視頻訊號輸出端 OUT‧‧‧Video signal output

D1、D2‧‧‧電子裝置 D1, D2‧‧‧ electronic devices

D3‧‧‧顯示裝置 D3‧‧‧ display device

S401~S406、S408~S409、S410~S440‧‧‧步驟 S401~S406, S408~S409, S410~S440‧‧‧ steps

圖1為根據本發明一例示性實施例所繪示之USB對接裝置之方塊圖。 FIG. 1 is a block diagram of a USB docking device according to an exemplary embodiment of the invention.

圖2為根據本發明另一例示性實施例所繪示之USB對接裝置之方塊圖。 FIG. 2 is a block diagram of a USB docking device according to another exemplary embodiment of the present invention.

圖3為根據本發明一例示性實施例所繪示之USB對接裝置之示意圖。 FIG. 3 is a schematic diagram of a USB docking device according to an exemplary embodiment of the invention.

圖4A與圖4B為根據本發明一例示性實施例所繪示之適用於USB對接裝置的控制方法之流程圖。 4A and 4B are flowcharts showing a control method suitable for a USB docking device according to an exemplary embodiment of the present invention.

在下文將參看隨附圖式更充分地描述各種例示性實施例,在隨附圖式中展示一些例示性實施例。然而,本發明概念可能以許多不同形式來體現,且不應解釋為限於本文中所闡述之例示性實施例。確切而言,提供此等例示性實施例使得本發明將為詳盡且完整,且將向熟習此項技術者充分傳達本發明概念的範疇。在諸圖式中,類似數字始終指示類似元件。 Various illustrative embodiments are described more fully hereinafter with reference to the accompanying drawings. However, the inventive concept may be embodied in many different forms and should not be construed as being limited to the illustrative embodiments set forth herein. Rather, these exemplary embodiments are provided so that this invention will be in the In the figures, like numerals are used to indicate like elements.

〔USB對接裝置的一實施例〕 [An embodiment of a USB docking device]

本實施例提供了一種能夠即時且自動地切換視頻訊號輸出端所輸出的視頻輸出訊號之USB對接裝置。請參照圖1,圖1為根據本發明一例示性實施例所繪示之USB對接裝置之方塊圖。 The embodiment provides a USB docking device capable of instantly and automatically switching the video output signal outputted by the video signal output terminal. Please refer to FIG. 1. FIG. 1 is a block diagram of a USB docking device according to an exemplary embodiment of the present invention.

如圖1所示,本發明實施例所提供之USB對接裝置1具有第一USB介面IN1、第二USB介面IN2與至少一個視頻訊號輸出端OUT。同時,USB對接裝置1包括微控制器10、第一訊號多工器20a與第二訊號多工器20b、視頻訊號處理器30以及視頻訊號轉換器40。微控制器10透過第一USB介面IN1與第二USB介面IN2分別連接第一電子裝置與第二電子裝置(未圖示)。第一訊號多工器20a與第二訊號多工器20b均連接於微控制器10。視頻訊號處理器30連接 於微控制器10、第一訊號多工器20a與第二訊號多工器20b。視頻訊號轉換器40連接於視頻訊號處理器30。 As shown in FIG. 1 , the USB docking device 1 provided by the embodiment of the present invention has a first USB interface IN1, a second USB interface IN2, and at least one video signal output terminal OUT. Meanwhile, the USB docking device 1 includes a microcontroller 10, a first signal multiplexer 20a and a second signal multiplexer 20b, a video signal processor 30, and a video signal converter 40. The microcontroller 10 connects the first electronic device and the second electronic device (not shown) through the first USB interface IN1 and the second USB interface IN2, respectively. The first signal multiplexer 20a and the second signal multiplexer 20b are both connected to the microcontroller 10. Video signal processor 30 is connected The microcontroller 10, the first signal multiplexer 20a and the second signal multiplexer 20b. The video signal converter 40 is connected to the video signal processor 30.

於本實施例中,第一電子裝置與第二電子裝置可為主機裝置,如個人電腦或筆記型電腦…等,亦可為非主機裝置,如手機或平板電腦…等。而透過本實施例所提供之USB對接裝置1,便可即時且自動地將第一電子裝置的螢幕畫面畫面或第二電子裝置的螢幕畫面切換顯示於外接之顯示裝置上。值得注意地是,於本實施例中,第一USB介面IN1與第二USB介面IN2之接頭規格較佳地為USB Type-C,且第一USB介面IN1與第二USB介面IN2之傳輸規範較佳地為USB 3.1,但本發明於此並不限制。 In this embodiment, the first electronic device and the second electronic device may be host devices, such as a personal computer or a notebook computer, etc., or may be a non-host device, such as a mobile phone or a tablet computer. With the USB docking device 1 provided in this embodiment, the screen screen of the first electronic device or the screen of the second electronic device can be switched on and off automatically to the external display device. It should be noted that, in this embodiment, the connector specifications of the first USB interface IN1 and the second USB interface IN2 are preferably USB Type-C, and the transmission specifications of the first USB interface IN1 and the second USB interface IN2 are compared. The preferred location is USB 3.1, but the invention is not limited thereto.

舉例來說,若使用者於其工作時同時使用個人電腦(舉例為前述之第一電子裝置)與平板電腦(舉例為前述之第二電子裝置),便可將其個人電腦與平板電腦分別地經由第一USB介面IN1與第二USB介面IN2連接於USB對接裝置1,同時,再將USB對接裝置1之視頻訊號輸出端OUT外接於一台顯示裝置上。如此一來便可選擇性地將個人電腦或平板電腦的影像畫面切換顯示於外接的顯示裝置上。 For example, if a user uses a personal computer (for example, the aforementioned first electronic device) and a tablet computer (for example, the aforementioned second electronic device) while working, the personal computer and the tablet computer can be separately The USB interface device 1 is connected to the USB docking device 1 via the first USB interface IN1, and the video signal output terminal OUT of the USB docking device 1 is externally connected to a display device. In this way, the image screen of the personal computer or the tablet can be selectively displayed on the external display device.

承接上述舉例,更特定地說,個人電腦與平板電腦分別地經由第一USB介面IN1與第二USB介面IN2連接於USB對接裝置1後,透過第一USB介面IN1,第一訊號多工器20a便可接收個人電腦之第一資料訊號,再由第一資料訊號中選擇並輸出第一視頻訊號。同時,透過第二USB介面IN2,第二訊號多工器20b亦可接收平板電腦之第二資料訊號,再由第二資料訊號中選擇並輸出第二視頻訊號。 In the above example, more specifically, the personal computer and the tablet are respectively connected to the USB docking device 1 via the first USB interface IN1 and the second USB interface IN2, and then through the first USB interface IN1, the first signal multiplexer 20a. The first data signal of the personal computer can be received, and then the first video signal is selected and outputted by the first data signal. At the same time, the second signal multiplexer 20b can also receive the second data signal of the tablet through the second USB interface IN2, and then select and output the second video signal from the second data signal.

接著,微控制器10可接收個人電腦所發出之第一控制訊號或平板電腦之第二控制訊號,並根據第一控制訊號或第二控制訊號控制視頻訊號處理器30對第一視頻訊號或第二視頻訊號進行訊號處理。進一步說明,於本實施例中,個人電腦與平板電腦均安裝 有一個預設應用程式。於實際操作上,對主機裝置(如:個人電腦)來說,此預設應用程式係為一個常駐程式,於主機裝置開機時便會同時運行,另一方面,對於非主機裝置(如:平板電腦)來說,此預設應用程式係為行動軟體(APP),可於裝置之系統背景下運行。透過此預設應用程式,個人電腦或平板電腦便能傳送第一控制訊號或第二控制訊號至微控制器10,以使微控制器10根據第一控制訊號或第二控制訊號控制視頻訊號處理器30對個人電腦之第一視頻訊號或平板電腦之第二視頻訊號進行訊號處理。 Then, the microcontroller 10 can receive the first control signal sent by the personal computer or the second control signal of the tablet computer, and control the video signal processor 30 to the first video signal or the first according to the first control signal or the second control signal. The second video signal is processed by the signal. Further, in this embodiment, both the personal computer and the tablet are installed. There is a default app. In practice, for a host device (eg, a personal computer), the default application is a resident program that runs simultaneously when the host device is powered on. On the other hand, for a non-host device (eg, a tablet) Computer), this default application is mobile software (APP), which can be run in the system context of the device. Through the preset application, the personal computer or the tablet computer can transmit the first control signal or the second control signal to the microcontroller 10, so that the microcontroller 10 can control the video signal processing according to the first control signal or the second control signal. The device 30 performs signal processing on the first video signal of the personal computer or the second video signal of the tablet.

承上例,使用者可透過個人電腦中所安裝之常駐程式主動地傳送第一控制訊號至微控制器10,或透過平板電腦中所安裝之息行動軟體主動地傳送第二控制訊號至微控制器10,使得微控制器10第一控制訊號或第二控制訊號控制視頻訊號處理器30對第一視頻訊號或第二視頻訊號進行訊號處理。最後,由視頻訊號轉換器40接收並將經訊號處理之第一視頻訊號或第二視頻訊號轉換為視頻輸出訊號並輸出至視頻訊號輸出端OUT進行播放,舉例來說,視頻訊號轉換器40可為一個DP-HDMI訊號轉換器,但本發明於此並不限制。 In the above example, the user can actively transmit the first control signal to the microcontroller 10 through the resident program installed in the personal computer, or actively transmit the second control signal to the micro control through the action mobile software installed in the tablet computer. The controller 10 causes the first control signal or the second control signal of the microcontroller 10 to control the video signal processor 30 to perform signal processing on the first video signal or the second video signal. Finally, the video signal converter 40 receives and converts the signal processed first video signal or the second video signal into a video output signal and outputs the video signal output terminal OUT for playing. For example, the video signal converter 40 can It is a DP-HDMI signal converter, but the invention is not limited thereto.

也就是說,於一時間點,當微控制器10接收第一控制訊號時,便會控制視頻訊號轉換器40處理之第一視頻訊號,再由視頻訊號轉換器40將經訊號處理之第一視頻訊號轉換為視頻輸出訊號並輸出至視頻訊號輸出端OUT,使得個人電腦的螢幕畫面能夠播放於外接之顯示裝置。而於下一時間點,當微控制器10接收第二控制訊號時,便會控制視頻訊號轉換器40處理之第二視頻訊號,再由視頻訊號轉換器40將經訊號處理之第二視頻訊號轉換為視頻輸出訊號並輸出至視頻訊號輸出端OUT,使得外接之顯示裝置所顯示的影像由個人電腦的螢幕畫面被切換成平板電腦的螢幕畫面。 That is to say, at a point in time, when the microcontroller 10 receives the first control signal, it controls the first video signal processed by the video signal converter 40, and then the first signal processing by the video signal converter 40. The video signal is converted into a video output signal and output to the video signal output terminal OUT, so that the screen of the personal computer can be played on the external display device. At the next time, when the microcontroller 10 receives the second control signal, it controls the second video signal processed by the video signal converter 40, and then the video signal converter 40 processes the second video signal processed by the signal. Converted to a video output signal and output to the video signal output terminal OUT, so that the image displayed by the external display device is switched from the screen screen of the personal computer to the screen screen of the tablet computer.

除此之外,使用者可透過個人電腦中所安裝之常駐程式,將第一控制訊號輸出之機制設定為,當使用者於個人電腦上操作滑 鼠指標或鍵盤時,便透過常駐程式自動地將第一控制訊號輸出至微控制器。另一方面,使用者也可透過平板電腦中所安裝之行動軟體,將第二控制訊號輸出之機制設定為,當使用者於平板電腦上操作觸控指標、點選觸控介面或操作裝置按鈕時,便透過行動軟體自動地將第二控制訊號輸出至微控制器。如此一來,不論使用者切換至個人電腦或是平板電腦下進行工作,透過本實施例所提供之USB對接裝置1,均可即時且自動地於外接之顯示裝置上播放出使用者正在使用之裝置的螢幕畫面,使用者無須額外地進行主動切換。須說明地是,於本實施例中,微控制器10可例如為單晶片微控制器,其包含有韌體,其中,此韌體係對應於第一與第二電子裝置所安裝之預設應用程式。也就是說,微控制器10係藉由執行所包含之韌體來處理所接收之指令,以及進一步發送存讀取指令至第一與第二電子裝置,或控制第一與第二電子裝置連結至遠端共享磁碟或目錄。 In addition, the user can set the mechanism of the first control signal output to be operated by the user on the personal computer through the resident program installed in the personal computer. When the mouse indicator or keyboard is used, the first control signal is automatically output to the microcontroller through the resident program. On the other hand, the user can also set the mechanism of the second control signal output through the action software installed in the tablet computer, when the user operates the touch indicator on the tablet, clicks the touch interface or the operation device button. The second control signal is automatically output to the microcontroller through the mobile software. In this way, whether the user switches to a personal computer or a tablet computer, the USB docking device 1 provided in this embodiment can instantly and automatically play the user's use on the external display device. The screen of the device does not require additional active switching by the user. It should be noted that, in this embodiment, the microcontroller 10 can be, for example, a single-chip microcontroller including a firmware, wherein the tough system corresponds to a preset application installed by the first and second electronic devices. Program. That is, the microcontroller 10 processes the received instructions by executing the included firmware, and further transmits the read command to the first and second electronic devices, or controls the first and second electronic devices to link. Share the disk or directory to the far end.

於本實施例中,如圖1所示,USB對接裝置1亦可包括手動控制介面60,如:設置於USB對接裝置1的按鈕或操作介面。手動控制介面60連接於微控制器10,供使用者操作手動控制介面60以傳送第三控制訊號至微控制器10,使得微控制器10根據第三控制訊號控制視頻訊號處理器30對第一視頻訊號或第二視頻訊號進行訊號處理。換句話說,藉由手動控制介面60,使用者亦能手動地將個人電腦或是平板電腦的工作畫面設定為固定地播放於外接之顯示裝置上。 In this embodiment, as shown in FIG. 1 , the USB docking device 1 may also include a manual control interface 60 , such as a button or an operation interface disposed on the USB docking device 1 . The manual control interface 60 is connected to the microcontroller 10 for the user to operate the manual control interface 60 to transmit the third control signal to the microcontroller 10, so that the microcontroller 10 controls the video signal processor 30 to the first according to the third control signal. The video signal or the second video signal is processed by the signal. In other words, by manually controlling the interface 60, the user can manually set the working screen of the personal computer or the tablet to be fixedly played on the external display device.

另外,於本實施例中,USB對接裝置1還可包括第一電源控制器50a與第二電源控制器50b。復如圖1所示,第一電源控制器50a連接於第一訊號多工器20a與第一USB介面IN1之間,且第二電源控制器50b連接於第二訊號多工器20b與第二USB介面IN2之間。進一步說明,於前述舉例中,除了第一視頻訊號與第二視頻訊號外,第一訊號多工器20a與第二訊號多工器20b亦分別由第一資料訊號 與第二資料訊號中選擇並輸出第一電力訊號與第二電力訊號。接著,第一電源控制器50a與第二電源控制器50b便根據第一電力訊號與第二電力訊號分別對第一USB介面IN1與第二USB介面IN2進行電源控制。 In addition, in the embodiment, the USB docking device 1 may further include a first power controller 50a and a second power controller 50b. As shown in FIG. 1, the first power controller 50a is connected between the first signal multiplexer 20a and the first USB interface IN1, and the second power controller 50b is connected to the second signal multiplexer 20b and the second. Between the USB interface IN2. Further, in the foregoing example, in addition to the first video signal and the second video signal, the first signal multiplexer 20a and the second signal multiplexer 20b are also respectively configured by the first data signal. And selecting and outputting the first power signal and the second power signal in the second data signal. Then, the first power controller 50a and the second power controller 50b respectively perform power control on the first USB interface IN1 and the second USB interface IN2 according to the first power signal and the second power signal.

須說明地是,於本實施例中,第一電源控制器50a與第二電源控制器50b均分別連接於一個直流-直流電元轉換單元(未圖示),以接收外部之直流供應電源。同時須說明地是,第一電源控制器50a與第二電源控制器50b可為電源控制晶片,且電源控制晶片對第一USB介面IN1與第二USB介面IN2進行電源控制之技術細節應為該發明領域中具有通常知識者所能理解,故於此便不細述。 It should be noted that, in this embodiment, the first power controller 50a and the second power controller 50b are respectively connected to a DC-DC unit conversion unit (not shown) to receive an external DC power supply. It should be noted that the first power controller 50a and the second power controller 50b may be power control chips, and the technical details of the power control chip for power control of the first USB interface IN1 and the second USB interface IN2 shall be It will be understood by those of ordinary skill in the field of the invention, and thus will not be described in detail herein.

值得注意地是,於使用者使用多個電子裝置進行工作的期間,除了即時且自動地切換顯示使用中之電子裝置的工作畫面外,透過本實施例所提供之USB對接裝置,使用者也能進行電子裝置間的檔案傳輸,如:進行裝置間雙向的檔案存讀取與檔案備份。 It is noted that, in addition to the instant and automatic switching of the working screen of the electronic device in use during the operation of the user using the plurality of electronic devices, the user can also use the USB docking device provided by the embodiment. File transfer between electronic devices, such as: two-way file storage and file backup between devices.

如上所述,於本實施例中,USB對接裝置1係藉由第一USB介面IN1、第二USB介面IN2與USB傳輸線與第一電子裝置和第二電子裝置連接,若第一電子裝置與第二電子裝置均非主機裝置時,或者若第一電子裝置與第二電子裝置僅一為主機裝置時,第一電子裝置(或第二電子裝置)可透過預設應用程式將指令發送至微控制器10,由微控制器10傳送存讀取指令至第二電子裝置(或第一電子裝置),以進行兩者間的檔案傳輸。 As described above, in the embodiment, the USB docking device 1 is connected to the first electronic device and the second electronic device by using the first USB interface IN1, the second USB interface IN2, and the USB transmission line, if the first electronic device and the first electronic device When the two electronic devices are not the host device, or if the first electronic device and the second electronic device are only the host device, the first electronic device (or the second electronic device) can send the command to the micro control through the preset application. The device 10 transmits a read command to the second electronic device (or the first electronic device) by the microcontroller 10 to perform file transfer between the two.

類似地,若第一電子裝置與第二電子裝置均為主機裝置,如:第一電子裝置與第二電子裝置均為個人電腦,當使用者欲進行電子裝置間的檔案存讀取或檔案備份時,第一電子裝置(或第二電子裝置)便透過所安裝之預設應用程式發送指令至微控制器10。但不同地示,微控制器10將根據此指令控制第一電子裝置或第二電子裝置使其連結至第一電子裝置與第二電子裝置之遠端共享磁碟或 目錄,使得第一電子裝置或第二電子裝置能透過遠端共享磁碟或目錄來進行裝置間的檔案傳輸。換句話說,於此情況下,微控制器10係為兩主機裝置之檔案傳輸路徑中的中繼媒介,藉由將兩主機裝置連結至遠端共享磁碟或目錄的方式,本實施例所提供之USB對接裝置1便可不受限於主從式的檔案傳輸,即便於第一電子裝置與第二電子裝置均為主機裝置的情況下,也能夠僅藉由USB傳輸線來實現兩主機裝置之間的檔案傳輸,十分便利。 Similarly, if the first electronic device and the second electronic device are both host devices, for example, the first electronic device and the second electronic device are both personal computers, when the user wants to perform file storage or file backup between the electronic devices. The first electronic device (or the second electronic device) sends an instruction to the microcontroller 10 through the installed preset application. But differently, the microcontroller 10 will control the first electronic device or the second electronic device to connect to the remote shared disk of the first electronic device and the second electronic device according to the instruction. The directory enables the first electronic device or the second electronic device to perform file transfer between devices through a remote shared disk or directory. In other words, in this case, the microcontroller 10 is a relay medium in the file transmission path of the two host devices. By connecting the two host devices to the remote shared disk or directory, the embodiment is The provided USB docking device 1 can be implemented without being restricted to the master-slave file. Even when both the first electronic device and the second electronic device are host devices, the two host devices can be realized only by the USB transmission line. The file transfer between the two is very convenient.

〔USB對接裝置的另一實施例〕 [Another Embodiment of USB Docking Device]

請參照圖2,圖2為根據本發明另一例示性實施例所繪示之USB對接裝置之方塊圖。本實施例所提供之USB對接裝置2與圖1所提供之USB對接裝置1兩者中所包含的元件與其工作原理大致相同,且該相同之元件與工作原理已詳細描述於前述各實施例中,故於此不再贅述。惟兩者之差異在於,於本實施例中,USB對接裝置2更包括USB集線器70,如圖2所示,USB集線器70連接於第一USB介面IN1、第二USB介面IN2與微控制器10。 Please refer to FIG. 2. FIG. 2 is a block diagram of a USB docking device according to another exemplary embodiment of the present invention. The components included in the USB docking device 2 provided in this embodiment and the USB docking device 1 provided in FIG. 1 are substantially the same as the working principle, and the same components and working principles have been described in detail in the foregoing embodiments. Therefore, it will not be repeated here. The difference between the two is that in the embodiment, the USB docking device 2 further includes a USB hub 70. As shown in FIG. 2, the USB hub 70 is connected to the first USB interface IN1, the second USB interface IN2, and the microcontroller 10. .

更詳細地說,於本實施例中,若第一電子裝置與第二電子裝置均非主機裝置時,或者若第一電子裝置與第二電子裝置僅一為主機裝置時,第一電子裝置(或第二電子裝置)可透過預設應用程式將指令透過USB集線器70直接地發送至第二電子裝置(或第一電子裝置)。而關於兩非主機裝置、或主機裝置與非主機裝置之間透過USB集線器70進行檔案傳輸的技術細節應為該發明所屬技術領域中具有通常知識者所能理解,於此便不細述。 In more detail, in this embodiment, if both the first electronic device and the second electronic device are not the host device, or if the first electronic device and the second electronic device are only the host device, the first electronic device ( Or the second electronic device can transmit the instruction directly to the second electronic device (or the first electronic device) through the USB hub 70 through the preset application. The technical details of the file transfer between the two non-host devices, or between the host device and the non-host device through the USB hub 70, should be understood by those of ordinary skill in the art to which the invention pertains, and will not be described in detail herein.

另一方面,於本實施例中,若第一電子裝置與第二電子裝置均為主機裝置,當使用者欲進行電子裝置間的檔案存讀取或檔案備份時,第一電子裝置(或第二電子裝置)便透過所安裝之預設應用程式發送指令至微控制器10。根據此指令,微控制器10控制第一電子裝置或第二電子裝置使其連結至第一電子裝置與第二電子裝 置之遠端共享磁碟或目錄,使得第一電子裝置或第二電子裝置能透過遠端共享磁碟或目錄來進行裝置間的檔案傳輸。 On the other hand, in the embodiment, if the first electronic device and the second electronic device are both host devices, when the user wants to perform file storage or file backup between the electronic devices, the first electronic device (or The two electronic devices send an instruction to the microcontroller 10 through the installed preset application. According to this instruction, the microcontroller 10 controls the first electronic device or the second electronic device to be coupled to the first electronic device and the second electronic device. The remote shared disk or directory enables the first electronic device or the second electronic device to perform file transfer between devices through a remote shared disk or directory.

也就是說,如同圖1所繪示之實施例,本實施例之USB對接裝置2中的微控制器10亦係為兩主機裝置之檔案傳輸路徑中的中繼媒介,使得兩主機裝置能連結至遠端共享磁碟或目錄,僅藉由USB傳輸線來實現兩主機裝置之間的檔案傳輸,而不受限於主從式的檔案傳輸,十分便利。 That is, as in the embodiment shown in FIG. 1, the microcontroller 10 in the USB docking device 2 of the present embodiment is also a relay medium in the file transmission path of the two host devices, so that the two host devices can be connected. To the remote shared disk or directory, the file transfer between the two host devices is only realized by the USB transmission line, and is not limited to the master-slave file transfer, which is very convenient.

值得注意地是,於圖1所繪示之實施例中,不論第一電子裝置與第二電子裝置均為非主機裝置、僅一為非主機裝置或兩者均為主機裝置,於進行裝置間的檔案傳輸時,USB對接裝置2中的微控制器10均需要根據所接收之指令進一步發送存讀取指令或是控制裝置連結至遠端共享磁碟或目錄。然而,於本實施例中,只有在第一電子裝置與第二電子裝置均為主機裝置的情況下,於進行裝置間的檔案傳輸時,USB對接裝置2中的微控制器10才需要根據所接收之指令進一步控制裝置連結至遠端共享磁碟或目錄。而於第一電子裝置與第二電子裝置均為非主機裝置,或者僅一為非主機裝置的情況下,裝置間的檔案傳輸則係透過USB集線器70即可實現。 It should be noted that, in the embodiment illustrated in FIG. 1 , whether the first electronic device and the second electronic device are non-host devices, only one is a non-host device, or both are host devices, During the file transfer, the microcontroller 10 in the USB docking device 2 needs to further send a read read command according to the received command or the control device is connected to the remote shared disk or directory. However, in this embodiment, only when the first electronic device and the second electronic device are both host devices, the microcontroller 10 in the USB docking device 2 needs to be based on the file transfer between the devices. The received command further controls the device to connect to the remote shared disk or directory. When the first electronic device and the second electronic device are both non-host devices, or only one is a non-host device, the file transfer between the devices is realized through the USB hub 70.

換句話說,於實際操作上,相較於圖1所繪示之實施例之USB對接裝置2中的微控制器10,本實施例之USB對接裝置2中的微控制器10所需之效能門檻規格較低,因而可提供較佳的成本優勢。 In other words, in actual operation, compared with the microcontroller 10 in the USB docking device 2 of the embodiment shown in FIG. 1, the performance required by the microcontroller 10 in the USB docking device 2 of the present embodiment is required. The lower thresholds provide a better cost advantage.

接著請參照圖3,圖3為根據本發明一例示性實施例所繪示之USB對接裝置之示意圖,且圖3所繪示之實施例中的USB對接裝置3可由前述圖1或圖2所繪示之實施例中的USB對接裝置1或USB對接裝置2所實現。 Referring to FIG. 3, FIG. 3 is a schematic diagram of a USB docking device according to an exemplary embodiment of the present invention, and the USB docking device 3 in the embodiment shown in FIG. 3 can be obtained by the foregoing FIG. 1 or FIG. The USB docking device 1 or the USB docking device 2 in the illustrated embodiment is implemented.

如圖3所示,使用者僅需將需使用之電子裝置D1與D2,如:筆記型電腦、平板電腦…等,藉由第一USB介面IN1與第二USB介面IN2來和USB對接裝置3連接,透過預設之應用程式,便可切換 控制視頻訊號輸出端OUT所連接之顯示裝置D3的螢幕畫面。除此之外,不論第一電子裝置D1與第二電子裝置D2均為非主機裝置、僅一為非主機裝置或兩者均為主機裝置,利用本實施例中的USB對接裝置3,使用者都能僅藉由USB傳輸線來實現電子裝置D1與D2間的檔案傳輸,而不受限於主從式的檔案傳輸。 As shown in FIG. 3, the user only needs to use the electronic devices D1 and D2 to be used, such as a notebook computer, a tablet computer, etc., and the USB docking device 3 through the first USB interface IN1 and the second USB interface IN2. Connect, switch through the preset application The screen of the display device D3 to which the video signal output terminal OUT is connected is controlled. In addition, regardless of whether the first electronic device D1 and the second electronic device D2 are non-host devices, only one is a non-host device, or both are host devices, using the USB docking device 3 in the embodiment, the user The file transfer between the electronic devices D1 and D2 can be realized only by the USB transmission line, and is not limited to the master-slave file transfer.

〔控制方法的一實施例〕 [An embodiment of the control method]

請參照圖4A與圖4B,圖4A與圖4B為根據本發明一例示性實施例所繪示之適用於USB對接裝置的控制方法之流程圖。本實施例所提供之控制方法係適用於前述圖1與圖2所繪示之USB對接裝置,故請同時參照圖1與圖2。 Please refer to FIG. 4A and FIG. 4B . FIG. 4A and FIG. 4B are flowcharts illustrating a control method suitable for a USB docking device according to an exemplary embodiment of the present invention. The control method provided in this embodiment is applicable to the USB docking device shown in FIG. 1 and FIG. 2, so please refer to FIG. 1 and FIG. 2 at the same time.

首先,如圖4A所示,本實施例所提供之控制方法係由以下步驟實現。首先,步驟S410係為接收由第一電子裝置輸出之第一資料訊號與由第二電子裝置輸出之第二資料訊號,再由第一資料訊號與第二資料訊號中分別選擇並輸出第一視頻訊號與第二視頻訊號。步驟S420係為接收由第一電子裝置輸出之第一控制訊號或由第二電子裝置輸出之第二控制訊號,並根據第一控制訊號或第二控制訊號,對第一視頻訊號或第二視頻訊號進行訊號處理。最後,步驟S430係為將經訊號處理之第一視頻訊號或第二視頻訊號轉換為視頻輸出訊號並輸出至視頻訊號輸出端以進行播放。 First, as shown in FIG. 4A, the control method provided in this embodiment is implemented by the following steps. First, the step S410 is to receive the first data signal output by the first electronic device and the second data signal output by the second electronic device, and then select and output the first video from the first data signal and the second data signal respectively. Signal and second video signal. Step S420 is to receive the first control signal output by the first electronic device or the second control signal output by the second electronic device, and to the first video signal or the second video according to the first control signal or the second control signal. The signal is processed by the signal. Finally, in step S430, the first video signal or the second video signal processed by the signal is converted into a video output signal and output to the video signal output for playing.

本實施例所提供之控制方法亦可包括步驟S408與步驟S409,以進行USB介面之電源控制。詳細地說,步驟S408係為由第一資料訊號與第二資料訊號中分別選擇並輸出第一電力訊號與第二電力訊號,以及步驟S409係為根據第一電力訊號與第二電力訊號分別對第一USB介面與第二USB介面進行電源控制。 The control method provided in this embodiment may also include steps S408 and S409 to perform power control of the USB interface. Specifically, in step S408, the first power signal and the second power signal are respectively selected and outputted from the first data signal and the second data signal, and step S409 is performed according to the first power signal and the second power signal respectively. The first USB interface and the second USB interface perform power control.

再者,如圖1與圖2所繪示之實施例所述,USB對接裝置還可包括手動控制介面,且手動控制介面連接於微控制器,以供使用者藉由實體的操作介面或按鈕切換外接顯示裝置的螢幕畫面,故本實施例所提供之控制方法還可包括步驟S440,且步驟S440係為 接收由手動控制介面輸出之第三控制訊號,並根據第三控制訊號對第一視頻訊號或第二視頻訊號進行訊號處理。 Furthermore, as shown in the embodiment shown in FIG. 1 and FIG. 2, the USB docking device may further include a manual control interface, and the manual control interface is connected to the microcontroller for the user to operate through a physical interface or button. Switching the screen of the external display device, the control method provided in this embodiment may further include step S440, and step S440 is Receiving a third control signal output by the manual control interface, and performing signal processing on the first video signal or the second video signal according to the third control signal.

復如圖1與圖2所繪示之實施例所述,電子裝置之間以及電子裝置與微控制器之間均係以預設應用程式發送指令,故為了確認連接與USB對接裝置的電子裝置是否安裝有預設應用程式,本實施例所提供之控制方法另包括步驟S401至步驟S403,如圖4B所示。 As shown in the embodiment shown in FIG. 1 and FIG. 2, the electronic device and the electronic device and the microcontroller transmit commands by using a preset application program, so in order to confirm the electronic device connected to the USB docking device. Whether the preset application is installed or not, the control method provided in this embodiment further includes steps S401 to S403, as shown in FIG. 4B.

詳細地說,步驟S401係為判斷第一電子裝置與第二電子裝置是否安裝預設應用程式,接著步驟S402係為若第一電子裝置或第二電子裝置未安裝預設應用程式,則於第一電子裝置或第二電子裝置安裝預設應用程式。最後,於步驟S403中,透過預設應用程式,第一電子裝置或第二電子裝置傳送第一控制訊號或第二控制訊號至微控制器。 In detail, step S401 is to determine whether the first electronic device and the second electronic device are installed with a preset application, and then step S402 is if the first electronic device or the second electronic device does not have a preset application installed, then An electronic device or a second electronic device installs a preset application. Finally, in step S403, the first electronic device or the second electronic device transmits the first control signal or the second control signal to the microcontroller through the preset application.

除此之外,當本實施例之控制方法應用於如圖1所繪示之實施例中的USB對接裝置時,為了實現電子裝置之間的檔案傳輸,於本實施例中,若第一電子裝置與第二電子裝置中至少一為非主機裝置時,本實施例所提供之控制方法另包括圖4B所示之步驟S404,且步驟S404係為透過預設應用程式發送指令至微控制器,並根據指令傳送存讀取指令至第二電子裝置或第一電子裝置之間,以進行檔案傳輸。而若第一電子裝置與第二電子裝置均為主機裝置時,本實施例所提供之控制方法另包括圖4B所示之步驟S405,步驟S405係為透過預設應用程式發送指令至微控制器,由微控制器根據指令控制第一電子裝置或第二電子裝置連結至第一電子裝置與第二電子裝置之遠端共享磁碟或遠端共享目錄,以進行檔案傳輸。 In addition, when the control method of the embodiment is applied to the USB docking device in the embodiment shown in FIG. 1 , in order to implement file transfer between the electronic devices, in the embodiment, if the first electronic device When at least one of the device and the second electronic device is a non-host device, the control method provided in this embodiment further includes step S404 shown in FIG. 4B, and step S404 is to send an instruction to the microcontroller through the preset application. And transmitting a read command to the second electronic device or the first electronic device according to the instruction for file transmission. If the first electronic device and the second electronic device are both host devices, the control method provided in this embodiment further includes step S405 shown in FIG. 4B, and the step S405 is to send an instruction to the microcontroller through the preset application. And controlling, by the microcontroller, the first electronic device or the second electronic device to connect to the remote shared disk or the remote shared directory of the first electronic device and the second electronic device for file transmission.

另一方面,當本實施例之控制方法應用於如圖2所繪示之實施例中的USB對接裝置時,由於圖2所繪示之實施例中的USB對接裝置更包括有USB集線器,且USB集線器連接於第一USB介面、第二USB介面與微控制器,故為了實現電子裝置之間的檔案傳輸,於 本實施例中,若第一電子裝置與第二電子裝置中至少一為非主機裝置時,本實施例所提供之控制方法另包括圖4B所示之步驟S406,且步驟S406係為透過預設應用程式,直接經由USB集線器進行第一電子裝置與第二電子裝置之間的檔案傳輸。 On the other hand, when the control method of the embodiment is applied to the USB docking device in the embodiment shown in FIG. 2, the USB docking device in the embodiment shown in FIG. 2 further includes a USB hub, and The USB hub is connected to the first USB interface, the second USB interface and the microcontroller, so in order to realize file transfer between the electronic devices, In this embodiment, if at least one of the first electronic device and the second electronic device is a non-host device, the control method provided in this embodiment further includes step S406 shown in FIG. 4B, and step S406 is to pass the preset. The application directly transfers the file between the first electronic device and the second electronic device via the USB hub.

〔實施例的可能功效〕 [Possible effects of the examples]

綜上所述,透過本發明實施例所提供之USB對接裝置與其控制方法,便能即時且自動地切換視頻訊號輸出端所輸出的視頻輸出訊號。也就是說,視頻訊號輸出端所連接之顯示裝置可即時且自動地切換顯示第一電子裝置或第二電子裝置的螢幕畫面。再者,透過本發明實施例所提供之USB對接裝置與其控制方法,也能進行第一電子裝置與第二電子裝置之間的檔案傳輸,如:進行檔案的存讀取與備份。此外,由於本發明實施例所提供之USB對接裝置與其控制方法係透過微控制器作為中介裝置,故即便是於第一電子裝置與第二電子裝置均為主機裝置的情況下,也能僅藉由USB傳輸線來實現兩主機裝置之間的檔案傳輸,十分便利。 In summary, the USB docking device and the control method thereof provided by the embodiments of the present invention can instantly and automatically switch the video output signals output by the video signal output terminal. That is to say, the display device connected to the video signal output terminal can instantly and automatically switch the screen display of the first electronic device or the second electronic device. Furthermore, the USB docking device and the control method thereof provided by the embodiments of the present invention can also perform file transfer between the first electronic device and the second electronic device, for example, performing file storage and backup. In addition, since the USB docking device and the control method thereof are provided by the microcontroller as an intermediary device, even if both the first electronic device and the second electronic device are host devices, only the first electronic device and the second electronic device can be borrowed. It is very convenient to realize file transfer between the two host devices by the USB transmission line.

以上所述僅為本發明之實施例,其並非用以侷限本發明之專利範圍。 The above description is only an embodiment of the present invention, and is not intended to limit the scope of the invention.

2‧‧‧USB對接裝置 2‧‧‧USB docking device

10‧‧‧微控制器 10‧‧‧Microcontroller

20a‧‧‧第一訊號多工器 20a‧‧‧first signal multiplexer

20b‧‧‧第二訊號多工器 20b‧‧‧Second signal multiplexer

30‧‧‧視頻訊號處理器 30‧‧‧Video Signal Processor

40‧‧‧視頻訊號轉換器 40‧‧‧Video Signal Converter

50a‧‧‧第一電源控制器 50a‧‧‧First power controller

50b‧‧‧第二電源控制器 50b‧‧‧second power controller

60‧‧‧手動控制介面 60‧‧‧Manual control interface

70‧‧‧USB集線器 70‧‧‧USB hub

IN1‧‧‧第一USB介面 IN1‧‧‧First USB interface

IN2‧‧‧第二USB介面 IN2‧‧‧Second USB interface

OUT‧‧‧視頻訊號輸出端 OUT‧‧‧Video signal output

Claims (16)

一種USB對接裝置,具有一第一USB介面、一第二USB介面與至少一視頻訊號輸出端,該USB對接裝置包括:一微控制器,透過該第一USB介面與該第二USB介面分別連接一第一電子裝置與一第二電子裝置,並接收該第一電子裝置之一第一控制訊號或該第二電子裝置之一第二控制訊號;一第一訊號多工器,連接於該微控制器,且透過該第一USB介面連接該第一電子裝置,該第一訊號多工器接收該第一電子裝置之一第一資料訊號,再由該第一資料訊號選擇並輸出一第一視頻訊號;一第二訊號多工器,連接於該微控制器,且透過該第二USB介面連接該第二電子裝置,該第二訊號多工器接收該第二電子裝置之一第二資料訊號,再由該第二資料訊號選擇並輸出一第二視頻訊號;一視頻訊號處理器,連接於該微控制器、該第一訊號多工器與該第二訊號多工器,接收並對該第一視頻訊號或該第二視頻訊號進行訊號處理;以及一視頻訊號轉換器,連接於該視頻訊號處理器,接收經訊號處理之該第一視頻訊號或該第二視頻訊號,將該第一視頻訊號或該第二視頻訊號轉換為一視頻輸出訊號並輸出至該視頻訊號輸出端進行播放;其中,該微控制器係根據該第一控制訊號或該第二控制訊號控制該視頻訊號處理器對該第一視頻訊號或該第二視頻訊號進行訊號處理。 A USB docking device has a first USB interface, a second USB interface and at least one video signal output. The USB docking device includes: a microcontroller, and the second USB interface is respectively connected to the second USB interface through the first USB interface a first electronic device and a second electronic device, and receiving a first control signal of the first electronic device or a second control signal of the second electronic device; a first signal multiplexer connected to the micro The controller is connected to the first electronic device through the first USB interface, and the first signal multiplexer receives the first data signal of the first electronic device, and then selects and outputs a first data signal by the first data device. a second signal multiplexer connected to the microcontroller and connected to the second electronic device via the second USB interface, the second signal multiplexer receiving the second data of the second electronic device And selecting, by the second data signal, a second video signal; a video signal processor connected to the microcontroller, the first signal multiplexer and the second signal multiplexer, receiving and receiving The first The frequency signal or the second video signal performs signal processing; and a video signal converter is connected to the video signal processor to receive the first video signal or the second video signal processed by the signal, and the first video signal is Or the second video signal is converted into a video output signal and output to the video signal output end for playing; wherein the microcontroller controls the video signal processor to control the video signal processor according to the first control signal or the second control signal The first video signal or the second video signal is processed by the signal. 如請求項1所述之USB對接裝置,更包括:一第一電源控制器與一第二電源控制器,該第一電源控制器連接於該第一訊號多工器與該第一USB介面之間,且該第 二電源控制器連接於該第二訊號多工器與該第二USB介面之間;其中該第一訊號多工器與該第二訊號多工器分別由該第一資料訊號與該第二資料訊號中選擇並輸出一第一電力訊號與一第二電力訊號,該第一電源控制器與該第二電源控制器根據該第一電力訊號與該第二電力訊號分別對該第一USB介面與該第二USB介面進行電源控制。 The USB docking device of claim 1, further comprising: a first power controller and a second power controller, wherein the first power controller is connected to the first signal multiplexer and the first USB interface And the first The second power controller is connected between the second signal multiplexer and the second USB interface; wherein the first signal multiplexer and the second signal multiplexer respectively comprise the first data signal and the second data Selecting and outputting a first power signal and a second power signal in the signal, the first power controller and the second power controller respectively according to the first power signal and the second power signal to the first USB interface The second USB interface performs power control. 如請求項1所述之USB對接裝置,其中該第一USB介面與該第二USB介面之接頭規格係為USB Type-C,且該第一USB介面與該第二USB介面之傳輸規範係為USB 3.1。 The USB docking device of claim 1, wherein the connector specification of the first USB interface and the second USB interface is a USB Type-C, and the transmission specification of the first USB interface and the second USB interface is USB 3.1. 如請求項1所述之USB對接裝置,其中該第一電子裝置與該第二電子裝置均安裝有一預設應用程式,透過該預設應用程式,該第一電子裝置或該第二電子裝置傳送該第一控制訊號或該第二控制訊號至該微控制器。 The USB docking device of claim 1, wherein the first electronic device and the second electronic device are each mounted with a preset application, and the first electronic device or the second electronic device transmits the preset electronic device The first control signal or the second control signal is sent to the microcontroller. 如請求項1所述之USB對接裝置,更包括一手動控制介面,連接於該微控制器,以供一使用者藉由該手動控制介面傳送一第三控制訊號至該微控制器,以使該微控制器係根據該第三控制訊號控制該視頻訊號處理器對該第一視頻訊號或該第二視頻訊號進行訊號處理。 The USB docking device of claim 1 further includes a manual control interface connected to the microcontroller for a user to transmit a third control signal to the microcontroller through the manual control interface. The microcontroller controls the video signal processor to perform signal processing on the first video signal or the second video signal according to the third control signal. 如請求項4所述之USB對接裝置,其中若該第一電子裝置與該第二電子裝置中至少一為一非主機裝置時,該第一電子裝置或該第二電子裝置透過該預設應用程式發送一指令至該微控制器,該微控制器根據該指令傳送一存讀取指令至該第二電子裝置或該第一電子裝置之間以進行檔案傳輸。 The USB docking device of claim 4, wherein the first electronic device or the second electronic device passes the preset application if at least one of the first electronic device and the second electronic device is a non-host device The program sends an instruction to the microcontroller, and the microcontroller transmits a stored read command to the second electronic device or the first electronic device for file transfer according to the command. 如請求項4所述之USB對接裝置,其中若該第一電子裝置與該第二電子裝置均為一主機裝置時,該第一電子裝置或該第二 電子裝置透過該預設應用程式發送一指令至該微控制器,該微控制器根據該指令控制該第一電子裝置或該第二電子裝置連結至該第一電子裝置與該第二電子裝置之一遠端共享磁碟或一遠端共享目錄,以進行檔案傳輸。 The USB docking device of claim 4, wherein if the first electronic device and the second electronic device are both a host device, the first electronic device or the second The electronic device sends an instruction to the microcontroller through the preset application, and the microcontroller controls the first electronic device or the second electronic device to be connected to the first electronic device and the second electronic device according to the command A remote shared disk or a remote shared directory for file transfer. 如請求項7所述之USB對接裝置,更包括一USB集線器,連接於該第一USB介面、該第二USB介面與該微控制器,其中若該第一電子裝置與該第二電子裝置中至少一為一非主機裝置時,透過該預設應用程式,該第一電子裝置與該第二電子裝置直接地經由該USB集線器進行檔案傳輸。 The USB docking device of claim 7, further comprising a USB hub connected to the first USB interface, the second USB interface, and the microcontroller, wherein the first electronic device and the second electronic device are When at least one is a non-host device, the first electronic device and the second electronic device directly transmit files via the USB hub through the preset application. 一種控制方法,適用於一USB對接裝置,該USB對接裝置具有一第一USB介面、一第二USB介面與至少一視頻訊號輸出端,且該USB對接裝置包括一微控制器、一第一訊號多工器與一第二訊號多工器、一視頻訊號處理器與一視頻訊號轉換器,其中該第一訊號多工器與該第二訊號多工器連接於該微控制器,該視頻訊號處理器連接於該微控制器、該第一訊號多工器與該第二訊號多工器,且該視頻訊號轉換器連接於該視頻訊號處理器,該控制方法包括:接收由該第一電子裝置輸出之一第一資料訊號與由該第二電子裝置輸出之一第二資料訊號,再由該第一資料訊號與該第二資料訊號中分別選擇並輸出一第一視頻訊號與一第二視頻訊號;接收由該第一電子裝置輸出之一第一控制訊號或由該第二電子裝置輸出之一第二控制訊號,並根據該第一控制訊號或該第二控制訊號,對該第一視頻訊號或該第二視頻訊號進行訊號處理;以及將經訊號處理之該第一視頻訊號或該第二視頻訊號轉換 為一視頻輸出訊號並輸出至該視頻訊號輸出端以進行播放。 A control method is applicable to a USB docking device, the USB docking device has a first USB interface, a second USB interface and at least one video signal output terminal, and the USB docking device includes a microcontroller and a first signal a multiplexer and a second signal multiplexer, a video signal processor and a video signal converter, wherein the first signal multiplexer and the second signal multiplexer are connected to the microcontroller, the video signal The processor is connected to the microcontroller, the first signal multiplexer and the second signal multiplexer, and the video signal converter is connected to the video signal processor, and the control method comprises: receiving the first electronic The device outputs a first data signal and a second data signal output by the second electronic device, and then selects and outputs a first video signal and a second signal from the first data signal and the second data signal respectively a video signal; receiving a first control signal output by the first electronic device or a second control signal output by the second electronic device, and according to the first control signal or the second control signal, The first video signal or the second video signal for signal processing; and the first video signal by signal processing of video signal or the second conversion Output a signal for a video and output to the video signal output for playback. 如請求項9所述之控制方法,更包括:由該第一資料訊號與該第二資料訊號中分別選擇並輸出一第一電力訊號與一第二電力訊號;以及根據該第一電力訊號與該第二電力訊號分別對該第一USB介面與該第二USB介面進行電源控制。 The control method of claim 9, further comprising: selecting and outputting a first power signal and a second power signal from the first data signal and the second data signal respectively; and according to the first power signal The second power signal performs power control on the first USB interface and the second USB interface, respectively. 如請求項9所述之控制方法,其中該第一USB介面與該第二USB介面之接頭規格係為USB Type-C,且該第一USB介面與該第二USB介面之傳輸規範係為USB 3.1。 The control method of claim 9, wherein the connector specification of the first USB interface and the second USB interface is a USB Type-C, and the transmission specification of the first USB interface and the second USB interface is USB. 3.1. 如請求項9所述之控制方法,更包括:判斷該第一電子裝置與該第二電子裝置是否安裝一預設應用程式;以及若該第一電子裝置或該第二電子裝置未安裝該預設應用程式,則於該第一電子裝置或該第二電子裝置安裝該預設應用程式;其中透過該預設應用程式,該第一電子裝置或該第二電子裝置傳送該第一控制訊號或該二控制訊號至該微控制器。 The control method of claim 9, further comprising: determining whether the first electronic device and the second electronic device are installed with a preset application; and if the first electronic device or the second electronic device is not installed The first electronic device or the second electronic device transmits the first control signal or the second electronic device transmits the first control signal or The two control signals are to the microcontroller. 如請求項9所述之控制方法,其中該USB對接裝置更包括一手動控制介面,且該手動控制介面連接於該微控制器,該控制方法更包括:接收由該手動控制介面輸出之一第三控制訊號,並根據該第三控制訊號對該第一視頻訊號或該第二視頻訊號進行訊號處理。 The control method of claim 9, wherein the USB docking device further comprises a manual control interface, and the manual control interface is connected to the microcontroller, the control method further comprises: receiving one of the output of the manual control interface The third control signal is subjected to signal processing on the first video signal or the second video signal according to the third control signal. 如請求項12所述之控制方法,其中若該第一電子裝置與該第二電子裝置中至少一為一非主機裝置時,更包括:透過該預設應用程式發送一指令至該微控制器,並根據該指令傳送一存讀取指令至該第二電子裝置或該第一電子裝置 之間,以進行檔案傳輸。 The control method of claim 12, wherein if at least one of the first electronic device and the second electronic device is a non-host device, the method further comprises: sending an instruction to the microcontroller through the preset application And transmitting a read command to the second electronic device or the first electronic device according to the instruction Between, to transfer files. 如請求項12所述之控制方法,其中若該第一電子裝置與該第二電子裝置均為一主機裝置時,更包括:透過該預設應用程式發送一指令至該微控制器,並根據該指令控制該第一電子裝置或該第二電子裝置連結至該第一電子裝置與該第二電子裝置之一遠端共享磁碟或一遠端共享目錄,以進行檔案傳輸。 The control method of claim 12, wherein if the first electronic device and the second electronic device are both a host device, the method further includes: sending an instruction to the microcontroller through the preset application, and The command controls the first electronic device or the second electronic device to be connected to the remote shared disk or a remote shared directory of the first electronic device and the second electronic device for file transmission. 如請求項15所述之控制方法,其中該USB對接裝置更包括一USB集線器,該USB集線器連接於該第一USB介面、該第二USB介面與該微控制器,且其中若該第一電子裝置與該第二電子裝置中至少一為一非主機裝置時,該控制方法更包括:透過該預設應用程式,直接經由該USB集線器進行該第一電子裝置與該第二電子裝置之間的檔案傳輸。 The control method of claim 15, wherein the USB docking device further comprises a USB hub connected to the first USB interface, the second USB interface, and the microcontroller, and wherein the first electronic When the device and the second electronic device are at least one non-host device, the control method further includes: directly, between the first electronic device and the second electronic device, via the USB hub through the preset application File transfer.
TW105114559A 2016-05-11 2016-05-11 Usb docking station and control method thereof TWI603200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105114559A TWI603200B (en) 2016-05-11 2016-05-11 Usb docking station and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105114559A TWI603200B (en) 2016-05-11 2016-05-11 Usb docking station and control method thereof

Publications (2)

Publication Number Publication Date
TWI603200B true TWI603200B (en) 2017-10-21
TW201740281A TW201740281A (en) 2017-11-16

Family

ID=61010993

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105114559A TWI603200B (en) 2016-05-11 2016-05-11 Usb docking station and control method thereof

Country Status (1)

Country Link
TW (1) TWI603200B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI731295B (en) * 2019-01-24 2021-06-21 宏碁股份有限公司 Display apparatus and method for controlling display apparatus
TWI737173B (en) * 2020-02-13 2021-08-21 東碩資訊股份有限公司 Docking station and control method thereof
US11579653B2 (en) 2020-06-25 2023-02-14 Good Way Technology Co., Ltd. Docking station and control method capable of automatically setting uplink port

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI731295B (en) * 2019-01-24 2021-06-21 宏碁股份有限公司 Display apparatus and method for controlling display apparatus
TWI737173B (en) * 2020-02-13 2021-08-21 東碩資訊股份有限公司 Docking station and control method thereof
US11579653B2 (en) 2020-06-25 2023-02-14 Good Way Technology Co., Ltd. Docking station and control method capable of automatically setting uplink port

Also Published As

Publication number Publication date
TW201740281A (en) 2017-11-16

Similar Documents

Publication Publication Date Title
TWI648635B (en) Universal serial bus hub and operation method thereof
TWI676895B (en) Configuring docks
JP4601330B2 (en) Electronic device and control method thereof, information processing apparatus, and computer program
US9723358B1 (en) USB docking station and control method thereof
JP4309451B2 (en) Information processing device
US20070255885A1 (en) System and method for universal serial bus hub port reversal
JP2008192123A (en) Storage device automatically switching interface
TWI603200B (en) Usb docking station and control method thereof
US20130124879A1 (en) Controlling data reading mode of memory
US20090268743A1 (en) Data transmission bridge device and control chip thereof for transmitting data
US20080126593A1 (en) Expansion module for a USB port and a method thereof
KR20100002943A (en) Usb device and method to recognize usb mode of the same
US20110191616A1 (en) Usb power managing system and method thereof
TWI420317B (en) Two-way connectivity usb control device and operation method therefor
US10136223B1 (en) Control method and control system for audio device
TWI545438B (en) Computer management system and method thereof
CN107426607B (en) USB docking device and control method thereof
US9952998B2 (en) Thunderbolt sharing console and switching method thereof
TWI689819B (en) Audio playback device
JP2005173820A (en) Peripheral device and reconnection program
TWI675317B (en) Switching method and related electronic system
KR20030057250A (en) USB Camera System with Host Function
WO2020226028A1 (en) Electronic device and control method therefor
JP7123655B2 (en) Output device, its control method, and program
KR100907301B1 (en) Wireless mouse system containing a flash memory