The present invention relates to Wireless-Fidelity (Wi-Fi) communications control, and more particularly, to a method for performing opportunistic power saving in an electronic device, and an associated apparatus.
According to the related art, some conventional power saving schemes, such as Legacy Power Saving (Legacy PS), Wi-Fi Multimedia Power Saving (WMM PS), Transmission Opportunity Power Saving (TXOP PS) and Peer-to-Peer Power Saving (P2P PS), are introduced. As a result, it may be achieved to save current consumption in a specified period for non-access point (non-AP) stations (STAs) and P2P devices according to Institute of Electrical and Electronics Engineers (IEEE) 802.11 standards. However, some problems may still exist. For example, there are only service-based power saving schemes, which are typically activated by protocol handshaking, based on IEEE 802.11 standards, where frame exchanges are typically needed to allow a conventional STA device enter a doze state. In another example, there is no power saving scheme in the related art to allow a conventional infrastructure AP device to enter a doze state. As a result, the conventional infrastructure AP device may suffer from high power consumption. In another example, the end user of a conventional electronic device may need to frequently switch off or on the Wi-Fi communications module of the conventional electronic device manually, which brings unpleasant user experience. Thus, a novel method and a corresponding architecture are required to improve the power saving control for an AP.
It is an objective of the claimed invention to provide a method for performing opportunistic power saving in an electronic device, and an associated apparatus, in order to solve the above-mentioned problems.
It is another objective of the claimed invention to provide a method for performing opportunistic power saving in an electronic device, and an associated apparatus, in order to allow an infrastructure access point (AP) to enter a doze state.
According to at least one preferred embodiment, a method for performing opportunistic power saving in an electronic device is provided, where the method comprises the steps of: wirelessly receiving at least one portion of a header of a packet, wherein the packet is wirelessly sent from outside the electronic device; determining a transmission time parameter of the packet according to the at least one portion of the header, for timing control of packet-based dozing; and according to header information within the packet, selectively controlling a transceiver of the electronic device to enter a doze state during a remaining transmission time of the packet, to reduce power consumption of the electronic device.
According to at least one preferred embodiment, an apparatus for performing opportunistic power saving in an electronic device is provided, where the apparatus comprises at least one portion of the electronic device. The apparatus may comprise a transceiver and a control module that is coupled to the transceiver. The transceiver is arranged for wirelessly receiving at least one portion of a header of a packet, wherein the packet is wirelessly sent from outside the electronic device. In addition, the control module is arranged for determining a transmission time parameter of the packet according to the at least one portion of the header, for timing control of packet-based dozing. Additionally, according to header information within the packet, the control module selectively controls the transceiver of the electronic device to enter a doze state during a remaining transmission time of the packet, to reduce power consumption of the electronic device.
It is an advantage of the present invention that the present invention method and the associated apparatus can reduce power consumption in an electronic device with fewer side effects. In addition, the present invention method and the associated apparatus can improve the power saving control for an electronic device. As a result, the related art problems (e.g. the problem of high power consumption, and the problem that the end user may need to frequently switch off or on the Wi-Fi communications module manually) can be resolved.
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.
Certain terms are used throughout the following description and claims, which refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not in function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
As shown in
In Step 210, the transceiver 110 wirelessly receives at least one portion (e.g. a portion or all) of a header of a packet, where the packet is wirelessly sent from outside the electronic device. For example, the packet may be wirelessly sent from any other electronic device, which is positioned outside the electronic device, and the aforementioned at least one portion of the header may be wirelessly received by the electronic device through the transceiver 110 before a connection between the electronic device and the source of the packet is established.
In Step 220, the control module 120 determines a transmission time parameter of the packet according to the aforementioned at least one portion of the header, for timing control of packet-based dozing. For example, the control module 120 may obtain at least one other parameter (e.g. one or more other parameters) from at least one field (e.g. one or more fields) in the aforementioned at least one portion of the header, and may determine (or calculate) the transmission time parameter according to the aforementioned at least one other parameter. In another example, the control module 120 may directly obtain the transmission time parameter from the aforementioned at least one portion of the header.
In Step 230, according to header information within the packet, the control module 120 selectively controls the transceiver 110 of the electronic device to enter a doze state during a remaining transmission time of the packet, to reduce the power consumption of the electronic device. For example, when the header information within the packet matches a specific predetermined condition, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time of the packet; otherwise, the control module 120 may prevent the transceiver 110 from entering the doze state during the remaining transmission time of the packet. In another example, when the header information within the packet matches one of a plurality of predetermined conditions, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time of the packet; otherwise, the control module 120 may prevent the transceiver 110 from entering the doze state during the remaining transmission time of the packet.
According to this embodiment, the apparatus 100 may further comprise a timer module within the electronic device (e.g. a program module running on the processor), and the apparatus 100 may utilize the timer module to perform at least one timing operation (e.g. one or more timing operations) according to the transmission time parameter. In addition, according to the header information within the packet, the control module 120 may control the transceiver 110 to stay in the doze state during the remaining transmission time of the packet. Based upon the aforementioned at least one timing operation, the control module 120 may control the transceiver 110 to exit the doze state when the remaining transmission time expires, for example, to wirelessly receive at least one portion of the next packet (e.g. a packet wirelessly sent from the same source of the packet mentioned in Step 210, or a packet wirelessly sent from another source). Please note that, although the control module 120 may rapidly determine whether to control the transceiver 110 to enter the doze state, the time that the control module 120 spends on determining whether to control the transceiver 110 to enter the doze state is typically greater than zero. As a result, the remaining transmission time mentioned in Step 230 is typically not equivalent to the time interval represented by the transmission time parameter. For example, the remaining transmission time mentioned in Step 230 may be shorter than the length of the time interval represented by the transmission time parameter. By utilizing the timer module to perform the aforementioned at least one timing operation, the control module 120 may accurately control the time that the transceiver 110 exits the doze state and may start monitoring characteristics of other packets in time.
According to some embodiments, according to the header information within the packet, the control module 120 may determine whether the packet is non-related to the electronic device, to selectively control the transceiver 110 to enter the doze state during the remaining transmission time of the packet. For example, the header information may comprise an Association Identifier (AID). In addition, when the AID in the packet does not match that of the electronic device, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time of the packet. In another example, the header information may comprise a Basic Service Set Identification (BSSID). In addition, when the BSSID in the packet does not match that of the electronic device, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time of the packet.
According to some embodiments, according to the header information within the packet, the control module 120 may determine whether the packet is non-decodable based on predetermined capabilities by the electronic device, to selectively control the transceiver to enter the doze state during the remaining transmission time of the packet. For example, the header information may comprise a data rate (e.g. the data rate for transmitting the data in the associated payload). In addition, when the data rate is an unsupported data rate of the electronic device, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time of the packet. This is for illustrative purposes only, and is not meant to be a limitation of the present invention. According to some embodiments of the present invention, when the data rate of the packet does not match a predetermined data rate of the electronic device, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time of the packet.
According to this embodiment, after receipt of the PHY SIG, the control module 120 may determine that, for example, the following payload (which may comprise the MAC header) cannot be decoded due to insufficient capabilities of the electronic device (e.g. un-supported rates), or is not necessary to be decoded by scenario (e.g. only mandatory PHY rates of interest as SCAN mode) according to the received PHY characteristics. As a result, the station (STA) role played by the electronic device may enter the doze state during the remaining L-SIG TX time, and therefore, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time mentioned in Step 230, such as the remaining L-SIG TX time. This is for illustrative purposes only, and is not meant to be a limitation of the present invention. After receipt of the PHY SIG, the control module 120 may determine that, for example, the following payload may be dropped due to AID mismatch (e.g. the AID of the packet mentioned in Step 210 does not match that of the electronic device) or BSSID mismatch (e.g. the BSSID of the packet mentioned in Step 210 does not match that of the electronic device). As a result, the STA role played by the electronic device may enter the doze state during the remaining L-SIG TX time, and therefore, the control module 120 may control the transceiver 110 to enter the doze state during the remaining transmission time mentioned in Step 230, such as the remaining L-SIG TX time.
According to some embodiments, after receipt of the PHY SIG, the control module 120 may determine whether the following payload cannot be decoded due to insufficient capabilities of the electronic device, based on some fields of a SIG structure such as that of the PHY SIG. Examples of these fields may include, but not limited to, CCK (for IEEE 802.11b), and those of Legacy SIG (for IEEE 802.11g) such as Rate. For example, the control module 120 may configure Wi-Fi PHY characteristics of interest into the electronic device.
According to this embodiment, after receipt of the PHY SIG, the control module 120 may determine whether the following payload cannot be decoded due to insufficient capabilities of the electronic device, based on some fields of this SIG structure. Examples of these fields may include, but not limited to, those of HT SIG (for IEEE 802.11n) such as MCS Set, Maximum MPDU Length, Sounding, Aggregation, Space Time Block Code (STBC), Low Density Parity Check Code (LDPC), and Short GI.
According to this embodiment, after receipt of the PHY SIG, the control module 120 may determine whether the following payload cannot be decoded due to insufficient capabilities of the electronic device, based on some fields of this SIG structure. Examples of these fields may include, but not limited to, those of HT SIG (for IEEE 802.11n) such as MCS Set, Maximum MPDU Length, Sounding, Aggregation, STBC, LDPC, and Short GI.
According to this embodiment, after receipt of the PHY SIG, the control module 120 may determine whether the following payload cannot be decoded due to insufficient capabilities of the electronic device, based on some fields of this SIG structure. Examples of these fields may include, but not limited to, those of VHT SIG (for IEEE 802.11ac) such as Bandwidth (BW), STBC, Single/Multiple User (SU/MU), NSTS, Short GI, LDPC, MCS Set, and Maximum MPDU Length.
According to this embodiment, after receipt of the PHY SIG, the control module 120 may determine whether the following payload cannot be decoded due to insufficient capabilities of the electronic device, based on some fields of this SIG structure. Examples of these fields may include, but not limited to, those of VHT SIG (for IEEE 802.11ac) such as BW, STBC, SU/MU, NSTS, Short GI, LDPC, MCS Set, and Maximum MPDU Length.
According to some embodiments, examples of these fields may include, but not limited to, Color bit (for IEEE 802.11ah).
Based upon the method 200 and the associated apparatus 100, the electronic device can detect (or recognize) the conditions that the received packets do not match its AID or BSSID according to the SIG structure (e.g. the VHT-SIG structure). As a result, the electronic device (more particularly, the transceiver 110) may enter the doze state for the remaining packet time derived based on the transmission time parameter mentioned in Step 220 (e.g. the L-SIG TX time or the related SIG TX time). For example, in a situation where the electronic device plays the role of an access point (AP) station (STA), this AP STA may enter the doze state when the received packets meet at least one (e.g. one or more) of the following conditions:
(1A). Group ID is not equal 0 (Not addressed to AP); and
(1B). PARTIAL_AID is neither equal to 0 nor does it match the AP's BSSID.
In another example, in a situation where the electronic device plays the role of a non-AP STA, this non-AP STA may enter the doze state when the received packets meet at least one (e.g. one or more) of the following conditions:
(2A). Not a member of the group on receipt of a MU-PPDU;
(2B). PARTIAL_AID is neither equal to 0 nor does it match the STA's partial AID on receipt of a SU-PPDU; and
(2C). NUM_STS equal to 0 if it is a member of group on receipt of a MU-PPDU.
According to some embodiments, new PHY header designs may be applied to the method 200 and the associated apparatus 100, and more particularly, the opportunistic packet-based power saving control scheme. For example, TXOP remaining time may be added to the next generation of PHY SIG. The STA can keep the latest NAV value even if the STA enter the doze state when recognizing that the received packets do not match its AID or BSSID via PHY SIG. Thus, the STA do not need to receive the whole of a packet, including PHY header and payload, to update the NAV. In addition, the STA can access medium immediately after wake up, and does not need to wait for the time of dot11VHTPSProbeDelay.
According to some embodiments, the electronic device can detect (or recognize) the conditions that the received packets do not match its AID or BSSID according to the SIG structure (e.g. the VHT-SIG structure). As a result, the electronic device (more particularly, the transceiver 110) may enter the doze state for the remaining packet time derived based on the transmission time parameter mentioned in Step 220 (e.g. the L-SIG TX time or the related SIG TX time). At the meanwhile, the electronic device can update the NVA based on the remaining packet time derived based on the transmission time parameter mentioned in Step 220 (e.g. the TX time in PHY SIG). In addition, the STA role played by the electronic device can access medium immediately after wake up. Some implementation details regarding the new PHY header designs are illustrated in Table 1.
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.
This application claims the benefit of U.S. Provisional Application No. 62/082,623, which was filed on Nov. 21, 2014, and is included herein by reference.
Number | Date | Country | |
---|---|---|---|
62082623 | Nov 2014 | US |