WO2015018067A1 - Channel selection method and device - Google Patents

Channel selection method and device Download PDF

Info

Publication number
WO2015018067A1
WO2015018067A1 PCT/CN2013/081187 CN2013081187W WO2015018067A1 WO 2015018067 A1 WO2015018067 A1 WO 2015018067A1 CN 2013081187 W CN2013081187 W CN 2013081187W WO 2015018067 A1 WO2015018067 A1 WO 2015018067A1
Authority
WO
WIPO (PCT)
Prior art keywords
bss
established
priority
channel
identifier
Prior art date
Application number
PCT/CN2013/081187
Other languages
French (fr)
Chinese (zh)
Inventor
杨浔
甄斌
赵牧
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/081187 priority Critical patent/WO2015018067A1/en
Publication of WO2015018067A1 publication Critical patent/WO2015018067A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/02Selection of wireless resources by user or terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the present invention relates to communication technologies, and in particular, to a channel selection method and device.
  • WLAN Wireless Local Area Network
  • APs access points
  • BSSs basic service sets
  • WLANs that are now widely deployed in public places also exhibit different characteristics from WLANs that have been positioned in indoor environments. For example, the owners of WLANs are no longer singular, and the owners of WLANs may be the operations of deploying networks.
  • WLAN service provider
  • network access for the second operation of wireless access operators some providers of wireless access, or Bring-Your-Own-Device (abbreviated as BY0D), etc.
  • BY0D Bring-Your-Own-Device
  • WLAN may be serviced Driven by the WLAN, the WLAN may be generated and disappeared at any time.
  • the embodiment of the invention provides a channel selection method and device for solving the channel selection problem of the BSS.
  • the first aspect provides a channel selection method, including:
  • the first access point AP sends a basic service set BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
  • the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier;
  • the indication information is that the channel selection control unit is based on the current Determining the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
  • the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier according to the indication of the BSS establishment reply message.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS establishment reply message further includes: the first The time when the AP sends the BSS setup request message again.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
  • the method further includes:
  • the first AP sets the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
  • the second aspect provides a channel selection method, including:
  • the channel selection control unit receives a basic service set BSS setup request message sent by the first access point AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
  • the channel selection control unit Determining, by the channel selection control unit, whether the BSS to be established is allowed to be identified by the identifier according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Established on the channel;
  • the channel selection control unit sends a BSS setup reply message to the first AP, where the BSS setup reply message includes a message for indicating whether to allow the BSS to be established to be identified by the identifier.
  • the indication information is set up on the channel, so that the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
  • the channel selection control unit determines, according to the priority of the BSS where the second AP is located on the channel identified by the identifier, and the priority of the BSS to be established. Allowing the to-be-established BSS to be established on the channel identified by the identifier includes:
  • the channel selection control unit determines that the BSS to be established is allowed to be in the Established on the identified channel;
  • the channel selection control unit will work currently identified by the identifier. Comparing the number of the second APs on the channel and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold, determining to allow the BSS to be established to be in the Establishing on the identified channel, if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier.
  • the channel selection control unit determines, according to the priority of the BSS where the second AP is located on the channel identified by the identifier, and the priority of the BSS to be established. Before allowing the to-be-established BSS to be established on the channel identified by the identifier, the method includes:
  • the channel selection control unit determines the priority of the BSS to be established and the priority of the BSS where the second AP is located, according to the parameters required for setting the priority;
  • the channel selection control unit sends the priority of the BSS to be established to the first AP, and sends the priority of the BSS where the second AP is located to the second AP.
  • the BSS establishment request message further includes a priority of the BSS to be established
  • the channel selection control unit receives the priority of the BSS where the second AP is sent by the second AP.
  • the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS establishment reply message further includes: the first The time when the AP sends the BSS setup request message again.
  • the third aspect provides a channel selection method, including:
  • the first access point AP sends a basic service set BSS setup request message to the second AP, to request to establish a BSS to be established on the channel currently used by the second AP;
  • the BSS setup reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel; the indication information is Determining, by the second AP, the priority of the BSS where the second AP is located and the priority of the BSS to be established;
  • the first AP establishes the to-be-established BSS on the channel or does not establish the to-be-established BSS on the channel according to the indication of the BSS establishment reply message.
  • the first access point AP sends a basic service set BSS setup request message to the second AP to request to establish a BSS to be established on the channel currently used by the second AP.
  • a basic service set BSS setup request message to the second AP to request to establish a BSS to be established on the channel currently used by the second AP.
  • the first AP acquires the priority of the BSS where the third AP currently working on the channel is located, according to the priority of the BSS where the third AP currently working on the channel is located, and the priority of the BSS to be established. Determining, as the second AP, a third AP in the BSS having a higher priority than the priority of the BSS to be established.
  • the first AP acquires the priority of the BSS where the third AP currently working on the channel is located, including:
  • the first access point AP sends a basic service set BSS setup request message to the second AP to request to establish a BSS to be established on the channel currently used by the second AP. , including:
  • the BSS setup request message Transmitting, by the first AP, the BSS setup request message to a third AP currently working on the channel, to send the BSS priority in the third AP to be higher than the priority of the BSS to be established.
  • the second AP requests to establish the to-be-established BSS on the channel currently used by the second AP.
  • the BSS setup request message includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
  • the method further includes:
  • the first AP sets the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
  • the fourth aspect provides a channel selection method, including:
  • the second access point AP receives the basic service set BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on the channel currently used by the second AP;
  • BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, So that the first AP establishes the to-be-established BSS on the channel or does not establish the to-be-established BSS on the channel.
  • the method includes:
  • the second AP sends a beacon frame to the first AP, where the beacon frame includes a priority of the BSS where the second AP is located, so that the first AP is prioritized according to the BSS where the second AP is located.
  • the An AP determines whether to send the BSS establishment request message to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the second AP determines whether to allow the BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established. Established, including:
  • the second AP compares the priority of the BSS where the second AP is located with the priority of the BSS to be established;
  • the second AP determines that the BSS to be established is not allowed to be established on the channel;
  • the second AP discards the BSS establishment request message, or sends the indication information to the first AP.
  • the response message that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the first AP The time at which the BSS setup request message is sent again.
  • the fifth aspect provides a cell priority setting method, including:
  • the priority setting unit acquires parameters of each basic service set BSS required to set the priority or a policy required to set the priority;
  • the priority setting unit sets a priority for each of the BSSs according to the parameters of the BSSs or the policy.
  • the priority of the BSS is identified by the number of associated users in the BSS, the number of active users in the BSS, and/or the specified data related to channel selection.
  • the priority of the BSS is carried by an access point AP and a site device in the BSS.
  • the method further includes: the priority setting unit respectively sending the priorities of the BSSs to the APs in the BSSs.
  • the priority of the same BSS is different according to the policy to be executed by the BSS.
  • the sixth aspect provides a cell priority setting method, including:
  • the access point AP obtains the priority of the neighbor basic service set BSS and the value of the parameter used by the neighbor BSS to set the priority.
  • the AP determines the priority of the BSS where the AP is located, according to the value of the local parameter, the priority of the neighbor BSS, and the value of the parameter used by the neighbor BSS.
  • the seventh aspect provides a channel selection apparatus, where the apparatus is implemented by the first access point AP or the apparatus is disposed in the first AP, and the apparatus includes:
  • a sending module configured to send a basic service set BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
  • a receiving module configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier;
  • the indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
  • a determining module configured to: identify, according to the indication that the BSS establishes a reply message, the identifier The BSS to be established is established on the channel or the BSS to be established is not established on the channel identified by the identifier.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS establishment reply message further includes: the channel selection The time at which the device transmits the BSS setup request message again.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
  • the receiving module is further configured to receive an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established; or
  • the device also includes:
  • the priority setting module is configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
  • the eighth aspect provides a channel selection control unit, including:
  • a receiving module configured to receive a basic service set BSS setup request message sent by the first access point AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
  • a determining module configured to determine, according to a priority of a BSS where the second AP is located on the channel identified by the identifier, and a priority of the BSS to be established, whether to allow the BSS to be established to be identified by the identifier Established on the channel;
  • a sending module configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, so that The first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
  • the determining module is specifically configured to: if the priority of the BSS to be established is higher than the BSS of the second AP currently working on the channel identified by the identifier Determining, allowing the BSS to be established to be established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the second AP currently working on the channel identified by the identifier
  • the priority of the BSS is to compare the number of the second APs currently working on the channel identified by the identifier and/or the duration of the channel identified by the identifier with a corresponding threshold, if the comparison result is less than Determining, by the threshold, that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be identified by the identifier Established on the channel.
  • the determining module is further configured to: according to parameters required to set a priority, before determining whether to allow the BSS to be established to be established on the channel identified by the identifier, Determining, respectively, a priority of the BSS to be established and a priority of the BSS where the second AP is located;
  • the sending module is further configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
  • the BSS establishment request message further includes a priority of the BSS to be established
  • the receiving module is further configured to: before the determining module determines whether the BSS to be established is allowed to be established on the channel identified by the identifier, receive a priority of the BSS where the second AP is sent by the second AP .
  • the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS establishment reply message further includes: the first The time when the AP sends the BSS setup request message again.
  • the ninth aspect provides a channel selection apparatus, where the apparatus is implemented by the first access point AP or the apparatus is disposed in the first AP, and the apparatus includes:
  • a sending module configured to send a basic service set BSS setup request message to the second AP, to request Establishing a BSS to be established on the channel currently used by the second AP;
  • a receiving module configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether the BSS to be established is established on the channel, where the indication information is Determining, by the second AP, the priority of the BSS where the second AP is located and the priority of the BSS to be established;
  • a determining module configured to establish, according to the indication that the BSS establishes a reply message, the to-be-established BSS on the channel or not to establish the to-be-established BSS on the channel.
  • the device further includes:
  • An acquiring module configured to send, by the sending module, the BSS setup request message, to obtain a priority of a BSS where a third AP currently working on the channel is located, according to a BSS where a third AP currently working on the channel is located.
  • the priority of the BSS to be established, and the third AP in the BSS whose priority is higher than the priority of the BSS to be established is determined as the second AP.
  • the acquiring module is specifically configured to receive a beacon frame separately sent by a third AP currently working on the channel, where the beacon frame includes the third AP BSS priority;
  • the acquiring module is specifically configured to send a query message to a third AP that is currently working on the channel, and receive a query response message that is sent by the third AP by the query message, where the query response message includes the The priority of the BSS where the third AP is located.
  • the sending module is specifically configured to send the BSS setup request message to a third AP currently working on the channel, to give priority to the BSS in the third AP.
  • the second AP whose level is higher than the priority of the BSS to be established requests to establish the to-be-established BSS on the channel currently used by the second AP.
  • the BSS setup request message includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the channel selection apparatus resending the station The time at which the BSS establishes the request message.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
  • the receiving module is further configured to receive an advertisement message sent by the priority setting unit, where the notification message includes a priority of the BSS to be established; or the channel selection device further Includes:
  • the priority setting module is configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
  • the tenth aspect provides a channel selection apparatus, where the apparatus is implemented by the second access point AP or the apparatus is disposed in the second AP, and the apparatus includes:
  • a receiving module configured to receive a basic service set BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP;
  • a determining module configured to determine, according to a priority of the BSS where the second AP is located, and a priority of the BSS to be established, whether to allow the to-be-established BSS to be established on the channel;
  • a sending module configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is in the Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
  • the sending module is further configured to: before the receiving module receives the BSS setup request message, send a beacon frame to the first AP, where the beacon frame includes The priority of the BSS where the second AP is located, so that the first AP determines whether to send the to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • BSS establishes a request message; or
  • the receiving module is further configured to receive the first before receiving the BSS setup request message
  • the query message sent by the AP; the sending module is further configured to: return a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the first AP is configured according to the Determining whether the priority of the BSS where the second AP is located and the priority of the BSS to be established, determining whether to send the BSS establishment request message to the second AP.
  • the determining module is specifically configured to use the second
  • the priority of the BSS where the AP is located is compared with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, it is determined that the to-be-established is not allowed.
  • the BSS is established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, the BSS establishment request message is discarded, or is sent to the first AP. And a response message indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the channel selection device resending the station The time at which the BSS establishes the request message.
  • the eleventh aspect provides a channel selection device, where the device is implemented by the first access point AP or the device is disposed in the first AP, and the device includes:
  • a transmitter configured to send a basic service set BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
  • a receiver configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier;
  • the indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
  • the processor is configured to establish the to-be-established BSS on the channel identified by the identifier or not to establish the to-be-established BSS on the channel identified by the identifier according to the indication that the BSS establishes a reply message.
  • a twelfth aspect provides a channel selection control unit, including:
  • a receiver configured to receive a basic service set BSS setup request message sent by the first access point AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
  • a processor configured to: according to a second AP that is currently working on the channel identified by the identifier Determining the priority of the BSS and the priority of the BSS to be established whether to allow the BSS to be established to be established on the channel identified by the identifier;
  • a transmitter configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, so that The first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
  • the thirteenth aspect provides a channel selection device, where the device is implemented by the first access point AP or the device is disposed in the first AP, and the device includes:
  • a transmitter configured to send a basic service set BSS setup request message to the second AP, to request to establish a BSS to be established on a channel currently used by the second AP;
  • a receiver configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel; the indication information is Determining, by the second AP, the priority of the BSS where the second AP is located and the priority of the BSS to be established;
  • a processor configured to establish, according to the indication that the BSS establishes a reply message, the to-be-established BSS on the channel or not to establish the to-be-established BSS on the channel.
  • the fourteenth aspect provides a channel selection device, where the device is implemented by the second access point AP or the device is disposed in the second AP, and the device includes:
  • a receiver configured to receive a basic service set BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP;
  • a processor configured to determine, according to a priority of the BSS where the second AP is located, and a priority of the BSS to be established, whether to allow the to-be-established BSS to be established on the channel;
  • a transmitter configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is in the Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
  • the channel selection method and device after the AP sends the BSS setup request message, the channel selection control unit or the AP currently working on the channel determines whether to allow the BSS to be on the channel based on the BSS priority level. Establishing, and returning an indication of whether to allow the BSS to be established in the The indication information is established on the channel, and the AP that sends the BSS setup request message establishes or does not establish a BSS on the channel according to the indication information, that is, selects or selects the channel for the BSS to be established according to the indication, and thus may be in multiple When the BSS shares the same channel, selecting a better channel for the BSS to be established is beneficial to guarantee the quality of service of the BSS.
  • FIG. 1A is a schematic diagram of an application scenario of channel selection according to an embodiment of the present invention
  • FIG. 1B is a flowchart of a channel selection method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another channel selection method according to an embodiment of the present invention.
  • FIG. 3A is a schematic diagram of another application scenario of channel selection according to an embodiment of the present invention
  • FIG. 3B is a flowchart of still another channel selection method according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a channel selection apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a channel selection control unit according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention
  • FIG. 10 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention.
  • the concept of BSS priority division in the wireless local area and the identification and setting method of the BSS priority are first proposed.
  • a higher priority for BSS means that devices belonging to the BSS will have priority over other BSS devices or occupy certain spectrum resources.
  • the embodiment of the present invention further proposes a BSS channel selection method. The following is a description of the BSS priority related information.
  • the BSS priority is set for each BSS. Different BSS priorities are high or low. The priority of the same BSS will also vary depending on the strategy that the BSS performs. For example: When considering access control, the priority of a BSS may be the highest, that is, the various devices in the BSS may use the channel preferentially; but when considering channel switching, the BSS priority may be The lowest, that is to say, the BSS may be required to switch channels by the higher priority BSS. This allows for more flexible prioritization based on the policies that the BSS will perform.
  • the priority of a BSS can be identified by one or a set of data. For example, consider the number of associated users in a BSS, the number of active users in the BSS, or the specified data related to channel selection, etc. to identify the priority of the BSS. For another example, the number of associated users in a BSS and the number of active users in the BSS can be used simultaneously to determine the priority of the BSS. For example, the higher the number of active users, the higher the BSS priority. When the number of active users is the same, the higher the number of associated users, the higher the BSS priority. In addition to the above examples, the priority of the BSS may also be identified by the number of associated users in the BSS, the number of active users in the BSS, and the specified data associated with channel selection. In addition, in addition to the number of associated users, the number of active users, and the specified data related to channel selection, other data can also be used to identify the BSS priority.
  • the priority of the BSS is carried by the AP and the STA in the BSS. That is, the APs and STAs in the high-priority BSS have higher priority than the APs and STAs in the low-priority BSS.
  • the BSS priority is the attribute of the BSS and is carried by various devices in the BSS. When a device leaves the current BSS, the corresponding priority is lost.
  • the embodiment of the present invention provides a cell priority setting method, including: a priority setting unit acquires a parameter of each BSS required to set a priority or a policy required to set a priority; a priority setting unit according to The acquired parameters of each BSS or the policy are used to set priorities for each BSS.
  • the priority setting unit is preferably AC, but is not limited thereto. Below is set by priority The unit is an AC as an example for detailed description.
  • the method of setting the cell priority belongs to the central control mode. Specifically, the AC sets a priority for each BSS based on a preset parameter, or the AC sets a priority for each BSS based on a preset policy.
  • the parameters required to set the priority may be different depending on the application scenario. For example, the channel switching is used as an example.
  • the parameters required for setting the BSS priority may include: the length of the buffer queue to be transmitted in the BSS and the buffer queue corresponding to the downlink service, or the sum of the buffer queue lengths corresponding to multiple services, and the like. .
  • the 802.11 standard divides business packages into four categories: voice, video, background, and best effort. The longer the cache queue corresponding to the service, the higher the BSS priority.
  • parameters required for setting a BSS priority may include: number of associated STAs, traffic, number of active STAs, and the like.
  • the policy required to set the priority may be set according to the payment information of the STA in each BSS or the information of the operator to which the BSS belongs.
  • the AC can send the priority of each BSS to the APs in each BSS, so that each AP knows the priority of the BSS, and then performs corresponding operations based on the BSS priority.
  • the embodiment of the present invention further provides a method for setting a cell priority, which includes: an AP acquiring a priority of a neighbor BSS and a parameter used by a neighbor BSS to set a priority; and then, the AP according to the local parameter The value, the priority of the neighbor BSS, and the value of the parameter used by the neighbor BSS to set the priority determine the priority of the BSS where the AP is located.
  • the method of setting the cell priority belongs to a distributed mode.
  • the AP in the BSS whose priority is set refers to the priority of the neighbor BSS, and the value of the related parameter used by the neighbor BSS setting priority and the value of the local same parameter, and the priority of the BSS is set.
  • the AP may send a priority acquisition request to the AP in the AC or the neighbor BSS to request the priority of the neighbor BSS and the value of the parameter used by the neighbor BSS to set the priority. Then, the reply information returned by the AP in the AC or the neighbor BSS is received, and the priority of the neighbor BSS and the value of the parameter used for setting the priority are obtained.
  • the STAs in the BSS can be used to obtain the priority of the BSS in the following manner.
  • the STA sends a priority request message to the AP.
  • the priority request message can be a new command or a new field contained in a control frame, a management frame, or a data frame.
  • the priority request message can be enqueued in an association request or a probe request.
  • the priority request message contains information such as the ID of the BSS and other related parameters. After receiving the priority request message, the AP feeds back the priority of the current BSS to the STA.
  • the AP broadcasts the priority information of the current BSS in a beacon frame, management frame, control frame, or data frame.
  • the STA receives the beacon frame, the management frame, the control frame, or the data frame broadcast by the AP, and obtains the priority information of the current BSS from the STA.
  • the embodiment of the present invention further provides a channel selection method, where the channel selection method is used to select a channel for a BSS to be established, and the channel selection control unit may perform channel selection for establishing a BSS, which is a centralized control.
  • the channel selection control unit may be an AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
  • the application scenario of the channel selection control unit is as shown in FIG. 1A.
  • the application scenario includes an AC, a first AP and a second AP respectively connected to the AC, where the first AP requests the AC.
  • the BSS is established on the channel on which the second AP works (ie, the BSS to be established), and the AC is responsible for managing the establishment of the BSS selection channel.
  • the connection relationship between the channel selection control unit and the second AP is not limited to that shown in FIG. 1A, for example, if the channel selection control unit stores the second AP and the second in advance.
  • the channel selection control unit may not be connected to the second AP if the information about the BSS of the AP is located.
  • the channel selection method provided by the embodiment of the present invention is as shown in FIG. 1B, and the method includes:
  • the first AP sends a BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish the BSS.
  • the first AP receives the BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier;
  • the indication information is that the channel selection control unit determines the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established.
  • the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier according to the indication that the BSS establishes a reply message.
  • the BSS that needs to be established is referred to as a BSS to be established
  • the AP that initiates the BSS establishment request message is referred to as a first AP.
  • the first AP sends to the channel selection control unit
  • the BSS establishes a request message to inform the channel selection control unit of the channel required to establish the BSS.
  • the BSS setup request message may further include information such as bandwidth required for establishing the BSS.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the channel selection control unit After receiving the BSS setup request message sent by the first AP, the channel selection control unit determines the channel required for the BSS to be established according to the identifier of the channel required to establish the BSS included in the BSS setup request message (ie, the Identifying the identified channel) and the BSS where the second AP currently working on the channel identified by the identifier is located, and then according to the priority and location of the BSS where the second AP currently working on the channel identified by the identifier is located Determining the priority of establishing the BSS determines whether the BSS to be established is allowed to be established on the channel. Then, the channel selection control unit returns a BSS setup reply message to the first AP, and carries the indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier in the BSS setup reply message.
  • the channel selection control unit may determine to allow the BSS to be established. Established on the channel identified by the identifier; otherwise, the channel selection control unit determines that the BSS to be established is not allowed to be established on the channel identified by the identifier.
  • the channel selection control unit may determine to allow the BSS to be established. Established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit Comparing the number of BSSs of the second AP currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold Determining that the BSS to be established is allowed to be established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier .
  • the channel selection control unit knows in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, then the channel The selection control unit may determine, according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established, whether to allow the BSS to be established to be identified by the identifier. Established on the channel. For example, in a case where each BSS priority is set by the channel selection control unit in a central control manner, the channel selection control unit knows the priority of each BSS in advance.
  • the channel selection control unit does not know in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, and the first AP may send
  • the BSS establishment request message of the channel selection control unit carries the priority of the BSS to be established, so that the channel selection control unit knows the priority of the BSS to be established.
  • the channel selection control unit further determines whether to allow the BSS to be established in the priority according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Before the establishment on the channel, obtain the priority of the BSS where the second AP currently working on the channel identified by the identifier is located. For example, the channel selection control unit may send an acquisition request to the second AP, and then receive a reply message returned by the AP, where the reply message carries the priority of the BSS where the second AP is located.
  • the first AP After the first AP receives the BSS setup reply message returned by the channel selection control unit, according to the
  • the BSS establishes an indication of the reply message, and establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier. Specifically, if the BSS setup reply message indicates that the BSS to be established is allowed to be established on the channel, the first AP establishes the to-be-established BSS on the channel identified by the identifier; if the BSS establishes a reply message indication The BSS to be established is not allowed to be established on the channel identified by the identifier, and the first AP does not establish the BSS to be established on the channel identified by the identifier.
  • the BSS setup reply message returned by the channel selection control unit further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity. It is explained herein that the channel selection control unit indicates that the bandwidth allowed to be used on the channel identified by the identity may not be equal to the bandwidth requested by the first AP, e.g., may be smaller than the bandwidth requested by the first AP.
  • the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
  • the priority of the BSS to be established in the embodiment is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data identifier related to channel selection. .
  • the first AP in this embodiment also receives an advertisement message sent by the channel selection control unit, where the advertisement message includes the Establish the priority of the BSS.
  • the first AP in this embodiment also sets the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority. priority.
  • the channel selection control unit can be implemented as a priority setting unit at the same time.
  • the channel selection control unit may be AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
  • the AP when the BSS is established, when the BSS needs to be established, the AP sends a BSS setup request message to the channel selection control unit to inform the channel selection control unit of the required channel, so that the channel selection control unit can work according to the current The priority of the BSS where the AP is located on the channel and the priority of the BSS to be established, determining whether the BSS to be established is allowed to be established on the channel, and returning indication information to the AP in the BSS to be established, and the AP in the BSS is to be established.
  • the BSS to be established is established or not established on the channel, that is, the channel is selected or not selected for the BSS to be established, so that a preferred channel may be selected for the BSS to be established if multiple BSSs share the channel. , to ensure the quality of service of each BSS, to avoid serious interference between the BSS.
  • FIG. 2 is a flowchart of another channel selection method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the channel selection control unit receives a BSS setup request message sent by the first AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS.
  • the channel selection control unit is configured to perform a second operation on the channel identified by the identifier.
  • the priority of the BSS where the AP is located and the priority of the BSS to be established determine whether the BSS to be established is allowed to be established on the channel identified by the identifier.
  • the channel selection control unit sends a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, Causing the first AP to establish the channel on the channel identified by the identifier
  • the BSS to be established is established or not established on the channel identified by the identifier.
  • the present embodiment is adapted to the channel selection method provided by the foregoing embodiment, and is described from the perspective of a channel selection control unit.
  • the channel selection control unit is mainly used to perform channel selection for establishing a BSS, and can be implemented in an AC. Or it can be implemented as an AC, and can also be any AC-independent control unit that can implement the method flow provided by this embodiment.
  • the BSS to be established is referred to as the BSS to be established
  • the AP that sends the BSS setup request message is referred to as the first AP.
  • the first AP sends a BSS Setup Request message to the channel selection control unit to inform the channel selection control unit of the channel required for establishing the BSS.
  • the BSS setup request message may further include information such as bandwidth required for establishing the BSS.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the channel selection control unit After receiving the BSS setup request message sent by the first AP, the channel selection control unit determines the channel required for the BSS to be established according to the identifier of the channel required to establish the BSS included in the BSS setup request message (ie, the Identifying the identified channel) and the BSS where the second AP currently working on the channel identified by the identifier is located, and then according to the priority and location of the BSS where the second AP currently working on the channel identified by the identifier is located Determining the priority of establishing the BSS determines whether the BSS to be established is allowed to be established on the channel identified by the identifier. Then, the channel selection control unit returns a BSS setup reply message to the first AP, and carries indication information indicating whether to allow the BSS to be established to be established on the channel identified by the identifier in the BSS setup reply message.
  • the identifier of the channel required to establish the BSS included in the BSS setup request message ie, the Identifying the identified channel
  • the channel selection control unit may determine to allow the BSS to be established. Established on the channel identified by the identifier; otherwise, the channel selection control unit determines that the BSS to be established is not allowed to be established on the channel identified by the identifier.
  • the channel selection control unit may determine to allow the BSS to be established. Establishing on the channel identified by the identifier; if the priority of the BSS to be established is lower than the BSS of the second AP currently working on the channel identified by the identifier Priority, the channel selection control unit compares the number of the second AP currently working on the channel identified by the identifier and/or the duration of the channel identified by the identifier with a corresponding threshold, if If the result is less than the threshold, it is determined that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be in the identifier Established on the identified channel. It is noted herein that the number of second APs currently operating on the channel identified by the identity is equal to the number of BSSs
  • the channel selection control unit may also determine whether to allow, in combination with other factors, such as network congestion conditions or other policies.
  • the BSS to be established is established on the channel identified by the identifier.
  • the channel selection control unit knows in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, and the channel selection control unit may directly The priority of the BSS where the second AP is currently working on the channel identified by the identifier and the priority of the BSS to be established determine whether the BSS to be established is allowed to be established on the channel. For example, the channel selection control unit determines the priority of the BSS to be established and the priority of the BSS where the second AP is located according to the parameters required for setting the priority, and then sends the priority of the BSS to be established to the first AP. The priority of the BSS where the second AP is located is sent to the second AP. For example, the channel selection control unit may send an advertisement message to the first AP and the second AP, and carry the priority of the corresponding BSS in the advertisement message. That is, the BSS priority is set by the channel selection control unit in a central control manner.
  • the channel selection control unit does not know in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, and the first AP may send
  • the BSS establishment request message of the AC carries the priority of the BSS to be established, so that the channel selection control unit knows the priority of the BSS to be established.
  • the channel selection control unit further determines whether to allow the BSS to be established in the priority according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Prior to establishing the identified channel, the priority of the BSS where the second AP currently working on the channel identified by the identifier is located is obtained. For example, the channel selection control unit receives the priority of the BSS where the second AP is sent by the second AP.
  • the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity. It is explained herein that the channel selection control unit indicates that the bandwidth allowed to be used on the channel identified by the identifier may not be equal to the bandwidth requested by the first AP, for example, may be smaller than the bandwidth requested by the first AP.
  • the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
  • the AP when the BSS is established, the AP sends a BSS setup request message to the channel selection control unit, and after receiving the BSS setup request message, the channel selection control unit may according to the priority of the BSS where the AP currently working on the channel is located.
  • determining the priority of the BSS to be established determining whether the BSS to be established is established on the channel, and returning indication information to the AP in the BSS to be established, so that the AP in the BSS to be established is established on the channel according to the indication or
  • the BSS to be established is not established, that is, the channel is selected or not selected for the BSS to be established, so that when a plurality of BSSs share a channel, a better channel is selected for the BSS to be established, and the quality of service of each BSS is ensured. Serious interference occurs between the BSSs.
  • the embodiment of the present invention further provides a channel selection method, which is used to select a channel for a BSS to be established, and is a distributed channel selection method.
  • An application scenario of channel selection is as shown in FIG. 3A.
  • the application scenario includes a first AP and a second AP.
  • the BSS where the first AP is located belongs to the BSS to be established, and the BSS where the second AP belongs belongs to the established BSS.
  • the first AP requests the second AP to establish a BSS on the channel working by the second AP (ie, the BSS to be established).
  • FIG. 3B Another channel selection method provided by the embodiment of the present invention is shown in FIG. 3B, and the method includes:
  • the first AP sends a BSS setup request message to the second AP, to request that the BSS to be established is established on the channel currently used by the second AP.
  • the first AP receives the BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, where the indication information is The second AP is determined according to a priority of the BSS where the second AP is located and a priority of the BSS to be established.
  • the first AP establishes, according to the indication that the BSS establishes a reply message, on the channel.
  • the establishment of the BSS is not mentioned or the BSS to be established is not established on the channel.
  • the channel selection method provided by this embodiment is not centrally controlled by the channel selection control unit, but is a distributed channel selection method.
  • the BSS to be established is referred to as a BSS to be established
  • the AP that sends the BSS setup request message is referred to as a first AP.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the first AP sends a BSS setup request message to the second AP to request to establish the BSS to be established on the channel currently used by the second AP, that is, whether the request to the second AP is the second or not.
  • the AP shares the channel.
  • the second AP After receiving the BSS setup request message, the second AP determines whether to allow the BSS to be established to be established on the channel of the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returns the BSS establishment to the first AP.
  • the reply message carries the indication information for indicating whether to allow the BSS to be established to be established on the channel in the BSS setup reply message.
  • the second AP may compare the priority of the BSS where the second AP is located with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the to-be-established a priority of the BSS, the second AP determines that the BSS to be established is not allowed to be established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, And the second AP discards the BSS establishment request message, or sends a response message to the first AP, indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
  • the second AP may set the priority of the BSS where the second AP is located and the to-be-established
  • the priority of the BSS is compared. If the comparison result is that the priority of the BSS of the second AP is higher than the priority of the BSS to be established, the second AP may further determine whether the network congestion or other policies are based on factors such as network congestion or other policies.
  • the BSS to be established is allowed to be established on the channel.
  • the first AP determines whether to establish the BSS to be established on the channel according to the indication of the BSS establishment reply message.
  • the method includes: the first AP first determining the second AP.
  • the first AP may acquire the priority of the BSS where the third AP currently working on the channel is located, according to the priority of the BSS where the third AP currently working on the channel is located, and the priority of the BSS to be established.
  • the third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
  • the first AP may obtain the priority of the BSS where the third AP currently working on the channel is located: the first AP receives the beacon frame sent by the third AP currently working on the channel, where The beacon frame includes the priority of the BSS where the third AP is located. Or the first AP sends a query message to the third AP currently working on the channel, and receives the query response message returned by the third AP by the query message, where the query response message includes the third The priority of the BSS where the AP is located.
  • the first AP does not predetermine the second AP, but directly sends the BSS setup request message to the third AP currently working on the channel, to the third AP.
  • the second AP in which the BSS priority is higher than the priority of the BSS to be established requests to establish the to-be-established BSS on the channel currently used by the second AP.
  • the third AP that receives the BSS setup request message may determine whether to return a BSS setup reply message to the first AP as the second AP according to the priority of the BSS and the priority of the BSS to be established.
  • the third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
  • the second AP knows in advance the priority of the BSS to be established, for example, may be acquired from the AC in advance.
  • the second AP may determine whether to allow the to-be-established BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the second AP does not know the priority of the BSS to be established in advance, and then the first
  • the BSS establishment request message sent by the AP may include the priority of the BSS to be established, so that the second AP knows the priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
  • the second AP indication The bandwidth allowed to be used on the channel may not be equal to the bandwidth requested by the first AP, for example, may be smaller than the bandwidth requested by the first AP.
  • the BSS establishment reply message further includes: the first AP sending the BSS establishment request again. The time of the message.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Data identification.
  • the first AP may further receive a priority setting unit, such as an AC, and send an advertisement message, where the advertisement message includes a priority of the BSS to be established.
  • a priority setting unit such as an AC
  • the first AP may further set the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
  • the first AP when the BSS is established, the first AP sends a BSS setup request message to the second AP on the required channel to request to establish a BSS on the channel, so that the second AP can be based on the BSS of the second AP.
  • the priority of the BSS to be established determining whether to allow the to-be-established BSS to be established on the channel, and returning indication information to the first AP in the BSS to be established, where the first AP establishes on the channel according to the indication
  • the BSS to be established is not established, that is, the channel is selected or not selected for the BSS to be established, so that when a plurality of BSSs share a channel, a preferred channel is selected for the BSS to be established, and the service quality of each BSS is guaranteed. Avoid serious interference between the BSSs.
  • FIG. 4 is a flowchart of still another channel selection method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the second AP receives the BSS setup request message sent by the first AP, where the BSS setup request message is used to request to establish the to-be-established BSS on the channel currently used by the second AP.
  • the second AP determines whether to allow the to-be-established BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the second AP sends a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is in the Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
  • This embodiment is adapted to the embodiment shown in FIG. 3B and is a description from the perspective of the second AP.
  • the BSS to be established is referred to as a BSS to be established
  • the AP that sends the BSS setup request message is referred to as a first AP.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the first AP sends a BSS setup request message to the second AP to request to establish the BSS to be established on the channel currently used by the second AP, that is, whether the request to the second AP is the second or not.
  • the AP shares the channel.
  • the second AP After receiving the BSS setup request message, the second AP determines whether to allow the BSS to be established to be established on the channel of the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returns the BSS establishment to the first AP.
  • the reply message carries the indication information for indicating whether to allow the BSS to be established to be established on the channel in the BSS setup reply message.
  • the second AP may set the priority of the BSS where the second AP is located and the to-be-established
  • the priority of the BSS is compared; if the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, the second AP determines that the BSS to be established is not allowed to be on the channel. Establishing; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, the second AP discards the BSS establishment request message, or sends the message to the first AP And indicating a response message that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
  • the second AP may compare the priority of the BSS where the second AP is located with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the to-be-established The priority of the BSS, the second AP may further determine whether to allow the BSS to be established to be established on the channel according to factors such as network congestion or other policies.
  • the second AP before the second AP receives the BSS setup request message sent by the first AP in the BSS, the second AP includes: sending, by the second AP, a beacon frame to the first AP, where the beacon The frame includes a priority of the BSS where the second AP is located, so that the first AP determines whether to send to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the BSS establishes a request message.
  • the second AP receives the query message sent by the first AP, And returning a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the first AP is based on the priority of the BSS where the second AP is located, and the The priority of the BSS is to be established, and it is determined whether the BSS establishment request message is sent to the second AP.
  • the second AP knows in advance the priority of the BSS to be established, for example, may be acquired in advance from a priority setting unit, such as an AC.
  • the second AP may determine whether to allow the to-be-established BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the second AP does not know the priority of the BSS to be established in advance, and the BSS establishment request message sent by the first AP may include the priority of the BSS to be established, so that the second AP learns the Establish the priority of the BSS.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
  • the second AP indicates that the bandwidth allowed to be used on the channel may not be equal to the bandwidth requested by the first AP, for example, may be smaller than the bandwidth requested by the first AP.
  • the BSS establishment reply message further includes: the first AP sending the BSS establishment request again. The time of the message.
  • the first AP when the BSS is established, the first AP sends a BSS setup request message to the second AP on the required channel, and after receiving the BSS setup request message, the second AP may be based on the priority of the BSS where the second AP is located. Determining whether the BSS to be established is allowed to be established on the channel, and returning indication information to the first AP in the BSS to be established, so that the first AP in the BSS to be established is in accordance with the indication, The BSS to be established is established or not established on the channel, that is, the channel is selected or not selected for the BSS to be established, so that in the case that multiple BSSs share the channel, a better channel is selected for the BSS to be established, and each BSS is guaranteed. Quality of service, avoiding serious interference between BSSs.
  • FIG. 5 is a schematic structural diagram of a channel selection apparatus according to an embodiment of the present invention.
  • the channel selection device may be implemented as a first AP, or may be implemented in a first AP.
  • the device includes: a sending module 51, a receiving module 52, and a determining module 53.
  • the sending module 51 is configured to send a BSS setup request message to the channel selection control unit, where the BSS
  • the setup request message includes an identification of the channel required to establish the BSS.
  • the receiving module 52 is configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier
  • the indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
  • the determining module 53 is connected to the receiving module 52, and is configured to establish, according to the indication of the BSS establishment reply message received by the receiving module 52, the BSS to be established or not identified by the identifier on the channel identified by the identifier.
  • the to-be-established BSS is established on the channel.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the channel selection control unit is mainly used for channel selection of the BSS to be established, which may be AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS setup reply message further includes: the channel selection apparatus resending the station The time at which the BSS establishes the request message.
  • the priority of the BSS to be established may be determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data identifier related to channel selection. But it is not limited to this.
  • the channel selection apparatus further needs to know the priority of the BSS to be established. Level. Then, the channel selection control unit is used as the priority setting unit to determine the priority of each BSS and deliver it to the APs in each BSS. Based on this, the receiving module 52 is further configured to receive an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established. Alternatively, each BSS determines its respective priority in a distributed manner. Based on this, the channel selection apparatus further includes: a priority setting module, configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
  • a priority setting module configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
  • the function modules of the channel selection apparatus provided in this embodiment may be used to perform the process of the embodiment of the channel selection method shown in FIG. 1B.
  • the specific working principle is not described here. For details, refer to the description of the method embodiments.
  • the channel selection apparatus provided in this embodiment is implemented as the first AP or in the first AP, and when the BSS is established, sends a BSS setup request message to the channel selection control unit, and informs the channel selection control unit of the required channel, so that the channel
  • the selection control unit may determine whether to allow the BSS to be established to be established on the channel according to the priority of the BSS where the AP currently working on the channel is located and the priority of the BSS to be established, and return to the channel selection apparatus of this embodiment. Instructing information, the channel selection apparatus of this embodiment establishes or does not establish the BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that the channel may be shared by multiple BSSs. Next, select a better channel for the BSS to be established, ensure the quality of service of each BSS, and avoid serious interference between the BSSs.
  • FIG. 6 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention.
  • the channel selection device may be implemented as a first AP, or may be implemented in a first AP.
  • the device includes: a transmitter 61, a receiver 62, and a processor 63.
  • the transmitter 61 is configured to send a BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS.
  • the receiver 62 is configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier
  • the indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established.
  • the processor 63 is configured to establish, according to the indication of the BSS setup reply message received by the receiver 62, the BSS to be established on the channel identified by the identifier or not to establish the to-be-established on the channel identified by the identifier. Establish a BSS.
  • the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the channel selection control unit is mainly used for channel selection of the BSS to be established, which may be AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS setup reply message further includes: the channel selection apparatus resending the station The time at which the BSS establishes the request message.
  • the priority of the BSS to be established may be determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data identifier related to channel selection. But it is not limited to this.
  • the channel selection apparatus further needs to know the priority of the BSS to be established.
  • the channel selection control unit can be used as a priority setting unit to determine the priority of each BSS and deliver it to the APs in each BSS.
  • the receiver 62 is further configured to receive an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established.
  • each BSS determines its priority in a distributed manner.
  • the processor 63 is further configured to set the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
  • the processor 63 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or configured to implement the embodiment of the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the apparatus may further include: a memory 64.
  • the memory 64 is used to store programs.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 64 may include a high speed RAM memory, and may also include a non-volatile memory such as at least one disk memory.
  • the processor 63 can implement the above functions by executing a program stored in the memory 64, but is not limited thereto.
  • the transmitter 61, the receiver 62, the processor 63, and the memory 64 may be connected to each other through a bus and complete each other. Communication between.
  • the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the transmitter 61, the receiver 62, the processor 63, and the memory 64 are integrated on one chip, the transmitter 61, the receiver 62, the processor 63, and the memory 64 may pass through an internal interface. Complete communication with each other.
  • the channel selection apparatus provided in this embodiment can be used to perform the process of the embodiment of the channel selection method shown in FIG. 1B.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the channel selection apparatus provided in this embodiment is implemented as the first AP or in the first AP, and when the BSS is established, sends a BSS setup request message to the channel selection control unit, and informs the channel selection control unit of the required channel, so that the channel
  • the selection control unit may determine whether to allow the BSS to be established to be established on the channel according to the priority of the BSS where the AP currently working on the channel is located and the priority of the BSS to be established, and return to the channel selection apparatus of this embodiment.
  • the indication information, the channel selection apparatus of the embodiment establishes or does not establish the BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that the channel may be shared by multiple BSSs. Next, select a better channel for the BSS to be established, ensure the quality of service of each BSS, and avoid serious interference between the BSSs.
  • FIG. 7 is a schematic structural diagram of a channel selection control unit according to an embodiment of the present invention.
  • the channel selection control unit provided by the embodiment is mainly used for channel selection for establishing a BSS.
  • the unit includes: a receiving module 71, a determining module 72, and a sending module 73.
  • the receiving module 71 is configured to receive a BSS setup request message sent by the first AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS.
  • the determining module 72 is connected to the receiving module 71, and is configured to determine, according to the priority of the BSS where the second AP is located on the channel identified by the identifier, and the priority of the BSS to be established, whether to allow the BSS to be established. Established on the channel identified by the identity.
  • the sending module 73 is connected to the determining module 72, and configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indicating whether to allow the BSS to be established to be on the channel identified by the identifier. Establishing the indication information, so that the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the determining module 72 is specifically configured to determine, if the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, The BSS to be established is established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, Comparing the number of the second APs currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold, then Determining that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier.
  • the unit may also be used as a priority setting unit to collectively set priorities for each BSS.
  • the determining module 72 is further configured to determine the priority of the BSS to be established according to the parameters required for setting the priority before determining whether to allow the BSS to be established to be established on the channel identified by the identifier. And a priority of the BSS where the second AP is located.
  • send The module 73 is further configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
  • each BSS determines its respective priority in a distributed manner. Based on this, the BSS setup request message sent by the first AP further includes the priority of the BSS to be established. Based on this, the receiving module 71 is further configured to: before the determining module 72 determines whether the BSS to be established is allowed to be established on the channel identified by the identifier, receive the priority of the BSS where the second AP is sent by the second AP. level.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
  • the channel selection control unit provided in this embodiment may be implemented in an AC, or implemented as an AC, but is not limited thereto.
  • the function modules of the channel selection control unit provided in this embodiment can be used to perform the process of the channel selection method shown in FIG. 2.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the channel selection control unit receives the BSS setup request message sent by the first AP, and then determines whether to allow the BSS according to the priority of the BSS where the second AP is currently working on the channel and the priority of the BSS to be established.
  • the BSS to be established is established on the channel, and returns indication information to the first AP, so that the first AP establishes or does not establish the BSS to be established on the channel according to the indication, that is, selects or does not select the BSS to be established.
  • the channel can be used to select a better channel for the BSS to be established in the case of multiple BSS shared channels, to ensure the quality of service of each BSS, and to avoid serious interference between the BSSs.
  • FIG. 8 is a schematic structural diagram of another channel selection control unit according to an embodiment of the present invention.
  • the channel selection control unit provided in this embodiment is mainly used for channel selection for establishing a BSS.
  • the unit includes: a receiver 81, a processor 82, and a transmitter 83.
  • the receiver 81 is configured to receive a BSS setup request message sent by the first AP, where the BSS is established.
  • the request message includes the identity of the channel required to establish the BSS.
  • the processor 82 is configured to determine, according to the priority of the BSS where the second AP is located on the channel that is currently identified by the identifier, and the priority of the BSS to be established, whether to allow the BSS to be established to be identified by the identifier. Established on the channel.
  • a transmitter 83 configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, to And causing the first AP to establish the to-be-established BSS on the channel identified by the identifier or not to establish the to-be-established BSS on the channel identified by the identifier.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the processor 82 is specifically configured to determine, if the priority of the BSS to be established is higher than the priority of the BSS where the second AP is currently working on the channel identified by the identifier, The BSS to be established is established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, Comparing the number of the second APs currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold, then Determining that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier.
  • the unit may also be used as a priority setting unit to set priorities for each BSS.
  • the processor 82 is further configured to determine the priority of the BSS to be established according to the parameters required for setting the priority before determining whether to allow the BSS to be established to be established on the channel identified by the identifier. And a priority of the BSS where the second AP is located.
  • the transmitter 83 is further configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
  • each BSS determines its respective priority in a distributed manner. Based on this, the BSS establishment request message sent by the first AP further includes the priority of the BSS to be established. based on The receiver 81 is further configured to: before the processor 82 determines whether the BSS to be established is allowed to be established on the channel identified by the identifier, receive the priority of the BSS where the second AP is sent by the second AP. .
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
  • the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
  • processor 82 can be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the unit may further include: a memory 84.
  • the memory 84 is used to store programs.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 84 may include a high speed RAM memory, and may also include a non-volatile memory such as at least one disk memory.
  • processor 82 may perform the functions described above by executing a program stored in memory 84, but is not limited thereto.
  • the receiver 81, the processor 82, the transmitter 83, and the memory 84 can be connected to each other through a bus and complete each other. Communication between.
  • the bus can be an ISA bus, a PCI bus or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG.
  • receiver 81, the processor 82, the transmitter 83 and The memory 84 is integrated on a single chip, and the receiver 81, the processor 82, the transmitter 83, and the memory 84 can communicate with each other through an internal interface.
  • the channel selection control unit provided in this embodiment may be implemented in an AC, or implemented as an AC, but is not limited thereto.
  • the channel selection control unit provided in this embodiment may be used to implement the channel selection method shown in FIG. The specific working principle of the process of the embodiment is not described again. For details, refer to the description of the method embodiment.
  • the channel selection control unit provided in this embodiment receives the BSS setup request message sent by the first AP, and then determines whether to allow the BSS according to the priority of the BSS where the second AP is currently working on the channel and the priority of the BSS to be established.
  • the BSS to be established is established on the channel, and returns indication information to the first AP, so that the first AP establishes or does not establish a BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established. In this way, in the case that multiple BSSs share a channel, a better channel is selected for the BSS to be established, the quality of service of each BSS is guaranteed, and serious interference between the BSSs is avoided.
  • FIG. 9 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention.
  • the device may be implemented as a first AP, or may be implemented in a first AP.
  • the device includes: a sending module 91, a receiving module 92, and a determining module 93.
  • the sending module 91 is configured to send a BSS setup request message to the second AP, to request to establish a BSS to be established on the channel currently used by the second AP.
  • the receiving module 92 is configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel;
  • the second AP is determined according to a priority of the BSS where the second AP is located and a priority of the BSS to be established.
  • the determining module 93 is connected to the receiving module 92, configured to establish the BSS to be established on the channel according to the indication of the BSS establishment reply message received by the receiving module 92, or not to establish the BSS to be established on the channel. .
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the apparatus may further include: an acquiring module.
  • An obtaining module configured to send, by the sending module 91, the BSS setup request message, to obtain a priority of a BSS where a third AP currently working on the channel is located, according to a BSS where a third AP currently working on the channel is located And a priority of the BSS to be established, and determining, as the second AP, a third AP in the BSS with a higher priority than the priority of the BSS to be established.
  • the third AP described herein may be Currently, all the APs or part of the APs on the channel are working, and the second AP is one of the third APs, and the acquiring module is configured to obtain the priority of the BSS where the third AP currently working on the channel is located, including The acquiring module is specifically configured to receive a beacon frame that is sent by the third AP that is currently working on the channel, where the beacon frame includes a priority of the BSS where the third AP is located; or The third AP that is currently working on the channel sends a query message, and receives the query response message returned by the third AP by the query message, where the query response message includes the priority of the BSS where the third AP is located. .
  • the sending module 91 is specifically configured to send the BSS setup request message to a third AP currently working on the channel, so that the priority of the BSS in the third AP is higher than the foregoing.
  • the second AP that is to establish the priority of the BSS requests to establish the to-be-established BSS on the channel currently used by the second AP.
  • the apparatus in this embodiment does not predetermine the second AP, but the third AP that receives the BSS setup request message determines whether it is the second AP.
  • the third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
  • the BSS setup request message includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data associated with channel selection, but Not limited to this.
  • the receiving module 92 is further configured to receive a priority setting unit, such as an advertised message sent by the AC, where the advertised message includes a priority of the BSS to be established, and is used to learn the BSS to be established. priority.
  • a priority setting unit such as an advertised message sent by the AC
  • the apparatus of this embodiment further includes: a priority setting module, configured to set the BSS to be established according to a priority of a neighbor BSS and a parameter required to set a priority priority.
  • the function modules of the channel selection apparatus provided in this embodiment can be used to perform the process of the channel selection method shown in FIG. 3B.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the channel selection apparatus is implemented as the first AP or configured in the first AP, and sends a BSS setup request message to the second AP on the required channel to request to establish a BSS on the channel, so that the second AP is configured. Determining whether the BSS to be established is allowed to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returning the indication information to the channel selection apparatus of the embodiment, the channel of this embodiment
  • the selecting device establishes or does not establish a BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that a preferred channel may be selected for the BSS to be established if multiple BSSs share the channel. , to ensure the quality of service of each BSS, to avoid serious interference between the BSS.
  • FIG. 10 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention.
  • the device may be implemented as a first AP, or may be implemented in a first AP.
  • the device includes: a transmitter 1001, a receiver 1002, and a processor 1003.
  • the transmitter 1001 is configured to send a BSS setup request message to the second AP to request to establish a BSS to be established on a channel currently used by the second AP.
  • the receiver 1002 is configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, where the indication information is The second AP is determined according to a priority of the BSS where the second AP is located and a priority of the BSS to be established.
  • the processor 1003 is configured to establish, according to the BSS setup reply message received by the receiver 1002, the to-be-established BSS on the channel or not establish the to-be-established BSS on the channel.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the processor 1003 is further configured to send, by the transmitter 1001, the BSS setup request message, to obtain a priority of a BSS where the third AP currently working on the channel is located, where Determining, according to the priority of the BSS where the third AP is currently working on the channel and the priority of the BSS to be established, determining a third AP in the BSS having a higher priority than the priority of the BSS to be established as the Second AP.
  • the third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
  • the processor 1003 is configured to obtain the priority of the BSS where the third AP currently working on the channel is located, where the processor 1003 is specifically configured to receive, by the receiver 1002, the third AP currently working on the channel. a transmitted beacon frame, where the beacon frame includes a priority of the BSS where the third AP is located; or the processor 1003 is specifically configured to send, by using the transmitter 1001, a query message to a third AP currently working on the channel. Receiving, by the receiver 1002, the query response message returned by the third AP by the query message, where the query response message includes a priority of the BSS where the third AP is located.
  • the transmitter 1001 is specifically configured to send the BSS setup request message to a third AP currently working on the channel, so that the priority of the BSS in the third AP is higher than the foregoing.
  • the second AP that is to establish the priority of the BSS requests to establish the to-be-established BSS on the channel currently used by the second AP.
  • the apparatus in this embodiment does not predetermine the second AP, but the third AP that receives the BSS setup request message determines whether it is the second AP.
  • the third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
  • the BSS setup request message includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
  • the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data associated with channel selection, but Not limited to this.
  • the receiver 1002 is further configured to receive a priority setting unit, for example
  • the advertised message sent by the AC the advertised message includes the priority of the BSS to be established, and is used to learn the priority of the BSS to be established.
  • the apparatus of this embodiment further includes: a priority setting module, configured to set a priority of the BSS to be established according to a priority of a neighbor BSS and a parameter required to set a priority.
  • processor 1003 can be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the apparatus may further include: a memory 1004.
  • the memory 1004 is used to store programs.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 1004 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
  • the processor 1003 can implement the above functions by executing a program stored in the memory 1004, but is not limited thereto.
  • the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 may be connected to each other through a bus and complete each other. Communication between.
  • the bus can be an ISA bus, a PCI bus or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 10, but it does not mean that there is only one bus or one type of bus.
  • the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 are integrated on one chip, the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 may pass through an internal interface. Complete communication with each other.
  • the channel selection device provided in this embodiment can be used to perform the process of the channel selection method shown in FIG. 3B.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the channel selection apparatus is implemented as the first AP or configured in the first AP, and sends a BSS setup request message to the second AP on the required channel to request to establish a BSS on the channel, so that the second AP is configured. Determining whether the BSS to be established is allowed to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returning the indication information to the channel selection apparatus of the embodiment, the channel of this embodiment
  • the selecting device establishes or does not establish a BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that a preferred channel may be selected for the BSS to be established if multiple BSSs share the channel. , to ensure the quality of service of each BSS Quantity, to avoid serious interference between the BSS.
  • FIG. 11 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention.
  • the device may be implemented as a second AP, or may be implemented in a second AP.
  • the device includes: a receiving module 1101, a determining module 1102, and a sending module 1103.
  • the receiving module 1101 is configured to receive a BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP.
  • the determining module 1102 is connected to the receiving module 1101, and is configured to determine, according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, whether to allow the to-be-established BSS to be established on the channel.
  • the sending module 1103 is connected to the determining module 1102, and configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel. So that the first AP establishes the to-be-established BSS on the channel or does not establish the to-be-established BSS on the channel.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the sending module 1 103 is further configured to receive the
  • the beacon frame is sent to the first AP, where the beacon frame includes the priority of the BSS where the second AP is located, so that the first AP is based on the BSS where the second AP is located.
  • the priority and the priority of the BSS to be established determining whether to send the BSS establishment request message to the second AP.
  • the receiving module 1101 is further configured to receive the first before receiving the BSS setup request message.
  • the query message sent by the AP; the sending module 1103 is further configured to: return a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the first AP is configured according to the Determining, by the priority of the BSS where the second AP is located, and the priority of the BSS to be established, determining whether to send the BSS establishment request message to the second AP.
  • the determining module 1102 is specifically configured to: where the second AP is located.
  • the priority of the BSS is compared with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, it is determined that the BSS to be established is not allowed to be established.
  • the response message that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
  • the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
  • the function modules of the channel selection apparatus provided in this embodiment may be used to perform the process of the channel selection method embodiment shown in FIG. 4.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the channel selection apparatus provided in this embodiment is implemented as the second AP or configured in the second AP, and cooperates with the first AP to receive the BSS establishment request message sent by the first AP, and then according to the priority of the BSS where the second AP is located.
  • determining a priority of the BSS to be established determining whether the BSS to be established is established on the channel, and returning indication information to the first AP, so that the first AP establishes or does not establish a BSS to be established on the channel according to the indication, that is, Selecting or not selecting the channel for the BSS to be established, so that in the case that multiple BSSs share the channel, the preferred channel is selected for the BSS to be established, the quality of service of each BSS is guaranteed, and serious interference between the BSSs is avoided.
  • FIG. 12 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention.
  • the device may be implemented as a second AP, or may be implemented in a second AP.
  • the device includes: a receiver 1201, a processor 1202, and a transmitter 1203.
  • the receiver 1201 is configured to receive a BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP.
  • the processor 1202 is configured to: according to a priority of the BSS where the second AP is located, and the to-be-established BSS The priority determines whether the BSS to be established is allowed to be established on the channel.
  • the transmitter 1203 is configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is configured. Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
  • first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks.
  • first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual.
  • the second AP may be an AP or the like in a network deployed by an operator deploying the network.
  • the transmitter 1203 is further configured to: before the receiving module receives the BSS setup request message, send a beacon frame to the first AP, where the beacon frame includes the second AP The priority of the BSS, so that the first AP determines whether to send the BSS establishment request message to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the receiver 1201 is further configured to: before receiving the BSS setup request message, receive the query message sent by the first AP; the transmitter 1203 is further configured to return a query response message to the first AP, where the query response message includes The priority of the BSS where the second AP is located, so that the first AP determines whether to send the foregoing to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
  • the BSS establishes a request message.
  • the processor 1202 is specifically configured to compare a priority of the BSS where the second AP is located with a priority of the BSS to be established; if the comparison result is a priority of the BSS where the second AP is located The level is higher than the priority of the BSS to be established, determining that the BSS to be established is not allowed to be established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established Level, discarding the BSS establishment request message, or sending a response message to the first AP indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
  • the BSS setup request message further includes a priority of the BSS to be established.
  • the indication information indicates that the BSS to be established is allowed to be in the When the channel is established, the BSS setup reply message further includes: allowing the BSS to be established to use the channel and/or allowing bandwidth to be used on the channel.
  • the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
  • processor 1202 can be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the apparatus may further include: a memory 1204.
  • the memory 1204 is used to store programs.
  • the program can include program code, the program code including computer operating instructions.
  • the memory 1204 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
  • the processor 1202 can implement the above functions by executing a program stored in the memory 1204, but is not limited thereto.
  • the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 may be connected to each other through a bus and complete each other. Communication between.
  • the bus can be an ISA bus, a PCI bus or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus.
  • the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 are integrated on one chip, the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 may pass through an internal interface. Complete communication with each other.
  • the channel selection device provided in this embodiment may be used to perform the process of the channel selection method embodiment shown in FIG. 4, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the channel selection apparatus is implemented as the second AP or configured in the second AP, and cooperates with the first AP to receive the BSS establishment request message sent by the first AP, and then according to the priority of the BSS where the second AP is located. And determining a priority of the BSS to be established, determining whether the BSS to be established is established on the channel, and returning indication information to the first AP, so that the first AP establishes or does not establish a BSS to be established on the channel according to the indication, that is, Selecting or not selecting the channel for the BSS to be established, so that in the case that multiple BSSs share the channel, the preferred channel is selected for the BSS to be established, and each BSS is guaranteed. Quality of service, avoiding serious interference between BSSs.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as ⁇ , RAM, disk or optical disk.

Abstract

Provided are a channel selection method and device. The method comprises: a first AP sending a BSS establishment request message, which includes an identifier of a channel required by a BSS to be established to a channel selection control unit, receiving a BSS establishment response message which is sent by the channel selection control unit and comprises indication information for indicating whether the BSS to be established is allowed to be established on a channel, wherein the indication information is determined by the channel selection control unit according to the priority of a BSS where a second AP currently working on the channel is located and the priority of the BSS to be established; and according to an indication, establishing or not establishing the BSS to be established on the channel. The technical solution of the present invention can select a better channel for a BSS to be established in the case where a plurality of BSS' share a channel, thereby avoiding serious interference and the like among various BSS'.

Description

信道选择方法及设备 技术领域 本发明实施例涉及通信技术, 尤其涉及一种信道选择方法及设备。  The present invention relates to communication technologies, and in particular, to a channel selection method and device.
背景技术 Background technique
基于 802. 11的无线局域网(Wireless Local Area Network,简称为 WLAN) 原本是设定为用于取代以太网适应室内环境的无线网络, 但现在也被广泛部 署于公共场合。 广泛部署于公共场合的 WLAN—般采用密集部署, 即接入点 (Access Point, 简称为 AP) 之间距离较近, 基本服务集合 (Basic service set , 简称为 BSS) 间相互有交叠。 除了密集部署的特点以外, 现在广泛部署 于公共场合的 WLAN还呈现出与以往定位在室内环境的 WLAN不同的特性, 例 如 WLAN的所有者不再单一化, WLAN的所有者可能是部署网络的运营商、 网 络租用进行第二次经营的无线接入运营商、 一些提供无线接入的商户、 或者 是自带设备 (Bring-Your-Own-Device, 简称为 BY0D) 的个人等, WLAN可能 由服务驱动而产生, WLAN可能随时产生和消失等。  The 802.11-based Wireless Local Area Network (WLAN) was originally set up to replace the Ethernet to adapt to the indoor environment of the wireless network, but is now widely deployed in public. WLANs that are widely deployed in public places are generally deployed intensively, that is, access points (APs) are relatively close together, and basic service sets (BSSs) overlap each other. In addition to the characteristics of dense deployment, WLANs that are now widely deployed in public places also exhibit different characteristics from WLANs that have been positioned in indoor environments. For example, the owners of WLANs are no longer singular, and the owners of WLANs may be the operations of deploying networks. WLAN, service provider, network access for the second operation of wireless access operators, some providers of wireless access, or Bring-Your-Own-Device (abbreviated as BY0D), etc., WLAN may be serviced Driven by the WLAN, the WLAN may be generated and disappeared at any time.
在这种异构的密集部署的 WLAN网络中, 由于频谱资源的有限, 多个 BSS 间可能需要共享同一信道。 在这样的情况下, 为了保证 BSS的服务质量, BSS 在建立时如何选择信道成为关键问题。 发明内容  In this heterogeneous densely deployed WLAN network, due to the limited spectrum resources, multiple BSSs may need to share the same channel. In such a case, in order to guarantee the quality of service of the BSS, how to select the channel when the BSS is established becomes a key issue. Summary of the invention
本发明实施例提供一种信道选择方法及设备, 用以解决 BSS的信道选择 问题。  The embodiment of the invention provides a channel selection method and device for solving the channel selection problem of the BSS.
第一方面提供一种信道选择方法, 包括:  The first aspect provides a channel selection method, including:
第一接入点 AP向信道选择控制单元发送基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识;  The first access point AP sends a basic service set BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
所述第一 AP接收所述信道选择控制单元发送的 BSS建立回复消息,所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识 的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据当前 工作在所述标识所标识的信道上的第二 AP所在 BSS 的优先级和所述待建立 BSS的优先级确定的; Receiving, by the first AP, a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier; The indication information is that the channel selection control unit is based on the current Determining the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
所述第一 AP根据所述 BSS建立回复消息的指示,在所述标识所标识的信 道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待建立 BSS。  And the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier according to the indication of the BSS establishment reply message.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息还包括所述 待建立 BSS的优先级。  On the basis of the foregoing implementation manners, optionally, the BSS setup request message further includes a priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所 标识的信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel that is identified by the identifier, the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述标识所标识的信道上建立时,所述 BSS建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first The time when the AP sends the BSS setup request message again.
在上述实现方式的基础上, 可选的, 所述待建立 BSS的优先级由所述待 建立 BSS中的关联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信 道选择相关的数据标识。  On the basis of the foregoing implementation manners, optionally, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
在上述实现方式的基础上, 可选的, 所述方法还包括:  On the basis of the foregoing implementation manners, the method further includes:
所述第一 AP接收所述信道选择控制单元发送的通告消息,所述通告消息 包括所述待建立 BSS的优先级; 或者  Receiving, by the first AP, an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established; or
所述第一 AP根据邻居 BSS的优先级和设定优先级所需的参数设定所述待 建立 BSS的优先级。  The first AP sets the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
第二方面提供一种信道选择方法, 包括:  The second aspect provides a channel selection method, including:
信道选择控制单元接收待第一接入点 AP发送的基本服务集 BSS建立请求 消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识;  The channel selection control unit receives a basic service set BSS setup request message sent by the first access point AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
所述信道选择控制单元根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS 的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上建立;  Determining, by the channel selection control unit, whether the BSS to be established is allowed to be identified by the identifier according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Established on the channel;
所述信道选择控制单元向所述第一 AP发送 BSS建立回复消息, 所述 BSS 建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信 道上建立的指示信息, 以使所述第一 AP在所述标识所标识的信道上建立所述 待建立 BSS或不在所述标识所标识的信道上建立所述待建立 BSS。 The channel selection control unit sends a BSS setup reply message to the first AP, where the BSS setup reply message includes a message for indicating whether to allow the BSS to be established to be identified by the identifier. The indication information is set up on the channel, so that the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
在上述实现方式的基础上, 可选的, 所述信道选择控制单元根据当前工 作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上建立, 包 括:  On the basis of the above implementation manner, optionally, the channel selection control unit determines, according to the priority of the BSS where the second AP is located on the channel identified by the identifier, and the priority of the BSS to be established. Allowing the to-be-established BSS to be established on the channel identified by the identifier includes:
如果所述待建立 BSS的优先级高于当前工作在所述标识所标识的信道上 的所述第二 AP所在 BSS的优先级,所述信道选择控制单元确定允许所述待建 立 BSS在所述标识所标识的信道上建立; 或者  If the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit determines that the BSS to be established is allowed to be in the Established on the identified channel; or
如果所述待建立 BSS的优先级低于当前工作在所述标识所标识的信道上 的所述第二 AP所在 BSS的优先级,所述信道选择控制单元将当前工作在所述 标识所标识的信道上的所述第二 AP的数量和 /或占用所述标识所标识的信道 的时长与对应的门限进行比较, 如果比较结果为小于所述门限, 则确定允许 所述待建立 BSS在所述标识所标识的信道上建立; 如果比较结果为大于或等 于所述门限,则确定不允许所述待建立 BSS在所述标识所标识的信道上建立。  If the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit will work currently identified by the identifier. Comparing the number of the second APs on the channel and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold, determining to allow the BSS to be established to be in the Establishing on the identified channel, if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier.
在上述实现方式的基础上, 可选的, 所述信道选择控制单元根据当前工 作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS 在所述标识所标识的信道上建立之 前, 包括:  On the basis of the above implementation manner, optionally, the channel selection control unit determines, according to the priority of the BSS where the second AP is located on the channel identified by the identifier, and the priority of the BSS to be established. Before allowing the to-be-established BSS to be established on the channel identified by the identifier, the method includes:
所述信道选择控制单元根据设定优先级所需的参数, 分别确定所述待建 立 BSS的优先级和所述第二 AP所在 BSS的优先级;  The channel selection control unit determines the priority of the BSS to be established and the priority of the BSS where the second AP is located, according to the parameters required for setting the priority;
所述信道选择控制单元将所述待建立 BSS的优先级发送给所述第一 AP , 将所述第二 AP所在 BSS的优先级发送给所述第二 AP。  The channel selection control unit sends the priority of the BSS to be established to the first AP, and sends the priority of the BSS where the second AP is located to the second AP.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息还包括所述 待建立 BSS的优先级;  On the basis of the foregoing implementation manners, optionally, the BSS establishment request message further includes a priority of the BSS to be established;
所述信道选择控制单元根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS 的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上建立之前, 还包括:  Determining, by the channel selection control unit, whether the BSS to be established is allowed to be identified by the identifier according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Before the channel is established, it also includes:
所述信道选择控制单元接收所述第二 AP发送的所述第二 AP所在 BSS的 优先级。 在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所 标识的信道上允许使用的带宽。 The channel selection control unit receives the priority of the BSS where the second AP is sent by the second AP. On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel that is identified by the identifier, the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述标识所标识的信道上建立时,所述 BSS建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first The time when the AP sends the BSS setup request message again.
第三方面提供一种信道选择方法, 包括:  The third aspect provides a channel selection method, including:
第一接入点 AP向第二 AP发送基本服务集 BSS建立请求消息, 以请求在 所述第二 AP当前使用的信道上建立待建立 BSS;  The first access point AP sends a basic service set BSS setup request message to the second AP, to request to establish a BSS to be established on the channel currently used by the second AP;
所述第一 AP接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS建立 回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信 息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和所述 待建立 BSS的优先级确定的;  Receiving, by the first AP, a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel; the indication information is Determining, by the second AP, the priority of the BSS where the second AP is located and the priority of the BSS to be established;
所述第一 AP根据所述 BSS建立回复消息的指示,在所述信道上建立所述 待建立 BSS或者不在所述信道上建立所述待建立 BSS。  And the first AP establishes the to-be-established BSS on the channel or does not establish the to-be-established BSS on the channel according to the indication of the BSS establishment reply message.
在上述实现方式的基础上, 可选的, 所述第一接入点 AP向第二 AP发送 基本服务集 BSS建立请求消息, 以请求在所述第二 AP当前使用的信道上建立 待建立 BSS之前, 包括:  On the basis of the foregoing implementation manner, the first access point AP sends a basic service set BSS setup request message to the second AP to request to establish a BSS to be established on the channel currently used by the second AP. Previously, including:
所述第一 AP获取当前工作在所述信道上的第三 AP所在 BSS的优先级, 根据当前工作在所述信道上的第三 AP所在 BSS的优先级和所述待建立 BSS的 优先级,确定优先级高于所述待建立 BSS的优先级的 BSS中的第三 AP作为所 述第二 AP。  The first AP acquires the priority of the BSS where the third AP currently working on the channel is located, according to the priority of the BSS where the third AP currently working on the channel is located, and the priority of the BSS to be established. Determining, as the second AP, a third AP in the BSS having a higher priority than the priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 所述第一 AP获取当前工作在所述信 道上的第三 AP所在 BSS的优先级, 包括:  On the basis of the foregoing implementation manners, optionally, the first AP acquires the priority of the BSS where the third AP currently working on the channel is located, including:
所述第一 AP接收当前工作在所述信道上的第三 AP分别发送的信标帧, 所述信标帧包括所述第三 AP所在 BSS的优先级; 或者  Receiving, by the first AP, a beacon frame respectively sent by a third AP currently working on the channel, where the beacon frame includes a priority of a BSS where the third AP is located; or
所述第一 AP向当前工作在所述信道上的第三 AP发送查询消息, 并接收 所述第三 AP分别针所述查询消息返回的查询响应消息,所述查询响应消息包 括所述第三 AP所在 BSS的优先级。 在上述实现方式的基础上, 可选的, 所述第一接入点 AP向第二 AP发送 基本服务集 BSS建立请求消息, 以请求在所述第二 AP当前使用的信道上建立 待建立 BSS, 包括: Sending, by the first AP, a query message to a third AP currently working on the channel, and receiving, by the third AP, a query response message returned by the query message, where the query response message includes the third The priority of the BSS where the AP is located. On the basis of the foregoing implementation manner, the first access point AP sends a basic service set BSS setup request message to the second AP to request to establish a BSS to be established on the channel currently used by the second AP. , including:
所述第一 AP向当前工作在所述信道上的第三 AP发送所述 BSS建立请求 消息, 以向所述第三 AP中所在 BSS优先级高于所述待建立 BSS的优先级的所 述第二 AP请求在所述第二 AP当前使用的信道上建立所述待建立 BSS。  Transmitting, by the first AP, the BSS setup request message to a third AP currently working on the channel, to send the BSS priority in the third AP to be higher than the priority of the BSS to be established. The second AP requests to establish the to-be-established BSS on the channel currently used by the second AP.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息包括所述待 建立 BSS的优先级。  On the basis of the foregoing implementation manners, optionally, the BSS setup request message includes a priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS使用所述信道的时长和 /或在所述信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP 再次发送所述 BSS建立请求消息的时间。  On the basis of the above implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
在上述实现方式的基础上, 可选的, 所述待建立 BSS的优先级由所述待 建立 BSS中的关联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信 道选择相关的数据标识。  On the basis of the foregoing implementation manners, optionally, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
在上述实现方式的基础上, 可选的, 所述方法还包括:  On the basis of the foregoing implementation manners, the method further includes:
所述第一 AP接收优先级设置单元发送的通告消息,所述通告消息包括所 述待建立 BSS的优先级; 或者  Receiving, by the first AP, an advertisement message sent by the priority setting unit, where the notification message includes a priority of the BSS to be established; or
所述第一 AP根据邻居 BSS的优先级和设定优先级所需的参数设定所述待 建立 BSS的优先级。  The first AP sets the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
第四方面提供一种信道选择方法, 包括:  The fourth aspect provides a channel selection method, including:
第二接入点 AP接收第一 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息用以所述第一 AP请求在所述第二 AP当前使用的信道上建 立待建立 BSS;  The second access point AP receives the basic service set BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on the channel currently used by the second AP;
所述第二 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优 先级确定是否允许所述待建立 BSS在所述信道上建立;  Determining, by the second AP, whether the BSS to be established is allowed to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established;
所述第二 AP向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回复 消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立所述 待建立 BSS。 Sending, by the second AP, a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, So that the first AP establishes the to-be-established BSS on the channel or does not establish the to-be-established BSS on the channel.
在上述实现方式的基础上, 可选的, 所述第二接入点 AP接收第一 AP发 送的基本服务集 BSS建立请求消息之前, 包括:  On the basis of the foregoing implementation manners, optionally, before the second access point AP receives the basic service set BSS establishment request message sent by the first AP, the method includes:
所述第二 AP向所述第一 AP发送信标帧,所述信标帧包括所述第二 AP所 在 BSS的优先级, 以使所述第一 AP根据所述第二 AP所在 BSS的优先级和所 述待建立 BSS的优先级,确定是否向所述第二 AP发送所述 BSS建立请求消息; 或者  The second AP sends a beacon frame to the first AP, where the beacon frame includes a priority of the BSS where the second AP is located, so that the first AP is prioritized according to the BSS where the second AP is located. Level and the priority of the BSS to be established, determining whether to send the BSS establishment request message to the second AP; or
所述第二 AP接收所述第一 AP发送的查询消息,并向所述第一 AP返回查 询响应消息, 所述查询响应消息包括所述第二 AP所在 BSS的优先级, 以使所 述第一 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级, 确定是否向所述第二 AP发送所述 BSS建立请求消息。  Receiving, by the second AP, the query message sent by the first AP, and returning a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the An AP determines whether to send the BSS establishment request message to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 所述第二 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所 述信道上建立, 包括:  On the basis of the above implementation manner, the second AP determines whether to allow the BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established. Established, including:
所述第二 AP将所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先 级进行比较;  The second AP compares the priority of the BSS where the second AP is located with the priority of the BSS to be established;
如果比较结果为所述第二 AP所在 BSS的优先级高于所述待建立 BSS的优 先级, 所述第二 AP确定不允许所述待建立 BSS在所述信道上建立; 或者  If the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, the second AP determines that the BSS to be established is not allowed to be established on the channel; or
如果比较结果为所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优 先级, 所述第二 AP丢弃所述 BSS建立请求消息, 或者向所述第一 AP发送用 于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优先级的响应消 息。  If the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, the second AP discards the BSS establishment request message, or sends the indication information to the first AP. The response message that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息还包括所述 待建立 BSS的优先级。  On the basis of the foregoing implementation manners, optionally, the BSS setup request message further includes a priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS使用所述信道的时长和 /或在所述信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP 再次发送所述 BSS建立请求消息的时间。 On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the first AP The time at which the BSS setup request message is sent again.
第五方面提供一种小区优先级设置方法, 包括:  The fifth aspect provides a cell priority setting method, including:
优先级设置单元获取设定优先级所需的各基本服务集 BSS的参数或设定 优先级所需的策略;  The priority setting unit acquires parameters of each basic service set BSS required to set the priority or a policy required to set the priority;
所述优先级设置单元根据所述各 BSS 的参数或所述策略, 为所述各 BSS 设定优先级。  The priority setting unit sets a priority for each of the BSSs according to the parameters of the BSSs or the policy.
在上述实现方式的基础上, 可选的, 所述 BSS的优先级由所述 BSS中的 关联用户数、所述 BSS中的活跃用户数和 /或指定的与信道选择相关的数据标 识。  On the basis of the foregoing implementation manners, optionally, the priority of the BSS is identified by the number of associated users in the BSS, the number of active users in the BSS, and/or the specified data related to channel selection.
在上述实现方式的基础上, 可选的, 在第五方面的第二种可能的实现方 式中, 所述 BSS的优先级由所述 BSS中的接入点 AP和站点设备承载。  On the basis of the foregoing implementation manners, optionally, in a second possible implementation manner of the fifth aspect, the priority of the BSS is carried by an access point AP and a site device in the BSS.
在上述实现方式的基础上, 可选的, 所述方法还包括: 所述优先级设置 单元将所述各 BSS的优先级分别发送给所述各 BSS中的 AP。  On the basis of the foregoing implementation manners, the method further includes: the priority setting unit respectively sending the priorities of the BSSs to the APs in the BSSs.
在上述实现方式的基础上, 可选的, 同一 BSS的优先级因所述 BSS将要 执行的策略的不同而不同。  On the basis of the above implementation manners, optionally, the priority of the same BSS is different according to the policy to be executed by the BSS.
第六方面提供一种小区优先级设置方法, 包括:  The sixth aspect provides a cell priority setting method, including:
接入点 AP获取邻居基本服务集 BSS的优先级和邻居 BSS设定优先级使用 的参数的取值;  The access point AP obtains the priority of the neighbor basic service set BSS and the value of the parameter used by the neighbor BSS to set the priority.
所述 AP根据本地所述参数的取值、 所述邻居 BSS 的优先级和所述邻居 BSS设定优先级使用的参数的取值, 确定所述 AP所在 BSS的优先级。  The AP determines the priority of the BSS where the AP is located, according to the value of the local parameter, the priority of the neighbor BSS, and the value of the parameter used by the neighbor BSS.
第七方面提供一种信道选择装置,所述装置为第一接入点 AP或所述装置 设置于所述第一 AP中实现, 所述装置包括:  The seventh aspect provides a channel selection apparatus, where the apparatus is implemented by the first access point AP or the apparatus is disposed in the first AP, and the apparatus includes:
发送模块,用于向信道选择控制单元发送基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识;  a sending module, configured to send a basic service set BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
接收模块, 用于接收所述信道选择控制单元发送的 BSS建立回复消息, 所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所 标识的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据 当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建 立 BSS的优先级确定的;  a receiving module, configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier; The indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
确定模块, 用于根据所述 BSS建立回复消息的指示, 在所述标识所标识 的信道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待 建立 BSS。 a determining module, configured to: identify, according to the indication that the BSS establishes a reply message, the identifier The BSS to be established is established on the channel or the BSS to be established is not established on the channel identified by the identifier.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息还包括所述 待建立 BSS的优先级。  On the basis of the foregoing implementation manners, optionally, the BSS setup request message further includes a priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所 标识的信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel that is identified by the identifier, the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述标识所标识的信道上建立时,所述 BSS建立回复消息还包括: 所述信道选择装置再次发送所述 BSS建立请求消息的时间。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS establishment reply message further includes: the channel selection The time at which the device transmits the BSS setup request message again.
在上述实现方式的基础上, 可选的, 所述待建立 BSS的优先级由所述待 建立 BSS中的关联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信 道选择相关的数据标识。  On the basis of the foregoing implementation manners, optionally, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
在上述实现方式的基础上, 可选的, 所述接收模块还用于接收所述信道 选择控制单元发送的通告消息,所述通告消息包括所述待建立 BSS的优先级; 或者  On the basis of the above implementation manner, optionally, the receiving module is further configured to receive an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established; or
所述装置还包括:  The device also includes:
优先级设定模块, 用于根据邻居 BSS的优先级和设定优先级所需的参数 设定所述待建立 BSS的优先级。  The priority setting module is configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
第八方面提供一种信道选择控制单元, 包括:  The eighth aspect provides a channel selection control unit, including:
接收模块,用于接收第一接入点 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识;  a receiving module, configured to receive a basic service set BSS setup request message sent by the first access point AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
确定模块,用于根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所 述标识所标识的信道上建立;  a determining module, configured to determine, according to a priority of a BSS where the second AP is located on the channel identified by the identifier, and a priority of the BSS to be established, whether to allow the BSS to be established to be identified by the identifier Established on the channel;
发送模块, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回 复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信道上建 立的指示信息, 以使所述第一 AP在所述标识所标识的信道上建立所述待建立 BSS或不在所述标识所标识的信道上建立所述待建立 BSS。 在上述实现方式的基础上, 可选的, 所述确定模块具体用于如果所述待 建立 BSS的优先级高于当前工作在所述标识所标识的信道上的所述第二 AP所 在 BSS的优先级,确定允许所述待建立 BSS在所述标识所标识的信道上建立; 如果所述待建立 BSS的优先级低于当前工作在所述标识所标识的信道上的所 述第二 AP所在 BSS的优先级,将当前工作在所述标识所标识的信道上的所述 第二 AP的数量和 /或占用所述标识所标识的信道的时长与对应的门限进行比 较, 如果比较结果为小于所述门限, 则确定允许所述待建立 BSS在所述标识 所标识的信道上建立; 如果比较结果为大于或等于所述门限, 则确定不允许 所述待建立 BSS在所述标识所标识的信道上建立。 a sending module, configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, so that The first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier. On the basis of the above implementation manner, the determining module is specifically configured to: if the priority of the BSS to be established is higher than the BSS of the second AP currently working on the channel identified by the identifier Determining, allowing the BSS to be established to be established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the second AP currently working on the channel identified by the identifier The priority of the BSS is to compare the number of the second APs currently working on the channel identified by the identifier and/or the duration of the channel identified by the identifier with a corresponding threshold, if the comparison result is less than Determining, by the threshold, that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be identified by the identifier Established on the channel.
在上述实现方式的基础上, 可选的, 所述确定模块还用于在确定是否允 许所述待建立 BSS在所述标识所标识的信道上建立之前, 根据设定优先级所 需的参数,分别确定所述待建立 BSS的优先级和所述第二 AP所在 BSS的优先 级;  On the basis of the above implementation manner, optionally, the determining module is further configured to: according to parameters required to set a priority, before determining whether to allow the BSS to be established to be established on the channel identified by the identifier, Determining, respectively, a priority of the BSS to be established and a priority of the BSS where the second AP is located;
所述发送模块还用于将所述待建立 BSS的优先级发送给所述第一 AP , 将 所述第二 AP所在 BSS的优先级发送给所述第二 AP。  The sending module is further configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息还包括所述 待建立 BSS的优先级;  On the basis of the foregoing implementation manners, optionally, the BSS establishment request message further includes a priority of the BSS to be established;
所述接收模块还用于在所述确定模块确定是否允许所述待建立 BSS在所 述标识所标识的信道上建立之前, 接收所述第二 AP发送的所述第二 AP所在 BSS的优先级。  The receiving module is further configured to: before the determining module determines whether the BSS to be established is allowed to be established on the channel identified by the identifier, receive a priority of the BSS where the second AP is sent by the second AP .
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所 标识的信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel that is identified by the identifier, the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述标识所标识的信道上建立时,所述 BSS建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first The time when the AP sends the BSS setup request message again.
第九方面提供一种信道选择装置,所述装置为第一接入点 AP或所述装置 设置于所述第一 AP中实现, 所述装置包括:  The ninth aspect provides a channel selection apparatus, where the apparatus is implemented by the first access point AP or the apparatus is disposed in the first AP, and the apparatus includes:
发送模块, 用于向第二 AP发送基本服务集 BSS建立请求消息, 以请求在 所述第二 AP当前使用的信道上建立待建立 BSS; a sending module, configured to send a basic service set BSS setup request message to the second AP, to request Establishing a BSS to be established on the channel currently used by the second AP;
接收模块, 用于接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS建 立回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示 信息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和所 述待建立 BSS的优先级确定的;  a receiving module, configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether the BSS to be established is established on the channel, where the indication information is Determining, by the second AP, the priority of the BSS where the second AP is located and the priority of the BSS to be established;
确定模块, 用于根据所述 BSS建立回复消息的指示, 在所述信道上建立 所述待建立 BSS或者不在所述信道上建立所述待建立 BSS。  And a determining module, configured to establish, according to the indication that the BSS establishes a reply message, the to-be-established BSS on the channel or not to establish the to-be-established BSS on the channel.
在上述实现方式的基础上, 可选的, 所述装置还包括:  On the basis of the above implementation manner, optionally, the device further includes:
获取模块, 用于在所述发送模块发送所述 BSS建立请求消息, 获取当前 工作在所述信道上的第三 AP所在 BSS的优先级,根据当前工作在所述信道上 的第三 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定优先级高于所 述待建立 BSS的优先级的 BSS中的第三 AP作为所述第二 AP。  An acquiring module, configured to send, by the sending module, the BSS setup request message, to obtain a priority of a BSS where a third AP currently working on the channel is located, according to a BSS where a third AP currently working on the channel is located The priority of the BSS to be established, and the third AP in the BSS whose priority is higher than the priority of the BSS to be established is determined as the second AP.
在上述实现方式的基础上, 可选的, 所述获取模块具体用于接收当前工 作在所述信道上的第三 AP分别发送的信标帧, 所述信标帧包括所述第三 AP 所在 BSS的优先级; 或者  On the basis of the foregoing implementation manners, the acquiring module is specifically configured to receive a beacon frame separately sent by a third AP currently working on the channel, where the beacon frame includes the third AP BSS priority; or
所述获取模块具体用于向当前工作在所述信道上的第三 AP 发送查询消 息, 并接收所述第三 AP分别针所述查询消息返回的查询响应消息, 所述查询 响应消息包括所述第三 AP所在 BSS的优先级。  The acquiring module is specifically configured to send a query message to a third AP that is currently working on the channel, and receive a query response message that is sent by the third AP by the query message, where the query response message includes the The priority of the BSS where the third AP is located.
在上述实现方式的基础上, 可选的, 所述发送模块具体用于向当前工作 在所述信道上的第三 AP发送所述 BSS建立请求消息, 以向所述第三 AP中所 在 BSS优先级高于所述待建立 BSS的优先级的所述第二 AP请求在所述第二 AP当前使用的信道上建立所述待建立 BSS。  On the basis of the foregoing implementation manners, the sending module is specifically configured to send the BSS setup request message to a third AP currently working on the channel, to give priority to the BSS in the third AP. The second AP whose level is higher than the priority of the BSS to be established requests to establish the to-be-established BSS on the channel currently used by the second AP.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息包括所述待 建立 BSS的优先级。  On the basis of the foregoing implementation manners, optionally, the BSS setup request message includes a priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS使用所述信道的时长和 /或在所述信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选 择装置再次发送所述 BSS建立请求消息的时间。 在上述实现方式的基础上, 可选的, 所述待建立 BSS的优先级由所述待 建立 BSS中的关联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信 道选择相关的数据标识。 On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the channel selection apparatus resending the station The time at which the BSS establishes the request message. On the basis of the foregoing implementation manners, optionally, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Related data identification.
在上述实现方式的基础上, 可选的, 所述接收模块还用于接收优先级设 置单元发送的通告消息, 所述通告消息包括所述待建立 BSS的优先级; 或者 所述信道选择装置还包括:  On the basis of the above implementation manner, the receiving module is further configured to receive an advertisement message sent by the priority setting unit, where the notification message includes a priority of the BSS to be established; or the channel selection device further Includes:
优先级设定模块, 用于根据邻居 BSS的优先级和设定优先级所需的参数 设定所述待建立 BSS的优先级。  The priority setting module is configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
第十方面提供一种信道选择装置,所述装置为第二接入点 AP或所述装置 设置于所述第二 AP中实现, 所述装置包括:  The tenth aspect provides a channel selection apparatus, where the apparatus is implemented by the second access point AP or the apparatus is disposed in the second AP, and the apparatus includes:
接收模块, 用于接收第一 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息用以所述第一 AP请求在所述第二 AP当前使用的信道上建 立待建立 BSS;  a receiving module, configured to receive a basic service set BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP;
确定模块,用于根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的 优先级确定是否允许所述待建立 BSS在所述信道上建立;  a determining module, configured to determine, according to a priority of the BSS where the second AP is located, and a priority of the BSS to be established, whether to allow the to-be-established BSS to be established on the channel;
发送模块, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回 复消息包括用于指示是否允许所述待建立 BSS 在所述信道上建立的指示信 息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立 所述待建立 BSS。  a sending module, configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is in the Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
在上述实现方式的基础上, 可选的, 所述发送模块还用于在所述接收模 块接收所述 BSS建立请求消息之前, 向所述第一 AP发送信标帧, 所述信标帧 包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级, 确定是否向所述第二 AP发送所述 BSS建立请求消息; 或者  On the basis of the foregoing implementation manner, the sending module is further configured to: before the receiving module receives the BSS setup request message, send a beacon frame to the first AP, where the beacon frame includes The priority of the BSS where the second AP is located, so that the first AP determines whether to send the to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established. BSS establishes a request message; or
所述接收模块还用于在接收所述 BSS建立请求消息之前, 接收所述第一 The receiving module is further configured to receive the first before receiving the BSS setup request message
AP发送的查询消息; 所述发送模块还用于向所述第一 AP返回查询响应消息, 所述查询响应消息包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根 据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定是否向所 述第二 AP发送所述 BSS建立请求消息。 The query message sent by the AP; the sending module is further configured to: return a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the first AP is configured according to the Determining whether the priority of the BSS where the second AP is located and the priority of the BSS to be established, determining whether to send the BSS establishment request message to the second AP.
在上述实现方式的基础上, 可选的, 所述确定模块具体用于将所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级进行比较; 如果比较结果为 所述第二 AP所在 BSS的优先级高于所述待建立 BSS的优先级,确定不允许所 述待建立 BSS在所述信道上建立;如果比较结果为所述第二 AP所在 BSS的优 先级低于所述待建立 BSS的优先级, 丢弃所述 BSS建立请求消息, 或者向所 述第一 AP发送用于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS 的优先级的响应消息。 On the basis of the above implementation manner, optionally, the determining module is specifically configured to use the second The priority of the BSS where the AP is located is compared with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, it is determined that the to-be-established is not allowed. The BSS is established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, the BSS establishment request message is discarded, or is sent to the first AP. And a response message indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 所述 BSS建立请求消息还包括所述 待建立 BSS的优先级。  On the basis of the foregoing implementation manners, optionally, the BSS setup request message further includes a priority of the BSS to be established.
在上述实现方式的基础上, 可选的, 在所述指示信息指示允许所述待建 立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS使用所述信道的时长和 /或在所述信道上允许使用的带宽。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the The length of the channel and/or the bandwidth allowed on the channel.
在上述实现方式的基础上, 可选的, 在所述指示信息指示不允许所述待 建立 BSS在所述信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选 择装置再次发送所述 BSS建立请求消息的时间。  On the basis of the foregoing implementation manner, optionally, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the channel selection device resending the station The time at which the BSS establishes the request message.
第十一方面提供一种信道选择装置,所述装置为第一接入点 AP或所述装 置设置于所述第一 AP中实现, 所述装置包括:  The eleventh aspect provides a channel selection device, where the device is implemented by the first access point AP or the device is disposed in the first AP, and the device includes:
发射器, 用于向信道选择控制单元发送基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识;  a transmitter, configured to send a basic service set BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
接收器, 用于接收所述信道选择控制单元发送的 BSS建立回复消息, 所 述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标 识的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据当 前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定的;  a receiver, configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier; The indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
处理器, 用于根据所述 BSS建立回复消息的指示, 在所述标识所标识的 信道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待建 立 BSS。  The processor is configured to establish the to-be-established BSS on the channel identified by the identifier or not to establish the to-be-established BSS on the channel identified by the identifier according to the indication that the BSS establishes a reply message.
第十二方面提供一种信道选择控制单元, 包括:  A twelfth aspect provides a channel selection control unit, including:
接收器, 用于接收第一接入点 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识;  a receiver, configured to receive a basic service set BSS setup request message sent by the first access point AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS;
处理器, 用于根据当前工作在所述标识所标识的信道上的第二 AP 所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所 述标识所标识的信道上建立; a processor, configured to: according to a second AP that is currently working on the channel identified by the identifier Determining the priority of the BSS and the priority of the BSS to be established whether to allow the BSS to be established to be established on the channel identified by the identifier;
发射器, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回复 消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信道上建立 的指示信息, 以使所述第一 AP 在所述标识所标识的信道上建立所述待建立 BSS或不在所述标识所标识的信道上建立所述待建立 BSS。  a transmitter, configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, so that The first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
第十三方面提供一种信道选择装置,所述装置为第一接入点 AP或所述装 置设置于所述第一 AP中实现, 所述装置包括:  The thirteenth aspect provides a channel selection device, where the device is implemented by the first access point AP or the device is disposed in the first AP, and the device includes:
发射器, 用于向第二 AP发送基本服务集 BSS建立请求消息, 以请求在所 述第二 AP当前使用的信道上建立待建立 BSS;  a transmitter, configured to send a basic service set BSS setup request message to the second AP, to request to establish a BSS to be established on a channel currently used by the second AP;
接收器, 用于接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS建立 回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信 息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和所述 待建立 BSS的优先级确定的;  a receiver, configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel; the indication information is Determining, by the second AP, the priority of the BSS where the second AP is located and the priority of the BSS to be established;
处理器, 用于根据所述 BSS建立回复消息的指示, 在所述信道上建立所 述待建立 BSS或者不在所述信道上建立所述待建立 BSS。  And a processor, configured to establish, according to the indication that the BSS establishes a reply message, the to-be-established BSS on the channel or not to establish the to-be-established BSS on the channel.
第十四方面提供一种信道选择装置,所述装置为第二接入点 AP或所述装 置设置于所述第二 AP中实现, 所述装置包括:  The fourteenth aspect provides a channel selection device, where the device is implemented by the second access point AP or the device is disposed in the second AP, and the device includes:
接收器, 用于接收第一 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息用以所述第一 AP请求在所述第二 AP当前使用的信道上建 立待建立 BSS;  a receiver, configured to receive a basic service set BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP;
处理器,用于根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优 先级确定是否允许所述待建立 BSS在所述信道上建立;  a processor, configured to determine, according to a priority of the BSS where the second AP is located, and a priority of the BSS to be established, whether to allow the to-be-established BSS to be established on the channel;
发射器, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回复 消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立所述 待建立 BSS。  a transmitter, configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is in the Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
本发明实施例提供的信道选择方法及设备,AP发送 BSS建立请求消息后, 信道选择控制单元或当前工作在所述信道上的 AP基于 BSS优先级的高低确定 是否允许该 BSS在所述信道上建立, 并返回指示是否允许待建立 BSS在所述 信道上建立的指示信息,而发送 BSS建立请求消息的 AP根据该指示信息在所 述信道上建立或不建立 BSS , 也就是根据指示为待建立 BSS选择或不选择该 信道, 进而可以在多个 BSS共享相同信道的情况下, 为待建立 BSS选择较佳 信道, 有利于保证 BSS的服务质量。 附图说明 The channel selection method and device provided by the embodiment of the present invention, after the AP sends the BSS setup request message, the channel selection control unit or the AP currently working on the channel determines whether to allow the BSS to be on the channel based on the BSS priority level. Establishing, and returning an indication of whether to allow the BSS to be established in the The indication information is established on the channel, and the AP that sends the BSS setup request message establishes or does not establish a BSS on the channel according to the indication information, that is, selects or selects the channel for the BSS to be established according to the indication, and thus may be in multiple When the BSS shares the same channel, selecting a better channel for the BSS to be established is beneficial to guarantee the quality of service of the BSS. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1A为本发明实施例提供的一种信道选择的应用场景示意图; 图 1B为本发明实施例提供的一种信道选择方法的流程图;  1A is a schematic diagram of an application scenario of channel selection according to an embodiment of the present invention; FIG. 1B is a flowchart of a channel selection method according to an embodiment of the present invention;
图 2为本发明实施例提供的另一种信道选择方法的流程图;  2 is a flowchart of another channel selection method according to an embodiment of the present invention;
图 3A为本发明实施例提供的另一种信道选择的应用场景示意图; 图 3B为本发明实施例提供的又一种信道选择方法的流程图;  3A is a schematic diagram of another application scenario of channel selection according to an embodiment of the present invention; FIG. 3B is a flowchart of still another channel selection method according to an embodiment of the present invention;
图 4为本发明实施例提供的又一种信道选择方法的流程图;  4 is a flowchart of still another channel selection method according to an embodiment of the present invention;
图 5为本发明实施例提供的一种信道选择装置的结构示意图;  FIG. 5 is a schematic structural diagram of a channel selection apparatus according to an embodiment of the present disclosure;
图 6为本发明实施例提供的另一种信道选择装置的结构示意图; 图 7为本发明实施例提供的一种信道选择控制单元的结构示意图; 图 8为本发明实施例提供的另一种信道选择控制单元的结构示意图; 图 9为本发明实施例提供的又一种信道选择装置的结构示意图; 图 10为本发明实施例提供的又一种信道选择装置的结构示意图; 图 11为本发明实施例提供的又一种信道选择装置的结构示意图; 图 12为本发明实施例提供的又一种信道选择装置的结构示意图。  FIG. 6 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a channel selection control unit according to an embodiment of the present invention; FIG. 9 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention; FIG. 10 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention; A schematic diagram of a structure of a channel selection apparatus according to another embodiment of the present invention; FIG. 12 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. Based on the embodiments of the present invention, those of ordinary skill in the art obtain the following without creative efforts. All other embodiments obtained are within the scope of the invention.
在本发明实施例中, 首先提出了无线局域中 BSS优先级划分的概念以及 BSS优先级的标识和设置方法。 BSS享有更高的优先级意味着属于该 BSS的设 备会比其他 BSS的设备有优先权使用或者占用某些频谱资源。之后,基于 BSS 优先级, 本发明实施例还提出了 BSS信道选择方法。 下面首先对 BSS优先级 有关的信息进行介绍。  In the embodiment of the present invention, the concept of BSS priority division in the wireless local area and the identification and setting method of the BSS priority are first proposed. A higher priority for BSS means that devices belonging to the BSS will have priority over other BSS devices or occupy certain spectrum resources. Then, based on the BSS priority, the embodiment of the present invention further proposes a BSS channel selection method. The following is a description of the BSS priority related information.
BSS优先级是针对各 BSS设定优先级。 不同 BSS的优先级有高有低。 同 一 BSS的优先级也会因为该 BSS所执行的策略的不同而不同。 举例说明: 在 考虑接入控制的时候, 某 BSS的优先级可能是最高的, 也就是说该 BSS中的 各种设备可以优先使用信道; 但在考虑信道切换的时候, 该 BSS优先权可以 是最低的, 也就是说该 BSS有可能会被更高优先级的 BSS要求切换信道。 这 样就可以根据 BSS所要执行的策略更灵活的设置优先级。  The BSS priority is set for each BSS. Different BSS priorities are high or low. The priority of the same BSS will also vary depending on the strategy that the BSS performs. For example: When considering access control, the priority of a BSS may be the highest, that is, the various devices in the BSS may use the channel preferentially; but when considering channel switching, the BSS priority may be The lowest, that is to say, the BSS may be required to switch channels by the higher priority BSS. This allows for more flexible prioritization based on the policies that the BSS will perform.
一个 BSS的优先级可以由一个或者一组数据来标识。例如,考虑一个 BSS 中的关联用户数、 该 BSS中的活跃用户数或指定的与信道选择相关的数据等 来标识该 BSS的优先级。 又例如, 一个 BSS中的关联用户数、 该 BSS中的活 跃用户数可以同时用来决定该 BSS的优先级。 举例说明, 活跃用户数目越多 则 BSS优先级越高, 活跃用户数目一样时, 关联用户数目越多则 BSS优先级 越高。 除上述举例之外, BSS的优先级还可由该 BSS中的关联用户数、 该 BSS 中的活跃用户数和指定的与信道选择相关的数据同时标识。 另外, 除了关联 用户数、 活跃用户数和指定的与信道选择相关的数据之外, 其他数据也可以 用于标识 BSS优先级。  The priority of a BSS can be identified by one or a set of data. For example, consider the number of associated users in a BSS, the number of active users in the BSS, or the specified data related to channel selection, etc. to identify the priority of the BSS. For another example, the number of associated users in a BSS and the number of active users in the BSS can be used simultaneously to determine the priority of the BSS. For example, the higher the number of active users, the higher the BSS priority. When the number of active users is the same, the higher the number of associated users, the higher the BSS priority. In addition to the above examples, the priority of the BSS may also be identified by the number of associated users in the BSS, the number of active users in the BSS, and the specified data associated with channel selection. In addition, in addition to the number of associated users, the number of active users, and the specified data related to channel selection, other data can also be used to identify the BSS priority.
BSS的优先级由该 BSS中的 AP和 STA承载。 也就是说, 高优先级 BSS中 的 AP和 STA的优先级高于低优先级 BSS中的 AP和 STA。 BSS优先级是 BSS的 属性, 由 BSS内的各种设备承载, 当某一设备脱离当前 BSS后, 则失去相应 优先级。  The priority of the BSS is carried by the AP and the STA in the BSS. That is, the APs and STAs in the high-priority BSS have higher priority than the APs and STAs in the low-priority BSS. The BSS priority is the attribute of the BSS and is carried by various devices in the BSS. When a device leaves the current BSS, the corresponding priority is lost.
基于上述定义, 本发明实施例提供一种小区优先级设置方法, 包括: 优先级设置单元获取设定优先级所需的各 BSS的参数或设定优先级所需 的策略; 优先级设置单元根据获取的各 BSS的参数或所述策略, 为各 BSS设 定优先级。  Based on the above definition, the embodiment of the present invention provides a cell priority setting method, including: a priority setting unit acquires a parameter of each BSS required to set a priority or a policy required to set a priority; a priority setting unit according to The acquired parameters of each BSS or the policy are used to set priorities for each BSS.
其中, 所述优先级设置单元优选为 AC, 但不限于此。 下面以优先级设置 单元为 AC为例进行详细说明。 The priority setting unit is preferably AC, but is not limited thereto. Below is set by priority The unit is an AC as an example for detailed description.
该设置小区优先级的方法属于中心控制方式。具体来说, 由 AC基于预先 设定的参数为各 BSS设置优先级,或者由 AC基于预先设定的策略为各 BSS设 置优先级。 所述设置优先级所需的参数可以根据应用场景的不同而不同。 举 例说明, 以信道切换为例, 设置 BSS优先级所需的参数可以包括: BSS 内待 传输的上行以及下行业务对应的缓存队列的长度, 或者是多种业务对应的缓 存队列长度之和等等。其中 802. 11标准将业务包划分为 4类:语音(voice ), 视频 (video ) , 背景 (background ) , 尽力而为 (best effort ) 。 业务对 应的缓存队列的长度越长, BSS 优先级越高。 又例如, 在其他应用场景中, 设置 BSS优先级所需的参数可以包括: 关联 STA数目、 流量、 活跃的 STA数 目等。 所述设置优先级所需的策略可以是根据各 BSS中 STA的付费信息或各 BSS所属运营商等信息设定的。  The method of setting the cell priority belongs to the central control mode. Specifically, the AC sets a priority for each BSS based on a preset parameter, or the AC sets a priority for each BSS based on a preset policy. The parameters required to set the priority may be different depending on the application scenario. For example, the channel switching is used as an example. The parameters required for setting the BSS priority may include: the length of the buffer queue to be transmitted in the BSS and the buffer queue corresponding to the downlink service, or the sum of the buffer queue lengths corresponding to multiple services, and the like. . The 802.11 standard divides business packages into four categories: voice, video, background, and best effort. The longer the cache queue corresponding to the service, the higher the BSS priority. For example, in other application scenarios, parameters required for setting a BSS priority may include: number of associated STAs, traffic, number of active STAs, and the like. The policy required to set the priority may be set according to the payment information of the STA in each BSS or the information of the operator to which the BSS belongs.
其中, AC为各 BSS设定优先级之后,可以将各 BSS的优先级发送给各 BSS 中的 AP, 以使各 AP获知所在 BSS的优先级, 进而基于 BSS优先级进行相应 操作。  After the priority is set for each BSS, the AC can send the priority of each BSS to the APs in each BSS, so that each AP knows the priority of the BSS, and then performs corresponding operations based on the BSS priority.
基于上述定义, 本发明实施例再提供一种小区优先级设置方法, 包括: AP获取邻居 BSS的优先级和邻居 BSS设定优先级使用的参数的取值; 然后, AP根据本地所述参数的取值、 所述邻居 BSS的优先级和邻居 BSS设定优先级 使用的参数的取值, 确定该 AP所在 BSS的优先级。  Based on the above definition, the embodiment of the present invention further provides a method for setting a cell priority, which includes: an AP acquiring a priority of a neighbor BSS and a parameter used by a neighbor BSS to set a priority; and then, the AP according to the local parameter The value, the priority of the neighbor BSS, and the value of the parameter used by the neighbor BSS to set the priority determine the priority of the BSS where the AP is located.
该设置小区优先级的方法属于分布式方式。具体的,待设置优先级的 BSS 中的 AP通过参考邻居 BSS的优先级, 以及邻居 BSS设置优先级使用的相关参 数的取值和本地相同参数的取值, 设定自身所在 BSS的优先级。 可选的, AP 在获取邻居 BSS的优先级之前,可以发送优先级获取请求给 AC或邻居 BSS中 的 AP, 以请求邻居 BSS的优先级和邻居 BSS设定优先级使用的参数的取值, 然后接收 AC或邻居 BSS中的 AP返回的回复信息, 从中获取邻居 BSS的优先 级和设定优先级使用的参数的取值。  The method of setting the cell priority belongs to a distributed mode. Specifically, the AP in the BSS whose priority is set refers to the priority of the neighbor BSS, and the value of the related parameter used by the neighbor BSS setting priority and the value of the local same parameter, and the priority of the BSS is set. Optionally, before obtaining the priority of the neighbor BSS, the AP may send a priority acquisition request to the AP in the AC or the neighbor BSS to request the priority of the neighbor BSS and the value of the parameter used by the neighbor BSS to set the priority. Then, the reply information returned by the AP in the AC or the neighbor BSS is received, and the priority of the neighbor BSS and the value of the parameter used for setting the priority are obtained.
对 BSS中的 STA可以采用以下方式获知所在 BSS的优先级。  The STAs in the BSS can be used to obtain the priority of the BSS in the following manner.
主动获取方式: STA发送优先级请求消息给 AP。 该优先级请求消息可以 是一个新的命令, 或者是包含在控制帧、 管理帧或数据帧中的新的域。 例如, 该优先级请求消息可以夹带在关联请求或探测请求 (probe request ) 中。 该 优先级请求消息包含 BSS的 ID及其它相关参数等信息。 AP收到优先级请求 消息后, 将当前 BSS的优先级反馈给 STA。 Active acquisition mode: The STA sends a priority request message to the AP. The priority request message can be a new command or a new field contained in a control frame, a management frame, or a data frame. For example, the priority request message can be enqueued in an association request or a probe request. The The priority request message contains information such as the ID of the BSS and other related parameters. After receiving the priority request message, the AP feeds back the priority of the current BSS to the STA.
被动获取方式: AP在信标 (beacon ) 帧、 管理帧、 控制帧或数据帧中广 播当前 BSS的优先级信息。 STA接收 AP广播的信标帧、 管理帧、 控制帧或数 据帧, 从中获取当前 BSS的优先级信息。  Passive acquisition mode: The AP broadcasts the priority information of the current BSS in a beacon frame, management frame, control frame, or data frame. The STA receives the beacon frame, the management frame, the control frame, or the data frame broadcast by the AP, and obtains the priority information of the current BSS from the STA.
基于上述 BSS优先级, 本发明实施例还提供了一种信道选择方法, 该信 道选择方法用于为待建立 BSS选择信道, 具体可由信道选择控制单元对待建 立 BSS进行信道选择, 是一种集中控制方式的信道选择方法。 其中, 信道选 择控制单元可以是 AC , 或者可以设置于 AC中实现, 或者可以是独立于 AC的 控制单元等。 以信道选择控制单元为 AC为例, 一种信道选择的应用场景如图 1A所示, 该应用场景包括 AC、 分别与 AC连接的第一 AP和第二 AP; 其中, 第一 AP向 AC请求在第二 AP工作的信道上建立 BSS (即待建立 BSS ) , AC负 责对待建立 BSS选择信道进行管理。 在此说明, 根据信道选择控制单元在实 现上的不同, 信道选择控制单元与第二 AP的连接关系并不限于图 1A所示, 例如如果信道选择控制单元上预先存储有第二 AP及第二 AP所在 BSS的有关 信息, 则信道选择控制单元可以不与第二 AP连接。  Based on the foregoing BSS priority, the embodiment of the present invention further provides a channel selection method, where the channel selection method is used to select a channel for a BSS to be established, and the channel selection control unit may perform channel selection for establishing a BSS, which is a centralized control. The channel selection method of the mode. The channel selection control unit may be an AC, or may be implemented in an AC, or may be an AC independent control unit or the like. As shown in FIG. 1A, the application scenario of the channel selection control unit is as shown in FIG. 1A. The application scenario includes an AC, a first AP and a second AP respectively connected to the AC, where the first AP requests the AC. The BSS is established on the channel on which the second AP works (ie, the BSS to be established), and the AC is responsible for managing the establishment of the BSS selection channel. It is noted that, according to different implementations of the channel selection control unit, the connection relationship between the channel selection control unit and the second AP is not limited to that shown in FIG. 1A, for example, if the channel selection control unit stores the second AP and the second in advance. The channel selection control unit may not be connected to the second AP if the information about the BSS of the AP is located.
基于但不限于图 1A所示应用场景,本发明实施例提供的一种信道选择方 法如图 1B所示, 所述方法包括:  The channel selection method provided by the embodiment of the present invention is as shown in FIG. 1B, and the method includes:
101、 第一 AP向信道选择控制单元发送 BSS建立请求消息, 所述 BSS建 立请求消息包括所述待建立 BSS所需的信道的标识。  101. The first AP sends a BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish the BSS.
102、 第一 AP接收所述信道选择控制单元发送的 BSS建立回复消息, 所 述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标 识的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据当 前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定的。  The first AP receives the BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier; The indication information is that the channel selection control unit determines the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established.
103、 第一 AP根据所述 BSS建立回复消息的指示, 在所述标识所标识的 信道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待建 立 BSS。  103. The first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier according to the indication that the BSS establishes a reply message.
在本实施例中, 将需要建立的 BSS称为待建立 BSS , 将发起 BSS建立请 求消息的 AP称为第一 AP。 当 BSS建立时, 第一 AP向信道选择控制单元发送 BSS建立请求消息, 以告知信道选择控制单元建立 BSS所需的信道。 可选的, BSS建立请求消息还可以包括建立 BSS所需的带宽等信息。 In this embodiment, the BSS that needs to be established is referred to as a BSS to be established, and the AP that initiates the BSS establishment request message is referred to as a first AP. When the BSS is established, the first AP sends to the channel selection control unit The BSS establishes a request message to inform the channel selection control unit of the channel required to establish the BSS. Optionally, the BSS setup request message may further include information such as bandwidth required for establishing the BSS.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP, 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP, 或者是提供无线接入的商户部署的 AP, 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
信道选择控制单元接收到第一 AP发送的 BSS建立请求消息后, 根据 BSS 建立请求消息包括的所述待建立 BSS所需的信道的标识,确定所述待建立 BSS 所需的信道 (即所述标识所标识的信道) 及当前工作在所述标识所标识的信 道上的第二 AP所在的 BSS, 然后根据当前工作在所述标识所标识的信道上的 第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建 立 BSS在所述信道上建立。然后, 信道选择控制单元向第一 AP返回 BSS建立 回复消息,并在该 BSS建立回复消息中携带用于指示是否允许所述待建立 BSS 在所述标识所标识的信道上建立的指示信息。  After receiving the BSS setup request message sent by the first AP, the channel selection control unit determines the channel required for the BSS to be established according to the identifier of the channel required to establish the BSS included in the BSS setup request message (ie, the Identifying the identified channel) and the BSS where the second AP currently working on the channel identified by the identifier is located, and then according to the priority and location of the BSS where the second AP currently working on the channel identified by the identifier is located Determining the priority of establishing the BSS determines whether the BSS to be established is allowed to be established on the channel. Then, the channel selection control unit returns a BSS setup reply message to the first AP, and carries the indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier in the BSS setup reply message.
举例说明, 如果所述待建立 BSS的优先级高于当前工作在所述标识所标 识的信道上的所述第二 AP所在 BSS的优先级,则信道选择控制单元可以确定 允许所述待建立 BSS在所述标识所标识的信道上建立; 反之, 信道选择控制 单元确定不允许所述待建立 BSS在所述标识所标识的信道上建立。  For example, if the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit may determine to allow the BSS to be established. Established on the channel identified by the identifier; otherwise, the channel selection control unit determines that the BSS to be established is not allowed to be established on the channel identified by the identifier.
举例说明: 如果所述待建立 BSS的优先级高于当前工作在所述标识所标 识的信道上的所述第二 AP所在 BSS的优先级,则信道选择控制单元可以确定 允许所述待建立 BSS在所述标识所标识的信道上建立; 如果所述待建立 BSS 的优先级低于当前工作在所述标识所标识的信道上的所述第二 AP所在 BSS的 优先级, 则信道选择控制单元将当前工作在所述标识所标识的信道上的所述 第二 AP所在 BSS的数量和 /或占用所述标识所标识的信道的时长与对应的门 限进行比较, 如果比较结果为小于所述门限, 则确定允许所述待建立 BSS在 所述标识所标识的信道上建立; 如果比较结果为大于或等于所述门限, 则确 定不允许所述待建立 BSS在所述标识所标识的信道上建立。  For example: if the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit may determine to allow the BSS to be established. Established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit Comparing the number of BSSs of the second AP currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold Determining that the BSS to be established is allowed to be established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier .
在一可选实施方式中, 信道选择控制单元预先知道待建立 BSS的优先级 和当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级,则信道 选择控制单元可以直接根据当前工作在所述标识所标识的信道上的第二 AP 所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS 在所述标识所标识的信道上建立。 例如, 在由信道选择控制单元以中心控制 方式设置各 BSS优先级的情况下, 信道选择控制单元会预先知道各 BSS的优 先级。 In an optional implementation manner, the channel selection control unit knows in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, then the channel The selection control unit may determine, according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established, whether to allow the BSS to be established to be identified by the identifier. Established on the channel. For example, in a case where each BSS priority is set by the channel selection control unit in a central control manner, the channel selection control unit knows the priority of each BSS in advance.
在一可选实施方式中, 信道选择控制单元预先不知道待建立 BSS的优先 级和当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级,则第 一 AP可以在发送给信道选择控制单元的 BSS建立请求消息中携带所述待建立 BSS 的优先级, 以使信道选择控制单元获知待建立 BSS 的优先级。 另外, 信 道选择控制单元还会在根据当前工作在所述标识所标识的信道上的第二 AP 所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS 在所述信道上建立之前, 获取当前工作在所述标识所标识的信道上的第二 AP 所在 BSS的优先级。 例如, 信道选择控制单元可以向第二 AP发送获取请求, 然后接收 AP返回的回复消息,回复消息中携带有第二 AP所在 BSS的优先级。  In an optional implementation manner, the channel selection control unit does not know in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, and the first AP may send The BSS establishment request message of the channel selection control unit carries the priority of the BSS to be established, so that the channel selection control unit knows the priority of the BSS to be established. In addition, the channel selection control unit further determines whether to allow the BSS to be established in the priority according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Before the establishment on the channel, obtain the priority of the BSS where the second AP currently working on the channel identified by the identifier is located. For example, the channel selection control unit may send an acquisition request to the second AP, and then receive a reply message returned by the AP, where the reply message carries the priority of the BSS where the second AP is located.
第一 AP接收到信道选择控制单元返回的 BSS建立回复消息后, 根据该 After the first AP receives the BSS setup reply message returned by the channel selection control unit, according to the
BSS 建立回复消息的指示, 在所述标识所标识的信道上建立所述待建立 BSS 或者不在所述标识所标识的信道上建立所述待建立 BSS。 具体的, 如果 BSS 建立回复消息指示允许所述待建立 BSS在所述信道上建立,则所述第一 AP在 所述标识所标识的信道上建立所述待建立 BSS; 如果 BSS建立回复消息指示 不允许所述待建立 BSS在所述标识所标识的信道上建立,则所述第一 AP不在 所述标识所标识的信道上建立所述待建立 BSS。 The BSS establishes an indication of the reply message, and establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier. Specifically, if the BSS setup reply message indicates that the BSS to be established is allowed to be established on the channel, the first AP establishes the to-be-established BSS on the channel identified by the identifier; if the BSS establishes a reply message indication The BSS to be established is not allowed to be established on the channel identified by the identifier, and the first AP does not establish the BSS to be established on the channel identified by the identifier.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 信道选择控制单元返回的 BSS建立回复消息还包括: 允许所 述待建立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所标识的 信道上允许使用的带宽。 在此说明, 信道选择控制单元指示在所述标识所标 识的信道上允许使用的带宽可能不等于第一 AP请求使用的带宽,例如可能小 于第一 AP请求使用的带宽。  In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel, the BSS setup reply message returned by the channel selection control unit further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity. It is explained herein that the channel selection control unit indicates that the bandwidth allowed to be used on the channel identified by the identity may not be equal to the bandwidth requested by the first AP, e.g., may be smaller than the bandwidth requested by the first AP.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP 再次发送所述 BSS建立请求消息的时间。 在此说明, 本实施例中所述待建立 BSS的优先级由所述待建立 BSS中的 关联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信道选择相关的 数据标识。 In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message. The priority of the BSS to be established in the embodiment is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data identifier related to channel selection. .
另外, 在由信道选择控制单元以中心控制方式设置各 BSS的优先级的情 况下, 本实施例中的第一 AP还会接收信道选择控制单元发送的通告消息, 所 述通告消息包括所述待建立 BSS的优先级。或者,在以分布式方式设置各 BSS 的优先级的情况下,本实施例中的第一 AP还会根据邻居 BSS的优先级和设定 优先级所需的参数设定所述待建立 BSS的优先级。 在该实施方式中, 信道选 择控制单元可以同时作为优先级设置单元实现, 关于该部分内容可参见前述 描述, 在此不再赘述。  In addition, in a case where the priority of each BSS is set by the channel selection control unit in a central control manner, the first AP in this embodiment also receives an advertisement message sent by the channel selection control unit, where the advertisement message includes the Establish the priority of the BSS. Alternatively, in a case where the priority of each BSS is set in a distributed manner, the first AP in this embodiment also sets the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority. priority. In this embodiment, the channel selection control unit can be implemented as a priority setting unit at the same time. For the content of the part, refer to the foregoing description, and details are not described herein again.
在此说明, 所述信道选择控制单元可以是 AC , 或者可以设置于 AC中实 现, 或者可以是独立于 AC的控制单元等。  Herein, the channel selection control unit may be AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
在本实施例中, 当在 BSS建立时, 当需要建立 BSS时, AP向信道选择控 制单元发送 BSS建立请求消息, 告知信道选择控制单元所需的信道, 使得信 道选择控制单元可以根据当前工作在该信道上的 AP所在 BSS的优先级和该待 建立 BSS的优先级, 确定是否允许该待建立 BSS在该信道上建立, 并向待建 立 BSS中的 AP返回指示信息, 待建立 BSS中的 AP根据指示, 在该信道上建 立或不建立所述待建立 BSS , 即为该待建立 BSS选择或者不选择该信道, 这 样可以在多个 BSS共享信道的情况下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间产生严重干扰等。  In this embodiment, when the BSS is established, when the BSS needs to be established, the AP sends a BSS setup request message to the channel selection control unit to inform the channel selection control unit of the required channel, so that the channel selection control unit can work according to the current The priority of the BSS where the AP is located on the channel and the priority of the BSS to be established, determining whether the BSS to be established is allowed to be established on the channel, and returning indication information to the AP in the BSS to be established, and the AP in the BSS is to be established. According to the indication, the BSS to be established is established or not established on the channel, that is, the channel is selected or not selected for the BSS to be established, so that a preferred channel may be selected for the BSS to be established if multiple BSSs share the channel. , to ensure the quality of service of each BSS, to avoid serious interference between the BSS.
图 2为本发明实施例提供的另一种信道选择方法的流程图。如图 2所示, 所述方法包括:  FIG. 2 is a flowchart of another channel selection method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
201、信道选择控制单元接收第一 AP发送的 BSS建立请求消息,所述 BSS 建立请求消息包括待建立 BSS所需的信道的标识。  201. The channel selection control unit receives a BSS setup request message sent by the first AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS.
202、信道选择控制单元根据当前工作在所述标识所标识的信道上的第二 202. The channel selection control unit is configured to perform a second operation on the channel identified by the identifier.
AP所在 BSS 的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上建立。 The priority of the BSS where the AP is located and the priority of the BSS to be established determine whether the BSS to be established is allowed to be established on the channel identified by the identifier.
203、信道选择控制单元向所述第一 AP发送 BSS建立回复消息,所述 BSS 建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信 道上建立的指示信息, 以使所述第一 AP在所述标识所标识的信道上建立所述 待建立 BSS或不在所述标识所标识的信道上建立所述待建立 BSS。 本实施例与上述实施例提供的信道选择方法相适应, 是从信道选择控制 单元的角度进行的描述, 所述信道选择控制单元主要用于对待建立 BSS进行 信道选择, 可以设置于 AC中实现, 或者可以作为 AC实现, 还可以是任何可 以实现本实施例提供的方法流程的独立于 AC的控制单元。 203. The channel selection control unit sends a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, Causing the first AP to establish the channel on the channel identified by the identifier The BSS to be established is established or not established on the channel identified by the identifier. The present embodiment is adapted to the channel selection method provided by the foregoing embodiment, and is described from the perspective of a channel selection control unit. The channel selection control unit is mainly used to perform channel selection for establishing a BSS, and can be implemented in an AC. Or it can be implemented as an AC, and can also be any AC-independent control unit that can implement the method flow provided by this embodiment.
在本实施例中, 将需要建立的 BSS称为待建立 BSS, 将发送 BSS建立请 求消息的 AP称为第一 AP。 当 BSS建立时, 第一 AP向信道选择控制单元发送 BSS建立请求消息, 以告知信道选择控制单元建立 BSS所需的信道。 可选的, BSS建立请求消息还可以包括建立 BSS所需的带宽等信息。  In this embodiment, the BSS to be established is referred to as the BSS to be established, and the AP that sends the BSS setup request message is referred to as the first AP. When the BSS is established, the first AP sends a BSS Setup Request message to the channel selection control unit to inform the channel selection control unit of the channel required for establishing the BSS. Optionally, the BSS setup request message may further include information such as bandwidth required for establishing the BSS.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP, 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP, 或者是提供无线接入的商户部署的 AP, 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
信道选择控制单元接收到第一 AP发送的 BSS建立请求消息后, 根据 BSS 建立请求消息包括的所述待建立 BSS所需的信道的标识,确定所述待建立 BSS 所需的信道 (即所述标识所标识的信道) 及当前工作在所述标识所标识的信 道上的第二 AP所在的 BSS, 然后根据当前工作在所述标识所标识的信道上的 第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建 立 BSS在所述标识所标识的信道上建立。 然后, 信道选择控制单元向第一 AP 返回 BSS建立回复消息, 并在该 BSS建立回复消息中携带用于指示是否允许 所述待建立 BSS在所述标识所标识的信道上建立的指示信息。  After receiving the BSS setup request message sent by the first AP, the channel selection control unit determines the channel required for the BSS to be established according to the identifier of the channel required to establish the BSS included in the BSS setup request message (ie, the Identifying the identified channel) and the BSS where the second AP currently working on the channel identified by the identifier is located, and then according to the priority and location of the BSS where the second AP currently working on the channel identified by the identifier is located Determining the priority of establishing the BSS determines whether the BSS to be established is allowed to be established on the channel identified by the identifier. Then, the channel selection control unit returns a BSS setup reply message to the first AP, and carries indication information indicating whether to allow the BSS to be established to be established on the channel identified by the identifier in the BSS setup reply message.
举例说明, 如果所述待建立 BSS的优先级高于当前工作在所述标识所标 识的信道上的所述第二 AP所在 BSS的优先级,则信道选择控制单元可以确定 允许所述待建立 BSS在所述标识所标识的信道上建立; 反之, 信道选择控制 单元确定不允许所述待建立 BSS在所述标识所标识的信道上建立。  For example, if the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit may determine to allow the BSS to be established. Established on the channel identified by the identifier; otherwise, the channel selection control unit determines that the BSS to be established is not allowed to be established on the channel identified by the identifier.
举例说明: 如果所述待建立 BSS的优先级高于当前工作在所述标识所标 识的信道上的所述第二 AP所在 BSS的优先级,则信道选择控制单元可以确定 允许所述待建立 BSS在所述标识所标识的信道上建立; 如果所述待建立 BSS 的优先级低于当前工作在所述标识所标识的信道上的所述第二 AP所在 BSS的 优先级, 则信道选择控制单元将当前工作在所述标识所标识的信道上的所述 第二 AP的数量和 /或占用所述标识所标识的信道的时长与对应的门限进行比 较, 如果比较结果为小于所述门限, 则确定允许所述待建立 BSS在所述标识 所标识的信道上建立; 如果比较结果为大于或等于所述门限, 则确定不允许 所述待建立 BSS在所述标识所标识的信道上建立。 在此说明, 当前工作在所 述标识所标识的信道上的第二 AP的数量,等于当前所述信道上的 BSS的数量。 For example: if the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, the channel selection control unit may determine to allow the BSS to be established. Establishing on the channel identified by the identifier; if the priority of the BSS to be established is lower than the BSS of the second AP currently working on the channel identified by the identifier Priority, the channel selection control unit compares the number of the second AP currently working on the channel identified by the identifier and/or the duration of the channel identified by the identifier with a corresponding threshold, if If the result is less than the threshold, it is determined that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be in the identifier Established on the identified channel. It is noted herein that the number of second APs currently operating on the channel identified by the identity is equal to the number of BSSs on the current channel.
除上述列举的方式之外,在待建立 BSS的优先级低于第二 AP所在 BSS的 优先级的情况下, 信道选择控制单元还可以结合其他因素, 例如网络拥塞状 况或其他策略来确定是否允许待建立 BSS在所述标识所标识的信道上建立。  In addition to the manners listed above, in the case where the priority of the BSS to be established is lower than the priority of the BSS where the second AP is located, the channel selection control unit may also determine whether to allow, in combination with other factors, such as network congestion conditions or other policies. The BSS to be established is established on the channel identified by the identifier.
在一可选实施方式中, 信道选择控制单元预先知道待建立 BSS的优先级 和当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级,则信道 选择控制单元可以直接根据当前工作在所述标识所标识的信道上的第二 AP 所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS 在所述信道上建立。例如, 信道选择控制单元会根据设定优先级所需的参数, 分别确定待建立 BSS的优先级和第二 AP所在 BSS的优先级, 然后将待建立 BSS的优先级发送给第一 AP, 将第二 AP所在 BSS的优先级发送给第二 AP。 例如, 信道选择控制单元可以向第一 AP和第二 AP发送通告消息, 在所述通 告消息中携带对应 BSS的优先级。 即由信道选择控制单元以中心控制方式设 置各 BSS优先级。  In an optional implementation manner, the channel selection control unit knows in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, and the channel selection control unit may directly The priority of the BSS where the second AP is currently working on the channel identified by the identifier and the priority of the BSS to be established determine whether the BSS to be established is allowed to be established on the channel. For example, the channel selection control unit determines the priority of the BSS to be established and the priority of the BSS where the second AP is located according to the parameters required for setting the priority, and then sends the priority of the BSS to be established to the first AP. The priority of the BSS where the second AP is located is sent to the second AP. For example, the channel selection control unit may send an advertisement message to the first AP and the second AP, and carry the priority of the corresponding BSS in the advertisement message. That is, the BSS priority is set by the channel selection control unit in a central control manner.
在一可选实施方式中, 信道选择控制单元预先不知道待建立 BSS的优先 级和当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级,则第 一 AP可以在发送给 AC的 BSS建立请求消息中携带所述待建立 BSS的优先级, 以使信道选择控制单元获知待建立 BSS的优先级。 另外, 信道选择控制单元 还会在根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级 和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所述标识所标识 的信道上建立之前,获取当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级。例如, 信道选择控制单元接收第二 AP发送的第二 AP所在 BSS 的优先级。  In an optional implementation manner, the channel selection control unit does not know in advance the priority of the BSS to be established and the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, and the first AP may send The BSS establishment request message of the AC carries the priority of the BSS to be established, so that the channel selection control unit knows the priority of the BSS to be established. In addition, the channel selection control unit further determines whether to allow the BSS to be established in the priority according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established. Prior to establishing the identified channel, the priority of the BSS where the second AP currently working on the channel identified by the identifier is located is obtained. For example, the channel selection control unit receives the priority of the BSS where the second AP is sent by the second AP.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所标识的信道上 允许使用的带宽。 在此说明, 信道选择控制单元指示在所述标识所标识的信 道上允许使用的带宽可能不等于第一 AP请求使用的带宽,例如可能小于第一 AP请求使用的带宽。 In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel identified by the identifier, the BSS establishment reply message further includes: allowing the to-be-established The BSS uses the duration of the channel identified by the identity and/or the bandwidth allowed on the channel identified by the identity. It is explained herein that the channel selection control unit indicates that the bandwidth allowed to be used on the channel identified by the identifier may not be equal to the bandwidth requested by the first AP, for example, may be smaller than the bandwidth requested by the first AP.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP 再次发送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
在本实施例中, 在 BSS建立时, AP向信道选择控制单元发送 BSS建立请 求消息, 信道选择控制单元接收到 BSS建立请求消息后, 可以根据当前工作 在该信道上的 AP所在 BSS的优先级和该待建立 BSS的优先级,确定是否允许 该待建立 BSS在该信道上建立, 并向待建立 BSS中的 AP返回指示信息, 以使 待建立 BSS中的 AP根据指示在该信道上建立或者不建立所述待建立 BSS , 即 为该待建立 BSS选择或者不选择该信道, 这样可以在多个 BSS共享信道的情 况下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之 间产生严重干扰等。  In this embodiment, when the BSS is established, the AP sends a BSS setup request message to the channel selection control unit, and after receiving the BSS setup request message, the channel selection control unit may according to the priority of the BSS where the AP currently working on the channel is located. And determining the priority of the BSS to be established, determining whether the BSS to be established is established on the channel, and returning indication information to the AP in the BSS to be established, so that the AP in the BSS to be established is established on the channel according to the indication or The BSS to be established is not established, that is, the channel is selected or not selected for the BSS to be established, so that when a plurality of BSSs share a channel, a better channel is selected for the BSS to be established, and the quality of service of each BSS is ensured. Serious interference occurs between the BSSs.
基于上述 BSS优先级, 本发明实施例还提供了一种信道选择方法, 该信 道选择方法用于为待建立 BSS选择信道, 是一种分布式的信道选择方法。 一 种信道选择的应用场景如图 3A所示, 该应用场景包括第一 AP和第二 AP , 第 一 AP所在的 BSS属于待建立 BSS , 第二 AP所在的 BSS属于已经建立的 BSS ; 当需要建立 BSS时, 第一 AP向第二 AP请求在第二 AP工作的信道上建立 BSS (即待建立 BSS ) 。  Based on the foregoing BSS priority, the embodiment of the present invention further provides a channel selection method, which is used to select a channel for a BSS to be established, and is a distributed channel selection method. An application scenario of channel selection is as shown in FIG. 3A. The application scenario includes a first AP and a second AP. The BSS where the first AP is located belongs to the BSS to be established, and the BSS where the second AP belongs belongs to the established BSS. When the BSS is established, the first AP requests the second AP to establish a BSS on the channel working by the second AP (ie, the BSS to be established).
基于但不限于图 3A所示应用场景,本发明实施例提供的又一种信道选择 方法如图 3B所示, 所述方法包括:  Based on the application scenario shown in FIG. 3A, another channel selection method provided by the embodiment of the present invention is shown in FIG. 3B, and the method includes:
301、 第一 AP向第二 AP发送 BSS建立请求消息, 以请求在所述第二 AP 当前使用的信道上建立待建立 BSS。  301. The first AP sends a BSS setup request message to the second AP, to request that the BSS to be established is established on the channel currently used by the second AP.
302、第一 AP接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS建立 回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信 息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和所述 待建立 BSS的优先级确定的。  The first AP receives the BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, where the indication information is The second AP is determined according to a priority of the BSS where the second AP is located and a priority of the BSS to be established.
303、 第一 AP根据所述 BSS建立回复消息的指示, 在所述信道上建立所 述待建立 BSS或者不在所述信道上建立所述待建立 BSS。 303. The first AP establishes, according to the indication that the BSS establishes a reply message, on the channel. The establishment of the BSS is not mentioned or the BSS to be established is not established on the channel.
与上述图 1B和图 2所示实施例不同,本实施例提供的信道选择方法并不 由信道选择控制单元集中控制, 而是分布式的信道选择方式。  Different from the embodiment shown in FIG. 1B and FIG. 2, the channel selection method provided by this embodiment is not centrally controlled by the channel selection control unit, but is a distributed channel selection method.
在本实施例中, 将需要建立的 BSS称为待建立 BSS , 将发送 BSS建立请 求消息的 AP称为第一 AP。  In this embodiment, the BSS to be established is referred to as a BSS to be established, and the AP that sends the BSS setup request message is referred to as a first AP.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP , 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP , 或者是提供无线接入的商户部署的 AP , 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在 BSS建立时, 第一 AP向第二 AP发送 BSS建立请求消息, 以请求在所 述第二 AP当前使用的信道上建立所述待建立 BSS , 也就是向第二 AP请求能 否与第二 AP共享信道。  When the BSS is established, the first AP sends a BSS setup request message to the second AP to request to establish the BSS to be established on the channel currently used by the second AP, that is, whether the request to the second AP is the second or not. The AP shares the channel.
第二 AP接收到 BSS建立请求消息后, 根据第二 AP所在 BSS的优先级和 待建立 BSS的优先级确定是否允许待建立 BSS在第二 AP的信道上建立,并向 第一 AP返回 BSS建立回复消息,在该 BSS建立回复消息中携带用于指示是否 允许所述待建立 BSS在所述信道上建立的指示信息。  After receiving the BSS setup request message, the second AP determines whether to allow the BSS to be established to be established on the channel of the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returns the BSS establishment to the first AP. The reply message carries the indication information for indicating whether to allow the BSS to be established to be established on the channel in the BSS setup reply message.
举例说明, 第二 AP可以将所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级进行比较; 如果比较结果为所述第二 AP所在 BSS的优先级高于 所述待建立 BSS的优先级,所述第二 AP确定不允许所述待建立 BSS在所述信 道上建立; 如果比较结果为所述第二 AP所在 BSS 的优先级低于所述待建立 BSS的优先级, 所述第二 AP丢弃所述 BSS建立请求消息, 或者向所述第一 AP 发送用于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优先级的 响应消息。  For example, the second AP may compare the priority of the BSS where the second AP is located with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the to-be-established a priority of the BSS, the second AP determines that the BSS to be established is not allowed to be established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, And the second AP discards the BSS establishment request message, or sends a response message to the first AP, indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
举例说明, 第二 AP可以将所述第二 AP所在 BSS的优先级和所述待建立 For example, the second AP may set the priority of the BSS where the second AP is located and the to-be-established
BSS的优先级进行比较; 如果比较结果为所述第二 AP所在 BSS的优先级高于 所述待建立 BSS的优先级,所述第二 AP进一步可以根据网络拥塞情况或其他 策略等因素确定是否允许所述待建立 BSS在所述信道上建立。 The priority of the BSS is compared. If the comparison result is that the priority of the BSS of the second AP is higher than the priority of the BSS to be established, the second AP may further determine whether the network congestion or other policies are based on factors such as network congestion or other policies. The BSS to be established is allowed to be established on the channel.
第一 AP接收到所述 BSS建立回复消息后,根据该 BSS建立回复消息的指 示, 确定是否在所述信道上建立所述待建立 BSS。 在一可选实施方式中, 第一 AP向第二 AP发送 BSS建立请求消息之前, 包括: 第一 AP首先确定第二 AP。 例如, 第一 AP可以获取当前工作在所述信 道上的第三 AP所在 BSS的优先级, 根据当前工作在所述信道上的第三 AP所 在 BSS的优先级和所述待建立 BSS的优先级,确定优先级高于所述待建立 BSS 的优先级的 BSS中的第三 AP作为所述第二 AP。 其中, 这里所述的第三 AP可 以是当前工作所述信道上的全部 AP或部分 AP, 而第二 AP是第三 AP中的一 个或多个。 After receiving the BSS setup reply message, the first AP determines whether to establish the BSS to be established on the channel according to the indication of the BSS establishment reply message. In an optional implementation, before the first AP sends the BSS setup request message to the second AP, the method includes: the first AP first determining the second AP. For example, the first AP may acquire the priority of the BSS where the third AP currently working on the channel is located, according to the priority of the BSS where the third AP currently working on the channel is located, and the priority of the BSS to be established. And determining, as the second AP, a third AP in the BSS with a higher priority than the priority of the BSS to be established. The third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
可选的, 第一 AP可以获取当前工作在所述信道上的第三 AP所在 BSS的 优先级包括: 第一 AP接收当前工作在所述信道上的第三 AP分别发送的信标 帧, 所述信标帧包括所述第三 AP所在 BSS的优先级。 或者, 第一 AP向当前 工作在所述信道上的第三 AP发送查询消息, 并接收所述第三 AP分别针所述 查询消息返回的查询响应消息, 所述查询响应消息包括所述第三 AP所在 BSS 的优先级。  Optionally, the first AP may obtain the priority of the BSS where the third AP currently working on the channel is located: the first AP receives the beacon frame sent by the third AP currently working on the channel, where The beacon frame includes the priority of the BSS where the third AP is located. Or the first AP sends a query message to the third AP currently working on the channel, and receives the query response message returned by the third AP by the query message, where the query response message includes the third The priority of the BSS where the AP is located.
在另一可选实施方式中, 第一 AP并不预先确定第二 AP, 而是直接向当 前工作在所述信道上的第三 AP发送所述 BSS建立请求消息, 以向所述第三 AP中所在 BSS优先级高于所述待建立 BSS的优先级的所述第二 AP请求在所 述第二 AP当前使用的信道上建立所述待建立 BSS。 在该实施方式中, 接收到 BSS建立请求消息的第三 AP可以根据自身所在 BSS的优先级和待建立 BSS的 优先级确定是否作为第二 AP向第一 AP返回 BSS建立回复消息。 其中, 这里 所述的第三 AP可以是当前工作所述信道上的全部 AP或部分 AP, 而第二 AP 是第三 AP中的一个或多个。  In another optional implementation manner, the first AP does not predetermine the second AP, but directly sends the BSS setup request message to the third AP currently working on the channel, to the third AP. The second AP in which the BSS priority is higher than the priority of the BSS to be established requests to establish the to-be-established BSS on the channel currently used by the second AP. In this embodiment, the third AP that receives the BSS setup request message may determine whether to return a BSS setup reply message to the first AP as the second AP according to the priority of the BSS and the priority of the BSS to be established. The third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
在一可选实施方式中, 第二 AP预先知道待建立 BSS的优先级, 例如可以 预先从 AC获取。则第二 AP可以直接根据第二 AP所在 BSS的优先级和所述待 建立 BSS的优先级确定是否允许所述待建立 BSS在所述信道上建立。  In an optional implementation manner, the second AP knows in advance the priority of the BSS to be established, for example, may be acquired from the AC in advance. The second AP may determine whether to allow the to-be-established BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
在一可选实施方式中, 第二 AP预先不知道待建立 BSS的优先级, 则第一 In an optional implementation manner, the second AP does not know the priority of the BSS to be established in advance, and then the first
AP发送的 BSS建立请求消息中可以包括待建立 BSS的优先级, 以使第二 AP 获知所述待建立 BSS的优先级。 The BSS establishment request message sent by the AP may include the priority of the BSS to be established, so that the second AP knows the priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS使用所 述信道的时长和 /或在所述信道上允许使用的带宽。 在此说明, 第二 AP指示 在所述信道上允许使用的带宽可能不等于第一 AP请求使用的带宽,例如可能 小于第一 AP请求使用的带宽。 In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel. Here, the second AP indication The bandwidth allowed to be used on the channel may not be equal to the bandwidth requested by the first AP, for example, may be smaller than the bandwidth requested by the first AP.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the first AP sending the BSS establishment request again. The time of the message.
在此说明, 在本实施例中, 所述待建立 BSS 的优先级由所述待建立 BSS 中的关联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信道选择相 关的数据标识。  It is noted that, in this embodiment, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified channel selection. Data identification.
在本实施例中, 第一 AP还可以接收优先级设置单元, 例如 AC , 发送的 通告消息, 所述通告消息包括所述待建立 BSS的优先级。 或者, 第一 AP还可 以根据邻居 BSS的优先级和设定优先级所需的参数设定所述待建立 BSS的优 先级。  In this embodiment, the first AP may further receive a priority setting unit, such as an AC, and send an advertisement message, where the advertisement message includes a priority of the BSS to be established. Alternatively, the first AP may further set the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
在本实施例中, 当在 BSS建立时, 第一 AP向所需信道上的第二 AP发送 BSS建立请求消息, 以请求在该信道上建立 BSS , 使得第二 AP可以根据第二 AP所在 BSS的优先级和该待建立 BSS的优先级, 确定是否允许该待建立 BSS 在该信道上建立, 并向待建立 BSS中的第一 AP返回指示信息, 第一 AP根据 指示, 在该信道上建立或者不建立所述待建立 BSS , 即为该待建立 BSS选择 或者不选择该信道, 这样可以在多个 BSS共享信道的情况下, 为待建立 BSS 选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间产生严重干扰等。  In this embodiment, when the BSS is established, the first AP sends a BSS setup request message to the second AP on the required channel to request to establish a BSS on the channel, so that the second AP can be based on the BSS of the second AP. And the priority of the BSS to be established, determining whether to allow the to-be-established BSS to be established on the channel, and returning indication information to the first AP in the BSS to be established, where the first AP establishes on the channel according to the indication Or, the BSS to be established is not established, that is, the channel is selected or not selected for the BSS to be established, so that when a plurality of BSSs share a channel, a preferred channel is selected for the BSS to be established, and the service quality of each BSS is guaranteed. Avoid serious interference between the BSSs.
图 4为本发明实施例提供的又一种信道选择方法的流程图。如图 4所示, 所述方法包括:  FIG. 4 is a flowchart of still another channel selection method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
401、第二 AP接收第一 AP发送的 BSS建立请求消息, 所述 BSS建立请求 消息用以请求在所述第二 AP当前使用的信道上建立所述待建立 BSS。  401. The second AP receives the BSS setup request message sent by the first AP, where the BSS setup request message is used to request to establish the to-be-established BSS on the channel currently used by the second AP.
402、第二 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优 先级确定是否允许所述待建立 BSS在所述信道上建立。  The second AP determines whether to allow the to-be-established BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
403、 第二 AP向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回复 消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立所述 待建立 BSS。  403. The second AP sends a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is in the Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
本实施例与图 3B所示实施例相适应, 是从第二 AP的角度进行的描述。 在本实施例中, 将需要建立的 BSS称为待建立 BSS, 将发送 BSS建立请求消 息的 AP称为第一 AP。 This embodiment is adapted to the embodiment shown in FIG. 3B and is a description from the perspective of the second AP. In this embodiment, the BSS to be established is referred to as a BSS to be established, and the AP that sends the BSS setup request message is referred to as a first AP.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP, 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP, 或者是提供无线接入的商户部署的 AP, 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在 BSS建立时, 第一 AP向第二 AP发送 BSS建立请求消息, 以请求在所 述第二 AP当前使用的信道上建立所述待建立 BSS, 也就是向第二 AP请求能 否与第二 AP共享信道。  When the BSS is established, the first AP sends a BSS setup request message to the second AP to request to establish the BSS to be established on the channel currently used by the second AP, that is, whether the request to the second AP is the second or not. The AP shares the channel.
第二 AP接收到 BSS建立请求消息后, 根据第二 AP所在 BSS的优先级和 待建立 BSS的优先级确定是否允许待建立 BSS在第二 AP的信道上建立,并向 第一 AP返回 BSS建立回复消息,在该 BSS建立回复消息中携带用于指示是否 允许所述待建立 BSS在所述信道上建立的指示信息。  After receiving the BSS setup request message, the second AP determines whether to allow the BSS to be established to be established on the channel of the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returns the BSS establishment to the first AP. The reply message carries the indication information for indicating whether to allow the BSS to be established to be established on the channel in the BSS setup reply message.
举例说明, 第二 AP可以将所述第二 AP所在 BSS的优先级和所述待建立 For example, the second AP may set the priority of the BSS where the second AP is located and the to-be-established
BSS的优先级进行比较; 如果比较结果为所述第二 AP所在 BSS的优先级高于 所述待建立 BSS的优先级,所述第二 AP确定不允许所述待建立 BSS在所述信 道上建立; 如果比较结果为所述第二 AP所在 BSS 的优先级低于所述待建立 BSS的优先级, 所述第二 AP丢弃所述 BSS建立请求消息, 或者向所述第一 AP 发送用于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优先级的 响应消息。 The priority of the BSS is compared; if the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, the second AP determines that the BSS to be established is not allowed to be on the channel. Establishing; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, the second AP discards the BSS establishment request message, or sends the message to the first AP And indicating a response message that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
举例说明, 第二 AP可以将所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级进行比较; 如果比较结果为所述第二 AP所在 BSS的优先级高于 所述待建立 BSS的优先级,所述第二 AP进一步可以根据网络拥塞情况或其他 策略等因素确定是否允许所述待建立 BSS在所述信道上建立。  For example, the second AP may compare the priority of the BSS where the second AP is located with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the to-be-established The priority of the BSS, the second AP may further determine whether to allow the BSS to be established to be established on the channel according to factors such as network congestion or other policies.
在一可选实施方式中, 第二 AP接收待建立 BSS中的第一 AP发送的 BSS 建立请求消息之前, 包括: 所述第二 AP向所述第一 AP发送信标帧, 所述信 标帧包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根据所述第二 AP 所在 BSS的优先级和所述待建立 BSS的优先级,确定是否向所述第二 AP发送 所述 BSS建立请求消息。 或者, 第二 AP接收所述第一 AP发送的查询消息, 并向所述第一 AP返回查询响应消息, 所述查询响应消息包括所述第二 AP所 在 BSS的优先级, 以使所述第一 AP根据所述第二 AP所在 BSS的优先级和所 述待建立 BSS的优先级,确定是否向所述第二 AP发送所述 BSS建立请求消息。 In an optional implementation, before the second AP receives the BSS setup request message sent by the first AP in the BSS, the second AP includes: sending, by the second AP, a beacon frame to the first AP, where the beacon The frame includes a priority of the BSS where the second AP is located, so that the first AP determines whether to send to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established. The BSS establishes a request message. Or the second AP receives the query message sent by the first AP, And returning a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the first AP is based on the priority of the BSS where the second AP is located, and the The priority of the BSS is to be established, and it is determined whether the BSS establishment request message is sent to the second AP.
在一可选实施方式中, 第二 AP预先知道待建立 BSS的优先级, 例如可以 预先从优先级设置单元, 例如 AC获取。则第二 AP可以直接根据第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所 述信道上建立。  In an optional implementation manner, the second AP knows in advance the priority of the BSS to be established, for example, may be acquired in advance from a priority setting unit, such as an AC. The second AP may determine whether to allow the to-be-established BSS to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established.
在一可选实施方式中, 第二 AP预先不知道待建立 BSS的优先级, 则第一 AP发送的 BSS建立请求消息中可以包括待建立 BSS的优先级, 以使第二 AP 获知所述待建立 BSS的优先级。  In an optional implementation manner, the second AP does not know the priority of the BSS to be established in advance, and the BSS establishment request message sent by the first AP may include the priority of the BSS to be established, so that the second AP learns the Establish the priority of the BSS.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS使用所 述信道的时长和 /或在所述信道上允许使用的带宽。 在此说明, 第二 AP指示 在所述信道上允许使用的带宽可能不等于第一 AP请求使用的带宽,例如可能 小于第一 AP请求使用的带宽。  In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel. Herein, the second AP indicates that the bandwidth allowed to be used on the channel may not be equal to the bandwidth requested by the first AP, for example, may be smaller than the bandwidth requested by the first AP.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the first AP sending the BSS establishment request again. The time of the message.
在本实施例中,在 BSS建立时,第一 AP向所需信道上的第二 AP发送 BSS 建立请求消息, 第二 AP接收到 BSS建立请求消息后, 可以根据第二 AP所在 BSS的优先级和该待建立 BSS的优先级, 确定是否允许该待建立 BSS在该信 道上建立, 并向待建立 BSS中的第一 AP返回指示信息, 以使待建立 BSS中的 第一 AP根据指示, 在该信道上建立或不建立所述待建立 BSS , 即为该待建立 BSS选择或者不选择该信道, 这样可以在多个 BSS共享信道的情况下, 为待 建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间产生严重 干扰等。  In this embodiment, when the BSS is established, the first AP sends a BSS setup request message to the second AP on the required channel, and after receiving the BSS setup request message, the second AP may be based on the priority of the BSS where the second AP is located. Determining whether the BSS to be established is allowed to be established on the channel, and returning indication information to the first AP in the BSS to be established, so that the first AP in the BSS to be established is in accordance with the indication, The BSS to be established is established or not established on the channel, that is, the channel is selected or not selected for the BSS to be established, so that in the case that multiple BSSs share the channel, a better channel is selected for the BSS to be established, and each BSS is guaranteed. Quality of service, avoiding serious interference between BSSs.
图 5为本发明实施例提供的一种信道选择装置的结构示意图。 所述信道 选择装置可以作为第一 AP , 或者可以设置于第一 AP中实现, 如图 5所示, 所述装置包括: 发送模块 51、 接收模块 52和确定模块 53。  FIG. 5 is a schematic structural diagram of a channel selection apparatus according to an embodiment of the present invention. The channel selection device may be implemented as a first AP, or may be implemented in a first AP. As shown in FIG. 5, the device includes: a sending module 51, a receiving module 52, and a determining module 53.
发送模块 51,用于向信道选择控制单元发送 BSS建立请求消息,所述 BSS 建立请求消息包括待建立 BSS所需的信道的标识。 The sending module 51 is configured to send a BSS setup request message to the channel selection control unit, where the BSS The setup request message includes an identification of the channel required to establish the BSS.
接收模块 52,用于接收所述信道选择控制单元发送的 BSS建立回复消息, 所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所 标识的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据 当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建 立 BSS的优先级确定的;  The receiving module 52 is configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier The indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established;
确定模块 53,与接收模块 52连接,用于根据接收模块 52接收的所述 BSS 建立回复消息的指示, 在所述标识所标识的信道上建立所述待建立 BSS或者 不在所述标识所标识的信道上建立所述待建立 BSS。  The determining module 53 is connected to the receiving module 52, and is configured to establish, according to the indication of the BSS establishment reply message received by the receiving module 52, the BSS to be established or not identified by the identifier on the channel identified by the identifier. The to-be-established BSS is established on the channel.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP , 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP , 或者是提供无线接入的商户部署的 AP , 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在此说明, 所述信道选择控制单元主要用于对所述待建立 BSS进行信道 选择, 可以是 AC , 或者可以设置于 AC中实现, 或者可以是独立于 AC的控制 单元等。  It is noted that the channel selection control unit is mainly used for channel selection of the BSS to be established, which may be AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
在一可选实施方式中, 所述 BSS建立请求消息还包括所述待建立 BSS的 优先级。  In an optional implementation manner, the BSS setup request message further includes a priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所标识的信道上 允许使用的带宽。  In an optional implementation, when the indication information indicates that the BSS to be established is established on the channel identified by the identifier, the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选 择装置再次发送所述 BSS建立请求消息的时间。  In an optional implementation, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS setup reply message further includes: the channel selection apparatus resending the station The time at which the BSS establishes the request message.
在本实施例中, 所述待建立 BSS的优先级可以由所述待建立 BSS中的关 联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信道选择相关的数 据标识, 但不限于此。  In this embodiment, the priority of the BSS to be established may be determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data identifier related to channel selection. But it is not limited to this.
在一可选实施方式中, 所述信道选择装置还需要获知待建立 BSS的优先 级。 则一种方式为信道选择控制单元作为优先级设置单元, 集中确定各 BSS 的优先级, 并下发给各 BSS中的 AP。 基于此, 接收模块 52还用于接收所述 信道选择控制单元发送的通告消息, 所述通告消息包括所述待建立 BSS的优 先级。 或者, 各 BSS采用分布式方式确定各自的优先级。 基于此, 所述信道 选择装置还包括: 优先级设定模块, 用于根据邻居 BSS的优先级和设定优先 级所需的参数设定所述待建立 BSS的优先级。 In an optional implementation manner, the channel selection apparatus further needs to know the priority of the BSS to be established. Level. Then, the channel selection control unit is used as the priority setting unit to determine the priority of each BSS and deliver it to the APs in each BSS. Based on this, the receiving module 52 is further configured to receive an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established. Alternatively, each BSS determines its respective priority in a distributed manner. Based on this, the channel selection apparatus further includes: a priority setting module, configured to set a priority of the BSS to be established according to a priority of the neighbor BSS and a parameter required to set the priority.
本实施例提供的信道选择装置的各功能模块可用于执行图 1B所示信道 选择方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The function modules of the channel selection apparatus provided in this embodiment may be used to perform the process of the embodiment of the channel selection method shown in FIG. 1B. The specific working principle is not described here. For details, refer to the description of the method embodiments.
本实施例提供的信道选择装置, 作为第一 AP或设置于第一 AP中实现, 在 BSS建立时, 向信道选择控制单元发送 BSS建立请求消息, 告知信道选择 控制单元所需的信道, 使得信道选择控制单元可以根据当前工作在该信道上 的 AP所在 BSS的优先级和该待建立 BSS的优先级, 确定是否允许该待建立 BSS 在该信道上建立, 并向本实施例的信道选择装置返回指示信息, 本实施 例的信道选择装置根据指示, 在该信道上建立或不建立所述待建立 BSS , 即 为该待建立 BSS选择或者不选择该信道, 这样可以在多个 BSS共享信道的情 况下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之 间产生严重干扰等。  The channel selection apparatus provided in this embodiment is implemented as the first AP or in the first AP, and when the BSS is established, sends a BSS setup request message to the channel selection control unit, and informs the channel selection control unit of the required channel, so that the channel The selection control unit may determine whether to allow the BSS to be established to be established on the channel according to the priority of the BSS where the AP currently working on the channel is located and the priority of the BSS to be established, and return to the channel selection apparatus of this embodiment. Instructing information, the channel selection apparatus of this embodiment establishes or does not establish the BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that the channel may be shared by multiple BSSs. Next, select a better channel for the BSS to be established, ensure the quality of service of each BSS, and avoid serious interference between the BSSs.
图 6为本发明实施例提供的另一种信道选择装置的结构示意图。 所述信 道选择装置可以作为第一 AP , 或者可以设置于第一 AP中实现, 如图 6所示, 所述装置包括: 发射器 61、 接收器 62和处理器 63。  FIG. 6 is a schematic structural diagram of another channel selection apparatus according to an embodiment of the present invention. The channel selection device may be implemented as a first AP, or may be implemented in a first AP. As shown in FIG. 6, the device includes: a transmitter 61, a receiver 62, and a processor 63.
发射器 61, 用于向信道选择控制单元发送 BSS建立请求消息, 所述 BSS 建立请求消息包括待建立 BSS所需的信道的标识。  The transmitter 61 is configured to send a BSS setup request message to the channel selection control unit, where the BSS setup request message includes an identifier of a channel required to establish a BSS.
接收器 62, 用于接收所述信道选择控制单元发送的 BSS建立回复消息, 所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所 标识的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据 当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建 立 BSS的优先级确定的。  The receiver 62 is configured to receive a BSS setup reply message sent by the channel selection control unit, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier The indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP is located on the channel identified by the identifier and the priority of the BSS to be established.
处理器 63, 用于根据接收器 62接收的所述 BSS建立回复消息的指示, 在所述标识所标识的信道上建立所述待建立 BSS或者不在所述标识所标识的 信道上建立所述待建立 BSS。 在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP, 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP, 或者是提供无线接入的商户部署的 AP, 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。 The processor 63 is configured to establish, according to the indication of the BSS setup reply message received by the receiver 62, the BSS to be established on the channel identified by the identifier or not to establish the to-be-established on the channel identified by the identifier. Establish a BSS. It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在此说明, 所述信道选择控制单元主要用于对所述待建立 BSS进行信道 选择, 可以是 AC, 或者可以设置于 AC中实现, 或者可以是独立于 AC的控制 单元等。  It is noted that the channel selection control unit is mainly used for channel selection of the BSS to be established, which may be AC, or may be implemented in an AC, or may be an AC independent control unit or the like.
在一可选实施方式中, 所述 BSS建立请求消息还包括所述待建立 BSS的 优先级。  In an optional implementation manner, the BSS setup request message further includes a priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所标识的信道上 允许使用的带宽。  In an optional implementation, when the indication information indicates that the BSS to be established is established on the channel identified by the identifier, the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选 择装置再次发送所述 BSS建立请求消息的时间。  In an optional implementation, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS setup reply message further includes: the channel selection apparatus resending the station The time at which the BSS establishes the request message.
在本实施例中, 所述待建立 BSS的优先级可以由所述待建立 BSS中的关 联用户数、所述待建立 BSS中的活跃用户数和 /或指定的与信道选择相关的数 据标识, 但不限于此。  In this embodiment, the priority of the BSS to be established may be determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data identifier related to channel selection. But it is not limited to this.
在一可选实施方式中, 所述信道选择装置还需要获知待建立 BSS的优先 级。 则一种方式为信道选择控制单元可以作为优先级设置单元, 集中确定各 BSS的优先级, 并下发给各 BSS中的 AP。 基于此, 接收器 62还用于接收所述 信道选择控制单元发送的通告消息, 所述通告消息包括所述待建立 BSS的优 先级。 或者, 各 BSS采用分布式方式确定各自的优先级。 基于此, 处理器 63 还用于根据邻居 BSS 的优先级和设定优先级所需的参数设定所述待建立 BSS 的优先级。  In an optional implementation manner, the channel selection apparatus further needs to know the priority of the BSS to be established. In one case, the channel selection control unit can be used as a priority setting unit to determine the priority of each BSS and deliver it to the APs in each BSS. Based on this, the receiver 62 is further configured to receive an advertisement message sent by the channel selection control unit, where the advertisement message includes a priority of the BSS to be established. Alternatively, each BSS determines its priority in a distributed manner. Based on this, the processor 63 is further configured to set the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
在具体实现上, 处理器 63可以是一个中央处理器 (Central Processing Unit,简称为 CPU),或者是特定集成电路(Application Specific Integrated Circuit, 简称为 ASIC) , 或者是被配置成实施本发明实施例的一个或多个 集成电路。 In a specific implementation, the processor 63 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or configured to implement the embodiment of the present invention. One or more Integrated circuit.
进一步, 如图 6所示, 所述装置还可以包括: 存储器 64。 存储器 64用 于存储程序。 具体地, 程序可以包括程序代码, 所述程序代码包括计算机操 作指令。 存储器 64可以包含高速 RAM存储器, 也可以包括非易失性存储器 (non-volatile memory) , 例如至少一个磁盘存储器。  Further, as shown in FIG. 6, the apparatus may further include: a memory 64. The memory 64 is used to store programs. In particular, the program can include program code, the program code including computer operating instructions. The memory 64 may include a high speed RAM memory, and may also include a non-volatile memory such as at least one disk memory.
在一可选实施方式中, 处理器 63可通过执行存储器 64存储的程序来实 现上述功能, 但不限于此。  In an alternative embodiment, the processor 63 can implement the above functions by executing a program stored in the memory 64, but is not limited thereto.
可选的, 在具体实现上, 如果发射器 61、 接收器 62、 处理器 63和存储 器 64独立实现, 则发射器 61、 接收器 62、 处理器 63和存储器 64可以通过 总线相互连接并完成相互间的通信。 所述总线可以是工业标准体系结构 ( Industry Standard Architecture , 简称为 ISA ) 总线、 外部设备互连 ( Peripheral Component , 简称为 PCI ) 总线或扩展工业标准体系结构 (Extended Industry Standard Architecture, 简称为 EISA) 总线等。 所 述总线可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 6中仅 用一条粗线表示, 但并不表示仅有一根总线或一种类型的总线。  Optionally, in a specific implementation, if the transmitter 61, the receiver 62, the processor 63, and the memory 64 are implemented independently, the transmitter 61, the receiver 62, the processor 63, and the memory 64 may be connected to each other through a bus and complete each other. Communication between. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
可选的, 在具体实现上, 如果发射器 61、 接收器 62、 处理器 63和存储 器 64集成在一块芯片上实现, 则发射器 61、 接收器 62、 处理器 63和存储器 64可以通过内部接口完成相互间的通信。  Optionally, in a specific implementation, if the transmitter 61, the receiver 62, the processor 63, and the memory 64 are integrated on one chip, the transmitter 61, the receiver 62, the processor 63, and the memory 64 may pass through an internal interface. Complete communication with each other.
本实施例提供的信道选择装置可用于执行图 1B 所示信道选择方法实施 例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The channel selection apparatus provided in this embodiment can be used to perform the process of the embodiment of the channel selection method shown in FIG. 1B. The specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例提供的信道选择装置, 作为第一 AP或设置于第一 AP中实现, 在 BSS建立时, 向信道选择控制单元发送 BSS建立请求消息, 告知信道选择 控制单元所需的信道, 使得信道选择控制单元可以根据当前工作在该信道上 的 AP所在 BSS的优先级和该待建立 BSS的优先级, 确定是否允许该待建立 BSS 在该信道上建立, 并向本实施例的信道选择装置返回指示信息, 本实施 例的信道选择装置根据指示, 在该信道上建立或不建立所述待建立 BSS, 即 为该待建立 BSS选择或不选择该信道, 这样可以在多个 BSS共享信道的情况 下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间 产生严重干扰等。  The channel selection apparatus provided in this embodiment is implemented as the first AP or in the first AP, and when the BSS is established, sends a BSS setup request message to the channel selection control unit, and informs the channel selection control unit of the required channel, so that the channel The selection control unit may determine whether to allow the BSS to be established to be established on the channel according to the priority of the BSS where the AP currently working on the channel is located and the priority of the BSS to be established, and return to the channel selection apparatus of this embodiment. The indication information, the channel selection apparatus of the embodiment establishes or does not establish the BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that the channel may be shared by multiple BSSs. Next, select a better channel for the BSS to be established, ensure the quality of service of each BSS, and avoid serious interference between the BSSs.
图 7为本发明实施例提供的一种信道选择控制单元的结构示意图。 本实 施例提供的信道选择控制单元主要用于对待建立 BSS进行信道选择, 如图 7 所示, 所述单元包括: 接收模块 71、 确定模块 72和发送模块 73。 FIG. 7 is a schematic structural diagram of a channel selection control unit according to an embodiment of the present invention. Real The channel selection control unit provided by the embodiment is mainly used for channel selection for establishing a BSS. As shown in FIG. 7, the unit includes: a receiving module 71, a determining module 72, and a sending module 73.
接收模块 71, 用于接收第一 AP发送的 BSS建立请求消息, 所述 BSS建 立请求消息包括待建立 BSS所需的信道的标识。  The receiving module 71 is configured to receive a BSS setup request message sent by the first AP, where the BSS setup request message includes an identifier of a channel required to establish a BSS.
确定模块 72, 与接收模块 71连接, 用于根据当前工作在所述标识所标 识的信道上的第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否 允许所述待建立 BSS在所述标识所标识的信道上建立。  The determining module 72 is connected to the receiving module 71, and is configured to determine, according to the priority of the BSS where the second AP is located on the channel identified by the identifier, and the priority of the BSS to be established, whether to allow the BSS to be established. Established on the channel identified by the identity.
发送模块 73, 与确定模块 72连接, 用于向所述第一 AP发送 BSS建立回 复消息, 所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所 述标识所标识的信道上建立的指示信息, 以使所述第一 AP在所述标识所标识 的信道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待 建立 BSS。  The sending module 73 is connected to the determining module 72, and configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indicating whether to allow the BSS to be established to be on the channel identified by the identifier. Establishing the indication information, so that the first AP establishes the to-be-established BSS on the channel identified by the identifier or does not establish the to-be-established BSS on the channel identified by the identifier.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP , 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP , 或者是提供无线接入的商户部署的 AP , 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在一可选实施方式中,确定模块 72具体用于如果所述待建立 BSS的优先 级高于当前工作在所述标识所标识的信道上的所述第二 AP所在 BSS 的优先 级, 确定允许所述待建立 BSS在所述标识所标识的信道上建立; 如果所述待 建立 BSS的优先级低于当前工作在所述标识所标识的信道上的所述第二 AP所 在 BSS的优先级,将当前工作在所述标识所标识的信道上的所述第二 AP的数 量和 /或占用所述标识所标识的信道的时长与对应的门限进行比较,如果比较 结果为小于所述门限, 则确定允许所述待建立 BSS在所述标识所标识的信道 上建立;如果比较结果为大于或等于所述门限,则确定不允许所述待建立 BSS 在所述标识所标识的信道上建立。  In an optional implementation, the determining module 72 is specifically configured to determine, if the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, The BSS to be established is established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, Comparing the number of the second APs currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold, then Determining that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier.
在一可选实施方式中, 所述单元还可以作为优先级设置单元, 集中为各 BSS设置优先级。基于此,确定模块 72还用于在确定是否允许所述待建立 BSS 在所述标识所标识的信道上建立之前, 根据设定优先级所需的参数, 分别确 定所述待建立 BSS的优先级和所述第二 AP所在 BSS的优先级。相应的, 发送 模块 73还用于将所述待建立 BSS的优先级发送给所述第一 AP , 将所述第二 AP所在 BSS的优先级发送给所述第二 AP。 In an optional implementation manner, the unit may also be used as a priority setting unit to collectively set priorities for each BSS. Based on this, the determining module 72 is further configured to determine the priority of the BSS to be established according to the parameters required for setting the priority before determining whether to allow the BSS to be established to be established on the channel identified by the identifier. And a priority of the BSS where the second AP is located. Correspondingly, send The module 73 is further configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
在一可选实施方式中, 各 BSS采用分布式方式确定各自的优先级。 基于 此, 第一 AP发送的 BSS建立请求消息还包括所述待建立 BSS的优先级。基于 此, 接收模块 71还用于在确定模块 72确定是否允许所述待建立 BSS在所述 标识所标识的信道上建立之前,接收所述第二 AP发送的所述第二 AP所在 BSS 的优先级。  In an alternative embodiment, each BSS determines its respective priority in a distributed manner. Based on this, the BSS setup request message sent by the first AP further includes the priority of the BSS to be established. Based on this, the receiving module 71 is further configured to: before the determining module 72 determines whether the BSS to be established is allowed to be established on the channel identified by the identifier, receive the priority of the BSS where the second AP is sent by the second AP. level.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所标识的信道上 允许使用的带宽。  In an optional implementation, when the indication information indicates that the BSS to be established is established on the channel identified by the identifier, the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP 再次发送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
本实施例提供的信道选择控制单元可以设置于 AC中实现, 或者作为 AC 实现, 但不限于此。  The channel selection control unit provided in this embodiment may be implemented in an AC, or implemented as an AC, but is not limited thereto.
本实施例提供的信道选择控制单元的各功能模块可用于执行图 2所示信 道选择方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描 述。  The function modules of the channel selection control unit provided in this embodiment can be used to perform the process of the channel selection method shown in FIG. 2. The specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例提供的信道选择控制单元,接收第一 AP发送的 BSS建立请求消 息, 之后根据当前工作在该信道上的第二 AP所在 BSS的优先级和待建立 BSS 的优先级, 确定是否允许该待建立 BSS在该信道上建立, 并向第一 AP返回指 示信息, 以使第一 AP根据指示在该信道上建立或不建立所述待建立 BSS , 即 为该待建立 BSS选择或不选择该信道, 这样可以在多个 BSS共享信道的情况 下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间 产生严重干扰等。  The channel selection control unit provided in this embodiment receives the BSS setup request message sent by the first AP, and then determines whether to allow the BSS according to the priority of the BSS where the second AP is currently working on the channel and the priority of the BSS to be established. The BSS to be established is established on the channel, and returns indication information to the first AP, so that the first AP establishes or does not establish the BSS to be established on the channel according to the indication, that is, selects or does not select the BSS to be established. The channel can be used to select a better channel for the BSS to be established in the case of multiple BSS shared channels, to ensure the quality of service of each BSS, and to avoid serious interference between the BSSs.
图 8为本发明实施例提供的另一种信道选择控制单元的结构示意图。 本 实施例提供的信道选择控制单元主要用于对待建立 BSS进行信道选择, 如图 8所示, 所述单元包括: 接收器 81、 处理器 82和发射器 83。  FIG. 8 is a schematic structural diagram of another channel selection control unit according to an embodiment of the present invention. The channel selection control unit provided in this embodiment is mainly used for channel selection for establishing a BSS. As shown in FIG. 8, the unit includes: a receiver 81, a processor 82, and a transmitter 83.
接收器 81, 用于接收第一 AP发送的 BSS建立请求消息, 所述 BSS建立 请求消息包括待建立 BSS所需的信道的标识。 The receiver 81 is configured to receive a BSS setup request message sent by the first AP, where the BSS is established. The request message includes the identity of the channel required to establish the BSS.
处理器 82, 用于根据当前工作在所述标识所标识的信道上的第二 AP所 在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在 所述标识所标识的信道上建立。  The processor 82 is configured to determine, according to the priority of the BSS where the second AP is located on the channel that is currently identified by the identifier, and the priority of the BSS to be established, whether to allow the BSS to be established to be identified by the identifier. Established on the channel.
发射器 83, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立 回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信道上 建立的指示信息, 以使所述第一 AP在所述标识所标识的信道上建立所述待建 立 BSS或者不在所述标识所标识的信道上建立所述待建立 BSS。  a transmitter 83, configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, to And causing the first AP to establish the to-be-established BSS on the channel identified by the identifier or not to establish the to-be-established BSS on the channel identified by the identifier.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP , 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP , 或者是提供无线接入的商户部署的 AP , 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在一可选实施方式中,处理器 82具体用于如果所述待建立 BSS的优先级 高于当前工作在所述标识所标识的信道上的所述第二 AP所在 BSS的优先级, 确定允许所述待建立 BSS在所述标识所标识的信道上建立; 如果所述待建立 BSS 的优先级低于当前工作在所述标识所标识的信道上的所述第二 AP 所在 BSS的优先级, 将当前工作在所述标识所标识的信道上的所述第二 AP的数量 和 /或占用所述标识所标识的信道的时长与对应的门限进行比较,如果比较结 果为小于所述门限, 则确定允许所述待建立 BSS在所述标识所标识的信道上 建立; 如果比较结果为大于或等于所述门限, 则确定不允许所述待建立 BSS 在所述标识所标识的信道上建立。  In an optional implementation, the processor 82 is specifically configured to determine, if the priority of the BSS to be established is higher than the priority of the BSS where the second AP is currently working on the channel identified by the identifier, The BSS to be established is established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently working on the channel identified by the identifier is located, Comparing the number of the second APs currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with a corresponding threshold, if the comparison result is less than the threshold, then Determining that the BSS to be established is established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, determining that the BSS to be established is not allowed to be established on the channel identified by the identifier.
在一可选实施方式中, 所述单元还可以作为优先级设置单元, 集中为各 BSS设置优先级。 基于此, 处理器 82还用于在确定是否允许所述待建立 BSS 在所述标识所标识的信道上建立之前, 根据设定优先级所需的参数, 分别确 定所述待建立 BSS的优先级和所述第二 AP所在 BSS的优先级。相应的, 发射 器 83还用于将所述待建立 BSS的优先级发送给所述第一 AP , 将所述第二 AP 所在 BSS的优先级发送给所述第二 AP。  In an optional implementation manner, the unit may also be used as a priority setting unit to set priorities for each BSS. Based on this, the processor 82 is further configured to determine the priority of the BSS to be established according to the parameters required for setting the priority before determining whether to allow the BSS to be established to be established on the channel identified by the identifier. And a priority of the BSS where the second AP is located. Correspondingly, the transmitter 83 is further configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
在一可选实施方式中, 各 BSS采用分布式方式确定各自的优先级。 基于 此, 第一 AP发送的 BSS建立请求消息还包括所述待建立 BSS的优先级。基于 此, 接收器 81还用于在处理器 82确定是否允许所述待建立 BSS在所述标识 所标识的信道上建立之前, 接收所述第二 AP发送的所述第二 AP所在 BSS的 优先级。 In an alternative embodiment, each BSS determines its respective priority in a distributed manner. Based on this, the BSS establishment request message sent by the first AP further includes the priority of the BSS to be established. based on The receiver 81 is further configured to: before the processor 82 determines whether the BSS to be established is allowed to be established on the channel identified by the identifier, receive the priority of the BSS where the second AP is sent by the second AP. .
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建 立 BSS 使用所述标识所标识的信道的时长和 /或在所述标识所标识的信道上 允许使用的带宽。  In an optional implementation, when the indication information indicates that the BSS to be established is established on the channel identified by the identifier, the BSS establishment reply message further includes: allowing the BSS to be established to use the The duration of the identified channel and/or the bandwidth allowed on the channel identified by the identity.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述标识所标识的信道上建立时, 所述 BSS建立回复消息还包括: 所述第一 AP 再次发送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel that is identified by the identifier, the BSS establishment reply message further includes: the first AP resending the station The time at which the BSS establishes the request message.
在具体实现上, 处理器 82可以是一个 CPU, 或者是特定 ASIC, 或者是被 配置成实施本发明实施例的一个或多个集成电路。  In particular implementations, processor 82 can be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
进一步, 如图 8所示, 所述单元还可以包括: 存储器 84。 存储器 84用 于存储程序。 具体地, 程序可以包括程序代码, 所述程序代码包括计算机操 作指令。 存储器 84可以包含高速 RAM存储器, 也可以包括非易失性存储器 (non-volatile memory) , 例如至少一个磁盘存储器。  Further, as shown in FIG. 8, the unit may further include: a memory 84. The memory 84 is used to store programs. In particular, the program can include program code, the program code including computer operating instructions. The memory 84 may include a high speed RAM memory, and may also include a non-volatile memory such as at least one disk memory.
在一可选实施方式中, 处理器 82可通过执行存储器 84存储的程序来实 现上述功能, 但不限于此。  In an alternative embodiment, processor 82 may perform the functions described above by executing a program stored in memory 84, but is not limited thereto.
可选的, 在具体实现上, 如果接收器 81、 处理器 82、 发射器 83和存储 器 84独立实现, 则接收器 81、 处理器 82、 发射器 83和存储器 84可以通过 总线相互连接并完成相互间的通信。 所述总线可以是 ISA总线、 PCI 总线或 EISA总线等。 所述总线可以分为地址总线、 数据总线、 控制总线等。 为便于 表示, 图 8中仅用一条粗线表示, 但并不表示仅有一根总线或一种类型的总 可选的, 在具体实现上, 如果接收器 81、 处理器 82、 发射器 83和存储 器 84集成在一块芯片上实现, 则接收器 81、 处理器 82、 发射器 83和存储器 84可以通过内部接口完成相互间的通信。  Optionally, in a specific implementation, if the receiver 81, the processor 82, the transmitter 83, and the memory 84 are implemented independently, the receiver 81, the processor 82, the transmitter 83, and the memory 84 can be connected to each other through a bus and complete each other. Communication between. The bus can be an ISA bus, a PCI bus or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 8, but it does not mean that there is only one bus or one type of total optional, in specific implementation, if the receiver 81, the processor 82, the transmitter 83 and The memory 84 is integrated on a single chip, and the receiver 81, the processor 82, the transmitter 83, and the memory 84 can communicate with each other through an internal interface.
本实施例提供的信道选择控制单元可以设置于 AC中实现, 或者作为 AC 实现, 但不限于此。  The channel selection control unit provided in this embodiment may be implemented in an AC, or implemented as an AC, but is not limited thereto.
本实施例提供的信道选择控制单元可用于执行图 2所示信道选择方法实 施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。 本实施例提供的信道选择控制单元,接收第一 AP发送的 BSS建立请求消 息, 之后根据当前工作在该信道上的第二 AP所在 BSS的优先级和待建立 BSS 的优先级, 确定是否允许该待建立 BSS在该信道上建立, 并向第一 AP返回指 示信息, 以使第一 AP根据指示在该信道上建立或不建立待建立 BSS , 即为该 待建立 BSS选择或不选择该信道, 这样可以在多个 BSS共享信道的情况下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间产生 严重干扰等。 The channel selection control unit provided in this embodiment may be used to implement the channel selection method shown in FIG. The specific working principle of the process of the embodiment is not described again. For details, refer to the description of the method embodiment. The channel selection control unit provided in this embodiment receives the BSS setup request message sent by the first AP, and then determines whether to allow the BSS according to the priority of the BSS where the second AP is currently working on the channel and the priority of the BSS to be established. The BSS to be established is established on the channel, and returns indication information to the first AP, so that the first AP establishes or does not establish a BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established. In this way, in the case that multiple BSSs share a channel, a better channel is selected for the BSS to be established, the quality of service of each BSS is guaranteed, and serious interference between the BSSs is avoided.
图 9为本发明实施例提供的又一种信道选择装置的结构示意图。 所述装 置可以作为第一 AP , 或者可以设置于第一 AP中实现, 如图 9所示, 所述装 置包括: 发送模块 91、 接收模块 92和确定模块 93。  FIG. 9 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention. The device may be implemented as a first AP, or may be implemented in a first AP. As shown in FIG. 9, the device includes: a sending module 91, a receiving module 92, and a determining module 93.
发送模块 91, 用于向第二 AP发送 BSS建立请求消息, 以请求在所述第 二 AP当前使用的信道上建立待建立 BSS。  The sending module 91 is configured to send a BSS setup request message to the second AP, to request to establish a BSS to be established on the channel currently used by the second AP.
接收模块 92, 用于接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS 建立回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指 示信息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和 所述待建立 BSS的优先级确定的。  The receiving module 92 is configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel; The second AP is determined according to a priority of the BSS where the second AP is located and a priority of the BSS to be established.
确定模块 93,与接收模块 92连接,用于根据接收模块 92接收的所述 BSS 建立回复消息的指示, 在所述信道上建立所述待建立 BSS或者不在所述信道 上建立所述待建立 BSS。  The determining module 93 is connected to the receiving module 92, configured to establish the BSS to be established on the channel according to the indication of the BSS establishment reply message received by the receiving module 92, or not to establish the BSS to be established on the channel. .
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP , 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP , 或者是提供无线接入的商户部署的 AP , 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在一可选实施方式中, 所述装置还可以包括: 获取模块。 获取模块, 用 于在发送模块 91发送所述 BSS建立请求消息,获取当前工作在所述信道上的 第三 AP所在 BSS的优先级, 根据当前工作在所述信道上的第三 AP所在 BSS 的优先级和所述待建立 BSS的优先级, 确定优先级高于所述待建立 BSS的优 先级的 BSS中的第三 AP作为所述第二 AP。 其中, 这里所述的第三 AP可以是 当前工作所述信道上的全部 AP或部分 AP , 而第二 AP是第三 AP中的一个或 其中,获取模块用于获取当前工作在所述信道上的第三 AP所在 BSS的优 先级, 包括: 获取模块具体用于接收当前工作在所述信道上的第三 AP分别发 送的信标帧, 所述信标帧包括所述第三 AP所在 BSS的优先级; 或者, 获取模 块具体用于向当前工作在所述信道上的第三 AP发送查询消息,并接收所述第 三 AP分别针所述查询消息返回的查询响应消息,所述查询响应消息包括所述 第三 AP所在 BSS的优先级。 In an optional implementation manner, the apparatus may further include: an acquiring module. An obtaining module, configured to send, by the sending module 91, the BSS setup request message, to obtain a priority of a BSS where a third AP currently working on the channel is located, according to a BSS where a third AP currently working on the channel is located And a priority of the BSS to be established, and determining, as the second AP, a third AP in the BSS with a higher priority than the priority of the BSS to be established. Wherein, the third AP described herein may be Currently, all the APs or part of the APs on the channel are working, and the second AP is one of the third APs, and the acquiring module is configured to obtain the priority of the BSS where the third AP currently working on the channel is located, including The acquiring module is specifically configured to receive a beacon frame that is sent by the third AP that is currently working on the channel, where the beacon frame includes a priority of the BSS where the third AP is located; or The third AP that is currently working on the channel sends a query message, and receives the query response message returned by the third AP by the query message, where the query response message includes the priority of the BSS where the third AP is located. .
在一可选实施方式中,发送模块 91具体用于向当前工作在所述信道上的 第三 AP发送所述 BSS建立请求消息, 以向所述第三 AP中所在 BSS优先级高 于所述待建立 BSS的优先级的所述第二 AP请求在所述第二 AP当前使用的信 道上建立所述待建立 BSS。 在该实施方式中, 本实施例的装置并不预先确定 第二 AP ,而是接收到 BSS建立请求消息的第三 AP自身确定是否作为第二 AP。 其中, 这里所述的第三 AP可以是当前工作所述信道上的全部 AP或部分 AP , 而第二 AP是第三 AP中的一个或多个。  In an optional implementation, the sending module 91 is specifically configured to send the BSS setup request message to a third AP currently working on the channel, so that the priority of the BSS in the third AP is higher than the foregoing. The second AP that is to establish the priority of the BSS requests to establish the to-be-established BSS on the channel currently used by the second AP. In this embodiment, the apparatus in this embodiment does not predetermine the second AP, but the third AP that receives the BSS setup request message determines whether it is the second AP. The third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
在一可选实施方式中, 所述 BSS建立请求消息包括所述待建立 BSS的优 先级。  In an optional implementation manner, the BSS setup request message includes a priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS使用所 述信道的时长和 /或在所述信道上允许使用的带宽。  In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选择装置再次发 送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
在本实施例中, 所述待建立 BSS的优先级由所述待建立 BSS中的关联用 户数、所述待建立 BSS中的活跃用户数和 /或指定的与信道选择相关的数据标 识, 但不限于此。  In this embodiment, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data associated with channel selection, but Not limited to this.
在一可选实施方式中, 接收模块 92 还用于接收优先级设置单元, 例如 AC发送的通告消息, 所述通告消息包括所述待建立 BSS的优先级, 用于获知 所述待建立 BSS的优先级。 或者, 本实施例的装置还包括: 优先级设定模块, 用于根据邻居 BSS的优先级和设定优先级所需的参数设定所述待建立 BSS的 优先级。 In an optional implementation manner, the receiving module 92 is further configured to receive a priority setting unit, such as an advertised message sent by the AC, where the advertised message includes a priority of the BSS to be established, and is used to learn the BSS to be established. priority. Or the apparatus of this embodiment further includes: a priority setting module, configured to set the BSS to be established according to a priority of a neighbor BSS and a parameter required to set a priority priority.
本实施例提供的信道选择装置的各功能模块可用于执行图 3B所示信道 选择方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The function modules of the channel selection apparatus provided in this embodiment can be used to perform the process of the channel selection method shown in FIG. 3B. The specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例提供的信道选择装置, 作为第一 AP或设置于第一 AP中实现, 向所需信道上的第二 AP发送 BSS建立请求消息,以请求在该信道上建立 BSS , 使得第二 AP可以根据第二 AP所在 BSS的优先级和该待建立 BSS的优先级, 确定是否允许该待建立 BSS在该信道上建立, 并向本实施例的信道选择装置 返回指示信息, 本实施例的信道选择装置根据指示, 在该信道上建立或不建 立待建立 BSS , 即为该待建立 BSS选择或不选择该信道, 这样可以在多个 BSS 共享信道的情况下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质量, 避免各 BSS之间产生严重干扰等。  The channel selection apparatus provided in this embodiment is implemented as the first AP or configured in the first AP, and sends a BSS setup request message to the second AP on the required channel to request to establish a BSS on the channel, so that the second AP is configured. Determining whether the BSS to be established is allowed to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returning the indication information to the channel selection apparatus of the embodiment, the channel of this embodiment The selecting device establishes or does not establish a BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that a preferred channel may be selected for the BSS to be established if multiple BSSs share the channel. , to ensure the quality of service of each BSS, to avoid serious interference between the BSS.
图 10为本发明实施例提供的又一种信道选择装置的结构示意图。所述装 置可以作为第一 AP, 或者可以设置于第一 AP中实现, 如图 10所示, 所述装 置包括: 发射器 1001、 接收器 1002和处理器 1003。  FIG. 10 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention. The device may be implemented as a first AP, or may be implemented in a first AP. As shown in FIG. 10, the device includes: a transmitter 1001, a receiver 1002, and a processor 1003.
发射器 1001, 用于向第二 AP发送 BSS建立请求消息, 以请求在所述第 二 AP当前使用的信道上建立待建立 BSS。  The transmitter 1001 is configured to send a BSS setup request message to the second AP to request to establish a BSS to be established on a channel currently used by the second AP.
接收器 1002, 用于接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS 建立回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指 示信息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和 所述待建立 BSS的优先级确定的。  The receiver 1002 is configured to receive a BSS setup reply message sent by the second AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, where the indication information is The second AP is determined according to a priority of the BSS where the second AP is located and a priority of the BSS to be established.
处理器 1003, 用于根据接收器 1002接收的所述 BSS建立回复消息的指 示, 在所述信道上建立所述待建立 BSS或者不在所述信道上建立所述待建立 BSS。  The processor 1003 is configured to establish, according to the BSS setup reply message received by the receiver 1002, the to-be-established BSS on the channel or not establish the to-be-established BSS on the channel.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP, 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP, 或者是提供无线接入的商户部署的 AP, 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在一可选实施方式中, 处理器 1003还用于在发射器 1001发送所述 BSS 建立请求消息, 获取当前工作在所述信道上的第三 AP所在 BSS的优先级, 根 据当前工作在所述信道上的第三 AP所在 BSS的优先级和所述待建立 BSS的优 先级,确定优先级高于所述待建立 BSS的优先级的 BSS中的第三 AP作为所述 第二 AP。 其中, 这里所述的第三 AP可以是当前工作所述信道上的全部 AP或 部分 AP, 而第二 AP是第三 AP中的一个或多个。 In an optional implementation, the processor 1003 is further configured to send, by the transmitter 1001, the BSS setup request message, to obtain a priority of a BSS where the third AP currently working on the channel is located, where Determining, according to the priority of the BSS where the third AP is currently working on the channel and the priority of the BSS to be established, determining a third AP in the BSS having a higher priority than the priority of the BSS to be established as the Second AP. The third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
其中, 处理器 1003用于获取当前工作在所述信道上的第三 AP所在 BSS 的优先级, 包括: 处理器 1003具体用于通过接收器 1002接收当前工作在所 述信道上的第三 AP分别发送的信标帧,所述信标帧包括所述第三 AP所在 BSS 的优先级; 或者, 处理器 1003具体用于通过发射器 1001向当前工作在所述 信道上的第三 AP发送查询消息,并通过接收器 1002接收所述第三 AP分别针 所述查询消息返回的查询响应消息,所述查询响应消息包括所述第三 AP所在 BSS的优先级。  The processor 1003 is configured to obtain the priority of the BSS where the third AP currently working on the channel is located, where the processor 1003 is specifically configured to receive, by the receiver 1002, the third AP currently working on the channel. a transmitted beacon frame, where the beacon frame includes a priority of the BSS where the third AP is located; or the processor 1003 is specifically configured to send, by using the transmitter 1001, a query message to a third AP currently working on the channel. Receiving, by the receiver 1002, the query response message returned by the third AP by the query message, where the query response message includes a priority of the BSS where the third AP is located.
在一可选实施方式中,发射器 1001具体用于向当前工作在所述信道上的 第三 AP发送所述 BSS建立请求消息, 以向所述第三 AP中所在 BSS优先级高 于所述待建立 BSS的优先级的所述第二 AP请求在所述第二 AP当前使用的信 道上建立所述待建立 BSS。 在该实施方式中, 本实施例的装置并不预先确定 第二 AP,而是接收到 BSS建立请求消息的第三 AP自身确定是否作为第二 AP。 其中, 这里所述的第三 AP可以是当前工作所述信道上的全部 AP或部分 AP , 而第二 AP是第三 AP中的一个或多个。  In an optional implementation, the transmitter 1001 is specifically configured to send the BSS setup request message to a third AP currently working on the channel, so that the priority of the BSS in the third AP is higher than the foregoing. The second AP that is to establish the priority of the BSS requests to establish the to-be-established BSS on the channel currently used by the second AP. In this embodiment, the apparatus in this embodiment does not predetermine the second AP, but the third AP that receives the BSS setup request message determines whether it is the second AP. The third AP described herein may be all APs or partial APs on the channel currently working, and the second AP is one or more of the third APs.
在一可选实施方式中, 所述 BSS建立请求消息包括所述待建立 BSS的优 先级。  In an optional implementation manner, the BSS setup request message includes a priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS使用所 述信道的时长和 /或在所述信道上允许使用的带宽。  In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选择装置再次发 送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
在本实施例中, 所述待建立 BSS的优先级由所述待建立 BSS中的关联用 户数、所述待建立 BSS中的活跃用户数和 /或指定的与信道选择相关的数据标 识, 但不限于此。  In this embodiment, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established, the number of active users in the BSS to be established, and/or the specified data associated with channel selection, but Not limited to this.
在一可选实施方式中, 接收器 1002 还用于接收优先级设置单元, 例如 AC发送的通告消息, 所述通告消息包括所述待建立 BSS的优先级, 用于获知 所述待建立 BSS的优先级。 或者, 本实施例的装置还包括: 优先级设定模块, 用于根据邻居 BSS的优先级和设定优先级所需的参数设定所述待建立 BSS的 优先级。 In an optional implementation, the receiver 1002 is further configured to receive a priority setting unit, for example The advertised message sent by the AC, the advertised message includes the priority of the BSS to be established, and is used to learn the priority of the BSS to be established. Alternatively, the apparatus of this embodiment further includes: a priority setting module, configured to set a priority of the BSS to be established according to a priority of a neighbor BSS and a parameter required to set a priority.
在具体实现上, 处理器 1003可以是一个 CPU, 或者是特定 ASIC, 或者是 被配置成实施本发明实施例的一个或多个集成电路。  In particular implementations, processor 1003 can be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
进一步, 如图 10所示,所述装置还可以包括:存储器 1004。存储器 1004 用于存储程序。 具体地, 程序可以包括程序代码, 所述程序代码包括计算机 操作指令。存储器 1004可以包含高速 RAM存储器, 也可以包括非易失性存储 器 (non-volati le memory) , 例如至少一个磁盘存储器。  Further, as shown in FIG. 10, the apparatus may further include: a memory 1004. The memory 1004 is used to store programs. In particular, the program can include program code, the program code including computer operating instructions. The memory 1004 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
在一可选实施方式中, 处理器 1003可通过执行存储器 1004存储的程序 来实现上述功能, 但不限于此。  In an optional implementation, the processor 1003 can implement the above functions by executing a program stored in the memory 1004, but is not limited thereto.
可选的, 在具体实现上, 如果发射器 1001、 接收器 1002、 处理器 1003 和存储器 1004独立实现, 则发射器 1001、 接收器 1002、 处理器 1003和存储 器 1004可以通过总线相互连接并完成相互间的通信。所述总线可以是 ISA总 线、 PCI总线或 EISA总线等。 所述总线可以分为地址总线、 数据总线、 控制 总线等。 为便于表示, 图 10中仅用一条粗线表示, 但并不表示仅有一根总线 或一种类型的总线。  Optionally, in a specific implementation, if the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 are implemented independently, the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 may be connected to each other through a bus and complete each other. Communication between. The bus can be an ISA bus, a PCI bus or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 10, but it does not mean that there is only one bus or one type of bus.
可选的, 在具体实现上, 如果发射器 1001、 接收器 1002、 处理器 1003 和存储器 1004集成在一块芯片上实现, 则发射器 1001、 接收器 1002、 处理 器 1003和存储器 1004可以通过内部接口完成相互间的通信。  Optionally, in a specific implementation, if the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 are integrated on one chip, the transmitter 1001, the receiver 1002, the processor 1003, and the memory 1004 may pass through an internal interface. Complete communication with each other.
本实施例提供的信道选择装置可用于执行图 3B 所示信道选择方法实施 例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The channel selection device provided in this embodiment can be used to perform the process of the channel selection method shown in FIG. 3B. The specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例提供的信道选择装置, 作为第一 AP或设置于第一 AP中实现, 向所需信道上的第二 AP发送 BSS建立请求消息,以请求在该信道上建立 BSS , 使得第二 AP可以根据第二 AP所在 BSS的优先级和该待建立 BSS的优先级, 确定是否允许该待建立 BSS在该信道上建立, 并向本实施例的信道选择装置 返回指示信息, 本实施例的信道选择装置根据指示, 在该信道上建立或者不 建立待建立 BSS , 即为该待建立 BSS选择或不选择该信道, 这样可以在多个 BSS共享信道的情况下, 为待建立 BSS选择较佳信道, 保证各 BSS的服务质 量, 避免各 BSS之间产生严重干扰等。 The channel selection apparatus provided in this embodiment is implemented as the first AP or configured in the first AP, and sends a BSS setup request message to the second AP on the required channel to request to establish a BSS on the channel, so that the second AP is configured. Determining whether the BSS to be established is allowed to be established on the channel according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, and returning the indication information to the channel selection apparatus of the embodiment, the channel of this embodiment The selecting device establishes or does not establish a BSS to be established on the channel according to the indication, that is, selects or does not select the channel for the BSS to be established, so that a preferred channel may be selected for the BSS to be established if multiple BSSs share the channel. , to ensure the quality of service of each BSS Quantity, to avoid serious interference between the BSS.
图 1 1为本发明实施例提供的又一种信道选择装置的结构示意图。所述装 置可以作为第二 AP, 或者可以设置于第二 AP中实现, 如图 11所示, 所述装 置包括: 接收模块 1101、 确定模块 1102和发送模块 1 103。  FIG. 11 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention. The device may be implemented as a second AP, or may be implemented in a second AP. As shown in FIG. 11, the device includes: a receiving module 1101, a determining module 1102, and a sending module 1103.
接收模块 1101, 用于接收第一 AP发送的 BSS建立请求消息, 所述 BSS 建立请求消息用以第一 AP请求在所述第二 AP当前使用的信道上建立待建立 BSS。  The receiving module 1101 is configured to receive a BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP.
确定模块 1102, 与接收模块 1101连接, 用于根据所述第二 AP所在 BSS 的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所述信 道上建立。  The determining module 1102 is connected to the receiving module 1101, and is configured to determine, according to the priority of the BSS where the second AP is located and the priority of the BSS to be established, whether to allow the to-be-established BSS to be established on the channel.
发送模块 1103, 与确定模块 1102连接, 用于向所述第一 AP发送 BSS建 立回复消息, 所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS 在所述信道上建立的指示信息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立所述待建立 BSS。  The sending module 1103 is connected to the determining module 1102, and configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel. So that the first AP establishes the to-be-established BSS on the channel or does not establish the to-be-established BSS on the channel.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP, 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP, 或者是提供无线接入的商户部署的 AP, 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在一可选实施方式中, 发送模块 1 103 还用于在所述接收模块接收所述 In an optional implementation, the sending module 1 103 is further configured to receive the
BSS建立请求消息之前, 向所述第一 AP发送信标帧, 所述信标帧包括所述第 二 AP所在 BSS的优先级, 以使所述第一 AP根据所述第二 AP所在 BSS的优先 级和所述待建立 BSS的优先级,确定是否向所述第二 AP发送所述 BSS建立请 求消息。 或者 Before the BSS establishes the request message, the beacon frame is sent to the first AP, where the beacon frame includes the priority of the BSS where the second AP is located, so that the first AP is based on the BSS where the second AP is located. The priority and the priority of the BSS to be established, determining whether to send the BSS establishment request message to the second AP. Or
接收模块 1101还用于在接收所述 BSS建立请求消息之前,接收所述第一 The receiving module 1101 is further configured to receive the first before receiving the BSS setup request message.
AP发送的查询消息;发送模块 1103还用于向所述第一 AP返回查询响应消息, 所述查询响应消息包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根 据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定是否向所 述第二 AP发送所述 BSS建立请求消息。 The query message sent by the AP; the sending module 1103 is further configured to: return a query response message to the first AP, where the query response message includes a priority of the BSS where the second AP is located, so that the first AP is configured according to the Determining, by the priority of the BSS where the second AP is located, and the priority of the BSS to be established, determining whether to send the BSS establishment request message to the second AP.
在一可选实施方式中, 确定模块 1102具体用于将所述第二 AP所在 BSS 的优先级和所述待建立 BSS的优先级进行比较; 如果比较结果为所述第二 AP 所在 BSS的优先级高于所述待建立 BSS的优先级,确定不允许所述待建立 BSS 在所述信道上建立;如果比较结果为所述第二 AP所在 BSS的优先级低于所述 待建立 BSS的优先级, 丢弃所述 BSS建立请求消息, 或者向所述第一 AP发送 用于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优先级的响应 消息。 In an optional implementation, the determining module 1102 is specifically configured to: where the second AP is located. The priority of the BSS is compared with the priority of the BSS to be established; if the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, it is determined that the BSS to be established is not allowed to be established. Establishing on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, discarding the BSS establishment request message, or sending the indication to the first AP The response message that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
在一可选实施方式中, 所述 BSS建立请求消息还包括所述待建立 BSS的 优先级。  In an optional implementation manner, the BSS setup request message further includes a priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS使用所 述信道的时长和 /或在所述信道上允许使用的带宽。  In an optional implementation manner, when the indication information indicates that the BSS to be established is established on the channel, the BSS establishment reply message further includes: allowing the BSS to be established to use the duration of the channel. / or the bandwidth allowed on the channel.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选择装置再次发 送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
本实施例提供的信道选择装置的各功能模块可用于执行图 4所示信道选 择方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The function modules of the channel selection apparatus provided in this embodiment may be used to perform the process of the channel selection method embodiment shown in FIG. 4. The specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例提供的信道选择装置, 作为第二 AP或设置于第二 AP中实现, 与第一 AP相配合, 接收第一 AP发送的 BSS建立请求消息, 之后根据第二 AP 所在 BSS的优先级和待建立 BSS的优先级, 确定是否允许该待建立 BSS在该 信道上建立, 并向第一 AP返回指示信息, 以使第一 AP根据指示在该信道上 建立或者不建立待建立 BSS , 即为该待建立 BSS选择或不选择该信道, 这样 可以在多个 BSS共享信道的情况下,为待建立 BSS选择较佳信道,保证各 BSS 的服务质量, 避免各 BSS之间产生严重干扰等。  The channel selection apparatus provided in this embodiment is implemented as the second AP or configured in the second AP, and cooperates with the first AP to receive the BSS establishment request message sent by the first AP, and then according to the priority of the BSS where the second AP is located. And determining a priority of the BSS to be established, determining whether the BSS to be established is established on the channel, and returning indication information to the first AP, so that the first AP establishes or does not establish a BSS to be established on the channel according to the indication, that is, Selecting or not selecting the channel for the BSS to be established, so that in the case that multiple BSSs share the channel, the preferred channel is selected for the BSS to be established, the quality of service of each BSS is guaranteed, and serious interference between the BSSs is avoided.
图 12为本发明实施例提供的又一种信道选择装置的结构示意图。所述装 置可以作为第二 AP , 或者可以设置于第二 AP中实现, 如图 12所示, 所述装 置包括: 接收器 1201、 处理器 1202和发射器 1203。  FIG. 12 is a schematic structural diagram of still another channel selection apparatus according to an embodiment of the present invention. The device may be implemented as a second AP, or may be implemented in a second AP. As shown in FIG. 12, the device includes: a receiver 1201, a processor 1202, and a transmitter 1203.
接收器 1201, 用于接收第一 AP发送的 BSS建立请求消息, 所述 BSS建 立请求消息用以第一 AP 请求在所述第二 AP 当前使用的信道上建立待建立 BSS。  The receiver 1201 is configured to receive a BSS setup request message sent by the first AP, where the BSS setup request message is used by the first AP to establish a BSS to be established on a channel currently used by the second AP.
处理器 1202,用于根据所述第二 AP所在 BSS的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述信道上建立。 The processor 1202 is configured to: according to a priority of the BSS where the second AP is located, and the to-be-established BSS The priority determines whether the BSS to be established is allowed to be established on the channel.
发射器 1203, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建 立回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示 信息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建 立所述待建立 BSS。  The transmitter 1203 is configured to send a BSS setup reply message to the first AP, where the BSS setup reply message includes indication information for indicating whether to allow the BSS to be established to be established on the channel, so that the first AP is configured. Establishing the to-be-established BSS on the channel or not establishing the to-be-established BSS on the channel.
在此说明, 第一 AP和第二 AP可以是同一运营商网络中的不同 AP , 也可 以是不同运营商网络中的 AP。 举例说明, 第一 AP可以是网络租用进行第二 次经营的无线接入运营商部署的 AP , 或者是提供无线接入的商户部署的 AP , 或者是个人的 BY0D等等。 第二 AP可以是部署网络的运营商部署的网络中 AP 等。  It is noted that the first AP and the second AP may be different APs in the same carrier network, or may be APs in different carrier networks. For example, the first AP may be an AP deployed by a wireless access operator that is network leased for the second time, or an AP deployed by a merchant that provides wireless access, or a BY0D of an individual. The second AP may be an AP or the like in a network deployed by an operator deploying the network.
在一可选实施方式中, 发射器 1203还用于在所述接收模块接收所述 BSS 建立请求消息之前, 向所述第一 AP 发送信标帧, 所述信标帧包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根据所述第二 AP所在 BSS的优先级 和所述待建立 BSS的优先级,确定是否向所述第二 AP发送所述 BSS建立请求 消息。 或者  In an optional implementation, the transmitter 1203 is further configured to: before the receiving module receives the BSS setup request message, send a beacon frame to the first AP, where the beacon frame includes the second AP The priority of the BSS, so that the first AP determines whether to send the BSS establishment request message to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established. Or
接收器 1201还用于在接收所述 BSS建立请求消息之前, 接收所述第一 AP发送的查询消息; 发射器 1203还用于向所述第一 AP返回查询响应消息, 所述查询响应消息包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根 据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定是否向所 述第二 AP发送所述 BSS建立请求消息。  The receiver 1201 is further configured to: before receiving the BSS setup request message, receive the query message sent by the first AP; the transmitter 1203 is further configured to return a query response message to the first AP, where the query response message includes The priority of the BSS where the second AP is located, so that the first AP determines whether to send the foregoing to the second AP according to the priority of the BSS where the second AP is located and the priority of the BSS to be established. The BSS establishes a request message.
在一可选实施方式中, 处理器 1202具体用于将所述第二 AP所在 BSS的 优先级和所述待建立 BSS的优先级进行比较;如果比较结果为所述第二 AP所 在 BSS的优先级高于所述待建立 BSS的优先级, 确定不允许所述待建立 BSS 在所述信道上建立;如果比较结果为所述第二 AP所在 BSS的优先级低于所述 待建立 BSS的优先级, 丢弃所述 BSS建立请求消息, 或者向所述第一 AP发送 用于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优先级的响应 消息。  In an optional implementation, the processor 1202 is specifically configured to compare a priority of the BSS where the second AP is located with a priority of the BSS to be established; if the comparison result is a priority of the BSS where the second AP is located The level is higher than the priority of the BSS to be established, determining that the BSS to be established is not allowed to be established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established Level, discarding the BSS establishment request message, or sending a response message to the first AP indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
在一可选实施方式中, 所述 BSS建立请求消息还包括所述待建立 BSS的 优先级。  In an optional implementation manner, the BSS setup request message further includes a priority of the BSS to be established.
在一可选实施方式中, 在所述指示信息指示允许所述待建立 BSS在所述 信道上建立时, 所述 BSS建立回复消息还包括: 允许所述待建立 BSS使用所 述信道的时长和 /或在所述信道上允许使用的带宽。 In an optional implementation manner, the indication information indicates that the BSS to be established is allowed to be in the When the channel is established, the BSS setup reply message further includes: allowing the BSS to be established to use the channel and/or allowing bandwidth to be used on the channel.
在一可选实施方式中, 在所述指示信息指示不允许所述待建立 BSS在所 述信道上建立时, 所述 BSS建立回复消息还包括: 所述信道选择装置再次发 送所述 BSS建立请求消息的时间。  In an optional implementation manner, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: the channel selection apparatus transmitting the BSS establishment request again. The time of the message.
在具体实现上, 处理器 1202可以是一个 CPU, 或者是特定 ASIC, 或者是 被配置成实施本发明实施例的一个或多个集成电路。  In particular implementations, processor 1202 can be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
进一步, 如图 12所示,所述装置还可以包括:存储器 1204。存储器 1204 用于存储程序。 具体地, 程序可以包括程序代码, 所述程序代码包括计算机 操作指令。存储器 1204可以包含高速 RAM存储器, 也可以包括非易失性存储 器 (non-volati le memory) , 例如至少一个磁盘存储器。  Further, as shown in FIG. 12, the apparatus may further include: a memory 1204. The memory 1204 is used to store programs. In particular, the program can include program code, the program code including computer operating instructions. The memory 1204 may include a high speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
在一可选实施方式中, 处理器 1202可通过执行存储器 1204存储的程序 来实现上述功能, 但不限于此。  In an alternative embodiment, the processor 1202 can implement the above functions by executing a program stored in the memory 1204, but is not limited thereto.
可选的, 在具体实现上, 如果接收器 1201、 处理器 1202、 发射器 1203 和存储器 1204独立实现, 则接收器 1201、 处理器 1202、 发射器 1203和存储 器 1204可以通过总线相互连接并完成相互间的通信。所述总线可以是 ISA总 线、 PCI总线或 EISA总线等。 所述总线可以分为地址总线、 数据总线、 控制 总线等。 为便于表示, 图 12中仅用一条粗线表示, 但并不表示仅有一根总线 或一种类型的总线。  Optionally, in a specific implementation, if the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 are implemented independently, the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 may be connected to each other through a bus and complete each other. Communication between. The bus can be an ISA bus, a PCI bus or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus.
可选的, 在具体实现上, 如果接收器 1201、 处理器 1202、 发射器 1203 和存储器 1204集成在一块芯片上实现, 则接收器 1201、 处理器 1202、 发射 器 1203和存储器 1204可以通过内部接口完成相互间的通信。  Optionally, in a specific implementation, if the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 are integrated on one chip, the receiver 1201, the processor 1202, the transmitter 1203, and the memory 1204 may pass through an internal interface. Complete communication with each other.
本实施例提供的信道选择装置可用于执行图 4所示信道选择方法实施例 的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。  The channel selection device provided in this embodiment may be used to perform the process of the channel selection method embodiment shown in FIG. 4, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
本实施例提供的信道选择装置, 作为第二 AP或设置于第二 AP中实现, 与第一 AP相配合, 接收第一 AP发送的 BSS建立请求消息, 之后根据第二 AP 所在 BSS的优先级和待建立 BSS的优先级, 确定是否允许该待建立 BSS在该 信道上建立, 并向第一 AP返回指示信息, 以使第一 AP根据指示在该信道上 建立或不建立待建立 BSS , 即为该待建立 BSS选择或不选择该信道, 这样可 以在多个 BSS共享信道的情况下, 为待建立 BSS选择较佳信道, 保证各 BSS 的服务质量, 避免各 BSS之间产生严重干扰等。 The channel selection apparatus provided in this embodiment is implemented as the second AP or configured in the second AP, and cooperates with the first AP to receive the BSS establishment request message sent by the first AP, and then according to the priority of the BSS where the second AP is located. And determining a priority of the BSS to be established, determining whether the BSS to be established is established on the channel, and returning indication information to the first AP, so that the first AP establishes or does not establish a BSS to be established on the channel according to the indication, that is, Selecting or not selecting the channel for the BSS to be established, so that in the case that multiple BSSs share the channel, the preferred channel is selected for the BSS to be established, and each BSS is guaranteed. Quality of service, avoiding serious interference between BSSs.
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: 匪、 RAM, 磁碟或者光盘等各种可以存储程序代码的 介质。  One of ordinary skill in the art will appreciate that all or a portion of the steps to implement the various method embodiments described above can be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as 匪, RAM, disk or optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权利 要 求书 claims
1、 一种信道选择方法, 其特征在于, 包括: 1. A channel selection method, characterized by including:
第一接入点 AP向信道选择控制单元发送基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识; The first access point AP sends a basic service set BSS establishment request message to the channel selection control unit, where the BSS establishment request message includes the identification of the channel required for the BSS to be established;
所述第一 AP接收所述信道选择控制单元发送的 BSS建立回复消息,所述 The first AP receives the BSS establishment reply message sent by the channel selection control unit, and the
BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识 的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据当前 工作在所述标识所标识的信道上的第二 AP所在 BSS 的优先级和所述待建立 BSS的优先级确定的; The BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel identified by the identifier; the indication information is the channel selection control unit currently working on the channel identified by the identifier. The priority of the BSS where the second AP on the channel is located is determined by the priority of the BSS to be established;
所述第一 AP根据所述 BSS建立回复消息的指示,在所述标识所标识的信 道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待建立 BSS。 The first AP establishes the BSS to be established on the channel identified by the identifier or does not establish the BSS to be established on the channel identified by the identifier according to the instruction of the BSS establishment reply message.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 BSS建立请求消息还 包括所述待建立 BSS的优先级。 2. The method according to claim 1, wherein the BSS establishment request message further includes the priority of the BSS to be established.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 在所述指示信息指示 允许所述待建立 BSS在所述标识所标识的信道上建立时, 所述 BSS建立回复 消息还包括:允许所述待建立 BSS使用所述标识所标识的信道的时长和 /或在 所述标识所标识的信道上允许使用的带宽。 3. The method according to claim 1 or 2, characterized in that, when the indication information indicates that the BSS to be established is allowed to be established on the channel identified by the identifier, the BSS establishment reply message further includes: The duration for which the BSS to be established is allowed to use the channel identified by the identifier and/or the bandwidth allowed to be used on the channel identified by the identifier.
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 在所述指示信息 指示不允许所述待建立 BSS在所述标识所标识的信道上建立时, 所述 BSS建 立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。 4. The method according to any one of claims 1 to 3, characterized in that, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS establishment reply The message also includes: the time when the first AP sends the BSS establishment request message again.
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 所述待建立 BSS 的优先级由所述待建立 BSS中的关联用户数、 所述待建立 BSS中的活跃用户 数和 /或指定的与信道选择相关的数据标识。 5. The method according to any one of claims 1 to 4, characterized in that, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established and the number of active users in the BSS to be established. and/or specified data identifiers related to channel selection.
6、 根据权利要求 1-5任一项所述的方法, 其特征在于, 还包括: 所述第一 AP接收所述信道选择控制单元发送的通告消息,所述通告消息 包括所述待建立 BSS的优先级; 或者 6. The method according to any one of claims 1 to 5, further comprising: the first AP receiving a notification message sent by the channel selection control unit, the notification message including the BSS to be established priority; or
所述第一 AP根据邻居 BSS的优先级和设定优先级所需的参数设定所述待 建立 BSS的优先级。 The first AP sets the priority of the BSS to be established according to the priority of the neighboring BSS and the parameters required to set the priority.
7、 一种信道选择方法, 其特征在于, 包括: 信道选择控制单元接收待第一接入点 AP发送的基本服务集 BSS建立请求 消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识; 7. A channel selection method, characterized by including: The channel selection control unit receives a basic service set BSS establishment request message to be sent by the first access point AP, where the BSS establishment request message includes the identification of the channel required for the BSS to be established;
所述信道选择控制单元根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS 的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上建立; The channel selection control unit determines whether to allow the BSS to be established to operate on the channel identified by the identifier based on the priority of the BSS where the second AP currently works on the channel identified by the identifier and the priority of the BSS to be established. established on the channel;
所述信道选择控制单元向所述第一 AP发送 BSS建立回复消息, 所述 BSS 建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信 道上建立的指示信息, 以使所述第一 AP在所述标识所标识的信道上建立所述 待建立 BSS或不在所述标识所标识的信道上建立所述待建立 BSS。 The channel selection control unit sends a BSS establishment reply message to the first AP, where the BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, to The first AP is caused to establish the BSS to be established on the channel identified by the identifier or not to establish the BSS to be established on the channel identified by the identifier.
8、 根据权利要求 7所述的方法, 其特征在于, 所述信道选择控制单元根 据当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待 建立 BSS的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上 建立, 包括: 8. The method according to claim 7, wherein the channel selection control unit selects the BSS based on the priority of the second AP currently working on the channel identified by the identifier and the priority of the BSS to be established. The stage determines whether to allow the BSS to be established to be established on the channel identified by the identifier, including:
如果所述待建立 BSS的优先级高于当前工作在所述标识所标识的信道上 的所述第二 AP所在 BSS的优先级,所述信道选择控制单元确定允许所述待建 立 BSS在所述标识所标识的信道上建立; 或者 If the priority of the BSS to be established is higher than the priority of the BSS where the second AP currently works on the channel identified by the identifier, the channel selection control unit determines to allow the BSS to be established to be in the Established on the channel identified by the identifier; or
如果所述待建立 BSS的优先级低于当前工作在所述标识所标识的信道上 的所述第二 AP所在 BSS的优先级,所述信道选择控制单元将当前工作在所述 标识所标识的信道上的所述第二 AP的数量和 /或占用所述标识所标识的信道 的时长与对应的门限进行比较, 如果比较结果为小于所述门限, 则确定允许 所述待建立 BSS在所述标识所标识的信道上建立; 如果比较结果为大于或等 于所述门限,则确定不允许所述待建立 BSS在所述标识所标识的信道上建立。 If the priority of the BSS to be established is lower than the priority of the BSS where the second AP currently works on the channel identified by the identifier, the channel selection control unit will The number of the second AP on the channel and/or the duration of occupying the channel identified by the identifier is compared with the corresponding threshold. If the comparison result is less than the threshold, it is determined that the BSS to be established is allowed to be established in the The BSS to be established is not allowed to be established on the channel identified by the identifier if the comparison result is greater than or equal to the threshold.
9、 根据权利要求 7或 8所述的方法, 其特征在于, 所述信道选择控制单 元根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所 述待建立 BSS的优先级确定是否允许所述待建立 BSS在所述标识所标识的信 道上建立之前, 包括: 9. The method according to claim 7 or 8, characterized in that, the channel selection control unit selects the BSS based on the priority of the second AP currently working on the channel identified by the identifier and the BSS to be established. The priority determines whether to allow the BSS to be established before being established on the channel identified by the identifier, including:
所述信道选择控制单元根据设定优先级所需的参数, 分别确定所述待建 立 BSS的优先级和所述第二 AP所在 BSS的优先级; The channel selection control unit determines the priority of the BSS to be established and the priority of the BSS where the second AP is located based on the parameters required to set the priority;
所述信道选择控制单元将所述待建立 BSS的优先级发送给所述第一 AP , 将所述第二 AP所在 BSS的优先级发送给所述第二 AP。 The channel selection control unit sends the priority of the BSS to be established to the first AP, and sends the priority of the BSS where the second AP is located to the second AP.
10、 根据权利要求 7或 8所述的方法, 其特征在于, 所述 BSS建立请求 消息还包括所述待建立 BSS的优先级; 10. The method according to claim 7 or 8, characterized in that the BSS establishment request message also includes the priority of the BSS to be established;
所述信道选择控制单元根据当前工作在所述标识所标识的信道上的第二 AP所在 BSS 的优先级和所述待建立 BSS 的优先级确定是否允许所述待建立 BSS在所述标识所标识的信道上建立之前, 还包括: The channel selection control unit determines whether to allow the BSS to be established to operate on the channel identified by the identifier based on the priority of the BSS where the second AP currently works on the channel identified by the identifier and the priority of the BSS to be established. Before the channel is established, it also includes:
所述信道选择控制单元接收所述第二 AP发送的所述第二 AP所在 BSS的 优先级。 The channel selection control unit receives the priority of the BSS where the second AP is located sent by the second AP.
1 1、 根据权利要求 7- 10任一项所述的方法, 其特征在于, 在所述指示信 息指示允许所述待建立 BSS在所述标识所标识的信道上建立时, 所述 BSS建 立回复消息还包括: 允许所述待建立 BSS使用所述标识所标识的信道的时长 和 /或在所述标识所标识的信道上允许使用的带宽。 1 1. The method according to any one of claims 7 to 10, characterized in that, when the indication information indicates that the BSS to be established is allowed to be established on the channel identified by the identifier, the BSS establishment reply The message also includes: a time period for allowing the BSS to be established to use the channel identified by the identifier and/or a bandwidth allowed to be used on the channel identified by the identifier.
12、 根据权利要求 7- 1 1任一项所述的方法, 其特征在于, 在所述指示信 息指示不允许所述待建立 BSS在所述标识所标识的信道上建立时, 所述 BSS 建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。 12. The method according to any one of claims 7-11, characterized in that, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS is established The reply message also includes: the time when the first AP sends the BSS establishment request message again.
13、 一种信道选择方法, 其特征在于, 包括: 13. A channel selection method, characterized by including:
第一接入点 AP向第二 AP发送基本服务集 BSS建立请求消息, 以请求在 所述第二 AP当前使用的信道上建立待建立 BSS ; The first access point AP sends a basic service set BSS establishment request message to the second AP to request that the BSS to be established be established on the channel currently used by the second AP;
所述第一 AP接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS建立 回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信 息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和所述 待建立 BSS的优先级确定的; The first AP receives the BSS establishment reply message sent by the second AP, and the BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel; the indication information is The second AP is determined based on the priority of the BSS where the second AP is located and the priority of the BSS to be established;
所述第一 AP根据所述 BSS建立回复消息的指示,在所述信道上建立所述 待建立 BSS或者不在所述信道上建立所述待建立 BSS。 The first AP establishes the BSS to be established on the channel or does not establish the BSS to be established on the channel according to the instruction of the BSS establishment reply message.
14、 根据权利要求 13所述的方法, 其特征在于, 所述第一接入点 AP向 第二 AP发送基本服务集 BSS建立请求消息, 以请求在所述第二 AP当前使用 的信道上建立待建立 BSS之前, 包括: 14. The method according to claim 13, characterized in that, the first access point AP sends a basic service set BSS establishment request message to the second AP to request establishment on the channel currently used by the second AP. Before establishing BSS, include:
所述第一 AP获取当前工作在所述信道上的第三 AP所在 BSS的优先级, 根据当前工作在所述信道上的第三 AP所在 BSS的优先级和所述待建立 BSS的 优先级,确定优先级高于所述待建立 BSS的优先级的 BSS中的第三 AP作为所 述第二 AP。 The first AP obtains the priority of the BSS where the third AP currently working on the channel is located, and based on the priority of the BSS where the third AP currently working on the channel is located and the priority of the BSS to be established, Determine a third AP in the BSS with a priority higher than that of the BSS to be established as the second AP.
15、 根据权利要求 14所述的方法, 其特征在于, 所述第一 AP获取当前 工作在所述信道上的第三 AP所在 BSS的优先级, 包括: 15. The method according to claim 14, wherein the first AP obtains the priority of the BSS where the third AP currently working on the channel is located, including:
所述第一 AP接收当前工作在所述信道上的第三 AP分别发送的信标帧, 所述信标帧包括所述第三 AP所在 BSS的优先级; 或者 The first AP receives beacon frames sent respectively by the third AP currently working on the channel, and the beacon frames include the priority of the BSS where the third AP is located; or
所述第一 AP向当前工作在所述信道上的第三 AP发送查询消息, 并接收 所述第三 AP分别针所述查询消息返回的查询响应消息,所述查询响应消息包 括所述第三 AP所在 BSS的优先级。 The first AP sends a query message to the third AP currently working on the channel, and receives a query response message returned by the third AP in response to the query message, where the query response message includes the third AP. The priority of the BSS where the AP is located.
16、 根据权利要求 13所述的方法, 其特征在于, 所述第一接入点 AP向 第二 AP发送基本服务集 BSS建立请求消息, 以请求在所述第二 AP当前使用 的信道上建立待建立 BSS , 包括: 16. The method according to claim 13, characterized in that, the first access point AP sends a basic service set BSS establishment request message to the second AP to request establishment on the channel currently used by the second AP. BSS to be established, including:
所述第一 AP向当前工作在所述信道上的第三 AP发送所述 BSS建立请求 消息, 以向所述第三 AP中所在 BSS优先级高于所述待建立 BSS的优先级的所 述第二 AP请求在所述第二 AP当前使用的信道上建立所述待建立 BSS。 The first AP sends the BSS establishment request message to the third AP currently working on the channel, so as to send the BSS establishment request message to the third AP whose BSS priority is higher than the priority of the BSS to be established. The second AP requests to establish the BSS to be established on the channel currently used by the second AP.
17、 根据权利要求 13-16任一项所述的方法, 其特征在于, 所述 BSS建 立请求消息包括所述待建立 BSS的优先级。 17. The method according to any one of claims 13 to 16, characterized in that the BSS establishment request message includes the priority of the BSS to be established.
18、 根据权利要求 13-17任一项所述的方法, 其特征在于, 在所述指示 信息指示允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消息 还包括:允许所述待建立 BSS使用所述信道的时长和 /或在所述信道上允许使 用的带宽。 18. The method according to any one of claims 13 to 17, characterized in that, when the indication information indicates that the BSS to be established is allowed to be established on the channel, the BSS establishment reply message further includes: allow The duration for which the BSS to be established uses the channel and/or the bandwidth allowed to be used on the channel.
19、 根据权利要求 13-18任一项所述的方法, 其特征在于, 在所述指示 信息指示不允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消 息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。 19. The method according to any one of claims 13 to 18, characterized in that, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: The time when the first AP sends the BSS establishment request message again.
20、 根据权利要求 13-19任一项所述的方法, 其特征在于, 所述待建立 BSS的优先级由所述待建立 BSS中的关联用户数、 所述待建立 BSS中的活跃 用户数和 /或指定的与信道选择相关的数据标识。 20. The method according to any one of claims 13 to 19, wherein the priority of the BSS to be established is determined by the number of associated users in the BSS to be established and the number of active users in the BSS to be established. and/or specified data identifiers related to channel selection.
21、 根据权利要求 13-19任一项所述的方法, 其特征在于, 还包括: 所述第一 AP接收优先级设置单元发送的通告消息,所述通告消息包括所 述待建立 BSS的优先级; 或者 21. The method according to any one of claims 13 to 19, further comprising: the first AP receiving a notification message sent by the priority setting unit, the notification message including the priority of the BSS to be established. level; or
所述第一 AP根据邻居 BSS的优先级和设定优先级所需的参数设定所述待 建立 BSS的优先级。 The first AP sets the priority of the BSS to be established according to the priority of the neighbor BSS and the parameters required to set the priority.
22、 一种信道选择方法, 其特征在于, 包括: 22. A channel selection method, characterized by including:
第二接入点 AP接收第一 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息用以所述第一 AP请求在所述第二 AP当前使用的信道上建 立待建立 BSS ; The second access point AP receives the basic service set BSS establishment request message sent by the first AP, and the BSS establishment request message is used by the first AP to request the establishment of the BSS to be established on the channel currently used by the second AP;
所述第二 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优 先级确定是否允许所述待建立 BSS在所述信道上建立; The second AP determines whether to allow the BSS to be established to be established on the channel based on the priority of the BSS where the second AP is located and the priority of the BSS to be established;
所述第二 AP向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回复 消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示信息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立所述 待建立 BSS。 The second AP sends a BSS establishment reply message to the first AP. The BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel, so that the first AP The BSS to be established is established on the channel or the BSS to be established is not established on the channel.
23、 根据权利要求 22所述的方法, 其特征在于, 所述第二接入点 AP接 收第一 AP发送的基本服务集 BSS建立请求消息之前, 包括: 23. The method according to claim 22, characterized in that, before the second access point AP receives the basic service set BSS establishment request message sent by the first AP, it includes:
所述第二 AP向所述第一 AP发送信标帧,所述信标帧包括所述第二 AP所 在 BSS的优先级, 以使所述第一 AP根据所述第二 AP所在 BSS的优先级和所 述待建立 BSS的优先级,确定是否向所述第二 AP发送所述 BSS建立请求消息; 或者 The second AP sends a beacon frame to the first AP, where the beacon frame includes the priority of the BSS where the second AP is located, so that the first AP can respond according to the priority of the BSS where the second AP is located. level and the priority of the BSS to be established, determine whether to send the BSS establishment request message to the second AP; or
所述第二 AP接收所述第一 AP发送的查询消息,并向所述第一 AP返回查 询响应消息, 所述查询响应消息包括所述第二 AP所在 BSS的优先级, 以使所 述第一 AP根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级, 确定是否向所述第二 AP发送所述 BSS建立请求消息。 The second AP receives the query message sent by the first AP and returns a query response message to the first AP. The query response message includes the priority of the BSS where the second AP is located, so that the second AP An AP determines whether to send the BSS establishment request message to the second AP based on the priority of the BSS where the second AP is located and the priority of the BSS to be established.
24、 根据权利要求 22所述的方法, 其特征在于, 所述第二 AP根据所述 第二 AP所在 BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建 立 BSS在所述信道上建立, 包括: 24. The method according to claim 22, wherein the second AP determines whether to allow the BSS to be established based on the priority of the BSS where the second AP is located and the priority of the BSS to be established. Established on the above channels, including:
所述第二 AP将所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先 级进行比较; The second AP compares the priority of the BSS where the second AP is located with the priority of the BSS to be established;
如果比较结果为所述第二 AP所在 BSS的优先级高于所述待建立 BSS的优 先级, 所述第二 AP确定不允许所述待建立 BSS在所述信道上建立; 或者 If the comparison result is that the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, the second AP determines not to allow the BSS to be established to be established on the channel; or
如果比较结果为所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优 先级, 所述第二 AP丢弃所述 BSS建立请求消息, 或者向所述第一 AP发送用 于指示所述第二 AP所在 BSS的优先级低于所述待建立 BSS的优先级的响应消 If the comparison result is that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established, the second AP discards the BSS establishment request message, or sends a message to the first AP indicating that the BSS is to be established. The response message indicates that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established.
25、 根据权利要求 22-24任一项所述的方法, 其特征在于, 所述 BSS建 立请求消息还包括所述待建立 BSS的优先级。 25. The method according to any one of claims 22 to 24, characterized in that the BSS establishment request message further includes the priority of the BSS to be established.
26、 根据权利要求 22-25任一项所述的方法, 其特征在于, 在所述指示 信息指示允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消息 还包括:允许所述待建立 BSS使用所述信道的时长和 /或在所述信道上允许使 用的带宽。 26. The method according to any one of claims 22 to 25, characterized in that, when the indication information indicates that the BSS to be established is allowed to be established on the channel, the BSS establishment reply message further includes: allow The duration for which the BSS to be established uses the channel and/or the bandwidth allowed to be used on the channel.
27、 根据权利要求 22-26任一项所述的方法, 其特征在于, 在所述指示 信息指示不允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消 息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。 27. The method according to any one of claims 22 to 26, characterized in that, when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: The time when the first AP sends the BSS establishment request message again.
28、 一种小区优先级设置方法, 其特征在于, 包括: 28. A cell priority setting method, characterized by including:
优先级设置单元获取设定优先级所需的各基本服务集 BSS的参数或设定 优先级所需的策略; The priority setting unit obtains the parameters of each basic service set BSS required to set the priority or the policy required to set the priority;
所述优先级设置单元根据所述各 BSS 的参数或所述策略, 为所述各 BSS 设定优先级。 The priority setting unit sets the priority for each BSS according to the parameters of each BSS or the policy.
29、 根据权利要求 28所述的方法, 其特征在于, 所述 BSS的优先级由所 述 BSS中的关联用户数、所述 BSS中的活跃用户数和 /或指定的与信道选择相 关的数据标识。 29. The method according to claim 28, wherein the priority of the BSS is determined by the number of associated users in the BSS, the number of active users in the BSS and/or specified data related to channel selection. logo.
30、 根据权利要求 28或 29所述的方法, 其特征在于, 所述 BSS的优先 级由所述 BSS中的接入点 AP和站点设备承载。 30. The method according to claim 28 or 29, characterized in that the priority of the BSS is carried by the access point AP and site equipment in the BSS.
31、 根据权利要求 28-30任一项所述的方法, 其特征在于, 还包括: 所述优先级设置单元将所述各 BSS的优先级分别发送给所述各 BSS中的 31. The method according to any one of claims 28 to 30, further comprising: the priority setting unit sending the priority of each BSS to each BSS respectively.
AP。 AP.
32、 根据权利要求 28-31任一项所述的方法, 其特征在于, 同一 BSS的 优先级因所述 BSS将要执行的策略的不同而不同。 32. The method according to any one of claims 28 to 31, characterized in that the priority of the same BSS differs depending on the policies to be executed by the BSS.
33、 一种小区优先级设置方法, 其特征在于, 包括: 33. A cell priority setting method, characterized by including:
接入点 AP获取邻居基本服务集 BSS的优先级和邻居 BSS设定优先级使用 的参数的取值; The access point AP obtains the priority of the neighbor basic service set BSS and the value of the parameter used by the neighbor BSS to set the priority;
所述 AP根据本地所述参数的取值、 所述邻居 BSS 的优先级和所述邻居 BSS设定优先级使用的参数的取值, 确定所述 AP所在 BSS的优先级。 The AP determines the priority of the BSS where the AP is located based on the value of the local parameter, the priority of the neighbor BSS and the value of the parameter used by the neighbor BSS to set the priority.
34、一种信道选择装置, 所述装置为第一接入点 AP或所述装置设置于所 述第一 AP中实现, 其特征在于, 所述装置包括: 34. A channel selection device, the device is a first access point AP or the device is implemented in the first AP, characterized in that the device includes:
发送模块,用于向信道选择控制单元发送基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识; A sending module, configured to send a basic service set BSS establishment request message to the channel selection control unit, where the BSS establishment request message includes the identification of the channel required for the BSS to be established;
接收模块, 用于接收所述信道选择控制单元发送的 BSS建立回复消息, 所述 BSS建立回复消息包括用于指示是否允许所述待建立 BSS在所述标识所 标识的信道上建立的指示信息; 所述指示信息是所述信道选择控制单元根据 当前工作在所述标识所标识的信道上的第二 AP所在 BSS的优先级和所述待建 立 BSS的优先级确定的; A receiving module, configured to receive a BSS establishment reply message sent by the channel selection control unit, where the BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel identified by the identifier; The indication information is determined by the channel selection control unit according to the priority of the BSS where the second AP currently works on the channel identified by the identifier and the priority of the BSS to be established;
确定模块, 用于根据所述 BSS建立回复消息的指示, 在所述标识所标识 的信道上建立所述待建立 BSS或者不在所述标识所标识的信道上建立所述待 建立 BSS。 Determining module, configured to establish the BSS to be established on the channel identified by the identifier or not to establish the BSS to be established on the channel identified by the identifier according to the instruction of the BSS establishment reply message.
35、 根据权利要求 34所述的装置, 其特征在于, 所述 BSS建立请求消息 还包括所述待建立 BSS的优先级。 35. The apparatus according to claim 34, wherein the BSS establishment request message further includes the priority of the BSS to be established.
36、 根据权利要求 34或 35所述的装置, 其特征在于, 在所述指示信息 指示允许所述待建立 BSS在所述标识所标识的信道上建立时, 所述 BSS建立 回复消息还包括:允许所述待建立 BSS使用所述标识所标识的信道的时长和 / 或在所述标识所标识的信道上允许使用的带宽。 36. The apparatus according to claim 34 or 35, wherein when the indication information indicates that the BSS to be established is allowed to be established on the channel identified by the identifier, the BSS establishment reply message further includes: The duration for which the BSS to be established is allowed to use the channel identified by the identifier and/or the bandwidth allowed to be used on the channel identified by the identifier.
37、 根据权利要求 34-36任一项所述的装置, 其特征在于, 在所述指示 信息指示不允许所述待建立 BSS在所述标识所标识的信道上建立时,所述 BSS 建立回复消息还包括: 所述信道选择装置再次发送所述 BSS建立请求消息的 时间。 37. The device according to any one of claims 34 to 36, characterized in that, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS establishment reply The message also includes: the time when the channel selection device sends the BSS establishment request message again.
38、 根据权利要求 34-37任一项所述的装置, 其特征在于, 所述待建立 BSS的优先级由所述待建立 BSS中的关联用户数、 所述待建立 BSS中的活跃 用户数和 /或指定的与信道选择相关的数据标识。 38. The device according to any one of claims 34 to 37, wherein the priority of the BSS to be established is determined by the number of associated users in the BSS to be established and the number of active users in the BSS to be established. and/or specified data identifiers related to channel selection.
39、 根据权利要求 34-38任一项所述的装置, 其特征在于, 所述接收模 块还用于接收所述信道选择控制单元发送的通告消息, 所述通告消息包括所 述待建立 BSS的优先级; 或者 39. The device according to any one of claims 34 to 38, wherein the receiving module is further configured to receive a notification message sent by the channel selection control unit, the notification message including the BSS to be established. priority; or
所述装置还包括: The device also includes:
优先级设定模块, 用于根据邻居 BSS的优先级和设定优先级所需的参数 设定所述待建立 BSS的优先级。 Priority setting module, used to set the parameters required according to the priority of the neighbor BSS and the priority. Set the priority of the BSS to be established.
40、 一种信道选择控制单元, 其特征在于, 包括: 40. A channel selection control unit, characterized in that it includes:
接收模块,用于接收第一接入点 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息包括待建立 BSS所需的信道的标识; A receiving module, configured to receive a basic service set BSS establishment request message sent by the first access point AP, where the BSS establishment request message includes the identification of the channel required for the BSS to be established;
确定模块,用于根据当前工作在所述标识所标识的信道上的第二 AP所在 Determining module, configured to determine the location of the second AP currently working on the channel identified by the identifier.
BSS的优先级和所述待建立 BSS的优先级确定是否允许所述待建立 BSS在所 述标识所标识的信道上建立; The priority of the BSS and the priority of the BSS to be established determine whether the BSS to be established is allowed to be established on the channel identified by the identifier;
发送模块, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回 复消息包括用于指示是否允许所述待建立 BSS在所述标识所标识的信道上建 立的指示信息, 以使所述第一 AP在所述标识所标识的信道上建立所述待建立 BSS或不在所述标识所标识的信道上建立所述待建立 BSS。 A sending module, configured to send a BSS establishment reply message to the first AP, where the BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel identified by the identifier, so that The first AP establishes the BSS to be established on the channel identified by the identifier or does not establish the BSS to be established on the channel identified by the identifier.
41、 根据权利要求 40所述的单元, 其特征在于, 所述确定模块具体用于 如果所述待建立 BSS的优先级高于当前工作在所述标识所标识的信道上的所 述第二 AP所在 BSS的优先级,确定允许所述待建立 BSS在所述标识所标识的 信道上建立; 如果所述待建立 BSS的优先级低于当前工作在所述标识所标识 的信道上的所述第二 AP所在 BSS的优先级,将当前工作在所述标识所标识的 信道上的所述第二 AP的数量和 /或占用所述标识所标识的信道的时长与对应 的门限进行比较,如果比较结果为小于所述门限,则确定允许所述待建立 BSS 在所述标识所标识的信道上建立; 如果比较结果为大于或等于所述门限, 则 确定不允许所述待建立 BSS在所述标识所标识的信道上建立。 41. The unit according to claim 40, wherein the determining module is specifically configured to determine if the priority of the BSS to be established is higher than that of the second AP currently working on the channel identified by the identifier. The priority of the BSS is determined to allow the BSS to be established to be established on the channel identified by the identifier; if the priority of the BSS to be established is lower than the priority of the BSS currently working on the channel identified by the identifier, For the priority of the BSS where the second AP is located, compare the number of the second AP currently working on the channel identified by the identifier and/or the duration of occupying the channel identified by the identifier with the corresponding threshold. If compared If the result is less than the threshold, it is determined that the BSS to be established is allowed to be established on the channel identified by the identifier; if the comparison result is greater than or equal to the threshold, it is determined that the BSS to be established is not allowed to be established on the channel identified by the identifier. established on the identified channel.
42、 根据权利要求 40或 41所述的单元, 其特征在于, 所述确定模块还 用于在确定是否允许所述待建立 BSS在所述标识所标识的信道上建立之前, 根据设定优先级所需的参数, 分别确定所述待建立 BSS的优先级和所述第二 AP所在 BSS的优先级; 42. The unit according to claim 40 or 41, characterized in that, the determining module is further configured to, before determining whether to allow the BSS to be established to be established on the channel identified by the identifier, according to the set priority The required parameters are to respectively determine the priority of the BSS to be established and the priority of the BSS where the second AP is located;
所述发送模块还用于将所述待建立 BSS的优先级发送给所述第一 AP , 将 所述第二 AP所在 BSS的优先级发送给所述第二 AP。 The sending module is also configured to send the priority of the BSS to be established to the first AP, and send the priority of the BSS where the second AP is located to the second AP.
43、 根据权利要求 40或 41所述的单元, 其特征在于, 所述 BSS建立请 求消息还包括所述待建立 BSS的优先级; 43. The unit according to claim 40 or 41, characterized in that the BSS establishment request message also includes the priority of the BSS to be established;
所述接收模块还用于在所述确定模块确定是否允许所述待建立 BSS在所 述标识所标识的信道上建立之前, 接收所述第二 AP发送的所述第二 AP所在 BSS的优先级。 The receiving module is also configured to receive the location of the second AP sent by the second AP before the determining module determines whether to allow the BSS to be established to be established on the channel identified by the identifier. BSS priority.
44、 根据权利要求 40-43任一项所述的单元, 其特征在于, 在所述指示 信息指示允许所述待建立 BSS在所述标识所标识的信道上建立时, 所述 BSS 建立回复消息还包括: 允许所述待建立 BSS使用所述标识所标识的信道的时 长和 /或在所述标识所标识的信道上允许使用的带宽。 44. The unit according to any one of claims 40 to 43, characterized in that, when the indication information indicates that the BSS to be established is allowed to be established on the channel identified by the identifier, the BSS establishment reply message It also includes: a time period for allowing the BSS to be established to use the channel identified by the identifier and/or a bandwidth allowed to be used on the channel identified by the identifier.
45、 根据权利要求 40-44任一项所述的单元, 其特征在于, 在所述指示 信息指示不允许所述待建立 BSS在所述标识所标识的信道上建立时,所述 BSS 建立回复消息还包括: 所述第一 AP再次发送所述 BSS建立请求消息的时间。 45. The unit according to any one of claims 40 to 44, characterized in that, when the indication information indicates that the BSS to be established is not allowed to be established on the channel identified by the identifier, the BSS establishment reply The message also includes: the time when the first AP sends the BSS establishment request message again.
46、一种信道选择装置, 所述装置为第一接入点 AP或所述装置设置于所 述第一 AP中实现, 其特征在于, 所述装置包括: 46. A channel selection device, the device is a first access point AP or the device is implemented in the first AP, characterized in that the device includes:
发送模块, 用于向第二 AP发送基本服务集 BSS建立请求消息, 以请求在 所述第二 AP当前使用的信道上建立待建立 BSS ; A sending module, configured to send a basic service set BSS establishment request message to the second AP to request that the BSS to be established be established on the channel currently used by the second AP;
接收模块, 用于接收所述第二 AP发送的 BSS建立回复消息, 所述 BSS建 立回复消息包括用于指示是否允许所述待建立 BSS在所述信道上建立的指示 信息; 所述指示信息是所述第二 AP根据所述第二 AP所在 BSS的优先级和所 述待建立 BSS的优先级确定的; A receiving module, configured to receive a BSS establishment reply message sent by the second AP, where the BSS establishment reply message includes indication information indicating whether to allow the BSS to be established to be established on the channel; the indication information is The second AP is determined based on the priority of the BSS where the second AP is located and the priority of the BSS to be established;
确定模块, 用于根据所述 BSS建立回复消息的指示, 在所述信道上建立 所述待建立 BSS或者不在所述信道上建立所述待建立 BSS。 Determining module, configured to establish the BSS to be established on the channel or not to establish the BSS to be established on the channel according to the instruction of the BSS establishment reply message.
47、 根据权利要求 46所述的装置, 其特征在于, 还包括: 47. The device according to claim 46, further comprising:
获取模块, 用于在所述发送模块发送所述 BSS建立请求消息, 获取当前 工作在所述信道上的第三 AP所在 BSS的优先级,根据当前工作在所述信道上 的第三 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定优先级高于所 述待建立 BSS的优先级的 BSS中的第三 AP作为所述第二 AP。 Obtaining module, configured to send the BSS establishment request message in the sending module, obtain the priority of the BSS where the third AP currently working on the channel is located, and obtain the priority of the BSS where the third AP currently working on the channel is located. and the priority of the BSS to be established, determine the third AP in the BSS with a priority higher than the priority of the BSS to be established as the second AP.
48、 根据权利要求 47所述的装置, 其特征在于, 所述获取模块具体用于 接收当前工作在所述信道上的第三 AP分别发送的信标帧,所述信标帧包括所 述第三 AP所在 BSS的优先级; 或者 48. The device according to claim 47, wherein the acquisition module is specifically configured to receive beacon frames respectively sent by the third AP currently working on the channel, and the beacon frames include the third AP. The priority of the BSS where the three APs are located; or
所述获取模块具体用于向当前工作在所述信道上的第三 AP 发送查询消 息, 并接收所述第三 AP分别针所述查询消息返回的查询响应消息, 所述查询 响应消息包括所述第三 AP所在 BSS的优先级。 The acquisition module is specifically configured to send a query message to a third AP currently working on the channel, and receive a query response message returned by the third AP in response to the query message, where the query response message includes the The priority of the BSS where the third AP is located.
49、 根据权利要求 46所述的装置, 其特征在于, 所述发送模块具体用于 向当前工作在所述信道上的第三 AP发送所述 BSS建立请求消息, 以向所述第 三 AP中所在 BSS优先级高于所述待建立 BSS的优先级的所述第二 AP请求在 所述第二 AP当前使用的信道上建立所述待建立 BSS。 49. The device according to claim 46, characterized in that the sending module is specifically used to Send the BSS establishment request message to a third AP currently working on the channel to request the second AP whose BSS priority is higher than the priority of the BSS to be established in the third AP. The BSS to be established is established on the channel currently used by the second AP.
50、 根据权利要求 46-49任一项所述的装置, 其特征在于, 所述 BSS建 立请求消息包括所述待建立 BSS的优先级。 50. The device according to any one of claims 46 to 49, characterized in that the BSS establishment request message includes the priority of the BSS to be established.
51、 根据权利要求 46-50任一项所述的装置, 其特征在于, 在所述指示 信息指示允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消息 还包括:允许所述待建立 BSS使用所述信道的时长和 /或在所述信道上允许使 用的带宽。 51. The apparatus according to any one of claims 46 to 50, wherein when the indication information indicates that the BSS to be established is allowed to be established on the channel, the BSS establishment reply message further includes: allow The duration for which the BSS to be established uses the channel and/or the bandwidth allowed to be used on the channel.
52、 根据权利要求 46-51任一项所述的装置, 其特征在于, 在所述指示 信息指示不允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消 息还包括: 所述信道选择装置再次发送所述 BSS建立请求消息的时间。 52. The device according to any one of claims 46 to 51, wherein when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: The time when the channel selection device sends the BSS establishment request message again.
53、 根据权利要求 46-52任一项所述的装置, 其特征在于, 所述待建立 BSS的优先级由所述待建立 BSS中的关联用户数、 所述待建立 BSS中的活跃 用户数和 /或指定的与信道选择相关的数据标识。 53. The device according to any one of claims 46 to 52, characterized in that, the priority of the BSS to be established is determined by the number of associated users in the BSS to be established and the number of active users in the BSS to be established. and/or specified data identifiers related to channel selection.
54、 根据权利要求 46-53任一项所述的装置, 其特征在于, 所述接收模 块还用于接收优先级设置单元发送的通告消息, 所述通告消息包括所述待建 立 BSS的优先级; 或者 54. The device according to any one of claims 46 to 53, wherein the receiving module is also configured to receive a notification message sent by the priority setting unit, the notification message including the priority of the BSS to be established. ; or
所述信道选择装置还包括: The channel selection device also includes:
优先级设定模块, 用于根据邻居 BSS的优先级和设定优先级所需的参数 设定所述待建立 BSS的优先级。 A priority setting module, configured to set the priority of the BSS to be established based on the priority of the neighbor BSS and the parameters required to set the priority.
55、一种信道选择装置, 所述装置为第二接入点 AP或所述装置设置于所 述第二 AP中实现, 其特征在于, 所述装置包括: 55. A channel selection device, the device is a second access point AP or the device is implemented in the second AP, characterized in that the device includes:
接收模块, 用于接收第一 AP发送的基本服务集 BSS建立请求消息, 所述 BSS建立请求消息用以所述第一 AP请求在所述第二 AP当前使用的信道上建 立待建立 BSS ; A receiving module, configured to receive a basic service set BSS establishment request message sent by the first AP, where the BSS establishment request message is used by the first AP to request the establishment of a to-be-established BSS on the channel currently used by the second AP;
确定模块,用于根据所述第二 AP所在 BSS的优先级和所述待建立 BSS的 优先级确定是否允许所述待建立 BSS在所述信道上建立; A determining module, configured to determine whether to allow the BSS to be established to be established on the channel based on the priority of the BSS where the second AP is located and the priority of the BSS to be established;
发送模块, 用于向所述第一 AP发送 BSS建立回复消息, 所述 BSS建立回 复消息包括用于指示是否允许所述待建立 BSS 在所述信道上建立的指示信 息, 以使第一 AP在所述信道上建立所述待建立 BSS或者不在所述信道上建立 所述待建立 BSS。 A sending module, configured to send a BSS establishment reply message to the first AP, where the BSS establishment reply message includes an indication message indicating whether to allow the BSS to be established to be established on the channel. information, so that the first AP establishes the BSS to be established on the channel or does not establish the BSS to be established on the channel.
56、 根据权利要求 55所述的装置, 其特征在于, 所述发送模块还用于在 所述接收模块接收所述 BSS建立请求消息之前, 向所述第一 AP发送信标帧, 所述信标帧包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根据所述 第二 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定是否向所述第二 AP发送所述 BSS建立请求消息; 或者 56. The device according to claim 55, wherein the sending module is further configured to send a beacon frame to the first AP before the receiving module receives the BSS establishment request message. The header frame includes the priority of the BSS where the second AP is located, so that the first AP determines whether to send data to the second AP based on the priority of the BSS where the second AP is located and the priority of the BSS to be established. Send the BSS establishment request message; or
所述接收模块还用于在接收所述 BSS建立请求消息之前, 接收所述第一 AP发送的查询消息; 所述发送模块还用于向所述第一 AP返回查询响应消息, 所述查询响应消息包括所述第二 AP所在 BSS的优先级, 以使所述第一 AP根 据所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级,确定是否向所 述第二 AP发送所述 BSS建立请求消息。 The receiving module is also configured to receive a query message sent by the first AP before receiving the BSS establishment request message; the sending module is also configured to return a query response message to the first AP, the query response The message includes the priority of the BSS where the second AP is located, so that the first AP determines whether to send it to the second AP based on the priority of the BSS where the second AP is located and the priority of the BSS to be established. The BSS establishment request message.
57、 根据权利要求 55所述的装置, 其特征在于, 所述确定模块具体用于 将所述第二 AP所在 BSS的优先级和所述待建立 BSS的优先级进行比较;如果 比较结果为所述第二 AP所在 BSS的优先级高于所述待建立 BSS的优先级,确 定不允许所述待建立 BSS在所述信道上建立;如果比较结果为所述第二 AP所 在 BSS的优先级低于所述待建立 BSS的优先级,丢弃所述 BSS建立请求消息, 或者向所述第一 AP发送用于指示所述第二 AP所在 BSS的优先级低于所述待 建立 BSS的优先级的响应消息。 57. The device according to claim 55, wherein the determination module is specifically configured to compare the priority of the BSS where the second AP is located with the priority of the BSS to be established; if the comparison result is the If the priority of the BSS where the second AP is located is higher than the priority of the BSS to be established, it is determined that the BSS to be established is not allowed to be established on the channel; if the comparison result is that the priority of the BSS where the second AP is located is low Depending on the priority of the BSS to be established, discard the BSS establishment request message, or send a message to the first AP indicating that the priority of the BSS where the second AP is located is lower than the priority of the BSS to be established. Respond to the message.
58、 根据权利要求 55-57任一项所述的装置, 其特征在于, 所述 BSS建 立请求消息还包括所述待建立 BSS的优先级。 58. The device according to any one of claims 55 to 57, wherein the BSS establishment request message further includes the priority of the BSS to be established.
59、 根据权利要求 55-58任一项所述的装置, 其特征在于, 在所述指示 信息指示允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消息 还包括:允许所述待建立 BSS使用所述信道的时长和 /或在所述信道上允许使 用的带宽。 59. The device according to any one of claims 55 to 58, wherein when the indication information indicates that the BSS to be established is allowed to be established on the channel, the BSS establishment reply message further includes: allow The duration for which the BSS to be established uses the channel and/or the bandwidth allowed to be used on the channel.
60、 根据权利要求 55-59任一项所述的装置, 其特征在于, 在所述指示 信息指示不允许所述待建立 BSS在所述信道上建立时, 所述 BSS建立回复消 息还包括: 所述信道选择装置再次发送所述 BSS建立请求消息的时间。 60. The device according to any one of claims 55 to 59, wherein when the indication information indicates that the BSS to be established is not allowed to be established on the channel, the BSS establishment reply message further includes: The time when the channel selection device sends the BSS establishment request message again.
PCT/CN2013/081187 2013-08-09 2013-08-09 Channel selection method and device WO2015018067A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/081187 WO2015018067A1 (en) 2013-08-09 2013-08-09 Channel selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/081187 WO2015018067A1 (en) 2013-08-09 2013-08-09 Channel selection method and device

Publications (1)

Publication Number Publication Date
WO2015018067A1 true WO2015018067A1 (en) 2015-02-12

Family

ID=52460558

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081187 WO2015018067A1 (en) 2013-08-09 2013-08-09 Channel selection method and device

Country Status (1)

Country Link
WO (1) WO2015018067A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992978A (en) * 2005-12-27 2007-07-04 汤姆逊许可公司 Method for dynamically selecting a channel in a wireless local area network
CN101558606A (en) * 2006-12-14 2009-10-14 英特尔公司 Method and apparatus of prioritizing services of wireless local area network
US20090279427A1 (en) * 2008-05-08 2009-11-12 At&T Intellectual Property I, L.P. Control of Quality of Service in Overlapping Basic Service Sets in Wireless Local Area Networks
US20100165963A1 (en) * 2008-12-31 2010-07-01 Stmicroelectronics, Inc. Robust unicast/broadcast/multicast communication protocol
CN102598745A (en) * 2009-11-13 2012-07-18 交互数字专利控股公司 Method and apparatus for providing vht frequency reuse for wlans

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992978A (en) * 2005-12-27 2007-07-04 汤姆逊许可公司 Method for dynamically selecting a channel in a wireless local area network
CN101558606A (en) * 2006-12-14 2009-10-14 英特尔公司 Method and apparatus of prioritizing services of wireless local area network
US20090279427A1 (en) * 2008-05-08 2009-11-12 At&T Intellectual Property I, L.P. Control of Quality of Service in Overlapping Basic Service Sets in Wireless Local Area Networks
US20100165963A1 (en) * 2008-12-31 2010-07-01 Stmicroelectronics, Inc. Robust unicast/broadcast/multicast communication protocol
CN102598745A (en) * 2009-11-13 2012-07-18 交互数字专利控股公司 Method and apparatus for providing vht frequency reuse for wlans

Similar Documents

Publication Publication Date Title
US10917831B2 (en) Radio access network slice generation method, radio access network, and slice manager
TWI821607B (en) Methods for efficient resource usage between cooperative vehicles
US20200374742A1 (en) Resource allocation method and apparatus
JP2021533648A (en) New Radio Vehicle-to-Vehicle / Road-to-Vehicle Communication (NR V2X) Methods and Devices for Autonomous Resource Selection
US8670383B2 (en) System and method for aggregation and queuing in a wireless network
US8553658B2 (en) Method and apparatus for transmitting data over wireless LAN mesh network
US9787595B2 (en) Evolved node-B and mobility management entity and user equipment and methods for supporting attended and unattended services
KR102145832B1 (en) A method and apparatus for proving a voice service in wireless local area network
US11770741B2 (en) Method and apparatus for controlling sidelink QoS
KR20160073227A (en) Method and apparatus for determining method of communication between base station and terminal in wireless communication system
US20230209591A1 (en) Systems and methods for prioritizing bi-directional traffic flows
JP2018521518A (en) Data transmission method, data transmission apparatus and system
US11855786B2 (en) Systems and methods for intelligent differentiated retransmissions
JP2006211362A (en) Access point and network system
JP6474903B2 (en) Wireless communication system and wireless communication method
CN111052848A (en) Method for operating a cellular radio communication network entity and cellular radio communication network entity
US20240097845A1 (en) Method and apparatus for determining transmission resource, and communication device and storage medium
CN113133023A (en) Communication method, wireless access point, wireless station and wireless local area network system
JP6781272B2 (en) Information downlink transmission method, data transmission method, equipment and system
WO2015042876A1 (en) Channel access method and equipment
CN111480364A (en) Access control method, device and readable storage medium
WO2021159474A1 (en) Resource reservation method, apparatus and terminal
CN108933741B (en) Wireless communication method and device
WO2015018067A1 (en) Channel selection method and device
KR20120012865A (en) Method and apparatus for allocating resource of base station in mobile communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13891196

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13891196

Country of ref document: EP

Kind code of ref document: A1