Field of the Invention
This invention relates generally to local area networks (LAN's), and more particularly to the remote wake-up of components connected to a local area network.
Background of Invention
Communication between multiple users across large distances via a network has become almost a necessity in today's global marketplace. A Local Area Network (LAN) is a specific type of network which can support peer-to-peer communication over distances ranging from tens of meters to several kilometers. LAN's have a finite transmission range. Thus, in order to allow users outside a particular LAN group to access another LAN or wide area network (WAN) group, routers and bridges are used to connect different networks together.
A specific type of LAN is the ethernet, where information from multiple users travels through the network by use of a system bus in the form of discrete packets containing a number of pieces of information. A typical information packet contains a series of fields: a Destination Address Field; a Source Address Field; a Length Field; a Data Field where the user information is present and, in some cases, an error checking field.
Presently, there is a trend, due to the increasing use of lap top and other portable computers which operate on battery power for manufacturers to develop systems that have power conservation features or that can operate in a low power mode. Due to the increasing consumer demand for low power operation capability, the ability to wake-up a remote device in the SLEEP (low power) mode without the use of the Central Processing Unit (CPU) or other Power Managed circuitry which requires a lot of power and decreases battery life is becoming increasingly important to manufacturers. For a device that is in a low power mode, there is no simple and efficient way to determine how information packets that are received by the device through the network should be processed. In present systems, the CPU would have to be activated to process the incoming information to see if the entire device should be activated. This requires the use of a lot of extra hardware which uses a lot of energy which, in turn, means a shorter battery life. Also, if there is a mistake in the Destination Address, the information packet sent may be received by a subsystem, i.e. input/output (I/O) interface, that should not receive the information packet.
Thus, the ability to be able to remotely wake-up a device in the low power mode and to transmit and process information quickly and accurately which is transmitted over a network is of importance to both manufacturers and consumers alike.
Summary of the Invention
The present invention solves the aforementioned and related problems of remotely waking up a device in a low power mode forming part of a node of a network and further transmitting information sent via a LAN to the correct node or device. Disclosed herein are a special information packet structure and I/O device used for listening for the special information packet. Once the special information packet is received, the CPU will be activated and further received data will be sent to the awakened device for further processing, if any. If the special information packet received by the I/O device is not intended to be sent to the particular node that is listening for the information, the date will not be further processed by that particular node.
An advantage of the present invention is the ability to remotely wake-up a device coupled to a network when there is information to be processed by that particular device in the low power mode.
Another advantage of the present invention is the ability to transmit information to various users along the network without the use of the central processing unit.
Still another advantage of the present invention is that the same input/output device present in personal computers can be used.
A feature of the present invention is that it can be implemented with very few parts.
Another feature of the present invention is that it uses the same packet structure present in prior systems.
Brief Description of the Drawings
These and other objects, advantages and features of the present invention will become apparent from the following description, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a block diagram of a personal computer system with low power operation capability that is connected to a network for remote wake-up.
FIG. 2 is a schematic view of the remote wakeup packet fort of the present invention.
FIG. 3 is a block diagram of the remote wake-up section of the network controller of the present invention.
FIG. 4 is a block diagram of the wake-up control logic of the network controller of the present invention.
FIG. 5 is a block diagram illustrating multiple systems connected to a network for remote wake-up according to the present invention.
Description of the Preferred Embodiment
A description of the information packet and the hardware which functions to generate a signal to wakeup a device in sleep mode via a local area network, will now be described with reference to FIGS. 1-4. FIG. 1 shows a block diagram of a digital device having remote wake-up capability. The device, in a preferred embodiment, is described as a power-managed personal computer system forming part of one node of a local area network (LAN) having a plurality of additional nodes with like power-managed devices forming parts of those additional nodes. The components that make up the remote wake-up section of the Network Controller as set out in greater detail in FIGS. 3 and 4 below, are placed on a single integrated circuit (IC) chip. However, other levels of integration are possible. For example, the Network Controller and the Power Management Logic may be placed on an IC chip. Also, all of the components that make up the device may be placed on a single IC chip or a series of chips. Further, it will be known to those of ordinary skill in the art that the personal computer system represented here can be a more complex system.
In the preferred embodiment, the personal computer system 10 is connected to form part of one node of a network, which in this case is the ethernet, via line 11. The ethernet is coupled to the network controller 12, which in turn is coupled to the Central Processing Unit (CPU) 14, Memory Unit 16, and Disk 18 of the personal computer system 10 via the system data bus. The network controller 12, which is located within the input/output (I/O) subsystem of the personal computer system 10 is also coupled to a Power Management Logic Block 20 via wake-up line 101 and an active low sleep line (SLEEP) 15. The Power Management Logic Block 20 is coupled to the CPU 14 for providing power conservation capability to the personal computer system 10. The powering down of the components of a personal computer system 10 is known to those of ordinary skill in the art and will not be discussed further herein.
The structure of the information packet 50 which is transmitted through the ethernet and contains the remote wake-up information of the present invention is shown in FIG. 2. The information packet 50 that is transmitted through the ethernet is generated by a source node remote from the personal computer system 10 by a combination of software and hardware similar to that discussed above. It is understood that any node of a network can act as a source node for transmitting information to the other nodes of the network. The personal computer system 10 of the present invention in conjunction with the appropriate software and hardware (not shown) can act as a source node and transmit information to the plurality of nodes coupled to the network. The information packet 50 is partitioned into 6 different fields. The first field contains the 6-byte Destination Address 52 indicating where the information packet 50 is to be sent. The second field contains a 6-byte Source Address 54 indicating where the information packet 50 originated from. The third field is a 2-byte length field 56 which contains the length of the frame data within the information packet 50. The fourth field is the Frame Data block 58 which may vary from 0 to 1404 bytes in length containing the data to be processed. In the preferred embodiment of the present invention a 96 byte wake-up data sequence 60, comprising 16 consecutive repetitions of the Destination Address 52 is embedded within the Frame Data block 58. The wake-up data sequence can be located anywhere within the Frame Data block 58. Finally, the sixth field contains a 4-byte Cyclic Redundancy Check (CRC) error control code 62 for checking the accuracy and reliability of the data 58 that was transferred by the information block 50. The total length of the information packet 50 of the present invention may vary from 114 to 1518 bytes. The functions of the particular information packet 50 discussed above will be described in greater detail below.
FIG. 3 illustrates in greater detail, the components which comprise the remote wake-up section of the network controller 12 of the present invention. Data from the information packet 50 transmitted through the ethernet 11 is sent to a comparator 104 via line 11'. The comparator 104 is also coupled to a 48-bit Physical Address RAM 106 that is separated into six (6) 8-bit registers, containing the particular physical address of the node on line 105. In the preferred embodiment of the invention, the node address is that of the personal computer system 10. Although the physical address is used to address the particular node in the preferred embodiment, any unique network identifier can be used in accordance with the present invention. Output of the comparator 104 is transmitted to the wake-up control logic block 102 via compare okay line 103. The other inputs to the wake-up control logic block 102 are the wake-up enable line 13 which is transmitted from inside the network controller 12, a byte clock signal on line CLK and the carry 2 output line from the binary counter 110 via line 113. The wake-up control logic 102 is further coupled to the RESET pin of the binary counter 110 and a modulo 6 counter 108 via line 109. Three outputs of the modulo 6 counter 108 are transmitted to the Physical Address RAM 106 via line 107. The other output of the modulo 6 counter, the carry 1 output, is transmitted to the binary counter 110 via line 111. The function of the network controller 12 will be described in greater detail below.
FIG. 4 illustrates a schematic diagram of the wake-up control logic 102 of the present invention. The carry 2 output line of the binary counter 110 is coupled to the SET pin of the D flip flop ("flip flop") 200 via line 113. The byte clock CLK signal is transmitted to the clock input of the flip flop 200. The wake-up enable line 13 is coupled to both the active low RESET pin 201 of the flip flop 200 and to one input to NAND gate 202. The second input to the NAND gate 202 is the compare okay line from the comparator 104 on line 103. The cutput of the NAND gate 202 is fed into both the RESET pin of the modulo 6 counter 108 and the RESET pin of the binary counter 110 via line 109. The output of the flip flop 200 is fed back into its input via line 203 and further acts as the wake-up frame received output line 101 of the system. The function of the wake-up logic 102 will be discussed in greater detail below.
The operation of the wake-up control logic 102 to generate the signal which powers up the personal computer system 10 of the present invention will now in be described with reference to FIGS. 3 and 4. The personal computer system 10 must be in a low power (sleep) mode before any wake-up capability is available. Thus, the Power Management Logic Unit 20 puts the personal computer system 10 into the low power mode by asserting the SLEEP line 15 to an active low (OV) state. When the SLEEP line 15 is active low, the wake-up enable line 13 is made active high, thereby placing the network controller 12 into the remote wake-up mode. When the network controller 12 is in the remote wake-up mode, it listens to the ethernet via line 11 for any information packets 50 that are being transmitted through the ethernet via line 11. When an information packet 50 reaches the personal computer system 10, it is first transmitted to the comparator 104 via line 11 where the Destination Address 52 of the information packet 50 is compared to the output of the Physical Address RAM 106 which has been loaded with the particular node address of the personal computer system 10 on line 105 to determine if the particular Destination Address 52 is connected to the node serviced by the particular network controller 12. If there is an address match, the compare okay line 103 is asserted active high and transmitted to the wake-up control logic block 102 via line 103. As long as there is an address match, the compare okay line 103 will remain active high. The wake-up enable line 13 is asserted via the SLEEP line 15. The wake-up enable line 13 is also used as a remote wake-up acknowledgement when the SLEEP line 15 is deasserted. After the comparator 104 receives the Destination Address 52 contained within the information packet 50, the Frame Data field 58 of the packet 50 is read to determine if the Destination Address 52 is present at least 16 consecutive times within the frame data 58 of the information packet 50. For each consecutive byte of received data, the byte clock line is toggled via line CLK incrementing the counters of both the modulo 6 counter 108 and the binary counter 110. When the modulo 6 counter 106 counts six transitions of the byte clock on line CLK the carry 1 output becomes active high and is transmitted to the binary counter 110 via line 111. The binary counter 110 continues to increment on each transition of the byte clock on line CLK until it reaches 16. At this point, the carry 2 line 113 becomes active high and is transmitted to the SET pin of the flip flop 200 of the wake-up control logic 102. When the count of the binary counter 110 reaches 16, this signifies that the frame data 58 of the information packet 50 needs to be processed by the CPU 14 of the personal computer system 10. The asserted carry 2 line 113 that is transmitted to the SET pin of the flip-flop 200, results in a wake-up signal on line 101 that is transmitted to the Power Management Logic 20 which indicates that the CPU 14 should be activated. After the Power Management Logic 20 has acknowledged the wake-up signal on line 101, the SLEEP line 15 is deasserted which deasserts the wake-up enable line 13. The compare okay line 103 is also made active low, thereby causing the output of the NAND gate 202 on line 109 to become active high thus resetting the modulo 6 counter 108 and the binary counter 110 to zero.
Once the frame data 58 has been transmitted from the network controller 12 to the CPU 14 of the personal computer system 10, the personal computer system 10 will stay in the active state while there is processing being done on the frame data 58 that is read from future information packets 50 received by the network controller 12. Once the processing of the frame data 58 is complete, and after a predetermined time of inactivity, the Power Management Logic 20 will again power down the personal computer system 10 by making the SLEEP line 15 active low which will assert the wake-up enable line 13, thereby putting the personal computer system 10 back in the remote wake-up mode to listen for another information packet 50.
FIG. 5 illustrates an alternate embodiment of the present invention having a first LAN 301 and a second LAN 303 coupled to the computer network 11 via routers 302 and 304, respectively. The first LAN 301 may be a token ring network, an Apple talk network, or any of a variety of local area networks having nodes connected to the computer network 11. In the preferred embodiment, LAN 301 contains the personal computer system 10 of the present invention. LAN 303 can be a local network containing UNIX workstations, Apple MACINTOSH# stations, or any other information system. To show the flexibility of the packet structure 50 of the present invention, reference is made to FIG. 5.
When information packets must be transmitted outside a LAN to another LAN, that packet must be passed through routers or bridges before being received by the destination LAN. When information is passed through the routers, the packet structure may change. For example, the length of the packet, the CRC, the location of the data portion or the type of packet may all change when the packet is transmitted through a router. This situation is handled by the structure of the packet 50 of the present invention. When packets are transmitted out of LAN 301, containing the personal computer system 10, via router 302 to LAN 303, the structure of the packet 50 may change when passed through router 304; however, the requirement of at least 16 consecutive repetitions of the destination address used to generate the wake-up signal as described above does not change. Hence, even if the data portions are separated and reconfigured by the routers, the same data sequence is preserved. Thus, if the transmitted packet 50 contains the wake-up sequence, the device in LAN 303 will generate a wake-up signal as discussed above. If the transmitted packet does not contain the wake-up sequence, the device present in LAN 303 will remain in the sleep mode.
The foregoing description of the preferred embodiment of the present invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The system and method described for the remote wake-up of a personal computer system was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. For example, the personal computer system may be placed in the sleep mode via software control. It is intended that the scope of the invention be defined by the claims appended hereto.