TWI703834B - Method and system for remotely waking up network user equipment - Google Patents
Method and system for remotely waking up network user equipment Download PDFInfo
- Publication number
- TWI703834B TWI703834B TW108125942A TW108125942A TWI703834B TW I703834 B TWI703834 B TW I703834B TW 108125942 A TW108125942 A TW 108125942A TW 108125942 A TW108125942 A TW 108125942A TW I703834 B TWI703834 B TW I703834B
- Authority
- TW
- Taiwan
- Prior art keywords
- wake
- user device
- sleep
- key
- server
- Prior art date
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
一種用於遠端喚醒網路用戶裝置的方法及系統中,管理伺服器在接收到含有待喚醒的用戶裝置之裝置識別碼與喚醒密鑰的喚醒請求後且根據喚醒請求的接收時間、及已儲存且含有該喚醒請求所含的裝置識別與喚醒密鑰的裝置管理資訊,判定出該用戶裝置操作在睡眠模式時,對喚醒伺服器傳送含有該喚醒請求所含的裝置識別碼與喚醒密鑰及該接收時間的喚醒通知。喚醒伺服器在根據喚醒通知所含的接收時間、及已儲存且對應於該用戶裝置的睡眠紀錄判定出該用戶裝置操作在睡眠模式後,根據該睡眠紀錄所含的連結資料將喚醒密鑰及喚醒指令傳送至該用戶裝置。In a method and system for remotely waking up a network user device, the management server receives a wake-up request containing the device identification code and wake-up key of the user device to be awakened, and according to the receiving time of the wake-up request, and the elapsed time. Store and include the device management information of the device identification and the wake-up key contained in the wake-up request, and when it is determined that the user device is operating in sleep mode, send the device identification code and the wake-up key contained in the wake-up request to the wake-up server And the wake-up notification of the receiving time. After the wake-up server determines that the user device is operating in sleep mode based on the receiving time contained in the wake-up notification and the stored sleep record corresponding to the user device, it will wake up the key and wake-up key based on the link data contained in the sleep record. The wake-up command is transmitted to the user device.
Description
本發明是有關於遠端喚醒技術,特別是指一種用於遠端喚醒網路用戶裝置的方法及系統。 The present invention relates to remote wake-up technology, in particular to a method and system for remotely waking up network user devices.
現行的乙太網路可執行遠端喚醒,如Wake-up On Local area network(WOL)的功能。此遠端喚醒(WOL)技術被利用來讓操作在睡眠模式(例如,睡眠狀態的S3或休眠狀態的S4)的電腦快速地切換到工作模式(例如,工作狀態的S0),也就是說,喚醒基於節能而進入S3或S4的電腦。 The current Ethernet can perform remote wake-up, such as Wake-up On Local area network (WOL) function. This remote wake-up (WOL) technology is used to allow a computer operating in sleep mode (for example, S3 in sleep state or S4 in sleep state) to quickly switch to work mode (for example, S0 in working state), that is, Wake up computers that have entered S3 or S4 based on energy saving.
然而,由於網路位址轉換(Network Address Translation,NAT)技術可使多個區域網路位址一起共享一個廣域網路位址(即,IP位址),如此即使在有限的IP位址環境,可允許大量的用戶終端各自不需以一固定IP位址亦可連接如網際網路的廣域網路,所以上述遠端喚醒技術(WOL)無法在廣域網路(Wide Area Network,WAN)環境下使用。 However, because Network Address Translation (NAT) technology allows multiple local network addresses to share a wide area network address (i.e., IP address), even in a limited IP address environment, A large number of user terminals can be allowed to connect to a wide area network such as the Internet without a fixed IP address. Therefore, the above-mentioned remote wake-up technology (WOL) cannot be used in a wide area network (WAN) environment.
因此,如何能有效且安全地透過廣域網路環境遠端喚 醒區域網路中的用戶終端實屬當前重要研發課題之一,亦成為當前相關領域極需改進的目標。 Therefore, how to effectively and safely remotely call through the WAN environment The user terminal in the wake-up local area network is indeed one of the current important research and development topics, and it has also become a target that needs improvement in the current related fields.
因此,本發明的一目的,即在提供一種用於遠端喚醒網路用戶裝置的方法,其能克服現有技術的至少一缺點。 Therefore, an object of the present invention is to provide a method for remotely waking up a network user device, which can overcome at least one shortcoming of the prior art.
於是,本發明所提供的一種用於遠端喚醒網路用戶裝置的方法適用於多個於一區域網路並可操作在睡眠模式的用戶裝置,並利用一管理伺服器及一喚醒伺服器實施,且包含以下步驟:(A)藉由該管理伺服器,儲存多筆分別對應於該等用戶裝置的裝置管理資訊,每筆裝置管理資訊相關於該等用戶裝置其中一個對應的用戶裝置,並包含唯一代表該對應的用戶裝置的一裝置識別碼、唯一指派給該對應的用戶裝置的一喚醒密鑰、及最近睡眠登錄時間;(B)藉由該喚醒伺服器,儲存多筆分別對應於該等用戶裝置其中的多個先前曾操作在該睡眠模式的用戶裝置的睡眠紀錄,每筆睡眠紀錄包含代表對應的該用戶裝置的該裝置識別碼、指派給對應的該用戶裝置的該喚醒密鑰、對應的該用戶裝置的連結資料、及最近睡眠登錄時間;(C)藉由該管理伺服器,當接收到來自外部且與該等用戶裝置其中一個待喚醒用戶裝置有關的一喚醒請求,其包含代表該待喚醒用戶裝置的裝置識別碼、及指派給該待喚醒用戶裝置的喚醒密鑰,根據該喚醒請求的接收時間、及該等筆裝置管理資訊其中一 筆含有該喚醒請求所含的該裝置識別碼與該喚醒密鑰的裝置管理資訊,判定該待喚醒用戶裝置是否操作在該睡眠模式;(D)藉由該管理伺服器,在判定出該待喚醒用戶裝置操作在該睡眠模式時,將一含有該喚醒請求的該接收時間、及該喚醒請求所含的該裝置識別碼與該喚醒密鑰的喚醒通知傳送至該喚醒伺服器;(E)藉由該喚醒伺服器,根據來自該管理伺服器的該喚醒通知所含的該接收時間、及已儲存的所有筆睡眠紀錄其中一筆含有該喚醒通知所含的該裝置識別碼與該喚醒密鑰且作為目標睡眠紀錄的睡眠紀錄,判定該待喚醒用戶裝置是否操作在該睡眠模式;及(F)藉由該喚醒伺服器,在判定出該待喚醒用戶裝置操作在該睡眠模式時,根據該目標睡眠紀錄所含的該連結資料,將該喚醒通知所含的該喚醒密鑰及一喚醒指令傳送至該待喚醒用戶裝置,以致該待喚醒用戶裝置在成功確認該喚醒密鑰後接受該喚醒指令而被喚醒。 Therefore, the method for remotely waking up network user devices provided by the present invention is applicable to multiple user devices that are in a local area network and can operate in sleep mode, and is implemented by a management server and a wake-up server And includes the following steps: (A) through the management server, store multiple pieces of device management information corresponding to the user devices, each piece of device management information related to one of the user devices corresponding to the user device, and Contains a device identification code that uniquely represents the corresponding user device, a wake-up key uniquely assigned to the corresponding user device, and the latest sleep registration time; (B) by the wake-up server, stores multiple entries corresponding to The sleep records of a plurality of the user devices that have previously operated in the sleep mode, and each sleep record includes the device identification code representing the corresponding user device, and the wake-up secret assigned to the corresponding user device Key, the corresponding link data of the user device, and the latest sleep login time; (C) through the management server, when receiving a wake-up request from the outside and related to one of the user devices to be awakened, It includes a device identification code representing the user device to be awakened, and a wake-up key assigned to the user device to be awakened, according to the receiving time of the wake-up request, and one of the pen device management information The device management information containing the device identification code and the wake-up key contained in the wake-up request is used to determine whether the user device to be awakened is operating in the sleep mode; (D) by the management server, when the device to be awakened is determined When waking up the user device to operate in the sleep mode, send a wake-up notification containing the receiving time of the wake-up request, the device identification code and the wake-up key contained in the wake-up request to the wake-up server; (E) By the wake-up server, according to the receiving time contained in the wake-up notification from the management server, and all the stored sleep records, one of them contains the device identification code and the wake-up key contained in the wake-up notification And as the sleep record of the target sleep record, determine whether the user device to be awakened is operating in the sleep mode; and (F) by the wake-up server, when determining that the user device to be awakened is operating in the sleep mode, according to the The link data contained in the target sleep record transmits the wake-up key contained in the wake-up notification and a wake-up command to the user device to be awakened, so that the user device to be awakened accepts the wake-up after successfully confirming the wake-up key Command and be awakened.
因此,本發明的另一目的,即在提供一種用於遠端喚醒網路用戶裝置的系統,其能克服現有技術的至少一缺點。 Therefore, another object of the present invention is to provide a system for remotely waking up network user devices, which can overcome at least one shortcoming of the prior art.
於是,本發明所提供的一種用於遠端喚醒網路用戶裝置的系統適用於多個於一區域網路並可操作在睡眠模式的用戶裝置,並包含一管理伺服器及一喚醒伺服器。 Therefore, the system for remotely waking up network user devices provided by the present invention is applicable to multiple user devices that are in a local area network and can operate in sleep mode, and includes a management server and a wake-up server.
該管理伺服器包括一連接一廣域網路的第一通訊模組、一第一儲存模組、及一電連接該第一通訊模組及該第一儲存模 組的第一處理模組。該第一儲存模組儲存多筆分別對應於該等用戶裝置的裝置管理資訊,每筆裝置管理資訊相關於該等用戶裝置其中一個對應的用戶裝置,並包含唯一代表該對應的用戶裝置的一裝置識別碼、唯一指派給該對應的用戶裝置的一喚醒密鑰、及最近睡眠登錄時間。 The management server includes a first communication module connected to a wide area network, a first storage module, and an electrical connection to the first communication module and the first storage module The first processing module of the group. The first storage module stores a plurality of pieces of device management information respectively corresponding to the user devices, each piece of device management information is related to one of the user devices corresponding to the user device, and includes one that uniquely represents the corresponding user device Device identification code, a wake-up key uniquely assigned to the corresponding user device, and the latest sleep login time.
該喚醒伺服器包括一連接該廣域網路的第二通訊模組、一第二儲存模組、及一電連接該第二通訊模組及該第二儲存模組的第二處理模組。該第二儲存模組儲存多筆分別對應於該等用戶裝置其中的多個先前操作在該睡眠模式的用戶裝置的睡眠紀錄,每筆睡眠紀錄包含代表對應的該用戶裝置的該裝置識別碼、指派給對應的該用戶裝置的該喚醒密鑰、對應的該用戶裝置的連結資料、及最近睡眠登錄時間。 The wake-up server includes a second communication module connected to the wide area network, a second storage module, and a second processing module electrically connected to the second communication module and the second storage module. The second storage module stores a plurality of sleep records respectively corresponding to a plurality of user devices previously operating in the sleep mode among the user devices, and each sleep record includes the device identification code representing the corresponding user device, The wake-up key assigned to the corresponding user device, the corresponding connection data of the user device, and the latest sleep login time.
當該管理伺服器的該第一處理模組經由該第一通訊模組接收到來自外部且與該等用戶裝置其中一個待喚醒用戶裝置有關的一喚醒請求,其包含代表該待喚醒用戶裝置的裝置識別碼、及指派給該待喚醒用戶裝置的喚醒密鑰,該第一處理模組根據該喚醒請求的接收時間、及該第一儲存模組儲存的該等筆裝置管理資訊其中一筆含有該喚醒請求所含的該裝置識別碼與該喚醒密鑰的裝置管理資訊,判定該待喚醒用戶裝置是否操作在該睡眠模式,並在判定出該待喚醒用戶裝置操作在該睡眠模式時,藉由該第一通訊模組 將一含有該喚醒請求的該接收時間、及該喚醒請求所含的該裝置識別碼與該喚醒密鑰的喚醒通知傳送至該喚醒伺服器。 When the first processing module of the management server receives an external wake-up request related to one of the user devices to be awakened from the user device via the first communication module, it includes a representative of the user device to be awakened The device identification code and the wake-up key assigned to the user device to be awakened, the first processing module according to the receiving time of the wake-up request and one of the pen device management information stored by the first storage module contains the The device identification code and the device management information of the wake-up key contained in the wake-up request determine whether the user device to be awakened is operating in the sleep mode, and when it is determined that the user device to be awakened is operating in the sleep mode, by The first communication module A wake-up notification containing the receiving time of the wake-up request, the device identification code and the wake-up key contained in the wake-up request is sent to the wake-up server.
當該喚醒伺服器的該第二處理模組經由該第二通訊模組接收到來自該管理伺服器的該喚醒通知時,該第二處理器根據該喚醒通知所含的該接收時間、及該第二儲存模組儲存的所有筆睡眠紀錄其中一筆含有該喚醒通知所含的該裝置識別碼與該喚醒密鑰且作為目標睡眠紀錄的睡眠紀錄,判定該待喚醒用戶裝置是否操作在該睡眠模式,並且該第二處理器在判定出該待喚醒用戶裝置操作在該睡眠模式時,根據該目標睡眠紀錄所含的該連結資料,藉由該第二通訊模組將該喚醒通知所含的該喚醒密鑰及一喚醒指令傳送至該待喚醒用戶裝置,以致該待喚醒用戶裝置在成功確認該喚醒密鑰後接受該喚醒指令而被喚醒。 When the second processing module of the wake-up server receives the wake-up notification from the management server via the second communication module, the second processor according to the receiving time contained in the wake-up notification and the One of all sleep records stored by the second storage module contains the device identification code and the wake-up key included in the wake-up notification, and is used as a sleep record of the target sleep record to determine whether the user device to be awakened is operating in the sleep mode And when the second processor determines that the user device to be awakened is operating in the sleep mode, according to the link data contained in the target sleep record, the wake-up notification contained in the second communication module is used The wake-up key and a wake-up command are transmitted to the user device to be awakened, so that the user device to be awakened accepts the wake-up command after successfully confirming the wake-up key and is awakened.
本發明之功效在於:該管理伺服器有效地儲存並管理對應於所有用戶裝置的裝置管理資訊並且該喚醒伺服器有效地儲存並管理與操作在睡眠模式的用戶裝置有關的睡眠紀錄。因此,當一被授予喚醒權之用戶欲喚醒一用戶裝置時,利用該用戶所使用的使用終端對該管理伺服器發送含有代表該用戶裝置的裝置識別碼及指派給該用戶裝置的喚醒密鑰的喚醒請求時,並藉由該管理伺服器與該喚醒伺服器均判定出該用戶裝置操作在睡眠模式後,藉由該喚醒伺服器經由廣域網路將該喚醒密鑰及喚醒 指令發送至該用戶裝置,藉此達成透過廣域網路有效且安全的遠端喚醒目的。 The effect of the present invention is that the management server effectively stores and manages device management information corresponding to all user devices and the wake-up server effectively stores and manages sleep records related to user devices operating in sleep mode. Therefore, when a user granted the wake-up right wants to wake up a user device, the user terminal used by the user is used to send to the management server the device identification code representing the user device and the wake-up key assigned to the user device. When the wake-up request is made, and the management server and the wake-up server determine that the user device is operating in sleep mode, the wake-up server uses the wake-up key and wakes up via the WAN The command is sent to the user device, thereby achieving an effective and safe remote wake-up through the wide area network.
1:管理伺服器 1: Management server
11:第一通訊模組 11: The first communication module
12:第一儲存模組 12: The first storage module
13:第一處理模組 13: The first processing module
2:喚醒伺服器 2: wake up the server
21:第二通訊模組 21: The second communication module
22:第二儲存模組 22: The second storage module
23:第二處理模組 23: The second processing module
3:路由器 3: router
4,4’,4”:用戶裝置 4,4’,4”: User device
5:使用終端 5: Use terminal
S41~S46:步驟 S41~S46: steps
S51~S57:步驟 S51~S57: steps
本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,示例性地繪示本發明實施例用於遠端喚醒網路用戶裝置的系統及其在使用時的環境配置;圖2是一示意圖,示例性地說明該實施例的一管理伺服器的一第一儲存模組儲存的資料內容;圖3是一示意圖,示例性地說明該實施例的一喚醒伺服器的一第二儲存模組儲存的資料內容;圖4是一流程圖,示例性地說明該實施例如何進行與一個操作在睡眠模式的用戶裝置有關的管理程序;及圖5是一流程圖,示例性地說明該實施例如何對於一待喚醒用戶裝置執行一遠端喚醒程序。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram exemplarily showing an embodiment of the present invention for remotely waking up a network user device The system and its environment configuration during use; FIG. 2 is a schematic diagram illustrating the data content stored by a first storage module of a management server of this embodiment; FIG. 3 is a schematic diagram, exemplarily illustrating The data content stored in a second storage module of a wake-up server of this embodiment; FIG. 4 is a flowchart illustrating how this embodiment performs management procedures related to a user device operating in sleep mode; And FIG. 5 is a flowchart illustrating how the embodiment executes a remote wake-up procedure for a user device to be waked up.
在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.
參閱圖1,所繪示的本發明實施例用於遠端喚醒網路用戶裝置的系統適用於多個於一區域網路並可操作在用於節能的睡眠模式的用戶裝置4,4’,4”。為了方便說明,本實施例中的該等用戶裝置4,4’,4”例如是經由一連接在該區域網路與一廣域網路(例如,網際網路)之間的路由器3來收發資料,但不以此為限。然而,在實際的應用中,本系統可對於在多個不同區域網域的用戶裝置(圖未示)提供遠端喚醒服務。舉例來說,若該區域網路是一企業機構中的內部網路,該等用戶裝置4,4’,4”可為配置於該企業機構的電腦裝置,或者若該區域網路是智慧家庭系統中的內部網路,每一用戶裝置4/4’/4”可為配置於該智慧家庭系統中的一智慧家電裝置或電腦裝置。該系統例如包含一管理伺服器1、及一喚醒伺服器2。
Referring to FIG. 1, the system for remotely waking up network user devices according to the embodiment of the present invention is applicable to
要特別說明的是,為了方便說明,在本實施例中,該管理伺服器1及該喚醒伺服器2其中每一者例如是實施成一單一電腦設備,但不以此為限。然而,在其他實施態樣中,該管理伺服器1及/或該喚醒伺服器2亦可實施成具有叢集架構的電腦系統。
It should be particularly noted that, for the convenience of description, in this embodiment, each of the management server 1 and the wake-
該管理伺服器1例如包含一連接該廣域網路的第一通訊模組11、一第一儲存模組12、及一電連接該第一通訊模組11與該第一儲存模組12的第一處理模組13,但不在此限。該第一儲存模組12(其例如可實施成一資料庫,但不在此限),在有關該等用戶裝置
4,4’,4”的註冊階段,儲存了多筆分別對應於該等用戶裝置4,4’,4”的裝置管理資訊。每筆裝置管理資訊相關於一對應的用戶裝置4/4’/4”,並如圖2所示,例如包含唯一代表該對應的用戶裝置4/4’/4”的一裝置識別碼、唯一指派給該對應的用戶裝置4/4’/4”的一喚醒密鑰、及最近睡眠登錄時間(在開始使用前,其可為一預設時間)。
The management server 1 includes, for example, a
另一方面,在註冊階段,對於每一用戶裝置4/4’/4”,該管理伺服器1的該第一處理模組13經由該第一通訊模組12及該路由器3,發送指派給該用戶裝置4/4’/4”的該喚醒密鑰、及與該喚醒伺服器2有關的連結資料,以供該用戶裝置4/4’/4”儲存該喚醒密鑰及該連結資料(見圖1)並且在之後使用時根據儲存的該連結資料連接該喚醒伺服器2。應注意的是,在本實施例中,由於該喚醒伺服器2為一單一電腦設備,所以儲存於每一用戶裝置4/4’/4”的該連結資料例如包含該喚醒伺服器2在該廣域網路的連結網址(即,IP位址)。而若在該喚醒伺服器2為具有叢集架構之電腦系統的情況下,儲存於每一用戶裝置4/4’/4”的該連結資料不僅包含該喚醒伺服器2(即,該電腦系統)在廣域網路的連結網址,而且包含用於連接在該喚醒伺服器2中負責服務該用戶裝置4/4’/4”的一電腦主機(即,該電腦系統中的一電腦設備)的埠號。如此,在使用時,該路由器3可利用每一用戶裝置4/4’/4”所儲存的該連結資料建立與該喚醒伺服
器2的連結,以便資料傳輸。附帶一提的是,每一用戶裝置4/4’/4”可在註冊階段會接收到來自該管理伺服器1的該喚醒伺服器2的該連結網址以及所有電腦主機其中相對接近該用戶裝置4/4’/4”的一個或多個電腦主機的埠號,並基於回應(response)測試從該(等)電腦主機決定出一個具有最短反應時間的電腦主機作為服務該用戶裝置4/4’/4”的該電腦主機。
On the other hand, during the registration phase, for each
此外,在註冊階段,該管理伺服器1對該等用戶裝置4,4’,4”其中至少一者具有喚醒權之每一註冊用戶所使用的使用終端(例如,圖1所示的使用終端5),發送一用戶裝置列表,其含有代表該至少一用戶裝置4/4’/4”的裝置識別碼、及指派給該至少一用戶裝置的喚醒密鑰,以供該使用終端儲存該用戶裝置列表。
In addition, during the registration phase, the management server 1 has a user terminal used by each registered user whose at least one of the
在本實施例中,該喚醒伺服器2例如包含一連接該廣域網路的第二通訊模組21、一第二儲存模組22、及電連接該第二通訊模組21與該第二儲存模組22的第二處理模組23。在使用時,該第二儲存模組22(其例如可實施成一資料庫,但不在此限)被用來儲存一筆或多筆分別對應於該等用戶裝置4,4’,4”其中的一個或多個先前操作在該睡眠模式的用戶裝置4/4’/4”的睡眠紀錄。如圖3所示,每筆睡眠紀錄包含代表對應的(操作在該睡眠模式之)該用戶裝置4/4’/4”的該裝置識別碼、指派給對應的該用戶裝置4/4’/4”的該喚醒密鑰、對應的該用戶裝置4/4’/4”的連結資料、及最近睡眠登錄時
間,其中該連結資料包含該路由器3在該廣域網路的一連結網址、及該路由器3用於連接對應的該用戶裝置4/4’/4”的一埠號。
In this embodiment, the wake-
特別要說明的是,儲存於該第二儲存模組22的每筆睡眠紀錄是透過執行完一管理程序而獲得。在本實施例中,每一用戶裝置4/4’/4”所安裝的一特定網卡(圖未示)在該用戶裝置4/4’/4”從工作模式進入睡眠模式,或者在該用戶裝置4/4’/4”持續操作在睡眠模式每達到一預定時間(例如,15秒)的情況下會經由該路由器3發送一睡眠封包至該喚醒伺服器2。該睡眠封包例如包含代表該用戶裝置4/4’/4”的裝置識別碼、該用戶裝置4/4’/4”所儲存的該喚醒密鑰、及由安裝於該用戶裝置4/4’/4”之特定網卡所提供的連結資料,其中該連結資料包含該路由器3在該廣域網路的一連結網址(即,IP位址)、及該路由器3用於連接該用戶裝置4/4’/4”的一埠號。
In particular, it should be noted that each sleep record stored in the
以下,將參閱圖1及圖4示例性地說明該實施例如何進行與一個操作在睡眠模式的用戶裝置,例如該用戶裝置4’,有關的該管理程序。在此情況下,該用戶裝置4’經由該路由器3發送一睡眠封包至該喚醒伺服器2。該管理程序包含以下步驟S41~S46。
Hereinafter, referring to FIG. 1 and FIG. 4, it will be exemplarily explained how this embodiment performs the management program related to a user device operating in a sleep mode, such as the user device 4'. In this case, the user device 4'sends a sleep packet to the wake-
當該喚醒伺服器2的該第二處理模組23經由該第二通訊模組31接收到來自該用戶裝置4'的該睡眠封包(步驟S41)時,該第二處理模組23根據該睡眠封包所含的該裝置識別碼判定該第二儲存模組22儲存的該(等)筆睡眠紀錄中是否存在有一筆對應於該
用戶裝置4'的睡眠紀錄(步驟S42)。當該判定結果為否定時,該第二處理模組23根據該睡眠封包及該睡眠封包的接收時間,將新增的一筆對應於該用戶裝置4'的睡眠紀錄儲存於該第二儲存模組22,其中新增的該筆睡眠紀錄包含該睡眠封包所含的該裝置識別碼、該喚醒密鑰及該連結資料,以及作為最近睡眠登錄時間的該睡眠封包的該接收時間(步驟S43)。當該判定結果為肯定時,該第二處理模組23將該第二儲存模組22儲存的一筆對應於該用戶裝置4’的睡眠紀錄所含的該最近睡眠登錄時間更新為該接收時間(步驟S44)。跟隨在步驟S43及步驟S44之後的步驟S45中,該第二處理模組23將一包含該接收時間以及該睡眠封包所含的該裝置識別碼與該喚醒密鑰的睡眠通知傳送至該管理伺服器1。
When the
之後,在步驟S46中,當該管理伺服器1的該第一處理模組13經由該第一通訊模11組接收到來自該喚醒伺服器2的該睡眠通知時,該第一處理模組13回應於該睡眠通知,將該第一儲存模組12儲存的該等筆裝置管理資訊其中一筆含有該睡眠通知所含的該裝置識別碼與該喚醒密鑰的裝置管理資訊(即,對應於該用戶裝置4’的裝置管理資訊)所含的該最近睡眠登錄時間更新為該睡眠通知所含的該接收時間。至此,有關於該用戶裝置4’的該管理程序執行完畢。
Afterwards, in step S46, when the
以下,參閱圖1及圖5來示例地說明當一註冊用戶欲遠
端喚醒一待喚醒用戶裝置,例如,該用戶裝置4”時,該實施例如何對該用戶裝置4”執行一遠端喚醒程序。在此情況下,該註冊用戶可使用一使用終端5(例如,一行動裝置),並經由適當的操作後,例如,執行一預先安裝於該使用終端5的且與遠端喚醒服務有關的應用程式(其例如可由架設該系統的機構所提供,但不在此限),以使該使用終端5經由該廣域網路發送一喚醒請求至該管理伺服器1。在本實施例中,該喚醒請求例如包含代表該用戶裝置4"的裝置識別碼、及指派給該用戶裝置4”的喚醒密鑰。該遠端喚醒程序包含以下步驟S51~S57。
Hereinafter, referring to Figure 1 and Figure 5 to illustrate as an example when a registered user wants to go far
When the terminal wakes up a user device to be awakened, for example, the
首先,在步驟S51中,該管理伺服器1的該第一處理模組13經由該第一通訊模組11接收到來自該使用終端5且與該用戶裝置4”有關的該喚醒請求。
First, in step S51, the
接著,在步驟S52中,該第一處理模組13在認證該註冊用戶之身分後,根據該喚醒請求的接收時間、及該第一儲存模組12儲存的該等筆裝置管理資訊其中一筆含有該喚醒請求所含的該裝置識別碼與該喚醒密鑰的裝置管理資訊(即,對應於該用戶裝置4”的裝置管理資訊),判定該用戶裝置4”是否操作在該睡眠模式。在本實施例中,該第一處理模組13藉由判定該第一儲存模組12儲存的該筆裝置管理資訊所含的該最近睡眠登錄時間與該喚醒請求的該接收時間之間的時間期間是否不長於一預定時間期間(例如,但
不限於15秒)來判定該待喚醒用戶裝置是否操作在該睡眠模式。更明確地,若該第一處理模組13判定出該時間期間不長於該預定時間期間時,則判定出該用戶裝置4”操作在該睡眠模式(即,步驟S52的判定結果為肯定)並且流程進行步驟S53。反之,若該第一處理模組13判定出該時間期間長於該預定時間期間時,則判定出該用戶裝置4”並非操作在該睡眠模式(即,步驟S52的判定結果為否定)並且流程進行步驟S54。
Then, in step S52, after the
在步驟S53中,該管理伺服器1的該第一處理模組13藉由該第一通訊模組11將一含有該喚醒請求的該接收時間、及該喚醒請求所含的該裝置識別碼與該喚醒密鑰的喚醒通知傳送至該喚醒伺服器。
In step S53, the
在步驟S54中,該管理伺服器1的該第一處理模組13藉由該第一通訊模組11對該使用終端5發送一指示出該用戶裝置4”已被喚醒的回覆。
In step S54, the
跟隨在步驟S53之後的步驟S55中,當該喚醒伺服器2的該第二處理模組23經由該第二通訊模組21接收到來自該管理伺服器1的該喚醒通知時,該第二處理模組23根據該喚醒通知所含的該接收時間、及該第二儲存模組22儲存的所有筆睡眠紀錄其中一筆含有該喚醒通知所含的該裝置識別碼與該喚醒密鑰且作為目標睡眠紀錄的睡眠紀錄,判定該用戶裝置4”是否操作在該睡眠模式。在
本實施例中,相似於步驟S52中該第一處理模組13的判定方式,該第二處理模組23藉由判定該第二儲存模組22儲存的該目標睡眠紀錄所含的該最近睡眠登錄時間與該喚醒通知所含的該接收時間之間的時間期間是否不長於該預定時間期間來判定該用戶裝置4”是否操作在該睡眠模式。更明確地,若該第二處理模組23判定出該時間期間不長於該預定時間期間時,則判定出該用戶裝置4”操作在該睡眠模式(即,步驟S55的判定結果為肯定)並且流程進行步驟S56。反之,若該第二處理模組23判定出該時間期間長於該預定時間期間時,則判定出該用戶裝置4”並非操作在該睡眠模式(即,該步驟S55的判定結果為否定)並且流程進行步驟S57。
In step S55 following step S53, when the
在步驟S56中,該喚醒伺服器2的該第二處理模組23根據該目標睡眠紀錄所含的該連結資料,藉由該第二通訊模組21將該喚醒通知所含的該喚醒密鑰及一喚醒指令傳送至該用戶裝置4”。然後,流程進行步驟S57。特別要說明的是,該第二處理模組23使該第二通訊模組21先根據該連結資料所含的該連結網址建立在該廣域網路與該路由器3的連結,然後將該連結資料所含的該埠號、該喚醒通知所含的該喚醒密鑰及該喚醒指令經由該第二通訊模組21傳送至該路由器3,以使該路由器3根據該埠號將接收自該喚醒伺服器2的該喚醒密鑰及該喚醒指令傳送至該用戶裝置4”。於是,該用戶裝置4”在成功確認該喚醒密鑰後接受該喚醒指令而被喚醒。
In step S56, the
最後,在步驟S57中,該喚醒伺服器2的該第二處理模組23將該目標睡眠紀錄從該第二儲存模組22刪除。換言之,當該喚醒伺服器2判定出該用戶裝置4”並非操作在睡眠模式或者發送出用於喚醒該用戶裝置4”的該喚醒密鑰與該喚醒指令之後,意謂該用戶裝置4”已被喚醒或要被喚醒,在此情況下,該喚醒伺服器2不需再保留該目標睡眠紀錄,藉此對確實操作在睡眠模式的每一用戶裝置的睡眠紀錄達到有效的維護與管理。至此,該遠端喚醒序執行完畢。
Finally, in step S57, the
綜上所述,由於該管理伺服器1有效地儲存並管理對應於所有用戶裝置4,4’,4”的裝置管理資訊並且該喚醒伺服器2有效地儲存並管理與操作在睡眠模式的每一用戶裝置4/4’/4”有關的睡眠紀錄,因此當一被授予喚醒權之註冊用戶欲喚醒一用戶裝置4/4’/4”時,利用該註冊用戶所使用的使用終端對該管理伺服器1發送含有代表該用戶裝置4/4’/4”的裝置識別碼及指派給該用戶裝置4/4’/4”的喚醒密鑰的喚醒請求時,並藉由該管理伺服器1與該喚醒伺服器2均判定出該用戶裝置操作在睡眠模式後,藉由該喚醒伺服器2經由該廣域網路將該喚醒密鑰及喚醒指令發送至該用戶裝置4/4’/4”,藉此達成透過廣域網路有效且安全的遠端喚醒目的。故確實能達成本發明的目的。
In summary, because the management server 1 effectively stores and manages device management information corresponding to all
惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書 內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above are only examples of the present invention, and should not be used to limit the scope of implementation of the present invention. Any application for patent scope and patent specification according to the present invention Simple equivalent changes and modifications made to the content are still within the scope of the patent for the present invention.
1:管理伺服器 1: Management server
11:第一通訊模組 11: The first communication module
12:第一儲存模組 12: The first storage module
13:第一處理模組 13: The first processing module
2:喚醒伺服器 2: wake up the server
21:第二通訊模組 21: The second communication module
22:第二儲存模組 22: The second storage module
23:第二處理模組 23: The second processing module
3:路由器 3: router
4,4’,4”:用戶裝置 4,4’,4”: User device
5:使用終端 5: Use terminal
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108125942A TWI703834B (en) | 2019-07-23 | 2019-07-23 | Method and system for remotely waking up network user equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108125942A TWI703834B (en) | 2019-07-23 | 2019-07-23 | Method and system for remotely waking up network user equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI703834B true TWI703834B (en) | 2020-09-01 |
TW202105959A TW202105959A (en) | 2021-02-01 |
Family
ID=73644100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108125942A TWI703834B (en) | 2019-07-23 | 2019-07-23 | Method and system for remotely waking up network user equipment |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI703834B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425917A (en) * | 2007-10-29 | 2009-05-06 | 吉林市曼博科技有限公司 | Sleep scheduling method for wireless sensor network |
TWI469570B (en) * | 2011-04-26 | 2015-01-11 | Realtek Semiconductor Corp | Remote wake mechanism for a network system and remote wake method thereof |
-
2019
- 2019-07-23 TW TW108125942A patent/TWI703834B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425917A (en) * | 2007-10-29 | 2009-05-06 | 吉林市曼博科技有限公司 | Sleep scheduling method for wireless sensor network |
TWI469570B (en) * | 2011-04-26 | 2015-01-11 | Realtek Semiconductor Corp | Remote wake mechanism for a network system and remote wake method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW202105959A (en) | 2021-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100332212A1 (en) | Method and apparatus for sleep and wake of computer devices | |
JP4122341B2 (en) | System and method for session resetting between client terminal device and server | |
US8549101B2 (en) | Portable embedded local server for write-through cache | |
JP5481819B2 (en) | Server management apparatus, information processing system, server management apparatus control method, and program | |
US20120278636A1 (en) | Remote wake mechanism for a network system and remote wake method thereof | |
US20070106776A1 (en) | Information processing system and method of assigning information processing device | |
US20100077063A1 (en) | System and method for emulating a computing device | |
US11696110B2 (en) | Distributed, crowdsourced internet of things (IoT) discovery and identification using Block Chain | |
CN112956219A (en) | Subnet-based device allocation with geofence authentication | |
CN103200217A (en) | Cloud remote wakeup | |
CN112448822B (en) | Cross-network awakening method and related equipment | |
JP2018195013A (en) | Information processing device and control method for information processing device | |
US8468585B2 (en) | Management of credentials used by software applications | |
CN106506490A (en) | A kind of Distributed Calculation control method and distributed computing system | |
US20180007026A1 (en) | Network monitoring method and device | |
CN111049946A (en) | Portal authentication method, Portal authentication system, electronic equipment and storage medium | |
US10284436B2 (en) | Cloud based wake-on-LAN for thin clients | |
TWI703834B (en) | Method and system for remotely waking up network user equipment | |
TWM588928U (en) | System for remotely waking network user device | |
KR102567900B1 (en) | Method and Apparatus for Ensuring Continuous Device Operational Stability in Cloud Degraded Mode | |
US20130104215A1 (en) | System and method for managing network devices | |
CN112711518B (en) | Log uploading method and device | |
CN111447080B (en) | Private network decentralization control method, device and computer readable storage medium | |
WO2013111532A1 (en) | Administration system, administration method, and program | |
CN102752365A (en) | Method and device for processing information |