201246152 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種控制方法,特別是指一種顯示裝 置的控制方法。 【先前技術】 參閱圖1,現有網路多媒體顯示裝置9〇〇通常會配置有 多個傳輸介面(如USB,圖未示),可與一第一週邊裝置(如 滑鼠或鍵盤等)910耦接,以提供使用者透過第一週邊裝置 910控制顯示裝置900執行上網或播放多媒體等功能,但有 些時候,使用者也會將外接主機(如個人電腦)92〇連接顯示 裝置900使用,而外接主機92〇通常也會具備有滑鼠或鍵 盤等第二週邊裝置930,因此在這種連接二組週邊裝置的情 況下,顯示裝置900只會允許其中一組週邊裝置運作,即 第二週邊裝置920,使得第一週邊裝置91〇將沒有作用而處 於閒置狀態,如此的設計並不人性化。 【發明内容】 因此,本發明之目的,即在提供一種可以解決現有顯 示裝置在連接二組週邊裝置時只有其中一組會運作之問題 的顯示裝置。 於是,本發明顯示裝置,包含:一視訊輸入介面、一 第一傳輸介面、一第二傳輸介面、一切換模組、一處理模 組及一控制模組。 視訊輸入介面用以供一外接主機耦接,並接收一由該 外接主機發送的影像訊號;第一傳輸介面用以供外接主機 201246152 耦接;第二傳輸介面用以供一週邊裝置耦接;切換模組耦 接於第一傳輸介面及第二傳輸介面;處理模組耦接於切換 模組;控制模組耦接於切換模組及視訊輸入介面。控制模 組偵測視訊輸入介面是否接收到影像訊號,若是,則控制 切換模組將第一傳輸介面與第二傳輸介面耦接,使週邊裝 置可與外接主機通訊,使得使用者可以透過週邊裝置來控 制外接主機執行相對應的動作,例如:滑鼠游標的移動、 鍵盤的輸入、執行程式等;若否,則控制切換模組將第二 傳輸介面與處理模組耦接,使處理模組配合週邊裝置的押 制而執行對應的動作,例如:上網或播放多媒體等。如 此,不管顯示裝置是否耦接於外接主機,皆可透過同一組 週邊裝置來控制,在使用上將更為方便及人性化。 此外,顯示裝置還包含另一第二傳輸介面,其提供與 另一週邊裝置耦接,且還包含一耦接於該等第二傳輸介面 與切換模組之間的集線器。 外接主機包括一視訊訊號線及一資料傳輸線,視訊輪 入介面係與視訊訊號線電連接而接收影像訊號,第一傳輪 介面係與資料傳輸線電連接而使週邊裝置與外接主機通 訊。 另外,本發明之另一目的,還提供一種可控制上述顯 示裝置運作的控制方法。 本發明顯示裝置的控制方法,係於一顯示裝置中執 行,且顯示裝置耦接於一週邊裝置,本控制方法包含以 步驟:201246152 VI. Description of the Invention: [Technical Field] The present invention relates to a control method, and more particularly to a control method of a display device. [Prior Art] Referring to FIG. 1, the existing network multimedia display device 9 is usually configured with a plurality of transmission interfaces (such as USB, not shown), and can be connected to a first peripheral device (such as a mouse or a keyboard) 910. The user is configured to control the display device 900 to perform Internet access or play multimedia through the first peripheral device 910, but sometimes the user also connects an external host (such as a personal computer) 92 to the display device 900. The external host 92A usually also has a second peripheral device 930 such as a mouse or a keyboard. Therefore, in the case of connecting two sets of peripheral devices, the display device 900 only allows one of the peripheral devices to operate, that is, the second periphery. The device 920 is such that the first peripheral device 91 will be inactive and in an idle state, and such a design is not user friendly. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a display device that can solve the problem that only one of the existing display devices can operate when two sets of peripheral devices are connected. Therefore, the display device of the present invention comprises: a video input interface, a first transmission interface, a second transmission interface, a switching module, a processing module and a control module. The video input interface is configured to be coupled to an external host and receive an image signal sent by the external host; the first transmission interface is coupled to the external host 201246152; and the second transmission interface is configured to be coupled to a peripheral device; The switching module is coupled to the first transmission interface and the second transmission interface; the processing module is coupled to the switching module; the control module is coupled to the switching module and the video input interface. The control module detects whether the video input interface receives the image signal, and if so, the control switching module couples the first transmission interface with the second transmission interface, so that the peripheral device can communicate with the external host, so that the user can pass through the peripheral device. To control the external host to perform corresponding actions, such as: mouse cursor movement, keyboard input, execution program, etc.; if not, the control switching module couples the second transmission interface with the processing module to make the processing module Corresponding actions are performed in conjunction with the shackling of peripheral devices, such as surfing the Internet or playing multimedia. Therefore, regardless of whether the display device is coupled to an external host, it can be controlled through the same set of peripheral devices, which is more convenient and user-friendly in use. In addition, the display device further includes another second transmission interface, which is coupled to the other peripheral device, and further includes a hub coupled between the second transmission interface and the switching module. The external host includes a video signal line and a data transmission line. The video wheel input interface is electrically connected to the video signal line to receive the image signal. The first wheel interface is electrically connected to the data transmission line to enable the peripheral device to communicate with the external host. Further, another object of the present invention is to provide a control method which can control the operation of the above display device. The control method of the display device of the present invention is implemented in a display device, and the display device is coupled to a peripheral device. The control method includes the steps of:
4 201246152 (A) 偵測是否接收到一由一外接主機發送的影像訊號, 若是,則執行步驟(B),否則執行步驟(〇 ; (B) 將週邊裝置與外接主機耦接,使週邊裝置透過顯示 裝置與外接主機通訊;及 (C) 配合週邊裝置的控制而執行對應的動作。 本發明之功效在於,不管顯示裝置是否耦接於外接主 機,皆可透過同一組週邊裝置來控制,相較於現有顯示裝 置,將可節省一組週邊設備的設置,且在使用上將更為方 便及人性化。 【實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 以下配合參考圖式之一個較佳實施例的詳細說明中,將可 清楚的呈現。 參閱圖2’為本發明顯示裝置之較佳實施例,該顯示裝 置100為一具可直接上網及多媒體播放功能的顯示器其 可與一如個人電腦或筆記型電腦的外接主機2〇〇耦接並進 行通訊,在本實施例中,顯示裝置100包含一視訊輸入介 面1、一第一傳輸介面2、至少一第二傳輸介面3(本實施例 以二個為例)、一集線器(HUB)4、一切換模組5、一處理模 組6及一控制模組7。 視訊輸入介面1提供與外接主機200的一視訊訊號線 21〇電連接’其可為視頻圖形陣列(vide〇 Graphics Array, VGA)、數位視訊介面(Dighal vide〇 Interface,DVI)、高清 晰度多媒體介面(High Definition Multimedia Interface, 201246152 HDMI)等,用以接收一由外接主機2〇〇所發送的影像訊號。 第一傳輸介面2用以提供與外接主機2〇〇的一資料傳 輸線220電連接,使顯示裝置丨〇〇可與外接主機2〇〇相互 傳輸資料及訊號;各第二傳輸介面3分別用以提供與一週 邊裝置300的一訊號傳輸線310電連接,使得顯示裝置1〇〇 可配合週邊裝置300的控制而執行對應的動作,在本實施 例中’二週邊裝置300分別為一滑鼠(M〇use)及一鍵盤 (Keyboard),且第一傳輸介面2及第二傳輸介面3皆為通用 序列匯流排(Universal Serial Bus,USB),但皆不以本實施 例為限。 集線器4搞接於該等第二傳輸介面3,用以提供多個第 二傳輸介面3連接設置,使該等週邊裝置3〇〇可與顯示裝 置100互動。切換模組5為一 1對2解多工器(DEMUX), 其輸入端耦接於集線器4,兩輸出端則分別輕接於第一傳輸 介面2及處理模組6’用以切換週邊裝置300的訊號傳輸路 徑’但切換模組5並不僅以解多工器為限。處理模組6辆 接於切換模組5,用以處理週邊裝置300所傳送的訊號,並 於一顯示模組(圖未示)顯示。控制模組7耦接於耦接於切換 模組5及視訊輸入介面1,用以控制切換模組5切換週邊裝 置300的訊號傳輸路徑。特別說明的是,在另一實施例 中’顯示裝置100也可以只設置一個第二傳輸介面3與單 一週邊裝置300電連接,在此設計下,顯示裝置1〇〇將可 不需要集線器4’只要將第二傳輸介面3直接與切換模組5 耦接即可。4 201246152 (A) Detect whether an image signal sent by an external host is received. If yes, execute step (B). Otherwise, perform the step (〇; (B) couple the peripheral device to the external host to make the peripheral device The communication device communicates with the external host through the display device; and (C) performs the corresponding action in conjunction with the control of the peripheral device. The effect of the present invention is that the display device can be controlled by the same group of peripheral devices regardless of whether the display device is coupled to the external host. Compared with the existing display device, the setting of a set of peripheral devices can be saved, and it is more convenient and user-friendly in use. [Embodiment] The foregoing and other technical contents, features and effects of the present invention are incorporated in the following reference. The detailed description of a preferred embodiment of the present invention will be clearly described. Referring to FIG. 2 is a preferred embodiment of the display device of the present invention, the display device 100 is a display capable of direct Internet access and multimedia playback. It can be coupled to and communicate with an external host 2 such as a personal computer or a notebook computer. In this embodiment, the display device 100 includes A video input interface, a first transmission interface 2, at least one second transmission interface 3 (two in this embodiment), a hub (HUB) 4, a switching module 5, and a processing module 6 And a control module 7. The video input interface 1 is provided to be electrically connected to a video signal line 21 of the external host 200. It can be a video graphics array (VGA), a digital video interface (Dighal vide interface). DVI), High Definition Multimedia Interface (201246152 HDMI), etc., for receiving an image signal sent by the external host 2〇〇. The first transmission interface 2 is used to provide an external host 2 A data transmission line 220 is electrically connected to enable the display device to transmit data and signals to and from the external host 2; the second transmission interfaces 3 are respectively configured to provide electrical connection with a signal transmission line 310 of a peripheral device 300, such that The display device 1 can perform corresponding operations in conjunction with the control of the peripheral device 300. In the present embodiment, the two peripheral devices 300 are a mouse (M〇use) and a keyboard (Keyboar). d), and the first transmission interface 2 and the second transmission interface 3 are both Universal Serial Bus (USB), but are not limited to this embodiment. The hub 4 is connected to the second transmission interface. 3, for providing a plurality of second transmission interface 3 connection settings, such peripheral devices 3 can interact with the display device 100. The switching module 5 is a 1-to-2 demultiplexer (DEMUX), the input end thereof Coupling to the hub 4, the two output terminals are respectively connected to the first transmission interface 2 and the processing module 6' for switching the signal transmission path of the peripheral device 300. However, the switching module 5 is not limited to the demultiplexer. . The processing module 6 is connected to the switching module 5 for processing the signal transmitted by the peripheral device 300 and displayed on a display module (not shown). The control module 7 is coupled to the switching module 5 and the video input interface 1 for controlling the switching module 5 to switch the signal transmission path of the peripheral device 300. In particular, in another embodiment, the display device 100 can also be provided with only one second transmission interface 3 electrically connected to the single peripheral device 300. In this design, the display device 1 will not need the hub 4' as long as The second transmission interface 3 can be directly coupled to the switching module 5.
S 6 201246152 接著’以下將配合圖3說明本實施例之顯示裝置l〇〇 是如何切換週邊裝置300的訊號傳輸路徑,以充分利用週 邊裝置300,減少其閒置時間,增加使用上的方便性。 步驟S10,控制模組7偵測視訊輸入介面1是否接收到 由外接主機200所發送的影像訊號,若是,則表示視訊輸 入介面1與外接主機200的視訊訊號線210電連接,使用 者可透過顯示裝置1〇〇來顯示外接主機2〇〇的畫面,例 如·桌面、影片等,且此時,控制模組7會執行步驟S2〇。 步驟S20 ’控制模組7控制切換模組5將第一傳輸介面 2與第二傳輸介面3耦接,使得週邊裝置3〇〇可與外接主機 200進行通訊,在此情況下,週邊裝置3〇〇會作為控制外接 主機200的週邊設備,即控制個人電腦的滑鼠及鍵盤,週 邊裝置300的相關控制訊號會透過第二傳輪介面3、切換模 組5及第一傳輸介面2而傳送至外接主機2〇〇,因此,使用 者可以透過週邊裝置300來控制外接主機2〇〇執行相對應 的動作,例如:滑鼠游標的移動、鍵盤的輸入、執行程式 等,且並於外接主機200將該些控制訊號處理後可再藉由 視訊訊號線210傳送回顯示裝置ι〇〇顯示。 若在步驟S10中’控制模組7债測視訊輸入介面i並 未接收到影像訊號,執行步驟S3〇。 步驟S30,控制模組7 _切換模組5將第二傳輸介面 3與處理模組6祕,此時,週邊裝置3⑽會改作為控制顯 示裝置100的週邊設備,其相關控制訊號會透過第二傳輸 介面3及切換模組5 *傳送至處理模組6,使得處理模組6 7 201246152 可配合週邊裝置300的控制而執行對應的動作例如:上 網或播放多媒體等。 換言之,當外接主機200未與顯示裝置1〇〇電連接 時,週邊裝置300會為控制顯示裝置丨〇〇的週邊設備使 用者可以透過週邊裝置3〇〇來控制顯示裝置1〇〇執行相對 應的動作,一旦當外接主機2〇〇電連接於顯示裝置ι〇〇 時,透過切換模組5的切換,週邊裝置3〇〇會改作為控制 外接主機200的週邊設備,使得使用者可以透過週邊裝置 300來控制外接主機2〇〇執行相對應的動作,如此一來使 用者將不需要針對外接主機200額外再接一組週邊設備, 造成原本電連接於顯示裝置1〇〇的週邊裝置3〇〇閒置在 使用上將更為方便及人性化。 特別說明的是,顯示裝置100、外接主機2〇〇與週邊裝 置300之間的訊號傳輸,並非僅限於有線的方式也可以 利用無線傳輸的方式來完成,並不以本實施例為限。 綜上所述,本發明顯示裝置100藉由控制模組7偵測 視訊輸入介面1是否接收到由外接主機200所發送的影像 訊號,並透過切換模組5切換改變週邊裝置300的訊號傳 輸路徑’使得週邊裝置300可於外接主機200未耦接於顯 示裝置100時作為控制顯示裝置100的週邊設備,並於外 接主機200搞接於顯示裝置1〇〇時作為控制外接主機2〇〇 的週邊設備,如此將可節省一組週邊設備,使用上將更為 方便及人性化’故確實能達成本發明之目的。 惟以上所述者,僅為本發明之較佳實施例而已,當不S 6 201246152 Next, how the display device 10 of the present embodiment switches the signal transmission path of the peripheral device 300 in order to make full use of the peripheral device 300, reduce the idle time, and increase the convenience in use. In step S10, the control module 7 detects whether the video input interface 1 receives the image signal sent by the external host 200, and if so, the video input interface 1 is electrically connected to the video signal line 210 of the external host 200. The display device 1A displays a screen of the external host 2, such as a desktop, a movie, etc., and at this time, the control module 7 executes step S2. Step S20 The control module 7 controls the switching module 5 to couple the first transmission interface 2 with the second transmission interface 3, so that the peripheral device 3 can communicate with the external host 200. In this case, the peripheral device 3〇 As a peripheral device for controlling the external host 200, that is, a mouse and a keyboard for controlling the personal computer, the relevant control signals of the peripheral device 300 are transmitted to the second transfer interface 3, the switching module 5, and the first transmission interface 2 to The external host 2〇〇, therefore, the user can control the external host 2 to perform corresponding actions through the peripheral device 300, for example, the movement of the mouse cursor, the input of the keyboard, the execution program, etc., and the external host 200 After the control signals are processed, they can be transmitted back to the display device by the video signal line 210. If the control module 7 does not receive the video signal in the control module 7 in step S10, step S3 is performed. In step S30, the control module 7_switching module 5 secretizes the second transmission interface 3 and the processing module 6. At this time, the peripheral device 3 (10) is changed to be a peripheral device for controlling the display device 100, and the related control signal is transmitted through the second The transmission interface 3 and the switching module 5* are transmitted to the processing module 6, so that the processing module 6 7 201246152 can perform corresponding actions, such as surfing the Internet or playing multimedia, etc., in conjunction with the control of the peripheral device 300. In other words, when the external host 200 is not electrically connected to the display device 1 , the peripheral device 300 can control the display device 1 to control the display device 1 by the peripheral device 3 When the external host 2 is electrically connected to the display device ι, the peripheral device 3 改 is changed to control the peripheral device of the external host 200 through the switching of the switching module 5, so that the user can pass through the periphery. The device 300 controls the external host 2 to perform a corresponding action, so that the user does not need to additionally connect a set of peripheral devices to the external host 200, thereby causing peripheral devices 3 that are originally electrically connected to the display device 1〇. It will be more convenient and user-friendly to be idle. In particular, the signal transmission between the display device 100, the external host 2, and the peripheral device 300 is not limited to wired or wireless transmission, and is not limited to this embodiment. In summary, the display device 100 of the present invention detects whether the video input interface 1 receives the image signal sent by the external host 200, and switches the signal transmission path of the peripheral device 300 through the switching module 5. The peripheral device 300 can be used as a peripheral device for controlling the display device 100 when the external host 200 is not coupled to the display device 100, and can be used as a peripheral for controlling the external host 2 when the external host 200 is connected to the display device 1 The device will save a group of peripheral devices, and the use will be more convenient and user-friendly. Therefore, the object of the present invention can be achieved. However, the above is only the preferred embodiment of the present invention, when not
S 201246152 能以此限定本發明實施之範圍,即大凡依本發明申請專利 範圍及發明說明内容所作之簡單的等效變化與修飾,皆仍 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 圖1是說明現有顯示裝置與外接主機電連接時的方塊 不意圖, 圖2是本發明顯示裝置之較佳實施例;及 圖3是本發明顯示裝置的控制方法。 201246152 【主要元件符號說明】 100… …·顯示裝置 200 ···· …外接主機 210 ··· ----視δίΐ δίΐ说線 220… …·資料傳輸線 300… …·週邊裝置 310… …訊號傳輸線 1 ....... …·視sfl輸入介面 2 ..........第一傳輸介面 3 ..........第二傳輸介面 4 ..........集線器 5 ..........切換模組 6 ..........處理模組 7 ..........控制模組S 201246152 is intended to limit the scope of the invention, that is, the equivalent equivalents and modifications of the scope of the invention and the scope of the invention are still within the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the prior art display device being electrically connected to an external host, FIG. 2 is a preferred embodiment of the display device of the present invention; and FIG. 3 is a control method of the display device of the present invention. 201246152 [Description of main component symbols] 100... ...display device 200 ···· ... external host 210 ··· ---- δίΐ δίΐ said line 220... data transmission line 300... peripheral device 310... Transmission line 1 ....... ... sfl input interface 2 .......... first transmission interface 3 .......... second transmission interface 4 .... ... hub 5 .......... switching module 6 .......... processing module 7 .......... control module
S 10S 10