Method and Communication Device of Beacon Reception

Information

  • Patent Application
  • 20180199285
  • Publication Number
    20180199285
  • Date Filed
    January 06, 2017
    7 years ago
  • Date Published
    July 12, 2018
    6 years ago
Abstract
A method of beacon reception for a communication device in a wireless communication system is disclosed. The method comprises starting to receive a beacon from an access point (AP) of the wireless communication system, determining whether a specific element of the beacon is received, and determining whether to receive only a portion of the beacon according to the specific element.
Description
BACKGROUND

Wi-Fi has become a very important feature in modern electronic devices, including smart phones, tablets, wearable devices, Internet of Things (IOT) devices, notebooks, PCs, etc. Wi-Fi can provide the cheaper and faster internet experience than others. But for the long coverage and high throughput, Wi-Fi consumes more power. For longer battery life, many low power mechanisms are provided for different user scenarios.


To save power consumption, communication devices (e.g. Wi-Fi stations) generally keep in low power mode (e.g. Wi-Fi power saving mode (PSM)), and have to wake up to receive beacon for every 102.4 ms (i.e. beacon interval) by a target beacon transmission time (TBTT) timer, so that Wi-Fi stations (STAs) will not miss data sent from the access point (AP). In addition, a delivery traffic indication map (DTIM) bit is set by the AP in the beacon to notify a specific Wi-Fi STA of buffered data. Therefore, the Wi-Fi device turns the radio frequency (RF) antenna on for receiving buffered data from the AP when the DTIM bit of the beacon is set to “1”, whereas the Wi-Fi device/STA does not turn the RF antenna on when the DTIM bit is set to “0”.


Refer to FIG. 1, which is a schematic diagram of current consumption of a Wi-Fi station in power saving mode according to the prior art. In FIG. 1, the Wi-Fi station in sleep period “A” does not perform beacon reception, consuming less current, and in wake-up period “F” performs beacon reception, which has the highest power consumption during the power saving mode. As shown in FIG. 1, the longer the beacon reception time (i.e. the period “F”) is, the more the power consumption is. In addition, refer to FIG. 2, which is a schematic diagram of a beacon service period F according to the prior art. In general, right after the TBTT timer expires, the beacon is transmitted from the AP. However, if the channel is busy, the beacon transmission will be delayed. Thus, the Wi-Fi station has to stay awake longer for receiving the beacon and therefore consumes more power. Moreover, if a length of the beacon is longer, the Wi-Fi station will spend more time on receiving the entire beacon, which also costs more power.


Accordingly, how to improve the power consumption in power saving mode is a very important target for battery life extension.


SUMMARY

It is therefore an objective to provide a method of beacon reception, to save more power and extend battery life.


The present invention discloses a method of beacon reception for a communication device in a wireless communication system. The method comprises starting the beacon reception to receive a beacon from an access point (AP) of the wireless communication system, determining whether a specific element of the beacon is received, and determining whether to receive only a portion of the beacon according to the specific element.


The present invention discloses a communication device of a wireless communication system for handling beacon reception. The communication device comprises a storage unit for storing program code corresponding to a process, and a processing unit coupled to the storage unit, for processing the program code to execute the process, wherein the process comprises: starting the beacon reception to receive a beacon from an access point (AP) of the wireless communication system, determining whether a specific element of the beacon is received, and determining whether to receive only a portion of the beacon according to the specific element.


These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of current consumption of a Wi-Fi station in a power saving mode according to the prior art.



FIG. 2 is a schematic diagram of a beacon service period according to the prior art.



FIG. 3 is a schematic diagram of an exemplary communication device according to the present disclosure.



FIG. 4 is a flowchart of an exemplary process according to the present disclosure.



FIG. 5 is a schematic diagram of partial beacon reception according to the present disclosure.





DETAILED DESCRIPTION


FIG. 3 illustrates a schematic diagram of an exemplary communication device 30. The communication device 30 can be a Wi-Fi station, such as wearable devices, IoT devices, mobile phones, appliances, machine type devices, etc. compatible with Wi-Fi specification. The communication device 30 may include a processing unit 300 such as a processor, Application Specific Integrated Circuit (ASIC), etc., a storage unit 310 and a communication interfacing unit 320. The storage unit 310 may be any data storage device that can store program code 314 corresponding to a process, for access by the processing unit 300. The processing unit 300 may be coupled to the storage unit 310, for processing the program code 314 to execute the process. Examples of the storage unit 310 include but are not limited to a read-only memory (ROM), flash memory, random-access memory (RAM), CD-ROMs, magnetic tape, hard disk, and optical data storage device. The communication interfacing unit 320 may be a radio transceiver and can exchange wireless signals according to processing results of the processing unit 300.


Please refer to FIG. 4, which is a flowchart of a process 40 according to an example of the present disclosure. The process 40 may be utilized in a communication device (e.g. Wi-Fi station) for beacon reception. The process 40 may be compiled into the program code 314 to be stored in the storage unit 310 for being processed by the processing unit 300, and may include the following steps:


Step 400: Start.


Step 410: Start to receive a beacon from an access point (AP) of the wireless communication system.


Step 420: Determine whether a specific element of the beacon is received.


Step 430: Determine whether to receive only a portion of the beacon according to the specific element.


Step 440: End.


According to the process 40, the communication device may determine whether to receive a portion of the beacon or an entirety of the beacon according to a specific element in the currently received beacon. The specific element may include a traffic indication map (TIM), a channel switch announcement, etc. For example, when the specific element (e.g. TIM information element (IE)) of the beacon is received, the communication device may terminate beacon reception and therefore receives only a portion of the beacon, to shorten the beacon reception time for power saving.


Referring back to FIG. 3, the communication interfacing unit 320 of the communication device 30 may perform beacon reception in a wake-up period to receive a beacon from an access point (AP) of the wireless communication system. The processing unit 300 may process the portion of beacon received by the communication interfacing unit 320 to determine whether a specific element of the beacon is received. The processing unit 300 may also determine whether to receive only a portion of the beacon according to the specific element. If the specific element is received and/or it is determined to receive only the portion of the beacon, the processing unit 300 may notify the communication interfacing unit 320 to terminate the beacon reception. If the specific element is not received, the communication interfacing unit 320 may continue the beacon reception until end of the wake-up period.


In another embodiment, the communication device (e.g. Wi-Fi station) may check the value of the specific element (e.g. TIM IE), to determine the value is the same as or different from the value of the specific element of a previously received beacon. If a first value of the specific element of the currently received beacon is the same as a second value of the specific element of the previously received beacon, the communication device may determine to receive only the portion of the beacon. The communication device may therefore terminate the beacon reception to save power.


When it is determined to receive only a portion of the beacon (namely partial beacon reception), the communication device may not perform a cyclic redundancy check (CRC) on the portion of the beacon. In addition, the communication device may enter a sleep mode after terminating the beacon reception. Besides, the communication device may receive an entirety of a beacon after receiving only a portion of a beacon for a predetermined number of times, so as to avoid data loss.


On the other hand, if the first value of the specific element of the beacon is different from the second value of the specific element of the previously received beacon, the communication device may determine to receive an entirety of the beacon, and therefore continuously receives the beacon.


Refer to FIG. 5, which is a schematic diagram of a partial beacon reception according to the present disclosure. As shown in FIG. 5, compared to receiving an entirety of the beacon (namely full beacon reception) (a), the present invention can save more power by partial beacon reception (b). That is, communication device (e.g. the Wi-Fi station) may spend less time for beacon reception, so that the length of the wake-up period (marked as “F”) is shorten, so as to reduce the power consumption. The wake-up period can be a beacon service period.


The specific element (e.g. TIM IE) of the beacon transmitted from different APs may be located at different positions of the beacon. For example, the TIM IE of a beacon transmitted from a first AP may be located at 62 us of a 226 us long beacon. While the TIM IE of a beacon transmitted from a second AP may be located at 64 us of a 321 us long beacon. Anyhow, the communication device may not need to receive the entirety of the beacon to obtain the specific element. Besides, when the value of the specific element of current beacon is the same as the value of the specific element of the previous beacon, which may indicate the rest of the current beacon is not different from the previous beacon, the communication device may not need to receive the entirety of the beacon to obtain the content. Therefore, the communication device (e.g. the media access control (MAC) layer of Wi-Fi station) may enter the sleep mode after receiving the specific element (e.g. TIM IE), to save power. As can be seen, with partial beacon reception functionality, power consumption of communication device can be greatly reduced, so as to extend the battery life of the communication device.


The abovementioned steps of the processes including suggested steps can be realized by means that could be a hardware, a firmware known as a combination of a hardware device and computer instructions and data that reside as read-only software on the hardware device or an electronic system. Examples of hardware can include analog, digital and mixed circuits known as microcircuit, microchip, or silicon chip. Examples of the electronic system can include a system on chip (SOC), system in package (SiP), a computer on module (COM) and the communication device 30.


In conclusion, the present invention provides partial beacon reception functionality in communication device, so that the beacon reception time for the communication device can be shorten for saving power. In addition, the communication device may receive an entirety of the beacon for avoiding important information loss after several partial beacon receptions.


Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.

Claims
  • 1. A method of beacon reception for a communication device in a wireless communication system, the method comprising: starting the beacon reception to receive a beacon from an access point (AP) of the wireless communication system;determining whether a specific element of the beacon is received; anddetermining whether to receive only a portion of the beacon according to the specific element.
  • 2. The method of claim 1, wherein determining whether to receive only the portion of the beacon according to the specific element comprises: determining to receive only the portion of the beacon when a first value of the specific element of the beacon is the same as a second value of the specific element of a previously received beacon.
  • 3. The method of claim 1, wherein determining whether to receive only the portion of the beacon according to the specific element comprises: determining to receive an entirety of the beacon when a first value of the specific element of the beacon is different from a second value of the specific element of a previously received beacon.
  • 4. The method of claim 1, further comprising: terminating the beacon reception when determining to receive only the portion of the beacon.
  • 5. The method of claim 4, further comprising: entering a sleep mode after terminating the beacon reception.
  • 6. The method of claim 1, further comprising: terminating the beacon reception when determining the specific element of the beacon is received.
  • 7. The method of claim 6, further comprising: entering a sleep mode after terminating the beacon reception.
  • 8. The method of claim 1, further comprising: determining to receive an entirety of a beacon after the communication device receives only a portion of a beacon for a predetermined number of times.
  • 9. The method of claim 1, further comprising: performing no cyclic redundancy check (CRC) on the portion of the beacon when determining to receive only the portion of the beacon.
  • 10. The method of claim 1, wherein the specific element includes at least one of a Traffic indication map (TIM) and a channel switch announcement.
  • 11. A communication device of a wireless communication system for handling beacon reception, comprising: a storage unit for storing program code corresponding to a process; anda processing unit coupled to the storage unit, for processing the program code to execute the process;wherein the process comprises:starting the beacon reception to receive a beacon from an access point (AP) of the wireless communication system;determining whether a specific element of the beacon is received; anddetermining whether to receive only a portion of the beacon according to the specific element.
  • 12. The communication device of claim 11, wherein the step of determining whether to receive only the portion of the beacon according to the specific element comprises: determining to receive only the portion of the beacon when a first value of the specific element of the beacon is the same as a second value of the specific element of a previously received beacon.
  • 13. The communication device of claim 11, wherein the step of determining whether to receive only the portion of the beacon according to the specific element comprises: determining to receive an entirety of the beacon when a first value of the specific element of the beacon is different from a second value of the specific element of a previously received beacon.
  • 14. The communication device of claim 11, wherein the process further comprises: terminating the beacon reception when determining to receive only the portion of the beacon.
  • 15. The communication device of claim 14, wherein the process further comprises: entering a sleep mode after terminating the beacon reception.
  • 16. The communication device of claim 11, wherein the process further comprises: terminating the beacon reception when determining the specific element of the beacon is received.
  • 17. The communication device of claim 16, wherein the process further comprises: entering a sleep mode after terminating the beacon reception.
  • 18. The communication device of claim 11, wherein the process further comprises: determining to receive an entirety of a beacon after the communication device receives only a portion of a beacon for a predetermined number of times.
  • 19. The communication device of claim 11, wherein the process further comprises: performing no cyclic redundancy check (CRC) on the portion of the beacon when determining to receive only the portion of the beacon.
  • 20. The communication device of claim 11, wherein the specific element includes at least one of a Traffic indication map (TIM) and a channel switch announcement.