Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment 1
The embodiment of the present invention provides a kind of method of allocation identification, and described access point has a plurality of access point identities, and each described access point identity has independently association identification space, and as shown in Figure 1, the method comprises:
Step 101, each access point identity in described a plurality of access point identities is as main access point identity broadcast beacon frame successively, comprise the data to be transmitted indication information of described main access point identity and the information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity;
Access point identity is MAC (the Media Access Control of access point, medium access control) address, and with the sign of MAC Address as WiFi (wireless fidelity, WiMAX) network, a plurality of access point identities mean that an access point has a plurality of MAC Address.Access point according to the size order of MAC Address each access point identity in described a plurality of access point identities successively as main access point identity broadcast beacon frame, and iterative cycles.
Need to prove, beacon frame is that the initiatively peripherad terminal of access point sends, and here, the access point point can be AP, and terminal can be STA, and AP also can send probing response frame to it after receiving the probe request of STA.If STA uses the BSSID of broadcasting to send probe request, namely this probe request is broadcast frame, and AP sends probing response frame with current main BSSID to STA, that is to say that the BSSID that fills in the frame head of probing response frame is current main BSSID.If STA sends probe request with certain specific BSSID that AP has to it, namely this probe request is clean culture, and AP also uses the BSSID of this STA appointment rather than the current main BSSID of AP in the frame head of probing response frame.
In addition, the information of described secondary access point identity comprises the load information of described secondary access point identity and/or the data to be transmitted indication information of described secondary access point identity; The information of described secondary access point identity at the payload segment of beacon frame with secondary access point identity information element G-BSSID (Grouped basic service set Identifier element, the basic service set of groupization,) describe, particularly, filled in BSSID in the BSSID territory of the mac frame head in beacon frame or probing response frame, such BSSID is called the main BSSID of this frame; BSSID except main BSSID is secondary BSSID, payload segment in beacon frame or probing response frame uses the G-BSSID element to describe the information of secondary BSSID, comprise the ability information of secondary BSSID, SSID (the Service Set Identifier under secondary BSSID, and the data to be transmitted indication information of described secondary access point identity can be encapsulated in the G-BSSID information element service set) etc..
For AP, each BSSID that supports take AP in turn sends beacon frame as main BSSID, main BSSID in this beacon frame is the main BSSID that this beacon frame arrives the beacon period between next beacon frame so, and other BSSID is the secondary BSSID of this beacon period in this cycle.
Step 102, the association request message that receiving terminal sends, the target access that comprises in described association request message sign are access point identities in described a plurality of access point identity;
Need to prove, when terminal scanning after access point, the beacon frame that is sent by described access point that parsing receives is also selected a target access sign, then described target access sign is carried at and sends to described access point in association request message, to set up incidence relation.
Step 103, according to described target access sign, be an association identification in the independently association identification space of the described target access of described terminal distribution sign, and send associate response message to described terminal, comprise described target access sign and described association identification in described associate response message.
Each BSSID has oneself independently AID space, that is to say, does not share in the AID space of each BSSID, like this, on the basis of TIM mechanism, a BSSID just can have at most 2007 AID, after using many BSSID mechanism, just can support to surpass 2007 STA.And in the scope of AP administration, identify related STA, and need to use simultaneously BSSID and AID, use separately AID STA of unique identification again.So, data to be transmitted indication information under each BSSID that AP supports uses a TIM element, main BSSID for beacon frame, its TIM element is direct information element in beacon frame, and the TIM element under secondary BSSID can be included in the G-BSSID information element as sub-information element in the G-BSSID information element in beacon frame.The TIM element that do not comprise secondary BSSID in the G-BSSID element is equivalent to the data to be transmitted indication information (being TIM) under each BSSID of access point wheel streaming if only comprise in beacon frame that TIM element under main BSSID namely is associated with the data to be transmitted indication information of main each terminal of BSSID; If comprised the TIM element of main BSSID in beacon frame, the TIM element that has comprised again secondary BSSID in the G-BSSID element means that access point has carried the data to be transmitted indication information of all terminals of access point association (being distributed in a plurality of TIM elements) in beacon frame.
Need to prove, described access point uses at any time channel to communicate by letter with AP and namely sends downstream message and/or receive upstream message; Perhaps, described access point used channel to send downstream message and/or receives upstream message in the beacon period that is designated main access point identity with described target access.
The method of a kind of allocation identification that the embodiment of the present invention provides, by each access point identity in described a plurality of access point identities successively as main access point identity broadcast beacon frame, after the association request message that the access point receiving terminal sends, according to the described target access sign in association request message, be an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and send associate response message to described terminal.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID has oneself independently AID space, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
The embodiment of the present invention provides the method for another kind of allocation identification, and as shown in Figure 2, the method comprises:
Step 201 is resolved the target access of beacon frame selection that is sent by described access point that receives and is identified, and described access point has a plurality of access point identities, and each described access point identity has independently association identification space;
Terminal scans randomly, after the scanning discovery access point, main access point identity relevant information and secondary access point identity relevant information in the beacon frame that is sent by described access point that parsing receives, select an access point identity to identify as target access, described relevant information comprises ability information and/or load information;
Perhaps selecting described main access point identity is the target access sign;
The indication of perhaps carrying in the beacon frame according to described access point transmission, the select target access point identity.
Step 202 sends association request message to described access point, comprises described target access sign in described association request message;
Step 203, receive the associate response message that described access point sends, comprise described target access sign and association identification in described associate response message, described association identification is to be a sign in the independent association identifier space of described target access sign of terminal distribution by described access point.
After receiving as an association identification in the independent association identifier space of the described target access sign of terminal distribution, according to the target access of selecting, terminal periodic is intercepted the beacon frame of described target access sign, and resolve TIM element in described beacon frame in order to obtain downlink data, comprise the data to be transmitted indication information of described main access point identity and the data to be transmitted indication information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity.
The maximum length of " the local effectively bit table " of TIM element is 251 bytes, and wherein, each bit represents a STA, and the position of bit is exactly the AID of STA, and when bit value was 1, expression had downlink data, and when bit was 0, expression did not have downlink data.
Need to prove, terminal is used at any time channel to receive downstream message or is sent upstream message; Described terminal was used channel to receive downstream message or sends upstream message in the beacon period that is designated main access point identity with described target access.
The method of a kind of allocation identification that the embodiment of the present invention provides, by resolving the beacon frame that access point sends and selecting a target access sign, send association request message to described access point, comprise described target access sign in described association request message, receive the associate response message that described access point sends, comprise described target access sign in described associate response message and be the described association identification of described terminal distribution.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID is by oneself AID space independently, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
The embodiment of the present invention provides a kind of access point, and described access point has a plurality of access point identities, and each described access point identity has independently association identification space, as shown in Figure 3, this access point comprises: radio unit 301, receiving element 302 distributes transmitting element 303.
Radio unit 301, be used for successively each access point identity take described a plurality of access point identities as main access point identity broadcast beacon frame, comprise the data to be transmitted indication information of described main access point identity and the information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity;
After the terminal random scan was found AP, receiving element 302 was used for the association request message that receiving terminal sends, and the target access that comprises in described association request message sign is an access point identity in described a plurality of access point identity;
According to described target access sign, distribute transmitting element 303, be an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and send associate response message to described terminal, comprise described target access sign and described association identification in described associate response message.
Need to prove: relating to access point in the embodiment of the present invention is a device, is made of a series of hardware and necessary software.Described hardware includes but not limited at least one processor, memory, and radio-frequency (RF) transceiver, input equipment/output equipment, buffers etc. pass through bus coupling between each hardware.
A kind of access point that the embodiment of the present invention provides, by radio unit each access point identity in described a plurality of access point identities successively as main access point identity broadcast beacon frame, the association request message that the receiving element receiving terminal sends, according to described target access sign, distributing transmitting element is an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and sends associate response message to described terminal.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID is by oneself AID space independently, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
The embodiment of the present invention provides a kind of terminal, is specifically as follows STA, and as shown in Figure 4, this terminal comprises: resolution unit 401, transmitting element 402, receiving element 403.
Resolution unit 401 is used for resolving the target access of beacon frame selection that is sent by described access point that receives and identifies, and described access point has a plurality of access point identities, and each described access point identity has independently association identification space;
According to the described target access sign of selecting, transmitting element 402 is used for sending association request message to described access point, comprises described target access sign in described association request message;
After access point is the terminal distribution association identification, receiving element 403, be used for receiving the associate response message that described access point sends, comprise described target access sign and association identification in described associate response message, described association identification is to be a sign in the independent association identifier space of described target access sign of terminal distribution by described access point.
Need to prove: relate to terminal in the embodiment of the present invention and consisted of by a series of hardware and necessary software.Described hardware includes but not limited at least one processor, memory, and radio-frequency (RF) transceiver, input equipment/output equipment, buffers etc. pass through bus coupling between each hardware.
a kind of terminal that the embodiment of the present invention provides, resolve the beacon frame that is sent by described access point that receives and select a target access sign by resolution unit, transmitting element sends association request message to described access point, comprise described target access sign in described association request message, receiving element receives the associate response message that described access point sends, comprise described target access sign and association identification in associate response message, described association identification is to be a sign in the independent association identifier space of described target access sign of terminal distribution by described access point.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID is by oneself AID space independently, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
Embodiment 2
The embodiment of the present invention provides a kind of method of allocation identification, and described access point has a plurality of access point identities, and each described access point identity has independently association identification space, and as shown in Figure 5, the method comprises:
Step 501, described access point AP successively each access point identity in described a plurality of access point identities as main access point identity broadcast beacon frame, comprise the data to be transmitted indication information of described main access point identity and the information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity;
Access point identity is MAC (the Media Access Control of access point, medium access control) address, and with the sign of MAC Address as WiFi (wireless fidelity, WiMAX) network, a plurality of access point identities mean that an access point has a plurality of MAC Address.Access point according to the size order of MAC Address each access point identity in described a plurality of access point identities successively as main access point identity broadcast beacon frame, and iterative cycles.
Need to prove, beacon frame is that the initiatively peripherad STA of AP sends, and AP also can send probing response frame to it after receiving the probe request of STA.If STA uses the access point identity BSSID of broadcasting to send probe request, be that this probe request is broadcast frame, AP sends probing response frame with current main BSSID to STA, that is to say that the BSSID that fills in the frame head of probing response frame is current main BSSID.If STA sends probe request with certain specific BSSID that AP has to it, namely this probe request is clean culture, and AP also uses the BSSID of this STA appointment rather than the current main BSSID of AP in the frame head of probing response frame.
In addition, the information of described secondary access point identity comprises the load information of described secondary access point identity and/or the data to be transmitted indication information of described secondary access point identity; The information of described secondary access point identity at the payload segment of described beacon frame with secondary access point identity information element G-BSSID (Grouped basic service set Identifier element, the basic service set of groupization,) describe, particularly, filled in BSSID in the BSSID territory of the mac frame head in beacon frame or probing response frame, such BSSID is called the main BSSID of this frame; BSSID except main BSSID is secondary BSSID, payload segment in beacon frame or probing response frame uses the G-BSSID element to describe the information of secondary BSSID, comprise the load information of secondary BSSID, SSID (the Service Set Identifier under secondary BSSID, and the data to be transmitted indication information of described secondary access point identity can be encapsulated in the G-BSSID information element with sub-information element service set) etc..
Wherein, the TIM information of whether carrying in beacon frame under secondary BSSID is optional, and TIM information is the data to be transmitted indication information here.When the TIM information of carrying in beacon frame under secondary BSSID, illustrate that each beacon frame has all carried the descending data to be transmitted indication information of all STA under AP, when the TIM information of not carrying in beacon frame under secondary BSSID, AP sends the TIM information of each BSSID in turn.
For AP, send beacon frame take each BSSID of supporting as main BSSID in turn, main BSSID in this beacon frame is the main BSSID of this beacon frame to the beacon period between next beacon frame so, other BSSID is the secondary BSSID of this beacon period in this cycle, interval between adjacent two beacon frames is called BI (Beacon Interval, beacon interval).
Step 502 after STA scans access point, is resolved the beacon frame that is sent by described access point receive and selects a target access sign;
At first, STA scans randomly, after scanning discovery AP, the information that main BSSID in beacon frame or probing response frame is relevant is resolved, and be encapsulated in the information that in G-BSSID element in beacon frame or probing response frame, secondary BSSID is relevant and resolve, thereby obtain the ability information of each BSSID, but ability information comprises the terminal number of BSSID load here, relevant information comprises ability information and/or load information.
Then, select a target BS SID,, when select target BSSID, three kinds of modes can be arranged here:
Mode one: resolve main access point identity relevant information and secondary access point identity relevant information in the beacon frame that is sent by described access point receive, select an access point identity to identify as target access, described relevant information comprises ability information and/or load information; Particularly, but can select the more BSSID of load terminal number, so that the management of AP;
Mode two: selecting described main BSSID is target BS SID; Need to prove the information of only carrying a main BSSID in a beacon frame or probing response frame, the information of a plurality of secondary BSSID of portability;
Mode three: the indication of carrying in the beacon frame according to described AP transmission, select target BSSID.
Need to prove, after STA select target BSSID, can stipulate that each BSSID shares BI, SAT can use channel at any time; Can stipulate that also each BSSID does not share BI, described STA is according to the described BSSID that selects, and the beacon period under described target BS SID is used channel.
Step 503, described STA sends association request message to described AP, comprises described target access sign in described association request message;
After STA selects target BS SID, target BS SID is carried at sends to AP in association request message.As the shared BI of each BSSID, terminal uses channel to send upstream message at any time; As the shared BI of each BSSID, described terminal uses channel to send upstream message in the beacon period that is being designated main access point identity with described target access.
Step 504, described AP receives the association request message that described STA sends, and the target access that comprises in described association request message sign is an access point identity in described a plurality of access point identity;
When each BSSID shared BI, described access point used channel to send downstream message to terminal at any time; When each BSSID did not share BI, described access point used channel to send downstream message to terminal in the beacon period that is designated main access point identity with described target access.
Step 505, according to described target access sign, be an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and send associate response message to described terminal, comprise described target access sign and described association identification in described associate response message;
After STA selected BSSID, described STA and AP set up incidence relation.
AID (association ID, association identification) span is 1-2007.
In the scheme that the embodiment of the present invention provides, adopt many BSSID mechanism, wherein, BSSID plays the effect of group number, and the TIM mechanism under BSSID, AID distribute same as the prior art, and different is, each BSSID has oneself independently AID space, like this, an AP uses three BSSID just can support nearly 6021 STA, uses more BSSID just can support more STA.
Step 506, described STA receives the associate response message that described access point sends, comprise described target access sign and association identification in described associate response message, described association identification is to be a sign in the independent association identifier space of described target access sign of terminal distribution by described access point;
Step 507, described STA periodically intercepts the beacon frame of described target access sign, and resolve the data to be transmitted indication information in described beacon frame in order to obtain the data to be transmitted indication information of described terminal, comprise the data to be transmitted indication information of described main access point identity and the data to be transmitted indication information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity.
The maximum length of " the local effectively bit table " of TIM element is 251 bytes, and wherein, each bit represents a STA, and the position of bit is exactly the AID of STA, and when bit value was 1, expression had downlink data, and when bit was 0, expression did not have downlink data.That is to say, the data to be transmitted indication information in described beacon frame is indicated with the bit position in the TIM element.
When prompting has downlink data in the TIM element, to share at each BSSID under the scene of BI, terminal can use channel to communicate by letter with described access point to AP at any time, and particularly, terminal can use channel to ask for downlink data to AP at any time; Perhaps, do not share under the scene of BI at each BSSID, described terminal uses channel to communicate by letter with described access point in the beacon period that is designated main access point identity with described target access, particularly, described terminal uses channel to ask for downlink data in the beacon period that is designated main access point identity with described target access.
In like manner, share at each BSSID under the scene of BI, described AP uses channel and described terminal communication at any time, and particularly, described AP uses channel to send downlink data to the described STA of association at any time; Perhaps, do not share under the scene of BI at each BSSID, described AP uses channel and described terminal communication in the beacon period that is designated main access point identity with described target access, particularly, described AP uses channel to send downlink data in the beacon period that is designated main access point identity with described target access.
Need to prove because STA intercepts TIM information, two kinds of situations are arranged, if only carry the TIM information of main BSSID in beacon frame, the beacon frame when the STA target BS SID that only need to intercept described STA association is main BSSID; Otherwise the beacon frame when the target BS SID that STA can only intercept described STA association is main BSSID also can be intercepted all beacon frames.
STA in addition, shares at each BSSID under the scene of BI, the TIM of secondary BSSID can be added in the G-BSSID element, so that when listening to any beacon frame, can know whether it has downlink data.
The embodiment of the present invention provides a kind of method of allocation identification, by each access point identity in described a plurality of access point identities successively as main access point identity broadcast beacon frame, after the association request message that the access point receiving terminal sends, according to the described target access sign in association request message, be an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and send associate response message to described terminal.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID is by oneself AID space independently, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
The embodiment of the present invention provides a kind of access point, described access point has a plurality of access point identities, each described access point identity has independently association identification space, this device can be AP, and as shown in Figure 6, this access point comprises: radio unit 601, receiving element 602, distribute transmitting element 603, the first performance element 604, the second performance elements 605.
Radio unit 601, be used for successively each access point identity take described a plurality of access point identities as main access point identity broadcast beacon frame, comprise the data to be transmitted indication information of described main access point identity and the information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity;
The information of described secondary access point identity comprises the load information of described secondary access point identity and/or the data to be transmitted indication information of described secondary access point identity;
The data to be transmitted indication information of described secondary access point identity is described with secondary access point identity information element at the payload segment of described beacon frame.
After STA scanning discovery AP, beacon frame is resolved, and select a target BS SID, at this moment, receiving element 602, be used for the association request message that receiving terminal sends, the target access that comprises in described association request message sign is an access point identity in described a plurality of access point identity;
According to described target access sign, distribute transmitting element 603, be an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and send associate response message to described terminal, comprise described target access sign and described association identification in described associate response message.
After STA and AP set up incidence relation, in the situation that each BSSID shares BI, the first performance element 604 was used for using at any time channel and described terminal communication;
Perhaps, in the situation that each BSSID does not share BI, the second performance element 605 is used for using channel and described terminal communication in the beacon period that is designated main access point identity with described target access.
A kind of access point that the embodiment of the present invention provides, by radio unit each access point identity in described a plurality of access point identities successively as main access point identity broadcast beacon frame, the association request message that the receiving element receiving terminal sends, according to described target access sign, distributing transmitting element is an association identification in the independent association identifier space of the described target access sign of described terminal distribution, and sends associate response message to described terminal.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID is by oneself AID space independently, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
The embodiment of the present invention provides a kind of terminal, this device can be STA, and as shown in Figure 7, this terminal comprises: resolution unit 701, resolve and select module 7011, first selects module 7012, the second to select module 7013, transmitting element 702, receiving element 703, intercept unit 704, the first performance element 705, the second performance elements 706.
Resolution unit 701 is used for resolving the target access of beacon frame selection that is sent by described access point that receives and identifies, and described access point has a plurality of access point identities, and each described access point identity has independently association identification space;
Particularly, module 7011 is selected in parsing in described resolution unit 701, be used for to resolve main access point identity relevant information and the secondary access point identity relevant information of the beacon frame that is sent by described access point that receives, select an access point identity to identify as target access, described relevant information comprises ability information and/or load information;
And/or first in described resolution unit 701 selected module 7012, and being used for selecting described main access point identity is the target access sign;
And/or second in described resolution unit 701 selected module 7013, is used for the indication select target access point identity that carries according to the beacon frame that described access point sends.
After the select target access point identity, transmitting element 702 is used for sending association request message to described access point, comprises described target access sign in described association request message;
After access point receives the association request message of terminal transmission, be designated association identification of terminal distribution according to target access, and send to terminal, at this moment, receiving element 703, be used for receiving the associate response message that described access point sends, comprise described target access sign in described associate response message and be the described association identification of described terminal distribution.
Intercept unit 704, be used for periodically intercepting the beacon frame of described target access sign, and resolve the data to be transmitted indication information in described beacon frame in order to obtain the data to be transmitted indication information of described terminal, comprise the data to be transmitted indication information of described main access point identity and the data to be transmitted indication information of secondary access point identity in described beacon frame, described secondary access point identity is the access point identity except described main access point identity in described a plurality of access point identity.
The information of described secondary access point identity comprises the data to be transmitted indication information of described secondary access point identity; The data to be transmitted indication information of described secondary access point identity is described with secondary access point identity information element at the payload segment of described beacon frame.
, share at each BSSID under the scene of BI with after AP is related as STA, the first performance element 705 uses channel to communicate by letter with described access point at any time; Perhaps,
Do not share under the scene of BI at each BSSID, the second performance element 706 uses channel to communicate by letter with described access point in the beacon period that is designated main access point identity with described target access.
A kind of terminal that the embodiment of the present invention provides, after scanning access point by resolution unit, the beacon frame that is sent by described access point that resolve to receive is also selected a target access sign, transmitting element sends association request message to described access point, comprise described target access sign in described association request message, receiving element receives the associate response message that described access point sends, and comprises described target access sign and association identification in associate response message.In prior art, on the basis of the TIM mechanism in compatible existing standard, an AP can only distribute at most 2007 STA to compare, the scheme that the embodiment of the present invention provides, each BSSID is by oneself AID space independently, surpasses 2007 STA thereby distribute on the basis of TIM mechanism that can be in compatible existing standard.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.