CN102437897B - The sending method of a kind of Beacon and equipment - Google Patents

The sending method of a kind of Beacon and equipment Download PDF

Info

Publication number
CN102437897B
CN102437897B CN201110356384.7A CN201110356384A CN102437897B CN 102437897 B CN102437897 B CN 102437897B CN 201110356384 A CN201110356384 A CN 201110356384A CN 102437897 B CN102437897 B CN 102437897B
Authority
CN
China
Prior art keywords
sta
beacon
bss
sending
proberequest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110356384.7A
Other languages
Chinese (zh)
Other versions
CN102437897A (en
Inventor
张守琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110356384.7A priority Critical patent/CN102437897B/en
Publication of CN102437897A publication Critical patent/CN102437897A/en
Application granted granted Critical
Publication of CN102437897B publication Critical patent/CN102437897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the sending method of a kind of Beacon and equipment, by applying technical scheme, AP is only after determining and self requiring connect to online SAT, just can start to send Beacon, and after determining and self being currently not attached to any online STA, stop sending Beacon, thus, only just can carry out the transmission of Beacon on other occasions, avoid AP to send Beacon always, particularly in being still required for constantly sending the situation of Beacon when being not connected to online STA, reduce the electric power resource waste thus caused, reduce and send the Beacon interference for other AP always, and to the radiation of human body and environmental pollution.

Description

The sending method of a kind of Beacon and equipment
Technical field
The present invention relates to communication technical field, particularly to sending method and the equipment of a kind of Beacon.
Background technology
WLAN (WirelessLocalAreaNetwork, WLAN) technology is one of focus of the current communications field, compare with wired, the startup of WLAN and implement relatively easy, that safeguards is with low cost, as long as generally laying one or more access point apparatus just can set up the LAN covering whole building or area.
Under WLAN scene, STA (station is equipped with the computing equipment of radio network interface, herein refers to computer) access procedure scans firstly the need of by active/passive, by certification with associate two processes after could with AP (AccessPoint, access point) set up connect.
1, active scan
When STA attempts actively to find network, the wireless network of surrounding is scanned by available active scan.According to whether carry appointment SSID (ServiceSetIdentifier, service set identifier), active scan can be divided into two kinds:
(1) STA transmission ProbeRequest (detecting claim frame) (SSID is null): STA is furnished with a channel list in advance, and STA channel in channel list is broadcasted ProbeRequest.AP receives after detecting claim frame, responds ProbeResponse (probe response frame).STA can select the AP that signal is the strongest to be associated.This method is applicable to wireless client can know whether there is spendable wireless service by active scan.Concrete as it is shown in figure 1, for the schematic flow sheet of active scan process of the prior art (in ProbeRequest, SSID is null).
(2) STA sends ProbeRequest (ProbeRequest carries the SSID specified): in this case, because STA carries the SSID specified, and only clean culture can send reply request after ProbeRequest, corresponding AP receive.This method is applicable to wireless client and is accessed the wireless network specified by active scan.Concrete as in figure 2 it is shown, for the schematic flow sheet of active scan process of the prior art (ProbeRequest carries the SSID specified).
In active scan process, STA scans there is which 802.11 network in region at present by ProbeRequest, if the network that ProbeRequest frame is detected is compatible, this network (AP) will respond with ProbeResponse frame.ProbeResponse frame contains all parameters of Beacon frame.
2, drive sweep
Drive sweep refers to that the STA Beacon frame regularly sent by intercepting AP finds network.STA is furnished with the channel list for scanning in advance, monitors beacon on each channel.Drive sweep requires that AP periodically sends Beacon frame.When STA needs to save electricity, it is possible to use drive sweep.General VoIP voice terminal generally uses drive sweep mode.
In drive sweep process, Beacon frame is used for stating the existence of certain network.The Beacon that AP regularly transmits can allow STA station learn the existence of own net.
In the process realizing the present invention, inventor have found that prior art at least there is problems in that
In the prior art, it is connected to AP in spite of there being STA, AP can send Beacon and respond ProbeResponse, based on such configuration rule, this AP is used without any STA, then can there is power wastage in this AP eventually, also other AP is caused certain interference, also increases the radiation to human body.
Summary of the invention
The present invention provides sending method and the equipment of a kind of Beacon, in order to solve the problem being still required for constantly sending the Beacon wasting of resources, signal disturbing and the environmental pollution brought of AP in prior art when being not connected to online STA.
For reaching above-mentioned purpose, one aspect of the present invention provides the sending method of a kind of Beacon, and described method at least comprises the following steps:
After access point AP determines self to require connect to online wireless client STA, described AP starts to send Beacon;
After described AP determines self to be currently not attached to any online STA, described AP stops sending Beacon.
Preferably, after AP determines self to require connect to online STA, described AP starts to send Beacon, specifically includes:
If described AP is at self currently without when being connected with any STA, what receive a STA transmission detects claim frame ProbeRequest, then described AP is before being connected with described STA foundation, starts to send Beacon;
If described AP at the Basic Service Set BSS self used currently without when being connected with any STA, receive the STA ProbeRequest carrying the service set SSID corresponding with described BSS sent, then described AP is before described BSS and described STA sets up and is connected, and starts to send, to described STA, the Beacon carrying SSID corresponding for described BSS.
Preferably, after AP determines self to require connect to online STA, described AP starts to send Beacon, specifically includes:
After AP determines self to require connect to online STA, described AP, before sending associated response AssociationResponse or re-association response ReassociationResponse to described STA, starts to send Beacon.
Preferably, after described AP determines self to be currently not attached to any online STA, described AP stops sending Beacon, specifically includes:
When current of described AP is connected with a STA, if described AP receives the described STA releasing wireless identity sent checking frame Deauthentication, or the connection of described AP active releasing and described STA, described AP, after default time delay, is stopping sending Beacon;Or,
When described last current connected for AP STA rolls off the production line, and when described AP is not received by the described STA Deauthentication sent, described AP, after default time delay, is stopping sending Beacon;Or,
If described AP is connected currently without with any STA, and sending Beacon and after default connection buffer time starting, described AP is connected still without setting up with any STA, then described AP stops transmission Beacon;Or,
When current of the described AP BSS used is connected with a STA, if described AP receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, described AP, after default time delay, is stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
When described AP last current connected for BSS STA used rolls off the production line, and described AP is when being not received by the described STA Deauthentication sent, described AP, after default time delay, is stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
If the BSS that described AP uses is connected currently without with any STA, and send the Beacon carrying SSID corresponding for described BSS starting, and after default connection buffer time, described BSS is connected still without setting up with any STA, then described AP stops sending the Beacon carrying SSID corresponding for described BSS.
Preferably, described before AP determines self to require connect to online STA, also include:
After described AP receives the STA ProbeRequest sent, the source media access control layer MAC Address according to described ProbeRequest, allow list is inquired about at default MAC Address;
If inquiring the address that the source MAC with described ProbeRequest matches, described AP returns probe response frame ProbeResponse to described STA, and determines and self require connect to described STA;
Without the address that the source MAC inquired with described ProbeRequest matches, described AP abandons responding, and determines that self need not be connected to described STA.
On the other hand, present invention also offers a kind of AP, at least include:
Determine module, for determining that described AP is currently the need of being connected to online STA;
Sending module, for described determine that module determines that described AP requires connect to online STA after, start to send Beacon;
Stopping modular, for starting to send Beacon at described sending module, and described determine that module determines that described AP is currently not attached to any online STA after, stop sending Beacon.
Preferably, described AP, also include receiver module;
Described receiver module, specifically for receiving the STA ProbeRequest sent;
Described sending module, specifically for:
It is connected currently without with any STA at described AP, and when described receiver module receives the STA ProbeRequest sent, then, before described AP and described STA sets up and is connected, starts to send Beacon;Or,
It is connected currently without with any STA at the described AP BSS used, and described receiver module is when receiving the STA ProbeRequest carrying the SSID corresponding with described BSS sent, then before described BSS and described STA sets up and is connected, start to send, to described STA, the Beacon carrying SSID corresponding for described BSS.
Preferably, described sending module, specifically for:
When described determine that module determines that described AP requires connect to online STA after, sending before AssociationResponse or ReassociationResponse to described STA, start to send Beacon.
Preferably,
Described receiver module, is additionally operable to receive the STA Deauthentication sent;
Described stopping modular, specifically for:
When current of described AP is connected with a STA, if described receiver module receives the described STA Deauthentication sent, or described AP actively releases the connection with described STA, then after default time delay, stopping sends Beacon;Or,
When described last current connected for AP STA rolls off the production line, and when described receiver module is not received by the described STA Deauthentication sent, after default time delay, stopping sending Beacon;Or,
If described AP is connected currently without with any STA, and start to send Beacon at described sending module, and after default connection buffer time, described AP is connected still without setting up with any STA, then stop sending Beacon;Or,
When current of the described AP BSS used is connected with a STA, if described receiver module receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, then, after default time delay, stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
When described AP last current connected for BSS STA used rolls off the production line, and described receiver module is when being not received by the described STA Deauthentication sent, then, after default time delay, stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
If the BSS that described AP uses is connected currently without with any STA, and after starting at described sending module to send the Beacon carrying SSID corresponding for described BSS, and after default connection buffer time, described BSS is connected still without setting up with any STA, then stop sending the Beacon carrying SSID corresponding for described BSS.
Preferably, described AP, also include enquiry module;
Described enquiry module, specifically for after described receiver module receives STA ProbeRequest sent, the source MAC according to described ProbeRequest, allow list is inquired about at default MAC Address;
Described sending module, it is additionally operable to when described enquiry module inquires the address that the source MAC with described ProbeRequest matches, ProbeResponse is returned to described STA, and notify described to determine that module determines that described AP requires connect to described STA, and when described enquiry module does not inquire the address that the source MAC with described ProbeRequest matches, abandon responding, and notify described to determine that module determines that described AP need not be connected to described STA.
Compared with prior art, the invention have the advantages that
By applying technical scheme, AP is only after determining and self requiring connect to online STA, just can start to send Beacon, and after determining and self being currently not attached to any online STA, stop sending Beacon, thus, only just can carry out the transmission of Beacon on other occasions, avoid AP to send Beacon always, particularly in being still required for constantly sending the situation of Beacon when being not connected to online STA, reduce the electric power resource waste thus caused, reduce and send the Beacon interference for other AP always, and to the radiation of human body and environmental pollution.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the sending method of a kind of Beacon proposed by the invention;
Fig. 2 is the structural representation of a kind of AP proposed by the invention.
Detailed description of the invention
As stated in the Background Art, in existing technical scheme, Beacon all can be sent, based on such configuration rule in spite of there being STA to be connected to AP, AP, this AP is used without any STA, then can there is the situation of power wastage in this AP, and meanwhile, the signal of other AP also can be transmitted and cause certain interference by the Beacon constantly sent, further, the transmission of lasting wireless signal also can increase the radiation to human body.
In order to solve such problem, the present invention proposes the sending method of a kind of Beacon, only determines at AP and self requires connect to online STA, and when the AP STA online with at least one is connected, just the transmission of Beacon can be carried out.
As it is shown in figure 1, the schematic flow sheet of sending method of a kind of Beacon proposed for the present invention, the method specifically includes following steps:
Step S101, after AP determines self to require connect to online STA, described AP starts to send Beacon.
In concrete application scenarios, the processing procedure of this step connected mode according to AP and STA, it is divided into following two scene:
Scene one, AP directly set up with STA and are connected.
For this kind of scene, if described AP is when currently without when being connected with any STA, receive the STA ProbeRequest sent, then represent and there is currently at least one online STA, and this STA is desired with the connection of AP, the mode using broadcast transmission ProbeRequest carries out active scan, detects the AP that can be attached, and this AP is currently in the effective coverage can being attached with this STA.
In such cases, AP can attempt being attached with this STA, and needs, before being connected with described STA foundation, to start to send Beacon.
Scene two, AP can use multiple BSS, and each BSS sets up with STA respectively and is connected.
For this kind of scene, if described AP at the BSS self used currently without when being connected with any STA, receive the STA ProbeRequest carrying the SSID corresponding with this BSS sent, then represent and there is currently at least one online STA, and this STA wishes to be attached with this AP, using the mode that clean culture sends the ProbeRequest carrying the SSID specified to carry out active scan, and detecting and whether may be coupled to this AP BSS used.
In such cases, this BSS that AP uses can attempt being attached with this STA, and described AP, before this BSS and described STA sets up and is connected, starts to send, to described STA, the Beacon carrying SSID corresponding for this BSS.
It is further noted that preferably implement under scene in one, the transmission of embodiment of the present invention suggestion Beacon can start before sending AssociationResponse or ReassociationResponse to described STA at AP.
Step S102, after described AP determines and self is currently not attached to any online STA, described AP stops sending Beacon.
In concrete application scenarios, similar with aforesaid step S101, the equally possible connected mode according to AP and STA of processing procedure of this step, it is divided into two similar with described above kind scene, is described as follows:
Scene one, AP directly set up with STA and are connected.
Under this kind of scene, AP stops the opportunity of transmission Beacon can include following three kinds:
(1) when current of described AP is connected with a STA, if described AP receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, then described AP, after default time delay, is stopping sending Beacon.
The setting that this kind stops opportunity being primarily to normally rolls off the production line at the AP STA connected, or when connection proper solution is removed, it is possible to stop the transmission of Beacon in time.
Certainly, if AP is currently also associated with multiple online STA, even if the then disconnecting of AP and one of them STA, without the transmission stopping Beacon, the i.e. inapplicable above-mentioned situation stopping Beacon, because other STA are still online, and are connected with AP, it is necessary to determined the connection of AP by Beacon.
The setting of time delay is primarily to be avoided owing to propagation delay time or other factors cause the delay of new transmission.
(2) when described last current connected for AP STA rolls off the production line, and when described AP is not received by the described STA Deauthentication sent, then described AP, after default time delay, is stopping sending Beacon.
The setting that this kind stops opportunity being primarily to the AP STA connected is improper roll off the production line time, it is possible to stop in time the transmission of Beacon.
Certainly, if AP is currently also associated with multiple online STA, even if the then improper interruption of connection of AP and one of them STA, without the transmission stopping Beacon, the i.e. inapplicable above-mentioned situation stopping Beacon, because other STA are still online, and are connected with AP, it is necessary to determined the connection of AP by Beacon.
The setting of time delay is primarily to be avoided owing to propagation delay time or other factors cause the delay of new transmission, and, time delay in such cases is configured according to actual needs, and concrete size can be identical with the time delay in (1), it is also possible to different.
(3) if described AP is connected currently without with any STA, and sending Beacon and after default connection buffer time starting, described AP is connected still without setting up with any STA, then described AP stops transmission Beacon.
The setting that this kind stops opportunity being primarily to and attempts to connect in the unsuccessful situation of STA at AP, it is possible to stop the transmission of Beacon in time.
Same, if AP is currently also associated with other online STA, then the above-mentioned situation stopping Beacon will be no longer applicable, because other STA are still online, and be connected with AP, it is necessary to determined the connection of AP by Beacon.
The time that the setting of connection buffer time is referred to required for AP connects STA is arranged, and the change of concrete numerical value has no effect on protection scope of the present invention.
Scene two, AP can use multiple BSS, and each BSS sets up with STA respectively and is connected.
Under this kind of scene, AP stops the opportunity of transmission Beacon can include following three kinds:
(1) when current of the described AP BSS used is connected with a STA, if described AP receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, described AP, after default time delay, is stopping sending the Beacon carrying SSID corresponding for described BSS.
The setting that this kind stops opportunity being primarily to normally rolls off the production line at the AP BSS the used STA connected, or when connection proper solution is removed, it is possible to stop the transmission of Beacon in time.
Certainly, if this BSS that AP uses currently is also associated with multiple online STA, even if the then disconnecting of this BSS and one of them STA, without the transmission stopping Beacon, the i.e. inapplicable above-mentioned situation stopping Beacon, because other STA are still online, and are connected with this BSS, it is necessary to determined the connection of AP by Beacon.
The setting of time delay is primarily to be avoided owing to propagation delay time or other factors cause the delay of new transmission.
(2) when described AP last current connected for BSS STA used rolls off the production line, and described AP is when being not received by the described STA Deauthentication sent, described AP, after default time delay, is stopping sending the Beacon carrying SSID corresponding for described BSS.
The setting that this kind stops opportunity being primarily to the STA that connects of BSS that AP uses is improper roll off the production line time, it is possible to stop the transmission of Beacon in time.
Certainly, if the BSS that AP uses currently is also associated with multiple online STA, even if the then improper interruption of connection of this BSS and one of them STA, without the transmission stopping Beacon, the i.e. inapplicable above-mentioned situation stopping Beacon, because other STA are still online, and are connected with this BSS, it is necessary to determined the connection of AP by Beacon.
The setting of time delay is primarily to be avoided owing to propagation delay time or other factors cause the delay of new transmission, and, time delay in such cases is configured according to actual needs, and concrete size can be identical with the time delay in (1), it is also possible to different.
(3) if the BSS that described AP uses is connected currently without with any STA, and send the Beacon carrying SSID corresponding for described BSS starting, and after default connection buffer time, described BSS is connected still without setting up with any STA, then described AP stops sending the Beacon carrying SSID corresponding for described BSS.
The setting that this kind stops opportunity being primarily to and attempts to connect in the unsuccessful situation of STA at the AP BSS used, it is possible to stop the transmission of Beacon in time.
Same, if the BSS that AP uses currently is also associated with other online STA, then the above-mentioned situation stopping Beacon will be no longer applicable, because other STA are still online, and be connected with this BSS, it is necessary to determined the connection of AP by Beacon.
The time that the setting of connection buffer time is referred to required for the AP BSS used connects STA is arranged, and the change of concrete numerical value has no effect on protection scope of the present invention.
By above-mentioned scheme, may determine that AP carries out the start and end time of Beacon transmission, but, in the prior art, during the transmission of ProbeResponse not selective, as long as receiving ProbeRequest, will respond accordingly, so also result in the frequent transmission of follow-up Beacon, be also not easy to the Access Control of AP simultaneously.
Therefore, the embodiment of the present invention is it is further proposed that the connection mechanism of permitting the entrance of AP, it is possible to before the step S101 stated before execution, is made whether to allow AP and the corresponding STA verification process setting up connection, thus realizing the Access Control of AP.
Concrete, after described AP receives the STA ProbeRequest sent, source MAC (MediaAccessControl according to described ProbeRequest, medium access control) address, allow list is inquired about at default MAC Address, wherein, MAC Address allows list to be the MAC Address list that the Access Control according to AP needs to pre-set, and comprises and allows to set up, with AP, all mac address informations being connected.
If inquiring the address that the source MAC with described ProbeRequest matches, described AP returns ProbeResponse to described STA, and determines and self require connect to described STA, thus performing step S101 further.
Without the address that the source MAC inquired with described ProbeRequest matches, described AP abandons responding, and determine that self need not be connected to described STA, thus, even if receiving ProbeRequest, without the transmission of the feedback and Beacon that carry out follow-up ProbeResponse.
By above-mentioned process, it is achieved that the screening of the STA that AP accesses, completing the Access Control to AP, during for needing to filter out, the feedback of ProbeResponse and the transmission of Beacon will not being carried out, thus saving corresponding resource.
Compared with prior art, the invention have the advantages that
By applying technical scheme, AP is only after determining and self requiring connect to online STA, just can start to send Beacon, and after determining and self being currently not attached to any online STA, stop sending Beacon, thus, only just can carry out the transmission of Beacon on other occasions, avoid AP to send Beacon always, particularly in being still required for constantly sending the situation of Beacon when being not connected to online STA, reduce the electric power resource waste thus caused, reduce and send the Beacon interference for other AP always, and to the radiation of human body and environmental pollution.
In order to the technological thought of the present invention is expanded on further, in conjunction with concrete application scenarios, technical scheme is illustrated.
Time the key point of technical scheme proposed by the invention is in that only have STA online, AP just sends Beacon, and on the contrary, the AP free time does not then send Beacon (when namely not having any STA online, AP does not send Beacon).
Corresponding aforesaid description, the embodiment of the present invention is equally based on two kinds of scenes and concrete technical scheme is described.
Scene one
In concrete process scene, STA finds AP firstly the need of active scan, namely first STA sends ProbeRequest, after AP receives ProbeRequest, send after ProbeResponse, STA receive ProbeResponse, get the parameter such as SSID of AP, and respond ACK (AcknowledgeCharacter confirms character) to AP.
In the process, AP starts to send the opportunity of Beacon and can be:
If AP is currently not attached to any STA, so, receiving first ProbeRequest (namely beginning with first STA to attempt being connected) with AP foundation to any opportunity this AP and the first STA successful association (namely this STA can use wireless network transmitting and receiving service message) from this AP, AP all can start the transmission of Beacon.
Such as: when being not connected to any STA on AP, AP receives first STA accessed ProbeRequest sent, and then starts to send Beacon;Or, after AP receives first STA accessed ProbeRequest sent, AP sends ProbeResponse, after receiving the STA ACK responded, starts to send Beacon, etc..In aforesaid time range, AP specifically starts to send the time of Beacon can't affect protection scope of the present invention.
By above-mentioned rule settings, it is ensured that as long as there being STA online on AP, then AP will start to continue to send Beacon.
It is pointed out that in concrete application scenarios, it is preferred that embodiment of the present invention suggestion AP starts to send Beacon at transmission (Re) associationResponse message and stage before.
After the transmission starting Beacon, AP stops the opportunity of transmission Beacon can include following three kinds of situations:
1, when being only associated with a STA on AP, and AP receives this STA Deauthentication message actively rolled off the production line or AP actively releases and when associating of this STA, and AP, after waiting certain time, stops sending Beacon.
2, when rolling off the production line with AP last association STA, and when AP does not receive this STA Deautiontication message sent, AP, after waiting certain time, stops sending Beacon.
3, when AP starts, in a period of time after sending Beacon, to access still without any STA, then AP stops sending Beacon.
Above-mentioned three kinds of situations meet the demand of different application scenarios respectively, and specific description, referring to aforesaid description, is not repeated at this, are arranged by such rule, it is ensured that when only not having any STA to connect on AP, and AP is only possible to stopping and sending Beacon.
Scene two,
In concrete process scene, STA finds AP by active scan, but, it is send, by clean culture, the mode carrying the ProbeRequest specifying SSID to detect, after AP receives ProbeRequest, determine that this STA is attached with the corresponding BSS of self in trial according to its entrained SSID, so, reply ProbeResponse to this STA.
In the process, AP starts to send the opportunity of Beacon and can be:
If certain BSS of AP is currently not attached to any STA, so, receiving first ProbeRequest with the clean culture of the SSID corresponding to this BSS (namely begin with first STA and attempt to connect to this BSS) to any opportunity this BSS and the first STA successful association (namely this STA can use wireless network transmitting and receiving service message) from this AP, AP all can start to carry the transmission of the Beacon of this SSID.
Such as: when being not connected to any STA on certain BSS of AP, AP receives STA first ProbeRequest with this SSID sent, and then AP starts to send the Beacon carrying this SSID;Or, receive STA first ProbeRequest with this SSID sent at AP, and after AP sends ProbeResponse, AP sends the Beacon carrying this SSID, etc..In aforesaid time range, AP specifically starts to send the time of the Beacon carrying this SSID can't affect protection scope of the present invention.
By above-mentioned rule settings, it is ensured that as long as there being STA online on certain BSS of AP, AP just persistently sends the Beacon carrying this SSID.
It is pointed out that in concrete application scenarios, it is preferred that embodiment of the present invention suggestion AP starts to send the Beacon carrying this SSID at transmission (Re) associationResponse message and stage before.
After the transmission starting Beacon, AP stops the opportunity of transmission Beacon can include following three kinds of situations:
1, when being only associated with a STA on certain BSS of AP, and AP receives this STA Deauthentication message actively rolled off the production line, or AP actively relieves and when associating of this STA, and AP, after waiting certain time, stops sending the Beacon carrying this SSID.
2, when, on certain BSS of AP, last STA associated with this AP rolls off the production line, and when AP does not receive this STA Deautiontication message sent, AP, after waiting certain time, stops sending the Beacon carrying this SSID.
3, when, in AP a period of time started after sending the Beacon carrying the SSID corresponding to certain BSS, this BSS accesses still without any STA, then AP stops sending the Beacon carrying this SSID.
Above-mentioned three kinds of situations meet the demand of different application scenarios respectively, specific description is referring to aforesaid description, it is not repeated at this, arranged by such rule, ensure that when only not having any STA to connect on certain BSS of AP, AP is only possible to and stops sending the Beacon carrying the SSID corresponding to this BSS.
Further, the technical scheme that the embodiment of the present invention is proposed can arrange the MAC Address of the AP STA allowed, after AP receives the STA ProbeRequest sent, the MAC Address that search AP allows, when the source MAC of ProbeRequest mates with the MAC Address arranged in AP time, AP responds ProbeResponse.Then carry out aforesaid Beacon and send the flow process with stop processing flow process.
Compared with prior art, the invention have the advantages that
By applying technical scheme, AP is only after determining and self requiring connect to online STA, just can start to send Beacon, and after determining and self being currently not attached to any online STA, stop sending Beacon, thus, only just can carry out the transmission of Beacon on other occasions, avoid AP to send Beacon always, particularly in being still required for constantly sending the situation of Beacon when being not connected to online STA, reduce the electric power resource waste thus caused, reduce and send the Beacon interference for other AP always, and to the radiation of human body and environmental pollution.
In order to realize technical scheme, based on aforesaid explanation, the invention allows for a kind of AP, its structural representation is as in figure 2 it is shown, at least include with lower module:
Determine module 21, for determining that described AP is currently the need of being connected to online STA;
Sending module 22, for described determine that module 21 determines that described AP requires connect to online STA after, start to send Beacon;
Stopping modular 23, for starting to send Beacon at described sending module 22, and described determine that module 21 determines that described AP is currently not attached to any online STA after, stop sending Beacon.
Wherein, this AP also includes receiver module 24;
Described receiver module 24, specifically for receiving the STA ProbeRequest sent;
Described sending module 22, specifically for:
It is connected currently without with any STA at described AP, and when described receiver module 24 receives the STA ProbeRequest sent, then, before described AP and described STA sets up and is connected, starts to send Beacon;Or,
It is connected currently without with any STA at the described AP BSS used, and described receiver module 24 is when receiving the STA ProbeRequest carrying the SSID corresponding with described BSS sent, then before described BSS and described STA sets up and is connected, start to send, to described STA, the Beacon carrying SSID corresponding for described BSS.
Further, described sending module 22, specifically for:
When described determine that module 21 determines that described AP requires connect to online STA after, sending before AssociationResponse or ReassociationResponse to described STA, start to send Beacon.
On the other hand,
Described receiver module 24, is additionally operable to receive the STA Deauthentication sent;
Described stopping modular 23, specifically for:
When current of described AP is connected with a STA, if described receiver module 24 receives the described STA Deauthentication sent, or described AP actively releases the connection with described STA, then after default time delay, stopping sends Beacon;Or,
When described last current connected for AP STA rolls off the production line, and when described receiver module 24 is not received by the described STA Deauthentication sent, after default time delay, stopping sending Beacon;Or,
If described AP is connected currently without with any STA, and start to send Beacon at described sending module 22, and after default connection buffer time, described AP is connected still without setting up with any STA, then stop sending Beacon;Or,
When current of the described AP BSS used is connected with a STA, if described receiver module 24 receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, then, after default time delay, stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
When described AP last current connected for BSS STA used rolls off the production line, and described receiver module 24 is when being not received by the described STA Deauthentication sent, then, after default time delay, stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
If the BSS that described AP uses is connected currently without with any STA, and after described sending module 22 starts to send the Beacon carrying SSID corresponding for described BSS, and after default connection buffer time, described BSS is connected still without setting up with any STA, then stop sending the Beacon carrying SSID corresponding for described BSS.
Further, this AP also includes enquiry module 25;
Described enquiry module 25, specifically for after described receiver module 24 receives STA ProbeRequest sent, the source MAC according to described ProbeRequest, allow list is inquired about at default MAC Address;
Described sending module 22, it is additionally operable to when described enquiry module 25 inquires the address that the source MAC with described ProbeRequest matches, ProbeResponse is returned to described STA, and notify described to determine that module 21 determines that described AP requires connect to described STA, and when described enquiry module 25 does not inquire the address that the source MAC with described ProbeRequest matches, abandon responding, and notify described to determine that module 21 determines that described AP need not be connected to described STA.
Compared with prior art, the invention have the advantages that
By applying technical scheme, AP is only after determining and self requiring connect to online STA, just can start to send Beacon, and after determining and self being currently not attached to any online STA, stop sending Beacon, thus, only just can carry out the transmission of Beacon on other occasions, avoid AP to send Beacon always, particularly in being still required for constantly sending the situation of Beacon when being not connected to online STA, reduce the electric power resource waste thus caused, reduce and send the Beacon interference for other AP always, and to the radiation of human body and environmental pollution.
Through the above description of the embodiments, those skilled in the art is it can be understood that can realize by hardware to the present invention, it is also possible to the mode adding necessary general hardware platform by software realizes.Based on such understanding, technical scheme can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, including some instructions, with so that computer equipment (can be personal computer, server, or OAMMASTER equipment etc.), each implements the method described in scene to perform the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram being preferable to carry out scene, module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device implemented in scene can carry out being distributed in the device implementing scene according to implementing scene description, it is also possible to carry out respective change and be disposed other than in one or more devices of this enforcement scene.The module of above-mentioned enforcement scene can merge into a module, it is also possible to is further split into multiple submodule.
The invention described above sequence number, just to describing, does not represent the quality implementing scene.
Several scenes that are embodied as of the present invention of being only disclosed above, but, the present invention is not limited to this, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (6)

1. the sending method of a beacon Beacon, it is characterised in that described method at least comprises the following steps:
After access point AP determines self to require connect to online wireless client STA, described AP starts to send Beacon;
After described AP determines self to be currently not attached to any online STA, described AP stops sending Beacon;
Wherein, after described AP determines self to be currently not attached to any online STA, described AP stops sending Beacon, specifically includes:
When current of described AP is connected with a STA, if described AP receives the described STA releasing wireless identity sent checking frame Deauthentication, or the connection of described AP active releasing and described STA, described AP, after default time delay, is stopping sending Beacon;Or,
When described last current connected for AP STA rolls off the production line, and when described AP is not received by the described STA Deauthentication sent, described AP, after default time delay, is stopping sending Beacon;Or,
If described AP is connected currently without with any STA, and sending Beacon and after default connection buffer time starting, described AP is connected still without setting up with any STA, then described AP stops transmission Beacon;Or,
When current of the described AP Basic Service Set BSS used is connected with a STA, if described AP receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, described AP, after default time delay, is stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
When described AP last current connected for BSS STA used rolls off the production line, and described AP is when being not received by the described STA Deauthentication sent, described AP, after default time delay, is stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
If the BSS that described AP uses is connected currently without with any STA, and send the Beacon carrying SSID corresponding for described BSS starting, and after default connection buffer time, described BSS is connected still without setting up with any STA, then described AP stops sending the Beacon carrying SSID corresponding for described BSS;
Described before AP determines self to require connect to online STA, also include:
After described AP receives the STA ProbeRequest sent, the source media access control layer MAC Address according to described ProbeRequest, allow list is inquired about at default MAC Address;
If inquiring the address that the source MAC with described ProbeRequest matches, described AP returns probe response frame ProbeResponse to described STA, and determines and self require connect to described STA;
Without the address that the source MAC inquired with described ProbeRequest matches, described AP abandons responding, and determines that self need not be connected to described STA.
2. the method for claim 1, it is characterised in that after AP determines self to require connect to online STA, described AP starts to send Beacon, specifically includes:
If described AP is at self currently without when being connected with any STA, what receive a STA transmission detects claim frame ProbeRequest, then described AP is before being connected with described STA foundation, starts to send Beacon;
If described AP at the BSS self used currently without when being connected with any STA, receive the STA ProbeRequest carrying the service set SSID corresponding with described BSS sent, then described AP is before described BSS and described STA sets up and is connected, and starts to send, to described STA, the Beacon carrying SSID corresponding for described BSS.
3. method as claimed in claim 2, it is characterised in that after AP determines self to require connect to online STA, described AP starts to send Beacon, specifically includes:
After AP determines self to require connect to online STA, described AP, before sending associated response AssociationResponse or re-association response ReassociationResponse to described STA, starts to send Beacon.
4. an AP, it is characterised in that at least include:
Determine module, for determining that described AP is currently the need of being connected to online STA;
Sending module, for described determine that module determines that described AP requires connect to online STA after, start to send Beacon;
Stopping modular, for starting to send Beacon at described sending module, and described determine that module determines that described AP is currently not attached to any online STA after, stop sending Beacon;
Wherein, receiver module is also included;
Described receiver module, the Deauthentication that the concrete STA of reception sends;
Described stopping modular, specifically for:
When current of described AP is connected with a STA, if described receiver module receives the described STA Deauthentication sent, or described AP actively releases the connection with described STA, then after default time delay, stopping sends Beacon;Or,
When described last current connected for AP STA rolls off the production line, and when described receiver module is not received by the described STA Deauthentication sent, after default time delay, stopping sending Beacon;Or,
If described AP is connected currently without with any STA, and start to send Beacon at described sending module, and after default connection buffer time, described AP is connected still without setting up with any STA, then stop sending Beacon;Or,
When current of the described AP Basic Service Set BSS used is connected with a STA, if described receiver module receives the described STA Deauthentication sent, or the connection of described AP active releasing and described STA, then, after default time delay, stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
When described AP last current connected for BSS STA used rolls off the production line, and described receiver module is when being not received by the described STA Deauthentication sent, then, after default time delay, stopping sending the Beacon carrying SSID corresponding for described BSS;Or,
If the BSS that described AP uses is connected currently without with any STA, and after starting at described sending module to send the Beacon carrying SSID corresponding for described BSS, and after default connection buffer time, described BSS is connected still without setting up with any STA, then stop sending the Beacon carrying SSID corresponding for described BSS;
Also include enquiry module, be used for after described receiver module receives the STA ProbeRequest sent, the source MAC according to described ProbeRequest, allow list is inquired about at default MAC Address;
Described sending module, it is additionally operable to when described enquiry module inquires the address that the source MAC with described ProbeRequest matches, ProbeResponse is returned to described STA, and notify described to determine that module determines that described AP requires connect to described STA, and when described enquiry module does not inquire the address that the source MAC with described ProbeRequest matches, abandon responding, and notify described to determine that module determines that described AP need not be connected to described STA.
5. AP as claimed in claim 4, it is characterised in that described receiver module is additionally operable to receive the STA ProbeRequest sent;
Described sending module, specifically for:
It is connected currently without with any STA at described AP, and when described receiver module receives the STA ProbeRequest sent, then, before described AP and described STA sets up and is connected, starts to send Beacon;Or,
It is connected currently without with any STA at the described AP BSS used, and described receiver module is when receiving the STA ProbeRequest carrying the SSID corresponding with described BSS sent, then before described BSS and described STA sets up and is connected, start to send, to described STA, the Beacon carrying SSID corresponding for described BSS.
6. AP as claimed in claim 5, it is characterised in that described sending module, specifically for:
When described determine that module determines that described AP requires connect to online STA after, sending before AssociationResponse or ReassociationResponse to described STA, start to send Beacon.
CN201110356384.7A 2011-11-11 2011-11-11 The sending method of a kind of Beacon and equipment Active CN102437897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110356384.7A CN102437897B (en) 2011-11-11 2011-11-11 The sending method of a kind of Beacon and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110356384.7A CN102437897B (en) 2011-11-11 2011-11-11 The sending method of a kind of Beacon and equipment

Publications (2)

Publication Number Publication Date
CN102437897A CN102437897A (en) 2012-05-02
CN102437897B true CN102437897B (en) 2016-06-29

Family

ID=45985785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110356384.7A Active CN102437897B (en) 2011-11-11 2011-11-11 The sending method of a kind of Beacon and equipment

Country Status (1)

Country Link
CN (1) CN102437897B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684844B (en) * 2012-06-05 2015-02-18 杭州华三通信技术有限公司 Beacon frame sending method, Beacon frame receiving method, access point (AP) and wireless client
CN104333890A (en) * 2014-10-17 2015-02-04 小米科技有限责任公司 Signal transmission control method, device and electronic equipment
CN105050129B (en) * 2015-08-17 2020-01-10 上海庆科信息技术有限公司 Data interaction method and device
CN106535293B (en) * 2015-09-09 2020-10-27 华为技术有限公司 Active scanning processing method and related device and communication system
CN107306456B (en) * 2016-04-22 2019-11-29 华为技术有限公司 A kind of method, apparatus and system of terminal association AP
WO2017206086A1 (en) * 2016-05-31 2017-12-07 华为技术有限公司 Access point discovery method and apparatus
CN106658756B (en) * 2016-12-13 2020-05-26 浙江大华技术股份有限公司 Method and device for identifying connection between terminal equipment and hotspot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348104A (en) * 2002-05-28 2003-12-05 Canon Inc Wireless access point
JP2009302798A (en) * 2008-06-12 2009-12-24 I-O Data Device Inc Access point device, beacon signal transmission control method, and beacon signal transmission control program
CN101868009A (en) * 2010-06-12 2010-10-20 杭州华三通信技术有限公司 Wireless access point (AP) and AP energy saving method
WO2011052700A1 (en) * 2009-11-02 2011-05-05 日本電気株式会社 Communication device, communication system, communication device control method, and communication device control program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348104A (en) * 2002-05-28 2003-12-05 Canon Inc Wireless access point
JP2009302798A (en) * 2008-06-12 2009-12-24 I-O Data Device Inc Access point device, beacon signal transmission control method, and beacon signal transmission control program
WO2011052700A1 (en) * 2009-11-02 2011-05-05 日本電気株式会社 Communication device, communication system, communication device control method, and communication device control program
CN101868009A (en) * 2010-06-12 2010-10-20 杭州华三通信技术有限公司 Wireless access point (AP) and AP energy saving method

Also Published As

Publication number Publication date
CN102437897A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
CN102437897B (en) The sending method of a kind of Beacon and equipment
JP5522864B2 (en) Battery life saving method and system in mobile station
CN102752823B (en) Method for switching user terminal between access joints in WLAN (Wireless Local Area Network) based on AP (Access Point) collaboration
US7580397B2 (en) Wireless LAN communication system, wireless LAN connection method, and wireless LAN terminal apparatus
CN101583151B (en) Method of STA roaming in WLAN network and device
EP3220688B1 (en) Conditional transmission of wlan probe responses
US8326304B2 (en) Femtocell search method for macro to femto handover
US8254934B2 (en) Paging method and apparatus thereof in broadband wireless communication system
US8892722B1 (en) Peer-to-peer discovery systems and methods
US20110212742A1 (en) Method and base station for sending information
JP2006270665A (en) Handover method in wireless lan
US8725183B2 (en) Device and method for managing base station and terminal
JP2006304085A (en) Load distribution processing system, radio access device and radio network
WO2018098943A1 (en) Wireless local area network access point switching method, and terminal
JPH1023519A (en) Communication system, and its base station device and mobile station device
KR20150094325A (en) communication method for Efficient power saving of UE-relay operation using D2D discovery in cellular system
CN101795483A (en) Method and device for determining channel quality
WO2018228347A1 (en) Wireless client sta roaming
WO2019114498A1 (en) Switching method between aps, ap and ap collaborative work controller
KR20160089411A (en) Relay capable wireless apparatuses
JPWO2010035842A1 (en) Base station and base station control method
CN106535292B (en) Method, system and access point for sending beacon frame
WO2014022996A1 (en) Method for determining relay device, station, access point, relay device and system
WO2017005079A1 (en) Data transmission method, device, and system
US8588779B2 (en) Wireless communication system, communication device and base station thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230625

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right