A kind of method and WIFI access point reducing WIFI access point power consumption
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for reducing WIFI access point power consumption and WIFI accesses
Point.
Background technique
With popularizing for mobile terminal, WIFI function increasingly by public favor, becomes smart phone, PAD product
Critical function, in addition possess provide wireless network extension function portable router with WIFI, router is in WIFI function
Can under namely under WIFI access point (Access Point, AP) mode send Beacon frame, and two Beacon frames it
Between detection terminal whether send Station connection request, if detecting Station connection request, send Station connection sound
It answers, terminal processes response simultaneously sends required parameter etc. to WIFI access point to access WIFI access point.
As shown in Figure 1, WIFI access point, when sending Beacon frame, WIFI IC, the WIFI IC of WIFI access point are peripheral
The consumption electric current of circuit and power amplifier is I2.After sending Beacon frame, in the connection of no Station terminal request
In the case of, under the normal operating conditions of WIFI IC and WIFI the IC peripheral circuit of WIFI access point consume electric current on average in
I1。
As it can be seen that in the prior art, in the case where the connection of no Station terminal request, WIFI access point is being sent
The post consumption electric current of Beacon frame is larger, and such WIFI access point power consumption is higher.
Summary of the invention
The embodiment of the present invention provides a kind of method and WIFI access point for reducing WIFI access point power consumption, for reducing
WIFI access point power consumption.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the invention provides a kind of methods for reducing WIFI access point power consumption, which comprises
WIFI access point executes the first power consumption mode within the current Beacon frame period for having sent Beacon frame, and executes
First operation, first power consumption mode includes that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access point carry out
Normal mode of operation;It is described first operation include:
Start the first timer of first power consumption mode;
Judge whether receive access request in the timing of the first timer, and judges the WIFI access
Whether point enters next Beacon frame period;
The access request is not received determining, and the WIFI access point does not enter into next Beacon frame week
In the case where phase, execute the second power consumption mode after first timer time-out, second power consumption mode it is low in energy consumption
In the power consumption of first power consumption mode, second power consumption mode includes the periphery electricity of the WIFI IC and WIFI IC
The low-power consumption mode that road carries out.
In the first possible implementation of the first aspect, the second function is executed after the first timer time-out
After consumption mode, the method also includes:
Start the second timer of second power consumption mode;
After the second timer time-out, first power consumption mode is executed, and executes first operation.
In the possible implementation of the first of first aspect or first aspect, second of first aspect is additionally provided
Possible implementation, it is described to judge whether the WIFI access point enters next Beacon frame period, it specifically includes:
Within the current Beacon frame period, the N number of power consumption mode of the first predetermined number, the N number of power consumption of predetermined number are set
Mode includes first power consumption mode and second power consumption mode, and the number of first power consumption mode is than described
The number of two power consumption modes more 1;
Judge whether currently performed power consumption mode is n-th power consumption mode;
If currently performed power consumption mode is n-th power consumption mode, after the n-th power consumption mode i.e. into
Enter next Beacon frame period;If currently performed power consumption mode is not n-th power consumption mode, do not enter into next
A Beacon frame period;
Alternatively,
Judged whether to enter next Beacon frame period according to Beacon frame cycle timer.
In the first possible implementation of the first aspect, the third possible realization of first aspect is additionally provided
Mode, the second timer is in the timing in the current Beacon frame period and the timing in next Beacon frame period
Time is identical or different;Timing of the first timer within the current Beacon frame period and next Beacon frame week
Timing in phase is identical or different.
In the second possible implementation of the first aspect, the 4th kind of possible realization of first aspect is additionally provided
Mode, timing TA2 of the second timer within the M Beacon frame period of continuous second predetermined number are identical;It is described
Timing TA1 of the first timer within the M Beacon frame period of continuous second predetermined number is identical.
In a fourth possible implementation of the first aspect, the 5th kind of possible realization of first aspect is additionally provided
Mode, the second timer is since the M+1 Beacon frame period in the Beacon frame period of continuous third predetermined number
Timing TB2 it is identical, and TB2 be not equal to TA2;The first timer is continuous since the M+1 Beacon frame period
Timing TB1 in the Beacon frame period of the third predetermined number is identical, and TB1 is not equal to TA1.
In the first possible implementation of the first aspect, the 6th kind of possible realization of first aspect is additionally provided
Mode, the first timer contain at least two timing, 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 provides the 7th of first aspect
The possible implementation of kind, executes first within the current Beacon frame period for having sent Beacon frame in the WIFI access point
Before power consumption mode, the method also includes:
Determination does not receive the access request within a preset time.
In the 8th kind of possible implementation of first aspect, the low-power consumption mode includes: suspend mode, standby or close
Machine.
Second aspect, the embodiment of the present invention provide a kind of WIFI access point, comprising: the first execution unit and the first processing are single
Member;
First execution unit, for executing the first power consumption within the current Beacon frame period for having sent Beacon frame
Mode, first power consumption mode include the normal of the peripheral circuit progress of WIFI IC and WIFI IC in the WIFI access point
Operating mode;
The first processing units, for starting the first timer of first power consumption mode;Judge described first
Access request whether is received in the timing of timer, and judges whether the WIFI access point enters next Beacon
The frame period;The access request is not received determining, and the WIFI access point does not enter into next Beacon frame week
In the case where phase, execute the second power consumption mode after first timer time-out, second power consumption mode it is low in energy consumption
In the power consumption of first power consumption mode, second power consumption mode includes the periphery electricity of the WIFI IC and WIFI IC
The low-power consumption mode that road carries out.
In the first possible implementation of the second aspect, the WIFI access point further include: the second processing unit
With the second execution unit;
Described the second processing unit, for starting the second timer of second power consumption mode;
Second execution unit, for executing first power consumption mode after the second timer time-out, and
Execute the operation of the first processing units.
In the possible implementation of the first of second aspect or second aspect, second of second aspect is additionally provided
Possible implementation, the first processing units, is specifically used for: within the current Beacon frame period, the first predetermined number is arranged
The N number of power consumption mode of mesh, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode,
And the number of first power consumption mode than second power consumption mode number more than 1;Judge currently performed power consumption mould
Whether formula is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption
Enter next Beacon frame period after mode;If currently performed power consumption mode is not n-th power consumption mode,
Next Beacon frame period is not entered into then;Alternatively, judging whether to enter according to Beacon frame cycle timer next
The Beacon frame period.
In the first possible implementation of the second aspect, the third possible realization of second aspect is additionally provided
Mode, the second timer is in the timing in the current Beacon frame period and the timing in next Beacon frame period
Time is identical or different;Timing of the first timer within the current Beacon frame period and next Beacon frame week
Timing in phase is identical or different.
In a second possible implementation of the second aspect, the 4th kind of possible realization of second aspect is additionally provided
Mode, timing TA2 of the second timer within the M Beacon frame period of continuous second predetermined number are identical;It is described
Timing TA1 of the first timer within the M Beacon frame period of continuous second predetermined number is identical.
In the fourth possible implementation of the second aspect, the 5th kind of possible realization of second aspect is additionally provided
Mode, the second timer is since the M+1 Beacon frame period in the Beacon frame period of continuous third predetermined number
Timing TB2 it is identical, and TB2 be not equal to TA2;The first timer is continuous since the M+1 Beacon frame period
Timing TB1 in the Beacon frame period of the third predetermined number is identical, and TB1 is not equal to TA1.
In the first possible implementation of the second aspect, the 6th kind of possible realization of second aspect is additionally provided
Mode, the first timer contain at least two timing, 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 of second aspect
The possible implementation of kind, which is characterized in that the WIFI access point further include: determination unit;
The determination unit does not receive the access request for determination within a preset time.
In the 8th kind of possible implementation of second aspect, the low-power consumption mode includes: suspend mode, standby or close
Machine.
The third aspect, the embodiment of the invention provides a kind of WIFI access points, comprising: memory, processor, transmitter,
Receiver;Wherein,
The memory is used to store the program code for the method for reducing WIFI access point power consumption;
The processor is for calling the program code stored in the memory, when WIFI access point is in the transmission
Device has sent and has executed the first power consumption mode in the current Beacon frame period of Beacon frame, and executes the first operation, and described first
Power consumption mode includes the normal mode of operation that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access point carry out;It is described
First operation includes: the first timer for starting first power consumption mode;Judge the timing in the first timer
Whether the interior receiver receives access request, and judges whether the WIFI access point enters next Beacon frame week
Phase;Determining that the receiver do not receive the access request, and the WIFI access point do not enter into it is next
In the case where the Beacon frame period, the second power consumption mode, the second power consumption mould are executed after the first timer time-out
The power consumption of formula is lower than the power consumption of first power consumption mode, and second power consumption mode includes the WIFI IC and WIFI
The low-power consumption mode that the peripheral circuit of IC carries out.
In the first possible implementation of the third aspect, the processor is also used to: starting second power consumption
The second timer of mode;After the second timer time-out, first power consumption mode is executed, and execute described first
Operation.
In the possible implementation of the first of the third aspect or the third aspect, second of the third aspect is additionally provided
Possible implementation, the processor, is specifically used for: within the current Beacon frame period, the N number of function of the first predetermined number is arranged
Consumption mode, the N number of power consumption mode of predetermined number includes first power consumption mode and second power consumption mode, and described
The number of first power consumption mode than second power consumption mode number more than 1;Judge currently performed power consumption mode whether be
N-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode terminates
Enter next Beacon frame period afterwards;If currently performed power consumption mode is not n-th power consumption mode, not into
Enter next Beacon frame period;Alternatively, being judged whether to enter next Beacon frame week according to Beacon frame cycle timer
Phase.
In the first possible implementation of the third aspect, the third possible realization of the third aspect is additionally provided
Mode, the second timer is in the timing in the current Beacon frame period and the timing in next Beacon frame period
Time is identical or different;Timing of the first timer within the current Beacon frame period and next Beacon frame week
Timing in phase is identical or different.
In the second possible implementation of the third aspect, the 4th kind of possible realization of the third aspect is additionally provided
Mode, timing TA2 of the second timer within the M Beacon frame period of continuous second predetermined number are identical;It is described
Timing TA1 of the first timer within the M Beacon frame period of continuous second predetermined number is identical.
In the fourth possible implementation of the third aspect, also provide can the third aspect the 5th kind of possible realization
Mode, the second timer is since the M+1 Beacon frame period in the Beacon frame period of continuous third predetermined number
Timing TB2 it is identical, and TB2 be not equal to TA2;The first timer is continuous since the M+1 Beacon frame period
Timing TB1 in the Beacon frame period of the third predetermined number is identical, and TB1 is not equal to TA1.
In the first possible implementation of the third aspect, the 6th kind of possible realization of the third aspect is additionally provided
Mode, the first timer contain at least two timing, and the second timer includes at least one timing.
It is planted in any possible implementation in the first six of the third aspect or the third aspect, additionally provides the of the 6th aspect
Seven kinds of possible implementations, the processor are also used to: determining that the receiver described within a preset time does not receive described connect
Enter request.
In the 8th kind of possible implementation of the third aspect, the low-power consumption mode includes: suspend mode, standby or close
Machine.
The embodiment of the present invention provides a kind of method and WIFI access point for reducing WIFI access point power consumption, and WIFI access point exists
In the current Beacon frame period, when executing the first power consumption mode, start the first timer of first power consumption mode, and
The second power consumption mode it has been switched to after first timer time-out, the power consumption of second power consumption mode is lower than described the
The power consumption of one power consumption mode, compared with the existing technology in, the feelings of the first power consumption mode are constantly in after sending Beacon frame
Condition, the present invention in do not only exist in the first power consumption mode within a Beacon frame period, be also in the second power consumption mode, from
And reduce the power consumption within the Beacon frame period.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is that a kind of WIFI access point in the prior art consumes current diagram;
Fig. 2 is a kind of method for reducing WIFI access point power consumption provided in an embodiment of the present invention;
Fig. 3 is another method for reducing WIFI access point power consumption provided in an embodiment of the present invention;
Fig. 4 a is the schematic diagram that a kind of WIFI access point provided in an embodiment of the present invention consumes electric current;
Fig. 4 b is the schematic diagram that another kind WIFI access point provided in an embodiment of the present invention consumes electric current;
Fig. 5 is the schematic diagram that another kind WIFI access point provided in an embodiment of the present invention consumes electric current;
Fig. 6 is a kind of WIFI access point provided in an embodiment of the present invention;
Fig. 7 is another kind WIFI access point provided in an embodiment of the present invention;
Fig. 8 is a kind of entity apparatus schematic diagram of WIFI access point provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment one
The embodiment of the present invention provide it is a kind of reduce WIFI access point power consumption method, as shown in Fig. 2, the method includes with
Lower step 101-104.
101, WIFI access point executes the first power consumption mode within the current Beacon frame period for having sent Beacon frame, and
Execute the first operation.First power consumption mode include WIFI IC and WIFI IC in the WIFI access point peripheral circuit into
Capable normal mode of operation.
It is described first operation include:
102, start the first timer of first power consumption mode;
103, judge whether receive access request in the timing of the first timer, and judge the WIFI
Whether access point enters next Beacon frame period;
104, the access request is not received in determination, and the WIFI access point does not enter into next Beacon
In the case where the frame period, the second power consumption mode is executed after the first timer time-out;The function of second power consumption mode
Consumption is lower than the power consumption of first power consumption mode.
Wherein, second power consumption mode includes the low function of the peripheral circuit progress of the WIFI IC and WIFI IC
Consumption mode.The low-power consumption mode includes: suspend mode, standby or shutdown, but not limited to this.
When the WIFI access point is in the first power consumption mode, the integrated circuit of WIFI access point and integrated circuit
Peripheral circuit can be worked normally, at this point, the WIFI access point is in normal operating conditions, when the WIFI access point
When in the second power consumption mode, the integrated circuit of WIFI access point and the peripheral circuit of integrated circuit are likely to be at power-off shape
State, at this point, the WIFI access point is in suspend mode, standby or off-mode.
The embodiment of the present invention provides a kind of method for reducing WIFI access point power consumption, when executing the first power consumption mode, leads to
The first timer for starting first power consumption mode is crossed, and has been switched to the second function after the first timer time-out
Consumption mode, the power consumption of second power consumption mode are lower than the power consumption of first power consumption mode, compared with the existing technology in, sending out
The case where being constantly in the first power consumption mode after Beacon frame is sent, is not only existed within a Beacon frame period in the present invention
First power consumption mode is also in the second power consumption mode, thus will be in WIFI access point within the current Beacon frame period
The lower power consumption of the peripheral circuit of WIFI IC and WIFI IC.
Embodiment two
The embodiment of the present invention provides a kind of method for reducing WIFI access point power consumption, as shown in figure 3, the execution of the method
Main body is WIFI access point, is illustrated so that the WIFI access point receives the Station connection request that terminal is sent as an example, institute
The method of stating includes: following steps 201~204;
201, WIFI access point determines the Station connection request for not receiving terminal transmission within a preset time, passes through
Step 201 is executed, can determine that WIFI access point does not receive the Station connection of terminal transmission in preset time range
Request, thus after confirming no Station connection request, it is real within the subsequent Beacon frame period other than preset time range
Apply the method that the present invention saves power consumption.
Wherein, the preset time can be determined by the length in Beacon frame period, specifically, due to each
The length in Beacon frame period is identical, then the preset time can be at least one Beacon frame period.It is exemplary, if described
WIFI access point does not receive the Station connection request of terminal transmission within two Beacon frame periods, then at two
Implement the method that the present invention saves power consumption in the subsequent Beacon frame period after the Beacon frame period.
202, WIFI access point executes the first power consumption mould within the current Beacon frame period after having sent Beacon frame
Formula.First power consumption mode includes the normal work that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access point carry out
Operation mode.In the embodiment of the present invention, since each Beacon frame period be start to send current Beacon frame to sending out next time
Send the time interval of Beacon frame.
203, start the first timer of first power consumption mode.
204, judge that the Station access that terminal transmission whether is received in the timing of the first timer is asked
It asks, in embodiments of the present invention, if terminal sends Station access request in the timing of the first timer,
Then follow the steps 209;If terminal does not send Station access request, 205 are thened follow the steps.
205, judge whether the WIFI access point enters next Beacon frame period.
During realizing 205 step, WIFI access point judges whether it enters next Beacon frame period, specifically
It can be completed by following two implementation:
Implementation one
Step 1: within the current Beacon frame period, the N number of power consumption mode of the first predetermined number, the predetermined number N are set
A power consumption mode includes first power consumption mode and second power consumption mode, and the number ratio of first power consumption mode
The number of second power consumption mode more 1;
Step 2: judging whether currently performed power consumption mode is n-th power consumption mode;
If currently performed power consumption mode is n-th power consumption mode, after the n-th power consumption mode i.e. into
Enter next Beacon frame period;If currently performed power consumption mode is not n-th power consumption mode, do not enter into next
A Beacon frame period.
It is exemplary, it can judge whether currently performed power consumption mode is n-th power consumption mould by setting counter
Formula.Assuming that initial hour counter size is 0, and when executing first power consumption mode or second power consumption mode, counter
Cumulative 1, and judge whether the size of nonce counter is less than or is less than or equal to N.Since the WIFI access point is being sent
In the current Beacon frame period of Beacon, if not receiving the Station access request of terminal transmission, it can recycle described in execution
First power consumption mode and second power consumption mode, and first power consumption mode is first carried out, therefore, it can be counted by setting
The accumulated value of device is counted to judge whether currently performed power consumption mode is n-th power consumption mode.
Implementation two
Judged whether to enter next Beacon frame period according to Beacon frame cycle timer.
If Beacon frame cycle timer time-out, enters next Beacon frame period;If the Beacon frame period
Timer is not timed-out, then does not enter into next Beacon frame period.
Specifically, since the length in each Beacon frame period is identical, then can set a timer to determine whether
Into next Beacon frame period, the timer when a length of Beacon frame period length;If the Beacon frame period
Timer expiry does not enter into down into next Beacon frame period if Beacon frame cycle timer is not timed-out then
One Beacon frame period.
Optionally, timing of the second timer within the current Beacon frame period and next Beaco frame week
Timing in phase is identical or different;Timing of the first timer within the current Beacon frame period with it is next
Timing in the Beacon frame period is identical or different.
If 206, the terminal does not send the Station access request, and the WIFI access point not into
Enter next Beacon frame period, executes the second power consumption mode, the second power consumption mould after the first timer time-out
The power consumption of formula is lower than the power consumption of first power consumption mode.
As shown in fig. 4 a, the time of the first power consumption mode and the second power consumption mode is executed within first Beacon frame period
For Tan (n is the integer more than or equal to 1);The first power consumption mode and the second power consumption are executed within second Beacon frame period
The time of mode is Tbm (m is the integer more than or equal to 1);And Tan ≠ Tbm;In this way, long in Beacon frame cycle time
In the case that degree is certain, the maximum value of n and m is not identical;As shown in fig. 4 a, the electric current when sending Beacon frame is I2, is being held
The electric current of the first power consumption mode of row is I1, is I3 in the electric current for executing the second power consumption mode, I3 is less than I2.Wherein, the first power consumption
The time that executes of mode is the timing in first timer;The execution time of second power consumption mode is in second timer
Timing.
As shown in Figure 4 b, the time that the first power consumption mode is executed within first Beacon frame period is respectively that (i is Tai
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), at first
The time Taj of the first power consumption mode is executed in the Beacon frame period time Tai and the second power consumption mode can be identical, can also be with
Difference, the time Tai that the first power consumption mode is executed within first Beacon frame period may be the same or different, and execute
The time Taj of second power consumption mode may be the same or different;The first power consumption mould is executed within second Beacon frame period
The time of formula is respectively Tbi (i be odd number) more than or equal to 1, the time of the second power consumption mode be respectively Tbj (j be greater than or
Even number equal to 1), execute within second Beacon frame period the time Tbi and the second power consumption mode of the first power consumption mode
Time, Tbj may be the same or different, and the time Tbi that the first power consumption mode is executed within second Beacon frame period can
It with identical, can also be different, the time Tbj for executing the second power consumption mode may be the same or different.As shown in Figure 4 b, exist
Electric current when sending Beacon frame is I2, is I1 in the electric current for executing the first power consumption mode, in the electricity for executing the second power consumption mode
Stream is I3, and I3 is less than I1.Wherein, the time that executes of each first power consumption mode is the timing in each first timer;
The time that executes of each second power consumption mode is the timing in each second timer.
Optionally, second power consumption mode includes the low of the peripheral circuit progress of the WIFI IC and WIFI IC
Power consumption mode.As it can be seen that avoiding and operating in just by being arranged the peripheral circuit of WIFI IC and WIFI IC in low-power consumption mode
Current drain under normal operating mode.
Optionally, the low-power consumption mode include: suspend mode, standby or shutdown, be certainly not limited to the low-power consumption mode,
It is all to belong to the low-power consumption mode lower than first power consumption mode.
Wherein, for the suspend mode and the standby description that can be vivid are as follows: described standby in either shallow sleep shape
State, the suspend mode are in than the standby deeper deep sleep, when the WIFI access point is from second function
The standby mode of consumption mode is restored to the time required for first power consumption mode, than the WIFI access point from described second
It is shorter that the dormant state of power consumption mode is restored to the time required for first power consumption mode.
Optionally, timing TA2 of the second timer within the M Beacon frame period of continuous second predetermined number
It is identical;Timing TA1 of the first timer within the M Beacon frame period of continuous second predetermined number is identical.
Optionally, the second timer continuous third predetermined number since the M+1 Beacon frame period
Timing TB2 in the Beacon frame period is identical, and TB2 is not equal to TA2;The first timer is from the M+1 Beacon
The timing TB1 that the frame period started in the Beacon frame period of the continuous third predetermined number is identical, and TB1 is not equal to
TA1;As shown in figure 5, first within first Beacon frame period and continuous two periods in second Beacon frame period is fixed
When device and second timer timing, that is, TA1 and TA2 be Tan, can connect since the third Beacon frame period
The timing of first timer and second timer in the Beacon frame period of continuous third predetermined number, that is, TB1 and
TB2 is Tbm, and Tan is not equal to Tbm.The third predetermined number can be any positive integer.
Optionally, the first timer may include multiple timings, and the second timer also may include more
A timing, within a Beacon frame period, each timing of first timer be may be the same or different,
Each timing of second timer may be the same or different, the timing and second timer of first timer
Timing may be the same or different, the timing of the timing of first timer and second timer can be with
It presets, can also be generated according to random function, the invention does not limit this according to actual needs.
207, start the second timer of second power consumption mode.
208, after the second timer time-out, first power consumption mode is executed, and execute step 203-205.
For the present invention by the way that second timer is arranged to the second power consumption mode, realization is alternately performed the first power consumption mode and second
Power consumption mode.It is real and further by having detected whether Station access request in the first timer of the first power consumption mode
Existing terminal accesses WIFI access point.
209, WIFI access point sends Station connection response to terminal, so that terminal accesses WIFI access point.
The embodiment of the present invention provides a kind of method for reducing WIFI access point power consumption, when executing the first power consumption mode, leads to
The first timer for starting first power consumption mode is crossed, and has been switched to the second function after the first timer time-out
Consumption mode, the power consumption of second power consumption mode are lower than the power consumption of first power consumption mode, compared with the existing technology in, sending out
The case where being constantly in the first power consumption mode after Beacon frame is sent, is not only existed within a Beacon frame period in the present invention
First power consumption mode is also in the second power consumption mode, thus the lower power consumption within the current Beacon frame period.
Further, by the way that the second timer of the second power consumption mode is arranged, in the subsequent of the second timer time-out
It is continuous to execute the first power consumption mode, after first timer time-out, and the second power consumption mode is executed, on the one hand realized at one
Beacon is alternately performed the first power consumption mode and the second power consumption mode method in the frame period, to reduce power consumption, on the other hand
Station access request is detected whether, in the timing of first timer to realize that terminal accesses WIFI access point.
Embodiment three
As shown in fig. 6, the embodiment of the present invention provides a kind of WIFI access point 10, comprising: the first execution unit 11 and first
Processing unit 12;
First execution unit 11, for executing the first function within the current Beacon frame period for having sent Beacon frame
Consumption mode, first power consumption mode include that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access point carry out just
Normal operating mode;
The first processing units 12, for starting the first timer of first power consumption mode;Judge described
Whether access request is received in the timing of one timer, and it is next to judge whether the WIFI access point enters
The Beacon frame period;Do not receive the access request determining, and the WIFI access point do not enter into it is next
In the case where the Beacon frame period, the second power consumption mode, the second power consumption mould are executed after the first timer time-out
The power consumption of formula is lower than the power consumption of first power consumption mode, and second power consumption mode includes the WIFI IC and WIFI
The low-power consumption mode that the peripheral circuit of IC carries out.
In this way, not only existing in the first power consumption within a Beacon frame period by setting first timer in the present invention
Mode is also in the second power consumption mode, thus the lower power consumption within the current Beacon frame period.
Optionally, the first processing units 12 are specifically used for: within the current Beacon frame period, the first predetermined number is arranged
The N number of power consumption mode of mesh, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode,
And the number of first power consumption mode than second power consumption mode number more than 1;Judge currently performed power consumption mould
Whether formula is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption
Enter next Beacon frame period after mode;If currently performed power consumption mode is not n-th power consumption mode,
Next Beacon frame period is not entered into then;Alternatively, judging whether to enter according to Beacon frame cycle timer next
The Beacon frame period.
Optionally, as shown in fig. 7, the WIFI access point 10 further include: the second processing unit 13 and the second execution unit
14。
Described the second processing unit 13, for starting the second timer of second power consumption mode.
Second execution unit 14, for executing first power consumption mode after the second timer time-out,
And execute the operation of the first processing units.
Optionally, timing of the second timer within the current Beacon frame period and next Beaco frame week
Timing in phase is identical or different;Timing of the first timer within the current Beacon frame period with it is next
Timing in the Beacon frame period is identical or different.
Optionally, timing TA2 of the second timer within the M Beacon frame period of continuous second predetermined number
It is identical;Timing TA1 of the first timer within the M Beacon frame period of continuous second predetermined number is identical.
Optionally, the second timer continuous third predetermined number since the M+1 Beacon frame period
Timing TB2 in the Beacon frame period is identical, and TB2 is not equal to TA2;The first timer is from the M+1 Beacon
The timing TB1 that the frame period started in the Beacon frame period of the continuous third predetermined number is identical, and TB1 is not equal to
TA1。
Optionally, the first timer contains at least two timing, and the second timer includes at least one
Timing.
As shown in fig. 7, the WIFI access point 10 further include: determination unit 15;
The determination unit 15 does not receive the access request for determination within a preset time.
Optionally, the low-power consumption mode include: suspend mode, it is standby or shutdown.In the embodiment of the present invention, by by WIFI
The peripheral circuit setting of IC and WIFI IC avoids the current drain of operation in the normal mode of operation in low-power consumption mode.
The embodiment of the present invention provides a kind of WIFI access point, executes the first power consumption mode by the first execution unit, passes through
First processing units start the first timer of first power consumption mode, and switch after the first timer time-out
To the second power consumption mode, the power consumption of second power consumption mode is lower than the power consumption of first power consumption mode, relative to existing
In technology, the case where being constantly in the first power consumption mode after sending Beacon frame, a Beacon frame week in the present invention
The first power consumption mode is not only existed in phase, is also in the second power consumption mode, thus the function within the current Beacon frame period
Consumption reduces.
Further, the second timer for starting the second power consumption mode by the second processing unit, executes list by second
Member continues to execute the first power consumption mode after second timer time-out, after first timer time-out, and executes the
On the one hand two power consumption modes realize and are alternately performed the first power consumption mode and the second power consumption mode within a Beacon frame period
Method on the other hand detected whether that Station access is asked in the timing of first timer to reduce power consumption
It asks, to realize that terminal accesses WIFI access point.
Example IV
As shown in figure 8, the embodiment of the invention provides a kind of WIFI access points 80, comprising: memory 801, processor
802, transmitter 803, receiver 804;Wherein,
80 various components of WIFI access point (memory 801, processor 802, transmitter 803, receiver 804) pass through
Bus system 805 is coupled, and wherein bus system 805 can also include power bus, control in addition to including data/address bus
Bus and status signal bus in addition processed etc..But for the sake of clear explanation, various buses are all designated as bus system in fig. 8
805;
The memory 801 may include read-only memory and random access memory, and provide instruction to processor 802
And data.The memory 801 can also include nonvolatile RAM (NVRAM), reduce for storing
The program code (or operational order) of the method for WIFI access point power consumption;
The processor 802 is for calling the program code stored in the memory 801, when WIFI access point is in institute
It states transmitter 803 and has sent the first power consumption mode of execution in the current Beacon frame period of Beacon frame, and execute the first operation,
First power consumption mode includes the normal work that the peripheral circuit of WIFI IC and WIFI IC in the WIFI access point carry out
Mode;First operation includes: the first timer for starting first power consumption mode;Judge in the first timer
Whether the receiver 804 receives access request in timing, and it is next to judge whether the WIFI access point enters
The Beacon frame period;Determining that the receiver 804 do not receive the access request, and the WIFI access point not into
In the case where entering next Beacon frame period, the second power consumption mode is executed after first timer time-out, described the
The power consumption of two power consumption modes be lower than first power consumption mode power consumption, second power consumption mode include the WIFI IC and
The low-power consumption mode that the peripheral circuit of the WIFI IC carries out.
Optionally, the processor 802 is also used to: the second timer of starting second power consumption mode;Described
After two timer expiries, first power consumption mode is executed, and executes first operation.
Optionally, the processor 802, is specifically used for: within the current Beacon frame period, the first predetermined number N is arranged
A power consumption mode, the N number of power consumption mode of predetermined number include first power consumption mode and second power consumption mode, and
The number of first power consumption mode than second power consumption mode number more than 1;Judging currently performed power consumption mode is
No is n-th power consumption mode;If currently performed power consumption mode is n-th power consumption mode, the n-th power consumption mode
After i.e. enter next Beacon frame period;If currently performed power consumption mode is not n-th power consumption mode, do not have
Have into next Beacon frame period;Alternatively, being judged whether to enter next Beacon according to Beacon frame cycle timer
The frame period.
Optionally, timing of the second timer within the current Beacon frame period and next Beacon frame week
Timing in phase is identical or different;Timing of the first timer within the current Beacon frame period with it is next
Timing in the Beacon frame period is identical or different.
Optionally, timing TA2 of the second timer within the M Beacon frame period of continuous second predetermined number
It is identical;Timing TA1 of the first timer within the M Beacon frame period of continuous second predetermined number is identical.
Optionally, the second timer continuous third predetermined number since the M+1 Beacon frame period
Timing TB2 in the Beacon frame period is identical, and TB2 is not equal to TA2;The first timer is from the M+1 Beacon
The timing TB1 that the frame period started in the Beacon frame period of the continuous third predetermined number is identical, and TB1 is not equal to
TA1。
Optionally, the first timer contains at least two timing, and the second timer includes at least one
Timing.
Optionally, the processor 802 is also used to: it is described to determine that the receiver 804 described within a preset time does not receive
Access request.
Optionally, the low-power consumption mode include: suspend mode, it is standby or shutdown.
The embodiment of the present invention provides a kind of WIFI access point, and processor starts described the by executing the first power consumption mode
The first timer of one power consumption mode, and it has been switched to the second power consumption mode after the first timer time-out, it is described
The power consumption of second power consumption mode be lower than first power consumption mode power consumption, compared with the existing technology in, send Beacon frame
The case where being constantly in the first power consumption mode later, the present invention in do not only exist in the first power consumption mould within a Beacon frame period
Formula is also in the second power consumption mode, thus the lower power consumption within the current Beacon frame period.
Further, processor passes through the second timer of the second power consumption mode of starting, in the second timer time-out
The first power consumption mode is continued to execute later, after first timer time-out, and is executed the second power consumption mode, is on the one hand realized
The method for being alternately performed the first power consumption mode and the second power consumption mode within a Beacon frame period, to reduce power consumption, separately
On the one hand Station access request has been detected whether in the timing of first timer, to realize that terminal accesses WIFI
Access point.
It should be noted that for employed in the various embodiments described above first, second saying, not no restriction sequence
The meaning, only for convenience of differentiation.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.