The present invention relates to communication system, and more particularly, to a method and apparatus for power saving in the communication system.
Energy conservation is an important issue in the communication system, especially in a Wireless Local Area Networking (WLAN) system. With the proliferation of portable computing and mobile technology, energy conservation has received more and more attention. To make the best use of battery resources and prolong a device's battery life, a power saving mechanism is proposed within the IEEE802.11 standards. As specified in the standard, an IEEE802.11 based wireless adapter, or station, can be in one of two states at any time, awake or sleep. The sleep state usually consumes an order of magnitude less power than the awake state. Therefore, the task of the power saving mechanism is to maximize time spent in the sleep state and minimize time spent in the awake state, while not degrading the networking performance of the device.
A station in PSM (any of stations 82) cooperates with its associated AP (81) to achieve power savings. Within the IEEE802.11 standard, the general idea is for the AP to buffer frames for stations in PSM and to synchronize these stations to wake up at the same time. At the wakeup time, there starts a window where the AP announces its buffer status to the associated wireless stations by using a beacon frame message. The AP periodically transmits the beacon frame message and a wireless station in PSM shall power up to listen to the beacon to check whether there are data frames buffered in the AP. The stations determine whether there are buffered data frames by analyzing bitmap information in a traffic indication map (TIM) element contained in the beacon. The TIM structure is depicted in
The multicast frames are defined herein as frames that are intended to be received by selected wireless stations that are assigned to a multicast group with a multicast group address to which the multicast frames are directed. The broadcast frames are intended to be received by all wireless stations. The unicast frames are defined herein as frames that are intended to be received by one wireless station.
In the unicast case, the AP buffers incoming frames destined to a power saving (PS) station, announces this event through the TIM in a beacon frame, and then these buffered frames are retrieved by the PS station through PS-Poll requests. In the B/M case, the AP buffers all incoming broadcast/multicast frames if any client in the BSS is in PSM, and sends them out without polling after a beacon with a delivery traffic indication message (DTIM) has been transmitted. Thus, a DTIM is a special TIM transmitted with a DTIM beacon interval.
The TIM element of the beacon frame plays a key role in the overall procedure. It provides a one to one mapping between bits therein and wireless stations through the association identifiers (AIDS). AIDs are assigned to each client within a basic service set (BSS) during the association procedure. When a client joins a BSS the AP gives the client an AID. Each station associated with the AP is assigned one bit in the bitmap of a TIM with the position of the bit being related to the AID the station. The bit number N corresponds with the AID N in the TIM bitmap. If the bit N is set in the TIM of a beacon, the existence of buffered unicast frames for the station AID N is indicated.
With reference to
1) DTIM (delivery traffic indication message) count (one byte) defines the number of beacons should be sent out before the next DTIM appears. This value decreases with each beacon, and after reaching zero it returns to the initial value; zero is an indicator of a DTIM. Thus DTIM is a special TIM, with its DTIM count field equals zero.
2) DTIM period represents the number of beacon intervals between successive DTIMs. Note that the DTIM count should cycle through from this value to 0.
3) Bitmap Control field (one byte) contains two subfields. Bit 0 is used for the traffic indicator bit of association ID 0 (AID 0), which is reserved for B/M traffic. This bit should be set to 1 if there is one or more B/M frames buffered at AP for any stations in this BSS. The other 7 bits are used for the offset of the virtual bitmap. The offset infers the exact part of the virtual bitmap that has been transmitted.
4) Partial virtual bitmap (251 bytes) is an important feature of the TIM or DTIM element. Each bit of the virtual bitmap matches a wireless station associated with this AP, and its association ID (AID) is the position of the corresponding bit in the whole bitmap. Theoretically, an AP can support as many as 2008 stations in one BSS. Whenever a frame destined for a wireless station in power saving mode arrives, it should be buffered and its corresponding bit in the virtual bitmap should be set in the next TIM of the beacon, calling for the corresponding station to fetch the frames at the AP afterwards.
As shown in
Generally the PSM outperforms the CAM in terms of power consumption, at the cost of networking performance, such as delay and throughput. However, in practice the current PSM is still not efficient enough to achieve power conservation. The current mechanism uses one bit to indicate the existence of buffered B/M frames at the AP. Therefore, the current mechanism does not differentiate between multicast frames and broadcast frames, and moreover, multicast frames belonging to different multicast groups are treated as the same. This coarse granularity makes the scheme work inefficiently in multicast environments. The major deficiency lies in that a wireless station has to stay in the active state whenever there are multicast frames transmitting at the AP, even if these frames are destined to other multicast groups than the group this station belongs to, or a worse case that this station does not join any multicast group any multicast group at all. The energy used to scout multicast traffic that will not be received by a station is an unnecessary waste.
Therefore, it is needed to create an arrangement and method that addresses the above mentioned problem.
The invention provides a method and apparatus for power saving in the communication system by selectively awake the communication units to receive the buffered multicast and unicast frames at the access point.
According to one aspect of the invention, provide a method in a communication system for transmitting data from an access point to communication units capable of operating in a power-saving mode, the method comprising: assigning, by the access point, a first and a second association identifier in a message, to each of the communication units, to indicate the presence of respective buffered multicast data and unicast data respectively; setting, by the access point, the first association identifier to indicate the corresponding communication unit to receive the buffered multicast data, the second association identifier to indicate the corresponding communication unit to receive the buffered unicast data; and transmitting, by the access point, the message to awake the communication unit corresponding to the set first and/or second association identifier so as to transmit the buffered data thereto.
According to another aspect of the invention, provide an access point in a communication system for transmitting data to communication units capable of operating in a power-saving mode, the access point comprising: a memory for buffering data to be transmitted to the communication units; and a processor for assigning a first and a second association identifier in a message, to each of the communication units, to indicate the presence of respective buffered multicast data and unicast data respectively; and setting the first association identifier to indicate the corresponding communication unit to receive the buffered multicast data, the second association identifier to indicate the corresponding communication unit to receive the buffered unicast data; and a transmitter for transmitting the message to awake the communication unit corresponding the set first and/or second association identifier and then transmitting the buffered data thereto.
According to another aspect of the invention, provide a method used in a communication unit capable of operating in a power-saving mode for receiving data from an access point in a communication system, the method comprising: receiving a message from the access point; checking a first and a second association identifier in the message for the communication unit, wherein the first and second association identifier are assigned by the access point, to indicate the presence of buffered multicast data and unicast data respectively; and waking up to receive the multicast data and/or unicast data if the first and/or the second association identifier is set.
According to another aspect of the invention, provide a communication unit capable of operating in a power-saving mode in a communication system for receiving data from an access point, the communication unit comprising: a receiver for receiving data and a message from the access point; and a processor for cooperating with the receiver to check an first and second association identifier in the message for the communication unit, wherein the first and second association identifier are assigned by the access point, to indicate the presence of buffered multicast data and unicast data respectively; and wake up the communication unit to receive the multicast and/or unicast data if the first and/or second association identifier is set.
These and other aspects, features and advantages of the present invention will become apparent from the following description in connection with the accompanying drawings:
A description will now be given with reference to attached figures to illustrate many advantages/features of the present invention, according to various illustrative embodiments of the present invention.
According to the arrangement of the TIM, any single wireless station is provided with two successive bits acting as indicators, one for the buffered unicast frames at AP (referred as a U bit), and the other for the multicast frames (referred as a M bit). Thus the number of bits for unicast frame is reduced from 2008 to its half 1004, and the number of supported stations decreases correspondently. However, this reduction is reasonable, as one BSS usually does not have more than 100 associated stations.
It can be appreciable to one skilled in the art that the configuration of the TIM described herein is only for the purpose of illustration, but not to limit the invention to such configuration.
After the AP broadcasts a TIM element contained in a beacon, each mobile station received this message has to check the bitmap and find its unicast and multicast traffic indication bits in the TIM.
In the embodiments of the invention, the function of bits in bitmap control field and virtual bitmap field has been changed. As mentioned above, the M bits in the virtual bitmap field are traffic indicators of the multicast frames in the AP buffer. Each associated wireless station is allocated one such bit in virtual bitmap to handle the multicast frames. Setting this bit to 1 means any one or both of the following events happen 1) one or more multicast frames destined for this wireless station have been buffered at the AP; 2) one or more broadcast frames have been buffered at the AP. In addition, this bit should be set to zero if there are no pending broadcast frames and the multicast frames buffered at the AP. Therefore, this bit is actually used for the buffered multicast/broadcast frames, and it considers the broadcast frames as a special multicast frames. Therefore, in case any of the M bits in the bitmap are set to 1, the first bit of the bitmap control field AID 0 of TIM should also be set to 1.
According to the above arrangement, a station will wake up to receive the buffered frames at the AP as long as the corresponding M bit is set to 1 in the DTIM. In order to set the M bits effectively, an IGMP (Internet Group Multicast Protocol)-like group membership look-up table is maintained at AP to differentiate all multicast groups. The look-up table can be created and maintained by IGMP message snooping at AP.
Establishing and maintaining of such table is a procedure similar to IGMP protocol does. It is easy for one skilled in the art to create such table by sniffing IGMP messages coming from uplink router and downlink mobile stations within the BSS with various means.
The AID 0 in the virtual bitmap control field is referred as B/M bit, which is a traffic indicator of the broadcast/multicast frames in the AP buffer. This bit is set to 1 only in DTIMs if there are broadcast/multicast frames buffered at AP. This B/M bit should be set to zero if there are no pending broadcast frames and the multicast frames buffered at the AP. However, according to the embodiment of the invention, set B/M bit to 1 does not mean all stations shall wake up to receive buffered frames, which is different with that in the prior art. The station still need to check the M bit to determine its states.
Although it seems that it is not very necessary to set B/M to 1 according to the embodiment, it has compatibility with stations in the prior art. The stations in the prior art can not check M bits for the multicast/broadcast frames, but they can still check the B/M bit to get such information so as to determine their states according to the specification 802.11.
The U bits in the virtual bitmap field are Traffic indicators of the unicast frames at the AP buffer. Each bit matches exactly one station, paired with an M bit, and it is set to 1 if there are unicast frames buffered at the AP buffer and destined to corresponding station. Thus, the function of U bits is the same as that in the original 802.11 TIMs.
At step 501, the AP assigns the association identifier for multicast frames in a beacon frame to each of the communication units respectively according to the above arrangement, and receives a multicast message directed to one or more of the plurality of multicast groups or broadcast message. At step 502, the wireless stations to receive the frames buffered currently are determined according to the multicast group address. This can be accomplished by using the look-up table in
At step 503, set the M bits in the beacon frame corresponding to the determined wireless stations to 1. In addition, the U bits and the B/M bit are also set according to the above-mentioned method. Then, at step 504, the AP broadcasts a beacon frame to selectively awaken all wireless stations belonging to said multicast address so as to transmit the multicast frames thereto. This can be accomplished by transmitting a beacon frame with the set TIM to the wireless stations. In this manner, any other wireless stations not belonging to the multicast address are allowed to remain asleep. Of course, if the U bit for a station is set, the station still needs to wake up to receive the unicast frames.
The wireless stations that are being selectively awakened are programmed to remain awake sufficiently long, e.g. to receive the buffered messages. This can be accomplished by the use of a timer and/or a counter. The awakened wireless station can also be programmed to remain awake until the detection of the next DTIM beacon or until the end of the session.
As pointed out above, before a beacon frame is launched, the AP 610 assigns two bits to each wireless station, wherein one bit is used for unicast of a station and the other for multicast of the station. Then, the AP 610 fills the TIM structure by setting the corresponding M bits to 1 if there are buffered multicast/broadcast frames, setting the corresponding U bits to 1 if there are buffered unicast frames, and setting the B/M bit to 1 if there are buffered multicast or broadcast frames. That is, the AP transmits the buffered frames according to the above flow chart.
Each station 710 in power saving mode shall power up to listen to the beacon periodically transmitted by the AP to check whether there are frames buffered in the AP. The station will wake up if the corresponding U bit or M bit is set to 1. However, the station does not wake up according to the B/M bit which can be used by the prior art stations.
As for the setting of M bits in the TIM, another procedure can be used. The M bits are used for only indicating the buffered multicast frames, and not for the buffered broadcast frames. The M/B bit is used for indicating the buffered multicast/broadcast frames.
In this embodiment, an important thing needs to be redesigned is the buffering structure at the AP, which is not detailed in the original 802.11 standards. We introduce triple separate queues for data buffering: broadcast queue, multicast queue and unicast queue. They are named for the types of frames that they are buffered.
Each buffering queue operates in a FIFO manner. One thing should be mentioned is that certain priorities have been assigned for these queues during the operating procedure. When a DTIM indicates the existence of all three kind of buffered frames, the AP shall transmit the frames in the broadcast queue first, giving a high priority to that queue, and then the multicast queue, which possesses a middle-level priority, and the unicast queue is handled last, which corresponds to a low priority. The priority-based queuing mechanism makes it possible for a station to sleep even during a beacon interval.
According to the above arrangement, when the B/M is set to 1, and the corresponding M bit is set to 0, the station will wait some times as required to receive the broadcast frames if broadcast frames are buffered at the AP. Then if there is no frame arriving, the station will be asleep. In addition, when the B/M is set to 0, and the corresponding M bit is set to 0, the station will stay asleep, and do not need to wait for the buffered frames.
Other arrangement and procedure for the AP and stations are same as that of the first embodiment, therefore, the corresponding description is omitted therein.
As described above, the method and arrangement of the present invention provides a more efficient and fine-granular power saving scheme. According to the invention, the multicast frames from different groups can be differentiated and thereafter it can avoid all stations from wakening up to receive the multicast frame of some groups of stations. In addition, the method can be compatible with the prior art method in 802.11 standard.
Although the specific process based on the principle of the present invention is described above, it cannot be considered to be a limit to the present invention. For example, as described above, WLAN is adapted to illustrate the embodiments of the invention. However, it is apparent to one skilled in the art that other communication system with AP and communication units can also be adapted. In the above embodiments, data is transmitted and received in the form of frame. However, it is apparent to one skilled in the art that any form of data can also be adapted. In addition, the association identifier is transmitted in the beacon frame. However, it is apparent to one skilled in the art that the association identifier can be transmitted in any message.
The foregoing merely illustrates the principles of the invention and it will thus be appreciated that those skilled in the art will be able to devise numerous alternative arrangements which, although not explicitly described herein, embody the principles of the invention and are within its spirit and scope. It is to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
07301455.7 | Oct 2007 | EP | regional |
This application is a continuation of co-pending U.S. application Ser. No. 12/734,126, filed Apr. 12, 2010, herein incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12734126 | US | |
Child | 12802432 | US |