Method for reducing power consumption of wifi access point, and wifi access point
The present invention relates to the method and WIFI access points of communication technical field, more particularly to a kind of reduction WIFI access point power consumptions for the method and WIFI access points technical field of a kind of reduction WIFI access point power consumptions.
Background technology
With the popularization of mobile terminal, WIFI functions are increasingly favored by masses, critical function as smart mobile phone, PAD products, possesses the portable router for providing wireless network expanded function with WIFI, router is under WIFI functions namely in WIFI access points in addition(Access Point, AP Beacon frames) are sent under pattern, and detect whether terminal sends Station connection requests between two Beacon frames, if detecting Station connection requests, Station connection responses are sent, terminal processes response simultaneously sends required parameter etc. to WIFI access points to access WIFI access points.As shown in figure 1, WIFI access points are when sending Beacon frames, the WIFI IC of WIFI access points, WIFI IC peripheral circuits and power amplifier consumption electric current are 12.After Beacon frames are sent, electric current is consumed in the case where no Station terminal requests are connected, under the normal operating conditions of WIFI IC and WIFI the IC peripheral circuits of WIFI access points on average in II.
It can be seen that, in the prior art, in the case where no Station terminal requests are connected, WIFI access points are larger in the post consumption electric current for sending Beacon frames, and such WIFI access points power consumption is higher.The content of the invention
Embodiments of the invention provide the method and WIFI access points of a kind of reduction WIFI access point power consumptions, for reducing WIFI access point power consumptions.To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
In a first aspect, the embodiments of the invention provide a kind of method of reduction WIFI access point power consumptions, methods described includes:
WIFI access points perform the first power consumption mode within the current Beacon frame periods for having sent Beacon frames, and the first operation is performed, first power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out;First operation includes:
Start the first timer of first power consumption mode;Judge access request whether is received in the timing of the first timer, and judge whether the WIFI access points enter next Beacon frame periods;It is determined that not receiving the access request, and the WIFI access points do not enter into down-in the case of individual Beacon frame periods, the second power consumption mode is performed after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, and second power consumption mode includes the low-power consumption mode that the WIFI IC and WIFI IC peripheral circuit is carried out.
In the first possible implementation of first aspect, performed after first timer time-out after the second power consumption mode, methods described also includes:Start the second timer of second power consumption mode;After second timer time-out, first power consumption mode is performed, and perform first operation.
In the first possible implementation of first aspect or first aspect, second of possible implementation of first aspect is additionally provided, it is described to judge whether the WIFI access points enter next Beacon frame periods, specifically include:Within the current Beacon frame periods, the N number of power consumption mode of first predetermined number is set, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode, and first power consumption mode number than second power consumption mode number more than 1;Whether judge currently performed power consumption mode is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode enters next Beacon frame periods after terminating;If currently performed power consumption mode is not n-th power consumption mode, next Beacon frame periods are not entered into;Or, judged whether to enter next Beacon frame periods according to Beacon frame period timers.In the first possible implementation of first aspect, additionally provide the third possible implementation of first aspect, timing of the second timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different;The first timer is being worked as
Timing in the preceding Beacon frame periods and timing in next Beacon frame periods are identical or different.
In second of possible implementation of first aspect, the 4th kind of possible implementation of first aspect is additionally provided, timing TA2 of the second timer within the continuous M Beacon frame period of second predetermined number is identical;Timing TA1 of the first timer within the continuous M Beacon frame period of second predetermined number is identical.In the 4th kind of possible implementation of first aspect, additionally provide the 5th kind of possible implementation of first aspect, timing TB2 of the second timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB2 is not equal to TA2;Timing TB I of the first timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB I are not equal to TA1.In the first possible implementation of first aspect, the 6th kind of possible implementation of first aspect is additionally provided, the first timer includes at least two timings, and the second timer includes at least one timing.
In first aspect or first aspect, the first six is planted in any possible implementation, additionally provide the 7th kind of possible implementation of first aspect, before the WIFI access points perform the first power consumption mode within the current Beacon frame periods for having sent Beacon frames, methods described also includes:It is determined that not receiving the access request in preset time.
In the 8th kind of possible implementation of first aspect, the low-power consumption mode includes:Dormancy, standby or shutdown.Second aspect, the embodiment of the present invention provides a kind of WIFI access points, including:First execution unit and first processing units;First execution unit, for performing the first power consumption mode within the current Beacon frame periods for having sent Beacon frames, first power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out;The first processing units, the first timer for starting first power consumption mode;Judge access request whether is received in the timing of the first timer, and judge whether the WIFI access points enter next Beacon frame periods;It is determined that do not receive the access request, and in the case that the WIFI access points do not enter into next Beacon frame periods,
The second power consumption mode is performed after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, and second power consumption mode includes the low-power consumption mode that the WIFI IC and WIFI IC peripheral circuit is carried out.In the first possible implementation of second aspect, the WIFI access points also include:Second processing unit and the second execution unit;The second processing unit, the second timer for starting second power consumption mode;Second execution unit, for after second timer time-out, performing first power consumption mode, and perform the operation of the first processing units.
In the first possible implementation of second aspect or second aspect, second of possible implementation of second aspect is additionally provided, the first processing units, specifically for:Within the current Beacon frame periods, the N number of power consumption mode of first predetermined number is set, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode, and first power consumption mode number than second power consumption mode number more than 1;Whether judge currently performed power consumption mode is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode enters next Beacon frame periods after terminating;If currently performed power consumption mode is not n-th power consumption mode, next Beacon frame periods are not entered into;Or, judged whether to enter next Beacon frame periods according to Beacon frame period timers.
In the first possible implementation of second aspect, additionally provide the third possible implementation of second aspect, timing of the second timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different;Timing of the first timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different.In second of possible implementation of second aspect, the 4th kind of possible implementation of second aspect is additionally provided, timing TA2 of the second timer within the continuous M Beacon frame period of second predetermined number is identical;Timing TA1 of the first timer within the continuous M Beacon frame period of second predetermined number is identical.In the 4th kind of possible implementation of second aspect, additionally provide the 5th kind of possible implementation of second aspect, timing TB2 of the second timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB2
In TA2;Timing TBI of the first timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TBI is not equal to TA1.In the first possible implementation of second aspect, the 6th kind of possible implementation of second aspect is additionally provided, the first timer includes at least two timings, and the second timer includes at least one timing.In second aspect or second aspect, the first six is planted in any possible implementation, additionally provides the 7th kind of possible implementation of second aspect, it is characterised in that the WIFI access points also include:Determining unit;The determining unit, for determining not receive the access request in preset time.In the 8th kind of possible implementation of second aspect, the low-power consumption mode includes:Dormancy, standby or shutdown.The third aspect, the embodiments of the invention provide a kind of WIFI access points, including:Memory, processor, transmitter, receiver;Wherein, the memory is used for the program code for storing the method for reduction WIFI access point power consumptions;The processor is used to call the program code stored in the memory, to perform the first power consumption mode within the current Beacon frame periods that the transmitter has sent Beacon frames when WIFI access points, and the first operation is performed, first power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out;First operation includes:Start the first timer of first power consumption mode;Judge whether the receiver receives access request in the timing of the first timer, and judge whether the WIFI access points enter next Beacon frame periods;It is determined that the receiver does not receive the access request, and in the case that the WIFI access points do not enter into next Beacon frame periods, the second power consumption mode is performed after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, and second power consumption mode includes the low-power consumption mode that the WIFI IC and WIFI IC peripheral circuit is carried out.
In the first possible implementation of the third aspect, the processor is additionally operable to:Start the second timer of second power consumption mode;After second timer time-out, first power consumption mode is performed, and perform first operation.In the first possible implementation of the third aspect or the third aspect, the 3rd is additionally provided
Second of possible implementation of aspect, the processor, specifically for:Within the current Beacon frame periods, the N number of power consumption mode of first predetermined number is set, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode, and first power consumption mode number than second power consumption mode number more than 1;Whether judge currently performed power consumption mode is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode enters next Beacon frame periods after terminating;If currently performed power consumption mode is not n-th power consumption mode, next Beacon frame periods are not entered into;Or, judged whether to enter next Beacon frame periods according to Beacon frame period timers.
In the first possible implementation of the third aspect, additionally provide the third possible implementation of the third aspect, timing of the second timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different;Timing of the first timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different.
In second of possible implementation of the third aspect, the 4th kind of possible implementation of the third aspect is additionally provided, timing TA2 of the second timer within the continuous M Beacon frame period of second predetermined number is identical;Timing TA1 of the first timer within the continuous M Beacon frame period of second predetermined number is identical.
In the 4th kind of possible implementation of the third aspect, also provide can the third aspect the 5th kind of possible implementation, timing TB2 of the second timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB2 is not equal to TA2;Timing TB I of the first timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB I are not equal to TA1.In the first possible implementation of the third aspect, the 6th kind of possible implementation of the third aspect is additionally provided, the first timer includes at least two timings, and the second timer includes at least one timing.
In the first six any possible implementation of kind of the third aspect or the third aspect, the 7th kind of possible implementation of the 6th aspect is additionally provided, the processor is additionally operable to:It is determined that the receiver does not receive the access request in preset time.
In the 8th kind of possible implementation of the third aspect, the low-power consumption mode includes:Dormancy, standby or shutdown.
The embodiment of the present invention provides the method and WIFI access points of a kind of reduction WIFI access point power consumptions, WIFI access points are within the current Beacon frame periods, when performing the first power consumption mode, start the first timer of first power consumption mode, and it has been switched to the second power consumption mode after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, relative in the prior art, the situation of the first power consumption mode is constantly in after Beacon frames are sent, the first power consumption mode is not only existed within a Beacon frame period in the present invention, it is also in the second power consumption mode, so as to reduce the power consumption within the Beacon frame periods.
Brief description of the drawings is in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, the required accompanying drawing used in embodiment or description of the prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.Fig. 1 is a kind of WIFI access points consumption current diagram of the prior art;Fig. 2 is a kind of method of reduction WIFI access point power consumptions provided in an embodiment of the present invention;Fig. 3 is the method for another reduction WIFI access point power consumptions provided in an embodiment of the present invention;Fig. 4 a consume the schematic diagram of electric current for a kind of WIFI access points provided in an embodiment of the present invention;Fig. 4 b consume the schematic diagram of electric current for another WIFI access points provided in an embodiment of the present invention;Fig. 5 consumes the schematic diagram of electric current for another WIFI access points provided in an embodiment of the present invention;Fig. 6 is a kind of WIFI access points provided in an embodiment of the present invention;Figure is another WIFI access points provided in an embodiment of the present invention;Fig. 8 is a kind of entity apparatus schematic diagram of WIFI access points provided in an embodiment of the present invention.Embodiment is below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
The embodiment of the present invention of embodiment one provides a kind of method of reduction WIFI access point power consumptions, as shown in Fig. 2 the described method comprises the following steps 101-104.
101st, WIFI access points perform the first power consumption mode within the current Beacon frame periods for having sent Beacon frames, and perform the first operation.First power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out.First operation includes:
102nd, the first timer of first power consumption mode is started;
103rd, judge access request whether is received in the timing of the first timer, and judge whether the WIFI access points enter next Beacon frame periods;
104th, it is determined that do not receive the access request, and in the case that the WIFI access points do not enter into next Beacon frame periods, the second power consumption mode is performed after first timer time-out;The power consumption of second power consumption mode is less than the power consumption of first power consumption mode.Wherein, second power consumption mode includes the low-power consumption mode that the WIFI IC and WIFI IC peripheral circuit is carried out.The low-power consumption mode includes:Dormancy, standby or shutdown, but not limited to this.When the WIFI access points are in the first power consumption mode, circuit is enclosed in the sunset fore-telling of the integrated circuit and integrated circuit of WIFI access points can carry out normal work, now, the WIFI access points are in normal operating conditions, when the WIFI access points are in the second power consumption mode, the integrated circuit of WIFI access points and the peripheral circuit of integrated circuit are likely to be at off-position, now, and the WIFI access points are in dormancy, standby or off-mode.The embodiment of the present invention provides a kind of method of reduction WIFI access point power consumptions, when performing the first power consumption mode, by the first timer for starting first power consumption mode, and it has been switched to the second power consumption mode after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, relative in the prior art, the situation of the first power consumption mode is constantly in after Beacon frames are sent, the first power consumption mode is not only existed within a Beacon frame period in the present invention, it is also in the second power consumption mode, so that by the lower power consumption of WIFI IC and WIFI IC peripheral circuit in WIFI access points within the current Beacon frame periods.Embodiment two
The embodiment of the present invention provides a kind of method of reduction WIFI access point power consumptions, as shown in Figure 3, the executive agent of methods described is WIFI access points, is illustrated by taking the Station connection requests that the WIFI access points receiving terminal is sent as an example, methods described includes:Following steps 201 204;
201st, WIFI access points determine not receiving the Station connection requests of terminal transmission in preset time, by performing step 201, it can determine that WIFI access points do not receive the Station connection requests of terminal transmission in preset time range, so as to after no Station connection requests are confirmed, implement the method that the present invention saves power consumption within the follow-up Beacon frame periods beyond preset time range.
Wherein, the preset time can be determined by the length in Beacon frame periods, specifically, because the length in each Beacon frame periods is identical, then the preset time can be at least one Beacon frame period.Example, if the WIFI access points do not receive the Station connection requests of terminal transmission within two Beacon frame periods, implement the method that the present invention saves power consumption within the follow-up Beacon frame periods after two Beacon frame periods.
202nd, WIFI access points perform the first power consumption mode within the current Beacon frame periods after Beacon frames have been sent.First power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out.In the embodiment of the present invention, since each Beacon frame periods be start to send current Beacon frames to the time interval that Beacon frames are sent next time.
203rd, the first timer of first power consumption mode is started.
204th, judge the Station access requests that terminal is sent whether are received in the timing of the first timer, in embodiments of the present invention, if terminal sends Station access requests in the timing of the first timer, step 209 is performed;If terminal does not send Station access requests, step 205 is performed.
205th, judge whether the WIFI access points enter next Beacon frame periods.During 205 steps are realized, WIFI access points judge whether it enters next Beacon frame periods, can specifically be completed by following two implementations:Implementation one
Step 1:Within the current Beacon frame periods, the N number of power consumption mode of the first predetermined number is set, described N power consumption mode of predetermined number includes first power consumption mode and the second power consumption mould
Formula, and first power consumption mode number than second power consumption mode number more than 1;Step 2:Whether judge currently performed power consumption mode is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode enters next Beacon frame periods after terminating;If currently performed power consumption mode is not n-th power consumption mode, next Beacon frame periods are not entered into.Whether example, it is n-th power consumption mode that currently performed power consumption mode can be judged by setting counter.Assuming that initial hour counter size is 0, and when performing first power consumption mode or second power consumption mode, counter cumulative 1, and judge whether the size of nonce counter is less than or less than or equal to N.Because the WIFI access points were sent in the Beacon current Beacon frame periods, if not receiving the Station access requests of terminal transmission, execution first power consumption mode and second power consumption mode can be circulated, and first power consumption mode is first carried out, it therefore, it can judge whether currently performed power consumption mode is the N power consumption mode by setting the accumulated value of counter.Implementation two judges whether to enter next Beacon frame periods according to Beacon frame period timers.If Beacon frame period timer expiries, into next Beacon frame periods;If Beacon frame period timers are not timed-out, next Beacon frame periods are not entered into.Specifically, because the length in each Beacon frame periods is identical, then can set a timer to judge whether to enter next Beacon frame periods, the timer when an a length of Beacon frame period length;If Beacon frame period timer expiries, into next Beacon frame periods, if Beacon frame period timers are not timed-out, next Beacon frame periods are not entered into.
Optionally, timing of the second timer within the current Beacon frame periods and timing in next Beaco frame periods are identical or different;Timing of the first timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different.
If the 206, the terminal does not send the Station access requests, and the WIFI access points do not enter into next Beacon frame periods, the second power consumption mode is performed after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode.As shown in fig. 4 a, the first power consumption mode and second are performed within first Beacon frame period
The time of power consumption mode is Tan(n is the integer more than or equal to 1);The time that the first power consumption mode and the second power consumption mode are performed within second Beacon frame period is Tbm(m is the integer more than or equal to 1);And Tan≠Tbm;So, in the case where Beacon frame period time spans are certain, n and m maximum are differed;As shown in fig. 4 a, the electric current when sending Beacon frames is 12, the electric current of the first power consumption mode is being performed for I, is 1 performing the electric current of the second power consumption mode3 , 13Less than 12.Wherein, the time that performs of the first power consumption mode is the timing in first timer;The time that performs of second power consumption mode is the timing in second timer.As shown in Figure 4 b, the time respectively T of the first power consumption mode is performed within first Beacon frame periodai(i is the odd number more than or equal to 1), the time of the second power consumption mode is respectively Taj(j is the even number more than or equal to 1), the time T of the first power consumption mode is performed within first Beacon frame periodaiWith the time T of the second power consumption modeajCan be with identical, can also be different, the time T of the first power consumption mode is performed within first Beacon frame periodaiCan be with identical, can also be different, perform the time T of the second power consumption modeajCan be with identical, can also be different;The time respectively T of the first power consumption mode is performed within second Beacon frame periodbl(i is the odd number more than or equal to 1), the time of the second power consumption mode is respectively Tbj(j is the even number more than or equal to 1), the time T of the first power consumption mode is performed within second Beacon frame periodblWith the time T of the second power consumption modebjCan be with identical, can also be different, the time T of the first power consumption mode is performed within second Beacon frame periodblCan be with identical, can also be different, perform the time T of the second power consumption modebjCan be with identical, can also be different.As shown in Figure 4 b, the electric current when sending Beacon frames is 12, the electric current of the first power consumption mode is being performed for Ii, is 1 performing the electric current of the second power consumption mode3 , 13Less than ^.Wherein, the time that performs of each the first power consumption mode is the timing in each first timer;The time that performs of each the second power consumption mode is the timing in each second timer.Optionally, second power consumption mode includes the low-power consumption mode that the WIFI IC and WIFI IC peripheral circuit is carried out.It can be seen that, by the way that WIFI IC and WIFI IC peripheral circuit are arranged on into low-power consumption mode, it is to avoid the current drain of operation in the normal mode of operation.Optionally, the low-power consumption mode includes:Dormancy, standby or shutdown, are certainly not limited to described low-power consumption mode, all to belong to the low-power consumption mode less than first power consumption mode.Wherein, for the dormancy and it is described it is standby can image be described as:It is described standby in either shallow sleep state, the dormancy is in than the standby deeper deep sleep, time required for the holding state of the WIFI access points from second power consumption mode returns to first power consumption mode, than the WIFI access points from the dormancy shape of second power consumption mode
Time required for state returns to first power consumption mode is shorter.Optionally, timing TA2 of the second timer within the continuous M Beacon frame period of second predetermined number is identical;Timing TA1 of the first timer within the continuous M Beacon frame period of second predetermined number is identical.Optionally, timing TB2 of the second timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB2 is not equal to TA2;Timing TB I of the first timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB I are not equal to TA1;As shown in Fig. 5, the timing of first timer and second timer within first Beacon frame period and continuous two cycles in second Beacon frame period, namely TA1 and TA2 is Tan, the timing of first timer that can be in the Beacon frame periods of continuous 3rd predetermined number since the 3rd Beacon frame period and second timer, namely TB I and TB2 are Tbm, and Tan is not equal to Tbm.3rd predetermined number can be any positive integer.Optionally, the first timer can include multiple timings, the second timer can also include multiple timings, within a Beacon frame period, each timing of first timer can be with identical, can also be different, each timing of second timer can be with identical, can also be different, the timing of first timer can be with identical with the timing of second timer, can also be different, the timing of first timer and the timing of second timer can be pre-set according to actual needs, it can also be generated according to random function, the present invention is to this without limiting.
207th, the second timer of second power consumption mode is started.
208th, after second timer time-out, first power consumption mode is performed, and perform step 203-205.The present invention is by setting second timer to the second power consumption mode, and realization is alternately performed the first power consumption mode and the second power consumption mode.And further realize that terminal accesses WIFI access points by having detected whether Station access requests in the first timer of the first power consumption mode.
209th, WIFI access points send Station connection responses to terminal, so that terminal accesses WIFI access points.The embodiment of the present invention provides a kind of method of reduction WIFI access point power consumptions, when performing the first power consumption mode, by the first timer for starting first power consumption mode, and the second power consumption mode is switched to after first timer time-out, the power consumption of second power consumption mode is less than
The power consumption of first power consumption mode, relative in the prior art, the situation of the first power consumption mode is constantly in after Beacon frames are sent, the first power consumption mode is not only existed within a Beacon frame period in the present invention, the second power consumption mode is also in, so that the lower power consumption within the current Beacon frame periods.Further, by the second timer for setting the second power consumption mode, the first power consumption mode is continued executing with after second timer time-out, after first timer time-out, the second power consumption mode is performed again, on the one hand the method for being alternately performed the first power consumption mode and the second power consumption mode within a Beacon frame period is realized, so as to reduce power consumption, on the other hand Station access requests have been detected whether in the timing of first timer, to realize that terminal accesses WIFI access points.Embodiment three as shown in fig. 6, the embodiment of the present invention provides a kind of WIFI access points 10, including:First execution unit 11 and first processing units 12;First execution unit 11, for performing the first power consumption mode within the current Beacon frame periods for having sent Beacon frames, first power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out;The first processing units 12, the first timer for starting first power consumption mode;Judge access request whether is received in the timing of the first timer, and judge whether the WIFI access points enter next Beacon frame periods;It is determined that not receiving the access request, and in the case that the WIFI access points do not enter into next Beacon frame periods, the second power consumption mode is performed after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, and second power consumption mode includes the low-power consumption mode that the WIFI IC and WIFI IC peripheral circuit is carried out.So, the first power consumption mode is not only existed within a Beacon frame period, the second power consumption mode is also in, so that the lower power consumption within the current Beacon frame periods by setting first timer in the present invention.
Optionally, the first processing units 12 specifically for:Within the current Beacon frame periods, the N number of power consumption mode of first predetermined number is set, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode, and first power consumption mode number than second power consumption mode number more than 1;Whether judge currently performed power consumption mode is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the N
Individual power consumption mode enters next Beacon frame periods after terminating;If currently performed power consumption mode is not n-th power consumption mode, next Beacon frame periods are not entered into;Or, judged whether to enter next Beacon frame periods according to Beacon frame period timers.Optionally, as shown in fig. 7, the WIFI access points 10 also include:The execution unit 14 of second processing unit 13 and second.
The second processing unit 13, the second timer for starting second power consumption mode.Second execution unit 14, for after second timer time-out, performing first power consumption mode, and perform the operation of the first processing units.
Optionally, timing of the second timer within the current Beacon frame periods and timing in next Beaco frame periods are identical or different;Timing of the first timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different.
Optionally, timing TA2 of the second timer within the continuous M Beacon frame period of second predetermined number is identical;Timing TA1 of the first timer within the continuous M Beacon frame period of second predetermined number is identical.Optionally, timing TB2 of the second timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB2 is not equal to TA2;Timing TB I of the first timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB I are not equal to TA1.Optionally, the first timer includes at least two timings, and the second timer includes at least one timing.As shown in fig. 7, the WIFI access points 10 also include:Determining unit 15;The determining unit 15, for determining not receive the access request in preset time.Optionally, the low-power consumption mode includes:Dormancy, standby or shutdown.In the embodiment of the present invention, by the way that WIFI IC and WIFI IC peripheral circuit are arranged on into low-power consumption mode, it is to avoid the current drain of operation in the normal mode of operation.The embodiment of the present invention provides a kind of WIFI access points, first power consumption mode is performed by the first execution unit, start the first timer of first power consumption mode by first processing units, and it has been switched to the second power consumption mode after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, relative in the prior art, Beacon is being sent
It is constantly in after frame in the situation of the first power consumption mode, the present invention and does not only exist in the first power consumption mode within a Beacon frame period, the second power consumption mode is also in, so that the lower power consumption within the current Beacon frame periods.Further, pass through the second timer of the power consumption mode of second processing unit starting second, first power consumption mode is continued executing with after second timer time-out by the second execution unit, after first timer time-out, the second power consumption mode is performed again, on the one hand the method for being alternately performed the first power consumption mode and the second power consumption mode within a Beacon frame period is realized, so as to reduce power consumption, on the other hand Station access requests have been detected whether in the timing of first timer, to realize that terminal accesses WIFI access points.Example IV as shown in figure 8, the embodiments of the invention provide a kind of WIFI access points 80, including:Memory 801, processor 802, transmitter 803, receiver 804;Wherein, described each component of WIFI access points 80(Memory 801, processor 802, transmitter 803, receiver 804) it is coupled by bus system 805, wherein bus system 805 can also include power bus, controlling bus and status signal bus in addition etc. in addition to including data/address bus.But for the sake of clear explanation, various buses are all designated as bus system 805 in fig. 8;The memory 801 can include read-only storage and random access memory, and provide instruction and data to processor 802.The memory 801 can also include nonvolatile RAM(), NVRAM for the program code for the method for storing reduction WIFI access point power consumptions(Or operational order);The processor 802 is used to call the program code stored in the memory 801, to perform the first power consumption mode within the current Beacon frame periods that the transmitter 803 has sent Beacon frames when WIFI access points, and the first operation is performed, first power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access points are carried out;First operation includes:Start the first timer of first power consumption mode;Judge whether the receiver 804 receives access request in the timing of the first timer, and judge whether the WIFI access points enter next Beacon frame periods;It is determined that the receiver 804 does not receive the access request, and in the case that the WIFI access points do not enter into next Beacon frame periods, the second power consumption mode is performed after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, and second power consumption mode includes institute
State the low-power consumption mode that WIFI IC and WIFI IC peripheral circuit is carried out.Optionally, the processor 802 is additionally operable to:Start the second timer of second power consumption mode;After second timer time-out, first power consumption mode is performed, and perform first operation.Optionally, the processor 802, specifically for:Within the current Beacon frame periods, the N number of power consumption mode of first predetermined number is set, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode, and first power consumption mode number than second power consumption mode number more than 1;Whether judge currently performed power consumption mode is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode enters next Beacon frame periods after terminating;If currently performed power consumption mode is not n-th power consumption mode, next Beacon frame periods are not entered into;Or, judged whether to enter next Beacon frame periods according to Beacon frame period timers.Optionally, timing of the second timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different;Timing of the first timer within the current Beacon frame periods and timing in next Beacon frame periods are identical or different.
Optionally, timing TA2 of the second timer within the continuous M Beacon frame period of second predetermined number is identical;Timing TA1 of the first timer within the continuous M Beacon frame period of second predetermined number is identical.Optionally, timing TB2 of the second timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB2 is not equal to TA2;Timing TB I of the first timer since the M+1 Beacon frame period in the Beacon frame periods of continuous 3rd predetermined number is identical, and TB I are not equal to TA1.Optionally, the first timer includes at least two timings, and the second timer includes at least one timing.Optionally, the processor 802 is additionally operable to:It is determined that the receiver 804 does not receive the access request in preset time.Optionally, the low-power consumption mode includes:Dormancy, standby or shutdown.The embodiment of the present invention provides a kind of WIFI access points, and processor is by performing the first power consumption mould
Formula, start the first timer of first power consumption mode, and it has been switched to the second power consumption mode after first timer time-out, the power consumption of second power consumption mode is less than the power consumption of first power consumption mode, relative in the prior art, the situation of the first power consumption mode is constantly in after Beacon frames are sent, the first power consumption mode is not only existed within a Beacon frame period in the present invention, the second power consumption mode is also in, so that the lower power consumption within the current Beacon frame periods.Further, the second timer that processor passes through the second power consumption mode of startup, the first power consumption mode is continued executing with after second timer time-out, after first timer time-out, the second power consumption mode is performed again, on the one hand the method for being alternately performed the first power consumption mode and the second power consumption mode within a Beacon frame period is realized, so as to reduce power consumption, on the other hand Station access requests have been detected whether in the timing of first timer, to realize that terminal accesses WIFI access points.It should be noted that for the meaning of first, second saying, not restriction order employed in the various embodiments described above, only for convenience of differentiation.It should be noted that, for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the part being described in detail in some embodiment, may refer to the associated description of other embodiment.One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can be completed by the related hardware of programmed instruction, foregoing program can be stored in a computer read/write memory medium, the program upon execution, performs the step of including above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.It is described above; only embodiment of the invention, but protection scope of the present invention is not limited thereto, any one skilled in the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.