TW202326455A - Device control method and host device - Google Patents

Device control method and host device Download PDF

Info

Publication number
TW202326455A
TW202326455A TW110148662A TW110148662A TW202326455A TW 202326455 A TW202326455 A TW 202326455A TW 110148662 A TW110148662 A TW 110148662A TW 110148662 A TW110148662 A TW 110148662A TW 202326455 A TW202326455 A TW 202326455A
Authority
TW
Taiwan
Prior art keywords
mode
host device
transmission path
connection interface
display
Prior art date
Application number
TW110148662A
Other languages
Chinese (zh)
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 TW110148662A priority Critical patent/TW202326455A/en
Publication of TW202326455A publication Critical patent/TW202326455A/en

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Power Sources (AREA)

Abstract

A device control method and a host device are disclosed. The method includes: receiving power from a display device through a connection interface of the host device; in a state that an operation mode of the host device is a first mode, transmitting display signal to the display device through the connection interface; in response to that the operation mode of the host device changes from the first mode to a second mode, cutting off a display signal transmission path between the host device and the display device; after the display signal transmission path is cut off, detecting whether the operation mode of the host device is changed back from the second mode to the first mode; and in response to that the operation mode of the host device is changed back from the second mode to the first mode, resetting the power on the connection interface to recovery the display signal transmission path.

Description

裝置控制方法與主機裝置Device control method and host device

本發明是有關於一種裝置控制技術,且特別是有關於一種裝置控制方法與主機裝置。The present invention relates to a device control technology, and in particular to a device control method and a host device.

在通用序列匯流排(Universal Serial Bus, USB)的Type-C之連接介面標準下,部分類型的顯示器可經由USB的Type-C連接介面提供電源給主機裝置(例如筆記型電腦)使用,而主機裝置則可經由此連接介面傳送顯示訊號給顯示器。藉此,在顯示器有接收外部電源的情況下,顯示器可持續對主機裝置供電,而主機裝置則可經由顯示器呈現影像。Under the Universal Serial Bus (USB) Type-C connection interface standard, some types of displays can provide power to the host device (such as a notebook computer) through the USB Type-C connection interface, and the host The device can send a display signal to the monitor through this connection interface. In this way, when the display receives external power, the display can continuously supply power to the host device, and the host device can present images through the display.

然而,在主機裝置與顯示器之間的連接線未被移除的狀態下,在主機裝置進入睡眠模式、休眠模式或關機後,即便主機裝置被喚醒,主機裝置與顯示器之間的顯示訊號之傳輸功能仍無法自動恢復。此時,若使用者想要繼續將主機裝置的顯示訊號投影到顯示器上進行顯示,則使用者往往必須要手動重新插拔主機裝置與顯示器之間的連接線,才能恢復顯示訊號之傳輸。However, in the state where the connecting cable between the host device and the display is not removed, after the host device enters sleep mode, hibernate mode or is turned off, even if the host device is woken up, the transmission of display signals between the host device and the display Functionality still cannot be restored automatically. At this time, if the user wants to continue to project the display signal of the host device to the display for display, the user often has to manually re-plug the connecting cable between the host device and the display to restore the transmission of the display signal.

本發明提供一種裝置控制方法與主機裝置,可改善上述問題。The invention provides a device control method and a host device, which can improve the above problems.

本發明的實施例提供一種裝置控制方法,其用於主機裝置,所述主機裝置經由連接介面耦接至顯示裝置,所述裝置控制方法包括:經由所述連接介面從所述顯示裝置接收電源;在所述主機裝置的操作模式為第一模式的狀態下,經由所述連接介面將顯示訊號傳送至所述顯示裝置;響應於所述主機裝置的所述操作模式從所述第一模式切換至第二模式,切斷所述主機裝置與所述顯示裝置之間的顯示訊號傳輸路徑,其中所述顯示訊號傳輸路徑用以將所述顯示訊號傳輸至所述顯示裝置;在切斷所述顯示訊號傳輸路徑後,偵測所述主機裝置的所述操作模式是否從所述第二模式切換回所述第一模式;以及響應於所述主機裝置的所述操作模式從所述第二模式切換回所述第一模式,重置所述連接介面上的所述電源,以恢復所述顯示訊號傳輸路徑。An embodiment of the present invention provides a device control method for a host device, the host device is coupled to a display device through a connection interface, the device control method includes: receiving power from the display device through the connection interface; When the operation mode of the host device is the first mode, transmitting a display signal to the display device through the connection interface; in response to switching the operation mode of the host device from the first mode to In the second mode, the display signal transmission path between the host device and the display device is cut off, wherein the display signal transmission path is used to transmit the display signal to the display device; After a signal transmission path, detecting whether the operation mode of the host device is switched back to the first mode from the second mode; and switching from the second mode in response to the operation mode of the host device Back to the first mode, reset the power supply on the connection interface, so as to restore the display signal transmission path.

本發明的實施例提供一種主機裝置,其包括連接介面、系統模組及重置控制器。所述連接介面用以耦接至顯示裝置。所述系統模組耦接至所述連接介面。所述重置控制器耦接至所述連接介面與所述系統模組。所述系統模組用以:經由所述連接介面從所述顯示裝置接收電源;在所述主機裝置的操作模式為第一模式的狀態下,經由所述連接介面將顯示訊號傳送至所述顯示裝置;以及響應於所述主機裝置的所述操作模式從所述第一模式切換至第二模式,切斷所述主機裝置與所述顯示裝置之間的顯示訊號傳輸路徑,其中所述顯示訊號傳輸路徑用以將所述顯示訊號傳輸至所述顯示裝置。所述重置控制器用以:在切斷所述顯示訊號傳輸路徑後,偵測所述主機裝置的所述操作模式是否從所述第二模式切換回所述第一模式;以及響應於所述主機裝置的所述操作模式從所述第二模式切換回所述第一模式,重置所述連接介面上的所述電源,以恢復所述顯示訊號傳輸路徑。An embodiment of the present invention provides a host device, which includes a connection interface, a system module, and a reset controller. The connection interface is used for coupling to a display device. The system module is coupled to the connection interface. The reset controller is coupled to the connection interface and the system module. The system module is used to: receive power from the display device through the connection interface; when the operation mode of the host device is the first mode, transmit a display signal to the display through the connection interface device; and in response to switching the operation mode of the host device from the first mode to the second mode, cutting off a display signal transmission path between the host device and the display device, wherein the display signal The transmission path is used for transmitting the display signal to the display device. The reset controller is used to: detect whether the operation mode of the host device is switched back to the first mode from the second mode after cutting off the display signal transmission path; and respond to the The operation mode of the host device is switched back to the first mode from the second mode, and the power supply on the connection interface is reset to restore the display signal transmission path.

基於上述,在主機裝置的操作模式從第一模式切換至模式且主機裝置與顯示裝置之間的顯示訊號傳輸路徑被切斷後,可持續偵測主機裝置的操作模式是否從第二模式切換回第一模式。一旦主機裝置的操作模式從所述第二模式切換回所述第一模式,所述連接介面上的電源可被重置,以恢復所述顯示訊號傳輸路徑。藉此,在主機裝置的操作模式改變後,使用者不需手動重新插拔主機裝置與顯示器之間的連接線,主機裝置與顯示裝置之間被切斷的顯示訊號傳輸路徑亦可自動被恢復,從而有效提高使用者體驗。Based on the above, after the operation mode of the host device is switched from the first mode to the first mode and the display signal transmission path between the host device and the display device is cut off, it can continuously detect whether the operation mode of the host device is switched back to the second mode from the second mode. a mode. Once the operation mode of the host device is switched from the second mode back to the first mode, the power on the connection interface can be reset to restore the display signal transmission path. Thereby, after the operation mode of the host device is changed, the user does not need to manually re-plug the connecting cable between the host device and the display, and the cut-off display signal transmission path between the host device and the display device can be automatically restored , so as to effectively improve the user experience.

圖1是根據本發明的實施例所繪示的主機裝置與顯示裝置的示意圖。請參照圖1,請參照圖1,主機裝置11可包括智慧型手機、平板電腦、筆記型電腦、桌上型電腦、工業電腦、遊戲機或伺服器等各式具有資料處理以及通訊功能的電子裝置。顯示裝置12可包括電漿(plasma)顯示器、液晶顯示器(liquid crystal display, LCD)、薄膜電晶體(Thin Film Transistor, TFT)液晶顯示器、發光二極體(light emitting diode, LED)顯示器或有機發光二極體(Organic LED, OLED)顯示器等各類型的顯示器。FIG. 1 is a schematic diagram of a host device and a display device according to an embodiment of the present invention. Please refer to Figure 1, please refer to Figure 1, the host device 11 may include various electronic devices with data processing and communication functions such as smart phones, tablet computers, notebook computers, desktop computers, industrial computers, game consoles or servers. device. The display device 12 may include a plasma (plasma) display, a liquid crystal display (liquid crystal display, LCD), a thin film transistor (Thin Film Transistor, TFT) liquid crystal display, a light emitting diode (light emitting diode, LED) display or an organic light-emitting display. Diode (Organic LED, OLED) displays and other types of displays.

主機裝置11可包括連接介面110、系統模組120及重置控制器130。主機裝置11可經由連接介面110實體耦接至顯示裝置12。例如,一條實體傳輸線13的兩端可分別電性連接至連接介面110與顯示裝置12。在一實施例中,連接介面110與實體傳輸線13皆符合通用序列匯流排(Universal Serial Bus, USB)的Type-C的連接介面標準。在一實施例中,連接介面110與實體傳輸線13亦可符合其他類型的連接介面標準,本發明不加以限制。須注意的是,在以下實施例中,皆是假設實體傳輸線13持續連接於連接介面110與顯示裝置12之間,而未被使用者手動移除(例如拔除)。The host device 11 can include a connection interface 110 , a system module 120 and a reset controller 130 . The host device 11 can be physically coupled to the display device 12 through the connection interface 110 . For example, two ends of a physical transmission line 13 can be electrically connected to the connection interface 110 and the display device 12 respectively. In one embodiment, both the connection interface 110 and the physical transmission line 13 comply with the Type-C connection interface standard of Universal Serial Bus (USB). In one embodiment, the connection interface 110 and the physical transmission line 13 may also comply with other types of connection interface standards, which are not limited in the present invention. It should be noted that, in the following embodiments, it is assumed that the physical transmission line 13 is continuously connected between the connection interface 110 and the display device 12 and is not manually removed (for example, unplugged) by the user.

系統模組120耦接至連接介面110並用以負責主機裝置11的整體或部分運作。例如,系統模組120可包括處理器、儲存電路及輸入/輸出(I/O)介面。系統模組120中的處理器可包括中央處理單元(Central Processing Unit, CPU)、圖形處理器(graphics processing unit, GPU)、或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(Digital Signal Processor, DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits, ASIC)、可程式化邏輯裝置(Programmable Logic Device, PLD)或其他類似裝置或這些裝置的組合。The system module 120 is coupled to the connection interface 110 and is responsible for the whole or part of the operation of the host device 11 . For example, the system module 120 may include a processor, a storage circuit, and an input/output (I/O) interface. The processor in the system module 120 may include a central processing unit (Central Processing Unit, CPU), a graphics processing unit (graphics processing unit, GPU), or other programmable general-purpose or special-purpose microprocessors, digital Signal processor (Digital Signal Processor, DSP), programmable controller, application specific integrated circuit (Application Specific Integrated Circuits, ASIC), programmable logic device (Programmable Logic Device, PLD) or other similar devices or these devices The combination.

系統模組120中的儲存電路可包括揮發性儲存電路與非揮發性儲存電路。揮發性儲存電路用以揮發性地儲存資料。例如,揮發性儲存電路可包括隨機存取記憶體(Random Access Memory, RAM)或類似的揮發性儲存媒體。非揮發性儲存電路用以非揮發性地儲存資料。例如,非揮發性儲存電路可包括唯讀記憶體(Read Only Memory, ROM)、固態硬碟(solid state disk, SSD)、傳統硬碟(Hard disk drive, HDD)或類似的非揮發性儲存媒體。此外,系統模組120中的輸入/輸出介面可包括電源管理介面、通訊電路(例如網路介面卡)、滑鼠、鍵盤、螢幕、觸控螢幕、揚聲器及/或麥克風等各式訊號的輸出/輸出裝置。The storage circuits in the system module 120 may include volatile storage circuits and non-volatile storage circuits. The volatile storage circuit is used for volatile storage of data. For example, the volatile storage circuit may include random access memory (Random Access Memory, RAM) or similar volatile storage media. The non-volatile storage circuit is used for non-volatile storage of data. For example, the non-volatile storage circuit may include a read only memory (Read Only Memory, ROM), a solid state disk (solid state disk, SSD), a traditional hard disk (Hard disk drive, HDD) or similar non-volatile storage media . In addition, the input/output interfaces in the system module 120 may include power management interfaces, communication circuits (such as network interface cards), mouse, keyboard, screen, touch screen, speakers and/or microphones, etc. /output device.

重置控制器130耦接至連接介面110與系統模組120。重置控制器130可包括嵌入式控制器、可程式化控制器、可程式化邏輯裝置(PLD)或其他類似裝置或這些裝置的組合。The reset controller 130 is coupled to the connection interface 110 and the system module 120 . The reset controller 130 may include an embedded controller, a programmable controller, a programmable logic device (PLD) or other similar devices or a combination of these devices.

在一實施例中,主機裝置11的操作模式可包括第一模式與第二模式。主機裝置11的操作模式可在第一模式與第二模式之間切換。特別是,主機裝置11在第二模式下的單位時間耗電量低於主機裝置11在第一模式下的單位時間耗電量。In an embodiment, the operation mode of the host device 11 may include a first mode and a second mode. The operation mode of the host device 11 is switchable between the first mode and the second mode. In particular, the power consumption per unit time of the host device 11 in the second mode is lower than the power consumption per unit time of the host device 11 in the first mode.

在一實施例中,第一模式可包括主機裝置11的正常工作模式,而第二模式可包括主機裝置11的睡眠模式、休眠模式及關機狀態。或者,在一實施例中,當系統模組120處於進階組態與電源介面(Advanced Configuration and Power Interface, ACPI)所定義的電源狀態S0時,可視為主機裝置11當下的操作模式為第一模式,而當系統模組120處於進階組態與電源介面(ACPI)所定義的電源狀態S3、S4或S5時,可視為主機裝置11當下的操作模式為第二模式。In one embodiment, the first mode may include the normal working mode of the host device 11 , and the second mode may include the sleep mode, the hibernation mode and the shutdown state of the host device 11 . Or, in one embodiment, when the system module 120 is in the power state S0 defined by the Advanced Configuration and Power Interface (ACPI), it can be considered that the current operation mode of the host device 11 is the first mode, and when the system module 120 is in the power state S3, S4 or S5 defined by the Advanced Configuration and Power Interface (ACPI), it can be considered that the current operating mode of the host device 11 is the second mode.

在一實施例中,系統模組120可經由連接介面110從顯示裝置12接收電源PW。例如,電源PW可經由實體傳輸線13從顯示裝置12傳送至連接介面110,以對主機裝置11充電。例如,電源PW可經由實體傳輸線13中的VBus接腳(VBus pin)傳輸。在接收到電源PW後,電源PW可經由傳輸路徑(亦稱為電源傳輸路徑)101傳輸至系統模組120,以供系統模組120使用。換言之,傳輸路徑101可用以從顯示裝置12接收電源PW。須注意的是,無論主機裝置11當下的操作模式為第一模式或第二模式,系統模組120皆可持續經由連接介面110與實體傳輸線13從顯示裝置12接收電源PW。In one embodiment, the system module 120 can receive the power PW from the display device 12 through the connection interface 110 . For example, the power PW can be transmitted from the display device 12 to the connection interface 110 through the physical transmission line 13 to charge the host device 11 . For example, the power PW can be transmitted via a VBus pin in the physical transmission line 13 . After receiving the power PW, the power PW can be transmitted to the system module 120 via the transmission path (also referred to as a power transmission path) 101 for use by the system module 120 . In other words, the transmission path 101 can be used to receive the power PW from the display device 12 . It should be noted that no matter the current operation mode of the host device 11 is the first mode or the second mode, the system module 120 can continue to receive the power PW from the display device 12 through the connection interface 110 and the physical transmission line 13 .

在一實施例中,在主機裝置11的操作模式為第一模式的狀態下,系統模組120可經由連接介面110將顯示訊號DS傳送至顯示裝置12。例如,顯示訊號DS可經由傳輸路徑(亦稱為顯示訊號傳輸路徑)102傳輸至連接介面110,然後再經由實體傳輸線13傳輸至顯示裝置12。換言之,傳輸路徑102可用以將顯示訊號DS傳輸至顯示裝置12。然後,顯示裝置12可根據顯示訊號DS來顯示影像(及輸出聲音)。例如,顯示訊號DS可用以攜帶待顯示的影像之影像資料。特別是,電源PW與顯示訊號DS可經由連接於主機裝置11與顯示裝置12之間的同一條實體傳輸線13進行傳輸。In one embodiment, when the operation mode of the host device 11 is the first mode, the system module 120 can transmit the display signal DS to the display device 12 through the connection interface 110 . For example, the display signal DS can be transmitted to the connection interface 110 through the transmission path (also referred to as the display signal transmission path) 102 , and then transmitted to the display device 12 through the physical transmission line 13 . In other words, the transmission path 102 can be used to transmit the display signal DS to the display device 12 . Then, the display device 12 can display images (and output audio) according to the display signal DS. For example, the display signal DS can be used to carry the image data of the image to be displayed. In particular, the power PW and the display signal DS can be transmitted through the same physical transmission line 13 connected between the host device 11 and the display device 12 .

圖2是根據本發明的實施例所繪示的主機裝置與顯示裝置的示意圖。請參照圖2,響應於主機裝置11的操作模式從第一模式切換至第二模式(例如主機裝置11進入睡眠模式、休眠模式或被關機),系統模組120可切斷主機裝置11與顯示裝置12之間的傳輸路徑102。在傳輸路徑102被切斷的狀態下,無論主機裝置11當下的操作模式為第一模式或第二模式,系統模組120皆無法將顯示訊號DS傳送至顯示裝置12。此外,在傳輸路徑102被切斷的狀態下,只要實體傳輸線13沒有被移除,系統模組120可持續經由連接介面110從顯示裝置12接收電源PW。FIG. 2 is a schematic diagram of a host device and a display device according to an embodiment of the present invention. Referring to FIG. 2, in response to the host device 11 operating mode switching from the first mode to the second mode (for example, the host device 11 enters sleep mode, hibernate mode or is turned off), the system module 120 can cut off the host device 11 and the display. Transmission path 102 between devices 12 . In the state where the transmission path 102 is cut off, the system module 120 cannot transmit the display signal DS to the display device 12 no matter whether the current operation mode of the host device 11 is the first mode or the second mode. In addition, when the transmission path 102 is cut off, as long as the physical transmission line 13 is not removed, the system module 120 can continue to receive the power PW from the display device 12 through the connection interface 110 .

在一實施例中,在傳輸路徑102被切斷後,若主機裝置11的操作模式從第二模式切換回第一模式(例如主機裝置11被喚醒或開機),則使用者須藉由重新插拔實體傳輸線13,來觸發系統模組120對傳輸路徑102進行恢復。在傳輸路徑102恢復後,才能經由傳輸路徑102將顯示訊號DS傳輸至顯示裝置12。但是,在傳輸路徑102被切斷後,主機裝置11或系統模組120並無法在使用者沒有重新插拔實體傳輸線13的前提下,主動對傳輸路徑102進行恢復。因此,在實體傳輸線13不易插拔的狀況下,一旦傳輸路徑102被切斷,則後續主機裝置11回到第一模式後要恢復顯示訊號DS的傳輸(如圖1所示)並不容易。In one embodiment, after the transmission path 102 is cut off, if the operation mode of the host device 11 is switched from the second mode back to the first mode (for example, the host device 11 is woken up or turned on), the user must replug the The physical transmission line 13 is used to trigger the system module 120 to restore the transmission path 102 . The display signal DS can be transmitted to the display device 12 through the transmission path 102 only after the transmission path 102 is recovered. However, after the transmission path 102 is cut off, the host device 11 or the system module 120 cannot actively restore the transmission path 102 on the premise that the user does not plug and unplug the physical transmission line 13 again. Therefore, in the condition that the physical transmission line 13 is not easy to plug and unplug, once the transmission path 102 is cut off, it is not easy for the subsequent host device 11 to resume the transmission of the display signal DS after returning to the first mode (as shown in FIG. 1 ).

在一實施例中,在傳輸路徑102被切斷後,重置控制器130可偵測主機裝置11的操作模式是否從第二模式切換回第一模式(例如偵測主機裝置11是否被喚醒或開機)。響應於主機裝置11的操作模式從第二模式切換回第一模式,重置控制器130可重置連接介面110上的電源PW,以恢復傳輸路徑102。In one embodiment, after the transmission path 102 is cut off, the reset controller 130 can detect whether the operation mode of the host device 11 is switched back to the first mode from the second mode (for example, detect whether the host device 11 is woken up or turned on. ). In response to switching the operation mode of the host device 11 from the second mode back to the first mode, the reset controller 130 can reset the power PW on the connection interface 110 to restore the transmission path 102 .

在一實施例中,在重置連接介面110上的電源PW的過程中,重置控制器130可先切斷傳輸路徑101。在切斷傳輸路徑101後,重置控制器130可恢復傳輸路徑101。藉由傳輸路徑101的切斷與恢復(即電源PW之重置),重置控制器130可短暫切斷電源PW,從而達到類似於使用者重新插拔實體傳輸線13的效果。In one embodiment, during the process of resetting the power PW on the connection interface 110 , the reset controller 130 may first cut off the transmission path 101 . After the transmission path 101 is cut off, the reset controller 130 can restore the transmission path 101 . By cutting off and restoring the transmission path 101 (that is, resetting the power PW), the reset controller 130 can temporarily cut off the power PW, thereby achieving an effect similar to that of the user replugging the physical transmission line 13 .

在一實施例中,響應於電源PW之重置,系統模組120可經由連接介面110重新與顯示裝置12執行交握程序,以恢復傳輸路徑102。例如,系統模組120可經由實體連接線13中的CC接腳(CC pin)與顯示裝置12溝通以執行交握程序。例如,在所述交握程序中,系統模組120可恢復傳輸路徑102並經由連接介面110與顯示裝置12建立用以傳輸顯示訊號DS之連線。爾後,顯示訊號DS可經由此連線傳送至顯示裝置12,如圖1所示。In one embodiment, in response to the reset of the power supply PW, the system module 120 may re-execute the handshake procedure with the display device 12 via the connection interface 110 to restore the transmission path 102 . For example, the system module 120 can communicate with the display device 12 via a CC pin in the physical connection line 13 to execute a handshake procedure. For example, in the handshaking procedure, the system module 120 can restore the transmission path 102 and establish a connection with the display device 12 through the connection interface 110 for transmitting the display signal DS. Afterwards, the display signal DS can be sent to the display device 12 through this connection, as shown in FIG. 1 .

圖3是根據本發明的實施例所繪示的主機裝置的示意圖。請參照圖3,在一實施例中,系統模組120可包括電源管理介面310。電源管理介面310可用以管理主機裝置11或系統模組120的電源狀態。例如,電源管理介面310可包括進階組態與電源介面(ACPI)。FIG. 3 is a schematic diagram of a host device according to an embodiment of the invention. Please refer to FIG. 3 , in one embodiment, the system module 120 may include a power management interface 310 . The power management interface 310 can be used to manage the power state of the host device 11 or the system module 120 . For example, the power management interface 310 may include Advanced Configuration and Power Interface (ACPI).

另一方面,連接介面110可包括開關電路320。開關電路320可用以控制傳輸路徑101的切斷與恢復。例如,開關電路320可包括至少一開關元件。例如,所述開關元件可包括金屬氧化物半導體場效電晶體(Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET)或類似具開關功能的電子元件。重置控制器130可耦接至電源管理介面310與開關電路320。On the other hand, the connection interface 110 may include a switch circuit 320 . The switch circuit 320 can be used to control the disconnection and recovery of the transmission path 101 . For example, the switch circuit 320 may include at least one switch element. For example, the switching element may include a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) or a similar electronic element with a switching function. The reset controller 130 can be coupled to the power management interface 310 and the switch circuit 320 .

在一實施例中,重置控制器130可經由電源管理介面310的預設接腳偵測電源管理介面31的電壓準位。重置控制器130可根據所述電壓準位的變化,判斷主機裝置11的操作模式是否從第二模式切換回第一模式。例如,假設當主機裝置11的操作模式為第一模式時,所述預設接腳上的電壓準位為邏輯低,且當主機裝置11的操作模式為第二模式時,所述預設接腳上的電壓準位為邏輯高。響應於所述電壓準位的變化為邏輯高切換為邏輯低,重置控制器130可判定此時主機裝置11的操作模式從第二模式切換回第一模式。In one embodiment, the reset controller 130 can detect the voltage level of the power management interface 31 through a default pin of the power management interface 310 . The reset controller 130 can determine whether the operation mode of the host device 11 is switched from the second mode to the first mode according to the change of the voltage level. For example, suppose that when the operation mode of the host device 11 is the first mode, the voltage level on the preset pin is logic low, and when the operation mode of the host device 11 is the second mode, the preset pin The voltage level on the pin is logic high. In response to the voltage level changing from logic high to logic low, the reset controller 130 can determine that the operation mode of the host device 11 is switched from the second mode back to the first mode at this time.

在一實施例中,響應於所述電壓準位的變化為邏輯高切換為邏輯低(即主機裝置11的操作模式從第二模式切換回第一模式),重置控制器130可控制開關電路320切斷傳輸路徑101然後再恢復傳輸路徑101,以重置連接介面110上的電源PW。須注意的是,在另一實施例中,反映主機裝置11的操作模式是否從第二模式切換回第一模式的電壓準位之變化,亦可根據實務需求調整,本發明不加以限制。In one embodiment, the reset controller 130 can control the switch circuit in response to the change of the voltage level from logic high to logic low (that is, the operation mode of the host device 11 is switched from the second mode to the first mode). 320 cuts off the transmission path 101 and restores the transmission path 101 to reset the power PW on the connection interface 110 . It should be noted that, in another embodiment, the change of the voltage level reflecting whether the operation mode of the host device 11 is switched from the second mode to the first mode can also be adjusted according to practical needs, and the present invention is not limited thereto.

圖4是根據本發明的實施例所繪示的裝置控制方法的流程圖。請參照圖4,在步驟S401中,經由連接介面從顯示裝置接收電源。在步驟S402中,在主機裝置的操作模式為第一模式的狀態下,經由連接介面將顯示訊號傳送至顯示裝置。在步驟S403中,響應於主機裝置的操作模式從第一模式切換至第二模式,切斷主機裝置與顯示裝置之間的顯示訊號傳輸路徑。所述顯示訊號傳輸路徑用以將顯示訊號傳輸至顯示裝置。在切斷所述顯示訊號傳輸路徑後,在步驟S404中,偵測主機裝置的操作模式是否從第二模式切換回第一模式。響應於主機裝置的操作模式從第二模式切換回第一模式,在步驟S405中,重置連接介面上的電源,以恢復所述顯示訊號傳輸路徑。或者,若主機裝置的操作模式未從第二模式切換回第一模式,則步驟S404可重複執行。FIG. 4 is a flowchart of a device control method according to an embodiment of the invention. Please refer to FIG. 4 , in step S401 , power is received from the display device through the connection interface. In step S402, when the operation mode of the host device is the first mode, a display signal is sent to the display device through the connection interface. In step S403, in response to switching the operation mode of the host device from the first mode to the second mode, the display signal transmission path between the host device and the display device is cut off. The display signal transmission path is used to transmit the display signal to the display device. After the display signal transmission path is cut off, in step S404, it is detected whether the operation mode of the host device is switched from the second mode to the first mode. In response to switching the operation mode of the host device from the second mode back to the first mode, in step S405, reset the power on the connection interface to restore the display signal transmission path. Or, if the operation mode of the host device is not switched from the second mode back to the first mode, then step S404 can be repeated.

然而,圖4中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖4中各步驟可以實作為多個程式碼或是電路,本發明不加以限制。此外,圖4的方法可以搭配以上實施例使用,也可以單獨使用,本發明不加以限制。However, each step in FIG. 4 has been described in detail above, and will not be repeated here. It should be noted that each step in FIG. 4 can be implemented as a plurality of program codes or circuits, which is not limited by the present invention. In addition, the method in FIG. 4 may be used in conjunction with the above embodiment, or may be used alone, which is not limited in the present invention.

綜上所述,本發明實施例提供的裝置控制方法與主機裝置,可在顯示裝置持續對主機裝置充電的期間,藉由模擬主機裝置與顯示裝置之間的實體連接線的重新插拔(即重置連接介面上的電源),來使主機裝置與顯示裝置之間的顯示訊號傳輸路徑自動恢復。藉此,可有效提高使用者體驗。To sum up, the device control method and the host device provided by the embodiments of the present invention can simulate the replugging of the physical connection line between the host device and the display device during the period when the display device continues to charge the host device (ie reset the power on the connection interface), so that the display signal transmission path between the host device and the display device is automatically restored. Thereby, user experience can be effectively improved.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention should be defined by the scope of the appended patent application.

11:主機裝置 110:連接介面 120:系統模組 130:重置控制器 101:電源傳輸路徑 102:顯示訊號傳輸路徑 12:顯示裝置 13:實體傳輸線 310:電源管理介面 320:開關電路 S401~S405:步驟 11: Host device 110: Connection interface 120: System module 130:Reset Controller 101: Power transmission path 102: Display signal transmission path 12: Display device 13: Physical transmission line 310: Power management interface 320: switch circuit S401~S405: steps

圖1是根據本發明的實施例所繪示的主機裝置與顯示裝置的示意圖。 圖2是根據本發明的實施例所繪示的主機裝置與顯示裝置的示意圖。 圖3是根據本發明的實施例所繪示的主機裝置的示意圖。 圖4是根據本發明的實施例所繪示的裝置控制方法的流程圖。 FIG. 1 is a schematic diagram of a host device and a display device according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a host device and a display device according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a host device according to an embodiment of the invention. FIG. 4 is a flowchart of a device control method according to an embodiment of the invention.

S401~S405:步驟 S401~S405: steps

Claims (10)

一種裝置控制方法,用於主機裝置,該主機裝置經由連接介面耦接至顯示裝置,該裝置控制方法包括: 經由該連接介面從該顯示裝置接收電源; 在該主機裝置的操作模式為第一模式的狀態下,經由該連接介面將顯示訊號傳送至該顯示裝置; 響應於該主機裝置的該操作模式從該第一模式切換至第二模式,切斷該主機裝置與該顯示裝置之間的顯示訊號傳輸路徑,其中該顯示訊號傳輸路徑用以將該顯示訊號傳輸至該顯示裝置; 在切斷該顯示訊號傳輸路徑後,偵測該主機裝置的該操作模式是否從該第二模式切換回該第一模式;以及 響應於該主機裝置的該操作模式從該第二模式切換回該第一模式,重置該連接介面上的該電源,以恢復該顯示訊號傳輸路徑, 其中該主機裝置在該第二模式下的單位時間耗電量低於該主機裝置在該第一模式下的單位時間耗電量。 A device control method for a host device, the host device is coupled to a display device via a connection interface, the device control method includes: receiving power from the display device via the connection interface; When the operation mode of the host device is the first mode, transmit a display signal to the display device through the connection interface; In response to switching the operation mode of the host device from the first mode to the second mode, cutting off a display signal transmission path between the host device and the display device, wherein the display signal transmission path is used to transmit the display signal to the display device; after cutting off the display signal transmission path, detecting whether the operation mode of the host device is switched back to the first mode from the second mode; and Responding to switching the operation mode of the host device back to the first mode from the second mode, resetting the power on the connection interface to restore the display signal transmission path, Wherein the power consumption per unit time of the host device in the second mode is lower than the power consumption per unit time of the host device in the first mode. 如請求項1所述的裝置控制方法,更包括: 在該顯示訊號傳輸路徑被切斷的狀態下,持續經由該連接介面從該顯示裝置接收該電源。 The device control method as described in claim 1, further comprising: In the state that the display signal transmission path is cut off, the power supply is continuously received from the display device through the connection interface. 如請求項1所述的裝置控制方法,其中偵測該主機裝置的該操作模式是否從該第二模式切換回該第一模式的步驟包括: 偵測該主機裝置的電源管理介面的電壓準位;以及 根據該電壓準位的變化判斷該主機裝置的該操作模式是否從該第二模式切換回該第一模式。 The device control method as described in claim 1, wherein the step of detecting whether the operation mode of the host device switches back to the first mode from the second mode comprises: detecting the voltage level of the power management interface of the host device; and Whether the operation mode of the host device is switched back to the first mode from the second mode is determined according to the change of the voltage level. 如請求項1所述的裝置控制方法,其中重置該連接介面上的該電源的步驟包括: 切斷該主機裝置與該顯示裝置之間的電源傳輸路徑;以及 在切斷該電源傳輸路徑後,恢復該電源傳輸路徑。 The device control method as described in claim 1, wherein the step of resetting the power on the connection interface comprises: cutting off the power transmission path between the host device and the display device; and After the power transmission path is cut off, the power transmission path is restored. 如請求項1所述的裝置控制方法,更包括: 響應於該電源之重置,經由該連接介面重新與該顯示裝置執行交握程序,以恢復該顯示訊號傳輸路徑。 The device control method as described in claim 1, further comprising: In response to the reset of the power supply, re-execute the handshake procedure with the display device via the connection interface, so as to restore the display signal transmission path. 一種主機裝置,包括: 連接介面,用以耦接至顯示裝置; 系統模組,耦接至該連接介面;以及 重置控制器,耦接至該連接介面與該系統模組, 其中該系統模組用以: 經由該連接介面從該顯示裝置接收電源; 在該主機裝置的操作模式為第一模式的狀態下,經由該連接介面將顯示訊號傳送至該顯示裝置;以及 響應於該主機裝置的該操作模式從該第一模式切換至第二模式,切斷該主機裝置與該顯示裝置之間的顯示訊號傳輸路徑,該顯示訊號傳輸路徑用以將該顯示訊號傳輸至該顯示裝置, 其中該重置控制器用以: 在切斷該顯示訊號傳輸路徑後,偵測該主機裝置的該操作模式是否從該第二模式切換回該第一模式;以及 響應於該主機裝置的該操作模式從該第二模式切換回該第一模式,重置該連接介面上的該電源,以恢復該顯示訊號傳輸路徑, 其中該主機裝置在該第二模式下的單位時間耗電量低於該主機裝置在該第一模式下的單位時間耗電量。 A host device comprising: a connection interface for coupling to the display device; a system module coupled to the connection interface; and a reset controller coupled to the connection interface and the system module, Among them, the system module is used for: receiving power from the display device via the connection interface; When the operation mode of the host device is the first mode, transmit a display signal to the display device through the connection interface; and In response to switching the operation mode of the host device from the first mode to the second mode, cutting off a display signal transmission path between the host device and the display device, the display signal transmission path is used to transmit the display signal to the display device, Wherein the reset controller is used to: after cutting off the display signal transmission path, detecting whether the operation mode of the host device is switched back to the first mode from the second mode; and Responding to switching the operation mode of the host device back to the first mode from the second mode, resetting the power on the connection interface to restore the display signal transmission path, Wherein the power consumption per unit time of the host device in the second mode is lower than the power consumption per unit time of the host device in the first mode. 如請求項6所述的主機裝置,其中在該顯示訊號傳輸路徑被切斷的狀態下,該系統模組持續經由該連接介面從該顯示裝置接收該電源。The host device according to claim 6, wherein the system module continues to receive the power from the display device through the connection interface when the display signal transmission path is cut off. 如請求項6所述的主機裝置,其中該系統模組包括電源管理介面,且該重置控制器偵測該主機裝置的該操作模式是否從該第二模式切換回該第一模式的操作包括: 偵測該電源管理介面的電壓準位;以及 根據該電壓準位的變化判斷該主機裝置的該操作模式是否從該第二模式切換回該第一模式。 The host device as described in claim 6, wherein the system module includes a power management interface, and the operation of the reset controller detecting whether the operation mode of the host device is switched back to the first mode from the second mode includes : detecting the voltage level of the power management interface; and Whether the operation mode of the host device is switched back to the first mode from the second mode is determined according to the change of the voltage level. 如請求項6所述的主機裝置,其中該重置控制器重置該連接介面上的該電源的操作包括: 切斷該主機裝置與該顯示裝置之間的電源傳輸路徑;以及 在切斷該電源傳輸路徑後,恢復該電源傳輸路徑。 The host device as claimed in item 6, wherein the operation of the reset controller to reset the power on the connection interface comprises: cutting off the power transmission path between the host device and the display device; and After the power transmission path is cut off, the power transmission path is restored. 如請求項6所述的主機裝置,其中該系統模組更用以: 響應於該電源之重置,經由該連接介面重新與該顯示裝置執行交握程序,以恢復該顯示訊號傳輸路徑。 The host device as described in claim 6, wherein the system module is further used for: In response to the reset of the power supply, re-execute the handshake procedure with the display device via the connection interface, so as to restore the display signal transmission path.
TW110148662A 2021-12-24 2021-12-24 Device control method and host device TW202326455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110148662A TW202326455A (en) 2021-12-24 2021-12-24 Device control method and host device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110148662A TW202326455A (en) 2021-12-24 2021-12-24 Device control method and host device

Publications (1)

Publication Number Publication Date
TW202326455A true TW202326455A (en) 2023-07-01

Family

ID=88147639

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110148662A TW202326455A (en) 2021-12-24 2021-12-24 Device control method and host device

Country Status (1)

Country Link
TW (1) TW202326455A (en)

Similar Documents

Publication Publication Date Title
US9684361B2 (en) Devices routing wakeup signals using physical layer directly to power management circuit without waking up link layer
TWI547784B (en) Method of dynamically adjusting bus clock and device thereof
US9223732B2 (en) Apparatus and method of recognizing external device in a communication system
CN108920397B (en) Device identification method and device, storage medium and electronic device
CN110018976B (en) Method for USB master device to respond to USB slave device and related device
TWI479303B (en) Sleep status controlling system, computer system, and sleep status detecting method thereof
US20150067365A1 (en) Information processing apparatus, information processing system, and power control method
TWI451380B (en) Electronic apparatus and method for using flat panel display
US9570922B2 (en) Charging method and electronic device
US9645627B2 (en) Computer stick docking system and power management method thereof
TW202326455A (en) Device control method and host device
US10571992B2 (en) Electronic device having a controller to enter a low power mode
TWI719461B (en) Server power managing method and system thereof
US8370653B2 (en) Motherboard capable of playing image or video in power-off state
TWI559134B (en) Computing system and method for respectively displaying information corresponding to host under booting state or standby state
TW201535100A (en) Electronic device and power management method
TWI536160B (en) Electronic Device Capable of Turning off Built-In USB Hub to Lower Electric Power Consumption
TWI839237B (en) A method for performing dynamic traffic shaping and a device thereof
TWI381276B (en) Computer apparatus
WO2018133410A1 (en) Power management circuit, electronic device, and method for controlling electronic device
CN220829710U (en) KVM switch
CN210295081U (en) Electronic device
CN218213950U (en) Mainboard based on godson LS7A2000 controller
CN108733418A (en) Electronic system and control method
TWI391825B (en) Processing module, operation system and processing method utilizing the same