1. Field of the Invention
The invention relates to a network device, particularly to an energy saving network device.
2. Description of the Related Art
Due to the fast growth of computers and mobile phones, many users share data or software of their computers via internet, or control remote computers via remote control software, such as a network neighborhood in a local area network (LAN) or a file transfer protocol (FTP) in a wide area network (WAN). However, users may need a network address translation (NAT) in different LANs to share their computer data or software via internet. These services are provided on demand. When the services are not needed, computers are expected to enter a power saving mode of S3 (sleep state) or S4 (hibernation state) for saving power consumption.
However, more and more people connect to WAN through NAT as the number of IPv4 address is limited and gradually gets used up. NAT technology allows one public network address to be shared by multiple private network addresses. Therefore, it is not necessary for each of a mass of users to have an individual fixed network address to surf the internet in view of the limited number of IPv4 addresses.
Currently, Ethernet provides a wake-up on LAN (WOL) function. WOL technology can quickly resume a computer from S3 or S4 state to S0 state (fully on state). The technology can bring a computer into a power saving mode of S3 or S4 when the computer is not in use, and quickly get the computer back to work when a remote user needs to use computer resources, therefore achieving the goal of saving energy.
However, using the WOL technology comes with several problems. For example, it works only in a LAN, but it cannot in a WAN. For another example, it is necessary to store the media access control address (MAC address) of the computer which needs to be woken up. For another example, it lacks security authentication. For example, the computer of the other party can be woken up by its known MAC address or further adding a plaintext password. For another example, it operates with broadcast packets, and thus all the computers in the same LAN need to deal with the broadcast packets.
In view of the above-mentioned problems, an object of the invention is to provide a network device, allowing users to wake up remote network devices in different LANs over WAN.
An embodiment of the invention provides a wake-up on WAN technology, which has a security authentication function to identify users, and allows users to control remote devices through a correspondence between user ID and IP address.
An embodiment of the invention provides a network device, which can wake up the other devices (e.g., household appliances) and the computers in the same LAN, and which can also allow remote users to control the household appliances or wake up the other computers in the same LAN without starting up the computer.
An embodiment of the invention improves the conventional WOL technology such that computers in different LANs can quickly resume remote devices from S3 or S4 state to S0 state (fully on state) through WAN. The embodiment also includes an invented security authentication which allows a remote device to determine whether to execute the wake-up process. Instead of storing an unreadable string, the invented security authentication only requires a user to register a readable string to be corresponded to the address of the remote device. To relieve the loading of the other devices, a wake-up command is transferred in a unicast manner other than a broadcast manner. In order to save energy of the conventional WOL devices in different LANs, a magic packet proxy solution is provided to allow the conventional WOL devices to be woken up by the computers in a WAN or different LANs. Further, the WOL technology can also be applied to the wake-up and control of household appliances since the general purpose I/O (GPIO) pins of the Green Cloud Ethernet card are currently converted from waking up the computers conventionally into controlling the other household appliances. For example, the power switches of the household appliances can be controlled, or various household appliances are controlled by infrared transmitters. In such a control matter, it is not necessary to start up the computer or to install control software on the computer, thereby providing a solution together with an excellent price-performance ratio in addition to saving energy.
Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.
The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention, and wherein:
In this specification and the appended claims, some specific words are used to describe specific elements. It should be understood by those who are skilled in the art that some hardware manufacturer may use different names to indicate the same element. In this specification and the appended claims, elements are not differentiated by their names but their functions.
In an embodiment, a user environment configuration is set as shown in
When the second network device CA1 or the third network device CB2 attempts to use the WOL mechanism, its user is required to log in to the match server for identity authentication to improve the problem of lacking security authentication existed in the conventional WOL mechanism. Meanwhile, to improve the problem of storing the MAC address of the computer in the conventional WOL mechanism, the correspondence between the user account number and IP address is activated by logging in to the account. Besides, since the match server already gets the IP address, the match server can perform unicast instead of broadcast used by the conventional WOL mechanism. Thus, the loading of the other network devices in the same LAN can be relieved.
Furthermore, in order to allow the conventional WOL devices to be woken up by different network device crossed different network, a embodiment of the invention allows the second network device CA1 to send the MAC address of the third network device CB2 to the first network device CB1. After that, the first network device CB1 sends a magic packet to the third network device CB2. Based on such a configuration, the first network device CB1 works as a WOL proxy without being started up. Accordingly, the first network device CB1 can save energy and the computers without a Green Cloud Ethernet card in the same LAN (such as CB2) can be woken up via the WOL technology.
Further through the communication between the match server and the Green Cloud Ethernet card, different packets are used to control voltage levels of GPIO, to thereby control household appliances.
Step 1: Firstly, the first network device CB1 with a Green Cloud Ethernet card of an embodiment of the invention logs in to the remote match server and sets a specific wake-up packet pattern. The first network device CB1 may store the wake-up packet pattern. For example, the match server transfers related wake-up information to the Green Cloud Ethernet card. The first network device CB1 enters S3 or S4 mode after the energy saving mode is set by user or a timer.
Step 2: The Green Cloud Ethernet card periodically sends on-line messages to the remote match server to enable a network address translation (NAT) device to keep the communication channel between the first network device CB1 and the match server.
Step 3: When a user operates the second network device CA1 to access data in the first network device CB1, the user needs to log in to the match server and then input the wake-up packet pattern.
Step 4: The match server transfers the wake-up packet pattern to the first network device CB1. Then, the first network device CB1 authenticates after receiving the wake-up packet pattern.
Step 5: If authentication succeeds, the first network device CB1 enters S0 mode from S3 or S4 mode. Next, the second network device CA1 and the first network device CB1 use a predetermined protocol to create a transmission channel for data transmission.
Step 1 and Step 2 of
Step 3: After logging in to the match server, the second network device CA1 inputs MAC address of the third network device CB2 to the match server.
Step 4: The match server sends the MAC address of the third network device CB2 to the first network device CB1.
Step 5: Authentication information is transferred to the first network device CB1 and then the first network device CB1 sends a magic packet to the third network device CB2 according to the MAC address of the third network device CB2.
While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention should not be limited to the specific construction and arrangement shown and described, since various other modifications may occur to those ordinarily skilled in the art.
Number | Date | Country | Kind |
---|---|---|---|
100114381 | Apr 2011 | TW | national |