Method and the device of the power saving of a kind of Wireless Fidelity WiFi access point apparatus
Technical field
The present invention relates to wireless communication field, particularly method and the device of the power saving of a kind of WiFi access point apparatus.
Background technology
Wireless access point device, can utilize wireless communication technology to carry out the networking of WLAN (wireless local area network), present WiFi (Wireless Fidelity for example, Wireless Fidelity) access point apparatus, bluetooth equipment etc., wherein, be example with the AP in the WiFi access point apparatus (Access Point, access points), the deployment of radio reception device at present all is to adopt fixedly deployment way mostly, and the mode that adopts civil power to power.
Portable mobile wireless access point apparatus easy to carry has appearred in the recent period, this equipment one side self is as terminal equipment and the Wide Area Network communication of Wide Area Network, on the other hand, can provide access service for the wireless terminal device in the LAN again, because this wireless access point device adopts powered battery usually, the power saving problem that therefore solves the portable mobile wireless access point apparatus is most important.The power saving mode that adopts mainly comprises following two kinds at present:
First kind of mode, wireless access point device can detect the powering mode of self, self is when using powered battery when finding, then reduces transmitted power to prolong battery life, when self being mains-supplied as if discovery, then increases transmitted power to increase coverage.
The second way, wireless access point device are provided with the maximum transmit power adjusting device, and the user can set the maximum transmit power of AP according to actual needs, to carry out power saving.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Under first kind of mode, when using powered battery, because transmitted power reduces to cause the coverage of wireless access point device to dwindle; Under the second way, the user need pre-estimate the transmitted power of needs according to the use scene, and poor user experience manually is set.
Summary of the invention
In order to solve problems of the prior art, the invention provides a kind of method and device of wireless access point device power saving.Described technical scheme is as follows:
A kind of method of wireless access point device power saving, described method comprises:
Reception connects with described first wireless terminal from the request message that connects of first wireless terminal;
After connecting with described first wireless terminal, if when the quantity of the wireless terminal that has been connected with described wireless access point device has reached default maximum number of connections amount, carry out at least one item in the default power-save operation;
Wherein, described default power-save operation comprises:
Prolong the transmission cycle of beacon frame, setting sends described beacon frame with first power, stop to respond any message of the wireless terminal transmission that does not connect, and determine that according to the wireless lan channel bandwidth that the described wireless terminal that has been connected with described wireless access point device is distributed the dormancy time of wireless local area network communications module of described wireless access point device or the dormancy time of wireless local area network communications module of determining described wireless access point device according to the wide area network traffic bandwidth that described wireless access point device obtains are to reduce electric quantity consumption;
Described first power is maximum transmitted power in the transmitted power used when communicating by letter with described access point apparatus of the described wireless terminal that has been connected with described wireless access point device.
A kind of device of wireless access point device power saving, described device comprises:
Link block is used for receiving the request message that connects from first wireless terminal, and described wireless access point device and described first wireless terminal are connected;
The power-save operation Executive Module is used for when connecting with described first wireless terminal after, if when the quantity of the wireless terminal that has been connected with described wireless access point device has reached default maximum number of connections amount, carries out at least one item in the power-save operation of presetting;
Wherein, described default power-save operation comprises:
Prolong the transmission cycle of beacon frame, setting sends described beacon frame with first power, stop to respond any message of the wireless terminal transmission that does not connect, and determine that according to the wireless lan channel bandwidth that the described wireless terminal that has been connected with described wireless access point device is distributed the dormancy time of wireless local area network communications module of described wireless access point device or the dormancy time of wireless local area network communications module of determining described wireless access point device according to the wide area network traffic bandwidth that described wireless access point device obtains are to reduce electric quantity consumption;
Described first power is maximum transmitted power in the transmitted power used when communicating by letter with described access point apparatus of the described wireless terminal that has been connected with described wireless access point device.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: by when having reached the maximum number of connections amount of the wireless access point device of presetting, change the mode of operation of existing wireless access point device, prolong the transmission cycle of the beacon frame of wireless access point device, power maximum in the communication power that setting is used when carrying out communication with the wireless terminal that has been connected with wireless access point device sends beacon frame, stop to respond any message of the wireless terminal transmission that does not connect, and the dormancy time of wireless local area network communications module of determining described wireless access point device according to the wide area network traffic bandwidth that the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed or described wireless access point device obtain can prolong the service time of portable wireless access point device to reduce electric quantity consumption.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of wireless access point device power saving of providing in the embodiment of the invention 1;
Fig. 2 is the schematic flow sheet of the method for a kind of WiFi access point apparatus power saving of providing in the embodiment of the invention 2;
Fig. 3 is the power consumption schematic diagram that carries out AP after the channel allocation that provides in the embodiment of the invention 2;
Fig. 4 is the second kind of power consumption schematic diagram that carries out AP after the channel allocation that provides in the embodiment of the invention 2;
Fig. 5 is the structural representation of the device of a kind of wireless access point device power saving of providing in the embodiment of the invention 3;
Fig. 6 is second kind of structural representation of the device of a kind of wireless access point device power saving of providing in the embodiment of the invention 3;
Fig. 7 is the third structural representation of the device of a kind of wireless access point device power saving of providing in the embodiment of the invention 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
As shown in Figure 1, present embodiment 1 provides a kind of method of wireless access point device power saving, and this method comprises the steps:
101, reception connects with this first wireless terminal from the request message that connects of first wireless terminal;
102, when the quantity with the wireless terminal that has been connected with wireless access point device after this first wireless terminal connects reaches default maximum number of connections amount, carry out at least one in the default minimizing electric quantity consumption operation;
Wherein, above-mentioned default minimizing electric quantity consumption operation comprises:
Prolong the transmission cycle of beacon frame, setting sends beacon frame with first power, stop to respond any message of the wireless terminal transmission that does not connect, and determine that according to the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed the dormancy time of wireless local area network communications module of described wireless access point device or the dormancy time of wireless local area network communications module of determining described wireless access point device according to the wide area network traffic bandwidth that wireless access point device obtains are to reduce electric quantity consumption
Maximum transmitted power in the transmitted power that first power uses when communicating by letter with access point apparatus for the wireless terminal that has been connected with described wireless access point device.
Present embodiment provides a kind of method of wireless access point device power saving, by when having reached the maximum number of connections amount of the wireless access point device of presetting, change the mode of operation of existing wireless access point device, prolong the transmission cycle of the beacon frame of wireless access point device, power maximum in the communication power that setting is used when carrying out communication with the wireless terminal that has been connected with wireless access point device sends beacon frame, stop to respond any message of the wireless terminal transmission that does not connect, and the dormancy time of wireless local area network communications module of determining described wireless access point device according to the wide area network traffic bandwidth that the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed or described wireless access point device obtain can prolong the service time of portable wireless access point device to reduce electric quantity consumption.
Embodiment 2
Present embodiment 2 provides a kind of method of wireless access point device power saving, it is the improvement of on the basis of embodiment 1, carrying out, in the present embodiment, wireless access point device with WiFi WLAN (wireless local area network) correspondence is that WiFi access point apparatus (AP) is that example describes, wherein, the wireless terminal that is connected with AP is called STA (Station, website).Wide Area Network wherein can be to adopt GSM (Global System for Mobile Communications, global system for mobile communications), UMTS (Universal Mobile Telecommunications System, universal mobile telecommunications system), LTE (Long Term Evolution, Long Term Evolution), WiMAX (Worldwide Interoperability for Microwave Access, worldwide interoperability for microwave inserts) the macrocellular mobile communication network of wireless communication technique, also can be to use fixed telecommunication network or the optical fiber communication network of IP mechanics of communication.
Need to prove, present embodiment only is to be that example describes with the AP in the WiFi network, AP in the WiFi network is a kind of of wireless access point device, in the present invention, wireless access point device can also be for bluetooth equipment, based on wireless access point device of Zigbee (purple peak) etc., and the method that all provides applicable to various embodiments of the present invention of the said equipment.
Need to prove that employed AP has the function of the maximum number of connections amount that the user is set in the present embodiment, by the setting to the maximum number of connections amount, make the STA of the maximum number of connections amount that AP can only support to AP that service is provided.
201, receive the maximum number of connections amount that the user sets for AP;
Particularly, AP can provide dual mode for the user maximum number of connections amount to be set:
Mode one, AP are provided with slip or the rotary switch that has Digital ID, make the user set the maximum number of connections amount by slip or rotary switch;
Mode two, AP are provided with display screen, provide the administration interface of setting the maximum number of connections amount to the user by display screen.
Certainly, AP also can allow the user set described maximum number of connections amount by other means, and the embodiment of the invention does not limit this.
202, reception is from the networking request message of a STA;
Wherein, above-mentioned networking request message comprises:
Active scan request (Probe Request) message, authentication (Authentication) message or connection request (Associaion Request) message etc.
203, judge whether the quantity of the STA that has connected has reached the maximum number of connections amount of user's setting, if, execution in step 206, if not, execution in step 204;
204, response networking request message is carried out the normal operation that networks of a described STA, and execution in step 205;
205, judged whether to reach the maximum number of connections amount that the user sets, if, execution in step 206, if not, process ends then.
206, judge whether AP has entered battery saving mode, if, process ends, if not, then execution in step 207;
Need to prove that AP enters battery saving mode, namely carry out default power-save operation.
207, AP enters battery saving mode, and carries out default power-save operation, process ends.
Wherein, Yu She power-save operation comprises a kind of in following four kinds of operations at least:
(1) the transmission cycle of prolongation beacon frame (Beacon frame);
Particularly, AP specifies new beacon frame cycle parameter by the BSS Parameter Change element in beacon frame, prolongs the mark frame and sends the cycle.
(2) arrange with first power transmission beacon frame;
Maximum power in the communication power that uses when wherein, described first power carries out communication for the STA that has been connected with described AP.
(3) stop to respond any message that the STA that is not connected with described AP sends;
Particularly, during the message that sends during other STA beyond AP receives the STA that has been connected with self, no longer these message are responded, wherein, any message that the above-mentioned STA that does not connect sends comprises in the following message at least:
Active scan request (Probe Request) message, authentication (Authentication) message or connection request (Associaion Request) message of the STA transmission that does not connect.
(4) the wide area network traffic bandwidth that obtains according to the wireless lan channel bandwidth that the STA that is connected with self is distributed or AP determines that the dormancy time of WiFi communication module of AP is with the minimizing electric quantity consumption.
Wherein, AP forms WLAN (wireless local area network) by WiFi wireless technology and STA communication on the one hand, and AP need be according to QOS (Quality of Service, service quality) the request allocate communications bandwidth of STA, to satisfy the business demand of STA; On the other hand, if AP itself passes through Wide Area Network (for example macrocellular wireless technology) as the mechanics of communication of backhaul, AP self also needs to obtain the certain communication bandwidth from the base station requests of Wide Area Network so.
Need to prove, in the employed standard of existing AP, AP periodically is divided into CP (Contention Period with channel medium, the competition phase) and CFP (Contention Free Period, the non-competing phase), the competition phase is used for STA with the mode of competition busy channel coequally, the non-competing phase is controlled and is coordinated the use of the channel medium of each STA by AP, competition phase and non-competing phase alternate allocation, assignment information is by comprising the beacon frame indication of DTIM, and comprising the beacon frame transmitting time point of DTIM, the STA of all connections can withdraw from dormancy and monitor to listen beacon frame.In competition phase and non-competing phase, the AP alternation is in the state of listen (monitoring) or sending (transmission), can be at the transmission cycle BI that competes a plurality of beacon frames of phase dormancy so that power saving for the STA that does not have data transmission demand, do not arrange the STA of the period of service in the non-competing phase for AP, then can be at a plurality of BI of the continuous dormancy of entire CF P with more power saving.As can be seen from the above description, in present channel allocation mechanism, STA can carry out power saving by dormancy, carries out power saving but AP can't enter dormancy.In the present embodiment, provide two kinds of methods, the channel access mechanism of supporting by the STA that has connected carry out channel allocation with the dormancy time of determining AP to reduce electric quantity consumption:
Method one
Channel access mechanism according to the wireless lan channel bandwidth that the STA that is connected with AP is distributed and the communication speed that uses with the STA that has been connected with AP, the STA use that has been connected with AP, determine the size of CP and/or the CFP of channel allocation, to determine the dormancy time of the WiFi communication module of AP according to the size of CP and/or CFP, and in beacon frame, broadcast CP and/or CFP, and the dormancy time information of AP; Or,
The communication bandwidth that in Wide Area Network, obtains according to AP, and the communication speed that uses with the STA that has been connected with AP, the CP of the definite channel allocation of the employed channel access mechanism of STA that has been connected with AP and/or the size of CFP, to determine the dormancy time of the WiFi communication module of AP according to the size of CP and/or CFP, and in beacon frame, broadcast CP and/or CFP, and the dormancy time information of AP.
Wherein, the communication bandwidth that AP obtains in Wide Area Network is in order to the upper limit of the dormancy time of the WiFi communication module of definite AP, and method one is specific as follows:
The channel access mechanism that the 2nd STA that judgement has been connected with this AP supports, described the 2nd STA is a STA who is connected with described AP among the STA, and carries out following operation according to the channel access mechanism that described the 2nd STA supports:
A, support PCF (Point Coordination Function simultaneously as described the 2nd STA, point coordination function) and DCF (Distributed Coordination Function, when distributed coordination function) channel access is machine-processed, as shown in Figure 3, determine the size of CP and CFP in the transmission cycle of beacon frame BI, and be that described the 2nd STA distributes SP (Services Period in CFP, service time section) (for example CF-Poll), the WiFi communication module of AP was removed in CFP in time outside the SP is entered dormancy with power saving;
Wherein, the size of CP is determined by the summation of the service bandwidth of the STA of employing DCF among the STA that has connected, but the above-mentioned STA that has connected that be used for to calculate CP adopts the upper limit of summation of service bandwidth of the STA of DCF can not surpass the communication bandwidth that AP obtains in Wide Area Network, and with the remaining time period among the BI as CFP.
For example, can obtain the size of CP in the following way:
The size of CP is T in the transmission cycle of setting beacon frame
w, according to formula T
w=(W
c* T
b)/W
wCalculate the big or small T of CP in transmission cycle of beacon frame
w
Wherein, Wc is the service bandwidth summation of the STA of employing DCF channel access mechanism among the STA that has connected, and is not more than the upstream bandwidth of AP and Wide Area Network, T
bBe the transmission cycle of beacon frame, W
wThe bandwidth that the WiFi that provides for the STA that has connected for AP eats dishes without rice or wine.
Need to prove the bandwidth that the WiFi that AP provides for the STA that has connected eats dishes without rice or wine, the concrete summation that obtains to the AP application according to self business demand (for example speech business or video traffic) at that time for all STA that has been connected with AP.
In addition, can also obtain the size of CP in the following way:
The size of setting the middle CP of transmission cycle (being assumed to be 1 second) of beacon frame is T
w, according to formula T
w=W
w/ S
wCalculate the big or small T of CP in transmission cycle of beacon frame
w
Wherein, W
wThe bandwidth that the WiFi that provides for the STA that has connected for AP eats dishes without rice or wine, the Sw communication speed that to be AP use with the STA that has been connected.
Need to prove that AP is to be consulted by the STA that has connected and AP with the communication speed that the STA that has been connected uses, by physical layer ability and the decision of communication environment factor of the STA that has connected and AP.
B, only support DCF channel access when mechanism as described the 2nd STA, determine the size of CP in the transmission cycle of beacon frame according to the upstream bandwidth of AP and Wide Area Network, make AP the WiFi communication module in the transmission cycle of beacon frame, enter dormancy with power saving in the time except CP;
C, only support PCF channel access when mechanism as described the 2nd STA, determine the size of CFP in the transmission cycle of beacon frame according to the communication bandwidth of AP and Wide Area Network, make AP the WiFi communication module in the transmission cycle of beacon frame, enter dormancy with power saving in the time except CFP.
Those skilled in the art can carry out said method one to each STA that is connected with described AP as can be known.Described the 2nd STA can be the arbitrary STA that is connected with described AP, comprises an aforesaid STA.
Method two
The communication bandwidth that the wireless lan channel bandwidth of the STA that has connected being distributed according to AP or AP obtain in Wide Area Network, and the channel access mechanism supported of the communication speed that uses with the STA that has been connected, the STA that connected is determined up duration section and the down time section of channel, and by beacon frame broadcasting down time segment information so that the WiFi communication module of AP enter resting state to reduce electric quantity consumption in the down time section.
Wherein, what method two was concrete is, judges the channel access mechanism that the 2nd STA that has been connected with AP among the AP supports, described the 2nd STA is a STA who is connected with described AP among the STA, and the following operation of supporting according to described the 2nd STA of the machine-processed execution of channel access:
A ', when the 2nd STA supports PCF and DCF channel access mechanism simultaneously, as shown in Figure 4, service bandwidth summation (its upper limit can not surpass the communication bandwidth that AP obtains in Wide Area Network) according to the STA that adopts DCF channel access mechanism among the STA that has connected is determined CP size in the transmission cycle of beacon frame BI, be the STA distribution services time period SP that has connected, with SP as CFP, with CP and CFP addition as up duration section T
1, will remove T in the transmission cycle of beacon frame
1Outside time as down time section T
2, make AP the WiFi communication module at T
2In enter dormancy with power saving;
B ', only support DCF channel access when mechanism as described the 2nd STA, the communication bandwidth that obtains in Wide Area Network according to AP is determined the size of CP in the transmission cycle of beacon frame, with CP as up duration section T
1, will remove T in the transmission cycle of beacon frame
1Outside time as down time section T
2, make AP the WiFi communication module at T
2In enter dormancy with power saving;
C ', only support PCF channel access when mechanism as described the 2nd STA, the communication bandwidth that obtains in Wide Area Network according to AP is determined the size of CFP in the transmission cycle of beacon frame, with CFP as up duration section T
1, will remove T in the transmission cycle of beacon frame
1Outside time as down time section T
2, make AP the WiFi communication module at T
2In enter dormancy with power saving.
Wherein, further comprise CP and/or CFP in the up duration section of above-mentioned channel, comprise in the down time section of above-mentioned channel AP the WiFi communication module dormancy time.
Those skilled in the art can carry out said method two to each STA that is connected with described AP as can be known.Described the 2nd STA can be the arbitrary STA that is connected with described AP, comprises an aforesaid STA.
Further, after step 208, when the STA that has connected when at least one disconnected with being connected of AP, this method can also comprise:
AP withdraws from battery saving mode, and recovers to provide network to find service to disconnected STA.
Need to prove that said method is at a BI is divided into up duration section and down time section, and further comprise the situation of CP, CFP in the up duration section, implementation is described.AP can also be at first be divided into bigger up duration section and down time section service time with channel in addition, wherein the computational methods of up duration section are identical with the computational methods of above-mentioned CP, CFP, for example the wireless lan channel bandwidth that AP can be distributed for each STA that has connected obtains the up duration section of AP in 1 second divided by the summation of the communication speed of correspondence, and perhaps the communication bandwidth that AP is obtained at Wide Area Network obtains the up duration section of AP in 1 second etc. divided by AP and the speed that is connected the STA communication; Then the up duration section further is divided into again and comprises one or more CP, CFP, concrete division methods is identical with the computational methods of above-mentioned CP, CFP, as the channel access mechanism of using according to the channel width that the STA that has connected is distributed and the communication speed that uses with the STA that has been connected, the STA that connected, determine the CP of channel allocation and/or CFP etc.; And can further comprise one or more BI among each CP, the CFP, and may all be CP or CFP among certain BI of Que Dinging like this, AP broadcasts the assignment information of above-mentioned up duration section, down time section, CP, CFP by beacon frame.
In the present embodiment, need to prove, above-mentioned WiFi access point apparatus comprises WiFi communication module and wide area network communication module, wherein, the WiFi access point apparatus that is used for of WiFi communication module communicates with the STA that is connected, and the wide area network communication module is used for the WiFi access point apparatus and wide area network carries out communication.
Further, any time after this method step 201, can also comprise:
Receive the maximum order that inserts quantity of modification that the user sends, and according to this order the maximum number of connections amount of AP is made amendment, and judge whether the quantity of the STA that current AP has connected has reached amended maximum number of connections amount;
Correspondingly, when reaching amended maximum number of connections amount, this method comprises:
Judge the current battery saving mode that whether entered of AP, if not, then make AP enter battery saving mode, carry out at least one in the power-save operation.
When not reaching amended maximum number of connections amount, this method comprises:
Judge the current battery saving mode that whether entered of AP, if, then make AP withdraw from battery saving mode, stop to carry out the power-save operation of having carried out.
Present embodiment provides the method for a kind of WiFi access point apparatus power saving, by when having reached the maximum number of connections amount of the WiFi access point apparatus of presetting, change the mode of operation of existing WiFi access point apparatus, prolong the transmission cycle of the beacon frame of WiFi access point apparatus, power maximum in the communication power that setting is used when carrying out communication with the STA that is connected with this wireless access point device sends beacon frame, stop to respond any message of the STA transmission that does not connect, and the dormancy time of WiFi communication module that the communication bandwidth of the wide area network that obtains according to the wireless lan channel bandwidth that the STA that is connected with this wireless access point device is distributed or WiFi access point apparatus is determined the WiFi access point apparatus can prolong the service time of portable WiFi access point apparatus to reduce electric quantity consumption.
Embodiment 3
As shown in Figure 5, present embodiment provides a kind of device of wireless access point device power saving, and this device comprises:
Link block 301 is used for receiving the request message that connects from first wireless terminal, makes connecting of wireless access point device and this first wireless terminal;
Power-save operation Executive Module 302 is used for carrying out at least one item in the power-save operation of presetting when the quantity with the wireless terminal that has been connected with wireless access point device after this first wireless terminal connects has reached default maximum number of connections amount;
Wherein, described default power-save operation comprises:
Prolong the transmission cycle of beacon frame, setting sends beacon frame with first power, stop to respond any message of the wireless terminal transmission that does not connect, and determine that according to the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed the dormancy time of wireless local area network communications module of wireless access point device or the dormancy time of wireless local area network communications module of determining wireless access point device according to the wide area network traffic bandwidth that wireless access point device obtains are to reduce electric quantity consumption;
Maximum transmitted power in the transmitted power that first power uses when communicating by letter with described access point apparatus for the wireless terminal that has been connected with wireless access point device.
Further, as shown in Figure 6, said apparatus also comprises:
First judge module 303 was used for before power-save operation Executive Module 302 is carried out at least one item of default power-save operation, judged whether the quantity of the wireless terminal that has connected has reached default maximum number of connections amount.
Further, as shown in Figure 7, said apparatus also comprises:
Quantity setting module 304 is used for receiving the maximum number of connections amount that the user sets for the WiFi access point apparatus before the networking request message of link block 301 responses from first wireless terminal.
Further, any message that the above-mentioned wireless terminal that does not connect sends comprises at least one in the following message:
Active scan request Probe Request message, authentication Authentication message or the connection request Associaion Request message of the wireless terminal transmission that does not connect.
Further, power-save operation Executive Module 304 comprises:
First channel-assignment unit, concrete be used for according to the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed and with the traffic rate of the wireless terminal use that has been connected with wireless access point device, the channel access mechanism that the wireless terminal that has been connected with wireless access point device uses, determine the competition phase CP of channel allocation and/or the size of non-competing phase CFP, in order to determine the dormancy time of the WLAN communication module of wireless access point device according to the size of CP and/or CFP, and in beacon frame, broadcast CP and/or CFP, and the dormancy time information of the WLAN communication module of wireless access point device.
Wherein, first channel-assignment unit, the concrete channel access mechanism that is used for judging that each second wireless terminal of wireless terminal of being connected with wireless access point device supports;
When second wireless terminal while support point coordination function PCF and distributed coordination function DCF, according to determining the size of CP to the wireless lan channel bandwidth of distributing of second wireless terminal and with the communication speed that second wireless terminal uses, and with the time period except CP in the transmission cycle of beacon frame as CFP, and in CFP distribution services time period SP, make wireless access point device in CFP, carry out dormancy in the time except SP with power saving;
When second wireless terminal was only supported DCF, the size according to the wireless lan channel bandwidth of distributing of second wireless terminal being determined CP made wireless access point device carry out dormancy with power saving in the time except CP in the transmission cycle of beacon frame;
When second wireless terminal was only supported PCF, the size according to the wireless lan channel bandwidth of distributing of second wireless terminal being determined CFP made wireless access point device carry out dormancy with power saving in the time except CFP in the transmission cycle of beacon frame.
Further, power-save operation Executive Module 304 comprises:
The second channel allocation units, concrete for the wide area network traffic bandwidth that obtains according to wireless access point device, and the traffic rate that uses in WLAN with the wireless terminal that has been connected with wireless access point device, the channel access mechanism that the wireless terminal that has been connected with wireless access point device uses, determine the size of CP and/or the CFP of channel allocation, in order to determine the dormancy time of the WLAN communication module of wireless access point device according to the size of CP and/or CFP, and in beacon frame, broadcast CP and/or CFP, and the dormancy time information of the wireless communication module of wireless access point device.
Wherein, second channel allocation units, the concrete channel access mechanism that is used for judging that each second wireless terminal of wireless terminal of being connected with wireless access point device supports;
When second wireless terminal while support point coordination function PCF and distributed coordination function DCF, the wide area network traffic bandwidth that obtains according to second wireless terminal and determine the size of CP with the communication speed that second wireless terminal uses in WLAN, and with the time period except CP in the transmission cycle of beacon frame as CFP, and in CFP distribution services time period SP, make wireless access point device in CFP, carry out dormancy in the time except SP with power saving;
When second wireless terminal was only supported DCF, the wide area network traffic bandwidth that obtains according to second wireless terminal was determined the size of CP, makes wireless access point device carry out dormancy with power saving in the time except CP in the transmission cycle of beacon frame;
When second wireless terminal was only supported PCF, the wide area network traffic bandwidth that obtains according to second wireless terminal was determined the size of CFP, makes wireless access point device carry out dormancy with power saving in the time except CFP in the transmission cycle of beacon frame.
Further, power-save operation Executive Module 302 can comprise:
The 3rd channel-assignment unit, the concrete wide area network traffic bandwidth that obtains according to the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed or wireless access point device of being used for, and the communication speed that uses with the wireless terminal that has been connected with wireless access point device, the channel access mechanism that the wireless terminal that has been connected with wireless access point device uses is determined up duration section and the down time section of channel, and by beacon frame broadcasting down time segment information, so that wireless access point device enters resting state to reduce electric quantity consumption in the down time section.
Further, further comprise CP and/or CFP in the up duration section of above-mentioned channel, comprise the dormancy time of the WLAN communication module of wireless access point device in the down time section of above-mentioned channel.
Further, said apparatus can also comprise:
Modified module is used for the indication information of the maximum number of connections amount of reception user's modification wireless access point device, and determines amended maximum number of connections amount;
Second judge module is used for judging whether the quantity of the current wireless terminal that has connected of wireless access point device has reached amended maximum number of connections amount.
Further, said apparatus can also comprise:
The 3rd judge module is used for judging the current default power-save operation of whether having carried out when second judge module judges that obtaining the current wireless terminal quantity that has been connected with wireless access point device of wireless access point device has reached amended maximum number of connections amount;
Notification module is used for judging when the 3rd judge module obtaining currently when having carried out default power-save operation that notice power-save operation Executive Module is carried out at least one item in the default power-save operation.
Further, said apparatus can also comprise:
The 4th judge module is used for judging the current default power-save operation of whether having carried out when the judgement of second judge module obtains wireless access point device wireless terminal quantity current and that wireless access point device has been connected and do not reach amended maximum number of connections amount;
Stopping modular, be used for when the 4th judge module judge obtain current when having carried out default power-save operation, the power-save operation of notifying the power-save operation Executive Module to stop to preset.
Present embodiment provides a kind of device of wireless access point device power saving, by when having reached the maximum number of connections amount of the wireless access point device of presetting, change the mode of operation of existing wireless access point device, prolong the transmission cycle of the beacon frame of wireless access point device, power maximum in the communication power that setting is used when carrying out communication with the wireless terminal that has been connected with wireless access point device sends beacon frame, stop to respond any message of the wireless terminal transmission that does not connect, and the dormancy time of wireless local area network communications module of determining described wireless access point device according to the wide area network traffic bandwidth that the wireless lan channel bandwidth that the wireless terminal that is connected with wireless access point device is distributed or described wireless access point device obtain can prolong the service time of portable wireless access point device to reduce electric quantity consumption.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.