CN103108391B - A kind of method of allocation identification and device - Google Patents

A kind of method of allocation identification and device Download PDF

Info

Publication number
CN103108391B
CN103108391B CN201110352500.8A CN201110352500A CN103108391B CN 103108391 B CN103108391 B CN 103108391B CN 201110352500 A CN201110352500 A CN 201110352500A CN 103108391 B CN103108391 B CN 103108391B
Authority
CN
China
Prior art keywords
access point
identifier
association
point identifier
target
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
CN201110352500.8A
Other languages
Chinese (zh)
Other versions
CN103108391A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201110352500.8A priority Critical patent/CN103108391B/en
Priority to PCT/CN2012/084272 priority patent/WO2013067941A1/en
Publication of CN103108391A publication Critical patent/CN103108391A/en
Application granted granted Critical
Publication of CN103108391B publication Critical patent/CN103108391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a kind of method and device of allocation identification, relates to communication technical field, can the basis of TIM mechanism in compatible existing standard be distribute association identification more than 2007 STA.The scheme that the embodiment of the present invention provides, by comprising secondary access point identity relevant information with each access point identity in multiple access point identity for main access point identity broadcast beacon frame in described beacon frame successively, when after the association request message that access point receiving terminal sends, according to the target access mark in association request message, for an association identification in the independent association identifier space of target access mark described in described terminal distribution, and send associate response message to described terminal.The scheme that the embodiment of the present invention provides is applicable to adopt when many Basic Service Set Identification are great amount of terminals distribution association identification.

Description

Method and device for distributing identification
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for allocating identifiers.
Background
According to the IEEE 802.11 standard, when a Wi-Fi application terminal, hereinafter referred to as STA (station, herein, specifically referred to as a user equipment, etc.) establishes a connection with an AP (access point), the AP allocates an association identifier AID to the STA. The AP periodically transmits a beacon frame, and the AP indicates, in the beacon frame, whether the STA associated with the AP has downlink data, that is, whether data to be transmitted to the STA is buffered on the AP, by using a TIM (transmission indication map) mechanism. If there is downlink data, the STA may ask for downlink data from the AP, so that the STA may sleep to save power during a period when there is no data transmission before the AP beacon frame. Since an information element is defined in the TIM mechanism, the maximum length of the "local valid bit table" in the information element is 251 bytes, where each bit represents an STA, and the position of the bit is the AID of the STA, and when the bit value is 1, it indicates that there is downlink data, and when the bit value is 0, it indicates that there is no downlink data. In addition, AID is not used, so that 251 bytes can support an STA of 251 × 8-1 — 2007, that is, one AP can only support 2007 STAs at most.
In addition, according to a multiple BSSID (Basic Service set identifier) mechanism proposed in the IEEE 802.11 standard, channel resources of one AP may be allocated to different types of users. The BSSID, i.e., the MAC address of the AP, may also be referred to as an access point identification. The AP supporting multiple BSSIDs sends the beacon frame by taking different BSSIDs as primary BSSIDs in turn, wherein the primary BSSID is the BSSID which appears in the address field of the head of the beacon frame, and the BSSIDs except the primary BSSID in the multiple BSSIDs supported by the AP are taken as secondary BSSIDs, and the secondary BSSIDs and related information are packaged in secondary BSSID information elements and appear in the payload part of the beacon frame. The primary BSSID is also referred to as transmitted BSSID (transmittedbssssid) in the standard, and the secondary BSSID is also referred to as non-transmitted BSSID (non-transmitted BSSID) in the standard. In order to support broadcast data transmission indication of each BSSID, a plurality of bits in a local valid bit table in a TIM element are used for indicating whether each BSSID has broadcast data, so that an AP can support less than 2007 STAs.
In summary, an AP can only allocate 2007 STAs at most based on the TIM mechanism in the prior art.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for allocating an identifier, which may allocate more than 2007 STAs on the basis of compatibility with a TIM mechanism in an existing standard.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
a method of assigning identities, the access point having a plurality of access point identities, each of the access point identities having an independent associated identity space, comprising:
broadcasting a beacon frame by taking each access point identifier in the plurality of access point identifiers as a main access point identifier in sequence, wherein the beacon frame comprises indication information of data to be transmitted of the main access point identifier and information of an auxiliary access point identifier, and the auxiliary access point identifier is an access point identifier except the main access point identifier in the plurality of access point identifiers;
receiving an association request message sent by a terminal, wherein a target access point identifier contained in the association request message is one of the plurality of access point identifiers;
and distributing one associated identifier in an independent associated identifier space of the target access point identifier for the terminal according to the target access point identifier, and sending an associated response message to the terminal, wherein the associated response message comprises the target access point identifier and the associated identifier.
A method of assigning identities, comprising:
analyzing a received beacon frame sent by the access point to select a target access point identifier, wherein the access point is provided with a plurality of access point identifiers, and each access point identifier is provided with an independent associated identifier space;
sending an association request message to the access point, wherein the association request message contains the target access point identifier;
and receiving an association response message sent by the access point, wherein the association response message comprises the target access point identifier and an association identifier, and the association identifier is one identifier in an independent association identifier space of the target access point identifier allocated to the terminal by the access point.
An access point having a plurality of access point identities, each of the access point identities having an independent association identity space, the access point comprising:
a broadcasting unit, configured to broadcast a beacon frame with each of the multiple access point identifiers as a primary access point identifier in sequence, where the beacon frame includes information indicating data to be transmitted of the primary access point identifier and information indicating a secondary access point identifier, and the secondary access point identifier is an access point identifier of the multiple access point identifiers except for the primary access point identifier;
a receiving unit, configured to receive an association request message sent by a terminal, where a target access point identifier included in the association request message is one of the multiple access point identifiers;
and the allocation sending unit is used for allocating an association identifier in an independent association identifier space of the target access point identifier for the terminal according to the target access point identifier and sending an association response message to the terminal, wherein the association response message comprises the target access point identifier and the association identifier.
A terminal, comprising:
the access point comprises a plurality of access point identifiers, and each access point identifier has an independent associated identifier space;
a sending unit, configured to send an association request message to the access point, where the association request message includes the target access point identifier;
a receiving unit, configured to receive an association response message sent by the access point, where the association response message includes the target access point identifier and an association identifier, and the association identifier is an identifier in an independent association identifier space of the target access point identifier allocated by the access point to a terminal.
The embodiment of the invention provides a method and a device for distributing identification, wherein a beacon frame is broadcast by taking each access point identification in a plurality of access point identifications as a main access point identification in sequence, after an access point receives an association request message sent by a terminal, one association identification in an independent association identification space of the target access point identification is distributed for the terminal according to the target access point identification in the association request message, and an association response message is sent to the terminal. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for allocating identifiers according to embodiment 1 of the present invention;
fig. 2 is a flowchart of another method for allocating identifiers according to embodiment 1 of the present invention;
fig. 3 is a block diagram of an access point according to embodiment 1 of the present invention;
fig. 4 is a block diagram of another terminal provided in embodiment 1 of the present invention;
fig. 5 is a flowchart of a method for allocating identifiers according to embodiment 2 of the present invention;
fig. 6 is a block diagram of an access point according to embodiment 2 of the present invention;
fig. 7 is a block diagram of another terminal provided in embodiment 2 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
An embodiment of the present invention provides a method for allocating identifiers, where an access point has multiple access point identifiers, and each access point identifier has an independent associated identifier space, as shown in fig. 1, the method includes:
step 101, broadcasting a beacon frame by taking each access point identifier in the plurality of access point identifiers as a main access point identifier, wherein the beacon frame comprises indication information of data to be transmitted of the main access point identifier and information of an auxiliary access point identifier, and the auxiliary access point identifier is an access point identifier in the plurality of access point identifiers except for the main access point identifier;
the Access point identifier is a Media Access Control (MAC) address of the Access point, and the MAC address is used as an identifier of a wireless fidelity (WiFi) network, where multiple Access point identifiers means that one Access point has multiple MAC addresses. And the access point broadcasts the beacon frame by taking each access point identifier in the plurality of access point identifiers as a main access point identifier in sequence according to the size sequence of the MAC address, and the operation is repeated and circulated.
It should be noted that the beacon frame is actively transmitted by the access point to the surrounding terminals, where the access point may be an AP, the terminal may be an STA, and the AP may also transmit a probe response frame to the STA after receiving the probe request frame of the STA. If the STA sends the probe request frame by using the broadcasted BSSID, namely the probe request frame is a broadcast frame, the AP sends the probe response frame to the STA by using the current primary BSSID, namely the BSSID filled in the frame header of the probe response frame is the current primary BSSID. If a STA sends a probe request frame to the AP with a certain BSSID that the AP has, i.e., the probe request frame is unicast, the AP also uses the BSSID specified by the STA in the header of the probe response frame instead of the current primary BSSID of the AP.
In addition, the information of the secondary access point identifier comprises load information of the secondary access point identifier and/or indication information of data to be transmitted of the secondary access point identifier; the information of the secondary access point identifier is described in a load part of a beacon frame by a secondary access point identifier information element G-BSSID (Grouped basic service set), specifically, BSSID is filled in a BSSID field of a MAC header in the beacon frame or a probe response frame, and such BSSID is referred to as primary BSSID of the frame; BSSID other than the primary BSSID is secondary BSSID, information describing the secondary BSSID using a G-BSSID element in a payload part in the beacon frame or the probe response frame includes capability information of the secondary BSSID, SSID (Service Set Identifier) to which the secondary BSSID belongs, and the like, and data indication information to be transmitted of the secondary access point Identifier may be encapsulated in the G-BSSID information element.
For the AP, beacon frames are sent by taking the BSSIDs supported by the AP as primary BSSIDs in turn, so that the primary BSSID in the beacon frame is the primary BSSID of the beacon period from the beacon frame to the next beacon frame, and the other BSSIDs in the beacon period are the secondary BSSIDs of the beacon period.
102, receiving an association request message sent by a terminal, where a target access point identifier included in the association request message is one of the multiple access point identifiers;
it should be noted that, after the terminal scans the access point, it parses the received beacon frame sent by the access point and selects a target access point identifier, and then sends the target access point identifier carried in the association request message to the access point to establish an association relationship.
103, distributing an association identifier in an independent association identifier space of the target access point identifier to the terminal according to the target access point identifier, and sending an association response message to the terminal, where the association response message includes the target access point identifier and the association identifier.
Each BSSID has its own independent AID space, that is, the AID spaces of the BSSIDs are not shared, so that on the basis of the TIM mechanism, there may be 2007 AIDs for one BSSID at most, and after applying the multiple BSSID mechanism, more than 2007 STAs may be supported. However, in the range governed by the AP, identifying an associated STA requires using both BSSID and AID, and using AID alone cannot uniquely identify an STA. In this way, the data indication information to be transmitted under each BSSID supported by the AP uses a TIM element, which is an information element directly in the beacon frame for the primary BSSID of the beacon frame, and the TIM element under the secondary BSSID may be included as a sub-information element in the G-BSSID information element in the beacon frame. If the beacon frame only contains a TIM element under the primary BSSID, namely the TIM element associated to the data indication information to be transmitted of each terminal of the primary BSSID and does not contain the TIM element of the auxiliary BSSID in the G-BSSID element, the method is equivalent to that the access point broadcasts the data indication information to be transmitted (namely TIM) under each BSSID in turn; if the beacon frame includes the TIM element of the primary BSSID and the G-BSSID includes the TIM element of the secondary BSSID, it means that the access point carries indication information (distributed in multiple TIM elements) of data to be transmitted of all terminals associated with the access point in the beacon frame.
It should be noted that the access point communicates with the AP at any time using a channel, that is, sends a downlink message and/or receives an uplink message; or the access point uses a channel to send downlink messages and/or receive uplink messages in a beacon period with the target access point identification as the main access point identification.
In the method for allocating an identifier provided in the embodiment of the present invention, a beacon frame is broadcast by sequentially using each of the multiple access point identifiers as a main access point identifier, and after an access point receives an association request message sent by a terminal, an association identifier in an independent association identifier space of the target access point identifier is allocated to the terminal according to the target access point identifier in the association request message, and an association response message is sent to the terminal. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID has its own independent AID space, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
An embodiment of the present invention provides another method for allocating an identifier, as shown in fig. 2, where the method includes:
step 201, analyzing the received beacon frame sent by the access point to select a target access point identifier, where the access point has multiple access point identifiers, and each access point identifier has an independent association identifier space;
the method comprises the steps that a terminal scans randomly, when an access point is found through scanning, the received main access point identification related information and auxiliary access point identification related information in a beacon frame sent by the access point are analyzed, one access point identification is selected as a target access point identification, and the related information comprises capability information and/or load information;
or selecting the main access point identification as a target access point identification;
or selecting the target access point identification according to the indication carried in the beacon frame sent by the access point.
Step 202, sending an association request message to the access point, where the association request message includes the target access point identifier;
step 203, receiving an association response message sent by the access point, where the association response message includes the target access point identifier and an association identifier, and the association identifier is an identifier in an independent association identifier space of the target access point identifier allocated by the access point for the terminal.
After receiving an association identifier in an independent association identifier space of the target access point identifier allocated to the terminal, according to the selected target access point, the terminal periodically listens to a beacon frame of the target access point identifier and analyzes a TIM element in the beacon frame so as to acquire downlink data, wherein the beacon frame comprises indication information of data to be transmitted of the main access point identifier and indication information of data to be transmitted of a secondary access point identifier, and the secondary access point identifier is an access point identifier except the main access point identifier in the plurality of access point identifiers.
The maximum length of the "local valid bit table" of the TIM element is 251 bytes, where each bit represents an STA, the position of the bit is the AID of the STA, and when the bit value is 1, it indicates that there is downlink data, and when the bit value is 0, it indicates that there is no downlink data.
It should be noted that, the terminal receives the downlink message or sends the uplink message at any time by using the channel; and the terminal receives downlink messages or transmits uplink messages by using a channel in a beacon period with the target access point identification as the main access point identification.
The method for allocating the identifier provided by the embodiment of the invention transmits an association request message to the access point by analyzing a beacon frame transmitted by the access point and selecting a target access point identifier, wherein the association request message comprises the target access point identifier, receives an association response message transmitted by the access point, and the association response message comprises the target access point identifier and the association identifier allocated to the terminal. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
An embodiment of the present invention provides an access point, where the access point has a plurality of access point identifiers, and each of the access point identifiers has an independent associated identifier space, as shown in fig. 3, and the access point includes: broadcast section 301, reception section 302, and distribution transmission section 303.
A broadcasting unit 301, configured to broadcast a beacon frame with each of the multiple access point identifiers as a primary access point identifier in sequence, where the beacon frame includes information indicating data to be transmitted of the primary access point identifier and information indicating a secondary access point identifier, and the secondary access point identifier is an access point identifier of the multiple access point identifiers except for the primary access point identifier;
after the terminal randomly scans and discovers the AP, the receiving unit 302 is configured to receive an association request message sent by the terminal, where a target access point identifier included in the association request message is one of the multiple access point identifiers;
according to the target access point identifier, an allocation sending unit 303 allocates an association identifier in an independent association identifier space of the target access point identifier to the terminal, and sends an association response message to the terminal, where the association response message includes the target access point identifier and the association identifier.
It should be noted that: the access point in the embodiment of the invention is a device which is composed of a series of hardware and necessary software. Including but not limited to at least one processor, memory, radio frequency transceiver, input/output devices, buffers, etc., coupled to each other via a bus.
In the access point provided by the embodiment of the present invention, a beacon frame is broadcast by a broadcast unit sequentially using each of the multiple access point identifiers as a main access point identifier, a receiving unit receives an association request message sent by a terminal, and according to the target access point identifier, a distribution sending unit distributes an association identifier in an independent association identifier space of the target access point identifier for the terminal, and sends an association response message to the terminal. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
An embodiment of the present invention provides a terminal, which may specifically be an STA, and as shown in fig. 4, the terminal includes: analysis section 401, transmission section 402, and reception section 403.
An analyzing unit 401, configured to analyze a received beacon frame sent by the access point to select a target access point identifier, where the access point has multiple access point identifiers, and each access point identifier has an independent associated identifier space;
according to the selected target access point identifier, a sending unit 402, configured to send an association request message to the access point, where the association request message includes the target access point identifier;
after the access point allocates an association identifier to the terminal, the receiving unit 403 is configured to receive an association response message sent by the access point, where the association response message includes the target access point identifier and the association identifier, and the association identifier is an identifier in an independent association identifier space of the target access point identifier allocated to the terminal by the access point.
It should be noted that: the terminal in the embodiment of the invention is composed of a series of hardware and necessary software. Including but not limited to at least one processor, memory, radio frequency transceiver, input/output devices, buffers, etc., coupled to each other via a bus.
In the terminal provided in the embodiment of the present invention, the parsing unit parses the received beacon frame sent by the access point and selects a target access point identifier, the sending unit sends an association request message to the access point, the association request message includes the target access point identifier, the receiving unit receives an association response message sent by the access point, the association response message includes the target access point identifier and an association identifier, and the association identifier is an identifier in an independent association identifier space of the target access point identifier allocated to the terminal by the access point. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
Example 2
An embodiment of the present invention provides a method for allocating identifiers, where an access point has multiple access point identifiers, and each access point identifier has an independent associated identifier space, as shown in fig. 5, the method includes:
step 501, the AP broadcasts a beacon frame with each of the multiple AP identifiers as a primary AP identifier in sequence, where the beacon frame includes indication information of data to be transmitted of the primary AP identifier and information of a secondary AP identifier, and the secondary AP identifier is an AP identifier in the multiple AP identifiers except for the primary AP identifier;
the Access point identifier is a Media Access Control (MAC) address of the Access point, and the MAC address is used as an identifier of a wireless fidelity (WiFi) network, where multiple Access point identifiers means that one Access point has multiple MAC addresses. And the access point broadcasts the beacon frame by taking each access point identifier in the plurality of access point identifiers as a main access point identifier in sequence according to the size sequence of the MAC address, and the operation is repeated and circulated.
It should be noted that the beacon frame is actively transmitted by the AP to surrounding STAs, and the AP may also transmit a probe response frame to the STA after receiving the probe request frame from the STA. If the STA sends the probe request frame by using the broadcasted access point identification BSSID, namely the probe request frame is a broadcast frame, the AP sends a probe response frame to the STA by using the current primary BSSID, namely the BSSID filled in the frame header of the probe response frame is the current primary BSSID. If a STA sends a probe request frame to the AP with a certain BSSID that the AP has, i.e., the probe request frame is unicast, the AP also uses the BSSID specified by the STA in the header of the probe response frame instead of the current primary BSSID of the AP.
In addition, the information of the secondary access point identifier comprises load information of the secondary access point identifier and/or indication information of data to be transmitted of the secondary access point identifier; the information of the secondary access point identifier is described in a payload part of the beacon frame by a secondary access point identifier information element G-BSSID (Grouped basic service set identifier element), specifically, BSSID is filled in a BSSID field of a MAC header in the beacon frame or the probe response frame, and such BSSID is referred to as primary BSSID of the frame; BSSID other than the primary BSSID is secondary BSSID, information describing the secondary BSSID using a G-BSSID element in a payload part in the beacon frame or the probe response frame includes load information of the secondary BSSID, SSID (Service Set Identifier) to which the secondary BSSID belongs, and the like, and data indication information to be transmitted of the secondary access point Identifier may be encapsulated in the G-BSSID information element in a sub information element.
Whether the beacon frame carries TIM information under the secondary BSSID is optional, where the TIM information is to-be-transmitted data indication information. When the beacon frame carries the TIM information under the secondary BSSID, it indicates that the beacon frame carries downlink to-be-transmitted data indication information of all STAs under the AP every time, and when the beacon frame does not carry the TIM information under the secondary BSSID, the AP sends the TIM information of each BSSID in turn.
For the AP, Beacon frames are sent by taking the supported BSSIDs as primary BSSIDs in turn, then the primary BSSID in the Beacon frame is the primary BSSID of the Beacon period from the Beacon frame to the next Beacon frame, the other BSSID in the Beacon period is the secondary BSSID of the Beacon period, and the Interval between two adjacent Beacon frames is called BI (Beacon Interval).
Step 502, after scanning the access point, the STA analyzes the received beacon frame sent by the access point and selects a target access point identifier;
firstly, the STA randomly scans, and after scanning and finding the AP, parses information related to a primary BSSID in a beacon frame or a probe response frame, and parses information related to a secondary BSSID in a G-BSSID element encapsulated in the beacon frame or the probe response frame, thereby obtaining capability information of each BSSID, where the capability information includes the number of terminals that can be loaded by the BSSID, and the related information includes capability information and/or load information.
Then, a target BSSID is selected, where there are three ways in which the target BSSID may be selected:
the first method is as follows: analyzing the received main access point identification related information and auxiliary access point identification related information in the beacon frame sent by the access point, and selecting one access point identification as a target access point identification, wherein the related information comprises capability information and/or load information; specifically, BSSIDs with a large number of loadable terminals may be selected to facilitate management of the AP;
the second method comprises the following steps: selecting the primary BSSID as a target BSSID; it should be noted that, only information of one primary BSSID is carried in one beacon frame or probe response frame, and information of multiple secondary BSSIDs can be carried;
the third method comprises the following steps: and selecting a target BSSID according to the indication carried in the beacon frame sent by the AP.
It should be noted that after the STA selects the target BSSID, it may be specified that each BSSID shares BI, and then the SAT may use the channel at any time; it may be also specified that each BSSID does not share BI, and the STA uses a channel in a beacon period to which the target BSSID belongs according to the selected BSSID.
Step 503, the STA sends an association request message to the AP, where the association request message includes the target access point identifier;
and after selecting the target BSSID, the STA carries the target BSSID in an association request message and sends the association request message to the AP. When each BSSID shares BI, the terminal sends uplink messages by using a channel at any time; and when each BSSID does not share BI, the terminal uses a channel to send uplink messages in a beacon period with the target access point identification as the main access point identification.
Step 504, the AP receives an association request message sent by the STA, where a target access point identifier included in the association request message is one of the multiple access point identifiers;
when each BSSID shares BI, the access point sends downlink information to the terminal by using a channel at any time; and when each BSSID does not share BI, the access point uses a channel to send downlink messages to the terminal in a beacon period with the target access point identification as the main access point identification.
Step 505, according to the target access point identifier, allocating an association identifier in an independent association identifier space of the target access point identifier to the terminal, and sending an association response message to the terminal, where the association response message includes the target access point identifier and the association identifier;
after the STA selects the BSSID, the STA establishes association with the AP.
AID (association ID) ranges from 1 to 2007.
In the scheme provided by the embodiment of the invention, a multiple BSSID mechanism is adopted, wherein BSSID plays a role of group number, TIM mechanism and AID assignment under one BSSID are the same as those in the prior art, and different from the prior art, each BSSID has an independent AID space, so that one AP can support up to 6021 STAs by using three BSSIDs, and more STAs can be supported by using more BSSIDs.
Step 506, the STA receives an association response message sent by the access point, where the association response message includes the target access point identifier and an association identifier, and the association identifier is one identifier in an independent association identifier space of the target access point identifier allocated by the access point to the terminal;
step 507, the STA periodically listens to a beacon frame of the target access point identifier, and analyzes data indication information to be transmitted in the beacon frame to obtain the data indication information to be transmitted of the terminal, where the beacon frame includes the data indication information to be transmitted of the main access point identifier and the data indication information to be transmitted of the secondary access point identifier, and the secondary access point identifier is an access point identifier of the plurality of access point identifiers except for the main access point identifier.
The maximum length of the "local valid bit table" of the TIM element is 251 bytes, where each bit represents an STA, the position of the bit is the AID of the STA, and when the bit value is 1, it indicates that there is downlink data, and when the bit value is 0, it indicates that there is no downlink data. That is, the data indication information to be transmitted in the beacon frame is indicated in bit positions in the TIM element.
When downlink data is prompted in the TIM element, in a scenario where each BSSID shares a BI, the terminal may communicate with the AP using a channel at any time, and specifically, the terminal may ask for downlink data from the AP using the channel at any time; or, in a scenario that BSSIDs do not share a BI, the terminal communicates with the access point using a channel in a beacon period in which the target access point identifier is a main access point identifier, and specifically, the terminal requests downlink data using the channel in the beacon period in which the target access point identifier is the main access point identifier.
Similarly, in a scenario where each BSSID shares a BI, the AP communicates with the terminal using a channel at any time, and specifically, the AP transmits downlink data to the associated STA using the channel at any time; or, in a scenario that BSSIDs do not share a BI, the AP communicates with the terminal using a channel in a beacon period in which the target access point identifier is a primary access point identifier, and specifically, the AP transmits downlink data using the channel in the beacon period in which the target access point identifier is the primary access point identifier.
It should be noted that there are two cases for the STA to listen to the TIM information, if the beacon frame only carries the TIM information of the primary BSSID, the STA only needs to listen to the beacon frame when the target BSSID associated with the STA is the primary BSSID; otherwise, the STA may listen to only the beacon frame when the target BSSID associated with the STA is the primary BSSID, or may listen to all beacon frames.
In addition, in a scenario where the BSSIDs share the BI, the TIM of the secondary BSSID may be added to the G-BSSID element, so that the STA can know whether there is downlink data when it listens to any beacon frame.
The embodiment of the invention provides a method for distributing identification, which broadcasts a beacon frame by taking each access point identification in a plurality of access point identifications as a main access point identification in sequence, and after an access point receives an association request message sent by a terminal, distributes an association identification in an independent association identification space of the target access point identification for the terminal according to the target access point identification in the association request message, and sends an association response message to the terminal. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
An embodiment of the present invention provides an access point, where the access point has multiple access point identifiers, and each of the access point identifiers has an independent associated identifier space, and the apparatus may be an AP, as shown in fig. 6, where the access point includes: broadcasting section 601, receiving section 602, distribution transmitting section 603, first executing section 604, and second executing section 605.
A broadcasting unit 601, configured to broadcast a beacon frame with each of the multiple access point identifiers as a primary access point identifier in sequence, where the beacon frame includes information indicating data to be transmitted of the primary access point identifier and information indicating a secondary access point identifier, and the secondary access point identifier is an access point identifier of the multiple access point identifiers except for the primary access point identifier;
the information of the secondary access point identifier comprises load information of the secondary access point identifier and/or indication information of data to be transmitted of the secondary access point identifier;
and the indication information of the data to be transmitted of the secondary access point identification is described by a secondary access point identification information element in the load part of the beacon frame.
After the STA scans and discovers the AP, the STA parses the beacon frame and selects a target BSSID, and at this time, the receiving unit 602 is configured to receive an association request message sent by the terminal, where a target access point identifier included in the association request message is one of the multiple access point identifiers;
according to the target access point identifier, an allocation sending unit 603 allocates an association identifier in an independent association identifier space of the target access point identifier to the terminal, and sends an association response message to the terminal, where the association response message includes the target access point identifier and the association identifier.
After the association relationship between the STA and the AP is established, in the case that each BSSID shares a BI, a first performing unit 604, configured to communicate with the terminal using a channel at any time;
or, in the case that the respective BSSIDs do not share the BI, the second performing unit 605 is configured to communicate with the terminal using a channel in a beacon period in which the target access point identifier is a primary access point identifier.
In the access point provided by the embodiment of the present invention, a beacon frame is broadcast by a broadcast unit sequentially using each of the multiple access point identifiers as a main access point identifier, a receiving unit receives an association request message sent by a terminal, and according to the target access point identifier, a distribution sending unit distributes an association identifier in an independent association identifier space of the target access point identifier for the terminal, and sends an association response message to the terminal. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
An embodiment of the present invention provides a terminal, where the apparatus may be an STA, and as shown in fig. 7, the terminal includes: analysis section 701, analysis selection module 7011, first selection module 7012, second selection module 7013, transmission section 702, reception section 703, listening section 704, first execution section 705, and second execution section 706.
An analyzing unit 701, configured to analyze a received beacon frame sent by the access point to select a target access point identifier, where the access point has multiple access point identifiers, and each access point identifier has an independent association identifier space;
specifically, the parsing selecting module 7011 in the parsing unit 701 is configured to parse received primary access point identifier related information and secondary access point identifier related information in a beacon frame sent by the access point, and select an access point identifier as a target access point identifier, where the related information includes capability information and/or load information;
and/or, a first selecting module 7012 in the parsing unit 701 is configured to select the primary access point identifier as a target access point identifier;
and/or, a second selecting module 7013 in the parsing unit 701 is configured to select a target access point identifier according to an indication carried in a beacon frame sent by the access point.
After selecting the target access point identifier, a sending unit 702 is configured to send an association request message to the access point, where the association request message includes the target access point identifier;
after receiving an association request message sent by a terminal, an access point allocates an association identifier to the terminal according to a target access point identifier, and sends the association identifier to the terminal, at this time, a receiving unit 703 is configured to receive an association response message sent by the access point, where the association response message includes the target access point identifier and the association identifier allocated to the terminal.
The intercepting unit 704 is configured to periodically intercept a beacon frame of the target access point identifier, and analyze data indication information to be transmitted in the beacon frame to obtain the data indication information to be transmitted of the terminal, where the beacon frame includes the data indication information to be transmitted of the main access point identifier and the data indication information to be transmitted of an auxiliary access point identifier, and the auxiliary access point identifier is an access point identifier in the plurality of access point identifiers except for the main access point identifier.
The information of the secondary access point identifier comprises indication information of data to be transmitted of the secondary access point identifier; and the indication information of the data to be transmitted of the secondary access point identification is described by a secondary access point identification information element in the load part of the beacon frame.
After the STA associates with the AP, in a scenario where each BSSID shares a BI, the first performing unit 705 communicates with the access point using a channel at any time; or,
in a scenario that BSSIDs do not share a BI, the second performing unit 706 communicates with the access point using a channel in a beacon period in which the target access point identifier is a primary access point identifier.
In the terminal provided in the embodiment of the present invention, after scanning an access point through an analysis unit, the analysis unit analyzes a received beacon frame sent by the access point and selects a target access point identifier, the sending unit sends an association request message to the access point, where the association request message includes the target access point identifier, and the receiving unit receives an association response message sent by the access point, where the association response message includes the target access point identifier and the association identifier. Compared with the prior art that one AP can only allocate 2007 STAs at most on the basis of compatibility with the TIM mechanism in the existing standard, according to the scheme provided by the embodiment of the present invention, each BSSID is an AID space independent of its own, so that more than 2007 STAs can be allocated on the basis of compatibility with the TIM mechanism in the existing standard.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method of assigning identities, wherein an access point has a plurality of access point identities, each of said access point identities having an independent associated identity space, said method comprising:
broadcasting a beacon frame by taking each access point identifier in the plurality of access point identifiers as a main access point identifier in sequence, wherein the beacon frame comprises indication information of data to be transmitted of the main access point identifier and information of an auxiliary access point identifier, and the auxiliary access point identifier is an access point identifier except the main access point identifier in the plurality of access point identifiers;
receiving an association request message sent by a terminal, wherein a target access point identifier contained in the association request message is one of the plurality of access point identifiers;
and distributing one associated identifier in an independent associated identifier space of the target access point identifier for the terminal according to the target access point identifier, and sending an associated response message to the terminal, wherein the associated response message comprises the target access point identifier and the associated identifier.
2. The method of claim 1,
the information of the secondary access point identifier comprises load information of the secondary access point identifier and/or indication information of data to be transmitted of the secondary access point identifier;
the indication information of the data to be transmitted of the secondary access point identifier is contained in a secondary access point identifier information element in the beacon frame.
3. A method according to claim 1 or 2, characterized in that the access point communicates with the terminal using a channel at any time; or,
and the access point uses a channel to communicate with the terminal in a beacon period with the target access point identification as a main access point identification.
4. A method of assigning an identity, comprising:
analyzing a received beacon frame sent by an access point to select a target access point identifier, wherein the access point is provided with a plurality of access point identifiers, and each access point identifier is provided with an independent associated identifier space;
sending an association request message to the access point, wherein the association request message contains the target access point identifier;
and receiving an association response message sent by the access point, wherein the association response message comprises the target access point identifier and an association identifier, and the association identifier is one identifier in an independent association identifier space of the target access point identifier allocated to the terminal by the access point.
5. The method of claim 4, further comprising, after receiving the association response message sent by the access point:
and periodically intercepting the beacon frame of the target access point identification, and analyzing the intercepted data indication information to be transmitted in the beacon frame of the target access point identification to acquire the data indication information to be transmitted of the terminal, wherein the intercepted beacon frame of the target access point identification comprises the data indication information to be transmitted of a main access point identification and the data indication information to be transmitted of an auxiliary access point identification, and the auxiliary access point identification is an access point identification except the main access point identification in the plurality of access point identifications.
6. The method of claim 4, wherein the parsing the received beacon frame transmitted by the access point to select a target access point identity comprises:
analyzing received main access point identification related information and auxiliary access point identification related information in a beacon frame sent by the access point, and selecting one access point identification as the target access point identification, wherein the related information comprises capability information and/or load information, and the auxiliary access point identification is an access point identification except the main access point identification in the plurality of access point identifications; or,
selecting a master access point identity as the target access point identity; or
And selecting the target access point identifier according to the indication carried in the beacon frame sent by the access point.
7. The method according to any one of claims 4 to 6,
the terminal communicates with the access point at any time by using a channel; or,
and the terminal uses a channel to communicate with the access point in a beacon period with the target access point identification as a main access point identification.
8. An access point having a plurality of access point identities, each of the access point identities having a separate association identity space, the access point comprising:
a broadcasting unit, configured to broadcast a beacon frame with each of the multiple access point identifiers as a primary access point identifier in sequence, where the beacon frame includes information indicating data to be transmitted of the primary access point identifier and information indicating a secondary access point identifier, and the secondary access point identifier is an access point identifier of the multiple access point identifiers except for the primary access point identifier;
a receiving unit, configured to receive an association request message sent by a terminal, where a target access point identifier included in the association request message is one of the multiple access point identifiers;
and the allocation sending unit is used for allocating an association identifier in an independent association identifier space of the target access point identifier for the terminal according to the target access point identifier and sending an association response message to the terminal, wherein the association response message comprises the target access point identifier and the association identifier.
9. The access point of claim 8, wherein the information of the secondary access point identifier comprises load information of the secondary access point identifier and/or indication information of data to be transmitted of the secondary access point identifier;
the indication information of the data to be transmitted of the secondary access point identifier is contained in a secondary access point identifier information element in the beacon frame.
10. The access point of claim 8 or 9, further comprising:
a first performing unit for communicating with the terminal using a channel at any time; or,
and the second execution unit is used for communicating with the terminal by using a channel in a beacon period with the target access point identification as the main access point identification.
11. A terminal, comprising:
the access point comprises a resolving unit and a processing unit, wherein the resolving unit is used for resolving a received beacon frame sent by an access point to select a target access point identifier, the access point is provided with a plurality of access point identifiers, and each access point identifier is provided with an independent associated identifier space;
a sending unit, configured to send an association request message to the access point, where the association request message includes the target access point identifier;
a receiving unit, configured to receive an association response message sent by the access point, where the association response message includes the target access point identifier and an association identifier, and the association identifier is an identifier in an independent association identifier space of the target access point identifier allocated by the access point to a terminal.
12. The terminal of claim 11, wherein the terminal further comprises:
the intercepting unit is used for periodically intercepting a beacon frame of the target access point identifier and analyzing the indication information of the data to be transmitted in the beacon frame of the target access point identifier so as to acquire the indication information of the data to be transmitted of the terminal, the beacon frame comprises the indication information of the data to be transmitted of a main access point identifier and the indication information of the data to be transmitted of an auxiliary access point identifier, and the auxiliary access point identifier is an access point identifier except the main access point identifier in the plurality of access point identifiers.
13. The terminal according to claim 11, wherein the parsing unit comprises at least one of:
an analysis selection module, configured to analyze received information related to a primary access point identifier and information related to a secondary access point identifier in a beacon frame sent by the access point, and select an access point identifier as the target access point identifier, where the related information includes capability information and/or load information, and the secondary access point identifier is an access point identifier, excluding the primary access point identifier, in the multiple access point identifiers;
a first selection module, configured to select a master access point identifier as the target access point identifier;
and the second selection module is used for selecting the target access point identifier according to the indication carried in the beacon frame sent by the access point.
14. The terminal according to any of claims 11 to 13, characterized in that the terminal further comprises:
a first performing unit for communicating with the access point using a channel at an arbitrary time; or,
and the second execution unit is used for communicating with the access point by using a channel in a beacon period with the target access point identification as a main access point identification.
CN201110352500.8A 2011-11-09 2011-11-09 A kind of method of allocation identification and device Active CN103108391B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110352500.8A CN103108391B (en) 2011-11-09 2011-11-09 A kind of method of allocation identification and device
PCT/CN2012/084272 WO2013067941A1 (en) 2011-11-09 2012-11-08 Identifier allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110352500.8A CN103108391B (en) 2011-11-09 2011-11-09 A kind of method of allocation identification and device

Publications (2)

Publication Number Publication Date
CN103108391A CN103108391A (en) 2013-05-15
CN103108391B true CN103108391B (en) 2015-09-23

Family

ID=48288533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110352500.8A Active CN103108391B (en) 2011-11-09 2011-11-09 A kind of method of allocation identification and device

Country Status (2)

Country Link
CN (1) CN103108391B (en)
WO (1) WO2013067941A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363581B (en) * 2014-11-26 2019-03-26 福建星网锐捷网络有限公司 A kind of the determination method and relevant device of associated terminal
CN115715026B (en) 2020-07-01 2023-09-01 华为技术有限公司 Associated identifier AID distribution method and associated device for multi-link equipment
CN115866799A (en) 2020-07-02 2023-03-28 华为技术有限公司 Method for detecting multilink equipment and communication device
CN113965977B (en) * 2020-07-20 2023-03-31 成都极米科技股份有限公司 Data transmission method, device, system and medium in multilink system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650642A (en) * 2002-03-29 2005-08-03 空气磁体公司 Detecting a counterfeit access point in a wireless local area network
CN101150597A (en) * 2006-09-22 2008-03-26 华为技术有限公司 Method, system and device for allocating media access control address for access point
CN101595687A (en) * 2006-12-18 2009-12-02 诺基亚公司 Provide broadcast flexibly (FBMS) to provide with many BSSIDs (BSSID) support

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040110302A (en) * 2003-06-18 2004-12-31 삼성전자주식회사 Method of wireless network communication using access point

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650642A (en) * 2002-03-29 2005-08-03 空气磁体公司 Detecting a counterfeit access point in a wireless local area network
CN101150597A (en) * 2006-09-22 2008-03-26 华为技术有限公司 Method, system and device for allocating media access control address for access point
CN101595687A (en) * 2006-12-18 2009-12-02 诺基亚公司 Provide broadcast flexibly (FBMS) to provide with many BSSIDs (BSSID) support

Also Published As

Publication number Publication date
CN103108391A (en) 2013-05-15
WO2013067941A1 (en) 2013-05-16

Similar Documents

Publication Publication Date Title
US10375683B2 (en) Trigger frame in wireless local area network
US20200314954A1 (en) Data transmission method, access point and station
CN108810879B (en) Wireless frame transmission method and device
US10856223B2 (en) Method of, and transceiver station and mobile terminal for, distributing system information in a cellular telecommunications network
CN108307528B (en) Information transmission method, device and system
US20150055567A1 (en) Methods and devices for allocating resources in device-to-device communication
CN106304344B (en) Resource pool configuration method and D2D UE
US20210266945A1 (en) Sidelink communication method, terminal and network equipment
CN114827987A (en) Resource allocation method, first device and second device
JP2016509803A (en) Mobile communication base station and method for allocating resources outside a virtual carrier based on UE capabilities
CA3117847A1 (en) Resource configuration method and apparatus
US11672022B2 (en) Channel access method, access point and station
CN104185162B (en) It was found that terminal method, terminal, server, base station, management entity and system
CN103108391B (en) A kind of method of allocation identification and device
EP3179778B1 (en) Method and apparatus for reporting and processing proximity service capability information
US20140241230A1 (en) Acknowledgement mechanism
CN107113806B (en) Random access method, station and access point
KR20150015264A (en) Method and apparatus for distributed association of wireless networks
CN102378164B (en) Method for configuring ECGI (evolution cell global identification) of terrestrial radio access network for relay node
US20150245314A1 (en) Methods and apparatus for content distribution within a sub-cell in a telecommunications system
CN100407859C (en) Receiving method for shared channel configuration information
KR101211223B1 (en) Wireless Local Network System for Transmitting Massive Data
KR101199124B1 (en) Apparatus for establishing call connection in carrier aggregation environment
EP4311144A2 (en) Data transmission method, access point, and station
KR20110100600A (en) Method and apparatus for managing resource of multicast and broadcast service

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171115

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.