TW202105960A - Remote wake-up method and remote wake-up system - Google Patents

Remote wake-up method and remote wake-up system Download PDF

Info

Publication number
TW202105960A
TW202105960A TW108126256A TW108126256A TW202105960A TW 202105960 A TW202105960 A TW 202105960A TW 108126256 A TW108126256 A TW 108126256A TW 108126256 A TW108126256 A TW 108126256A TW 202105960 A TW202105960 A TW 202105960A
Authority
TW
Taiwan
Prior art keywords
wake
remote
network interface
network
display signal
Prior art date
Application number
TW108126256A
Other languages
Chinese (zh)
Other versions
TWI706645B (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 TW108126256A priority Critical patent/TWI706645B/en
Application granted granted Critical
Publication of TWI706645B publication Critical patent/TWI706645B/en
Publication of TW202105960A publication Critical patent/TW202105960A/en

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Power Sources (AREA)

Abstract

A remote wake-up method is adapted to a remote client via a network. The remote client at least includes a first network interface. The first network interface is connected to the network. The first network interface supports Wake-on-LAN function. The remote client transfers a display signal to the remote client to a display content stream, and utilizes the first network interface to output the display content stream via the network. The method includes: sending a remote control package to the remote client via the network, and according to a response of the first network interface determining whether the remote client in power-on; determining whether the response of the first network interface includes the display content stream; if the response does not include the display content stream, sending a wake-up package to wake the remote client up; and if the includes the display content stream, displaying a remote screen according to the display content stream.

Description

遠端喚醒方法以及遠端喚醒系統Remote wake-up method and remote wake-up system

本發明有關於遠端控制,特別是關於一種遠端喚醒方法以及遠端喚醒系統。The present invention relates to remote control, in particular to a remote wake-up method and remote wake-up system.

放置伺服器主機的機房,通常不會有操作人員直接進入。操作伺服器主機的方式,通常是利用一遠端電腦作為控制終端機,安裝遠端控制軟體以網路連接方式,對伺服器主機進行遠端操作。The computer room where the server host is placed is usually not directly accessible by operators. The way to operate the server host is usually to use a remote computer as a control terminal, install remote control software to connect to the server host remotely.

伺服器主機也必須安裝對應的被控端軟體並載入執行,才能被遠端電腦進行控制。但是,被控端軟體必須是伺服器主機處於正常開機狀態下才能正常運作。若伺服器主機處於休眠狀態或是關機狀態,遠端電腦無法透過遠端控制軟體對伺服器主機進行喚醒。有時,伺服器主機也有可能處於當機狀態,導致遠端控制軟體無法控制。The server host must also install the corresponding controlled end software and load it for execution before it can be controlled by the remote computer. However, the software on the controlled end must be in a normal boot state for the server host to operate normally. If the server host is in hibernation or shutdown state, the remote computer cannot wake up the server host through the remote control software. Sometimes, the server host may also be in a down state, causing the remote control software to lose control.

因此,位於遠端操作伺服器主機的人員,往往無法利用連線狀態判斷伺服器處於休眠或是當機狀態,造成除錯困難。Therefore, people who are remotely operating the server host often cannot use the connection status to determine whether the server is in a dormant or down state, which causes debugging difficulties.

鑑於上述問題,本發明提出一種遠端喚醒方法,係可於進行遠端控制之前,自動測試被控端狀態,而自動對被控端執行開機或喚醒作業。In view of the above-mentioned problems, the present invention proposes a remote wake-up method, which can automatically test the state of the controlled terminal before performing remote control, and automatically perform a startup or wake-up operation on the controlled terminal.

本發明提出一種遠端喚醒方法,適用於透過一網路喚醒一被控端,被控端至少具有一第一網路介面,第一網路介面連接於網路,且第一網路介面具有一網路喚醒功能,被控端可轉換被控端的一顯示訊號為一顯示訊號串流,透過第一網路介面經由網路輸出。方法包含:透過網路對被控端發出一遠端控制封包,依據第一網路介面的一回應判斷被控端的電源狀態是否為開啟;判斷第一網路介面的回應是否包含顯示訊號串流;若回應不包含顯示訊號串流,對第一網路介面發出一喚醒封包,以喚醒被控端;以及若回應包含顯示訊號串流,依據顯示訊號串流顯示一遠端畫面。The present invention provides a remote wake-up method, which is suitable for waking up a controlled terminal through a network. The controlled terminal has at least a first network interface, the first network interface is connected to the network, and the first network interface has With a wake-on-LAN function, the controlled end can convert a display signal of the controlled end into a display signal stream, which is output via the network through the first network interface. The method includes: sending a remote control packet to the controlled end through the network, judging whether the power state of the controlled end is on according to a response of the first network interface; judging whether the response of the first network interface includes a display signal stream ; If the response does not include the display signal stream, a wake-up packet is sent to the first network interface to wake up the controlled end; and if the response includes the display signal stream, a remote screen is displayed according to the display signal stream.

於至少一實施例中,於發出遠端控制封包之前,更包含依據被控端,找出對應的一網路位址以及一連線授權資訊,以發出遠端控制封包。In at least one embodiment, before sending the remote control packet, it further includes finding a corresponding network address and a connection authorization information according to the controlled end to send the remote control packet.

於至少一實施例中,遠端控制封包為一輸入裝置所產生的一輸入碼,且輸入碼不變更被控端的一作業系統或執行中一服務應用程式的執行狀態。In at least one embodiment, the remote control packet is an input code generated by an input device, and the input code does not change the execution status of an operating system of the controlled terminal or a running service application.

於至少一實施例中,輸入碼為一虛擬按鍵碼或一游標移動指令。In at least one embodiment, the input code is a virtual key code or a cursor movement command.

於至少一實施例中,當被控端未回應遠端控制封包,或回應的內容包含被控端為關機的一旗標,產生一未通電訊息。In at least one embodiment, when the controlled terminal does not respond to the remote control packet, or the response includes a flag indicating that the controlled terminal is shut down, an unpowered message is generated.

於至少一實施例中,更包含產生一遠端開機封包,傳送至第一網路介面,使第一網路介面開啟被控端的電源。In at least one embodiment, it further includes generating a remote boot packet and sending it to the first network interface, so that the first network interface turns on the power of the controlled terminal.

於至少一實施例中,於發出喚醒封包之後,重新判斷回應是否包含顯示訊號串流。In at least one embodiment, after the wake-up packet is sent, it is re-determined whether the response includes the display signal stream.

於至少一實施例中,若喚醒封包的發出次數大於一門檻值,且回應仍不包含顯示訊號串流,產生一錯誤訊息。In at least one embodiment, if the number of times the wake-up packet is sent is greater than a threshold and the response still does not include the display signal stream, an error message is generated.

本發明還提出一種遠端喚醒系統,包含一被控端以及一主控端。被控端具有一第一網路介面,第一網路介面連接於網路,且第一網路介面具有一網路喚醒功能;被控端可轉換一顯示訊號為一顯示訊號串流,透過第一網路介面經由網路輸出,且第一網路介面用以回應一遠端控制封包。主控端具有一第二網路介面以及一顯示介面,主控端透過第二網路介面經由網路發出遠端控制封包。The present invention also provides a remote wake-up system, which includes a controlled terminal and a master terminal. The controlled end has a first network interface, the first network interface is connected to the network, and the first network interface has a Wake-on-LAN function; the controlled end can convert a display signal into a display signal stream, through The first network interface is output via the network, and the first network interface is used to respond to a remote control packet. The host has a second network interface and a display interface, and the host sends remote control packets via the network through the second network interface.

其中,當第一網路介面的回應顯示被控端的電源狀態為開啟,但回應不包含顯示訊號串流,主控端透過第二網路介面對第一網路介面發出一喚醒封包;當回應包含顯示訊號串流,主控端依據顯示訊號串流,驅動顯示介面顯示一遠端畫面。Among them, when the response of the first network interface shows that the power status of the controlled terminal is on, but the response does not include the display signal stream, the master sends a wake-up packet to the first network interface through the second network interface; Contains the display signal stream, and the host terminal drives the display interface to display a remote screen according to the display signal stream.

於至少一實施例中,於發出遠端控制封包之前,主控端依據被控端,找出對應的一網路位址以及一連線授權資訊,以發出遠端控制封包。In at least one embodiment, before sending the remote control packet, the host terminal finds a corresponding network address and a connection authorization information according to the controlled terminal to send the remote control packet.

於至少一實施例中,遠端控制封包為一輸入裝置所產生的一輸入碼,且輸入碼不變更被控端的一作業系統或執行中一服務應用程式的執行狀態。In at least one embodiment, the remote control packet is an input code generated by an input device, and the input code does not change the execution status of an operating system of the controlled terminal or a running service application.

於至少一實施例中,輸入碼為一虛擬按鍵碼或一游標移動指令。In at least one embodiment, the input code is a virtual key code or a cursor movement command.

於至少一實施例中,當被控端未回應遠端控制封包,或回應的內容包含被控端為關機的一旗標,主控端產生一未通電訊息,顯示於顯示介面。In at least one embodiment, when the controlled terminal does not respond to the remote control packet, or the content of the response includes a flag indicating that the controlled terminal is shut down, the controlling terminal generates an unpowered message and displays it on the display interface.

於至少一實施例中,主控端產生一遠端開機封包,傳送至第一網路介面,使第一網路介面開啟被控端的電源。In at least one embodiment, the host generates a remote boot packet and sends it to the first network interface, so that the first network interface turns on the power of the controlled end.

於至少一實施例中,於發出喚醒封包之後,主控端重新判斷回應是否包含顯示訊號串流。In at least one embodiment, after sending the wake-up packet, the host re-determines whether the response includes a display signal stream.

於至少一實施例中,若喚醒封包的發出次數大於一門檻值,且回應仍不包含顯示訊號串流,主控端產生一錯誤訊息,並顯示於顯示介面。In at least one embodiment, if the number of times the wake-up packet is sent is greater than a threshold and the response still does not include the display signal stream, the host generates an error message and displays it on the display interface.

通過本發明的遠端喚醒方法以及遠端喚醒系統,於進行遠端控制的連線作業時,作為本地端的主控端可以自動對被控端的電源狀態或開機狀態進行測試判斷,而自動執行必要的遠端開機或喚醒作業。因此,可以簡化本地端使用者對於主控端的操作,且不需自行判斷被控端的狀態。Through the remote wake-up method and remote wake-up system of the present invention, when performing remote control connection operations, the master control end as the local end can automatically test and determine the power state or boot state of the controlled end, and automatically execute the necessary Remote boot or wake-up operations. Therefore, the operations of the local user on the master terminal can be simplified, and there is no need to judge the status of the controlled terminal by themselves.

請參閱圖1、圖2以及圖3所示,為本發明實施例所揭露的一種遠端喚醒系統1,包含一被控端100以及一主控端200。Please refer to FIG. 1, FIG. 2 and FIG. 3, which are a remote wake-up system 1 disclosed in an embodiment of the present invention, which includes a controlled terminal 100 and a master terminal 200.

如圖1以及圖2所示,被控端100的一具體實施例是一伺服器主機,用於運行一或多個服務應用程式。被控端100可以是一獨立的電腦所構成的伺服器主機,也可以是由多個電腦(或多主機板)結合而成的運算叢集。具體而言,被控端100至少包含一第一中央處理器110、一第一記憶體120、一第一儲存裝置130、一第一繪圖晶片140以及一第一網路介面150。第一記憶體120、第一儲存裝置130、第一繪圖晶片140以及第一網路介面150直接地或間接地電性連接於第一中央處理器110。第一中央處理器110由第一儲存裝置130(例如硬碟機)載入作業系統、服務應用程式以及被控端100程式碼,並以第一記憶體120為暫存空間執行作業系統、服務應用程式以及被控端100程式碼。因此,被控端100提供遠端被控功能,並且透過第一網路介面150接收遠端控制封包。As shown in FIGS. 1 and 2, a specific embodiment of the controlled terminal 100 is a server host for running one or more service applications. The controlled end 100 may be a server host composed of an independent computer, or may be a computing cluster formed by a combination of multiple computers (or multiple motherboards). Specifically, the controlled terminal 100 at least includes a first central processing unit 110, a first memory 120, a first storage device 130, a first graphics chip 140, and a first network interface 150. The first memory 120, the first storage device 130, the first graphics chip 140, and the first network interface 150 are directly or indirectly electrically connected to the first central processing unit 110. The first central processing unit 110 loads the operating system, service application programs, and the program code of the controlled terminal 100 from the first storage device 130 (such as a hard disk drive), and uses the first memory 120 as a temporary storage space to execute the operating system and services Application program and 100 program code of the controlled terminal. Therefore, the controlled terminal 100 provides a remote controlled function, and receives remote control packets through the first network interface 150.

如圖1以及圖3所示,主控端200可以是但不限定於桌上型電腦、筆記型電腦平板電腦或智慧型手機。主控端200至少包含一第二中央處理器210、一第二記憶體220、一第二儲存裝置230、一第二繪圖晶片240以及一第二網路介面250。主控端200並透過第二繪圖晶片240電性連接於一顯示介面300(顯示器或觸控顯示面板)。第二中央處理器210由第二儲存裝置230載入作業系統以及遠端控制程式碼,以執行遠端控制功能,透過第二網路介面250輸出遠端控制封包。同時,依據第二網路介面250所接收的顯示訊號串流,第二中央處理器210驅動第二繪圖晶片240產生對應的本地端顯示訊號,而驅動顯示介面300顯示遠端畫面。As shown in FIG. 1 and FIG. 3, the main control terminal 200 can be, but is not limited to, a desktop computer, a laptop tablet computer, or a smart phone. The main control terminal 200 at least includes a second central processing unit 210, a second memory 220, a second storage device 230, a second graphics chip 240, and a second network interface 250. The main control terminal 200 is also electrically connected to a display interface 300 (display or touch display panel) through the second graphics chip 240. The second central processing unit 210 loads the operating system and the remote control program code from the second storage device 230 to perform the remote control function, and outputs the remote control packet through the second network interface 250. At the same time, according to the display signal stream received by the second network interface 250, the second CPU 210 drives the second graphics chip 240 to generate corresponding local display signals, and drives the display interface 300 to display remote images.

圖1中所示的被控端100以及主控端200雖為一對一的連接關係,但實際上可以是一對多、多對一或多對多的連接關係。Although the controlled terminal 100 and the master terminal 200 shown in FIG. 1 have a one-to-one connection relationship, they can actually be a one-to-many, many-to-one, or many-to-many connection relationship.

如圖1以及圖2所示,被控端100可依據作業系統的設定或手動操作,進入休眠狀態。第一網路介面150具有網路喚醒功能,在被控端100進入休眠狀態後仍維持運作,以在接收遠端控制封包後,回應遠端控制封包。第一網路介面150分析遠端控制封包內容以及被控端100當前狀態,以決定是否喚醒被控端100。依據第一中央處理器110所執行的作業系統以及被控端100程式碼,被控端100的第一中央處理器110或第一繪圖晶片140轉換本地端的顯示訊號為一顯示訊號串流,透過第一網路介面150輸出至指定的主控端200。As shown in FIG. 1 and FIG. 2, the controlled terminal 100 can enter the dormant state according to the setting of the operating system or manual operation. The first network interface 150 has a Wake-on-LAN function, and maintains operation after the controlled end 100 enters the sleep state, so as to respond to the remote control packet after receiving the remote control packet. The first network interface 150 analyzes the content of the remote control packet and the current state of the controlled terminal 100 to determine whether to wake up the controlled terminal 100. According to the operating system executed by the first CPU 110 and the code of the controlled terminal 100, the first CPU 110 or the first graphics chip 140 of the controlled terminal 100 converts the display signal of the local terminal into a display signal stream. The first network interface 150 outputs to the designated host 200.

如圖1以及圖3所示,主控端200透過第二網路介面250發出遠端控制封包,並接收第一網路介面150的回應。當第一網路介面150的回應不包含顯示訊號串流時,代表被控端100處於休眠狀態,主控端200透過第二網路介面250對第一網路介面150發出一喚醒封包,以喚醒被控端100。被控端100被喚醒後可開始輸出顯示訊號串流。當回應包含顯示訊號串流,主控端200依據顯示訊號串流,驅動顯示介面300顯示一遠端畫面,以準備進行遠端控制作業。主控端200將持續依據使用者於主控端200的操作,輸出對應的遠端控制封包,並顯示遠端畫面。As shown in FIGS. 1 and 3, the host 200 sends a remote control packet through the second network interface 250 and receives a response from the first network interface 150. When the response of the first network interface 150 does not include the display signal stream, it means that the controlled terminal 100 is in a dormant state, and the control terminal 200 sends a wake-up packet to the first network interface 150 through the second network interface 250 to Wake up the controlled end 100. After being awakened, the controlled terminal 100 can start to output a display signal stream. When the response includes a display signal stream, the host 200 drives the display interface 300 to display a remote screen according to the display signal stream, so as to prepare for remote control operations. The host 200 will continue to output corresponding remote control packets and display the remote screen according to the user's operations on the host 200.

參閱圖4所示,為本發明遠端喚醒方法的流程圖,應用於主控端200,以透過網路喚醒被控端100。Refer to FIG. 4, which is a flowchart of the remote wake-up method of the present invention, which is applied to the control terminal 200 to wake up the controlled terminal 100 through the network.

結合參照圖1、圖2以及圖3所示,首先,於主控端200執行遠端控制程式碼之後,使用者可開始執行遠端控制功能,選擇要進行遠端操作的一被控端100。此時,主控端200依據使用者所選擇的被控端100,找出對應的網路位址以及必要的連線授權資訊,驅動第二網路介面250透過網路對被控端100發出一遠端控制封包,如步驟Step 110所示。With reference to Figure 1, Figure 2 and Figure 3, first, after the host 200 executes the remote control code, the user can start to execute the remote control function and select a controlled end 100 to perform remote operation. . At this time, the host 200 finds the corresponding network address and necessary connection authorization information according to the controlled terminal 100 selected by the user, and drives the second network interface 250 to send to the controlled terminal 100 via the network A remote control packet, as shown in step 110.

前述的遠端控制封包,可為但不限定於一連線請求封包。在某些情況下,主控端200與被控端100之間的連線已經被建立,但主控端200對於被控端100的遠端控制被閒置過久。此時,為了避免持續更新主控端200的顯示畫面而造成不必要的網路流量,被控端100可以主動地或被動地暫停輸出顯示訊號串流,而讓主控端200的顯示畫面暫時凍結。這時候,遠端控制封包可以是主控端200使用者透過輸入裝置400產生的輸入碼,例如鍵盤發出的一虛擬按鍵碼或滑鼠移動所發出的一游標移動指令。輸入碼不論是虛擬按鍵碼或游標移動指令,都不涉及變更被控端100的作業系統或執行中一服務應用程式的執行狀態,以避免影響被控端100的運作。通常,游標移動指令僅涉及游標的移動,因此不會改變被控端100的執行狀態。鍵盤發出的虛擬按鍵碼,較佳的是對應於未定義使用的按鍵,例如功能鍵F1~F12中未定義功能的按鍵;或是,虛擬按鍵碼可以是具有按鍵碼的格式,但是不對應於鍵盤上任一按鍵。The aforementioned remote control packet can be, but is not limited to, a connection request packet. In some cases, the connection between the control terminal 200 and the controlled terminal 100 has been established, but the remote control of the controlled terminal 100 by the control terminal 200 has been idle for too long. At this time, in order to avoid unnecessary network traffic caused by continuously updating the display screen of the host 200, the controlled end 100 can actively or passively suspend the output of the display signal stream, so that the display screen of the host 200 is temporarily freeze. At this time, the remote control packet may be an input code generated by the user of the host 200 through the input device 400, such as a virtual key code issued by a keyboard or a cursor movement command issued by a mouse movement. Whether the input code is a virtual key code or a cursor movement command, it does not involve changing the operating system of the controlled terminal 100 or the execution status of a service application in execution, so as to avoid affecting the operation of the controlled terminal 100. Generally, the cursor movement instruction only involves the movement of the cursor, and therefore does not change the execution state of the controlled terminal 100. The virtual key code issued by the keyboard preferably corresponds to the keys that are not defined for use, such as the keys with undefined functions in the function keys F1~F12; or, the virtual key code can be in the format of the key code, but does not correspond to Any key on the keyboard.

遠端控制封包的基本格式,會包含連線授權資訊以及控制指令內容。連線授權資訊包含但不限定於主控端200的識別碼、被控端100的識別碼以及連線授權碼。第一網路介面150在持續監聽網路封包的過程中,會比對前述的主控端200的識別碼、被控端100的識別碼以及連線授權碼,以判斷是否為容許的主控端200對被控端100發出的遠端控制封包,並予以回應。而控制指令內容則包含游標移動指令或按鍵碼等在主控端200的輸入介面所進行的操作。同時,第一網路介面150係被設定為接收遠端控制封包,會回應被控端100的電源狀態,前述的電源狀態則由電源供應器的狀態腳位取得。因此,只要電源供應器有連接外部電源而可供應電力,第一網路介面150即可單獨運作,以回應遠端控制封包。The basic format of the remote control packet will include connection authorization information and control command content. The connection authorization information includes, but is not limited to, the identification code of the host 200, the identification code of the controlled terminal 100, and the connection authorization code. In the process of continuously monitoring network packets, the first network interface 150 compares the identification code of the host 200, the identification code of the controlled end 100, and the connection authorization code to determine whether it is an allowable host. The terminal 200 responds to the remote control packet sent by the controlled terminal 100. The content of the control instruction includes operations performed on the input interface of the main control terminal 200 such as cursor movement instructions or key codes. At the same time, the first network interface 150 is configured to receive remote control packets and respond to the power status of the controlled terminal 100. The aforementioned power status is obtained by the status pin of the power supply. Therefore, as long as the power supply is connected to an external power source and can supply power, the first network interface 150 can operate independently to respond to remote control packets.

接著,透過第二網路介面250接收外來網路封包,分析第一網路介面150的回應,以判斷被控端100的電源狀態是否為開啟,如步驟Step 120所示。Then, the external network packet is received through the second network interface 250, and the response of the first network interface 150 is analyzed to determine whether the power state of the controlled terminal 100 is on, as shown in step 120.

當被控端100未回應遠端控制封包,或回應的封包內容包含被控端100為關機的旗標,代表被控端100的電源狀態為關機狀態。此時,主控端200的第一中央處理器110產生一未通電訊息,並以第二繪圖晶片240驅動顯示介面300顯示未通電訊息,如步驟Step 130所示。接著,主控端200的第二中央處理器210進一步產生一遠端開機封包,透過第二網路介面250傳送至第一網路介面150,使第一網路介面150開啟被控端100的電源,如步驟Step140所示。接著,主控端200重新送出用於建立遠端控制連線的遠端控制封包。步驟Step 140也可以是發出遠端通知,通知位於遠端的人員對被控端100進行手動開機。When the controlled terminal 100 does not respond to the remote control packet, or the content of the response packet contains a flag indicating that the controlled terminal 100 is shut down, it means that the power state of the controlled terminal 100 is the shutdown state. At this time, the first CPU 110 of the main control terminal 200 generates an unpowered message, and drives the display interface 300 with the second graphics chip 240 to display the unpowered message, as shown in Step 130. Then, the second CPU 210 of the host 200 further generates a remote boot packet, which is sent to the first network interface 150 through the second network interface 250, so that the first network interface 150 opens the control terminal 100 Power supply, as shown in Step 140. Then, the host 200 resends a remote control packet for establishing a remote control connection. Step 140 may also be to send a remote notification to notify a person at the remote end to manually power on the controlled terminal 100.

接著,主控端200依據第二中央處理器210所執行的遠端控制程式碼,判斷第一網路介面150的回應是否包含被控端100的顯示訊號串流,如步驟Step 150所示。Then, the host 200 determines whether the response of the first network interface 150 includes the display signal stream of the controlled end 100 according to the remote control program code executed by the second central processing unit 210, as shown in Step 150.

若回應不包含顯示訊號串流,代表被控端100處於通電但休眠的狀態,因此不產生顯示訊號串流以透過第一網路介面150輸出。此時,主控端200驅動第二網路介面250對第一網路介面150發出一喚醒封包,以喚醒被控端100,如步驟Step 160所示。If the response does not include the display signal stream, it means that the controlled terminal 100 is in a power-on but dormant state, so the display signal stream is not generated to output through the first network interface 150. At this time, the host 200 drives the second network interface 250 to send a wake-up packet to the first network interface 150 to wake up the controlled terminal 100, as shown in step 160.

接著重新判斷第一網路介面150的回應是否包含被控端100的顯示訊號串流,若回應包含顯示訊號串流,依據顯示訊號串流顯示一遠端畫面,如步驟Step 170所示。Then re-determine whether the response of the first network interface 150 includes the display signal stream of the controlled terminal 100, and if the response includes the display signal stream, a remote screen is displayed according to the display signal stream, as shown in Step 170.

在重新於步驟Step 150判斷第一網路介面150的回應是否包含被控端100的顯示訊號串流,可進一步判斷是否已經喚醒過被控端100。若喚醒封包的發出次數大於一門檻值,且回應仍不包含顯示訊號串流,被控端100可能已經處於當機狀態而無法產生顯示訊號串流。此時,主控端200的第二中央處理器210產生一錯誤訊息,以透過第二繪圖晶片240驅動顯示介面300顯示。此時,使用者就可以直接得知被控端100已經處於不正常狀態(當機狀態),而不需自行重複測試後才能判斷。In step 150, it is determined whether the response of the first network interface 150 includes the display signal stream of the controlled terminal 100, and it can be further determined whether the controlled terminal 100 has been awakened. If the number of times the wake-up packet is sent is greater than a threshold, and the response still does not include the display signal stream, the controlled terminal 100 may already be in a down state and cannot generate the display signal stream. At this time, the second CPU 210 of the host 200 generates an error message to drive the display interface 300 to display through the second graphics chip 240. At this time, the user can directly know that the controlled terminal 100 is already in an abnormal state (down state), and does not need to repeat the test to make a judgment.

前述重新判斷的具體實施方式,可於步驟Step 150與步驟Step 160之間,加入步驟Step 152。於步驟Step 152中,設定門檻值,例如5,作為喚醒封包的發出次數的上限。若喚醒被控端100的重試次數不大於5次,亦即喚醒封包的發出次數不大於5次,則主控端200進入步驟Step 160發出喚醒封包重新對被控端100進行喚醒。若喚醒封包的發出次數大於門檻值,亦即大於5次,且被控端100的回應仍不包含顯示訊號串流,則主控端200判斷被控端100處於不正常狀態(當機狀態),而產生錯誤訊息,如步驟Step 180所示。設定適當的重試次數,可以避免被控端100反應過慢,或是網路障礙造成封包漏失時,顯示訊號串流延遲的發出致使被控端100被誤判為當機。同時,自動重試也可以簡化使用者利用主控端200進行遠端控制的步驟,不需自行判斷被控端100是否能正常運作。The foregoing specific implementation of the re-judgment may include step 152 between step 150 and step 160. In Step 152, a threshold value, such as 5, is set as the upper limit of the number of times the wake-up packet is sent. If the number of retries for waking the controlled terminal 100 is not more than 5, that is, the number of times the wake-up packet is sent is not more than 5, the master 200 enters Step 160 to issue a wake-up packet to wake up the controlled terminal 100 again. If the number of times the wake-up packet is sent is greater than the threshold, that is, greater than 5 times, and the response of the controlled end 100 still does not include the display signal stream, the control end 200 determines that the controlled end 100 is in an abnormal state (down state) , And an error message is generated, as shown in Step 180. Setting a proper number of retries can prevent the controlled terminal 100 from responding too slowly, or when the network obstacle causes packet loss, the delayed transmission of the display signal stream causes the controlled terminal 100 to be misjudged as a crash. At the same time, the automatic retry can also simplify the steps for the user to perform remote control using the master terminal 200, without the need to determine whether the controlled terminal 100 can operate normally.

通過本發明的遠端喚醒方法以及遠端喚醒系統,於進行遠端控制的連線作業時,作為本地端的主控端可以自動對被控端的電源狀態或開機狀態進行測試判斷,而自動執行必要的遠端開機或喚醒作業。因此,可以簡化本地端使用者對於主控端的操作,且不需自行判斷被控端的狀態。Through the remote wake-up method and remote wake-up system of the present invention, when performing remote control connection operations, the master control end as the local end can automatically test and determine the power state or boot state of the controlled end, and automatically execute the necessary Remote boot or wake-up operations. Therefore, the operations of the local user on the master terminal can be simplified, and there is no need to judge the status of the controlled terminal by themselves.

1:遠端喚醒系統 100:被控端 110:第一中央處理器 120:第一記憶體 130:第一儲存裝置 140:第一繪圖晶片 150:第一網路介面 200:主控端 210:第二中央處理器 220:第二記憶體 230:第二儲存裝置 240:第二繪圖晶片 250:第二網路介面 300:顯示介面 400:輸入裝置 Step 110~Step 180:步驟 1: Remote wake-up system 100: controlled end 110: The first central processing unit 120: first memory 130: The first storage device 140: The first graphics chip 150: The first network interface 200: master 210: second central processing unit 220: second memory 230: second storage device 240: second graphics chip 250: second network interface 300: display interface 400: Input device Step 110~Step 180: Step

圖1是本發明實施例中,遠端喚醒系統的系統方塊圖。 圖2是本發明實施例中,被控端的電路方塊圖。 圖3是本發明實施例中,主控端的電路方塊圖。 圖4是本發明實施例中,遠端喚醒方法的流程圖。Fig. 1 is a system block diagram of a remote wake-up system in an embodiment of the present invention. Fig. 2 is a circuit block diagram of the controlled terminal in the embodiment of the present invention. Fig. 3 is a circuit block diagram of the main control terminal in an embodiment of the present invention. Fig. 4 is a flowchart of a remote wake-up method in an embodiment of the present invention.

Step 110~Step 180:步驟 Step 110~Step 180: Step

Claims (16)

一種遠端喚醒方法,適用於透過一網路喚醒一被控端,該被控端至少具有一第一網路介面,該第一網路介面連接於該網路,且該第一網路介面具有一網路喚醒功能,該被控端可轉換該被控端的一顯示訊號為一顯示訊號串流,透過該第一網路介面經由該網路輸出,該方法包含: 透過該網路對該被控端發出一遠端控制封包,依據該第一網路介面的一回應判斷該被控端的電源狀態是否為開啟; 判斷該第一網路介面的該回應是否包含該顯示訊號串流; 若該回應不包含該顯示訊號串流,對該第一網路介面發出一喚醒封包,以喚醒該被控端;以及 若該回應包含該顯示訊號串流,依據該顯示訊號串流顯示一遠端畫面。A remote wake-up method is suitable for waking up a controlled terminal through a network, the controlled terminal has at least a first network interface, the first network interface is connected to the network, and the first network interface With a network wake-up function, the controlled end can convert a display signal of the controlled end into a display signal stream, and output via the network through the first network interface. The method includes: Send a remote control packet to the controlled terminal through the network, and determine whether the power state of the controlled terminal is on according to a response of the first network interface; Determining whether the response of the first network interface includes the display signal stream; If the response does not include the display signal stream, send a wake-up packet to the first network interface to wake up the controlled end; and If the response includes the display signal stream, a remote screen is displayed according to the display signal stream. 如請求項1所述的遠端喚醒方法,其中,於發出該遠端控制封包之前,更包含依據該被控端,找出對應的一網路位址以及一連線授權資訊,以發出該遠端控制封包。The remote wake-up method according to claim 1, wherein, before sending the remote control packet, it further includes finding a corresponding network address and a connection authorization information according to the controlled end, so as to send the Remote control packets. 如請求項1所述的遠端喚醒方法,其中,該遠端控制封包為一輸入裝置所產生的一輸入碼,且該輸入碼不變更該被控端的一作業系統或執行中一服務應用程式的執行狀態。The remote wake-up method according to claim 1, wherein the remote control packet is an input code generated by an input device, and the input code does not change an operating system of the controlled terminal or a service application program in execution The execution status. 如請求項3所述的遠端喚醒方法,其中,該輸入碼為一虛擬按鍵碼或一游標移動指令。The remote wake-up method according to claim 3, wherein the input code is a virtual key code or a cursor movement command. 如請求項1所述的遠端喚醒方法,其中,當該被控端未回應該遠端控制封包,或該回應的內容包含該被控端為關機的一旗標,產生一未通電訊息。The remote wake-up method according to claim 1, wherein when the controlled end does not respond to the remote control packet, or the content of the response includes a flag that the controlled end is shut down, an unpowered message is generated. 如請求項5所述的遠端喚醒方法,其中,更包含產生一遠端開機封包,傳送至該第一網路介面,使該第一網路介面開啟該被控端的電源。The remote wake-up method according to claim 5, further comprising generating a remote boot packet and sending it to the first network interface, so that the first network interface turns on the power of the controlled terminal. 如請求項1所述的遠端喚醒方法,其中,於發出該喚醒封包之後,重新判斷該回應是否包含該顯示訊號串流。The remote wake-up method according to claim 1, wherein after the wake-up packet is sent, it is determined whether the response includes the display signal stream. 如請求項1所述的遠端喚醒方法,其中,若該喚醒封包的發出次數大於一門檻植,且該回應仍不包含該顯示訊號串流,產生一錯誤訊息。The remote wake-up method according to claim 1, wherein if the number of times the wake-up packet is sent is greater than a threshold and the response still does not include the display signal stream, an error message is generated. 一種遠端喚醒系統,包含: 一被控端,具有一第一網路介面,該第一網路介面連接於該網路,且該第一網路介面具有一網路喚醒功能;該被控端可轉換一顯示訊號為一顯示訊號串流,透過該第一網路介面經由該網路輸出,且該第一網路介面用以回應一遠端控制封包;以及 一主控端,具有一第二網路介面以及一顯示介面,該主控端透過該第二網路介面經由該網路發出該遠端控制封包; 其中,當該第一網路介面的該回應顯示該被控端的電源狀態為開啟,但該回應不包含該顯示訊號串流,該主控端透過該第二網路介面對該第一網路介面發出一喚醒封包;當該回應包含該顯示訊號串流,該主控端依據該顯示訊號串流,驅動該顯示介面顯示一遠端畫面。A remote wake-up system, including: A controlled terminal has a first network interface, the first network interface is connected to the network, and the first network interface has a wake-on-LAN function; the controlled terminal can convert a display signal to a Display a signal stream, output via the network through the first network interface, and the first network interface is used to respond to a remote control packet; and A host having a second network interface and a display interface, the host sending the remote control packet via the network through the second network interface; Wherein, when the response of the first network interface shows that the power state of the controlled end is on, but the response does not include the display signal stream, the control end faces the first network through the second network interface The interface sends out a wake-up packet; when the response includes the display signal stream, the host drives the display interface to display a remote screen according to the display signal stream. 如請求項9所述的遠端喚醒系統,其中,於發出該遠端控制封包之前,該主控端依據該被控端,找出對應的一網路位址以及一連線授權資訊,以發出該遠端控制封包。The remote wake-up system according to claim 9, wherein, before sending the remote control packet, the host finds a corresponding network address and a connection authorization information according to the controlled end to Send the remote control packet. 如請求項9所述的遠端喚醒系統,其中,該遠端控制封包為一輸入裝置所產生的一輸入碼,且該輸入碼不變更該被控端的一作業系統或執行中一服務應用程式的執行狀態。The remote wake-up system according to claim 9, wherein the remote control packet is an input code generated by an input device, and the input code does not change an operating system of the controlled end or a service application program in execution The execution status. 如請求項11所述的遠端喚醒系統,其中,該輸入碼為一虛擬按鍵碼或一游標移動指令。The remote wake-up system according to claim 11, wherein the input code is a virtual key code or a cursor movement command. 如請求項9所述的遠端喚醒系統,其中,當該被控端未回應該遠端控制封包,或該回應的內容包含該被控端為關機的一旗標,該主控端產生一未通電訊息,顯示於該顯示介面。The remote wake-up system according to claim 9, wherein, when the controlled end does not respond to the remote control packet, or the content of the response includes a flag indicating that the controlled end is shut down, the host generates a The unpowered message is displayed on the display interface. 如請求項13所述的遠端喚醒系統,其中,該主控端產生一遠端開機封包,傳送至該第一網路介面,使該第一網路介面開啟該被控端的電源。The remote wake-up system according to claim 13, wherein the host generates a remote boot packet and transmits it to the first network interface, so that the first network interface turns on the power of the controlled terminal. 如請求項9所述的遠端喚醒系統,其中,於發出該喚醒封包之後,該主控端重新判斷該回應是否包含該顯示訊號串流。The remote wake-up system according to claim 9, wherein, after sending the wake-up packet, the host re-determines whether the response includes the display signal stream. 如請求項15所述的遠端喚醒系統,其中,若該喚醒封包的發出次數大於一門檻值,且該回應仍不包含該顯示訊號串流,該主控端產生一錯誤訊息,並顯示於該顯示介面。The remote wake-up system according to claim 15, wherein, if the number of times the wake-up packet is sent is greater than a threshold and the response still does not include the display signal stream, the host generates an error message and displays it on The display interface.
TW108126256A 2019-07-24 2019-07-24 Remote wake-up method and remote wake-up system TWI706645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108126256A TWI706645B (en) 2019-07-24 2019-07-24 Remote wake-up method and remote wake-up system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108126256A TWI706645B (en) 2019-07-24 2019-07-24 Remote wake-up method and remote wake-up system

Publications (2)

Publication Number Publication Date
TWI706645B TWI706645B (en) 2020-10-01
TW202105960A true TW202105960A (en) 2021-02-01

Family

ID=74091628

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108126256A TWI706645B (en) 2019-07-24 2019-07-24 Remote wake-up method and remote wake-up system

Country Status (1)

Country Link
TW (1) TWI706645B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201233096A (en) * 2011-01-31 2012-08-01 Fuither Tech Co Ltd Remote assistance service method for embedded operation system
US20130212413A1 (en) * 2012-01-07 2013-08-15 Acer Cloud Technology, Inc. Cloud Remote Wakeup
CN103986588B (en) * 2013-02-07 2017-05-24 宏碁股份有限公司 Computer system and far-end remote control method of computer device
CN204633817U (en) * 2015-06-04 2015-09-09 深圳市云舒网络技术有限公司 A kind of remote desktop control system

Also Published As

Publication number Publication date
TWI706645B (en) 2020-10-01

Similar Documents

Publication Publication Date Title
US7502919B2 (en) Method for selecting local or remote keyboard control in legacy USB mode within predetermined time
JP4612631B2 (en) Method, apparatus and system for operating a data processing device
US9317344B2 (en) Power efficient brokered communication supporting notification blocking
US20080098246A1 (en) Computer system and control method thereof
WO2019028854A1 (en) Method and device for state management of virtual machine, and intelligent terminal
US9582369B2 (en) Monitoring method, monitoring device, and information processing system
TWI259979B (en) Method and apparatus for processing hot key input using operating system visible interrupt handling
WO2024119787A1 (en) Method and apparatus for amd server system installation power-off processing, device and medium
TWI706645B (en) Remote wake-up method and remote wake-up system
CN102044201B (en) Device and method for constant brightness display of mobile equipment screen
US10571992B2 (en) Electronic device having a controller to enter a low power mode
TWI493458B (en) Computer apparatus and reboot method thereof
CN112311560B (en) Remote wakeup method and remote wakeup system
WO2021068707A1 (en) Application control method and apparatus, electronic device, and storage medium
US20230030973A1 (en) Change of firmware settings
CN104142832A (en) Computer and rebooting method thereof
TWI812315B (en) Computer device and method for increasing stability of computer device
US20240330005A1 (en) Systems and methods providing seamless accessibility across pre-boot and runtime environments
KR100632433B1 (en) Client Computer Remote Control Method and Remote Control System of Computer Network
CN115022452B (en) Communication method, device, equipment and storage medium of audio equipment
CN114258047B (en) Network awakening method, device, display equipment and storage medium
CN110362349B (en) Virtual input management device and management method thereof
US20240070244A1 (en) Information processing apparatus and control method
US20220197359A1 (en) Power synchronizations between host devices and display devices
CN115586926A (en) Remote wake-up circuit and electronic equipment