TWI712895B - The usb hub with resolution switching and the processing method therefore - Google Patents

The usb hub with resolution switching and the processing method therefore Download PDF

Info

Publication number
TWI712895B
TWI712895B TW108132355A TW108132355A TWI712895B TW I712895 B TWI712895 B TW I712895B TW 108132355 A TW108132355 A TW 108132355A TW 108132355 A TW108132355 A TW 108132355A TW I712895 B TWI712895 B TW I712895B
Authority
TW
Taiwan
Prior art keywords
state
usb hub
transmission channel
control unit
communication interface
Prior art date
Application number
TW108132355A
Other languages
Chinese (zh)
Other versions
TW202111558A (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 TW108132355A priority Critical patent/TWI712895B/en
Application granted granted Critical
Publication of TWI712895B publication Critical patent/TWI712895B/en
Publication of TW202111558A publication Critical patent/TW202111558A/en

Links

Images

Abstract

The USB HUB with resolution switching and the processing method therefore comprises of a first port, a second port, a video port, a switch port, a power unit, a storage unit and control unit. The first port couples to the host and for transports the video and data. The second port couples to the device and for transports the data. The power unit couples to the first port or the extra adapter. The storage unit record to the working flag. If the extra power does not exist, the control unit switch to the first status and setting the working flag to the first status. If the extra power exist, the control unit changes the working flag from the first status to the second status, or changes the working flag from the second status to the first status.

Description

具有解析度切換的USB集線器與其處理方法 USB hub with resolution switching and processing method thereof

一種USB集線器與運作處理方法,特別有關具有解析度切換的USB集線器與其處理方法。 A USB hub and an operation processing method, particularly related to a USB hub with resolution switching and a processing method.

隨著積體電路的快速發展,使得大量資料傳輸的需求也日益增加。特別是通用序列匯流排(Universal Serial Bus,簡稱USB)的相關設備帶動資料儲存、傳輸與轉接的各種需求。現行的USB3.0 gen1與gen2設備的傳輸頻寬可達5Gbit/s與10Gbit/s。 With the rapid development of integrated circuits, the demand for large amounts of data transmission is also increasing. In particular, related equipment of Universal Serial Bus (USB) drives various demands for data storage, transmission, and switching. The transmission bandwidth of the current USB3.0 gen1 and gen2 devices can reach 5Gbit/s and 10Gbit/s.

在高速的傳輸速率下,USB3.0除了可以實現資料的快速傳輸的目的外,更可以完成異質訊號的傳輸。異質訊號指的是透過USB的架構但傳輸相異協議的訊號。舉例來說,USB集線器(hub)上除了具有USB連接口外,也可以設置網路接口、音訊接口或視訊接口。在高速的USB3.0系列下,視訊接口可以傳輸高流量的影音檔案,特別是超高解析度的影片檔案(或遊戲畫面),例如:4K影片或8K影片。而且超高解析影片的顯示頻率更分為30Hz、60Hz或更高頻率。 At a high-speed transmission rate, USB3.0 can not only achieve the purpose of rapid data transmission, but also complete the transmission of heterogeneous signals. Heterogeneous signals refer to signals that transmit different protocols through the USB architecture. For example, in addition to a USB connection port, a USB hub can also be equipped with a network interface, audio interface, or video interface. Under the high-speed USB3.0 series, the video interface can transmit high-traffic audio and video files, especially ultra-high-resolution video files (or game screens), such as 4K videos or 8K videos. And the display frequency of ultra-high-resolution movies is further divided into 30Hz, 60Hz or higher frequencies.

傳統技術的USB集線器在傳輸資料或超高解析影片時會共用所有的頻寬,使得傳輸的過程中資料與影片兩者的傳輸速率會受影響。如果是高解析影片傳輸時更是會使用掉所有的頻寬,造成所有設備的傳輸效能低落。 Traditional USB hubs share all the bandwidth when transferring data or ultra-high-resolution videos, so that the transfer rate of both the data and the video will be affected during the transfer. If it is a high-resolution video transmission, all the bandwidth will be used, resulting in low transmission performance of all devices.

對於習知技術的USB集線器如果要變換傳輸速度,使用者只能重新插拔USB集線器,使得主機端重新分配傳輸通道的數量。但對於使用者而言,使用者無法直接從插拔後的USB集線器中直接觀察到傳輸通道的分配。此外,也有廠商提出可以自動切換裝置及自動切換方法的 前案(TW I615719)。由於先前技術的自動切換的依據是由主機端根據傳輸通道的數量所決定。使用者也無法從USB集線器與周邊裝置的外觀可以直覺的查知傳輸速度的分配狀況,特別是4K影片是以30Hz或60Hz播放的情況。 For the USB hub of the prior art, if the transmission speed is to be changed, the user can only replug and unplug the USB hub, so that the host can reallocate the number of transmission channels. But for the user, the user cannot directly observe the distribution of the transmission channel directly from the plugged USB hub. In addition, some manufacturers have proposed automatic switching devices and automatic switching methods The previous case (TW I615719). Since the basis of the automatic switching in the prior art is determined by the host side according to the number of transmission channels. Users cannot intuitively know the distribution of transmission speed from the appearance of USB hubs and peripheral devices, especially when 4K videos are played at 30Hz or 60Hz.

本發明提供一種具有解析度切換的USB集線器,用於切換高速資料傳輸與高解析度影片的傳輸速度。 The invention provides a USB hub with resolution switching, which is used to switch the transmission speed of high-speed data transmission and high-resolution video.

本發明的具有解析度切換的USB集線器包括:第一通訊接口、第二通訊接口、視訊輸出接口、切換單元、電力輸入單元、存儲單元與控制單元。第一通訊接口連接於主機端並傳輸目標影片與資料訊號,第一通訊接口具有第一傳輸通道、第二傳輸通道與第三傳輸通道;第二通訊接口連接於周邊裝置,第二通訊接口用於傳輸資料訊號,第二通訊接口具有第四傳輸通道與第五傳輸通道;視訊輸出接口用於輸出目標影片至顯示器,視訊輸出接口具有第六傳輸通道與第七傳輸通道;切換單元用於產生切換命令;電力輸入單元電性連接於第一通訊接口,電力輸入單元用於接收外部電力;存儲單元用於記錄當前狀態,當前狀態為第一狀態或第二狀態;控制單元電性連接於第一通訊接口、第二通訊接口、視訊輸出接口、切換單元、電力輸入單元與存儲單元,控制單元於接獲切換命令時決定第一傳輸通道對第四傳輸通道、或第一傳輸通道對第六傳輸通道的連接;控制單元於接獲切換命令時,控制單元判斷有無輸入外部電力,若無外部電力,控制單元切換至第一狀態並將第一狀態記錄為當前狀態;若存在外部電力,控制單元由第一狀態切換為第二狀態,或控制單元由第二狀態切換為第一狀態,控制單元更新當前狀態。 The USB hub with resolution switching of the present invention includes: a first communication interface, a second communication interface, a video output interface, a switching unit, a power input unit, a storage unit and a control unit. The first communication interface is connected to the host and transmits the target video and data signals. The first communication interface has a first transmission channel, a second transmission channel and a third transmission channel; the second communication interface is connected to the peripheral device, and the second communication interface is used for For transmitting data signals, the second communication interface has a fourth transmission channel and a fifth transmission channel; the video output interface is used to output the target video to the display, and the video output interface has a sixth transmission channel and a seventh transmission channel; the switching unit is used to generate Switching command; the power input unit is electrically connected to the first communication interface, the power input unit is used to receive external power; the storage unit is used to record the current state, the current state is the first state or the second state; the control unit is electrically connected to the first state A communication interface, a second communication interface, a video output interface, a switching unit, a power input unit, and a storage unit. The control unit determines the first transmission channel to the fourth transmission channel, or the first transmission channel to the sixth transmission channel when receiving the switching command The connection of the transmission channel; when the control unit receives the switching command, the control unit determines whether there is external power input. If there is no external power, the control unit switches to the first state and records the first state as the current state; if there is external power, it controls The unit switches from the first state to the second state, or the control unit switches from the second state to the first state, and the control unit updates the current state.

本發明另提供一種解析度切換的處理方法,其係包括以下步驟:將USB集線器連接至主機端與顯示器;初始化USB集線器,並載入當前狀態;USB集線器根據當前狀態播放目標影片;接收切換命令後,確認USB集線器有無外部電力供應;若當前狀態為第一狀態且有外部電力供應,USB集線器將當前狀態設定為第二狀態;若當前狀態為第二狀態且有外部電力供應,USB集線器將當前狀態設定為第一狀態;若無外部電 力供應,USB集線器進行初始化。 The present invention also provides a resolution switching processing method, which includes the following steps: connecting the USB hub to the host and the display; initializing the USB hub and loading the current state; the USB hub playing the target movie according to the current state; receiving the switching command Then, confirm whether the USB hub has an external power supply; if the current state is the first state and there is external power supply, the USB hub will set the current state to the second state; if the current state is the second state and there is external power supply, the USB hub will The current state is set to the first state; if there is no external power Power supply, the USB hub is initialized.

本發明的具有解析度切換的USB集線器與其處理方法應用於高速的資料與高解析度的影片傳輸,使用者可以透過切換單元選擇相對應的傳輸速度與影片播放的解析度。藉由本發明的USB集線器另外可以實現不需重新插拔USB集線器就可以變換傳輸速度與影片的解析度。 The USB hub with resolution switching and its processing method of the present invention are applied to high-speed data and high-resolution video transmission. The user can select the corresponding transmission speed and video playback resolution through the switching unit. With the USB hub of the present invention, the transmission speed and the video resolution can be changed without re-plugging and unplugging the USB hub.

有關本發明的特徵與實作,茲配合圖式作最佳實施例詳細說明如下。 With regard to the features and implementation of the present invention, the best embodiments are described in detail below in conjunction with the drawings.

100‧‧‧USB集線器 100‧‧‧USB Hub

110‧‧‧第一通訊接口 110‧‧‧First communication interface

120‧‧‧第二通訊接口 120‧‧‧Second communication interface

130‧‧‧視訊輸出接口 130‧‧‧Video output interface

140‧‧‧切換單元 140‧‧‧Switching unit

150‧‧‧警示單元 150‧‧‧Warning Unit

160‧‧‧電力輸入單元 160‧‧‧Power Input Unit

170‧‧‧存儲單元 170‧‧‧Storage unit

180‧‧‧控制單元 180‧‧‧Control Unit

191‧‧‧第一傳輸通道 191‧‧‧The first transmission channel

192‧‧‧第二傳輸通道 192‧‧‧Second transmission channel

193‧‧‧第三傳輸通道 193‧‧‧Third transmission channel

194‧‧‧第四傳輸通道 194‧‧‧The fourth transmission channel

195‧‧‧第五傳輸通道 195‧‧‧Fifth Transmission Channel

196‧‧‧第六傳輸通道 196‧‧‧The sixth transmission channel

197‧‧‧第七傳輸通道 197‧‧‧The seventh transmission channel

210‧‧‧主機端 210‧‧‧Host

220‧‧‧周邊裝置 220‧‧‧Peripherals

230‧‧‧顯示器 230‧‧‧Display

310‧‧‧資料訊號 310‧‧‧Data signal

320‧‧‧目標影片 320‧‧‧Target movie

330‧‧‧外部電力 330‧‧‧External power

第1圖係為本發明的系統架構示意圖。 Figure 1 is a schematic diagram of the system architecture of the present invention.

第2A圖係為本發明的各傳輸通道示意圖。 Figure 2A is a schematic diagram of each transmission channel of the present invention.

第2B圖係為本發明的第一狀態與各傳輸通道的連接示意圖。 Figure 2B is a schematic diagram of the connection between the first state of the present invention and each transmission channel.

第2C圖係為本發明的第二狀態與各傳輸通道的連接示意圖。 Figure 2C is a schematic diagram of the connection between the second state of the present invention and each transmission channel.

第3A圖係為本發明的運作流程示意圖。 Figure 3A is a schematic diagram of the operation flow of the present invention.

第3B圖係為本發明的狀態切換示意圖。 Figure 3B is a schematic diagram of state switching of the present invention.

請參考第1圖所示,其係為本發明的USB集線器100的架構示意圖。本發明的具有解析度切換的USB集線器100包括:第一通訊接口110、第二通訊接口120、視訊輸出接口130、切換單140元、警示單元150、電力輸入單元160、存儲單元170與控制單元180。控制單元180電性連接於第一通訊接口110、第二通訊接口120、視訊輸出接口130、切換單140元、警示單元150、電力輸入單元160與存儲單元170。 Please refer to FIG. 1, which is a schematic diagram of the structure of the USB hub 100 of the present invention. The USB hub 100 with resolution switching of the present invention includes: a first communication interface 110, a second communication interface 120, a video output interface 130, a switching unit 140, a warning unit 150, a power input unit 160, a storage unit 170, and a control unit 180. The control unit 180 is electrically connected to the first communication interface 110, the second communication interface 120, the video output interface 130, the switching unit 140, the warning unit 150, the power input unit 160 and the storage unit 170.

第一通訊接口110電性連接於主機端210(host),第二通訊接口120可選擇性的連接周邊裝置220。主機端210除了傳輸資料訊號310至周邊裝置220外,也可以傳輸目標影片320至顯示器230。在本發明中為區別資料與影片的不同,係將資料與影片區分為兩類訊號,分別為資料訊號與目標影片。第一通訊接口110與第二通訊接口120係為第三代通用序列匯流排(Universal Serial Bus,USB3.X)的系列接口。前述接口型態的 種類可以是USB A型、B型或C型接頭。視訊輸出接口130電性連接顯示器230。視訊輸出接口130的種類可以是高畫質多媒體介面(High Definition Multimedia Interface,HDMI)、DisplayPort(簡稱DP)接頭或USB的C型型態(USB Type-C)。 The first communication interface 110 is electrically connected to a host 210 (host), and the second communication interface 120 can be selectively connected to a peripheral device 220. In addition to transmitting the data signal 310 to the peripheral device 220, the host terminal 210 may also transmit the target video 320 to the display 230. In the present invention, in order to distinguish the difference between the data and the video, the data and the video are divided into two types of signals, namely the data signal and the target video. The first communication interface 110 and the second communication interface 120 are serial interfaces of the third-generation universal serial bus (USB3.X). Of the aforementioned interface type The type can be a USB type A, B or C connector. The video output interface 130 is electrically connected to the display 230. The type of the video output interface 130 may be a high-definition multimedia interface (HDMI), a DisplayPort (DP) connector, or a USB Type-C (USB Type-C).

本發明將所述的傳輸狀態分別定義為第一狀態與第二狀態。每一種的運作狀態分別對應不同的傳輸通道的配置方式,以使第一通訊接口110與第二通訊接口120可以得到不同的傳輸通道的組合。在本發明中主機端210的資料傳輸速率是取決於USB對DP傳輸協議。現行的DP協議分為1.2版與1.4版。USB協議種類分別為USB2.0與USB3.X。在所述的各種USB協議中需要配合不同的傳輸通道的組合,將於後文詳述。 The present invention defines the transmission state as the first state and the second state respectively. Each operating state corresponds to a different configuration of the transmission channel, so that the first communication interface 110 and the second communication interface 120 can obtain different combinations of transmission channels. In the present invention, the data transmission rate of the host 210 depends on the USB to DP transmission protocol. The current DP protocol is divided into version 1.2 and version 1.4. The USB protocol types are USB2.0 and USB3.X respectively. The various USB protocols described need to cooperate with different combinations of transmission channels, which will be described in detail later.

本發明的USB集線器100可以在不同的傳輸狀態下提供相應的資料傳輸速率與各種解析度影片的幀率(Frame per Second,FPS)。前述的幀率還可以以赫茲(Hz)作為表示。以下為能方便表示影片解析度與幀率,因此將以前綴詞「XX解析度」影片加上後綴詞「(XX Hz)」作為區分。特別需要說明的是後綴詞除了代表是影片幀率外,也同時表示目標影片320的流量界限。 The USB hub 100 of the present invention can provide corresponding data transmission rates and frame rates (Frame per Second, FPS) of movies of various resolutions in different transmission states. The aforementioned frame rate can also be expressed in Hertz (Hz). The following is a convenient way to express the video resolution and frame rate, so the prefix "XX resolution" video plus the suffix "(XX Hz)" will be used as a distinction. In particular, it should be noted that in addition to representing the frame rate of the movie, the suffix also represents the traffic limit of the target movie 320.

目標影片320的解析度與幀率在本發明中分別定義為高流量影片與中等流量影片。而高流量影片與中等流量影片的區分是根據DP協議與USB協議所決定。以USB3.1Gen2與DP1.4協議為例,高流量影片可以包含4K影片(60Hz)與8K影片(30Hz),中等流量影片可含括4K影片(30Hz)、1080p影片或720p影片。在前文中大於後綴幀率的影片也將會被視為高流量影片。舉例來說,4K影片(120Hz)的後綴幀率大於4K影片(60Hz),因此也歸於高流量影片之中。 The resolution and frame rate of the target movie 320 are respectively defined as high-flow movies and medium-flow movies in the present invention. The distinction between high-flow movies and medium-flow movies is based on the DP protocol and the USB protocol. Taking USB3.1Gen2 and DP1.4 protocol as an example, high-traffic videos can include 4K videos (60Hz) and 8K videos (30Hz), and medium-traffic videos can include 4K videos (30Hz), 1080p videos or 720p videos. In the previous article, movies with a frame rate greater than the suffix will also be considered high-traffic movies. For example, the suffix frame rate of 4K video (120Hz) is greater than that of 4K video (60Hz), so it is also included in high-traffic videos.

反之,小於後綴幀率的影片則會被視為中等流量影片的範疇之中。若是USB3.1Gen2與DP1.2協議的環境下,則高流量影片則為4K影片(30Hz),中等流量影片可以是1080p(60Hz)影片或720p影片。所述的4K影片係為3840×2160或4096×2160像素影片、串流影片或遊戲畫面。8K影片係為7680*4320像素影片、串流影片或遊戲畫面。 Conversely, videos with a frame rate less than the suffix will be regarded as medium traffic videos. If it is under the environment of USB3.1Gen2 and DP1.2 protocol, the high-traffic video is 4K video (30Hz), and the medium-traffic video can be 1080p (60Hz) video or 720p video. The 4K video is a 3840×2160 or 4096×2160 pixel video, streaming video or game screen. 8K video is 7680*4320 pixel video, streaming video or game screen.

在本發明中,第一通訊接口110與第二通訊接口120各自 具有傳輸通道,而且對應第一狀態與第二狀態下各傳輸通道也有各自的連接方式。為清楚說明各通訊接口的傳輸通道,因此對第一通訊接口110與第二通訊接口120的傳輸通道分別定義如下。第一通訊接口110具有第一傳輸通道191、第二傳輸通道192與第三傳輸通道193。第二通訊接口120具有第四傳輸通道194與第五傳輸通道195。視訊輸出接口130具有第六傳輸通道196與第七傳輸通道197,如第2A圖所示。在第2A圖中黑色實線的雙向箭頭為傳輸通道,黑色虛線框為被傳送的檔案,例如:目標影片320或資料訊號310。其中,第一傳輸通道191、第二傳輸通道192、第四傳輸通道194、第六傳輸通道196與第七傳輸通道197由TX±與RX±的差動訊號線所構成。第三傳輸通道193與第五傳輸通道195由USB2.0的D+與D-訊號線所構成。 In the present invention, the first communication interface 110 and the second communication interface 120 are each It has a transmission channel, and each transmission channel has its own connection mode corresponding to the first state and the second state. In order to clearly describe the transmission channels of each communication interface, the transmission channels of the first communication interface 110 and the second communication interface 120 are respectively defined as follows. The first communication interface 110 has a first transmission channel 191, a second transmission channel 192 and a third transmission channel 193. The second communication interface 120 has a fourth transmission channel 194 and a fifth transmission channel 195. The video output interface 130 has a sixth transmission channel 196 and a seventh transmission channel 197, as shown in FIG. 2A. In Figure 2A, the solid black bidirectional arrow is the transmission channel, and the black dashed frame is the file to be transmitted, such as the target video 320 or the data signal 310. Among them, the first transmission channel 191, the second transmission channel 192, the fourth transmission channel 194, the sixth transmission channel 196, and the seventh transmission channel 197 are formed by the differential signal lines of TX± and RX±. The third transmission channel 193 and the fifth transmission channel 195 are formed by USB2.0 D+ and D- signal lines.

在本發明中,第一傳輸通道191對第四傳輸通道194與第六傳輸通道196的連通係由切換單元140與控制單元180所控制。換言之,第一傳輸通道191連接第四傳輸通道194或第一傳輸通道191連接至第六傳輸通道196是由控制單元180根據當前的運作狀態所決定。使用者可以觸發切換單元140,藉以驅動控制單元180切換傳輸的路徑。 In the present invention, the communication of the first transmission channel 191 to the fourth transmission channel 194 and the sixth transmission channel 196 is controlled by the switching unit 140 and the control unit 180. In other words, the connection of the first transmission channel 191 to the fourth transmission channel 194 or the connection of the first transmission channel 191 to the sixth transmission channel 196 is determined by the control unit 180 according to the current operating state. The user can trigger the switching unit 140 to drive the control unit 180 to switch the transmission path.

當USB集線器100處於第一狀態時,控制單元180將會斷開第一傳輸通道191與第六傳輸通道196的連接。第一傳輸通道191連通第四傳輸通道194,第三傳輸通道193連通於第五傳輸通道195,如第2B圖所示。當USB集線器100處於第二狀態時,控制單元180將會連接第一傳輸通道191與第六傳輸通道196。第二傳輸通道192連通第七傳輸通道197,第三傳輸通道193連通於第五傳輸通道195,如第2C圖所示。在第2B圖與第2C圖中係以黑色粗線表示有連通的傳輸通道。 When the USB hub 100 is in the first state, the control unit 180 will disconnect the first transmission channel 191 and the sixth transmission channel 196. The first transmission channel 191 is connected to the fourth transmission channel 194, and the third transmission channel 193 is connected to the fifth transmission channel 195, as shown in FIG. 2B. When the USB hub 100 is in the second state, the control unit 180 will connect the first transmission channel 191 and the sixth transmission channel 196. The second transmission channel 192 is connected to the seventh transmission channel 197, and the third transmission channel 193 is connected to the fifth transmission channel 195, as shown in FIG. 2C. In Figures 2B and 2C, the thick black lines indicate the connected transmission channels.

存儲單元170用於記錄USB集線器100的當前狀態。存儲單元170可以是可編程唯寫記憶體(Programmable read-only memory)或快閃記憶體(Flash memory)等。在本發明中當前狀態係為第一狀態或第二狀態之任一。切換單元140元電性連接於控制單元180。切換單140元觸發時會產生切換命令,切換命令使控制單元180除了改變當前狀態的內容並調整傳輸通道的連接方式。 The storage unit 170 is used to record the current state of the USB hub 100. The storage unit 170 may be a programmable read-only memory (Programmable read-only memory) or a flash memory (Flash memory). In the present invention, the current state is either the first state or the second state. The switching unit 140 is electrically connected to the control unit 180. A switching command will be generated when the switching unit 140 is triggered. The switching command enables the control unit 180 to change the content of the current state and adjust the connection mode of the transmission channel.

控制單元180除了切換各傳輸通道的連接外,也同時會將切換命令轉發至主機端210以令主機端210主動變更目標影片320的解析度與影格率(或稱赫茲)。切換單140元可以是外設按鈕或指撥開關。第一狀態係為主機端210輸出中等流量影片與USB3.X系列的傳輸架構。第二狀態係為主機端210輸出高流量影片與USB2.0的傳輸架構。 In addition to switching the connection of each transmission channel, the control unit 180 also forwards the switching command to the host side 210 so that the host side 210 actively changes the resolution and frame rate (or hertz) of the target video 320. The switch unit 140 yuan can be a peripheral button or a DIP switch. The first state is that the host side 210 outputs a medium-flow video and the transmission structure of the USB3.X series. The second state is the transmission structure of the host 210 outputting high-flow videos and USB2.0.

使用者觸發切換單元140時,控制單元180會根據電力輸入單元160的輸入電力用於決定當前狀態的內容。外部電力330除了可以是變壓器供電外,也可以由主機端210所提供。若是主機端210所提供,則外部電力330是基於通用序列匯流排的電力供應(USB Power Delivery)協定。 When the user triggers the switching unit 140, the control unit 180 uses the input power of the power input unit 160 to determine the content of the current state. In addition to being powered by a transformer, the external power 330 may also be provided by the host terminal 210. If it is provided by the host 210, the external power 330 is based on the USB Power Delivery protocol of the universal serial bus.

當控制單元180切換當前狀態時,控制單元180也會連動警示單元150,藉以提示使用者USB集線器100的當前狀態。警示單元150可以是LED發光元件或液晶顯示屏幕。舉例來說,當控制單元180以第一狀態為當前狀態時,警示單元150可以是紅色LED發光。當控制單元180以第二狀態為當前狀態時,警示單元150可以是藍色LED發光。當然在其他的應用環境中警示單元150也可以利用不同顏色光表示各自的狀態。 When the control unit 180 switches the current state, the control unit 180 will also link with the warning unit 150 to remind the user of the current state of the USB hub 100. The warning unit 150 may be an LED light emitting element or a liquid crystal display screen. For example, when the control unit 180 is in the current state in the first state, the warning unit 150 may emit a red LED. When the control unit 180 is in the second state as the current state, the warning unit 150 may emit blue LEDs. Of course, in other application environments, the warning unit 150 can also use lights of different colors to indicate their respective states.

為進一步說明本發明的USB集線器100的運作狀態的切換,請配合第3A圖與第3B圖,其係為本發明的運作流程示意圖與狀態切換示意圖。本發明的USB集線器100之解析度切換的處理方法包括以下步驟:步驟S410:將USB集線器連接至主機端與顯示器;步驟S420:確認顯示器有無EDID;步驟S421:若顯示器無EDID,則USB集線器將當前狀態設定為第一狀態;步驟S430:若顯示器有EDID,初始化USB集線器;步驟S440:USB集線器載入當前狀態;步驟S450:接收切換命令後,確認USB集線器有無外部電力供應;步驟S461:若當前狀態為第一狀態且有外部電力供應,USB集線器將當前狀態設定為第二狀態;步驟S462:若當前狀態為第二狀態且有外部電力供應,USB集線器 將當前狀態設定為第一狀態;以及步驟S463:若無外部電力供應,USB集線器進行步驟S440的初始化。 In order to further illustrate the switching of the operating state of the USB hub 100 of the present invention, please cooperate with FIG. 3A and FIG. 3B, which are schematic diagrams of the operation flow and state switching of the present invention. The method for processing the resolution switching of the USB hub 100 of the present invention includes the following steps: Step S410: Connect the USB hub to the host and the display; Step S420: Confirm whether the display has EDID; Step S421: If the display does not have EDID, the USB hub will The current state is set to the first state; Step S430: If the display has EDID, initialize the USB hub; Step S440: The USB hub loads the current state; Step S450: After receiving the switching command, confirm whether the USB hub has external power supply; Step S461: If The current state is the first state and there is external power supply, the USB hub sets the current state to the second state; step S462: if the current state is the second state and there is external power supply, the USB hub Set the current state to the first state; and step S463: if there is no external power supply, the USB hub performs the initialization of step S440.

首先,將USB集線器100分別連接至主機端210與顯示器230。於此同時,USB集線器100可以選擇性的連接周邊裝置220。當USB集線器100連接主機端210時,控制單元180進入初始化的上電階段(power up),如第3B圖中的初始化的區塊。在初始上電時,USB集線器100僅獲取主機端210的電力。控制單元180會從存儲單元170中取得當前狀態。控制單元180向主機端210發送當前狀態,以使主機端210根據當前狀態選擇對應的目標影片320格式。 First, connect the USB hub 100 to the host terminal 210 and the display 230 respectively. At the same time, the USB hub 100 can selectively connect to the peripheral device 220. When the USB hub 100 is connected to the host terminal 210, the control unit 180 enters the power up phase of initialization, such as the initialized block in Figure 3B. When initially powered on, the USB hub 100 only obtains power from the host side 210. The control unit 180 obtains the current status from the storage unit 170. The control unit 180 sends the current status to the host terminal 210, so that the host terminal 210 selects the corresponding target movie 320 format according to the current status.

接著,控制單元180會向顯示器230要求取得延伸顯示能力識別資訊(Extended display identification data,簡稱EDID),藉以辨識顯示器230是否支援4K影像(或8K影像)的播放。若顯示器230無EDID,則控制單元180會直接以第一狀態作為當前狀態。換言之,視訊輸出接口130會傳輸中等流量影片的目標影片320至顯示器230,而第二通訊接口120則是以USB3.0的速度傳輸資料至周邊裝置220。 Then, the control unit 180 requests the display 230 to obtain extended display identification data (EDID), so as to identify whether the display 230 supports 4K video (or 8K video) playback. If the display 230 has no EDID, the control unit 180 will directly use the first state as the current state. In other words, the video output interface 130 transmits the target video 320 of the medium-flow video to the display 230, and the second communication interface 120 transmits data to the peripheral device 220 at the speed of USB3.0.

若顯示器230具有EDID時,控制單元180將會讀取存儲單元170中的當前狀態並以當前狀態傳輸資料與影片。若是當前狀態為第一狀態,控制單元180透過第一通訊接口110向主機端210發送當前狀態(意為第一狀態),以使主機端210發送中等流量影片的目標影片320至視訊輸出接口130。同理,若是當前狀態為第二狀態時,則控制單元180會向主機端210發送當前狀態,以使主機端210傳輸相符高流量影片的目標影片320。而第二通訊接口120則是以USB2.0的傳輸速度。 If the display 230 has an EDID, the control unit 180 will read the current status in the storage unit 170 and transmit the data and movies in the current status. If the current state is the first state, the control unit 180 sends the current state (meaning the first state) to the host side 210 through the first communication interface 110, so that the host side 210 sends the target movie 320 of the medium traffic movie to the video output interface 130 . Similarly, if the current state is the second state, the control unit 180 will send the current state to the host terminal 210 so that the host terminal 210 transmits the target movie 320 that matches the high-traffic movie. The second communication interface 120 uses the transmission speed of USB 2.0.

接著,當使用者觸發切換單140元時,則控制單元180與主機端210會接獲切換命令。假設當前狀態為第一狀態時,控制單元180接獲切換命令後會隨即判斷電力輸入單元160有無外部電力330的輸入。若是電力輸入單元160接收外部電力330,則控制單元180將第一狀態切換為第二狀態,並且將第二狀態設定為當前狀態。控制單元180也會將當前狀態發送給主機端210。於此同時,第二傳輸通道192與第五傳輸通道195係為斷路,使得第二通訊接口120僅能以USB2.0的速度傳輸資料,藉 以確保目標影片320播放時的頻寬。主機端210將會發送高流量影片的目標影片320至視訊輸出接口130。若是電力輸入單元160無外部電力330輸入,則控制單元180會進行步驟S430的初始上電的處理。控制單元180根據新的當前狀態(係為第二狀態),用於播放目標影像320。 Then, when the user triggers the switching unit 140 yuan, the control unit 180 and the host terminal 210 will receive the switching command. Assuming that the current state is the first state, the control unit 180 will immediately determine whether the power input unit 160 has input of the external power 330 after receiving the switching command. If the power input unit 160 receives the external power 330, the control unit 180 switches the first state to the second state, and sets the second state as the current state. The control unit 180 also sends the current status to the host terminal 210. At the same time, the second transmission channel 192 and the fifth transmission channel 195 are disconnected, so that the second communication interface 120 can only transmit data at the speed of USB 2.0. To ensure the bandwidth of the target movie 320 when playing. The host 210 will send the target movie 320 of the high-traffic movie to the video output interface 130. If the power input unit 160 has no external power 330 input, the control unit 180 will perform the initial power-on process of step S430. The control unit 180 is used to play the target video 320 according to the new current state (the second state).

同理,若當前狀態為第二狀態時,使用者觸發切換單140元時,控制單元180會將第二狀態切換為第一狀態。控制單元180將第一狀態定義為新的當前狀態。控制單元180在判斷有無外部電力330的輸入。若無外部電力330輸入,則控制單元180會進行步驟S430的初始上電的處理。反之,則控制單元180會變更第二傳通道與第五傳輸通道195的連接,控制單元180也會將新的當前狀態發送至主機端210。 Similarly, if the current state is the second state and the user triggers the switching unit for 140 yuan, the control unit 180 will switch the second state to the first state. The control unit 180 defines the first state as a new current state. The control unit 180 is determining whether there is an input of external power 330. If there is no external power 330 input, the control unit 180 will perform the initial power-on process of step S430. Otherwise, the control unit 180 will change the connection between the second transmission channel and the fifth transmission channel 195, and the control unit 180 will also send the new current status to the host terminal 210.

本發明的具有解析度切換的USB集線器100與其處理方法應用於高速的資料與高解析度的影片傳輸,使用者可以透過切換單140元選擇相對應的傳輸速度與影片播放的解析度。藉由本發明的USB集線器100另外可以實現不需重新插拔USB集線器100就可以變換傳輸速度與影片的解析度,使用者可以直覺的查知USB集線器100的運作狀態。 The USB hub 100 with resolution switching and its processing method of the present invention are applied to high-speed data and high-resolution video transmission. The user can select the corresponding transmission speed and video playback resolution through the switch unit 140. With the USB hub 100 of the present invention, the transmission speed and the resolution of the video can be changed without re-plugging the USB hub 100, and the user can intuitively check the operating status of the USB hub 100.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 Although the present invention is disclosed in the foregoing preferred embodiments as above, it is not intended to limit the present invention. Anyone who is familiar with similar art can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of patent protection for inventions shall be determined by the scope of patent applications attached to this specification.

100‧‧‧USB集線器 100‧‧‧USB Hub

110‧‧‧第一通訊接口 110‧‧‧First communication interface

120‧‧‧第二通訊接口 120‧‧‧Second communication interface

130‧‧‧視訊輸出接口 130‧‧‧Video output interface

140‧‧‧切換單元 140‧‧‧Switching unit

150‧‧‧警示單元 150‧‧‧Warning Unit

160‧‧‧電力輸入單元 160‧‧‧Power Input Unit

170‧‧‧存儲單元 170‧‧‧Storage unit

180‧‧‧控制單元 180‧‧‧Control Unit

210‧‧‧主機端 210‧‧‧Host

220‧‧‧周邊裝置 220‧‧‧Peripherals

230‧‧‧顯示器 230‧‧‧Display

310‧‧‧資料訊號 310‧‧‧Data signal

320‧‧‧目標影片 320‧‧‧Target movie

330‧‧‧外部電力 330‧‧‧External power

Claims (10)

一種具有解析度切換的USB集線器,其係用於切換高速資料傳輸與高解析度影片的傳輸,該具有解析度切換的USB集線器包括:一第一通訊接口,連接於一主機端並傳輸一目標影片與一資料訊號,該第一通訊接口具有一第一傳輸通道、一第二傳輸通道與一第三傳輸通道;一第二通訊接口,連接於一周邊裝置,該第二通訊接口用於傳輸該資料訊號,該第二通訊接口具有一第四傳輸通道與一第五傳輸通道;一視訊輸出接口,用於輸出該目標影片至一顯示器,該視訊輸出接口具有一第六傳輸通道與一第七傳輸通道;一切換單元,用於產生一切換命令;一電力輸入單元,電性連接於該第一通訊接口與該第二通訊接口,該電力輸入單元用於接收一外部電力;一存儲單元,用於記錄一當前狀態,該當前狀態為一第一狀態或一第二狀態;一控制單元,電性連接於該第一通訊接口、該第二通訊接口、該視訊輸出接口、該切換單元、該電力輸入單元與該存儲單元,該控制單元於接獲該切換命令時決定該第一傳輸通道對該第四傳輸通道、或該第一傳輸通道對該第六傳輸通道的連接;其中,該控制單元於接獲該切換命令時,該控制單元判斷有無輸入該外部電力;若無該外部電力,該控制單元切換至該第一狀態並將該第一狀態記錄為該當前狀態;若存在該外部電力,該控制單元由該第一狀態切換為該第二狀態,或該控制單元由該第二狀態切換為該第一狀態,該控制單元更新該當前狀態。 A USB hub with resolution switching is used to switch high-speed data transmission and high-resolution video transmission. The USB hub with resolution switching includes: a first communication interface connected to a host terminal and transmits a target Video and a data signal, the first communication interface has a first transmission channel, a second transmission channel and a third transmission channel; a second communication interface connected to a peripheral device, the second communication interface for transmission For the data signal, the second communication interface has a fourth transmission channel and a fifth transmission channel; a video output interface for outputting the target video to a display, the video output interface has a sixth transmission channel and a first Seven transmission channels; a switching unit for generating a switching command; a power input unit electrically connected to the first communication interface and the second communication interface, the power input unit for receiving an external power; a storage unit , For recording a current state, the current state is a first state or a second state; a control unit, electrically connected to the first communication interface, the second communication interface, the video output interface, the switching unit , The power input unit and the storage unit, the control unit determines the connection of the first transmission channel to the fourth transmission channel, or the first transmission channel to the sixth transmission channel when receiving the switching command; wherein, When the control unit receives the switching command, the control unit determines whether the external power is input; if there is no external power, the control unit switches to the first state and records the first state as the current state; if it exists For the external power, the control unit switches from the first state to the second state, or the control unit switches from the second state to the first state, and the control unit updates the current state. 如請求項1所述之具有解析度切換的USB集線器,其中該第一傳輸通道、該第二傳輸通道、該第四傳輸通道、該第六傳輸通道與該第七傳輸通道由TX±與RX±的差動訊號線所構成,該第三傳輸通道與該第五傳輸通道由USB2.0的D+與D-訊號線所構成。 The USB hub with resolution switching according to claim 1, wherein the first transmission channel, the second transmission channel, the fourth transmission channel, the sixth transmission channel and the seventh transmission channel are divided by TX± and RX The third transmission channel and the fifth transmission channel are composed of USB2.0 D+ and D- signal lines. 如請求項1所述之具有解析度切換的USB集線器,其中該第一通訊接口與該第二通訊接口的種類為第三代通用序列匯流排,該視訊輸出接 口的種類為高畫質多媒體介面(High Definition Multimedia Interface,HDMI)、DisplayPort或USB C型接頭。 The USB hub with resolution switching as described in claim 1, wherein the type of the first communication interface and the second communication interface is a third-generation universal serial bus, and the video output interface The types of ports are High Definition Multimedia Interface (HDMI), DisplayPort or USB Type-C connector. 如請求項1所述之具有解析度切換的USB集線器,其中在該第一狀態時,該主機端輸出一高流量影片與USB3版協議,在該第二狀態時,該主機端輸出一中等流量影片與USB2.0版協議。 The USB hub with resolution switching as described in claim 1, wherein in the first state, the host side outputs a high-traffic video and USB3 protocol, and in the second state, the host side outputs a medium-traffic The video is in agreement with the USB2.0 version. 如請求項4所述之具有解析度切換的USB集線器,其中該顯示器連接於該視訊輸出接口,該控制單元查驗該顯示器是否具有一延伸顯示能力識別資訊(Extended display identification data,EDID)。 The USB hub with resolution switching as described in claim 4, wherein the display is connected to the video output interface, and the control unit checks whether the display has an extended display identification data (EDID). 如請求項5所述之具有解析度切換的USB集線器,其中若該延伸顯示能力識別資訊不存在時,該控制單元以該第一狀態設定為運作狀態,若該延伸顯示能力識別資訊存在時,該控制單元載入運作狀態。 The USB hub with resolution switching as described in claim 5, wherein if the extended display capability identification information does not exist, the control unit is set to the operating state in the first state, and if the extended display capability identification information exists, The control unit loads the operating state. 如請求項1所述之具有解析度切換的USB集線器,其中該外部電力來自於該主機端,或該電力輸入單元所連接的一變壓器。 The USB hub with resolution switching as described in claim 1, wherein the external power comes from the host side or a transformer connected to the power input unit. 一種解析度切換的處理方法,其係用於切換高速資料傳輸與高解析度影片的傳輸,該解析度切換的處理方法包括以下步驟:將一USB集線器連接至一主機端與一顯示器,用以傳輸該主機端的一目標影片至該顯示器;初始化該USB集線器;該USB集線器載入一當前狀態;該USB集線器根據該當前狀態播放該目標影片;接收一切換命令後,確認該USB集線器有無一外部電力供應;若該當前狀態為一第一狀態且有該外部電力供應,該USB集線器將該當前狀態設定為一第二狀態;若該當前狀態為該第二狀態且有該外部電力供應,該USB集線器將該當前狀態設定為該第一狀態;以及若無該外部電力供應,該USB集線器進行初始化。 A processing method of resolution switching, which is used to switch high-speed data transmission and high-resolution video transmission. The processing method of resolution switching includes the following steps: connecting a USB hub to a host and a display for Transmit a target movie from the host to the display; initialize the USB hub; load the USB hub into a current state; the USB hub plays the target movie according to the current state; after receiving a switching command, confirm whether the USB hub has an external Power supply; if the current state is a first state and the external power supply is available, the USB hub sets the current state to a second state; if the current state is the second state and the external power supply is available, the USB hub The USB hub sets the current state to the first state; and if there is no external power supply, the USB hub initializes. 如請求項8所述之解析度切換的處理方法,其中在初始化該USB集線器後包括:由該USB集線器判斷該顯示器的一延伸顯示能力識別資訊;若該延伸顯示能力識別資訊不存在,該USB集線器將該第一狀態 設定為該當前狀態;該USB集線器根據該當前狀態輸出該目標影片至該顯示器;以及若該延伸顯示能力識別資訊存在,該USB集線器根據該當前狀態輸出該目標影片至該顯示器。 The processing method of resolution switching according to claim 8, wherein after the USB hub is initialized, it includes: determining by the USB hub an extended display capability identification information of the display; if the extended display capability identification information does not exist, the USB The hub sets the first state Set to the current state; the USB hub outputs the target movie to the display according to the current state; and if the extended display capability identification information exists, the USB hub outputs the target movie to the display according to the current state. 如請求項8所述之解析度切換的處理方法,其中在初始化該USB集線器後包括:該USB集線器根據該當前狀態播放該目標影片。 The processing method for resolution switching as described in claim 8, wherein after the USB hub is initialized, it includes: the USB hub plays the target movie according to the current state.
TW108132355A 2019-09-05 2019-09-05 The usb hub with resolution switching and the processing method therefore TWI712895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108132355A TWI712895B (en) 2019-09-05 2019-09-05 The usb hub with resolution switching and the processing method therefore

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108132355A TWI712895B (en) 2019-09-05 2019-09-05 The usb hub with resolution switching and the processing method therefore

Publications (2)

Publication Number Publication Date
TWI712895B true TWI712895B (en) 2020-12-11
TW202111558A TW202111558A (en) 2021-03-16

Family

ID=74669936

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108132355A TWI712895B (en) 2019-09-05 2019-09-05 The usb hub with resolution switching and the processing method therefore

Country Status (1)

Country Link
TW (1) TWI712895B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160378704A1 (en) * 2015-06-26 2016-12-29 Intel Corporation Dynamically configure connection modes on a system based on host device capabilities
TW201832091A (en) * 2017-02-23 2018-09-01 宏正自動科技股份有限公司 Automatic switching apparatus and automatic switching method
CN208227181U (en) * 2018-05-24 2018-12-11 东莞铭基电子科技集团有限公司 Video data converter and USB TYPE-C video data converter
US10162779B2 (en) * 2015-05-11 2018-12-25 Dell Products L.P. Increasing data throughput of a universal serial bus (USB) type-C port
US10216683B2 (en) * 2015-11-13 2019-02-26 Mstar Semiconductor, Inc. Multimedia communication apparatus and control method for multimedia data transmission over standard cable
US10331579B2 (en) * 2016-11-22 2019-06-25 Qualcomm Incorporated Universal serial bus (USB) system supporting display alternate mode functionality on a USB type-C adapter
TWM583078U (en) * 2019-02-14 2019-09-01 三泰科技股份有限公司 Resource switching system of USB hub

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10162779B2 (en) * 2015-05-11 2018-12-25 Dell Products L.P. Increasing data throughput of a universal serial bus (USB) type-C port
US20160378704A1 (en) * 2015-06-26 2016-12-29 Intel Corporation Dynamically configure connection modes on a system based on host device capabilities
US10216683B2 (en) * 2015-11-13 2019-02-26 Mstar Semiconductor, Inc. Multimedia communication apparatus and control method for multimedia data transmission over standard cable
US10331579B2 (en) * 2016-11-22 2019-06-25 Qualcomm Incorporated Universal serial bus (USB) system supporting display alternate mode functionality on a USB type-C adapter
TW201832091A (en) * 2017-02-23 2018-09-01 宏正自動科技股份有限公司 Automatic switching apparatus and automatic switching method
CN208227181U (en) * 2018-05-24 2018-12-11 东莞铭基电子科技集团有限公司 Video data converter and USB TYPE-C video data converter
TWM583078U (en) * 2019-02-14 2019-09-01 三泰科技股份有限公司 Resource switching system of USB hub

Also Published As

Publication number Publication date
TW202111558A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US11675406B2 (en) Packet-based digital display interface
EP3657778B1 (en) Terminal device and control method therefor
US9858232B2 (en) System and method for providing PCIE over displayport
US7937501B2 (en) Displayport CE system control functionality
US7835382B2 (en) High definition and low power partial functionality communication link
US7835289B2 (en) Methods for managing a multi data type communication link
US8395606B2 (en) USB image transmission system and device
JP6684802B2 (en) Virtualized display output port configuration
TW201717609A (en) Multimedia communication apparatus and control method for audio and video transmission over standard cable
US8909815B2 (en) Devices and methods for multiple data streams over USB 2.0
US10204067B2 (en) Data transfer device of display equipment and data transfer method
US20080304433A1 (en) Methods and devices for daisy chain ce device power save modes
TWI712895B (en) The usb hub with resolution switching and the processing method therefore
TWM592993U (en) USB hub with resolution switching
CN112463681B (en) USB hub with resolution switching and processing method thereof
US11792361B2 (en) Redriver capable of switching between linear and limited modes
TWM608896U (en) Multimedia relay device
KR20220165395A (en) Method for controlling hdmi and source device and sink device