Patent ID: 9665149
Date: 2017-05-30
CPC Classifications: G06F,H04L,Y02D

Claim:
1. A gateway for controlling Wakeup-on-LAN and Sleep-on-LAN, comprising: a first port, for coupling to the Internet; and a second port, for coupling to a Local-Area-Network (LAN) that supports Wakeup-on-LAN protocol and Sleep-on-LAN protocol, wherein at least one terminal device is connected to the gateway in the Local-Area-Network (LAN), wherein each of the at least one terminal device is associated with an identification for identifying the terminal device, respectively; wherein the gateway has integrated support for both of the Wakeup-on-LAN protocol and Sleep-on-LAN protocol, wherein the gateway collects an identification and an address of each of the at least one terminal device in the Local-Area-Network (LAN) to associate the identification with the address of the terminal device, wherein a P2P (point-to-point) connection is established between the gateway and a remote device through the Internet, wherein the gateway wakes up a first terminal device of the at least one terminal device or put said first terminal device into a sleep mode through the second port according to a command carrying the identification of the first terminal device and terminated at the gateway via the P2P connection.