WO2023131006A1 - Channel allocation method, related apparatus and system - Google Patents
Channel allocation method, related apparatus and system Download PDFInfo
- Publication number
- WO2023131006A1 WO2023131006A1 PCT/CN2022/142405 CN2022142405W WO2023131006A1 WO 2023131006 A1 WO2023131006 A1 WO 2023131006A1 CN 2022142405 W CN2022142405 W CN 2022142405W WO 2023131006 A1 WO2023131006 A1 WO 2023131006A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- bandwidth
- candidate
- channels
- aps
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
Definitions
- the present application relates to the technical field of communications, and in particular to a channel allocation method, related devices and systems.
- An AP works based on a channel.
- a channel corresponds to a radio frequency range (which may be called the bandwidth of the channel).
- the channel bandwidth of each AP can be the same or different. For example, some APs have a channel bandwidth of 80 megahertz (megahertz, MHz) (hereinafter referred to as M for short), some APs have a channel bandwidth of 40M, and some APs have a channel bandwidth of 20M.
- the channels of multiple APs may overlap in frequency, resulting in serious co-channel interference among APs.
- the WLAN controller needs to select a suitable channel for each AP one by one according to the bandwidth of each AP, and needs to adjust the channels of other APs to reduce co-channel interference. This channel allocation method is inefficient.
- the present application discloses a channel allocation method, a related device and a system, which can improve channel allocation efficiency.
- the present application provides a channel allocation method.
- This method can be applied to WLAN controllers.
- the WLAN controller sends channel identifiers to the first AP, the second AP, the third AP and the fourth AP.
- the channel identifier sent by the WLAN controller to the first AP is an identifier of at least one channel in the first candidate channel set.
- the channel identifier sent by the WLAN controller to the second AP is an identifier of at least one channel in the second candidate channel set.
- the channel identifier sent by the WLAN controller to the third AP is an identifier of at least one channel in the third candidate channel set.
- the channel identifier sent by the WLAN controller to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
- the first set of candidate channels includes a first channel and a second channel.
- the second set of candidate channels includes a third channel and a fourth channel.
- the third set of candidate channels includes a fifth channel and a sixth channel.
- the fourth set of candidate channels includes the first channel and the seventh channel.
- the bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth.
- the bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth.
- the first bandwidth is greater than the second bandwidth.
- the second channel and the seventh channel are different sub-channels in the first channel.
- the fourth channel is a sub-channel of the third channel.
- the sixth channel is a sub-channel of the fifth channel.
- the WLAN system includes 4 APs including AP1-AP4, the first bandwidth is 80M, and the second bandwidth is 40M.
- the available channel set of 80M includes 3 channels: channel 42, channel 58 and channel 155, that is, if 3 APs work on the 3 channels respectively, there will be no co-channel interference between them.
- the available channel set of 40M includes 6 channels: channel 38, channel 46, channel 54, channel 62, channel 151 and channel 159, that is, if 6 APs work on the 6 channels respectively, there will be no co-channel interference between them.
- channel 38 and channel 46 are two different subchannels of channel 42
- channel 54 and channel 62 are two different subchannels of channel 58
- channel 151 and channel 159 are two different subchannels of channel 165 .
- the first channel, the third channel and the fifth channel can be respectively channel 42, channel 58 and channel 155
- the second channel the fourth channel and the sixth channel can be respectively channel 38, channel 54 and channel 155.
- Channel 151, the seventh channel is channel 46.
- the first set of candidate channels may include channel 42 and channel 38
- the second set of candidate channels may include channel 58 and channel 54
- the third set of candidate channels may include channel 155 and channel 151
- the fourth set of candidate channels may include channel 42 and channel 54.
- the fourth candidate channel set may also include channel 58 and channel 62 , or channel 155 and channel 159 .
- the WLAN controller determines a candidate channel set for each AP, and each candidate channel set includes channels with different bandwidths. For a specific bandwidth, the channels corresponding to the bandwidth of each AP are as different as possible. Even if multiple APs have the same channel corresponding to the same bandwidth because the number of available channels is limited, when the bandwidth decreases, the WLAN controller selects different sub-channels in the same channel for these APs respectively. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent.
- the WLAN controller can directly select a channel from the candidate channel set of each AP and send it to the AP, and the channels received by each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible. In addition, based on this solution, the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP, without adjusting the channels of other APs, which improves the efficiency of channel allocation.
- the first set of candidate channels further includes an eighth channel
- the second set of candidate channels further includes a ninth channel
- the third set of candidate channels further includes a tenth channel
- the fourth set of candidate channels further includes a ninth channel.
- the set also includes an eleventh channel.
- the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth.
- the second bandwidth is greater than the third bandwidth.
- the eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
- the first bandwidth is 80M
- the second bandwidth is 40M
- the third bandwidth is 20M
- the available channel set of 20M includes 13 available channels: channel 36, channel 40, channel 44, channel 48, channel 52, channel 56, channel 60, channel 64, channel 149, channel 153, channel 157, channel 161 and channel 165.
- channel 36 and channel 40 are two different sub-channels of channel 38
- channel 44 and channel 48 are two different sub-channels of channel 46
- channel 36, channel 40, channel 44 and channel 48 are four different sub-channels of channel 42
- Sub-channels
- channel 52 and channel 56 are two different sub-channels of channel 54
- channel 60 and channel 64 are two different sub-channels of channel 62
- channel 52, channel 56, channel 60 and channel 64 are four of channel 58
- channel 149 and channel 153 are two different sub-channels of channel 151
- channel 157 and channel 161 are two different sub-channels of channel 159
- channel 149, channel 153, channel 157 and channel 161 are four different sub-channels of channel 155 different sub-channels.
- the 20M channels may also include a channel 165 , and the channel 165 may be regarded as a sub-channel of the channel 155 .
- the eighth channel may be channel 36
- the ninth channel may be channel 52
- the tenth channel may be channel 149
- the eleventh channel may be channel 44 . That is, the first set of candidate channels includes channel 42, channel 38, and channel 36
- the second set of candidate channels may include channel 58, channel 54, and channel 52
- the third set of candidate channels may include channel 155, channel 151, and channel 149
- the second set of candidate channels may include channel 155, channel 151, and channel 149.
- the set of four candidate channels may include channel 42 , channel 46 and channel 44 .
- each AP's set of candidate channels is maximally different from the set of candidate channels of other APs.
- each candidate channel set includes channels with three bandwidths (for example, 80M, 40M, and 20M), and each AP’s candidate channel set is different from other AP’s candidate channel sets to the greatest extent, which makes the candidate channel set based on each candidate
- the APs working on the channels in the channel set can avoid co-channel interference between APs as much as possible.
- the WLAN controller also sends the channel identifier to the fifth AP.
- the channel identifier sent by the WLAN controller to the fifth AP is an identifier of at least one channel in the fifth candidate channel set.
- the fifth set of candidate channels includes a first channel, a second channel and a twelfth channel.
- the bandwidth of the twelfth channel is the third bandwidth.
- the twelfth channel and the eighth channel are different sub-channels in the second channel.
- the fifth set of candidate channels includes channel 42 , channel 38 , and channel 40 . That is, the first set of candidate channels includes channel 42, channel 38, and channel 36, the second set of candidate channels may include channel 58, channel 54, and channel 52, the third set of candidate channels may include channel 155, channel 151, and channel 149, and the second set of candidate channels may include channel 155, channel 151, and channel 149.
- the set of four candidate channels may include channel 42 , channel 46 and channel 44 .
- the fifth set of candidate channels includes channel 42 , channel 38 and channel 40 .
- the first candidate channel set, the fourth candidate channel set and the fifth candidate channel set correspond to the same channel of 80M (channel 42), the first candidate channel set and the fifth candidate channel set correspond to the same channel of 40M (channel 38), but the channels corresponding to 20M of the three channel sets are all different. That is, although the number of APs increases, the scheme tries to ensure that the candidate channel set of each AP is different from the candidate channel sets of other APs to the greatest extent. This avoids channel co-channel interference between APs working based on channels in the candidate channel set as much as possible.
- the first AP, the second AP, the third AP, and the fourth AP are neighbor APs. Both the distance between the first AP and the second AP and the distance between the first AP and the third AP are smaller than the distance between the first AP and the fourth AP.
- the WLAN controller sets different channels for APs that are closer to each other, and sets the same channel for APs that are farther away.
- the WLAN controller determines a channel whose bandwidth is the first bandwidth in the set of candidate channels of the N APs.
- N is an integer greater than or equal to 4.
- the WLAN controller determines M APs.
- the candidate channel sets of the M APs all include a same channel.
- the bandwidth of the same channel is the first bandwidth.
- the same channel may include multiple sub-channels.
- the bandwidth of each subchannel in the plurality of subchannels is the second bandwidth.
- the WLAN controller takes one of the multiple sub-channels as a channel corresponding to the second bandwidth in the candidate channel set of one of the M APs.
- the channel corresponding to the second bandwidth in the candidate channel set of any one of the M APs is different from the channel corresponding to the second bandwidth in the candidate channel set of at least one neighboring AP.
- the M APs include the at least one neighbor AP.
- the WLAN controller first determines the channel of the first bandwidth in the candidate channel set of each AP, and then determines the channels of the second bandwidth of multiple APs whose channels of the first bandwidth are the same. Wherein, an AP with the same channel of the first bandwidth is different from at least one of its neighbor APs with a channel of the second bandwidth.
- the channels of adjacent APs can be made different as much as possible, so as to avoid co-channel interference between APs as much as possible.
- the WLAN controller instructs the first AP, the second AP, the third AP, and the fourth AP to respectively select the first candidate channel set, the second candidate channel set, the third candidate channel set, and the fourth candidate channel set.
- One of the four candidate channel sets is used as the working channel.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the WLAN controller sets the working channel of the first AP to Change to the target channel and keep the working channel of other APs unchanged.
- the second target bandwidth is different from the first target bandwidth.
- the target channel is a channel whose bandwidth is the second target bandwidth in the first candidate channel set.
- the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and the channels of any AP in the candidate channel set try to avoid the candidate channels of other APs. Overlap of channels in the set. Therefore, when the bandwidth of a certain AP needs to be adjusted, the WLAN controller can directly change the working channel of the AP to the channel with the adjusted bandwidth in the candidate channel set corresponding to the AP, without adjusting the working channels of other APs. This enables the WLAN controller to quickly adjust the bandwidth of any AP, and avoid co-channel interference between APs as much as possible.
- the WLAN controller sends the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel.
- the channel identifier is, for example, a channel number (for example, channel 42, channel 38, etc.) or a central operating frequency and operating bandwidth of the channel.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the first AP selects the bandwidth from the first candidate channel set A channel with the second target bandwidth is used as the target channel.
- the first AP switches the working channel to the target channel.
- the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and the channels of any AP in the candidate channel set try to avoid the candidate channels of other APs. Overlap of channels in the set. Therefore, when the bandwidth of an AP needs to be adjusted, the AP can directly select the channel with the adjusted bandwidth as the working channel from the candidate channel set of the AP, without worrying that the switching process will cause serious damage to other APs. co-channel interference.
- the difference between the Channel Utilization (Channel Utilization, CU) of the first AP and the CU of the second AP is greater than the first threshold, or the number of access users of the first AP is different from that of the second AP
- the difference in the number of access users of the APs is greater than the second threshold, triggering adjustment of the first target bandwidth of the first AP to the second target bandwidth.
- Load imbalance includes that the difference between the channel utilization rates of adjacent APs is greater than a threshold or the difference between the number of access users of adjacent APs is greater than a threshold.
- the bandwidth of the first AP is adjusted to the second target bandwidth.
- the present application provides a channel allocation method. This method is applied to AP.
- the AP receives a set of candidate channels.
- the set of candidate channels includes a first channel and a second channel.
- the bandwidth of the first channel is the first bandwidth.
- the bandwidth of the second channel is the second bandwidth.
- the first bandwidth is not equal to the second bandwidth.
- the first channel is different from the second channel.
- the AP selects a channel from the set of candidate channels as a working channel.
- the set of candidate channels received by the AP includes different channels corresponding to different bandwidths, and the AP can directly select a channel from the set of candidate channels as a working channel according to bandwidth requirements. This enables the AP to quickly determine the working channel, improving the efficiency of channel allocation.
- the first bandwidth is greater than the second bandwidth
- the second channel is a subchannel of the first channel
- the AP when the AP uses the first channel as a working channel, the AP also uses the second channel as a main channel.
- the AP can bond multiple adjacent low-bandwidth channels into one high-bandwidth channel, for example, two 20M channels into one 40M channel.
- Multiple low-bandwidth channels are referred to as multiple sub-channels of a high-bandwidth channel.
- One of the subchannels is used as a master channel, and the other subchannels are used as slave channels.
- the slave channel is responsible for the transmission of data packets
- the master channel is not only responsible for the transmission of data packets, but also responsible for the transmission of management packets. Therefore, in this solution, when the AP uses the first channel as the working channel, the second channel is also used as the main channel, so that when the AP's working channel is switched from the first channel to the second channel, it can still be responsible for transmitting management messages. The channel remains unchanged, which enhances the stability of the network.
- the present application provides a WLAN system.
- the WLAN system includes a WLAN controller and multiple APs.
- the WLAN controller is configured to execute the method provided in any possible implementation manner of the first aspect.
- any AP in the plurality of APs is used to execute the method provided in any possible implementation manner of the second aspect.
- the present application provides a channel allocation device.
- the device includes an acquisition module and a sending module.
- the acquiring module is configured to acquire a first set of candidate channels, a second set of candidate channels, a third set of candidate channels and a fourth set of candidate channels.
- the first set of candidate channels includes a first channel and a second channel
- the second set of candidate channels includes a third channel and a fourth channel
- the third set of candidate channels includes a fifth channel and a sixth channel
- the fourth set of candidate channels includes a fifth channel and a sixth channel.
- the set of candidate channels includes the first channel and the seventh channel.
- the bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth.
- the bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth.
- the first bandwidth is greater than the second bandwidth.
- the second channel and the seventh channel are different sub-channels in the first channel.
- the fourth channel is a sub-channel of the third channel.
- the sixth channel is a sub-channel of the fifth
- the sending module is configured to send channel identifiers to the first AP, the second AP, the third AP and the fourth AP.
- the channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set.
- the channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set.
- the channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set.
- the channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
- the first set of candidate channels further includes an eighth channel
- the second set of candidate channels further includes a ninth channel
- the third set of candidate channels further includes a tenth channel
- the fourth set of candidate channels further includes a ninth channel.
- the set also includes an eleventh channel.
- the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth.
- the second bandwidth is greater than the third bandwidth.
- the eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
- the acquiring module is further configured to acquire a fifth candidate channel set.
- the fifth candidate channel set includes the first channel, the second channel and the twelfth channel.
- the bandwidth of the twelfth channel is the third bandwidth.
- the twelfth channel and the eighth channel are different sub-channels in the second channel.
- the sending module is further configured to send the channel identifier to the fifth AP.
- the channel identifier sent to the fifth AP is an identifier of at least one channel in the fifth candidate channel set.
- the first AP, the second AP, the third AP, and the fourth AP are neighbor APs, and the distance between the first AP and the second AP and the first AP The distance between the AP and the third AP is smaller than the distance between the first AP and the fourth AP.
- the device further includes a determining module.
- the determining module is configured to determine a channel whose bandwidth is the first bandwidth in the candidate channel set of N APs. N is an integer greater than or equal to 4.
- the determining module is also used to determine M APs.
- the candidate channel sets of the M APs all include one same channel, and the bandwidth of the same channel is the first bandwidth.
- the same channel includes a plurality of subchannels, each of the plurality of subchannels has a bandwidth equal to the second bandwidth.
- the determining module is further configured to use one of the plurality of sub-channels as a channel corresponding to the second bandwidth in the candidate channel set of one of the M APs.
- the channel corresponding to the second bandwidth in the candidate channel set of any one of the M APs is different from the channel corresponding to the second bandwidth in the candidate channel set of at least one neighboring AP.
- the M APs include the at least one neighbor AP.
- the sending module is configured to: instruct the first AP, the second AP, the third AP and the fourth AP to select the first candidate channel set and the second candidate channel respectively set, the third set of candidate channels, and one of the fourth set of candidate channels is used as a working channel.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the device further includes a changing module.
- the changing module is used for: changing the working channel of the first AP to the target channel when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, and keeping the working channels of other APs unchanged.
- the second target bandwidth is different from the first target bandwidth.
- the target channel is a channel whose bandwidth is the second target bandwidth in the first candidate channel set.
- the sending module is further configured to: send the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel.
- the present application provides a channel allocation device.
- the device includes a receiving module and a selecting module.
- the receiving module is used for receiving a set of candidate channels.
- the set of candidate channels includes a first channel and a second channel.
- the bandwidth of the first channel is the first bandwidth.
- the bandwidth of the second channel is the second bandwidth.
- the first bandwidth is not equal to the second bandwidth.
- the first channel is different from the second channel.
- the selection module is used to select a channel from the set of candidate channels as a working channel.
- the first bandwidth is greater than the second bandwidth
- the second channel is a subchannel of the first channel
- the selection module is further configured to: select the second channel as the main channel when the first channel is selected as the working channel.
- the present application provides a WLAN controller.
- the WLAN controller includes a processor and memory.
- the memory is used to store program codes.
- the processor is configured to call the program code, so that the WLAN controller executes the method provided in any possible implementation manner of the first aspect.
- the present application provides an AP.
- the AP includes a processor and memory.
- the memory is used to store program codes.
- the processor is configured to call the program code, so that the AP executes the method provided in any possible implementation manner of the second aspect.
- the present application provides a computer-readable storage medium.
- the computer readable storage medium stores instructions. When the instructions are executed by the processor, the method provided in any possible implementation manner of the first aspect or the method provided in any possible implementation manner of the second aspect is implemented.
- the present application provides a computer program product.
- the computer program product runs on the computer, the computer is made to execute the method provided in any possible implementation manner of the first aspect or the method provided in any possible implementation manner of the second aspect.
- the system described in the third aspect, the device described in the fourth aspect, the device described in the fifth aspect, the WLAN controller described in the sixth aspect, the AP described in the seventh aspect, and the The computer-readable storage medium according to the eighth aspect or the computer program product according to the ninth aspect are all used to execute any method provided in the first aspect or any method provided in the second aspect. Therefore, the beneficial effects that it can achieve can refer to the beneficial effects in the corresponding method, and will not be repeated here.
- FIG. 1 is a schematic structural diagram of a WLAN system provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a channel allocation method provided in an embodiment of the present application
- FIG. 3a is a schematic diagram of a set of candidate channels provided by an embodiment of the present application.
- FIG. 3b is a schematic diagram of another set of candidate channels provided by the embodiment of the present application.
- FIG. 3c is a schematic diagram of another set of candidate channels provided by the embodiment of the present application.
- FIG. 4 is a schematic diagram of another set of candidate channels provided by the embodiment of the present application.
- FIG. 5 is a schematic diagram of channel allocation provided by an embodiment of the present application.
- FIG. 6a is a schematic diagram of a method for determining a channel provided in an embodiment of the present application.
- FIG. 6b is a schematic diagram of a method for determining a channel provided in an embodiment of the present application.
- FIG. 6c is a schematic diagram of a method for determining a channel provided in an embodiment of the present application.
- Fig. 7a is a schematic diagram of a blind node provided by an embodiment of the present application.
- FIG. 7b is a schematic diagram of a blind node channel determination method provided by an embodiment of the present application.
- FIG. 8 is a schematic flowchart of a channel allocation method provided in an embodiment of the present application.
- FIG. 9 is a schematic diagram of an available channel provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of channel allocation provided by an embodiment of the present application.
- Fig. 11 is a schematic diagram of point information provided by the embodiment of the present application.
- FIG. 12 is a schematic structural diagram of a channel allocation device provided in an embodiment of the present application.
- FIG. 13 is a schematic structural diagram of another channel allocation device provided by an embodiment of the present application.
- Fig. 14 is a schematic structural diagram of another channel allocation device provided by an embodiment of the present application.
- FIG. 1 is a schematic structural diagram of a WLAN system provided by an embodiment of the present application.
- the WLAN system includes a WLAN controller 101 and multiple access points (Access Point, AP).
- the multiple APs include, for example, AP102, AP103, AP104 and AP105 as shown in FIG. 1 .
- the WLAN controller 101 is, for example, an access controller (Access Controller, AC).
- the WLAN controller 101 is used for managing multiple APs in the WLAN system, for example, allocating channels for the multiple APs.
- the bandwidths of multiple APs may be the same, for example, the bandwidths of AP102-AP105 are all 80M, or the bandwidths of AP102-AP105 are all 40M, or the bandwidths of AP102-AP105 are all 20M.
- the WLAN controller needs to allocate channels to each AP one by one, and try to make the channels between APs not overlap, so as to minimize the same-channel interference between APs.
- the available channel set of 80M only includes 3 channels (channel 42, channel 58 and channel 155).
- the bandwidth of 4 or more APs is 80M, the WLAN controller needs to allocate the 3 channels to The 4 or more APs.
- the WLAN controller needs to constantly try to adjust the channel of each AP, so as to reduce the same-channel interference between APs as much as possible. Every time the channel of an AP is allocated or adjusted, the WLAN controller needs to adjust the channel of the AP and the channels of other APs that may affect the AP. The channel allocation process is complicated, and the channel allocation efficiency is low.
- the bandwidths of multiple APs may also be different, for example, the bandwidth of AP102 is 80M, the bandwidth of AP103 is 40M, and the bandwidth of AP104 and AP105 is 20M.
- the available channel set of 40 includes 6 channels, and the available channel set of 20M includes 13 channels.
- the WLAN controller needs to adjust the channel of each AP based on the above 22 channels, so as to reduce the same-channel interference between APs as much as possible.
- the WLAN controller also needs to consider the influence of other APs among the multiple APs on the AP, and constantly try to adjust the channels of the multiple APs. Every time the channel of an AP is allocated or adjusted, the WLAN controller needs to adjust the channel of the AP and the channels of other APs that may affect the AP.
- the channel allocation process is complicated, and the channel allocation efficiency is low.
- the present application provides a channel allocation method and a related device.
- the method can be performed by a WLAN controller.
- the WLAN controller maintains a set of candidate channels for each of the plurality of APs.
- Each set of candidate channels includes channels of an AP corresponding to different bandwidths (for example, the first bandwidth and the second bandwidth).
- the channel corresponding to the low bandwidth is a sub-channel of the channel corresponding to the high bandwidth.
- channels corresponding to the bandwidth in each candidate set are as different as possible.
- the WLAN controller selects different sub-channels in the same channel for these APs. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent. When APs work based on channels in the candidate channel set, co-channel interference between APs can be avoided as much as possible. When it is necessary to allocate a channel for an AP, the WLAN controller can directly select a channel from the candidate channel set of the corresponding AP and send the selected channel to the corresponding AP without adjusting the channels of other APs. The channel allocation process is simple, and the efficiency of channel allocation is improved.
- the first bandwidth may be 80M
- the second bandwidth may be 40M.
- WLAN controller 101 maintains a set of candidate channels for AP102, AP103, AP104, and AP105 respectively.
- WLAN controller 101 maintains a first set of candidate channels for AP102, maintains a second set of candidate channels for AP103, and maintains a third set of candidate channels for AP104. set, maintaining a fourth candidate channel set for AP105.
- the first to fourth candidate channel sets respectively include 2 channels, one channel has a bandwidth of 80M, and the other channel has a bandwidth of 40M.
- the WLAN controller can set the channels with a bandwidth of 80M in the first to third candidate channel sets to be channel 42, channel 58 and channel 155 respectively. 155.
- the WLAN controller may set the channel with a bandwidth of 80M in the fourth candidate channel set as any one of the above three channels, for example, channel 42 . That is, the channels with a bandwidth of 80M in the set of candidate channels maintained by the WLAN controller for each AP are as different as possible.
- the above three channels with a bandwidth of 80M respectively include two different sub-channels with a bandwidth of 40M, among which, the two sub-channels included in channel 42 are: channel 38 and channel 46, and the two sub-channels included in channel 58 are: channel 54 and channel 62.
- Channel 155 includes two sub-channels: channel 151 and channel 159.
- the WLAN controller may set channels with a bandwidth of 40M in the first to fourth candidate channel sets to be: channel 38, channel 54, channel 151, and channel 46, respectively.
- the channels with a bandwidth of 80M in the first candidate channel set and the fourth candidate channel set are the same because the available channels of 80M are limited, the channels with a bandwidth of 40M in the first candidate channel set and the fourth candidate channel set
- the channels are different, they are two different sub-channels of a channel with a bandwidth of 80M.
- the first bandwidth may be 40M
- the second bandwidth may be 20M
- the 40M available channels include six different channels (channel 38, channel 46, channel 54, channel 62, channel 151 and channel 159), therefore, the first to fourth candidate channel sets can respectively include different channels with a bandwidth of 40M, for example
- the channel with a bandwidth of 40M included in the first candidate channel set is channel 38
- the channel with a bandwidth of 40M included in the second candidate channel set is channel 54
- the channel with a bandwidth of 40M included in the third candidate channel set is channel 151.
- a channel with a bandwidth of 40M included in the two candidate channel sets is channel 46 .
- the above six channels with a bandwidth of 40M respectively include two different sub-channels with a bandwidth of 20M.
- the two sub-channels included in channel 38 are: channel 36 and channel 40, and the two sub-channels included in channel 46 are: channel 44 and channel 48.
- the two sub-channels included in channel 54 are: channel 52 and channel 56.
- the two sub-channels included in channel 62 are: channel 60 and channel 64.
- the two sub-channels included in channel 151 are: channel 149 and channel 153.
- Channel 159 includes The three sub-channels are: channel 157, channel 161 and channel 165.
- the WLAN controller may set channels with a bandwidth of 20M in the first to fourth candidate channel sets as: channel 36, channel 52, channel 149, and channel 44, respectively.
- the channel corresponding to 20M set by the WLAN controller for each AP is a sub-channel corresponding to the channel of each AP corresponding to 40M. It can be understood that when the number of APs in the WLAN system is greater than or equal to 6, at least two APs have the same channel with a bandwidth of 40M, but the channels of the same AP with a bandwidth of 40M are as different as possible. .
- the frequencies of the above-mentioned channels are as follows: channel 36 (5170MHz-5190MHz), channel 38 (5170MHz-5210MHz), channel 40 (5190MHz-5210MHz), channel 42 (5170MHz-5250MHz), channel 44 (5210MHz-5230MHz), channel 46(5210MHz-5250MHz), channel 48(5230MHz-5250MHz), channel 52(5250MHz-5270MHz), channel 54(5250MHz-5290MHz), channel 56(5270MHz-5290MHz), channel 58(5250MHz-5330MHz), channel 60( 5290MHz-5310MHz), channel 62(5290MHz-5330MHz), channel 64(5310MHz-5330MHz), channel 149(5735MHz-5755MHz), channel 151(5735MHz-5775MHz), channel 153(5755MHz-5775MHz), channel 155(5735MHz- 5815MHz), channel 157 (5775MHz-5795MHz), channel 159 (5775MHz-5815MHz), channel 161 (5795MHz-5815MHz), channel 165 (5815MHz-5835MHz).
- the WLAN controller can directly select a channel for each AP in the candidate channel set of each AP and send the selected channel to the corresponding AP.
- first bandwidth may be 80M
- second bandwidth may also be 20M
- Each candidate channel set may also include channels with more bandwidths.
- each candidate channel set includes channels with the first bandwidth, channels with the second bandwidth, and channels with the third bandwidth.
- the first bandwidth may be 80M
- the second bandwidth may be 40M
- the third bandwidth may be 20M.
- the WLAN system further includes a computing device (not shown in the figure).
- the computing device is used to obtain candidate channel sets of multiple APs, and send channel identifiers to each AP through the WLAN controller 101 .
- the WLAN controller 101 acquires the candidate channel sets of the multiple APs from the computing device.
- the computing device is a device with computing capabilities, for example, a personal computer, a server, a server cluster, a virtual machine, a virtual machine cluster, and a cloud device.
- a cloud is, for example, a public cloud, a private cloud or a hybrid cloud. The following uses an example in which the WLAN controller obtains the candidate channel sets of multiple APs as an example for description.
- FIG. 2 is a schematic flowchart of a channel allocation method provided by an embodiment of the present application. The method is applied to a WLAN controller. As shown in Figure 2, the method includes step 201, specifically as follows:
- the channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set.
- the channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set.
- the channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set.
- the channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
- the first set of candidate channels includes a first channel and a second channel.
- the second set of candidate channels includes a third channel and a fourth channel.
- the third set of candidate channels includes a fifth channel and a sixth channel.
- the fourth candidate channel set includes the first channel and the seventh channel.
- the bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth.
- the bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth.
- the first bandwidth is greater than the second bandwidth.
- the second channel and the seventh channel are different sub-channels in the first channel.
- the fourth channel is a sub-channel of the third channel
- the sixth channel is a sub-channel of the fifth channel.
- the channel identifier is used to indicate a specific channel.
- the channel identifier may be the numerical number of the channel.
- the channel codes of 3 channels with a bandwidth of 80M are 42, 58 and 155 respectively, and the channel codes of 6 channels with a bandwidth of 40M are 38, 46, 54, 62, 151 and 159 respectively.
- a binary code may also be used to represent the channel.
- the channel codes of 3 channels with a bandwidth of 80M are 00, 01 and 11 respectively, and the channel codes of 6 channels with a bandwidth of 40M are 000, 001, 011, 010, 110 and 111 respectively.
- the channel identifier may also be a channel frequency.
- the channel identifier includes two parts, the first part indicates the central operating frequency of the channel, and the second part indicates the bandwidth of the channel. That is, the channel identifier indicates a specific channel by specifying the central operating frequency and bandwidth of the channel.
- the central operating frequency of channel 42 is 5.21GHZ, and the bandwidth is 80M.
- the following uses the channel ID as the channel number as an example for description.
- the first set of candidate channels, the second set of candidate channels, the third set of candidate channels and the fourth set of candidate channels each include two channels. And the bandwidths of the two channels are respectively the first bandwidth and the second bandwidth. Wherein, the first bandwidth is greater than the second bandwidth.
- the bandwidths of the first channel, the third channel, and the fifth channel are all the first bandwidth.
- the bandwidths of the second channel, the fourth channel, the sixth channel, and the seventh channel are all the second bandwidth.
- the second channel and the seventh channel are different subchannels in the first channel.
- the fourth channel is a sub-channel of the third channel.
- the sixth channel is a sub-channel of the fifth channel.
- the first bandwidth is 80M
- the second bandwidth is 40M.
- the available channels with a bandwidth of 80M include 3 channels: channel 42, channel 58 and channel 155.
- Each channel with a bandwidth of 80M includes 2 different sub-channels with a bandwidth of 40M.
- channel 42 includes 2 sub-channels: channel 38 and channel 46
- channel 58 includes 2 sub-channels: channel 54 and channel 62
- channel 155 includes 2 sub-channels: channel 151 and channel 159. Therefore, there are three completely different sets of candidate channels.
- the first channel in the first set of candidate channels may be channel 42 and the second channel may be channel 38 .
- the third channel in the second set of candidate channels may be channel 58 and the fourth channel may be channel 54 .
- the fifth channel in the third set of candidate channels may be channel 155 and the sixth channel may be channel 151 .
- the number of APs exceeds three, there must be channels with the first bandwidth in the candidate channel sets of other APs that are the same as the channels with the first bandwidth in at least one of the above three candidate channel sets.
- different channels of the second bandwidth are set. different subchannels.
- the working channels of the two APs may be different, so as to avoid channel interference between APs as much as possible.
- the first channel in the fourth set of candidate channels is channel 42 and the seventh channel is channel 46 .
- the channel with a bandwidth of 80M in the fourth candidate channel set is the same as the channel with a bandwidth of 80M in the first candidate channel set, and the channel with a bandwidth of 40M in the fourth candidate channel set is the same as the channel with a bandwidth of 40M in the first candidate channel set.
- Channels are different. That is, the channels in any two candidate channel sets in the embodiments of the present application are most different, so that each AP working based on the channels in each candidate channel set can avoid co-channel interference between APs as much as possible.
- the first bandwidth is 40M
- the second bandwidth is 20M.
- the first channel in the first set of candidate channels may be channel 38
- the second channel may be channel 36 .
- the third channel in the second set of candidate channels may be channel 54 and the fourth channel may be channel 52 .
- the fifth channel in the third set of candidate channels may be channel 151 and the sixth channel may be channel 149 . Since the available channels with a bandwidth of 40M include six different channels, when there are no more than six APs, the set of candidate channels for each AP may be completely different. When there are more than six APs, some APs have the same 40M channel, but the same APs have 20M channels as different as possible.
- the channel with a bandwidth of 40M is the first channel (channel 38), and the channel with a bandwidth of 20M is the seventh channel (channel 40).
- the channel with a bandwidth of 40M in the fourth candidate channel set is the same as the channel with a bandwidth of 40M in the first candidate channel set, and the channel with a bandwidth of 20M in the fourth candidate channel set is the same as the channel with a bandwidth of 20M in the first candidate channel set.
- Channels are different. That is, the channels in any two candidate channel sets in the embodiments of the present application are most different, so that each AP working based on the channels in each candidate channel set can avoid co-channel interference between APs as much as possible.
- the first bandwidth is 80M
- the second bandwidth is 20M
- the first channel in the first set of candidate channels may be channel 42
- the second channel may be channel 36
- the third channel in the second set of candidate channels may be channel 58 and the fourth channel may be channel 52 .
- the fifth channel in the third set of candidate channels may be channel 155 and the sixth channel may be channel 149 .
- the first channel in the fourth set of candidate channels may be channel 42 and the seventh channel may be channel 40.
- the candidate channel set can also be other channel combinations.
- the fourth candidate channel set in FIG. 3a can also be a combination of channel 58 and channel 62, and this solution does not Specific limits.
- the WLAN controller determines a candidate channel set for each AP, and each candidate channel set includes channels with different bandwidths. For a specific bandwidth, the channels corresponding to the bandwidth of each AP are as different as possible. Even if some APs have the same channel corresponding to the same bandwidth because the number of available channels is limited, when the bandwidth decreases, the WLAN controller selects different sub-channels in the same channel for these APs respectively. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent.
- the WLAN controller can directly select a channel from the candidate channel set of each AP and send it to the AP, and the channels received by each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible.
- the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP without adjusting channels of other APs, which improves the efficiency of channel allocation.
- each candidate channel set provided by the embodiment shown in FIG. 2 includes channels of two bandwidths
- this embodiment of the present application further provides a channel allocation method.
- Each candidate channel set in this embodiment includes channels with at least three bandwidths.
- the method can be applied to a WLAN controller, including step 401, specifically as follows:
- the channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set.
- the channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set.
- the channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set.
- the channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
- the first set of candidate channels includes a first channel and a second channel.
- the second set of candidate channels includes a third channel and a fourth channel.
- the third set of candidate channels includes a fifth channel and a sixth channel.
- the fourth candidate channel set includes the first channel and the seventh channel.
- the bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth.
- the bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth.
- the first bandwidth is greater than the second bandwidth.
- the second channel and the seventh channel are different sub-channels in the first channel.
- the fourth channel is a sub-channel of the third channel
- the sixth channel is a sub-channel of the fifth channel.
- the first set of candidate channels further includes an eighth channel
- the second set of candidate channels further includes a ninth channel
- the third set of candidate channels further includes a tenth channel
- the fourth set of candidate channels further includes an eleventh channel.
- the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth.
- the second bandwidth is greater than the third bandwidth.
- the eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
- the first set of candidate channels includes a first channel (corresponding to the first bandwidth), a second channel (corresponding to the second bandwidth), and an eighth channel (corresponding to the third bandwidth).
- the second set of candidate channels includes a third channel (corresponding to the first bandwidth), a fourth channel (corresponding to the second bandwidth), and a ninth channel (corresponding to the third bandwidth).
- the third candidate channel set includes a fifth channel (corresponding to the first bandwidth), a sixth channel (corresponding to the second bandwidth) and a tenth channel (corresponding to the third bandwidth).
- the fourth candidate channel set includes the first channel (corresponding to the first bandwidth), the seventh channel (corresponding to the second bandwidth) and the eleventh channel (corresponding to the third bandwidth).
- the first bandwidth is greater than the second bandwidth
- the second bandwidth is greater than the third bandwidth.
- the second channel and the seventh channel are different subchannels in the first channel.
- the fourth channel is a sub-channel of the third channel.
- the sixth channel is a sub-channel of the fifth channel.
- the eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
- the first bandwidth may be 80M
- the second bandwidth may be 40M
- the third bandwidth may be 20M.
- the first channel in the first candidate channel set may be channel 42
- the second channel may be channel 38
- the eighth channel may be channel 36
- the third channel in the second set of candidate channels may be channel 58
- the fourth channel may be channel 54
- the ninth channel may be channel 52
- the fifth channel in the third set of candidate channels may be channel 155
- the sixth channel may be channel 151
- the tenth channel may be channel 149 .
- the first channel in the fourth set of candidate channels is channel 42
- the seventh channel is channel 46
- the eleventh channel may be channel 44 .
- the second channel (channel 38) and the seventh channel (channel 46) are different sub-channels of the first channel (channel 42).
- the fourth channel (channel 54) is a sub-channel of the third channel (channel 58)
- the sixth channel (channel 151) is a sub-channel of the fifth channel (channel 155)
- the eighth channel (channel 36)
- the ninth channel ( channel 52)
- the tenth channel (channel 149) and the eleventh channel (channel 44) are respectively the second channel (channel 38), the fourth channel (channel 54), the sixth channel (channel 151) and the seventh channel ( Channel 46) sub-channel.
- the available channels with a bandwidth of 80M include 3 channels
- the available channels with a bandwidth of 40M are sub-channels of the 3 available channels with a bandwidth of 80M
- the available channels with a bandwidth of 20M are 6 channels with a bandwidth of 40M. sub-channels of available channels.
- the first channel in the first set of candidate channels may be channel 42
- the second channel may be channel 38
- the eighth channel may be channel 36
- the third channel in the second set of candidate channels may be channel 58
- the fourth channel may be channel 54
- the ninth channel may be channel 52 .
- the fifth channel in the third set of candidate channels may be channel 155
- the sixth channel may be channel 151
- the tenth channel may be channel 149 .
- different channels of the second bandwidth are set. different subchannels.
- the working channels of the two APs may be different, so as to avoid channel interference between APs as much as possible.
- the working channels of the two APs must be different, thereby avoiding channel interference between APs.
- the first channel in the fourth set of candidate channels is channel 42
- the seventh channel is channel 46
- the eleventh channel is channel 44 .
- the channel with a bandwidth of 80M in the fourth candidate channel set is the same as the channel with a bandwidth of 80M in the first candidate channel set
- the channel with a bandwidth of 40M in the fourth candidate channel set is the same as the channel with a bandwidth of 40M in the first candidate channel set.
- Channels are different. That is, the channels in any two candidate channel sets in the embodiments of the present application are most different, so that each AP working based on the channels in each candidate channel set can avoid co-channel interference between APs as much as possible.
- each candidate channel set includes channels of three bandwidths (for example, 80M, 40M, and 20M), and the WLAN controller reports to the first AP, the second AP, and the third AP respectively based on the multiple candidate channel sets. and the fourth AP to send the channel identifier, so that each AP can more flexibly select channels with different bandwidths based on the corresponding candidate channel set.
- the channels in any two candidate channel sets are different to the greatest extent, so that the APs working based on the channels in each candidate channel set can avoid co-channel interference between APs as much as possible.
- the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP without adjusting channels of other APs, which improves the efficiency of channel allocation.
- FIG. 5 shows a schematic diagram of channel allocation provided by an embodiment of the present application.
- FIG. 5 includes channel allocation strategies corresponding to three bandwidths.
- Available channels with 80M bandwidth include: channel 42, channel 58 and channel 155.
- Available channels with 40M bandwidth include: channel 38, channel 46, channel 54, channel 62, channel 151 and channel 159.
- channel 38 and channel 46 are different sub-channels of channel 42 .
- Channel 54 and channel 62 are different sub-channels of channel 58 .
- Channel 151 and channel 159 are different sub-channels of channel 155.
- Available channels with 20M bandwidth include: channel 36, channel 40, channel 44, channel 48, channel 52, channel 56, channel 60, channel 64, channel 149, channel 153, channel 157, channel 161 and channel 165.
- channel 36 and channel 40 are different sub-channels of channel 38 .
- Channel 44 and channel 48 are different sub-channels of channel 46 .
- Channel 52 and channel 56 are different sub-channels of channel 54 .
- Channel 60 and channel 64 are different sub-channels of channel 62 .
- Channel 149 and channel 153 are different sub-channels of channel 151 .
- Channel 157 , channel 161 , and channel 165 are different sub-channels of channel 159 .
- each candidate channel set can include channels with three bandwidths.
- candidate channel set a (channel 42, channel 38, channel 36), candidate channel set b (channel 42, channel 38, channel 40), candidate channel set c (channel 42, channel 46, channel 44), candidate channel set d (channel 42, channel 46, channel 48), candidate channel set e (channel 58, channel 54, channel 52), candidate channel set f (channel 58, channel 54, channel 56), candidate channel set g (channel 58, channel 62, channel 60), candidate channel set h (channel 58, channel 62, channel 64), candidate channel set i (channel 155, channel 151, channel 149), candidate channel set j (channel 155, channel 151, channel 153 ), candidate channel set k (channel 155, channel 159, channel 157), candidate channel set l (channel 155, channel 159, channel 161) and candidate channel set m (channel 155, channel 159, channel 165).
- the first candidate channel set may be candidate channel set a
- the second candidate channel set may be candidate channel set e
- the third candidate channel set may be candidate channel set i
- the fourth candidate channel set may be candidate channel set c Or candidate channel set d.
- the first candidate channel set may be candidate channel set b
- the second candidate channel set may be candidate channel set f, g or h
- the third candidate channel set may be candidate channel set j, k, l or m
- the second candidate channel set may be candidate channel set j, k, l or m.
- the four candidate channel sets may be candidate channel set c or candidate channel set d.
- first set of candidate channels, the second set of candidate channels, the third set of candidate channels, and the fourth set of candidate channels may also be in other combinations, which is not specifically limited in this solution.
- the first AP, the second AP, the third AP, and the fourth AP are neighbor APs, and the distance between the first AP and the second AP and the distance between the first AP and the third AP The distances between are smaller than the distance between the first AP and the fourth AP.
- the method of determining a neighbor AP please refer to the methods for determining a neighbor AP provided in other embodiments below.
- the bandwidths of AP102, AP103, AP104 and AP105 are all 80M, since there are only three available channels with the bandwidth of 80M, there must be two APs with the same channel with the bandwidth of 80M.
- the channels of AP102, AP103, and AP104 are all different.
- the channel of AP105 is the same as the channel of one AP among AP102, AP103, and AP104.
- the channel with a bandwidth of 80M of AP102 that is far away from AP105 is determined as the channel with a bandwidth of 80M of AP105.
- the channel with the bandwidth of 80M of AP102 and AP105 is set to the same channel to cause the channel to be the same frequency
- the interference is smaller than the co-channel interference caused by setting the 80M bandwidth channels of AP105 and AP103 as the same channel or setting the 80M bandwidth channels of AP105 and AP104 as the same channel. That is, this solution further reduces channel co-channel interference between APs.
- the bandwidth of AP102, AP103, AP104, and AP105 is 40M
- the 80M channels of AP102, AP103 and AP104 are all different, therefore, the 40M channels of AP102, AP103 and AP104 are also different.
- the 80M channel of AP105 is the same as the 80M channel of AP102, in order to avoid co-channel interference between APs, the 40M channel of AP105 is different from the 40M channel of AP102.
- the 40M channel of AP105 and the 40M channel of AP102 are two different sub-channels of the 80M channel of AP102. In this way, since the 40M channels of each AP are different, co-channel interference between APs can be avoided.
- the channel of AP108 is the same as that of one of APs among AP102, AP103, AP104, AP105, AP106, and AP107.
- the channel with a bandwidth of 40M of AP102 that is far away from AP108 is determined as the channel with a bandwidth of 40M of AP108.
- the channel co-channel interference caused is smaller than the channel co-channel interference caused by setting the channel with a bandwidth of 40M of AP108 and other APs (AP103, AP104, AP105, AP106 and AP107) as the same channel.
- this solution also provides a method for determining a neighbor AP of an AP.
- the adjacent APs are determined according to the physical topology and the path loss topology of the multiple APs.
- the path loss topology may be acquired based on interference information detected by the detection scanning mechanism.
- the interference information may be a signal strength indication (received signal strength indication, RSSI) value, a path loss (path loss, PL) value, or a signal transmission time.
- the interference information between any two APs is obtained by setting the two AP channels to be the same, that is, the AP as the transmitting end transmits the measurement signal at the preset transmission frequency, and the AP as the receiving end is within the receiving frequency range corresponding to the preset transmission frequency
- the measurement signal is received, and relevant information when the measurement signal is received is recorded as interference information, and the measurement interference value between the two APs can be obtained according to the interference information.
- the interference information is an RSSI value.
- One of all APs is used as the transmitter to transmit the measurement signal, and the other APs are used as the receiver to receive the measurement signal.
- Each receiver AP records the RSSI value corresponding to the measurement signal received, and the transmitter AP and each receiver AP can be obtained.
- RSSI value between. Traverse each AP in all APs as the transmitter, and finally get the RSSI value between any two APs in all APs in the system.
- the WLAN controller After receiving the RSSI value sent from the AP, acquires the measured interference value between the two APs according to the RSSI value.
- the interference information is a PL value. Traverse each of all APs, use one of all APs as the transmitter to transmit the measurement signal, and the other APs as the receiver to receive the measurement signal, and each receiver AP records the PL value corresponding to the measurement signal received, and reports it to the WLAN controller.
- the PL value between a receiving AP and a transmitting AP is the interference information between these two APs.
- the WLAN controller estimates the measured interference value between the two APs based on the PL value.
- the interference information is signal transmission time, for example, a difference between signal reception time and transmission time.
- Traverse each of all APs use one of all APs as the transmitter to transmit the measurement signal, the transmitter AP records the transmission time, and the other APs receive the measurement signal as the receiver, and each receiver records the corresponding time of receiving the measurement signal.
- receiving time The AP at the transmitting end sends the transmitting time to the WLAN controller, the AP at the receiving end sends the receiving time to the WLAN controller, and the WLAN controller subtracts the transmitting time from the receiving time to obtain the transmission time of the measured signal transmitted between the two APs.
- the measurement signal is transmitted at the speed of light, and the transmission time multiplied by the speed of light is the distance between two APs.
- the WLAN controller can set the measurement interference value between the two to 0. After obtaining the distance between two APs, the WLAN controller uses the distance to estimate the measured interference value between the two APs.
- the physical topology of the multiple APs is determined according to the physical location information of the multiple APs.
- the physical topology of the multiple APs may be determined by the WLAN controller according to the geographic location information of the multiple APs.
- the geographical location information of the AP may be the longitude and latitude information of the AP measured by the surveyor or the X-Y-Z coordinate information in a preset coordinate system.
- the preset coordinate system may be a coordinate system with an origin at any point in an area where multiple APs are located.
- the physical topology of multiple APs may also be obtained by the WLAN controller according to the network planning file.
- the network planning file includes AP coordinate information and AP information.
- the WLAN controller can obtain the physical topology of multiple APs through scale conversion based on the network planning file.
- the physical topology of multiple APs may also be determined by the WLAN controller according to a digital map containing coordinate information of multiple APs.
- a digital map containing multiple APs can be obtained by:
- the digital map construction device selects a topological area that requires channel tuning, and divides the topological area into specific buildings, such as office buildings, apartment houses, and canteens.
- the digital map construction device screens the APs, and drags them in the topological area according to the actual location information of the APs in the building.
- the digital map construction device imports the bitmap into the building interface as the background image.
- the bitmap is a picture of size S1*S2, and S1 and S2 are the maximum values of X and Y of the AP coordinates, respectively.
- the digital map construction device places the AP logo into the bitmap through automatic placement, or manually places the AP logo into the bitmap.
- the digital map construction device exports the topological area planning information of the AP in the form of an xlsx file, and obtains the X and Y axis coordinates corresponding to the AP, and the unit of the coordinates is the pixel value relative to the origin of the coordinates.
- the length between two adjacent pixels of the known point map is equal to, for example, 2.6 meters, and the digital map construction device sets the scale to 1:2.6 meters, then the size and real
- the topology of the physical world is the same; for example, if the floor height of a known building is 3.8 meters, the digital map construction device can add the corresponding Z-axis information as the height information to the xlsx file, and then the digital map of the AP can be obtained.
- the WLAN controller can obtain the physical topology of the AP according to the X-Y-Z coordinates of the AP.
- the digital map construction device may be a WLAN controller, or a computing device such as a server. If the digital map construction device is a server, the WLAN controller obtains the digital map from the server, and obtains the physical topology of multiple APs according to the digital map.
- the WLAN controller can determine the number of neighbors of each AP according to the path loss topology of multiple APs. If the number of neighbors of a certain AP is greater than the preset number of neighbors, the WLAN controller adjusts the metric between APs according to the physical topology. Factors that affect the co-channel interference between the AP and neighboring APs include the physical distance and path loss between the AP and neighboring APs, but the physical distance and path loss are two different dimensions, so it is necessary to unify the two dimensions into one dimension so that the WLAN controller can adjust the metrics between APs according to the physical topology.
- the WLAN controller uses the dot product and softmax operations to process the distance between the AP and its neighbor APs and the path loss between the AP and its neighbor APs to obtain the metric between the AP and its neighbor APs, and then determine the adjustment Neighboring APs of this AP after measurement.
- Softmax operation can be regarded as normalization processing, the purpose is to reduce the amount of data. If the number of neighbors of an AP is not greater than the preset number of neighbors, the AP's neighbor APs are determined according to the physical topology of the AP.
- the AP's neighbor APs are comprehensively evaluated based on the AP's physical topology and path loss topology.
- the physical topology between APs is determined by the mutual physical location relationship between the APs.
- the physical location of the AP generally does not change. Therefore, the physical topology among APs is more stable.
- the interference value in the path loss topology is affected by many factors, fluctuates greatly, and cannot accurately reflect the neighbor relationship between APs. Therefore, compared with evaluating neighbor APs of APs only based on the path loss topology in the prior art, this solution determines the neighbor relationship between APs based on the physical topology between APs, so that the determined neighbor relationship is more accurate.
- the preset number of neighbors is related to the number of available channels of the AP. For example, when the bandwidth of the AP is 80M, since there are only three available channels, the preset number of neighbors is 2; when the bandwidth of the AP is 40M, since there are only six available channels, the preset number of neighbors is 5; Correspondingly, when the bandwidth of the AP is 20M, since there are only thirteen available channels, the preset number of neighbors is 12 and so on.
- the WLAN controller can obtain the Euclidean distance matrix A between any two APs according to the three-dimensional coordinates of the multiple APs.
- Table 1a shows the physical distances between some APs.
- the WLAN controller converts the elements in the above-mentioned Euclidean distance matrix A and the path loss between any two APs according to the electromagnetic wave propagation characteristics. As shown in formula 1:
- the WLAN controller selects an appropriate topology metric based on the number of neighbors of each AP determined based on the path loss topology of multiple APs. As shown in formula 2:
- the Indicates the metric between this AP and its neighboring APs in the physical topology when the number of neighbor APs of the AP on the path loss topology is not less than the preset value, the Indicates the metric between this AP and its neighboring APs in the physical topology.
- the WLAN controller can obtain the metric between each AP and its adjacent APs in the physical topology
- the number of neighboring APs in the path loss topology of an AP is less than a preset value as an example.
- Table 1c shows the metrics between APs obtained according to the physical distance between APs.
- Metrics between APs and neighboring APs by the WLAN controller Sorting is performed in descending order, and then according to the number of channels that can be allocated, T APs with the highest metric value are selected as the new neighbor APs of this AP. For example, for 80M bandwidth, there are 3 available channels, then from the measurement value of each AP above Determine the two APs with the smallest metric value in each row of APs. In order to reduce the amount of data, the WLAN controller keeps the metric value between the AP and the new neighbor AP, and records other metric values as 0, as shown in Table 1d:
- the WLAN controller records the metric value between the AP and the new neighbor AP as 1 to obtain the updated matrix, as shown in Table 1e:
- the WLAN controller Diagonalize the updated matrix to construct a diagonalized matrix.
- a diagonalized matrix is obtained by updating matrix elements whose diagonal positions are not symmetrical.
- the diagonalization matrix represents the neighbor APs of each AP, as shown in Table 1f.
- a new neighbor AP of each AP may be determined.
- the AP with the largest number of neighbors may be obtained, and the first channel with the first bandwidth is determined as the channel of the AP with the largest number of neighbors. Based on the different channels of neighboring APs, the channel of the first bandwidth of each neighboring AP of the AP with the largest number of neighbors may be determined.
- the channel of the first bandwidth of other APs among the plurality of APs except the AP with the largest number of neighbors and the neighbor APs of the AP with the largest number of neighbors is determined again.
- the channels of the second bandwidth of each AP are determined.
- one of the multiple different sub-channels is selected to determine the channel of the second bandwidth of each AP.
- the channel of the second bandwidth of the AP is different from the channel corresponding to the second bandwidth of at least one neighboring AP.
- the channel of the third bandwidth of each AP may be determined. Based on the channel of the second bandwidth of each AP corresponding to multiple different sub-channels, one of the multiple different sub-channels is selected to determine the channel of the third bandwidth of each AP. Wherein, for APs with the same channel of the second bandwidth, the channel of the third bandwidth of the AP is different from the channel corresponding to the third bandwidth of at least one neighboring AP.
- the embodiments of the present application further provide a method for determining a candidate channel set for each AP.
- the method can include:
- N is an integer greater than or equal to 4.
- the candidate channel sets of the M APs all include a same channel, the bandwidth of the same channel is the first bandwidth, the same channel includes multiple sub-channels, and each sub-channel in the multiple sub-channels The bandwidth is the second bandwidth;
- the M APs including the at least one neighboring AP.
- the WLAN controller first determines the channel of each AP corresponding to the first bandwidth, then the WLAN controller determines the APs of the same channel corresponding to the first bandwidth, and selects sub-channels from the multiple sub-channels included in the same channel as these sub-channels respectively.
- the channel with the same bandwidth as the channel with the first bandwidth has the same bandwidth as the channel with the second bandwidth.
- the channel of any one of these APs whose bandwidth is the second bandwidth is different from the channel of at least one neighboring AP whose bandwidth is the second bandwidth. Based on this, the WLAN controller tries to ensure that the candidate channel sets of each AP include different channels.
- the WLAN controller For APs whose bandwidths are different from channels with the first bandwidth, the WLAN controller respectively selects a subchannel from the subchannels of the channels whose bandwidths of these APs are the first bandwidth as a channel corresponding to the AP whose bandwidth is the second bandwidth.
- the channels with the bandwidth of these APs having the first bandwidth are different, and the channels with the bandwidth of these APs being the second bandwidth are sub-channels corresponding to the bandwidth of the APs being the first bandwidth, so the channels with the bandwidth of these APs being the second bandwidth must also be different. Based on this, the WLAN controller ensures that the candidate channel set of each of these APs includes different channels.
- the WLAN controller can set a channel with a bandwidth of the third bandwidth for each AP. For APs with the same channel bandwidth as the second bandwidth, the WLAN controller selects sub-channels from the multiple sub-channels included in the same channel as channels with the third bandwidth of the APs with the same bandwidth as the channel of the second bandwidth. Wherein, the channel with the third bandwidth of any one of these APs is different from the channel with the third bandwidth of at least one neighboring AP. Based on this, the WLAN controller tries to ensure that the candidate channel sets of each AP include different channels.
- the WLAN controller For APs whose bandwidths are different from channels with the second bandwidth, the WLAN controller respectively selects a subchannel from the subchannels of the channels whose bandwidths of these APs are the second bandwidth as a channel corresponding to the AP whose bandwidth is the third bandwidth.
- the bandwidth of these APs is different from the channel with the second bandwidth, and the channel with the bandwidth of the third bandwidth of these APs is a sub-channel corresponding to the bandwidth of the AP with the second bandwidth, so the channels with the bandwidth of these APs are also the third bandwidth. different.
- the WLAN controller tries to ensure that the candidate channel set of each of these APs includes different channels.
- the channels corresponding to the bandwidth of each AP are as different as possible. Even if some APs have the same channel corresponding to the same bandwidth because the number of available channels is limited, when the bandwidth decreases, the WLAN controller selects different sub-channels in the same channel for these APs respectively. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent. Therefore, regardless of whether the bandwidth of each AP is the same or different, the WLAN controller can directly select a channel from the candidate channel set of each AP and send it to the AP, and the channels received by each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible.
- FIG. 6a is a schematic diagram of a method for determining a channel provided in an embodiment of the present application.
- Figure 6a includes a plurality of nodes (A, B, C, D, E, F, G, H, I, and J) and edges between each node.
- the respective nodes represent respective APs.
- An edge between two nodes indicates that the two APs represented by the two nodes have a neighbor relationship.
- the length of the side indicates the distance between two neighboring APs.
- the first bandwidth is 80M
- the second bandwidth is 40M
- the third bandwidth is 20M.
- This embodiment provides a manner of determining the channel of the first bandwidth (such as 80M) based on the coloring mechanism.
- the WLAN controller uses three colors (such as red, green and blue) to color each node to determine the channel of each node. For example, red indicates that the channel of a node with a bandwidth of 80M is channel 42, green indicates that a channel of a node with a bandwidth of 80M is channel 58, and blue indicates that a channel of a node with a bandwidth of 80M is channel 155.
- the AP with the largest number of neighbors can be determined based on the neighbor APs of each AP obtained in the foregoing embodiments.
- the WLAN controller first randomly selects a channel from the three channels for the node H with the largest number of neighbors to dye, for example, dyes the node H red (in FIG. 6a, the red is indicated by a filled oblique line, that is, channel 42).
- the neighbor nodes (A, I, J, E and G) of the node H dyed red are dyed, as shown in Figure 6b, the color of the neighbor node is different from red, which can be green (for example, representing a node The channel with a bandwidth of 80M is channel 58), or it can also be blue (indicating that the channel with a bandwidth of 80M of a node is channel 155), in Figure 6b, green is filled with black (namely, channel 58), and gray is used to indicate Blue (ie channel 155).
- dye the neighbor nodes of the neighbor node as shown in Figure 6c.
- the Hole node that is, its surrounding neighbor nodes include all colors.
- the neighbor nodes L, M, and N of node O are red, blue, and green, respectively, so the condition that Hole node O and the set of surrounding neighbor nodes can be dyed different colors cannot be satisfied.
- the Hole node coloring criterion can be compared with the nearest neighbor node ⁇ N red , N blue , N green ⁇ to the Hole node, and select the color of the node farthest from the Hole node among the three nodes Dye color as a Hole node.
- the distance between node N and Hole node O is the farthest, so the color of node O is dyed to the color of node N , that is, determine the channel of node N as the channel of node O.
- the above three available channels with a bandwidth of 80M can be divided into two sub-channels with a bandwidth of 40M respectively.
- a channel 42 with a bandwidth of 80M it includes two different subchannels with a bandwidth of 40M: channel 38 and channel 46; for a channel 58 with a bandwidth of 80M, it includes two different subchannels with a bandwidth of 40M
- Channel 151 and Channel 159 Therefore, if the channel of AP1 with a bandwidth of 80M is channel 42, then the channel with a bandwidth of 40M may be channel 38 or channel 46. If the channel of AP1 with a bandwidth of 80M is channel 58, then the channel with a bandwidth of 40M is channel 54, or channel 62. If the channel of AP1 with a bandwidth of 80M is channel 155, then the channel with a bandwidth of 40M is channel 151, or channel 159.
- the 40M channel 38 includes two 20M channels: channel 36 and channel 40 .
- the 40M channel 46 it includes two 20M channels: channel 44 and channel 48.
- the 40M channel 54 with 40M bandwidth it includes two 20M channels: channel 52 and channel 56 .
- the 20M channels For channel 62 with 40M bandwidth, it includes two 20M channels: channel 60 and channel 64 .
- For channel 151 with 40M bandwidth it includes two 20M channels: channel 149 and channel 153 .
- For channel 159 with 40M bandwidth it includes two 20M channels: channel 157 and channel 161 .
- the 20M channel also includes channel 165.
- Channel 165 may be considered a sub-channel of channel 159 .
- the AP's 40M bandwidth channel is channel 38, its 20M bandwidth channel can be 36 or channel 40. If the 40M bandwidth channel of the AP is channel 46, then the 20M bandwidth channel of the AP can be channel 44 or channel 48. If the 40M bandwidth channel of the AP is channel 151, then the 20M bandwidth channel of the AP is channel 149, or it may be channel 153.
- the channels of the second bandwidth are also different, and correspondingly, the channels of the third bandwidth are also different.
- the channel of the second bandwidth of at least one neighboring AP is different.
- AP1 and AP2 are neighbor APs.
- the channel of the first bandwidth of AP1 and the channel of the first bandwidth of AP2 are the same, both being channel 42 .
- the channel of the second bandwidth of AP1 is channel 38
- the channel of the second bandwidth of AP2 is channel 46 .
- the channel of the third bandwidth of AP1 is different from the channel of the third bandwidth of AP2.
- AP1 and AP2 have the same channel corresponding to 80M (channel 42), the two APs have different channels corresponding to 40M and 20M. In this way, the candidate channel set of each AP is different from the candidate channel sets of other APs to the greatest extent, which enables each AP working based on the channels in each candidate channel set to avoid co-channel interference between APs as much as possible.
- the WLAN controller may determine a set of candidate channels for each AP in the WLAN system, and each set of candidate channels includes channels with different bandwidths.
- the WLAN controller may instruct each AP to select one channel in the corresponding candidate channel set as the working channel.
- the WLAN control system includes 4 APs (the first AP to the fourth AP), and the candidate channel sets of these 4 APs are respectively the first candidate channel set, the second candidate channel set, the third candidate channel set and the fourth candidate channel set.
- a collection of channels The WLAN controller instructs the first AP, the second AP, the third AP, and the fourth AP to select the first candidate channel set, the second candidate channel set, the third candidate channel set, and the fourth candidate channel set, respectively.
- One channel in the channel set is used as the working channel.
- the first set of candidate channels includes a first channel, a second channel and an eighth channel.
- the second set of candidate channels includes a third channel, a fourth channel and a ninth channel.
- the third set of candidate channels includes a fifth channel, a sixth channel, and a tenth channel.
- the fourth set of candidate channels includes the first channel, the seventh channel and the eleventh channel. For example, when the first bandwidth is 80M, the second bandwidth is 40M, and the third bandwidth is 20M, the channel with 80M bandwidth in the first candidate channel set is channel 42, the channel with 40M bandwidth is channel 38, and the channel with 20M bandwidth is channel 36.
- the channel with 80M bandwidth is channel 58
- the channel with 40M bandwidth is channel 54
- the channel with 20M bandwidth is channel 52
- the channel with 80M bandwidth is channel 155
- the channel with 40M bandwidth is channel 151
- the channel with 20M bandwidth is channel 149
- the channel with 80M bandwidth is channel 42
- the channel with 40M bandwidth is channel 46
- the channel with 20M bandwidth is channel 44 .
- the WLAN system may further include more APs.
- the WLAN system further includes a fifth AP, and the WLAN controller also sends the channel identifier to the fifth AP.
- the channel identifier sent to the fifth AP is an identifier of at least one channel in the fifth candidate channel set.
- the fifth candidate channel set includes, for example, the first channel, the second channel and the twelfth channel.
- the bandwidth of the twelfth channel is the third bandwidth.
- the twelfth channel and the eighth channel are different sub-channels in the second channel.
- the fifth candidate channel set includes the first channel (corresponding to the first bandwidth), the second channel (corresponding to the second bandwidth) and the twelfth channel (corresponding to the third bandwidth).
- Both the twelfth channel in the fifth candidate channel set and the eighth channel in the first candidate channel set are sub-channels of the second channel. For example, when the first bandwidth is 80M, the second bandwidth is 40M, and the third bandwidth is 20M, the channel with 80M bandwidth in the fifth candidate channel set is channel 42, the channel with 40M bandwidth is channel 38, and the channel with 20M bandwidth is channel 40.
- the working channel selected by each AP can be determined based on the bandwidth of the AP. For example, if the WLAN controller sets the bandwidth of each AP to 80M, then the working channel of each AP may be a channel with a bandwidth of 80M in the corresponding candidate channel set. For another example, the WLAN controller sets the bandwidths of the first AP, the second AP, the third AP, the fourth AP and the fifth AP to 80M, 40M, 20M, 40M and 80M respectively, then the working channel of the first AP can be channel 42. The working channel of the second AP may be channel 54. The working channel of the third AP may be channel 149 . The working channel of the fourth AP may be channel 46 , and the working channel of the fifth AP may be channel 42 .
- the first candidate channel set, the fourth candidate channel set and the fifth candidate channel set correspond to the same channel of 80M (channel 42), the first candidate channel set and the fifth candidate channel set correspond to the same channel of 40M (channel 38), but the channels corresponding to 20M of the three channel sets are all different. That is, although the number of APs increases, the scheme tries to ensure that the candidate channel set of each AP is different from the candidate channel sets of other APs to the greatest extent. This avoids channel co-channel interference between APs working based on channels in the candidate channel set as much as possible.
- each AP may receive a corresponding set of candidate channels, and then select a channel whose bandwidth meets the bandwidth requirement as a working channel from the received set of candidate channels according to the bandwidth requirement of the AP. That is, once the candidate channel set of each AP is determined, each AP can freely select the channel with the bandwidth that meets the bandwidth requirement from the corresponding candidate channel set according to its own bandwidth requirements, and does not need to care about the selection of other APs, and the WLAN controller does not need to Try to adjust the channel of each AP several times. Therefore, this solution simplifies the process of channel allocation and improves the efficiency of channel allocation.
- the candidate channel set of the first AP includes the first channel, the second channel and the eighth channel
- the candidate channel set of the fourth AP includes the first channel, the seventh channel and the eleventh channel
- the candidate channel of the fifth AP The set of channels includes a first channel, a second channel and a twelfth channel.
- the bandwidth of the first channel is the first bandwidth
- the bandwidths of the second channel and the seventh channel are the second bandwidth
- the bandwidths of the eighth channel, the eleventh channel, and the twelfth channel are the third bandwidth.
- the first bandwidth is greater than the second bandwidth
- the second bandwidth is greater than the third bandwidth, for example, the first bandwidth, the second bandwidth and the third bandwidth are 80M, 40M and 20M respectively.
- the second channel and the seventh channel are respectively different sub-channels of the first channel
- the eighth channel and the twelfth channel are respectively different sub-channels of the second channel.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the WLAN controller sets the working channel of the first AP to Change to the target channel and keep the working channel of other APs unchanged.
- the second target bandwidth is different from the first target bandwidth
- the target channel is a channel in the first candidate channel set whose bandwidth is the second target bandwidth. That is, when the bandwidth is reduced, the WLAN controller selects different sub-channels for each AP as much as possible, so that most of the channels in the candidate channel sets of each AP are different, so as to avoid as much as possible based on the channels in each candidate channel set. Same-channel interference between APs.
- the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and any AP in the candidate channel set corresponding to channels with different bandwidths should try to avoid conflicts with other channels. Overlap of channels in the AP's set of candidate channels. Therefore, when the bandwidth of a certain AP needs to be adjusted, the WLAN controller can directly change the working channel of the AP to the channel whose bandwidth is the adjusted bandwidth in the set of candidate channels corresponding to the AP, and keep the working channels of other APs unchanged. That is, there is no need to adjust the working channels of other APs. This enables the WLAN controller to quickly change the channel of the AP to adjust the bandwidth of the AP, which improves the efficiency of channel allocation, and the result of the quick adjustment can also avoid co-channel interference between APs as much as possible.
- the WLAN controller sends the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel.
- the bandwidth of the target channel is the second target bandwidth.
- the first AP adjusts the working channel to the target channel, and accordingly, the bandwidth of the first AP is adjusted from the first target bandwidth to the second target bandwidth.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the first AP selects the bandwidth from the first candidate channel set A channel with the second target bandwidth is used as the target channel.
- the first AP switches the working channel to the target channel. That is, the first AP stores a candidate channel set of the AP, and the candidate channel set includes channels corresponding to different bandwidths.
- the AP can directly select the channel whose bandwidth is the second target bandwidth from the set of candidate channels, and switch the working channel to the channel whose bandwidth is the second target bandwidth. adjustment.
- changes in AP performance statistics trigger adjustment of AP bandwidth.
- the change of the performance statistic data may be a load imbalance among APs.
- the unbalanced load may be manifested as a difference in channel utilization between APs greater than a threshold, and/or a difference in the number of access users among APs greater than a threshold.
- the bandwidth adjustment of the AP is triggered.
- the bandwidth of the first AP is 80M
- the bandwidth of the second AP is 40M.
- the bandwidth of the second AP can be The bandwidth can be increased, or the bandwidth of the first AP can also be decreased, etc., which is not specifically limited in this solution.
- the change in the performance statistical data may also be that the number of access users of the AP exceeds a threshold.
- whether the bandwidth of the AP needs to be adjusted is determined according to the number of access users of the AP.
- the WLAN controller may acquire the second target bandwidth input by the user, and instruct the AP to adjust the bandwidth to the second target bandwidth.
- the AP acquires the second target bandwidth input by the user, and adjusts the bandwidth to the second target bandwidth.
- the bandwidth of the first AP is adjusted to the second target bandwidth.
- the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and any AP in the candidate channel set corresponding to channels with different bandwidths should try to avoid conflicts with other channels.
- FIG. 8 is a channel allocation method provided by an embodiment of the present application. This method is applied to AP. The method includes steps 801-802, specifically as follows:
- the set of candidate channels includes a first channel and a second channel.
- the bandwidth of the first channel is the first bandwidth.
- the bandwidth of the second channel is the second bandwidth.
- the first bandwidth is not equal to the second bandwidth.
- the first channel is different from the second channel.
- the AP receives the candidate channel set sent by the WLAN controller.
- the set of candidate channels includes channels corresponding to two bandwidths.
- the AP selects a channel from the set of candidate channels as a working channel. For example, if the working bandwidth of the AP is the first bandwidth, its working channel is the first channel; if the working bandwidth of the AP is the second bandwidth, its working channel is the second channel.
- the candidate channel set received by the AP includes channels corresponding to different bandwidths. Therefore, the AP can directly select a channel that meets the bandwidth requirement from the candidate channel set as the working channel without performing other complicated operations. This simplifies the process of channel allocation and improves the efficiency of channel allocation.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the first AP selects the bandwidth from the first candidate channel set A channel with the second target bandwidth is used as the target channel.
- the first AP switches the working channel to the target channel.
- the set of candidate channels received by the AP includes channels corresponding to different bandwidths. Therefore, when the bandwidth of an AP needs to be adjusted, the AP can directly select the bandwidth from the set of candidate channels of the AP as the adjusted bandwidth.
- the channel with the widest bandwidth is used as the working channel without performing other complex operations. This simplifies the process of bandwidth adjustment and channel allocation, and improves the efficiency of bandwidth adjustment and channel allocation.
- the difference between the CU of the first AP and the CU of the second AP is greater than the first threshold, or the difference between the number of access users of the first AP and the number of access users of the second AP If the value is greater than the second threshold, it is triggered to adjust the bandwidth of the first AP to the second target bandwidth. That is, the load imbalance between adjacent APs triggers the adjustment of the bandwidth of the APs.
- the bandwidth of the first AP is adjusted to the second target bandwidth.
- whether the bandwidth of the AP needs to be adjusted is determined according to the number of access users of the AP.
- the AP further adjusts the working channel of the AP to the target channel by receiving the channel identifier of the target channel sent by the WLAN controller.
- the AP directly selects a channel from the candidate channel set as the working channel.
- the candidate channel set only includes the first channel and the second channel corresponding to two bandwidths as an example for illustration, and it may also include channels corresponding to more bandwidths, for example, channels corresponding to the third bandwidth, etc.
- the plan does not specifically limit this.
- the first bandwidth is greater than the second bandwidth
- the second channel is a subchannel of the first channel
- the AP uses the first channel as a working channel, it uses the second channel as a main channel.
- the AP can bond multiple adjacent low-bandwidth channels into one high-bandwidth channel, for example, two 20M channels into one 40M channel.
- Multiple low-bandwidth channels are referred to as multiple sub-channels of a high-bandwidth channel.
- One of the subchannels is used as a master channel, and the other subchannels are used as slave channels.
- the slave channel is responsible for the transmission of data packets
- the master channel is not only responsible for the transmission of data packets, but also responsible for the transmission of management packets. Therefore, in this embodiment, when the AP uses the first channel as the working channel, the second channel is also used as the main channel, so that when the working channel of the AP is switched from the first channel to the second channel, it can keep being responsible for transmitting the management report.
- the channel of the text remains unchanged, which enhances the stability of the network.
- the candidate channel set received by the AP includes different channels corresponding to different bandwidths, and the AP can directly select a working channel from the candidate channel set or adjust the working channel according to the bandwidth requirement. This enables the AP to quickly determine the working channel, improving the efficiency of channel allocation.
- this embodiment of the present application provides a channel allocation method.
- exemplary 80M and 40M available channel sets of 5G frequency bands are shown in FIG. 9 .
- the AP model is a single 5G radio model, and the smart roaming and transmit power control functions are enabled.
- the WLAN controller and server can form a distributed, partitioned, and multi-copy message publish-subscribe system based on the Kafka protocol.
- the message publish-subscribe system's producers and consumers.
- the producer is, for example, a WLAN controller.
- MAC Media Access Control
- the server calculates the path loss between APs based on the obtained AP information, and constructs a path loss topology between APs.
- the WLAN controller can acquire the physical topology between APs based on the solutions introduced in the foregoing embodiments.
- the WLAN controller adjusts the metric between the APs based on the path loss topology and the physical topology between the APs, so as to determine the new neighbors of each AP. For details, reference may be made to the foregoing embodiments, and details are not repeated here.
- the WLAN controller determines that each AP is respectively adapted to a channel of each of the multiple bandwidths. For 80M bandwidth, the WLAN controller, for example, colors each AP according to a 3-color map, so as to obtain a channel with a bandwidth of 80M for each AP.
- Each AP is clustered according to the channel allocation result with a bandwidth of 80M, and each AP can be clustered into three categories ⁇ 42, 58, 155 ⁇ . That is, APs with channel 42 on a channel with a bandwidth of 80M are grouped into one group, APs with a channel of 80M on channel 58 are grouped into one group, and channels with a bandwidth of 80M are grouped by APs on channel 155.
- the WLAN controller extracts the APs with the same 80M channel and then dyes the 2-color map to complete the 40M channel allocation, and finally obtain the 40M channel allocation result of ⁇ 38, 46, 54, 62, 151, 159 ⁇ , as shown in Figure 10 .
- the introduction of coloring each AP based on the coloring method to determine the channel of each AP in the foregoing embodiments, and details are not repeated here.
- the WLAN controller can group multiple APs based on the physical location information of each AP, such as three groups shown in FIG. 11 , including group A, group B and group C. Based on Figure 10 and Figure 11, the WLAN controller builds a channel inheritance library according to the group number and bandwidth configuration.
- the channel inheritance library includes channel distribution information of APs in multiple groups corresponding to multiple bandwidths.
- the channel inheritance library is shown in Table 2.
- the bandwidth of AP1 in group A is 80M and the channel is 155.
- the bandwidth of AP1 in group A is 40M and the channels are 159.
- the bandwidth of AP5 in group C is 80M and the channels are 42.
- the WLAN controller determines the allocated channel for each AP based on the bandwidth recommendation result and the channel inheritance library.
- the bandwidth recommendation result given by the bandwidth recommendation scheme is that group A, group B, and group C correspond to 80M, 40M, and 80M, respectively.
- the channel policies corresponding to Group A, Group B, and Group C can be obtained directly by looking up Table 2, and the channel policy configuration results of the global AP can be obtained by integration.
- the WLAN controller monitors the topology group to update the AP's bandwidth and allocate channels.
- the WLAN controller observes the rationality of the bandwidth recommendation effect by periodically monitoring parameters such as the channel utilization rate of APs in each topology group or the number of access users. If the CU difference between adjacent topology groups exceeds a certain threshold/the difference between the number of access users exceeds a certain threshold, it indicates that the adjacent topology groups have unbalanced loads. Therefore, you need to adjust the bandwidth through the bandwidth rollback operation.
- local channel tuning can be performed on APs:
- group C triggers bandwidth fallback and needs to fall back from 80M to 40M
- the final effect of the bandwidth adjustment operation is bandwidth configuration ⁇ group A: 80M
- group C: 80M ⁇ is adjusted to ⁇ group A: 80M
- group C: 40M ⁇ is adjusted to ⁇ group A: 80M
- group C: 40M ⁇ so the local channel optimization strategy needs to search the channel inheritance library Table 2, the channel configuration corresponding to the adjusted bandwidth of group C 40M realizes partial inheritance Tuning, the channel configurations of other groups remain unchanged.
- the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP without adjusting channels of other APs, which improves the efficiency of channel allocation. Moreover, the channels of each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible.
- An embodiment of the present application provides a WLAN system.
- the WLAN system includes a WLAN controller and multiple APs.
- the WLAN controller is configured to execute the method executed by the WLAN controller provided in the foregoing embodiments.
- any one of the multiple APs is configured to execute the method performed by the AP provided in the foregoing embodiments.
- FIG. 12 is a schematic structural diagram of a channel allocation device provided by an embodiment of the present application.
- the channel allocation device 1200 includes an acquisition module 1201 and a sending module 1202 .
- the obtaining module 1201 and the sending module 1202 are configured to execute relevant steps in the above method embodiments.
- the obtaining module 1201 and the sending module 1202 are used to execute the relevant content of step 201 in FIG. 2 .
- the acquiring module 1201 is configured to acquire a first set of candidate channels, a second set of candidate channels, a third set of candidate channels and a fourth set of candidate channels.
- the first set of candidate channels includes a first channel and a second channel
- the second set of candidate channels includes a third channel and a fourth channel
- the third set of candidate channels includes a fifth channel and a sixth channel
- the fourth set of candidate channels includes a fifth channel and a sixth channel.
- the set of candidate channels includes the first channel and the seventh channel.
- the bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth.
- the bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth.
- the first bandwidth is greater than the second bandwidth.
- the second channel and the seventh channel are different sub-channels in the first channel.
- the fourth channel is a sub-channel of the third channel.
- the sixth channel is a sub-channel of
- the sending module 1202 is configured to send channel identifiers to the first AP, the second AP, the third AP and the fourth AP.
- the channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set.
- the channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set.
- the channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set.
- the channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
- the first set of candidate channels further includes an eighth channel
- the second set of candidate channels further includes a ninth channel
- the third set of candidate channels further includes a tenth channel
- the fourth set of candidate channels further includes a ninth channel.
- the set also includes an eleventh channel.
- the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth.
- the second bandwidth is greater than the third bandwidth.
- the eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
- the acquiring module 1201 is also configured to acquire a fifth candidate channel set.
- the fifth candidate channel set includes the first channel, the second channel and the twelfth channel.
- the bandwidth of the twelfth channel is the third bandwidth.
- the twelfth channel and the eighth channel are different sub-channels in the second channel.
- the sending module 1202 is also configured to: send the channel identifier to the fifth AP.
- the channel identifier sent by the sending module 1202 to the fifth AP is an identifier of at least one channel in the fifth candidate channel set.
- the first AP, the second AP, the third AP, and the fourth AP are neighbor APs, and the distance between the first AP and the second AP and the first AP The distance between the AP and the third AP is smaller than the distance between the first AP and the fourth AP.
- the channel allocating apparatus 1200 further includes a determining module.
- the determining module is configured to determine a channel whose bandwidth is the first bandwidth in the candidate channel set of N APs. N is an integer greater than or equal to 4.
- the determining module is also used to determine M APs.
- the candidate channel sets of the M APs all include one same channel, and the bandwidth of the same channel is the first bandwidth.
- the same channel includes a plurality of subchannels, each of the plurality of subchannels has a bandwidth of the second bandwidth.
- the determining module is further configured to use one of the plurality of sub-channels as a channel corresponding to the second bandwidth in the candidate channel set of one of the M APs.
- the channel corresponding to the second bandwidth in the candidate channel set of any one of the M APs is different from the channel corresponding to the second bandwidth in the candidate channel set of at least one neighboring AP.
- the M APs include the at least one neighbor AP.
- the sending module 1202 is configured to instruct the first AP, the second AP, the third AP and the fourth AP to select the first candidate channel set and the second candidate channel respectively. set, the third set of candidate channels, and one of the fourth set of candidate channels is used as a working channel.
- the bandwidth of the working channel of the first AP is the first target bandwidth
- the channel allocation apparatus 1200 further includes a changing module.
- the change module is used for: when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, change the working channel of the first AP to the target channel, and keep the working channels of other APs unchanged.
- the second target bandwidth is different from the first target bandwidth.
- the target channel is a channel whose bandwidth is the second target bandwidth in the first candidate channel set.
- the sending module 1202 is further configured to: send the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel.
- FIG. 13 is a schematic structural diagram of another channel allocation device provided by an embodiment of the present application.
- the channel allocation device 1300 includes a receiving module 1301 and a selecting module 1302 .
- the receiving module 1301 and the selecting module 1302 are configured to execute relevant steps in the above method embodiments.
- the receiving module 1301 is used to execute the related content of step 801 in FIG. 8
- the selection module 1302 is used to execute the related content of step 802 in FIG. 8 .
- the receiving module 1301 is configured to receive a set of candidate channels.
- the set of candidate channels includes a first channel and a second channel.
- the bandwidth of the first channel is the first bandwidth.
- the bandwidth of the second channel is the second bandwidth.
- the first bandwidth is not equal to the second bandwidth.
- the first channel is different from the second channel.
- a selection module 1302 configured to select a channel from the set of candidate channels as a working channel.
- the first bandwidth is greater than the second bandwidth.
- the second channel is a sub-channel of the first channel.
- the selection module 1302 is further configured to: when the first channel is used as the working channel, the second channel is used as the main channel.
- each unit or module in the device can be separately or all combined into one or several other units or modules to form, or one (some) unit or module can be further divided into multiple functionally smaller units or modules, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention.
- the above-mentioned units or modules are divided based on logical functions. In practical applications, the functions of one unit (or module) can also be realized by multiple units (or modules), or the functions of multiple units (or modules) can be realized by one unit (or module) implementation.
- FIG. 14 is a schematic structural diagram of a channel allocation device provided by an embodiment of the invention.
- the channel allocation device 1400 shown in FIG. 14 includes a memory 1401 , a processor 1402 , a communication interface 1403 and a bus 1404 .
- the memory 1401 , the processor 1402 , and the communication interface 1403 are connected to each other through a bus 1404 .
- the memory 1401 may be a read-only memory (Read Only Memory, ROM), a static storage device, a dynamic storage device or a random access memory (Random Access Memory, RAM).
- ROM Read Only Memory
- RAM Random Access Memory
- the memory 1401 may store programs, and when the programs stored in the memory 1401 are executed by the processor 1402, the processor 1402 executes various steps of the channel allocation method of the embodiment of the present application through the communication interface 1403.
- the processor 1402 may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a graphics processing unit (graphics processing unit, GPU) or one or more
- the integrated circuit is used to execute related programs to realize the functions required by the units in the channel allocation device of the embodiment of the present application, or to execute the channel allocation method of the method embodiment of the present application.
- the processor 1402 may also be an integrated circuit chip with signal processing capabilities. During implementation, each step of the channel allocation method of the present application may be completed by an integrated logic circuit of hardware in the processor 1402 or instructions in the form of software. Above-mentioned processor 1402 can also be CPU, digital signal processor (Digital Signal Processing, DSP), ASIC, off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device , Discrete hardware components. Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed.
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
- the steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
- the software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in the field.
- the storage medium is located in the memory 1401, and the processor 1402 reads the information in the memory 1401, and combines its hardware to complete the functions required by the units included in the channel allocation device of the embodiment of the application, or execute the channel allocation of the method embodiment of the application method.
- the communication interface 1403 uses a transceiver device such as but not limited to a transceiver to implement communication between the channel allocation device 1400 and other devices or communication networks. For example, data can be acquired through the communication interface 1403 .
- a transceiver device such as but not limited to a transceiver to implement communication between the channel allocation device 1400 and other devices or communication networks. For example, data can be acquired through the communication interface 1403 .
- the bus 1404 may include a path for transferring information between various components of the channel allocating device 1400 (eg, memory 1401 , processor 1402 , communication interface 1403 ).
- channel allocating device 1400 shown in FIG. 14 only shows a memory, a processor, and a communication interface, in the specific implementation process, those skilled in the art should understand that the channel allocating device 1400 also includes other necessary devices. Meanwhile, according to specific needs, those skilled in the art should understand that the channel allocating apparatus 1400 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the channel allocating apparatus 1400 may only include components necessary to realize the embodiment of the present application, and does not necessarily include all the components shown in FIG. 14 .
- the embodiment of the present application also provides a chip, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface, so as to implement the channel allocation method.
- the chip may further include a memory, and instructions are stored in the memory, and the processor is configured to execute the instructions stored in the memory. When the instructions are executed, the processing The device is used to implement the channel allocation method.
- the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it is run on a computer or a processor, the computer or the processor executes one of the above-mentioned methods or multiple steps.
- the embodiment of the present application also provides a computer program product including instructions.
- the computer program product is run on the computer or the processor, the computer or the processor is made to perform one or more steps in any one of the above methods.
- Computer-readable media may include computer-readable storage media, which correspond to tangible media, such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another (eg, based on a communication protocol) .
- a computer-readable medium may generally correspond to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium, such as a signal or carrier wave.
- Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this application.
- a computer program product may include a computer readable medium.
- such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk or other magnetic storage, flash memory, or any other medium that can contain the desired program code in the form of a computer and can be accessed by a computer.
- any connection is properly termed a computer-readable medium.
- coaxial cables, fiber optic cables, twisted pair cables, digital subscriber lines (DSL), or wireless technologies such as infrared, radio, and microwaves
- coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of media.
- Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD) and Blu-ray disc, where disks usually reproduce data magnetically and Optical discs use laser light to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.
- processors such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits.
- processors such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits.
- processors such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits.
- processors such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits.
- the term "processor,” as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein.
- the functionality described by the various illustrative logical blocks, modules, and steps described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or in conjunction with into the combined codec.
- the techniques may be fully implemented in one
- the techniques of the present application may be implemented in a wide variety of devices or devices, including a wireless handset, an integrated circuit (IC), or a group of ICs (eg, a chipset).
- IC integrated circuit
- a group of ICs eg, a chipset
- Various components, modules, or units are described in this application to emphasize functional aspects of means for performing the disclosed techniques, but do not necessarily require realization by different hardware units. Indeed, as described above, the various units may be combined in coded hardware units in conjunction with suitable software and/or firmware, or provided by interoperable hardware units comprising one or more processors as described above.
- words such as “first” and “second” are used to distinguish the same or similar items with basically the same function and effect.
- words such as “first” and “second” do not limit the quantity and execution order, and words such as “first” and “second” do not necessarily limit the difference.
- words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes.
- the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner for easy understanding.
- the disclosed systems, devices and methods may be implemented in other ways.
- the division of this unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored, or not implement.
- the mutual coupling, or direct coupling, or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
- a unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- all or part of them may be implemented by software, hardware, firmware or any combination thereof.
- software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions may be stored in or transmitted over a computer-readable storage medium.
- the computer instructions can be sent from one website site, computer, server or data center to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, DSL) or wireless (such as infrared, wireless, microwave, etc.) Center for transmission.
- the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
- This available medium can be ROM, or RAM, or magnetic medium, for example, floppy disk, hard disk, magnetic tape, magnetic disk, or optical medium, for example, digital versatile disk DVD, or semiconductor medium, for example, solid state disk (solid state disk, SSD) )wait.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求于2022年01月04日提交的申请号为202210001956.8、发明名称为“一种信道分配方法和装置”的中国专利申请的优先权,以及2022年03月31日提交的申请号为202210336394.2、发明名称为“信道分配方法、相关装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210001956.8 filed on January 4, 2022, and the invention title is “A Method and Device for Channel Allocation” and the application number 202210336394.2 submitted on March 31, 2022 , the priority of the Chinese patent application titled "Channel Assignment Method, Related Device and System", the entire contents of which are incorporated in this application by reference.
本申请涉及通信技术领域,尤其涉及一种信道分配方法、相关装置和系统。The present application relates to the technical field of communications, and in particular to a channel allocation method, related devices and systems.
随着无线局域网(Wireless Local Area Network,WLAN)的迅猛发展,接入点(access point,AP)的部署呈密集化趋势,以满足校园、企业和医院等WLAN覆盖需求。一个AP基于一个信道工作。一个信道对应于一个射频范围(可以称之为信道的带宽)。每个AP的信道的带宽可以相同,也可以不同。例如,有的AP的信道带宽为80兆赫(megahertz,MHz)(下文将MHz简述为M),有的AP的信道带宽为40M,有的AP的信道带宽为20M。当WLAN系统包括的AP数量较多时,多个AP的信道可能存在频率重叠,导致AP间存在严重的同频干扰。当需要配置WLAN系统中的多个AP的信道时,WLAN控制器需要逐一的根据每个AP的带宽为该AP选择合适的信道,并需要调整其他AP的信道以降低同频干扰。该信道分配方法效率低。With the rapid development of WLAN (Wireless Local Area Network, WLAN), the deployment of access points (access point, AP) tends to be dense to meet the WLAN coverage needs of campuses, enterprises and hospitals. An AP works based on a channel. A channel corresponds to a radio frequency range (which may be called the bandwidth of the channel). The channel bandwidth of each AP can be the same or different. For example, some APs have a channel bandwidth of 80 megahertz (megahertz, MHz) (hereinafter referred to as M for short), some APs have a channel bandwidth of 40M, and some APs have a channel bandwidth of 20M. When a WLAN system includes a large number of APs, the channels of multiple APs may overlap in frequency, resulting in serious co-channel interference among APs. When it is necessary to configure the channels of multiple APs in the WLAN system, the WLAN controller needs to select a suitable channel for each AP one by one according to the bandwidth of each AP, and needs to adjust the channels of other APs to reduce co-channel interference. This channel allocation method is inefficient.
发明内容Contents of the invention
本申请公开了一种信道分配方法、相关装置和系统,可以提升信道分配效率。The present application discloses a channel allocation method, a related device and a system, which can improve channel allocation efficiency.
第一方面,本申请提供一种信道分配方法。该方法可以应用于WLAN控制器。WLAN控制器向第一AP,第二AP,第三AP和第四AP发送信道标识。其中,WLAN控制器向该第一AP发送的信道标识为第一候选信道集合中的至少一个信道的标识。WLAN控制器向该第二AP发送的信道标识为第二候选信道集合中的至少一个信道的标识。WLAN控制器向该第三AP发送的信道标识为第三候选信道集合中的至少一个信道的标识。WLAN控制器向该第四AP发送的信道标识为第四候选信道集合中的至少一个信道的标识。该第一候选信道集合包括第一信道和第二信道。该第二候选信道集合包括第三信道和第四信道。该第三候选信道集合包括第五信道和第六信道。该第四候选信道集合包括第一信道和第七信道。该第一信道的带宽、该第三信道的带宽和该第五信道的带宽均为第一带宽。该第二信道的带宽、该第四信道的带宽、该第六信道的带宽和该第七信道的带宽均为第二带宽。该第一带宽大于该第二带宽。该第二信道和该第七信道是该第一信道中的不同子信道。该第四信道是该第三信道的子信道。该第六信道是该第五信道的子信道。In a first aspect, the present application provides a channel allocation method. This method can be applied to WLAN controllers. The WLAN controller sends channel identifiers to the first AP, the second AP, the third AP and the fourth AP. Wherein, the channel identifier sent by the WLAN controller to the first AP is an identifier of at least one channel in the first candidate channel set. The channel identifier sent by the WLAN controller to the second AP is an identifier of at least one channel in the second candidate channel set. The channel identifier sent by the WLAN controller to the third AP is an identifier of at least one channel in the third candidate channel set. The channel identifier sent by the WLAN controller to the fourth AP is an identifier of at least one channel in the fourth candidate channel set. The first set of candidate channels includes a first channel and a second channel. The second set of candidate channels includes a third channel and a fourth channel. The third set of candidate channels includes a fifth channel and a sixth channel. The fourth set of candidate channels includes the first channel and the seventh channel. The bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth. The bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth. The first bandwidth is greater than the second bandwidth. The second channel and the seventh channel are different sub-channels in the first channel. The fourth channel is a sub-channel of the third channel. The sixth channel is a sub-channel of the fifth channel.
例如,WLAN系统包括AP1~AP4共4个AP,第一带宽为80M,第二带宽为40M。80M的可用信道集合包括3个信道:信道42、信道58和信道155,即若3个AP分别基于该3个信道工作时,相互间不存在同频干扰。40M的可用信道集合包括6个信道:信道38、信道46、信道54、信道62、信道151和信道159,即若6个AP分别基于该6个信道工作时,相互间 不存在同频干扰。其中,信道38和信道46是信道42的2个不同的子信道,信道54和信道62是信道58的2个不同的子信道,信道151和信道159是信道165的2个不同的子信道。相应地,基于本方案,第一信道、第三信道和第五信道可以分别为信道42、信道58和信道155,第二信道、第四信道和第六信道可以分别为信道38、信道54和信道151,第七信道为信道46。第一后选信道集合可以包括信道42和信道38,第二候选信道集合可以包括信道58和信道54,第三候选信道集合可以包括信道155和信道151,第四候选信道集合可以包括信道42和信道46。当然,第四候选信道集合也可以包括信道58和信道62,或者,信道155和信道159。For example, the WLAN system includes 4 APs including AP1-AP4, the first bandwidth is 80M, and the second bandwidth is 40M. The available channel set of 80M includes 3 channels:
即,本方案中,WLAN控制器分别为每个AP确定候选信道集合,每个候选信道集合包括不同带宽的信道。针对一个特定的带宽,各个AP对应于该带宽的的信道尽可能的不同。即使因为可用信道的数量受限,导致多个AP对应于同一个带宽的信道相同,当带宽降低时,WLAN控制器分别为这些AP选择该相同信道中的不同子信道。这使得每个AP的候选信道集合都最大程度的与其他AP的候选信道集合不同。因此,不论各AP的带宽是相同还是不相同,WLAN控制器均可以直接从每个AP的候选信道集合中选择信道并发送给AP,各AP接收到的信道都会最大程度的不同。因此,该方案可以尽量地避免AP间的信道同频干扰。另外,基于本方案,WLAN控制器可以直接在每个AP的候选信道集合中为每个AP选择对应带宽的信道,无需调整其他AP的信道,提高了信道分配的效率。That is, in this solution, the WLAN controller determines a candidate channel set for each AP, and each candidate channel set includes channels with different bandwidths. For a specific bandwidth, the channels corresponding to the bandwidth of each AP are as different as possible. Even if multiple APs have the same channel corresponding to the same bandwidth because the number of available channels is limited, when the bandwidth decreases, the WLAN controller selects different sub-channels in the same channel for these APs respectively. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent. Therefore, regardless of whether the bandwidth of each AP is the same or different, the WLAN controller can directly select a channel from the candidate channel set of each AP and send it to the AP, and the channels received by each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible. In addition, based on this solution, the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP, without adjusting the channels of other APs, which improves the efficiency of channel allocation.
在一种可能的实施方式中,该第一候选信道集合还包括第八信道,该第二候选信道集合还包括第九信道,该第三候选信道集合还包括第十信道,该第四候选信道集合还包括第十一信道。该第八信道的带宽、该第九信道的带宽、该第十信道的带宽和该第十一信道的带宽均为第三带宽。第二带宽大于第三带宽。该第八信道、第九信道、第十信道和第十一信道分别为第二信道、第四信道、第六信道和第七信道的子信道。In a possible implementation manner, the first set of candidate channels further includes an eighth channel, the second set of candidate channels further includes a ninth channel, the third set of candidate channels further includes a tenth channel, and the fourth set of candidate channels further includes a ninth channel. The set also includes an eleventh channel. The bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth. The second bandwidth is greater than the third bandwidth. The eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
例如,第一带宽为80M,第二带宽为40M,第三带宽为20M。20M的可用信道集合包括13个可用信道:信道36、信道40、信道44、信道48、信道52、信道56、信道60、信道64、信道149、信道153、信道157、信道161和信道165。其中,信道36和信道40为信道38的2个不同子信道,信道44和信道48为信道46的2个不同子信道,信道36、信道40、信道44和信道48为信道42的4个不同子信道;信道52和信道56为信道54的2个不同子信道,信道60和信道64为信道62的2个不同子信道,信道52、信道56、信道60和信道64为信道58的4个不同子信道;信道149和信道153为信道151的2个不同子信道,信道157、信道161为信道159的2个不同子信道,信道149、信道153、信道157和信道161为信道155的4个不同子信道。此外,20M的信道还可以包括信道165,信道165可以认为是信道155的子信道。第八信道可以为信道36、第九信道可以为信道52、第十信道可以为信道149,第十一信道可以为信道44。即,第一候选信道集合包括信道42、信道38和信道36,第二候选信道集合可以包括信道58、信道54和信道52,第三候选信道集合可以包括信道155、信道151和信道149,第四候选信道集合可以包括信道42、信道46和信道44。由此可见,尽管第一候选信道集合和第四候选信道集合对应于80M的信道相同(信道42),但该两个信道集合对应于40M和20M的信道均不相同。即,每个AP的候选信道集合都最大程度低不同于其他AP的候选信道集合。For example, the first bandwidth is 80M, the second bandwidth is 40M, and the third bandwidth is 20M. The available channel set of 20M includes 13 available channels:
本方案中,每个候选信道集合包括三个带宽(例如,80M、40M和20M)的信道,每个AP的候选信道集合都最大程度地不同于其他AP的候选信道集合,这使得基于各候选信道集 合中的信道工作的各AP可以尽量避免AP间的信道同频干扰。In this scheme, each candidate channel set includes channels with three bandwidths (for example, 80M, 40M, and 20M), and each AP’s candidate channel set is different from other AP’s candidate channel sets to the greatest extent, which makes the candidate channel set based on each candidate The APs working on the channels in the channel set can avoid co-channel interference between APs as much as possible.
在一种可能的实施方式中,WLAN控制器还向第五AP发送信道标识。该WLAN控制器向第五AP发送的信道标识为第五候选信道集合中的至少一个信道的标识。该第五候选信道集合包括第一信道、第二信道和第十二信道。该第十二信道的带宽为第三带宽。该第十二信道和第八信道是第二信道中的不同子信道。In a possible implementation manner, the WLAN controller also sends the channel identifier to the fifth AP. The channel identifier sent by the WLAN controller to the fifth AP is an identifier of at least one channel in the fifth candidate channel set. The fifth set of candidate channels includes a first channel, a second channel and a twelfth channel. The bandwidth of the twelfth channel is the third bandwidth. The twelfth channel and the eighth channel are different sub-channels in the second channel.
例如,第五候选信道集合包括信道42、信道38和信道40。即,第一候选信道集合包括信道42、信道38和信道36,第二候选信道集合可以包括信道58、信道54和信道52,第三候选信道集合可以包括信道155、信道151和信道149,第四候选信道集合可以包括信道42、信道46和信道44。第五候选信道集合包括信道42、信道38和信道40。由此可见,尽管第一候选信道集合、第四候选信道集合和第五候选信道集合对应于80M的信道相同(信道42),第一候选信道集合和第五候选信道集合对应于40M的信道相同(信道38),但该3个信道集合对应于20M的信道均不相同。即,尽管AP数量增加,但该方案尽量保证每个AP的候选信道集合都最大程度地不同于其他AP的候选信道集合。这尽量避免了基于候选信道集合中的信道工作的AP间的信道同频干扰。For example, the fifth set of candidate channels includes
在一种可能的实施方式中,该第一AP、第二AP、第三AP和第四AP互为邻居AP。该第一AP与第二AP之间的距离和该第一AP与第三AP之间的距离均小于该第一AP和第四AP之间的距离。In a possible implementation manner, the first AP, the second AP, the third AP, and the fourth AP are neighbor APs. Both the distance between the first AP and the second AP and the distance between the first AP and the third AP are smaller than the distance between the first AP and the fourth AP.
该方案中,当无法为所有AP均选择不同的信道时,WLAN控制器为距离较近的AP设置不同的信道,为距离较远的AP设置相同的信道。当两个AP的信道相同时,该两个AP间的距离越远,同频干扰越弱。因此,该方案可以进一步地尽量避免AP间的同频干扰。In this solution, when different channels cannot be selected for all APs, the WLAN controller sets different channels for APs that are closer to each other, and sets the same channel for APs that are farther away. When the channels of two APs are the same, the farther the distance between the two APs is, the weaker the co-channel interference will be. Therefore, this solution can further avoid co-channel interference between APs as much as possible.
在一种可能的实施方式中,WLAN控制器确定N个AP的候选信道集合中的带宽为第一带宽的信道。N为大于等于4的整数。WLAN控制器确定M个AP。该M个AP的候选信道集合均包括一个相同信道。该相同信道的带宽为第一带宽。该相同信道可包括多个子信道。该多个子信道中的每个子信道的带宽为第二带宽。WLAN控制器将该多个子信道中的一个子信道作为该M个AP中的一个AP的候选信道集合中的对应于第二带宽的信道。其中,该M个AP中的任一个AP的候选信道集合中的对应于第二带宽的信道与至少一个邻居AP的候选信道集合中的对应于该第二带宽的信道不同。该M个AP包括该至少一个邻居AP。In a possible implementation manner, the WLAN controller determines a channel whose bandwidth is the first bandwidth in the set of candidate channels of the N APs. N is an integer greater than or equal to 4. The WLAN controller determines M APs. The candidate channel sets of the M APs all include a same channel. The bandwidth of the same channel is the first bandwidth. The same channel may include multiple sub-channels. The bandwidth of each subchannel in the plurality of subchannels is the second bandwidth. The WLAN controller takes one of the multiple sub-channels as a channel corresponding to the second bandwidth in the candidate channel set of one of the M APs. Wherein, the channel corresponding to the second bandwidth in the candidate channel set of any one of the M APs is different from the channel corresponding to the second bandwidth in the candidate channel set of at least one neighboring AP. The M APs include the at least one neighbor AP.
该方案中,WLAN控制器先确定各AP的候选信道集合中的第一带宽的信道,然后确定第一带宽的信道相同的多个AP的第二带宽的信道。其中,第一带宽的信道相同的AP与其至少一个邻居AP的第二带宽的信道不同。采用该方案,可以尽量使得相邻AP的信道不同,以尽量避免AP间的同频干扰。In this solution, the WLAN controller first determines the channel of the first bandwidth in the candidate channel set of each AP, and then determines the channels of the second bandwidth of multiple APs whose channels of the first bandwidth are the same. Wherein, an AP with the same channel of the first bandwidth is different from at least one of its neighbor APs with a channel of the second bandwidth. With this solution, the channels of adjacent APs can be made different as much as possible, so as to avoid co-channel interference between APs as much as possible.
在一种可能的实施方式中,WLAN控制器指示第一AP、第二AP、第三AP和第四AP分别选择该第一候选信道集合、第二候选信道集合、第三候选信道集合和第四候选信道集合中的一个信道作为工作信道。In a possible implementation manner, the WLAN controller instructs the first AP, the second AP, the third AP, and the fourth AP to respectively select the first candidate channel set, the second candidate channel set, the third candidate channel set, and the fourth candidate channel set. One of the four candidate channel sets is used as the working channel.
在一种可能的实施方式中,第一AP的工作信道的带宽为第一目标带宽,当需要调整该第一AP的带宽为第二目标带宽时,WLAN控制器将该第一AP的工作信道变更为目标信道,保持其他AP的工作信道不变。该第二目标带宽不同于该第一目标带宽。该目标信道为第一候选信道集合中带宽为第二目标带宽的信道。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and when it is necessary to adjust the bandwidth of the first AP to the second target bandwidth, the WLAN controller sets the working channel of the first AP to Change to the target channel and keep the working channel of other APs unchanged. The second target bandwidth is different from the first target bandwidth. The target channel is a channel whose bandwidth is the second target bandwidth in the first candidate channel set.
本方案中,WLAN控制器为各AP确定的候选信道集合中包括了各AP对应于多个带宽的信道,且任一AP在候选信道集合中的信道都尽量的避免了与其他AP的候选信道集合中的 信道的重叠。所以,当需要调整某个AP的带宽时,WLAN控制器可以直接将该AP的工作信道变更为该AP对应的候选信道集合中带宽为调整后的带宽的信道,无需调整其他AP的工作信道。这使得WLAN控制器可以快速地调整任一AP的带宽,而且也尽量地避免了AP间的同频干扰。In this solution, the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and the channels of any AP in the candidate channel set try to avoid the candidate channels of other APs. Overlap of channels in the set. Therefore, when the bandwidth of a certain AP needs to be adjusted, the WLAN controller can directly change the working channel of the AP to the channel with the adjusted bandwidth in the candidate channel set corresponding to the AP, without adjusting the working channels of other APs. This enables the WLAN controller to quickly adjust the bandwidth of any AP, and avoid co-channel interference between APs as much as possible.
在一种可能的实施方式中,WLAN控制器发送目标信道的信道标识给第一AP,以指示该第一AP将工作信道切换为该目标信道。信道标识例如为信道编号(例如,信道42、信道38等)或者信道的中心工作频率和工作频宽。In a possible implementation manner, the WLAN controller sends the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel. The channel identifier is, for example, a channel number (for example,
在一种可能的实施方式中,第一AP的工作信道的带宽为第一目标带宽,当需要调整第一AP的带宽为第二目标带宽时,第一AP从第一候选信道集合中选择带宽为第二目标带宽的信道作为目标信道。该第一AP将该工作信道切换为该目标信道。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, the first AP selects the bandwidth from the first candidate channel set A channel with the second target bandwidth is used as the target channel. The first AP switches the working channel to the target channel.
本方案中,WLAN控制器为各AP确定的候选信道集合中包括了各AP对应于多个带宽的信道,且任一AP在候选信道集合中的信道都尽量的避免了与其他AP的候选信道集合中的信道的重叠。所以,当需要调整某个AP的带宽时,该AP可以直接从该AP的候选信道集合中选择带宽为调整后的带宽的信道作为工作信道,而不用担心该切换过程会对其他AP造成严重的同频干扰。In this solution, the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and the channels of any AP in the candidate channel set try to avoid the candidate channels of other APs. Overlap of channels in the set. Therefore, when the bandwidth of an AP needs to be adjusted, the AP can directly select the channel with the adjusted bandwidth as the working channel from the candidate channel set of the AP, without worrying that the switching process will cause serious damage to other APs. co-channel interference.
在一种可能的实施方式中,当第一AP的信道利用率(Channel Utilization,CU)与第二AP的CU的差值大于第一阈值,或者,第一AP的接入用户数与第二AP的接入用户数的差值大于第二阈值,触发调整第一AP的第一目标带宽为第二目标带宽。In a possible implementation manner, when the difference between the Channel Utilization (Channel Utilization, CU) of the first AP and the CU of the second AP is greater than the first threshold, or the number of access users of the first AP is different from that of the second AP The difference in the number of access users of the APs is greater than the second threshold, triggering adjustment of the first target bandwidth of the first AP to the second target bandwidth.
也就是说,相邻AP间的负载不均衡触发AP带宽的调整。负载不均衡包括相邻AP的信道利用率的差值大于阈值或相邻AP的接入用户数的差值大于阈值。That is, the load imbalance between adjacent APs triggers the adjustment of AP bandwidth. Load imbalance includes that the difference between the channel utilization rates of adjacent APs is greater than a threshold or the difference between the number of access users of adjacent APs is greater than a threshold.
在一种可能的实施方式中,基于管理员的控制,调整第一AP的带宽为该第二目标带宽。In a possible implementation manner, based on the control of the administrator, the bandwidth of the first AP is adjusted to the second target bandwidth.
在一种可能的实施方式中,根据AP的接入用户数确定是否需要调整该AP的带宽。In a possible implementation manner, it is determined whether the bandwidth of the AP needs to be adjusted according to the number of access users of the AP.
第二方面,本申请提供一种信道分配方法。该方法应用于AP。AP接收候选信道集合。该候选信道集合包括第一信道和第二信道。该第一信道的带宽为第一带宽。该第二信道的带宽为第二带宽。该第一带宽不等于该第二带宽。该第一信道与该第二信道不同。该AP从该候选信道集合中选择一个信道作为工作信道。In a second aspect, the present application provides a channel allocation method. This method is applied to AP. The AP receives a set of candidate channels. The set of candidate channels includes a first channel and a second channel. The bandwidth of the first channel is the first bandwidth. The bandwidth of the second channel is the second bandwidth. The first bandwidth is not equal to the second bandwidth. The first channel is different from the second channel. The AP selects a channel from the set of candidate channels as a working channel.
本方案中,AP接收的候选信道集合包括对应不同带宽的不同信道,AP可以按照带宽需求直接从该候选信道集合中选择一个信道作为工作信道。这使得AP可以快速地确定工作信道,提升了信道分配的效率。In this solution, the set of candidate channels received by the AP includes different channels corresponding to different bandwidths, and the AP can directly select a channel from the set of candidate channels as a working channel according to bandwidth requirements. This enables the AP to quickly determine the working channel, improving the efficiency of channel allocation.
在一种可能的实施方式中,该第一带宽大于该第二带宽,该第二信道为该第一信道的子信道。In a possible implementation manner, the first bandwidth is greater than the second bandwidth, and the second channel is a subchannel of the first channel.
在一种可能的实施方式中,该AP将第一信道作为工作信道时,该AP还将第二信道作为主信道。In a possible implementation manner, when the AP uses the first channel as a working channel, the AP also uses the second channel as a main channel.
AP可以将相邻的多个低带宽的信道绑定成一个高带宽的信道,例如,将2个20M的信道绑定成一个40M的信道。多个低带宽的信道称之为高带宽的信道的多个子信道。多个子信道中的一个被用作主信道,其他子信道被用作从属信道。从属信道负责数据报文的传输,主信道除了负责数据报文的传输,还负责管理报文的传输。因此,本方案中,在AP将第一信道作为工作信道时,还将第二信道作为主信道,使得当AP的工作信道从第一信道切换至第二信道时,可以保持负责传输管理报文的信道不变,增强了网络的稳定性。The AP can bond multiple adjacent low-bandwidth channels into one high-bandwidth channel, for example, two 20M channels into one 40M channel. Multiple low-bandwidth channels are referred to as multiple sub-channels of a high-bandwidth channel. One of the subchannels is used as a master channel, and the other subchannels are used as slave channels. The slave channel is responsible for the transmission of data packets, and the master channel is not only responsible for the transmission of data packets, but also responsible for the transmission of management packets. Therefore, in this solution, when the AP uses the first channel as the working channel, the second channel is also used as the main channel, so that when the AP's working channel is switched from the first channel to the second channel, it can still be responsible for transmitting management messages. The channel remains unchanged, which enhances the stability of the network.
第三方面,本申请提供一种WLAN系统。该WLAN系统包括WLAN控制器和多个AP。该WLAN控制器用于执行如第一方面任一种可能的实施方式提供的方法。In a third aspect, the present application provides a WLAN system. The WLAN system includes a WLAN controller and multiple APs. The WLAN controller is configured to execute the method provided in any possible implementation manner of the first aspect.
在一种可能的实施方式中,该多个AP中的任一AP用于执行如第二方面任一种可能的实施方式提供的方法。In a possible implementation manner, any AP in the plurality of APs is used to execute the method provided in any possible implementation manner of the second aspect.
第四方面,本申请提供一种信道分配装置。该装置包括获取模块和发送模块。In a fourth aspect, the present application provides a channel allocation device. The device includes an acquisition module and a sending module.
该获取模块,用于获取第一候选信道集合、第二候选信道集合、第三候选信道集合和第四候选信道集合。其中,该第一候选信道集合包括第一信道和第二信道,该第二候选信道集合包括第三信道和第四信道,该第三候选信道集合包括第五信道和第六信道,该第四候选信道集合包括该第一信道和第七信道。该第一信道的带宽、该第三信道的带宽和该第五信道的带宽均为第一带宽。该第二信道的带宽、该第四信道的带宽、该第六信道的带宽和该第七信道的带宽均为第二带宽。该第一带宽大于该第二带宽。该第二信道和该第七信道是该第一信道中的不同子信道。该第四信道是该第三信道的子信道。该第六信道是该第五信道的子信道。The acquiring module is configured to acquire a first set of candidate channels, a second set of candidate channels, a third set of candidate channels and a fourth set of candidate channels. Wherein, the first set of candidate channels includes a first channel and a second channel, the second set of candidate channels includes a third channel and a fourth channel, the third set of candidate channels includes a fifth channel and a sixth channel, and the fourth set of candidate channels includes a fifth channel and a sixth channel. The set of candidate channels includes the first channel and the seventh channel. The bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth. The bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth. The first bandwidth is greater than the second bandwidth. The second channel and the seventh channel are different sub-channels in the first channel. The fourth channel is a sub-channel of the third channel. The sixth channel is a sub-channel of the fifth channel.
该发送模块,用于向第一AP,第二AP,第三AP和第四AP发送信道标识。向该第一AP发送的信道标识为该第一候选信道集合中的至少一个信道的标识。向该第二AP发送的信道标识为该第二候选信道集合中的至少一个信道的标识。向该第三AP发送的信道标识为该第三候选信道集合中的至少一个信道的标识。向该第四AP发送的信道标识为该第四候选信道集合中的至少一个信道的标识。The sending module is configured to send channel identifiers to the first AP, the second AP, the third AP and the fourth AP. The channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set. The channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set. The channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set. The channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
在一种可能的实施方式中,该第一候选信道集合还包括第八信道,该第二候选信道集合还包括第九信道,该第三候选信道集合还包括第十信道,该第四候选信道集合还包括第十一信道。其中,该第八信道的带宽、该第九信道的带宽、该第十信道的带宽和该第十一信道的带宽均为第三带宽。该第二带宽大于该第三带宽。该第八信道、该第九信道、该第十信道和该第十一信道分别为该第二信道、该第四信道、该第六信道和该第七信道的子信道。In a possible implementation manner, the first set of candidate channels further includes an eighth channel, the second set of candidate channels further includes a ninth channel, the third set of candidate channels further includes a tenth channel, and the fourth set of candidate channels further includes a ninth channel. The set also includes an eleventh channel. Wherein, the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth. The second bandwidth is greater than the third bandwidth. The eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
在一种可能的实施方式中,该获取模块,还用于获取第五候选信道集合。该第五候选信道集合包括该第一信道、该第二信道和第十二信道。该第十二信道的带宽为该第三带宽。该第十二信道和该第八信道是该第二信道中的不同子信道。该发送模块,还用于向第五AP发送信道标识。向该第五AP发送的信道标识为该第五候选信道集合中的至少一个信道的标识。In a possible implementation manner, the acquiring module is further configured to acquire a fifth candidate channel set. The fifth candidate channel set includes the first channel, the second channel and the twelfth channel. The bandwidth of the twelfth channel is the third bandwidth. The twelfth channel and the eighth channel are different sub-channels in the second channel. The sending module is further configured to send the channel identifier to the fifth AP. The channel identifier sent to the fifth AP is an identifier of at least one channel in the fifth candidate channel set.
在一种可能的实施方式中,该第一AP、该第二AP、该第三AP和该第四AP互为邻居AP,该第一AP与该第二AP之间的距离和该第一AP与该第三AP之间的距离均小于该第一AP和该第四AP之间的距离。In a possible implementation manner, the first AP, the second AP, the third AP, and the fourth AP are neighbor APs, and the distance between the first AP and the second AP and the first AP The distance between the AP and the third AP is smaller than the distance between the first AP and the fourth AP.
在一种可能的实施方式中,该装置还包括确定模块。该确定模块用于确定N个AP的候选信道集合中的带宽为该第一带宽的信道。N为大于等于4的整数。该确定模块还用于确定M个AP。该M个AP的候选信道集合均包括一个相同信道,该相同信道的带宽为该第一带宽。该相同信道包括多个子信道,该多个子信道中的每个子信道的带宽为该第二带宽。该确定模块还用于将该多个子信道中的一个子信道作为该M个AP中的一个AP的候选信道集合中的对应于该第二带宽的信道。其中,该M个AP中的任一个AP的候选信道集合中的对应于该第二带宽的信道与至少一个邻居AP的候选信道集合中的对应于该第二带宽的信道不同。该M个AP包括该至少一个邻居AP。In a possible implementation manner, the device further includes a determining module. The determining module is configured to determine a channel whose bandwidth is the first bandwidth in the candidate channel set of N APs. N is an integer greater than or equal to 4. The determining module is also used to determine M APs. The candidate channel sets of the M APs all include one same channel, and the bandwidth of the same channel is the first bandwidth. The same channel includes a plurality of subchannels, each of the plurality of subchannels has a bandwidth equal to the second bandwidth. The determining module is further configured to use one of the plurality of sub-channels as a channel corresponding to the second bandwidth in the candidate channel set of one of the M APs. Wherein, the channel corresponding to the second bandwidth in the candidate channel set of any one of the M APs is different from the channel corresponding to the second bandwidth in the candidate channel set of at least one neighboring AP. The M APs include the at least one neighbor AP.
在一种可能的实施方式中,该发送模块,用于:指示该第一AP、该第二AP、该第三AP和该第四AP分别选择该第一候选信道集合、该第二候选信道集合、该第三候选信道集合和 该第四候选信道集合中的一个信道作为工作信道。In a possible implementation manner, the sending module is configured to: instruct the first AP, the second AP, the third AP and the fourth AP to select the first candidate channel set and the second candidate channel respectively set, the third set of candidate channels, and one of the fourth set of candidate channels is used as a working channel.
在一种可能的实施方式中,该第一AP的工作信道的带宽为第一目标带宽,该装置还包括变更模块。该变更模块用于:当需要调整该第一AP的带宽为第二目标带宽时,将该第一AP的工作信道变更为目标信道,并保持其他AP的工作信道不变。该第二目标带宽不同于该第一目标带宽。该目标信道为该第一候选信道集合中带宽为该第二目标带宽的信道。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and the device further includes a changing module. The changing module is used for: changing the working channel of the first AP to the target channel when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, and keeping the working channels of other APs unchanged. The second target bandwidth is different from the first target bandwidth. The target channel is a channel whose bandwidth is the second target bandwidth in the first candidate channel set.
在一种可能的实施方式中,该发送模块,还用于:发送该目标信道的信道标识给该第一AP,以指示该第一AP将工作信道切换为该目标信道。In a possible implementation manner, the sending module is further configured to: send the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel.
第五方面,本申请提供一种信道分配装置。该装置包括接收模块和选择模块。该接收模块,用于接收候选信道集合。该候选信道集合包括第一信道和第二信道。该第一信道的带宽为第一带宽。该第二信道的带宽为第二带宽。该第一带宽不等于该第二带宽。该第一信道与该第二信道不同。该选择模块,用于从该候选信道集合中选择一个信道作为工作信道。In a fifth aspect, the present application provides a channel allocation device. The device includes a receiving module and a selecting module. The receiving module is used for receiving a set of candidate channels. The set of candidate channels includes a first channel and a second channel. The bandwidth of the first channel is the first bandwidth. The bandwidth of the second channel is the second bandwidth. The first bandwidth is not equal to the second bandwidth. The first channel is different from the second channel. The selection module is used to select a channel from the set of candidate channels as a working channel.
在一种可能的实施方式中,该第一带宽大于该第二带宽,该第二信道为该第一信道的子信道。In a possible implementation manner, the first bandwidth is greater than the second bandwidth, and the second channel is a subchannel of the first channel.
在一种可能的实施方式中,该选择模块还用于:选择该第一信道作为工作信道时,选择该第二信道作为主信道。In a possible implementation manner, the selection module is further configured to: select the second channel as the main channel when the first channel is selected as the working channel.
第六方面,本申请提供一种WLAN控制器。该WLAN控制器包括处理器和存储器。存储器用于存储程序代码。处理器用于调用该程序代码,以使得WLAN控制器执行如第一方面任一种可能的实施方式提供的方法。In a sixth aspect, the present application provides a WLAN controller. The WLAN controller includes a processor and memory. The memory is used to store program codes. The processor is configured to call the program code, so that the WLAN controller executes the method provided in any possible implementation manner of the first aspect.
第七方面,本申请提供一种AP。该AP包括处理器和存储器。存储器用于存储程序代码。处理器用于调用该程序代码,以使得AP执行如第二方面任一种可能的实施方式提供的方法。In a seventh aspect, the present application provides an AP. The AP includes a processor and memory. The memory is used to store program codes. The processor is configured to call the program code, so that the AP executes the method provided in any possible implementation manner of the second aspect.
第八方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质存储有指令。当指令被处理器执行时,实现如第一方面任一种可能的实施方式提供的方法或如第二方面任一种可能的实施方式提供的方法。In an eighth aspect, the present application provides a computer-readable storage medium. The computer readable storage medium stores instructions. When the instructions are executed by the processor, the method provided in any possible implementation manner of the first aspect or the method provided in any possible implementation manner of the second aspect is implemented.
第九方面,本申请提供一种计算机程序产品。当计算机程序产品在计算机上运行时,使得计算机执行如第一方面任一种可能的实施方式提供的方法或如第二方面任一种可能的实施方式提供的方法。In a ninth aspect, the present application provides a computer program product. When the computer program product runs on the computer, the computer is made to execute the method provided in any possible implementation manner of the first aspect or the method provided in any possible implementation manner of the second aspect.
可以理解地,上述提供的第三方面所述的系统、第四方面所述的装置、第五方面所述的装置、第六方面所述的WLAN控制器、第七方面所述的AP、第八方面所述的计算机可读存储介质或者第九方面所述的计算机程序产品均用于执行第一方面中任一所提供的方法或第二方面中任一所提供的方法。因此,其所能达到的有益效果可参考对应方法中的有益效果,此处不再赘述。Understandably, the system described in the third aspect, the device described in the fourth aspect, the device described in the fifth aspect, the WLAN controller described in the sixth aspect, the AP described in the seventh aspect, and the The computer-readable storage medium according to the eighth aspect or the computer program product according to the ninth aspect are all used to execute any method provided in the first aspect or any method provided in the second aspect. Therefore, the beneficial effects that it can achieve can refer to the beneficial effects in the corresponding method, and will not be repeated here.
图1是本申请实施例提供的一种WLAN系统的架构示意图;FIG. 1 is a schematic structural diagram of a WLAN system provided by an embodiment of the present application;
图2是本申请实施例提供的一种信道分配方法的流程示意图;FIG. 2 is a schematic flowchart of a channel allocation method provided in an embodiment of the present application;
图3a是本申请实施例提供的一种候选信道集合示意图;FIG. 3a is a schematic diagram of a set of candidate channels provided by an embodiment of the present application;
图3b是本申请实施例提供的另一种候选信道集合示意图;FIG. 3b is a schematic diagram of another set of candidate channels provided by the embodiment of the present application;
图3c是本申请实施例提供的另一种候选信道集合示意图;FIG. 3c is a schematic diagram of another set of candidate channels provided by the embodiment of the present application;
图4是本申请实施例提供的另一种候选信道集合示意图;FIG. 4 is a schematic diagram of another set of candidate channels provided by the embodiment of the present application;
图5是本申请实施例提供的一种信道分配示意图;FIG. 5 is a schematic diagram of channel allocation provided by an embodiment of the present application;
图6a是本申请实施例提供的一种信道确定方法示意图;FIG. 6a is a schematic diagram of a method for determining a channel provided in an embodiment of the present application;
图6b是本申请实施例提供的一种信道确定方法示意图;FIG. 6b is a schematic diagram of a method for determining a channel provided in an embodiment of the present application;
图6c是本申请实施例提供的一种信道确定方法示意图;FIG. 6c is a schematic diagram of a method for determining a channel provided in an embodiment of the present application;
图7a是本申请实施例提供的一种盲节点示意图;Fig. 7a is a schematic diagram of a blind node provided by an embodiment of the present application;
图7b是本申请实施例提供的一种盲节点信道确定方法示意图;FIG. 7b is a schematic diagram of a blind node channel determination method provided by an embodiment of the present application;
图8是本申请实施例提供的一种信道分配方法的流程示意图;FIG. 8 is a schematic flowchart of a channel allocation method provided in an embodiment of the present application;
图9是本申请实施例提供的一种可用信道示意图;FIG. 9 is a schematic diagram of an available channel provided by an embodiment of the present application;
图10是本申请实施例提供的一种信道分配示意图;FIG. 10 is a schematic diagram of channel allocation provided by an embodiment of the present application;
图11是本申请实施例提供的一种点位信息示意图;Fig. 11 is a schematic diagram of point information provided by the embodiment of the present application;
图12是本申请实施例提供的一种信道分配装置的结构示意图;FIG. 12 is a schematic structural diagram of a channel allocation device provided in an embodiment of the present application;
图13是本申请实施例提供的另一种信道分配装置的结构示意图;FIG. 13 is a schematic structural diagram of another channel allocation device provided by an embodiment of the present application;
图14是本申请实施例提供的另一种信道分配装置的结构示意图。Fig. 14 is a schematic structural diagram of another channel allocation device provided by an embodiment of the present application.
下面结合本申请实施例中的附图对本申请实施例进行描述。本申请实施例的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。Embodiments of the present application are described below with reference to the drawings in the embodiments of the present application. The terms used in the implementation of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
图1为本申请实施例提供的一种WLAN系统的架构示意图。如图1所示,该WLAN系统包括WLAN控制器101以及多个接入点(Access Point,AP)。该多个AP例如包括如图1所示的AP102、AP103、AP104和AP105。该图中仅以4个AP为例进行说明,其还可以是其他数量的AP,本方案对此不做具体限定。该WLAN控制器101例如为接入控制器(AccessController,AC)。FIG. 1 is a schematic structural diagram of a WLAN system provided by an embodiment of the present application. As shown in FIG. 1, the WLAN system includes a WLAN controller 101 and multiple access points (Access Point, AP). The multiple APs include, for example, AP102, AP103, AP104 and AP105 as shown in FIG. 1 . In this figure, only 4 APs are taken as an example for illustration, and other numbers of APs may also be used, which is not specifically limited in this solution. The WLAN controller 101 is, for example, an access controller (Access Controller, AC).
WLAN控制器101用于管理WLAN系统中的多个AP,例如,为该多个AP分配信道。The WLAN controller 101 is used for managing multiple APs in the WLAN system, for example, allocating channels for the multiple APs.
多个AP的带宽可以相同,例如,AP102~AP105的带宽均为80M,或者,AP102~AP105的带宽均为40M,或者,AP102~AP105的带宽均为20M。当多个AP的带宽相同时,WLAN控制器需要逐一的为每个AP分配信道,并需要尽量使得AP间的信道不重叠,以尽量减小AP间的同频干扰。例如,80M的可用信道集合仅包括3个信道(信道42、信道58和信道155),当4个或4个以上的AP的带宽均为80M时,WLAN控制器需要将该3个信道分配给该4个或4个以上的AP。因此,WLAN控制器需要不断的尝试调整各AP的信道,以尽量地降低AP间的同频干扰。每次分配或者每调整一个AP的信道时,WLAN控制器都需要调整该AP的信道以及与可能影响该AP的其他AP的信道。信道分配过程复杂,信道分配效率低。The bandwidths of multiple APs may be the same, for example, the bandwidths of AP102-AP105 are all 80M, or the bandwidths of AP102-AP105 are all 40M, or the bandwidths of AP102-AP105 are all 20M. When multiple APs have the same bandwidth, the WLAN controller needs to allocate channels to each AP one by one, and try to make the channels between APs not overlap, so as to minimize the same-channel interference between APs. For example, the available channel set of 80M only includes 3 channels (
多个AP的带宽也可以不同,例如,AP102的带宽为80M,AP103的带宽为40M,AP104和AP105的带宽为20M。40的可用信道集合包括6个信道,20M的可用信道集合包括13个信道。此时,WLAN控制器需要基于上述22个信道调整各AP的信道,以尽量地降低AP间的同频干扰。在为某一个AP选择信道时,WLAN控制器还需要考虑多个AP中其他AP对该AP的影响,不断地尝试调整该多个AP的信道。每次分配或者每调整一个AP的信道时,WLAN控制器都需要调整该AP的信道以及与可能影响该AP的其他AP的信道。信道分配过程复杂,信道分配效率低。The bandwidths of multiple APs may also be different, for example, the bandwidth of AP102 is 80M, the bandwidth of AP103 is 40M, and the bandwidth of AP104 and AP105 is 20M. The available channel set of 40 includes 6 channels, and the available channel set of 20M includes 13 channels. At this time, the WLAN controller needs to adjust the channel of each AP based on the above 22 channels, so as to reduce the same-channel interference between APs as much as possible. When selecting a channel for a certain AP, the WLAN controller also needs to consider the influence of other APs among the multiple APs on the AP, and constantly try to adjust the channels of the multiple APs. Every time the channel of an AP is allocated or adjusted, the WLAN controller needs to adjust the channel of the AP and the channels of other APs that may affect the AP. The channel allocation process is complicated, and the channel allocation efficiency is low.
鉴于此,本申请提供一种信道分配方法及相关的装置。该方法可以由WLAN控制器执行。WLAN控制器为多个AP中的每个AP维护一个候选信道集合。每个候选信道集合包括一个 AP对应于不同带宽(例如,第一带宽和第二带宽)的信道。同一个候选信道集合中,低带宽对应的信道是高带宽对应的信道的子信道。不同的候选信道集合中,针对同一个带宽,每个候选集合中对应于该带宽的信道尽可能地不同。即使因为可用信道的数量受限,导致某些AP对应于同一个带宽的信道相同时,针对一个小于该带宽的低带宽,WLAN控制器分别为这些AP选择该相同信道中的不同子信道。这使得每个AP的候选信道集合都最大程度的与其他AP的候选信道集合不同。AP基于候选信道集合中的信道工作时,可以尽量地避免AP间的同频干扰。当需要为AP分配信道时,WLAN控制器可以直接从对应AP的候选信道集合中选择信道并发送选择的信道给对应的AP,无需调整其他AP的信道。该信道分配过程简单,提升了信道分配的效率。In view of this, the present application provides a channel allocation method and a related device. The method can be performed by a WLAN controller. The WLAN controller maintains a set of candidate channels for each of the plurality of APs. Each set of candidate channels includes channels of an AP corresponding to different bandwidths (for example, the first bandwidth and the second bandwidth). In the same candidate channel set, the channel corresponding to the low bandwidth is a sub-channel of the channel corresponding to the high bandwidth. In different candidate channel sets, for the same bandwidth, channels corresponding to the bandwidth in each candidate set are as different as possible. Even if some APs have the same channel corresponding to the same bandwidth due to the limited number of available channels, for a low bandwidth smaller than the bandwidth, the WLAN controller selects different sub-channels in the same channel for these APs. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent. When APs work based on channels in the candidate channel set, co-channel interference between APs can be avoided as much as possible. When it is necessary to allocate a channel for an AP, the WLAN controller can directly select a channel from the candidate channel set of the corresponding AP and send the selected channel to the corresponding AP without adjusting the channels of other APs. The channel allocation process is simple, and the efficiency of channel allocation is improved.
例如,第一带宽可以为80M,第二带宽可以为40M。WLAN控制器101分别为AP102,AP103,AP104和AP105维护一个候选信道集合,例如,WLAN控制器101为AP102维护第一候选信道集合,为AP103维护第二候选信道集合,为AP104维护第三候选信道集合,为AP105维护第四候选信道集合。第一至第四候选信道集合分别包括2个信道,一个信道的带宽为80M,另一个信道的带宽为40M。由于80M的可用信道只有三个(信道42、信道58和信道155),因此,WLAN控制器可以设置第一至第三候选信道集合中的带宽为80M的信道分别为信道42、信道58和信道155。WLAN控制器可以将第四候选信道集合中的带宽为80M的信道设置为上述3个信道中的任一个,例如,信道42。即,WLAN控制器为每个AP维护的候选信道集合中的带宽为80M的信道尽可能地不同。上述带宽为80M的3个信道分别包括2个带宽为40M的不同子信道,其中,信道42包括的2个子信道为:信道38和信道46,信道58包括的2个子信道为:信道54和信道62,信道155包括的2个子信道为:信道151和信道159。WLAN控制器可以设置第一至第四候选信道集合中的带宽为40M的信道分别为:信道38、信道54、信道151和信道46。即,即使因为80M的可用信道受限,导致第一候选信道集合和第四候选信道集合中带宽为80M的信道相同,但该第一候选信道集合和该第四候选信道集合中带宽为40M的信道却不同,分别为带宽为80M的信道的两个不同子信道。For example, the first bandwidth may be 80M, and the second bandwidth may be 40M. WLAN controller 101 maintains a set of candidate channels for AP102, AP103, AP104, and AP105 respectively. For example, WLAN controller 101 maintains a first set of candidate channels for AP102, maintains a second set of candidate channels for AP103, and maintains a third set of candidate channels for AP104. set, maintaining a fourth candidate channel set for AP105. The first to fourth candidate channel sets respectively include 2 channels, one channel has a bandwidth of 80M, and the other channel has a bandwidth of 40M. Since there are only three available channels of 80M (
再例如,第一带宽可以为40M,第二带宽可以为20M。40M可用信道包括六个不同的信道(信道38、信道46、信道54、信道62、信道151和信道159),因此,第一至第四候选信道集合可以分别包括带宽为40M的不同信道,例如,第一候选信道集合包括的带宽为40M的信道为信道38、第二候选信道集合包括的带宽为40M的信道为信道54、第三候选信道集合包括的带宽为40M的信道为信道151、第二候选信道集合包括的带宽为40M的信道为信道46。上述带宽为40M的6个信道分别包括2个带宽为20M的不同子信道,其中,信道38包括的2个子信道为:信道36和信道40,信道46包括的2个子信道为:信道44和信道48,信道54包括的2个子信道为:信道52和信道56,信道62包括的2个子信道为:信道60和信道64,信道151包括的2个子信道为:信道149和信道153,信道159包括的3个子信道为:信道157、信道161和信道165。WLAN控制器可以设置第一至第四候选信道集合中的带宽为20M的信道分别为:信道36、信道52、信道149和信道44。即,WLAN控制器为各AP设置的对应于20M的信道分别为各AP对应于40M的信道的子信道。可以理解的是,当WLAN系统中的AP的数量大于等于6时,至少有两个AP的带宽为40M的信道相同,但带宽为40M的信道相同的AP的带宽为20M的信道尽可能的不同。例如,上述各个信道的频率如下:信道36(5170MHz–5190MHz),信道38(5170MHz–5210MHz),信道40(5190MHz-5210MHz),信道42(5170MHz-5250MHz),信道44(5210MHz-5230MHz),信 道46(5210MHz-5250MHz),信道48(5230MHz-5250MHz),信道52(5250MHz-5270MHz),信道54(5250MHz-5290MHz),信道56(5270MHz-5290MHz),信道58(5250MHz-5330MHz),信道60(5290MHz-5310MHz),信道62(5290MHz-5330MHz),信道64(5310MHz-5330MHz),信道149(5735MHz-5755MHz),信道151(5735MHz-5775MHz),信道153(5755MHz-5775MHz),信道155(5735MHz-5815MHz),信道157(5775MHz-5795MHz),信道159(5775MHz-5815MHz),信道161(5795MHz-5815MHz),信道165(5815MHz-5835MHz)。For another example, the first bandwidth may be 40M, and the second bandwidth may be 20M. The 40M available channels include six different channels (
基于本方案,WLAN控制器可以直接在每个AP的候选信道集合中为每个AP选择信道并发送选择的信道给对应的AP。Based on this solution, the WLAN controller can directly select a channel for each AP in the candidate channel set of each AP and send the selected channel to the corresponding AP.
可以理解的是,上述第一带宽可以是80M,上述第二带宽还可以是20M。每个候选信道集合还可以包括更多的带宽的信道,例如,每个候选信道集合包括带宽为第一带宽的信道、带宽为第二带宽的信道和带宽为第三带宽的信道。此时,第一带宽可以为80M,第二带宽可以为40M,第三带宽可以为20M。It can be understood that the above-mentioned first bandwidth may be 80M, and the above-mentioned second bandwidth may also be 20M. Each candidate channel set may also include channels with more bandwidths. For example, each candidate channel set includes channels with the first bandwidth, channels with the second bandwidth, and channels with the third bandwidth. At this time, the first bandwidth may be 80M, the second bandwidth may be 40M, and the third bandwidth may be 20M.
在一种可能的实施方式中,该WLAN系统还包括计算设备(图中未示出)。该计算设备用于获取多个AP的候选信道集合,并通过WLAN控制器101向各AP发送信道标识。或者,WLAN控制器101从该计算设备获取该多个AP的候选信道集合。该计算设备是具有计算能力的设备,例如,个人计算机、服务器、服务器集群、虚拟机、虚拟机集群、云设备。云例如为公有云、私有云或混合云。下文以WLAN控制器获取多个AP的候选信道集合为例进行说明。In a possible implementation manner, the WLAN system further includes a computing device (not shown in the figure). The computing device is used to obtain candidate channel sets of multiple APs, and send channel identifiers to each AP through the WLAN controller 101 . Alternatively, the WLAN controller 101 acquires the candidate channel sets of the multiple APs from the computing device. The computing device is a device with computing capabilities, for example, a personal computer, a server, a server cluster, a virtual machine, a virtual machine cluster, and a cloud device. A cloud is, for example, a public cloud, a private cloud or a hybrid cloud. The following uses an example in which the WLAN controller obtains the candidate channel sets of multiple APs as an example for description.
图2为本申请实施例提供的一种信道分配方法的流程示意图。该方法应用于WLAN控制器。如图2所示,该方法包括步骤201,具体如下:FIG. 2 is a schematic flowchart of a channel allocation method provided by an embodiment of the present application. The method is applied to a WLAN controller. As shown in Figure 2, the method includes
201、向第一AP,第二AP,第三AP和第四AP发送信道标识。其中,向该第一AP发送的信道标识为第一候选信道集合中的至少一个信道的标识。向该第二AP发送的信道标识为第二候选信道集合中的至少一个信道的标识。向该第三AP发送的信道标识为第三候选信道集合中的至少一个信道的标识。向该第四AP发送的信道标识为第四候选信道集合中的至少一个信道的标识。该第一候选信道集合包括第一信道和第二信道。该第二候选信道集合包括第三信道和第四信道。该第三候选信道集合包括第五信道和第六信道。该第四候选信道集合包括该第一信道和第七信道。该第一信道的带宽、该第三信道的带宽和该第五信道的带宽均为第一带宽。该第二信道的带宽、该第四信道的带宽、该第六信道的带宽和该第七信道的带宽均为第二带宽。该第一带宽大于该第二带宽。该第二信道和该第七信道是该第一信道中的不同子信道。该第四信道是该第三信道的子信道,该第六信道是该第五信道的子信道。201. Send a channel identifier to the first AP, the second AP, the third AP, and the fourth AP. Wherein, the channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set. The channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set. The channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set. The channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set. The first set of candidate channels includes a first channel and a second channel. The second set of candidate channels includes a third channel and a fourth channel. The third set of candidate channels includes a fifth channel and a sixth channel. The fourth candidate channel set includes the first channel and the seventh channel. The bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth. The bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth. The first bandwidth is greater than the second bandwidth. The second channel and the seventh channel are different sub-channels in the first channel. The fourth channel is a sub-channel of the third channel, and the sixth channel is a sub-channel of the fifth channel.
其中,信道标识用于指示具体的信道。例如,信道标识可以是信道的数字编号。例如,带宽为80M的3个信道的信道编码分别为42、58和155,带宽为40M的6个信道的信道编码分别为38、46、54、62、151和159。在一种可能的实施方式中,还可以采用二进制编码来表示信道。例如,带宽为80M的3个信道的信道编码分别为00、01和11,带宽为40M的6个信道的信道编码分别为000、001、011、010、110和111。Wherein, the channel identifier is used to indicate a specific channel. For example, the channel identifier may be the numerical number of the channel. For example, the channel codes of 3 channels with a bandwidth of 80M are 42, 58 and 155 respectively, and the channel codes of 6 channels with a bandwidth of 40M are 38, 46, 54, 62, 151 and 159 respectively. In a possible implementation manner, a binary code may also be used to represent the channel. For example, the channel codes of 3 channels with a bandwidth of 80M are 00, 01 and 11 respectively, and the channel codes of 6 channels with a bandwidth of 40M are 000, 001, 011, 010, 110 and 111 respectively.
又例如,信道标识还可以是信道频率,例如信道标识包括两部分,第一部分指示信道的中心工作频率,第二部分指示信道的频宽。即,信道标识通过指定信道的中心工作频率和频 宽以指示具体的信道。例如,信道42的中心工作频率为5.21GHZ,频宽为80M。下文以信道标识为信道编号为例进行说明。For another example, the channel identifier may also be a channel frequency. For example, the channel identifier includes two parts, the first part indicates the central operating frequency of the channel, and the second part indicates the bandwidth of the channel. That is, the channel identifier indicates a specific channel by specifying the central operating frequency and bandwidth of the channel. For example, the central operating frequency of
第一候选信道集合、第二候选信道集合、第三候选信道集合和第四候选信道集合分别包括两个信道。且该两个信道的带宽分别为第一带宽和第二带宽。其中,第一带宽大于第二带宽。第一信道、第三信道、第五信道的带宽均为第一带宽。第二信道、第四信道、第六信道、第七信道的带宽均为第二带宽。第二信道和第七信道为第一信道中的不同子信道。第四信道为第三信道的子信道。第六信道为第五信道的子信道。The first set of candidate channels, the second set of candidate channels, the third set of candidate channels and the fourth set of candidate channels each include two channels. And the bandwidths of the two channels are respectively the first bandwidth and the second bandwidth. Wherein, the first bandwidth is greater than the second bandwidth. The bandwidths of the first channel, the third channel, and the fifth channel are all the first bandwidth. The bandwidths of the second channel, the fourth channel, the sixth channel, and the seventh channel are all the second bandwidth. The second channel and the seventh channel are different subchannels in the first channel. The fourth channel is a sub-channel of the third channel. The sixth channel is a sub-channel of the fifth channel.
例如,如图3a所示,第一带宽是80M,第二带宽是40M。带宽为80M的可用信道包括3个信道:信道42、信道58和信道155。每个带宽为80M的信道分别包括2个带宽为40M的不同子信道,例如,信道42包括2个子信道:信道38和信道46;信道58包括2个子信道:信道54和信道62;信道155包括2个子信道:信道151和信道159。因此,存在三个完全不同的候选信道集合。例如,第一候选信道集合中的第一信道可以是信道42,第二信道可以是信道38。第二候选信道集合中的第三信道可以是信道58,第四信道可以是信道54。第三候选信道集合中的第五信道可以是信道155,第六信道可以是信道151。当AP的数量超出三时,必然存在其他AP的候选信道集合中带宽为第一带宽的信道与上述三个候选信道集合中的至少一个候选信道集合中的带宽为第一带宽的信道相同。但,本申请实施例为两个第一带宽的信道相同的AP设置不同的带宽为第二带宽的信道,该两个带宽为第二带宽的不同信道为上述带宽为第一带宽的相同信道的不同子信道。当这两个AP均工作于第二带宽时,这两个AP的工作信道可以不同,尽量地避免AP间的信道干扰。例如,第四候选信道集合中的第一信道是信道42,第七信道是信道46。该第四候选信道集合中带宽为80M的信道与第一候选信道集合中带宽为80M的信道相同,而该第四候选信道集合中带宽为40M的信道与第一候选信道集合中带宽为40M的信道不同。即,本申请实施例中的任意两个候选信道集合中信道最大程度地不同,这使得基于各候选信道集合中的信道工作的各AP可以尽量避免AP间的信道同频干扰。For example, as shown in Figure 3a, the first bandwidth is 80M, and the second bandwidth is 40M. The available channels with a bandwidth of 80M include 3 channels:
再例如,如图3b所示,第一带宽是40M,第二带宽是20M。此时,第一候选信道集合中的第一信道可以是信道38,第二信道可以是信道36。第二候选信道集合中的第三信道可以是信道54,第四信道可以是信道52。第三候选信道集合中的第五信道可以是信道151,第六信道可以是信道149。由于带宽为40M的可用信道包括六个不同的信道,因此,当存在不多于六个的AP时,则每个AP的候选信道集合可以完全不同。当存在多于六个的AP时,则会存在部分AP的带宽为40M的信道相同,但带宽为40M的信道相同的AP的带宽为20M的信道尽可能的不同。例如,第7个AP对应的第四候选信道集合中的带宽为40M的信道为第一信道(信道38),带宽为20M的信道为第七信道(信道40)。该第四候选信道集合中带宽为40M的信道与第一候选信道集合中带宽为40M的信道相同,而该第四候选信道集合中带宽为20M的信道与第一候选信道集合中带宽为20M的信道不同。即,本申请实施例中的任意两个候选信道集合中信道最大程度地不同,这使得基于各候选信道集合中的信道工作的各AP可以尽量避免AP间的信道同频干扰。For another example, as shown in FIG. 3b, the first bandwidth is 40M, and the second bandwidth is 20M. At this time, the first channel in the first set of candidate channels may be
再例如,如图3c所示,第一带宽是80M,第二带宽是20M。此时,第一候选信道集合中的第一信道可以是信道42,第二信道可以是信道36。第二候选信道集合中的第三信道可以是信道58,第四信道可以是信道52。第三候选信道集合中的第五信道可以是信道155,第六信道可以是信道149。第四候选信道集合中的第一信道可以是信道42,第七信道可以是信道 40。For another example, as shown in FIG. 3c, the first bandwidth is 80M, and the second bandwidth is 20M. At this time, the first channel in the first set of candidate channels may be
上述各实施例仅为一种示例,具体地候选信道集合还可以是其他信道组合,例如,图3a中的第四候选信道集合还可以是信道58和信道62的组合,本方案对此不做具体限定。The above-mentioned embodiments are only examples, and specifically, the candidate channel set can also be other channel combinations. For example, the fourth candidate channel set in FIG. 3a can also be a combination of
本申请实施例中,WLAN控制器分别为每个AP确定候选信道集合,每个候选信道集合包括不同带宽的信道。针对一个特定的带宽,各个AP对应于该带宽的的信道尽可能的不同。即使因为可用信道的数量受限,导致某些AP对应于同一个带宽的信道相同,当带宽降低时,WLAN控制器分别为这些AP选择该相同信道中的不同子信道。这使得每个AP的候选信道集合都最大程度的与其他AP的候选信道集合不同。因此,不论各AP的带宽是相同还是不相同,WLAN控制器均可以直接从每个AP的候选信道集合中选择信道并发送给AP,各AP接收到的信道都会最大程度的不同。因此,该方案可以尽量地避免AP间的信道同频干扰。另外,基于本申请实施例,WLAN控制器可以直接在每个AP的候选信道集合中为每个AP选择对应带宽的信道,无需调整其他AP的信道,提高了信道分配的效率。In this embodiment of the present application, the WLAN controller determines a candidate channel set for each AP, and each candidate channel set includes channels with different bandwidths. For a specific bandwidth, the channels corresponding to the bandwidth of each AP are as different as possible. Even if some APs have the same channel corresponding to the same bandwidth because the number of available channels is limited, when the bandwidth decreases, the WLAN controller selects different sub-channels in the same channel for these APs respectively. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent. Therefore, regardless of whether the bandwidth of each AP is the same or different, the WLAN controller can directly select a channel from the candidate channel set of each AP and send it to the AP, and the channels received by each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible. In addition, based on the embodiment of the present application, the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP without adjusting channels of other APs, which improves the efficiency of channel allocation.
在图2所示实施例提供的每种候选信道集合包括两种带宽的信道的基础上,本申请实施例还提供一种信道分配方法。该实施例中每种候选信道集合包括至少三种带宽的信道。该方法可以应用于WLAN控制器,包括步骤401,具体如下:On the basis that each candidate channel set provided by the embodiment shown in FIG. 2 includes channels of two bandwidths, this embodiment of the present application further provides a channel allocation method. Each candidate channel set in this embodiment includes channels with at least three bandwidths. The method can be applied to a WLAN controller, including step 401, specifically as follows:
401、向第一AP,第二AP,第三AP和第四AP发送信道标识。其中,向该第一AP发送的信道标识为第一候选信道集合中的至少一个信道的标识。向该第二AP发送的信道标识为第二候选信道集合中的至少一个信道的标识。向该第三AP发送的信道标识为第三候选信道集合中的至少一个信道的标识。向该第四AP发送的信道标识为第四候选信道集合中的至少一个信道的标识。该第一候选信道集合包括第一信道和第二信道。该第二候选信道集合包括第三信道和第四信道。该第三候选信道集合包括第五信道和第六信道。该第四候选信道集合包括该第一信道和第七信道。该第一信道的带宽、该第三信道的带宽和该第五信道的带宽均为第一带宽。该第二信道的带宽、该第四信道的带宽、该第六信道的带宽和该第七信道的带宽均为第二带宽。该第一带宽大于该第二带宽。该第二信道和该第七信道是该第一信道中的不同子信道。该第四信道是该第三信道的子信道,该第六信道是该第五信道的子信道。该第一候选信道集合还包括第八信道,该第二候选信道集合还包括第九信道,该第三候选信道集合还包括第十信道,该第四候选信道集合还包括第十一信道。其中,该第八信道的带宽、该第九信道的带宽、该第十信道的带宽和该第十一信道的带宽均为第三带宽。该第二带宽大于该第三带宽。该第八信道、该第九信道、该第十信道和该第十一信道分别为该第二信道、该第四信道、该第六信道和该第七信道的子信道。401. Send a channel identifier to the first AP, the second AP, the third AP, and the fourth AP. Wherein, the channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set. The channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set. The channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set. The channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set. The first set of candidate channels includes a first channel and a second channel. The second set of candidate channels includes a third channel and a fourth channel. The third set of candidate channels includes a fifth channel and a sixth channel. The fourth candidate channel set includes the first channel and the seventh channel. The bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth. The bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth. The first bandwidth is greater than the second bandwidth. The second channel and the seventh channel are different sub-channels in the first channel. The fourth channel is a sub-channel of the third channel, and the sixth channel is a sub-channel of the fifth channel. The first set of candidate channels further includes an eighth channel, the second set of candidate channels further includes a ninth channel, the third set of candidate channels further includes a tenth channel, and the fourth set of candidate channels further includes an eleventh channel. Wherein, the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth. The second bandwidth is greater than the third bandwidth. The eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
具体地,第一候选信道集合包括第一信道(对应第一带宽)、第二信道(对应第二带宽)和第八信道(对应第三带宽)。第二候选信道集合包括第三信道(对应第一带宽)、第四信道(对应第二带宽)和第九信道(对应第三带宽)。第三候选信道集合包括第五信道(对应第一带宽)、第六信道(对应第二带宽)和第十信道(对应第三带宽)。第四候选信道集合包括第一信道(对应第一带宽)、第七信道(对应第二带宽)和第十一信道(对应第三带宽)。Specifically, the first set of candidate channels includes a first channel (corresponding to the first bandwidth), a second channel (corresponding to the second bandwidth), and an eighth channel (corresponding to the third bandwidth). The second set of candidate channels includes a third channel (corresponding to the first bandwidth), a fourth channel (corresponding to the second bandwidth), and a ninth channel (corresponding to the third bandwidth). The third candidate channel set includes a fifth channel (corresponding to the first bandwidth), a sixth channel (corresponding to the second bandwidth) and a tenth channel (corresponding to the third bandwidth). The fourth candidate channel set includes the first channel (corresponding to the first bandwidth), the seventh channel (corresponding to the second bandwidth) and the eleventh channel (corresponding to the third bandwidth).
其中,第一带宽大于第二带宽,第二带宽大于第三带宽。第二信道和第七信道为第一信道中的不同子信道。第四信道为第三信道的子信道。第六信道为第五信道的子信道。第八信道、第九信道、第十信道和第十一信道分别为第二信道、第四信道、第六信道和第七信道的子信道。Wherein, the first bandwidth is greater than the second bandwidth, and the second bandwidth is greater than the third bandwidth. The second channel and the seventh channel are different subchannels in the first channel. The fourth channel is a sub-channel of the third channel. The sixth channel is a sub-channel of the fifth channel. The eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
例如,第一带宽可以是80M,第二带宽可以是40M,第三带宽可以是20M。For example, the first bandwidth may be 80M, the second bandwidth may be 40M, and the third bandwidth may be 20M.
具体地,如图4所示,第一候选信道集合中的第一信道可以是信道42,第二信道可以是信道38,第八信道可以是信道36。第二候选信道集合中的第三信道可以是信道58,第四信道可以是信道54,第九信道可以是信道52。第三候选信道集合中的第五信道可以是信道155,第六信道可以是信道151,第十信道可以是信道149。第四候选信道集合中的第一信道是信道42,第七信道是信道46,第十一信道可以是信道44。Specifically, as shown in FIG. 4 , the first channel in the first candidate channel set may be
从图4中可以看出,第二信道(信道38)和第七信道(信道46)为第一信道(信道42)的不同子信道。第四信道(信道54)为第三信道(信道58)的子信道,第六信道(信道151)为第五信道(信道155)的子信道,第八信道(信道36)、第九信道(信道52)、第十信道(信道149)和第十一信道(信道44)分别为第二信道(信道38)、第四信道(信道54)、第六信道(信道151)和第七信道(信道46)的子信道。It can be seen from FIG. 4 that the second channel (channel 38) and the seventh channel (channel 46) are different sub-channels of the first channel (channel 42). The fourth channel (channel 54) is a sub-channel of the third channel (channel 58), the sixth channel (channel 151) is a sub-channel of the fifth channel (channel 155), the eighth channel (channel 36), the ninth channel ( channel 52), the tenth channel (channel 149) and the eleventh channel (channel 44) are respectively the second channel (channel 38), the fourth channel (channel 54), the sixth channel (channel 151) and the seventh channel ( Channel 46) sub-channel.
基于前述实施例的介绍可知,带宽为80M的可用信道包括3个信道,带宽为40M的可用信道为带宽为80M的3个可用信道的子信道,带宽为20M的可用信道为带宽为40M的6个可用信道的子信道。因此存在三个完全不同的候选信道集合。例如,第一候选信道集合中的第一信道可以是信道42,第二信道可以是信道38,第八信道可以是信道36。第二候选信道集合中的第三信道可以是信道58,第四信道可以是信道54,第九信道可以是信道52。第三候选信道集合中的第五信道可以是信道155,第六信道可以是信道151,第十信道可以是信道149。当AP的数量超出三时,必然存在其他AP的候选信道集合中带宽为第一带宽的信道与上述三个候选信道集合中的至少一个候选信道集合中的带宽为第一带宽的信道相同。但,本申请实施例为两个第一带宽的信道相同的AP设置不同的带宽为第二带宽的信道,该两个带宽为第二带宽的不同信道为上述带宽为第一带宽的相同信道的不同子信道。当这两个AP均工作于第二带宽时,这两个AP的工作信道可以不同,尽量地避免AP间的信道干扰。相应地,这两个AP均工作于第三带宽时,这两个AP的工作信道必然不同,避免了AP间的信道干扰。例如,第四候选信道集合中的第一信道是信道42,第七信道是信道46,第十一信道是信道44。该第四候选信道集合中带宽为80M的信道与第一候选信道集合中带宽为80M的信道相同,而该第四候选信道集合中带宽为40M的信道与第一候选信道集合中带宽为40M的信道不同。即,本申请实施例中的任意两个候选信道集合中信道最大程度地不同,这使得基于各候选信道集合中的信道工作的各AP可以尽量避免AP间的信道同频干扰。Based on the introduction of the aforementioned embodiments, it can be seen that the available channels with a bandwidth of 80M include 3 channels, the available channels with a bandwidth of 40M are sub-channels of the 3 available channels with a bandwidth of 80M, and the available channels with a bandwidth of 20M are 6 channels with a bandwidth of 40M. sub-channels of available channels. There are therefore three completely different sets of candidate channels. For example, the first channel in the first set of candidate channels may be
本申请实施例中,每个候选信道集合包括三个带宽(例如,80M、40M和20M)的信道,WLAN控制器基于该多个候选信道集合分别向第一AP,第二AP,第三AP和第四AP发送信道标识,使得每个AP可以基于对应的候选信道集合更灵活地选择不同带宽的信道。本申请实施例中的任意两个候选信道集合中信道最大程度地不同,这使得基于各候选信道集合中的信道工作的各AP可以尽量避免AP间的信道同频干扰。另外,基于本申请实施例,WLAN控制器可以直接在每个AP的候选信道集合中为每个AP选择对应带宽的信道,无需调整其他AP的信道,提高了信道分配的效率。In the embodiment of the present application, each candidate channel set includes channels of three bandwidths (for example, 80M, 40M, and 20M), and the WLAN controller reports to the first AP, the second AP, and the third AP respectively based on the multiple candidate channel sets. and the fourth AP to send the channel identifier, so that each AP can more flexibly select channels with different bandwidths based on the corresponding candidate channel set. In the embodiment of the present application, the channels in any two candidate channel sets are different to the greatest extent, so that the APs working based on the channels in each candidate channel set can avoid co-channel interference between APs as much as possible. In addition, based on the embodiment of the present application, the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP without adjusting channels of other APs, which improves the efficiency of channel allocation.
图5示出了本申请实施例提供的一种信道分配示意图。图5包括三种带宽分别对应的信道分配策略。FIG. 5 shows a schematic diagram of channel allocation provided by an embodiment of the present application. FIG. 5 includes channel allocation strategies corresponding to three bandwidths.
80M带宽的可用信道包括:信道42、信道58和信道155。40M带宽的可用信道包括:信道38、信道46、信道54、信道62、信道151和信道159。其中,信道38和信道46为信道42的不同子信道。信道54和信道62为信道58的不同子信道。信道151和信道159为信 道155的不同子信道。Available channels with 80M bandwidth include:
20M带宽的可用信道包括:信道36、信道40、信道44、信道48、信道52、信道56、信道60、信道64、信道149、信道153、信道157、信道161和信道165。Available channels with 20M bandwidth include:
其中,信道36和信道40为信道38的不同子信道。信道44和信道48为信道46的不同子信道。信道52和信道56为信道54的不同子信道。信道60和信道64为信道62的不同子信道。信道149和信道153为信道151的不同子信道。信道157、信道161和信道165为信道159的不同子信道。Wherein,
基于图5可得到多个候选信道集合,每个候选信道集合中可分别包括三个带宽的信道。例如,候选信道集合a(信道42,信道38,信道36)、候选信道集合b(信道42,信道38,信道40)、候选信道集合c(信道42,信道46,信道44)、候选信道集合d(信道42,信道46,信道48)、候选信道集合e(信道58,信道54,信道52)、候选信道集合f(信道58,信道54,信道56)、候选信道集合g(信道58,信道62,信道60)、候选信道集合h(信道58,信道62,信道64)、候选信道集合i(信道155,信道151,信道149)、候选信道集合j(信道155,信道151,信道153)、候选信道集合k(信道155,信道159,信道157)、候选信道集合l(信道155,信道159,信道161)和候选信道集合m(信道155,信道159,信道165)。Multiple candidate channel sets can be obtained based on FIG. 5 , and each candidate channel set can include channels with three bandwidths. For example, candidate channel set a (
相应地,第一候选信道集合可以是候选信道集合a,第二候选信道集合可以是候选信道集合e,第三候选信道集合可以是候选信道集合i,第四候选信道集合可以是候选信道集合c或者候选信道集合d。Correspondingly, the first candidate channel set may be candidate channel set a, the second candidate channel set may be candidate channel set e, the third candidate channel set may be candidate channel set i, and the fourth candidate channel set may be candidate channel set c Or candidate channel set d.
再例如,第一候选信道集合可以是候选信道集合b,第二候选信道集合可以是候选信道集合f、g或者h,第三候选信道集合可以是候选信道集合j,k、l或者m,第四候选信道集合可以是候选信道集合c或者候选信道集合d。For another example, the first candidate channel set may be candidate channel set b, the second candidate channel set may be candidate channel set f, g or h, the third candidate channel set may be candidate channel set j, k, l or m, and the second candidate channel set may be candidate channel set j, k, l or m. The four candidate channel sets may be candidate channel set c or candidate channel set d.
当然,第一候选信道集合、第二候选信道集合、第三候选信道集合和第四候选信道集合还可以是其他组合,本方案对此不做具体限定。Of course, the first set of candidate channels, the second set of candidate channels, the third set of candidate channels, and the fourth set of candidate channels may also be in other combinations, which is not specifically limited in this solution.
在一种可能的实施方式中,第一AP、第二AP、第三AP和第四AP互为邻居AP,且第一AP与第二AP之间的距离和第一AP与第三AP之间的距离均小于第一AP和第四AP之间的距离。关于邻居AP的确定方法请参考下文其他实施例提供的确定邻居AP的方法。In a possible implementation manner, the first AP, the second AP, the third AP, and the fourth AP are neighbor APs, and the distance between the first AP and the second AP and the distance between the first AP and the third AP The distances between are smaller than the distance between the first AP and the fourth AP. For the method of determining a neighbor AP, please refer to the methods for determining a neighbor AP provided in other embodiments below.
例如,当AP102、AP103、AP104和AP105的带宽均为80M时,由于带宽为80M的可用信道只有三个,因此,必然存在两个AP的带宽为80M的信道相同。例如AP102、AP103和AP104的信道均不同,此时会存在AP105的信道和AP102、AP103和AP104中的一个AP的信道相同。为了尽量避免AP间的信道同频干扰,则将与AP105距离较远的AP102的带宽为80M的信道确定为AP105的带宽为80M的信道。由于该两个AP之间的距离相对较远(大于AP105与AP103的距离,大于AP105和AP104的距离),因此,将AP102和AP105的带宽为80M的信道设置为同一个信道造成的信道同频干扰要小于将AP105和AP103的带宽为80M的信道设置为同一个信道或者将AP105和AP104的带宽为80M的信道设置为同一个信道造成的信道同频干扰。即,该方案进一步降低了AP间的信道同频干扰。For example, when the bandwidths of AP102, AP103, AP104 and AP105 are all 80M, since there are only three available channels with the bandwidth of 80M, there must be two APs with the same channel with the bandwidth of 80M. For example, the channels of AP102, AP103, and AP104 are all different. In this case, the channel of AP105 is the same as the channel of one AP among AP102, AP103, and AP104. In order to avoid channel co-channel interference between APs as far as possible, the channel with a bandwidth of 80M of AP102 that is far away from AP105 is determined as the channel with a bandwidth of 80M of AP105. Since the distance between the two APs is relatively far (greater than the distance between AP105 and AP103, greater than the distance between AP105 and AP104), the channel with the bandwidth of 80M of AP102 and AP105 is set to the same channel to cause the channel to be the same frequency The interference is smaller than the co-channel interference caused by setting the 80M bandwidth channels of AP105 and AP103 as the same channel or setting the 80M bandwidth channels of AP105 and AP104 as the same channel. That is, this solution further reduces channel co-channel interference between APs.
当AP102、AP103、AP104和AP105的带宽为40M时,可用信道有六个,分别为上述80M的三个可用信道的子信道。其中,AP102、AP103和AP104的80M的信道均不同,因此,AP102、AP103和AP104的40M的信道也均不同。由于AP105的80M的信道和AP102的80M的信道相同,为了尽量避免AP间的信道同频干扰,AP105的40M的信道和AP102的40M的信道不同。AP105的40M的信道和AP102的40M的信道为AP102的80M的信道的 两个不同的子信道。这样,由于每个AP的40M的信道均不同,可以避免AP间的信道同频干扰。When the bandwidth of AP102, AP103, AP104, and AP105 is 40M, there are six available channels, which are the sub-channels of the above three available channels of 80M. Among them, the 80M channels of AP102, AP103 and AP104 are all different, therefore, the 40M channels of AP102, AP103 and AP104 are also different. Since the 80M channel of AP105 is the same as the 80M channel of AP102, in order to avoid co-channel interference between APs, the 40M channel of AP105 is different from the 40M channel of AP102. The 40M channel of AP105 and the 40M channel of AP102 are two different sub-channels of the 80M channel of AP102. In this way, since the 40M channels of each AP are different, co-channel interference between APs can be avoided.
其中,当有超过6个AP的带宽均为40M时,由于可用信道有六个,因此必然存在至少一个AP的信道与其他AP的信道相同。例如,当AP102、AP103、AP104、AP105、AP106(图中未示出)、AP107(图中未示出)和AP108(图中未示出)的带宽均为40M时,由于带宽为40M的可用信道只有六个,因此,必然存在两个AP的带宽为40M的信道相同。例如AP102、AP103、AP104、AP105、AP106和AP107的信道均不同,此时会存在AP108的信道和AP102、AP103、AP104、AP105、AP106和AP107中的一个AP的信道相同。为了尽量避免AP间的信道同频干扰,则将与AP108距离较远的AP102的带宽为40M的信道确定为AP108的带宽为40M的信道。由于该两个AP之间的距离相对较远(大于AP108和其他AP(AP103、AP104、AP105、AP106和AP107)的距离),因此,将AP108和AP102的带宽为40M的信道设置为同一个信道造成的信道同频干扰要小于将AP108和其他AP(AP103、AP104、AP105、AP106和AP107)的带宽为40M的信道设置为同一个信道造成的信道同频干扰。Among them, when there are more than 6 APs with a bandwidth of 40M, since there are six available channels, there must be at least one AP whose channel is the same as that of other APs. For example, when the bandwidths of AP102, AP103, AP104, AP105, AP106 (not shown in the figure), AP107 (not shown in the figure) and AP108 (not shown in the figure) are all 40M, since the available bandwidth is 40M There are only six channels, therefore, there must be two APs with the same channel of 40M bandwidth. For example, the channels of AP102, AP103, AP104, AP105, AP106, and AP107 are different. In this case, the channel of AP108 is the same as that of one of APs among AP102, AP103, AP104, AP105, AP106, and AP107. In order to avoid channel co-channel interference between APs as far as possible, the channel with a bandwidth of 40M of AP102 that is far away from AP108 is determined as the channel with a bandwidth of 40M of AP108. Since the distance between the two APs is relatively far (greater than the distance between AP108 and other APs (AP103, AP104, AP105, AP106, and AP107)), set the channel with a bandwidth of 40M of AP108 and AP102 to the same channel The channel co-channel interference caused is smaller than the channel co-channel interference caused by setting the channel with a bandwidth of 40M of AP108 and other APs (AP103, AP104, AP105, AP106 and AP107) as the same channel.
相应地,当有超过13个AP的带宽均为20M时,由于可用信道有十三个,因此必然存在至少一个AP的信道与其他AP的信道相同。通过将与该至少一个AP距离较远的AP的信道确定为该AP的信道,由于该两个AP之间的距离相对较远,因此该两个AP间的信道干扰较小。Correspondingly, when there are more than 13 APs with a bandwidth of 20M, since there are thirteen available channels, there must be at least one AP whose channel is the same as that of other APs. By determining the channel of the AP that is far away from the at least one AP as the channel of the AP, since the distance between the two APs is relatively long, the channel interference between the two APs is relatively small.
在一种可能的实现方式中,本方案还提供一种确定AP的邻居AP的方法。其中,多个AP中相邻AP是根据该多个AP的物理拓扑和路损拓扑确定的。该路损拓扑可以是基于探测扫描机制检测到的干扰信息获取的。该干扰信息可以为信号强度指示(received signal strength indication,RSSI)值、路径损耗(path loss,PL)值或信号传输时间等。任意两个AP间的干扰信息是设定这两个AP信道相同测量得到的,即作为发射端的AP以预设发射频率发射测量信号,作为接收端的AP在预设发射频率对应的接收频率范围内接收测量信号,并记录接收测量信号时的相关信息作为干扰信息,根据干扰信息可以获得这两个AP间的测量干扰值。In a possible implementation manner, this solution also provides a method for determining a neighbor AP of an AP. Among the multiple APs, the adjacent APs are determined according to the physical topology and the path loss topology of the multiple APs. The path loss topology may be acquired based on interference information detected by the detection scanning mechanism. The interference information may be a signal strength indication (received signal strength indication, RSSI) value, a path loss (path loss, PL) value, or a signal transmission time. The interference information between any two APs is obtained by setting the two AP channels to be the same, that is, the AP as the transmitting end transmits the measurement signal at the preset transmission frequency, and the AP as the receiving end is within the receiving frequency range corresponding to the preset transmission frequency The measurement signal is received, and relevant information when the measurement signal is received is recorded as interference information, and the measurement interference value between the two APs can be obtained according to the interference information.
在一些实施方式中,干扰信息为RSSI值。将所有AP中的一个AP作为发射端发射测量信号,其他AP均作为接收端接收测量信号,每一接收端AP记录接收该测量信号对应的RSSI值,可得到发射端AP与每一接收端AP之间的RSSI值。遍历所有AP中的每一AP作为发射端,最终可以得到系统内所有AP中任意两个AP之间的RSSI值。WLAN控制器接收来自AP发送的RSSI值后,根据RSSI值获取两个AP之间的测量干扰值。In some embodiments, the interference information is an RSSI value. One of all APs is used as the transmitter to transmit the measurement signal, and the other APs are used as the receiver to receive the measurement signal. Each receiver AP records the RSSI value corresponding to the measurement signal received, and the transmitter AP and each receiver AP can be obtained. RSSI value between. Traverse each AP in all APs as the transmitter, and finally get the RSSI value between any two APs in all APs in the system. After receiving the RSSI value sent from the AP, the WLAN controller acquires the measured interference value between the two APs according to the RSSI value.
在另一些实施方式中,干扰信息为PL值。遍历所有AP中的每一AP,将所有AP中的一个AP作为发射端发射测量信号,其他AP均作为接收端接收测量信号,每一接收端AP记录接收该测量信号对应的PL值,并上报至WLAN控制器。某一接收端AP与发射端AP间的PL值即为这两个AP间的干扰信息。WLAN控制器根据PL值估算两个AP之间的测量干扰值。In some other implementation manners, the interference information is a PL value. Traverse each of all APs, use one of all APs as the transmitter to transmit the measurement signal, and the other APs as the receiver to receive the measurement signal, and each receiver AP records the PL value corresponding to the measurement signal received, and reports it to the WLAN controller. The PL value between a receiving AP and a transmitting AP is the interference information between these two APs. The WLAN controller estimates the measured interference value between the two APs based on the PL value.
在又一些实施方式中,干扰信息为信号传输时间,例如为信号的接收时间和发射时间的差值。遍历所有AP中的每一AP,将所有AP中的一个AP作为发射端发射测量信号,发射端AP记录发射时间,其他AP均作为接收端接收测量信号,每一接收端记录接收该测量信号对应的接收时间。发射端AP将发射时间发送至WLAN控制器,接收端AP将接收时间发送至WLAN控制器,WLAN控制器将接收时间减去发射时间可获得测量信号在两个AP之间传输的传输时间。测量信号以光速传输,传输时间乘以光速为两个AP之间的距离。对于未接 收到测量信号而没有获得传输时间的接收端AP,WLAN控制器可以将二者间的测量干扰值设为0。WLAN控制器获得两两AP间的距离后,利用距离估算两个AP间的测量干扰值。In still some implementation manners, the interference information is signal transmission time, for example, a difference between signal reception time and transmission time. Traverse each of all APs, use one of all APs as the transmitter to transmit the measurement signal, the transmitter AP records the transmission time, and the other APs receive the measurement signal as the receiver, and each receiver records the corresponding time of receiving the measurement signal. receiving time. The AP at the transmitting end sends the transmitting time to the WLAN controller, the AP at the receiving end sends the receiving time to the WLAN controller, and the WLAN controller subtracts the transmitting time from the receiving time to obtain the transmission time of the measured signal transmitted between the two APs. The measurement signal is transmitted at the speed of light, and the transmission time multiplied by the speed of light is the distance between two APs. For the receiving AP that has not received the measurement signal and has not obtained the transmission time, the WLAN controller can set the measurement interference value between the two to 0. After obtaining the distance between two APs, the WLAN controller uses the distance to estimate the measured interference value between the two APs.
该多个AP的物理拓扑是根据该多个AP的物理位置信息确定的。The physical topology of the multiple APs is determined according to the physical location information of the multiple APs.
在一种可能的实施方式中,多个AP的物理拓扑可以是WLAN控制器根据多个AP的地理位置信息确定的。可选的,AP的地理位置信息可以为测量人员测量得到的AP的经纬度信息或者在预设坐标系下的X-Y-Z坐标信息。预设坐标系可以是以多个AP所在区域的任一点为原点的坐标系。In a possible implementation manner, the physical topology of the multiple APs may be determined by the WLAN controller according to the geographic location information of the multiple APs. Optionally, the geographical location information of the AP may be the longitude and latitude information of the AP measured by the surveyor or the X-Y-Z coordinate information in a preset coordinate system. The preset coordinate system may be a coordinate system with an origin at any point in an area where multiple APs are located.
在另一个示例中,多个AP的物理拓扑还可以是WLAN控制器根据网规文件得到的。网规文件中包括AP的坐标信息和AP信息。WLAN控制器基于网规文件通过比例尺换算可得到多个AP的物理拓扑。In another example, the physical topology of multiple APs may also be obtained by the WLAN controller according to the network planning file. The network planning file includes AP coordinate information and AP information. The WLAN controller can obtain the physical topology of multiple APs through scale conversion based on the network planning file.
在另一个示例中,多个AP的物理拓扑还可以是WLAN控制器根据包含多个AP的坐标信息的数字地图确定的。包含多个AP的数字地图可以通过以下方式得到:In another example, the physical topology of multiple APs may also be determined by the WLAN controller according to a digital map containing coordinate information of multiple APs. A digital map containing multiple APs can be obtained by:
数字地图构建装置选定需要进行信道调优的拓扑区域,并将该拓扑区域划分到具体建筑物,比如写字楼,公寓住宅和食堂等。数字地图构建装置筛选AP,并根据AP在建筑物中实际位置信息在拓扑区域中进行拖拽。数字地图构建装置在建筑物界面中导入点位图作为背景图。其中,点位图为尺寸S1*S2的图片,S1和S2分别为AP坐标的X和Y的最大值。数字地图构建装置通过自动布放方式将AP标识放置到点位图中,或者是人工将AP标识放置到点位图中。最后,数字地图构建装置将AP的拓扑区域规划信息以xlsx文件的形式导出,获取AP对应的X和Y轴坐标,该坐标的单位是相对坐标原点的像素值。比例尺换算过程中,根据CAD图标尺,例如已知点位图两个相邻像素点之间的长度等于例如2.6米,数字地图构建装置将比例尺设置为1:2.6米,则可获得尺寸与真实物理世界相同的拓扑;例如已知建筑物的层高为3.8米,数字地图构建装置在xlsx文件添加对应的Z轴信息作为高度信息,就可以得到AP的数字地图。其中,WLAN控制器根据AP的X-Y-Z坐标可以得到AP的物理拓扑。The digital map construction device selects a topological area that requires channel tuning, and divides the topological area into specific buildings, such as office buildings, apartment houses, and canteens. The digital map construction device screens the APs, and drags them in the topological area according to the actual location information of the APs in the building. The digital map construction device imports the bitmap into the building interface as the background image. Wherein, the bitmap is a picture of size S1*S2, and S1 and S2 are the maximum values of X and Y of the AP coordinates, respectively. The digital map construction device places the AP logo into the bitmap through automatic placement, or manually places the AP logo into the bitmap. Finally, the digital map construction device exports the topological area planning information of the AP in the form of an xlsx file, and obtains the X and Y axis coordinates corresponding to the AP, and the unit of the coordinates is the pixel value relative to the origin of the coordinates. In the scale conversion process, according to the CAD graph scale, for example, the length between two adjacent pixels of the known point map is equal to, for example, 2.6 meters, and the digital map construction device sets the scale to 1:2.6 meters, then the size and real The topology of the physical world is the same; for example, if the floor height of a known building is 3.8 meters, the digital map construction device can add the corresponding Z-axis information as the height information to the xlsx file, and then the digital map of the AP can be obtained. Wherein, the WLAN controller can obtain the physical topology of the AP according to the X-Y-Z coordinates of the AP.
其中,数字地图构建装置可以为WLAN控制器,也可以为服务器等计算设备。若数字地图构建装置为服务器,WLAN控制器从服务器中获取数字地图,并根据数字地图得到多个AP的物理拓扑。Wherein, the digital map construction device may be a WLAN controller, or a computing device such as a server. If the digital map construction device is a server, the WLAN controller obtains the digital map from the server, and obtains the physical topology of multiple APs according to the digital map.
WLAN控制器根据多个AP的路损拓扑可确定出每个AP的邻居的个数。若某个AP的邻居个数大于预设邻居数,WLAN控制器根据物理拓扑调整AP间的度量。影响该AP与邻居AP之间的同频干扰的因素包括该AP与邻居AP之间物理距离及路径损耗,但物理距离及路径损耗是两个不同的维度,因此需要将两个维度统一到一个维度以使得WLAN控制器可以根据物理拓扑调整AP间的度量。例如,WLAN控制器利用点积和softmax操作对该AP与其邻居AP之间的距离和该AP与邻居AP之间的路径损耗进行处理,以得到该AP与其邻居AP之间的度量,进而确定调整度量后的该AP的邻居AP。Softmax操作可以看成归一化处理,目的是为了降低数据量。若某个AP的邻居数不大于预设邻居个数,则根据该AP的物理拓扑来确定该AP的邻居AP。The WLAN controller can determine the number of neighbors of each AP according to the path loss topology of multiple APs. If the number of neighbors of a certain AP is greater than the preset number of neighbors, the WLAN controller adjusts the metric between APs according to the physical topology. Factors that affect the co-channel interference between the AP and neighboring APs include the physical distance and path loss between the AP and neighboring APs, but the physical distance and path loss are two different dimensions, so it is necessary to unify the two dimensions into one dimension so that the WLAN controller can adjust the metrics between APs according to the physical topology. For example, the WLAN controller uses the dot product and softmax operations to process the distance between the AP and its neighbor APs and the path loss between the AP and its neighbor APs to obtain the metric between the AP and its neighbor APs, and then determine the adjustment Neighboring APs of this AP after measurement. Softmax operation can be regarded as normalization processing, the purpose is to reduce the amount of data. If the number of neighbors of an AP is not greater than the preset number of neighbors, the AP's neighbor APs are determined according to the physical topology of the AP.
该方案中,基于AP的物理拓扑和路损拓扑来综合评估AP的邻居AP。AP间的物理拓扑由AP间的相互物理位置关系确定。AP的物理位置一般不会变动。因此,AP间的物理拓扑更稳定。另外,路损拓扑中的干扰值受很多因素影响,波动大,不能准确地反映AP间的邻居关系。因此,相较于现有技术中仅根据路损拓扑来评估AP的邻居AP,本方案基于AP间的物理拓扑确定AP间的邻居关系,使得确定出的邻居关系更准确。In this solution, the AP's neighbor APs are comprehensively evaluated based on the AP's physical topology and path loss topology. The physical topology between APs is determined by the mutual physical location relationship between the APs. The physical location of the AP generally does not change. Therefore, the physical topology among APs is more stable. In addition, the interference value in the path loss topology is affected by many factors, fluctuates greatly, and cannot accurately reflect the neighbor relationship between APs. Therefore, compared with evaluating neighbor APs of APs only based on the path loss topology in the prior art, this solution determines the neighbor relationship between APs based on the physical topology between APs, so that the determined neighbor relationship is more accurate.
该预设邻居数与AP的可用信道数有关。例如,当AP的带宽为80M时,由于可用信道只有三个,因此该预设邻居数是2;当AP的带宽为40M时,由于可用信道只有六个,因此该预设邻居数是5;相应地,当AP的带宽为20M时,由于可用信道只有十三个,因此该预设邻居数是12等。The preset number of neighbors is related to the number of available channels of the AP. For example, when the bandwidth of the AP is 80M, since there are only three available channels, the preset number of neighbors is 2; when the bandwidth of the AP is 40M, since there are only six available channels, the preset number of neighbors is 5; Correspondingly, when the bandwidth of the AP is 20M, since there are only thirteen available channels, the preset number of neighbors is 12 and so on.
例如,首先WLAN控制器可根据该多个AP的三维坐标得到任意两AP之间的欧式距离矩阵A。如表1a示出了部分AP之间的物理距离。For example, first, the WLAN controller can obtain the Euclidean distance matrix A between any two APs according to the three-dimensional coordinates of the multiple APs. Table 1a shows the physical distances between some APs.
表1aTable 1a
然后为了减小数据量,WLAN控制器将上述欧式距离矩阵A中的元素以及任意两AP之间的路径损耗分别根据电磁波传播特性进行转换。如公式1所示:Then, in order to reduce the amount of data, the WLAN controller converts the elements in the above-mentioned Euclidean distance matrix A and the path loss between any two APs according to the electromagnetic wave propagation characteristics. As shown in formula 1:
U *=Klg(U); U * = Klg(U);
其中,为AP间的物理距离,U *为AP间的物理距离转换值。 为AP间的路径损耗值, 为AP间的路径损耗转换值。K为正整数,如10,20,40等。AP之间的物理距离经转换得到的结果可如表1b所示: Wherein, is the physical distance between APs, and U * is the conversion value of the physical distance between APs. is the path loss value between APs, is the path loss conversion value between APs. K is a positive integer, such as 10, 20, 40, etc. The results obtained by converting the physical distance between APs can be shown in Table 1b:
表1bTable 1b
然后,WLAN控制器基于多个AP的路损拓扑确定的每个AP的邻居数,来选择合适的拓扑度量。如公式2所示:Then, the WLAN controller selects an appropriate topology metric based on the number of neighbors of each AP determined based on the path loss topology of multiple APs. As shown in formula 2:
其中,当AP在路损拓扑上的邻居AP的个数不小于预设值,则采用 表示该AP与其在物理拓扑上相邻的AP之间的度量。当AP在路损拓扑上的邻居AP的个数小于预设值,则采用 表示该AP与其在物理拓扑上相邻的AP之 间的度量。 Among them, when the number of neighbor APs of the AP on the path loss topology is not less than the preset value, the Indicates the metric between this AP and its neighboring APs in the physical topology. When the number of neighbor APs of the AP on the path loss topology is less than the preset value, the Indicates the metric between this AP and its neighboring APs in the physical topology.
基于上述方式,WLAN控制器可得到每个AP与其在物理拓扑上相邻的AP之间的度量 本实施例以AP在路损拓扑上邻居AP的个数小于预设值为例,如表1c示意出了根据AP间的物理距离得到的AP间的度量。 Based on the above method, the WLAN controller can obtain the metric between each AP and its adjacent APs in the physical topology In this embodiment, the number of neighboring APs in the path loss topology of an AP is less than a preset value as an example. Table 1c shows the metrics between APs obtained according to the physical distance between APs.
表1cTable 1c
WLAN控制器对AP与邻居AP之间的度量值 按照从小到大的顺序进行排序,然后根据可分配信道的数量,选择度量值排序靠前的T个AP作为该AP的新的邻居AP。例如,对于80M带宽来说,其可用信道有3个,则从上述每个AP的度量值 中确定出每行AP中度量值最小的两个AP。为了降低数据量,WLAN控制器将AP与新的邻居AP之间的度量值保留,将其他度量值均记为0,如表1d所示: Metrics between APs and neighboring APs by the WLAN controller Sorting is performed in descending order, and then according to the number of channels that can be allocated, T APs with the highest metric value are selected as the new neighbor APs of this AP. For example, for 80M bandwidth, there are 3 available channels, then from the measurement value of each AP above Determine the two APs with the smallest metric value in each row of APs. In order to reduce the amount of data, the WLAN controller keeps the metric value between the AP and the new neighbor AP, and records other metric values as 0, as shown in Table 1d:
表1dTable 1d
为了进一步降低数据量,WLAN控制器将AP与新的邻居AP之间的度量值记为1,以得到更新后的矩阵,如表1e所示:In order to further reduce the amount of data, the WLAN controller records the metric value between the AP and the new neighbor AP as 1 to obtain the updated matrix, as shown in Table 1e:
表1eTable 1e
由于邻居关系是相互的,比如AP3为AP1的新的邻居AP,可以理解AP1也为AP3的新的邻居AP,而更新后的矩阵并未体现这种关系,WLAN控制器为了体现这种关系,对更新后的矩阵进行对角化处理以构建对角化矩阵。例如,通过对对角位置不是对称关系的矩阵元素进行更新,进而得到对角化矩阵。其中,该对角化矩阵表征各AP的邻居AP,如表1f所示。Since the neighbor relationship is mutual, for example, AP3 is the new neighbor AP of AP1, it can be understood that AP1 is also the new neighbor AP of AP3, and the updated matrix does not reflect this relationship. In order to reflect this relationship, the WLAN controller, Diagonalize the updated matrix to construct a diagonalized matrix. For example, a diagonalized matrix is obtained by updating matrix elements whose diagonal positions are not symmetrical. Wherein, the diagonalization matrix represents the neighbor APs of each AP, as shown in Table 1f.
表1fTable 1f
基于上述方式,可确定各个AP的新的邻居AP。Based on the foregoing manner, a new neighbor AP of each AP may be determined.
在一种可能的实现方式中,在得到上述相邻AP关系之后,可获取邻居数最多的AP,并将第一带宽的第一信道确定为邻居数最多的AP的信道。基于相邻AP的信道不同,可确定邻居数最多的AP的各邻居AP的第一带宽的信道。In a possible implementation manner, after obtaining the above-mentioned neighboring AP relationship, the AP with the largest number of neighbors may be obtained, and the first channel with the first bandwidth is determined as the channel of the AP with the largest number of neighbors. Based on the different channels of neighboring APs, the channel of the first bandwidth of each neighboring AP of the AP with the largest number of neighbors may be determined.
进而,再确定多个AP中除上述邻居数最多的AP、邻居数最多的AP的各邻居AP外的其他AP的第一带宽的信道。Furthermore, the channel of the first bandwidth of other APs among the plurality of APs except the AP with the largest number of neighbors and the neighbor APs of the AP with the largest number of neighbors is determined again.
在确定了各AP的第一带宽的信道后,再确定各AP的第二带宽的信道。其中,基于各AP的第一带宽的信道均对应多个不同的子信道,进而从多个不同的子信道中选择一个来确定各AP的第二带宽的信道。其中,对于第一带宽的信道相同的AP,该AP的第二带宽的信道与至少一个邻居AP的对应于该第二带宽的信道不同。After the channels of the first bandwidth of each AP are determined, the channels of the second bandwidth of each AP are determined. Wherein, based on the channels of the first bandwidth of each AP corresponding to multiple different sub-channels, one of the multiple different sub-channels is selected to determine the channel of the second bandwidth of each AP. Wherein, for APs with the same channel of the first bandwidth, the channel of the second bandwidth of the AP is different from the channel corresponding to the second bandwidth of at least one neighboring AP.
与上述确定各AP的第二带宽的信道的方式相同,相应地,可确定各AP的第三带宽的信道。基于各AP的第二带宽的信道对应多个不同的子信道,进而从多个不同的子信道中选择一个来确定各AP的第三带宽的信道。其中,对于第二带宽的信道相同的AP,该AP的第三带宽的信道与至少一个邻居AP的对应于该第三带宽的信道不同。In the same manner as the foregoing manner of determining the channel of the second bandwidth of each AP, correspondingly, the channel of the third bandwidth of each AP may be determined. Based on the channel of the second bandwidth of each AP corresponding to multiple different sub-channels, one of the multiple different sub-channels is selected to determine the channel of the third bandwidth of each AP. Wherein, for APs with the same channel of the second bandwidth, the channel of the third bandwidth of the AP is different from the channel corresponding to the third bandwidth of at least one neighboring AP.
在上述实施例的基础上,本申请实施例还提供一种确定每个AP的候选信道集合的方法。该方法可包括:On the basis of the foregoing embodiments, the embodiments of the present application further provide a method for determining a candidate channel set for each AP. The method can include:
确定N个AP的候选信道集合中的带宽为第一带宽的信道,N为大于等于4的整数;Determining a channel whose bandwidth is the first bandwidth in the candidate channel set of N APs, where N is an integer greater than or equal to 4;
确定M个AP,M个AP的候选信道集合均包括一个相同信道,所述相同信道的带宽为所述第一带宽,所述相同信道包括多个子信道,所述多个子信道中的每个子信道的带宽为所述第二带宽;Determining M APs, the candidate channel sets of the M APs all include a same channel, the bandwidth of the same channel is the first bandwidth, the same channel includes multiple sub-channels, and each sub-channel in the multiple sub-channels The bandwidth is the second bandwidth;
将所述多个子信道中的一个子信道作为所述M个AP中的一个AP的候选信道集合中的对应于所述第二带宽的信道,其中,所述M个AP中的任一个AP的候选信道集合中的对应于所述第二带宽的信道与至少一个邻居AP的候选信道集合中的对应于所述第二带宽的信道不同,所述M个AP包括所述至少一个邻居AP。using one of the plurality of subchannels as a channel corresponding to the second bandwidth in the set of candidate channels of one of the M APs, wherein the channel of any one of the M APs A channel corresponding to the second bandwidth in the set of candidate channels is different from a channel corresponding to the second bandwidth in a set of candidate channels of at least one neighboring AP, the M APs including the at least one neighboring AP.
也就是说,WLAN控制器首先确定每个AP对应第一带宽的信道,然后WLAN控制器确定对应第一带宽的相同信道的AP,从该相同信道包括的多个子信道中分别选择子信道作为这 些带宽为第一带宽的信道相同的AP的带宽为第二带宽的信道。其中,这些AP中的任一个AP的带宽为第二带宽的信道与至少一个邻居AP的带宽为第二带宽的信道不同。基于此,WLAN控制器尽量保证每个AP的候选信道集合包括的信道不同。That is to say, the WLAN controller first determines the channel of each AP corresponding to the first bandwidth, then the WLAN controller determines the APs of the same channel corresponding to the first bandwidth, and selects sub-channels from the multiple sub-channels included in the same channel as these sub-channels respectively. The channel with the same bandwidth as the channel with the first bandwidth has the same bandwidth as the channel with the second bandwidth. Wherein, the channel of any one of these APs whose bandwidth is the second bandwidth is different from the channel of at least one neighboring AP whose bandwidth is the second bandwidth. Based on this, the WLAN controller tries to ensure that the candidate channel sets of each AP include different channels.
针对带宽为第一带宽的信道不同的AP,WLAN控制器分别从这些AP的带宽为第一带宽的信道的子信道中选择一个子信道作为对应AP的带宽为第二带宽的信道。这些AP的带宽为第一带宽的信道不同,而这些AP的带宽为第二带宽的信道为对应AP的带宽为第一带宽的子信道,所以,这些AP的带宽为第二带宽的信道也必然不同。基于此,WLAN控制器保证这些AP中的每个AP的候选信道集合包括的信道不同。For APs whose bandwidths are different from channels with the first bandwidth, the WLAN controller respectively selects a subchannel from the subchannels of the channels whose bandwidths of these APs are the first bandwidth as a channel corresponding to the AP whose bandwidth is the second bandwidth. The channels with the bandwidth of these APs having the first bandwidth are different, and the channels with the bandwidth of these APs being the second bandwidth are sub-channels corresponding to the bandwidth of the APs being the first bandwidth, so the channels with the bandwidth of these APs being the second bandwidth must also be different. Based on this, the WLAN controller ensures that the candidate channel set of each of these APs includes different channels.
类似地,基于上述相同的方法,WLAN控制器可以为每个AP设置带宽为第三带宽的信道。针对带宽为第二带宽的信道相同的AP,WLAN控制器从该相同信道包括的多个子信道中分别选择子信道作为这些带宽为第二带宽的信道相同的AP的带宽为第三带宽的信道。其中,这些AP中的任一个AP的带宽为第三带宽的信道与至少一个邻居AP的带宽为第三带宽的信道不同。基于此,WLAN控制器尽量保证每个AP的候选信道集合包括的信道不同。针对带宽为第二带宽的信道不同的AP,WLAN控制器分别从这些AP的带宽为第二带宽的信道的子信道中选择一个子信道作为对应AP的带宽为第三带宽的信道。这些AP的带宽为第二带宽的信道不同,而这些AP的带宽为第三带宽的信道为对应AP的带宽为第二带宽的子信道,所以,这些AP的带宽为第三带宽的信道也必然不同。基于此,WLAN控制器尽量保证这些AP中的每个AP的候选信道集合包括的信道不同。Similarly, based on the same method above, the WLAN controller can set a channel with a bandwidth of the third bandwidth for each AP. For APs with the same channel bandwidth as the second bandwidth, the WLAN controller selects sub-channels from the multiple sub-channels included in the same channel as channels with the third bandwidth of the APs with the same bandwidth as the channel of the second bandwidth. Wherein, the channel with the third bandwidth of any one of these APs is different from the channel with the third bandwidth of at least one neighboring AP. Based on this, the WLAN controller tries to ensure that the candidate channel sets of each AP include different channels. For APs whose bandwidths are different from channels with the second bandwidth, the WLAN controller respectively selects a subchannel from the subchannels of the channels whose bandwidths of these APs are the second bandwidth as a channel corresponding to the AP whose bandwidth is the third bandwidth. The bandwidth of these APs is different from the channel with the second bandwidth, and the channel with the bandwidth of the third bandwidth of these APs is a sub-channel corresponding to the bandwidth of the AP with the second bandwidth, so the channels with the bandwidth of these APs are also the third bandwidth. different. Based on this, the WLAN controller tries to ensure that the candidate channel set of each of these APs includes different channels.
由上述介绍可以看出,针对一个特定的带宽,各个AP对应于该带宽的的信道尽可能的不同。即使因为可用信道的数量受限,导致某些AP对应于同一个带宽的信道相同,当带宽降低时,WLAN控制器分别为这些AP选择该相同信道中的不同子信道。这使得每个AP的候选信道集合都最大程度的与其他AP的候选信道集合不同。因此,不论各AP的带宽是相同还是不相同,WLAN控制器均可以直接从每个AP的候选信道集合中选择信道并发送给AP,各AP接收到的信道都会最大程度的不同。因此,该方案可以尽量地避免AP间的信道同频干扰。It can be seen from the above introduction that for a specific bandwidth, the channels corresponding to the bandwidth of each AP are as different as possible. Even if some APs have the same channel corresponding to the same bandwidth because the number of available channels is limited, when the bandwidth decreases, the WLAN controller selects different sub-channels in the same channel for these APs respectively. This makes the candidate channel set of each AP different from the candidate channel sets of other APs to the greatest extent. Therefore, regardless of whether the bandwidth of each AP is the same or different, the WLAN controller can directly select a channel from the candidate channel set of each AP and send it to the AP, and the channels received by each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible.
在一种可能的实施方式中,图6a是本申请实施例提供的一种信道确定方法的示意图。图6a中包括多个节点(A、B、C、D、E、F、G、H、I和J)以及各个节点之间的边。该各个节点分别表示各个AP。两个节点间的边表示该两个节点所表示的两个AP具有邻居关系。该边的长短表示两个邻居AP之间的距离。例如,第一带宽为80M、第二带宽为40M、第三带宽为20M。该实施例提供一种基于染色机制进行第一带宽(如80M)的信道确定的方式。基于80M的可用信道有三个,因此WLAN控制器采用三种颜色(如红色、绿色和蓝色)来对各节点进行染色,以确定各节点的信道。例如,红色表示一个节点的带宽为80M的信道为信道42,绿色表示一个节点的带宽为80M的信道为信道58,蓝色表示一个节点的带宽为80M的信道为信道155。首先,基于前述实施例得到的各AP的邻居AP可确定邻居数最多的AP(如图6a所示节点H)。WLAN控制器首先对邻居数最多的节点H从三个信道随机选择一个信道进行染色,例如将该节点H染成红色(图6a中以填充斜线示意红色,即信道42)。然后,对该染成红色的节点H的邻居节点(A、I、J、E和G)进行染色,如图6b,该邻居节点的颜色与红色不同,其可以是绿色(例如,表示一个节点的带宽为80M的信道为信道58),或者也可以是蓝色(表示一个节点的带宽为80M的信道为信道155),图6b中以填充黑色示意绿色(即信道58),以填充灰色示意蓝色(即信道155)。接着对该邻居节点的邻居节点进行 染色,如图6c所示。以此类推,直到所有节点均染了色,即所有AP均确定了对应第一带宽的信道。In a possible implementation manner, FIG. 6a is a schematic diagram of a method for determining a channel provided in an embodiment of the present application. Figure 6a includes a plurality of nodes (A, B, C, D, E, F, G, H, I, and J) and edges between each node. The respective nodes represent respective APs. An edge between two nodes indicates that the two APs represented by the two nodes have a neighbor relationship. The length of the side indicates the distance between two neighboring APs. For example, the first bandwidth is 80M, the second bandwidth is 40M, and the third bandwidth is 20M. This embodiment provides a manner of determining the channel of the first bandwidth (such as 80M) based on the coloring mechanism. There are three available channels based on 80M, so the WLAN controller uses three colors (such as red, green and blue) to color each node to determine the channel of each node. For example, red indicates that the channel of a node with a bandwidth of 80M is
具体地,以节点H为例,节点H先染红色,则节点H周围邻居节点的染色集合={绿、蓝},不再包括红色,以此类推直到遍历所有节点。图染色过程可能存在无法染色的盲(Hole)节点。Hole节点即其周围邻居节点包括所有颜色。如图7a所示,节点O的邻居节点L、M和N分别为红色、蓝色和绿色,因此无法满足Hole节点O和周围邻居节点集合能够染不同颜色的条件。Specifically, taking node H as an example, node H is dyed red first, then the coloring set of neighboring nodes around node H = {green, blue}, red is no longer included, and so on until all nodes are traversed. There may be blind (Hole) nodes that cannot be dyed in the graph dyeing process. The Hole node, that is, its surrounding neighbor nodes include all colors. As shown in Figure 7a, the neighbor nodes L, M, and N of node O are red, blue, and green, respectively, so the condition that Hole node O and the set of surrounding neighbor nodes can be dyed different colors cannot be satisfied.
在一种可能的实施方式中,Hole节点染色准则可通过比较与Hole节点距离最近的邻居节点{N 红,N 蓝,N 绿},并选取3个节点中距离Hole节点最远的节点的颜色作为Hole节点染色颜色。 In a possible implementation, the Hole node coloring criterion can be compared with the nearest neighbor node {N red , N blue , N green } to the Hole node, and select the color of the node farthest from the Hole node among the three nodes Dye color as a Hole node.
如图7b所示,相较于节点M与Hole节点O的距离以及节点L与Hole节点O的距离,节点N与Hole节点O的距离最远,因此将节点O的颜色染成节点N的颜色,即将节点N的信道确定为节点O的信道。As shown in Figure 7b, compared to the distance between node M and Hole node O and the distance between node L and Hole node O, the distance between node N and Hole node O is the farthest, so the color of node O is dyed to the color of node N , that is, determine the channel of node N as the channel of node O.
在确定了每个AP的带宽为80M的信道后,可将上述80M带宽的三个可用信道分别拆分为带宽为40M的两个子信道。After the channel with a bandwidth of 80M for each AP is determined, the above three available channels with a bandwidth of 80M can be divided into two sub-channels with a bandwidth of 40M respectively.
如图5所示,对于带宽为80M的信道42,其包括2个不同的带宽为40M的子信道:信道38和信道46;对于带宽为80M的信道58,其包括2个不同的带宽为40M的子信道:信道54和信道62;对于带宽为80M的信道155,其包括2个不同的带宽为40M的子信道:As shown in Figure 5, for a
信道151和信道159。因此,若AP1的带宽为80M的信道为信道42,则其带宽为40M的信道可以为信道38,也可以是信道46。若AP1的带宽为80M的信道为信道58,则其带宽为40M的信道为信道54,也可以是信道62。若AP1的带宽为80M的信道为信道155,则其带宽为40M的信道为信道151,也可以是信道159。
进一步地,其中,如图5所示,对于40M的信道38,其包括2个20M的信道:信道36以及信道40。对于40M的信道46,其包括2个20M的信道:信道44以及信道48。对于40M带宽的信道54,其包括2个20M的信道:信道52以及信道56。对于40M带宽的信道62,其包括2个20M的信道:信道60以及信道64。对于40M带宽的信道151,其包括2个20M的信道:信道149以及信道153。对于40M带宽的信道159,其包括2个20M的信道:信道157、信道161。此外,20M的信道还包括信道165。信道165可以认为是信道159的子信道。Further, as shown in FIG. 5 , the
因此,若AP的40M带宽的信道为信道38,则其20M带宽的信道可以为36,或者是信道40。若AP的40M带宽的信道为信道46,则其20M带宽的信道可以为信道44,或者是信道48。若AP的40M带宽的信道为信道151,则其20M带宽的信道为信道149,也可以是信道153。Therefore, if the AP's 40M bandwidth channel is
其中,由于各个第一带宽的信道的子信道不相同,因此对于第一带宽的信道不同的AP,其第二带宽的信道也不同,相应地,其第三带宽的信道也不同。Wherein, since the sub-channels of the channels of the first bandwidth are different, for APs with different channels of the first bandwidth, the channels of the second bandwidth are also different, and correspondingly, the channels of the third bandwidth are also different.
对于第一带宽的信道相同的AP,与其至少一个邻居AP的第二带宽的信道不同。例如,AP1和AP2为邻居AP。且,AP1的第一带宽的信道和AP2的第一带宽的信道相同,均为信道42。AP1的第二带宽的信道为信道38,则AP2的第二带宽的信道为信道46。相应地,AP1的第三带宽的信道和AP2的第三带宽的信道不同。尽管AP1和AP2对应于80M的信道相同(信道42),但该两个AP对应于40M和20M的信道均不相同。这样每个AP的候选信道集合都最大程度低不同于其他AP的候选信道集合,这使得基于各候选信道集合中的信道工作 的各AP可以尽量避免AP间的信道同频干扰。For the APs with the same channel of the first bandwidth, the channel of the second bandwidth of at least one neighboring AP is different. For example, AP1 and AP2 are neighbor APs. Moreover, the channel of the first bandwidth of AP1 and the channel of the first bandwidth of AP2 are the same, both being
基于上述实施例,WLAN控制器可以为WLAN系统中的每个AP确定一个候选信道集合,每个候选信道集合包括不同带宽的信道。WLAN控制器可以指示各AP分别选择对应候选信道集合中的一个信道作为工作信道。例如,WLAN控制系统包括4个AP(第一AP至第四AP),这4个AP的候选信道集合分别为第一候选信道集合、第二候选信道集合、第三候选信道集合和第四候选信道集合。WLAN控制器指示该第一AP、该第二AP、该第三AP和该第四AP分别选择该第一候选信道集合、该第二候选信道集合、该第三候选信道集合和该第四候选信道集合中的一个信道作为工作信道。Based on the above embodiments, the WLAN controller may determine a set of candidate channels for each AP in the WLAN system, and each set of candidate channels includes channels with different bandwidths. The WLAN controller may instruct each AP to select one channel in the corresponding candidate channel set as the working channel. For example, the WLAN control system includes 4 APs (the first AP to the fourth AP), and the candidate channel sets of these 4 APs are respectively the first candidate channel set, the second candidate channel set, the third candidate channel set and the fourth candidate channel set. A collection of channels. The WLAN controller instructs the first AP, the second AP, the third AP, and the fourth AP to select the first candidate channel set, the second candidate channel set, the third candidate channel set, and the fourth candidate channel set, respectively. One channel in the channel set is used as the working channel.
该第一候选信道集合包括第一信道、第二信道和第八信道。第二候选信道集合包括第三信道、第四信道和第九信道。第三候选信道集合包括第五信道、第六信道和第十信道。第四候选信道集合包括第一信道、第七信道和第十一信道。例如,当第一带宽为80M、第二带宽为40M、第三带宽为20M时,第一候选信道集合中80M带宽的信道为信道42,40M带宽的信道为信道38,20M带宽的信道为信道36。第二候选信道集合中80M带宽的信道为信道58,40M带宽的信道为信道54,20M带宽的信道为信道52。第三候选信道集合中80M带宽的信道为信道155,40M带宽的信道为信道151,20M带宽的信道为信道149。第四候选信道集合中80M带宽的信道为信道42,40M带宽的信道为信道46,20M带宽的信道为信道44。The first set of candidate channels includes a first channel, a second channel and an eighth channel. The second set of candidate channels includes a third channel, a fourth channel and a ninth channel. The third set of candidate channels includes a fifth channel, a sixth channel, and a tenth channel. The fourth set of candidate channels includes the first channel, the seventh channel and the eleventh channel. For example, when the first bandwidth is 80M, the second bandwidth is 40M, and the third bandwidth is 20M, the channel with 80M bandwidth in the first candidate channel set is
WLAN系统还可以包括更多的AP,例如WLAN系统还包括第五AP,则WLAN控制器还向第五AP发送信道标识。向第五AP发送的信道标识为第五候选信道集合中的至少一个信道的标识。该第五候选信道集合例如包括第一信道、第二信道和第十二信道。该第十二信道的带宽为第三带宽。该第十二信道和第八信道是第二信道中的不同子信道。The WLAN system may further include more APs. For example, the WLAN system further includes a fifth AP, and the WLAN controller also sends the channel identifier to the fifth AP. The channel identifier sent to the fifth AP is an identifier of at least one channel in the fifth candidate channel set. The fifth candidate channel set includes, for example, the first channel, the second channel and the twelfth channel. The bandwidth of the twelfth channel is the third bandwidth. The twelfth channel and the eighth channel are different sub-channels in the second channel.
其中,第五候选信道集合包括第一信道(对应第一带宽)、第二信道(对应第二带宽)以及第十二信道(对应第三带宽)。第五候选信道集合中的第十二信道和第一候选信道集合中的第八信道均为第二信道的子信道。例如,当第一带宽为80M、第二带宽为40M、第三带宽为20M时,第五候选信道集合中80M带宽的信道为信道42,40M带宽的信道为信道38,20M带宽的信道为信道40。Wherein, the fifth candidate channel set includes the first channel (corresponding to the first bandwidth), the second channel (corresponding to the second bandwidth) and the twelfth channel (corresponding to the third bandwidth). Both the twelfth channel in the fifth candidate channel set and the eighth channel in the first candidate channel set are sub-channels of the second channel. For example, when the first bandwidth is 80M, the second bandwidth is 40M, and the third bandwidth is 20M, the channel with 80M bandwidth in the fifth candidate channel set is
每个AP选择的工作信道可以基于AP的带宽确定。例如,WLAN控制器设置每个AP的带宽为80M,则每个AP的工作信道可以为对应的候选信道集合中带宽为80M的信道。又例如,WLAN控制器设置第一AP、第二AP、第三AP、第四AP和第五AP的带宽分别为80M、40M、20M、40M和80M,则第一AP的工作信道可以为信道42,第二AP的工作信道可以为信道54。第三AP的工作信道可以为信道149。第四AP的工作信道可以为信道46,第五AP的工作信道可以为信道42。由此可见,尽管第一候选信道集合、第四候选信道集合和第五候选信道集合对应于80M的信道相同(信道42),第一候选信道集合和第五候选信道集合对应于40M的信道相同(信道38),但该3个信道集合对应于20M的信道均不相同。即,尽管AP数量增加,但该方案尽量保证每个AP的候选信道集合都最大程度地不同于其他AP的候选信道集合。这尽量避免了基于候选信道集合中的信道工作的AP间的信道同频干扰。The working channel selected by each AP can be determined based on the bandwidth of the AP. For example, if the WLAN controller sets the bandwidth of each AP to 80M, then the working channel of each AP may be a channel with a bandwidth of 80M in the corresponding candidate channel set. For another example, the WLAN controller sets the bandwidths of the first AP, the second AP, the third AP, the fourth AP and the fifth AP to 80M, 40M, 20M, 40M and 80M respectively, then the working channel of the first AP can be
又例如,每个AP可以接收对应的候选信道集合,然后根据本AP的带宽需求从接收的候选信道集合中选择带宽为带宽需求的信道为工作信道。即,一旦各个AP的候选信道集合确定后,各个AP可以自由的根据自身的带宽需求从对应的候选信道集合中选择带宽为带宽需求的信道,不需要关心其他AP的选择,WLAN控制器也无需再多次的尝试调整各AP的信道。因此,该方案简化了信道分配的过程,提升了信道分配的效率。For another example, each AP may receive a corresponding set of candidate channels, and then select a channel whose bandwidth meets the bandwidth requirement as a working channel from the received set of candidate channels according to the bandwidth requirement of the AP. That is, once the candidate channel set of each AP is determined, each AP can freely select the channel with the bandwidth that meets the bandwidth requirement from the corresponding candidate channel set according to its own bandwidth requirements, and does not need to care about the selection of other APs, and the WLAN controller does not need to Try to adjust the channel of each AP several times. Therefore, this solution simplifies the process of channel allocation and improves the efficiency of channel allocation.
该方案中,第一AP的候选信道集合包括第一信道、第二信道和第八信道,第四AP的候选信道集合包括第一信道、第七信道和第十一信道,第五AP的候选信道集合包括第一信道、第二信道和第十二信道。其中,第一信道的带宽为第一带宽,第二信道和第七信道的带宽为第二带宽,第八信道、第十一信道和第十二信道的带宽为第三带宽。第一带宽大于第二带宽,第二带宽大于第三带宽,例如,第一带宽、第二带宽和第三带宽分别为80M、40M和20M。其中,第二信道和第七信道分别为第一信道的不同子信道,第八信道和第十二信道分别为第二信道的不同子信道。In this scheme, the candidate channel set of the first AP includes the first channel, the second channel and the eighth channel, the candidate channel set of the fourth AP includes the first channel, the seventh channel and the eleventh channel, and the candidate channel of the fifth AP The set of channels includes a first channel, a second channel and a twelfth channel. Wherein, the bandwidth of the first channel is the first bandwidth, the bandwidths of the second channel and the seventh channel are the second bandwidth, and the bandwidths of the eighth channel, the eleventh channel, and the twelfth channel are the third bandwidth. The first bandwidth is greater than the second bandwidth, and the second bandwidth is greater than the third bandwidth, for example, the first bandwidth, the second bandwidth and the third bandwidth are 80M, 40M and 20M respectively. Wherein, the second channel and the seventh channel are respectively different sub-channels of the first channel, and the eighth channel and the twelfth channel are respectively different sub-channels of the second channel.
在一种可能的实施方式中,第一AP的工作信道的带宽为第一目标带宽,当需要调整该第一AP的带宽为第二目标带宽时,WLAN控制器将该第一AP的工作信道变更为目标信道,保持其他AP的工作信道不变。该第二目标带宽不同于该第一目标带宽,该目标信道为该第一候选信道集合中带宽为该第二目标带宽的信道。即,在带宽降低时,WLAN控制器为各个AP尽量选择不同的子信道,以使得各个AP的候选信道集合中的大多数信道不同,以尽量地避免基于各候选信道集合中的信道工作的各AP间的同频干扰。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and when it is necessary to adjust the bandwidth of the first AP to the second target bandwidth, the WLAN controller sets the working channel of the first AP to Change to the target channel and keep the working channel of other APs unchanged. The second target bandwidth is different from the first target bandwidth, and the target channel is a channel in the first candidate channel set whose bandwidth is the second target bandwidth. That is, when the bandwidth is reduced, the WLAN controller selects different sub-channels for each AP as much as possible, so that most of the channels in the candidate channel sets of each AP are different, so as to avoid as much as possible based on the channels in each candidate channel set. Same-channel interference between APs.
本方案中,WLAN控制器为各AP确定的候选信道集合中包括了各AP对应于多个带宽的信道,且任一AP在候选信道集合中对应于不同带宽的信道都尽量的避免了与其他AP的候选信道集合中的信道的重叠。所以,当需要调整某个AP的带宽时,WLAN控制器可以直接将该AP的工作信道变更为该AP对应的候选信道集合中带宽为调整后的带宽的信道,并保持其他AP的工作信道不变,即不需要调整其他AP的工作信道。这使得WLAN控制器可以快速地变更AP的信道以调整AP的带宽,提升了信道分配的效率,而且该快速调整的结果也可以尽量地避免AP间的同频干扰。In this solution, the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and any AP in the candidate channel set corresponding to channels with different bandwidths should try to avoid conflicts with other channels. Overlap of channels in the AP's set of candidate channels. Therefore, when the bandwidth of a certain AP needs to be adjusted, the WLAN controller can directly change the working channel of the AP to the channel whose bandwidth is the adjusted bandwidth in the set of candidate channels corresponding to the AP, and keep the working channels of other APs unchanged. That is, there is no need to adjust the working channels of other APs. This enables the WLAN controller to quickly change the channel of the AP to adjust the bandwidth of the AP, which improves the efficiency of channel allocation, and the result of the quick adjustment can also avoid co-channel interference between APs as much as possible.
在一种可能的实施方式中,WLAN控制器发送目标信道的信道标识给第一AP,以指示该第一AP将工作信道切换为该目标信道。该目标信道的带宽为第二目标带宽。第一AP将工作信道调整为目标信道,相应地,第一AP的带宽从第一目标带宽调整为第二目标带宽。In a possible implementation manner, the WLAN controller sends the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel. The bandwidth of the target channel is the second target bandwidth. The first AP adjusts the working channel to the target channel, and accordingly, the bandwidth of the first AP is adjusted from the first target bandwidth to the second target bandwidth.
在一种可能的实施方式中,第一AP的工作信道的带宽为第一目标带宽,当需要调整第一AP的带宽为第二目标带宽时,第一AP从第一候选信道集合中选择带宽为第二目标带宽的信道作为目标信道。该第一AP将该工作信道切换为该目标信道。即,第一AP处保存有该AP的候选信道集合,该候选信道集合中包括了不同带宽对应的信道。当需要调整AP的带宽时,AP可以直接从该候选信道集合中选择带宽为第二目标带宽的信道,并切换工作信道为该带宽为第二目标带宽的信道,即可完成AP的带宽和信道的调整。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, the first AP selects the bandwidth from the first candidate channel set A channel with the second target bandwidth is used as the target channel. The first AP switches the working channel to the target channel. That is, the first AP stores a candidate channel set of the AP, and the candidate channel set includes channels corresponding to different bandwidths. When it is necessary to adjust the bandwidth of the AP, the AP can directly select the channel whose bandwidth is the second target bandwidth from the set of candidate channels, and switch the working channel to the channel whose bandwidth is the second target bandwidth. adjustment.
可以有多种方式触发调整AP的带宽。例如,AP的性能统计数据发生变化触发调整AP的带宽。该性能统计数据发生变化可以是AP间的负载不均衡。负载不均衡可以表现为AP间的信道利用率的差值大于阈值,和/或,AP间的接入用户数的差值大于阈值。There are many ways to trigger the adjustment of the bandwidth of the AP. For example, changes in AP performance statistics trigger adjustment of AP bandwidth. The change of the performance statistic data may be a load imbalance among APs. The unbalanced load may be manifested as a difference in channel utilization between APs greater than a threshold, and/or a difference in the number of access users among APs greater than a threshold.
在一种可能的实施方式中,当第一AP的CU与第二AP的CU的差值大于第一阈值,和/或,第一AP的接入用户数与第二AP的接入用户数的差值大于第二阈值,触发调整第一AP的带宽为该第二目标带宽。也就是说,当相邻AP间的负载不均衡时触发调整AP的带宽。例如,第一AP和第二AP为相邻AP,第一AP的带宽为80M,第二AP的带宽为40M,当第一AP和第二AP的负载不均衡时,可以将第二AP的带宽调高,或者,也可以把第一AP的带宽调低等,本方案对此不做具体限定。In a possible implementation manner, when the difference between the CU of the first AP and the CU of the second AP is greater than the first threshold, and/or, the number of access users of the first AP and the number of access users of the second AP The difference of is greater than the second threshold, triggering adjustment of the bandwidth of the first AP to the second target bandwidth. That is to say, when the load between adjacent APs is unbalanced, the bandwidth adjustment of the AP is triggered. For example, the first AP and the second AP are adjacent APs, the bandwidth of the first AP is 80M, and the bandwidth of the second AP is 40M. When the loads of the first AP and the second AP are unbalanced, the bandwidth of the second AP can be The bandwidth can be increased, or the bandwidth of the first AP can also be decreased, etc., which is not specifically limited in this solution.
又例如,该性能统计数据发生变化还可以是AP的接入用户数超过阈值。在一种可能的实施方式中,根据AP的接入用户数判断来确定是否需要调整该AP的带宽。For another example, the change in the performance statistical data may also be that the number of access users of the AP exceeds a threshold. In a possible implementation manner, whether the bandwidth of the AP needs to be adjusted is determined according to the number of access users of the AP.
又例如,用户希望调整AP的带宽,这WLAN控制器可以获取用户的输入的第二目标带宽,并指示AP调整带宽为第二目标带宽。或者,AP获取用户输入的第二目标带宽,并调整带宽为第二目标带宽。在一种可能的实施方式中,基于管理员的控制,调整第一AP的带宽为该第二目标带宽。For another example, when the user wants to adjust the bandwidth of the AP, the WLAN controller may acquire the second target bandwidth input by the user, and instruct the AP to adjust the bandwidth to the second target bandwidth. Alternatively, the AP acquires the second target bandwidth input by the user, and adjusts the bandwidth to the second target bandwidth. In a possible implementation manner, based on the control of the administrator, the bandwidth of the first AP is adjusted to the second target bandwidth.
本方案中,WLAN控制器为各AP确定的候选信道集合中包括了各AP对应于多个带宽的信道,且任一AP在候选信道集合中对应于不同带宽的信道都尽量的避免了与其他AP的候选信道集合中的信道的重叠。所以,当需要调整某个AP的带宽时,该AP可以直接从该AP的候选信道集合中选择带宽为调整后的带宽的信道作为工作信道,而不用担心该切换过程会对其他AP造成严重的同频干扰。因此,调整某个AP的带宽时,不需要相应地调整其他AP的带宽/工作信道,这简化了带宽调整和信道分配的过程,提升了带宽调整和信道分配的效率。In this solution, the candidate channel set determined by the WLAN controller for each AP includes channels corresponding to multiple bandwidths for each AP, and any AP in the candidate channel set corresponding to channels with different bandwidths should try to avoid conflicts with other channels. Overlap of channels in the AP's set of candidate channels. Therefore, when the bandwidth of an AP needs to be adjusted, the AP can directly select the channel with the adjusted bandwidth as the working channel from the candidate channel set of the AP, without worrying that the switching process will cause serious damage to other APs. co-channel interference. Therefore, when adjusting the bandwidth of a certain AP, there is no need to adjust the bandwidth/working channel of other APs accordingly, which simplifies the process of bandwidth adjustment and channel allocation, and improves the efficiency of bandwidth adjustment and channel allocation.
图8为本申请实施例提供的一种信道分配方法。该方法应用于AP。该方法包括步骤801-802,具体如下:FIG. 8 is a channel allocation method provided by an embodiment of the present application. This method is applied to AP. The method includes steps 801-802, specifically as follows:
801、接收候选信道集合。该候选信道集合包括第一信道和第二信道。该第一信道的带宽为第一带宽。该第二信道的带宽为第二带宽。该第一带宽不等于该第二带宽。该第一信道与该第二信道不同。801. Receive a candidate channel set. The set of candidate channels includes a first channel and a second channel. The bandwidth of the first channel is the first bandwidth. The bandwidth of the second channel is the second bandwidth. The first bandwidth is not equal to the second bandwidth. The first channel is different from the second channel.
例如,AP接收WLAN控制器发送的候选信道集合。该候选信道集合包括对应两个带宽的信道。该部分的介绍可参阅前述实施例,在此不再赘述。For example, the AP receives the candidate channel set sent by the WLAN controller. The set of candidate channels includes channels corresponding to two bandwidths. For the introduction of this part, reference may be made to the foregoing embodiments, and details are not repeated here.
802、从候选信道集合中选择一个信道作为工作信道。802. Select a channel from the candidate channel set as the working channel.
AP从该候选信道集合中选择一个信道作为工作信道。例如,若该AP的工作带宽为第一带宽,则其工作信道为第一信道;若该AP的工作带宽为第二带宽,则其工作信道为第二信道。The AP selects a channel from the set of candidate channels as a working channel. For example, if the working bandwidth of the AP is the first bandwidth, its working channel is the first channel; if the working bandwidth of the AP is the second bandwidth, its working channel is the second channel.
本方案中,AP接收到的候选信道集合包括了对应于不同带宽的信道,因此,AP可以直接从该候选信道集合中选择符合带宽需求的信道作为工作信道,无需执行其他复杂操作。这简化了信道分配的过程,提升了信道分配的效率。In this solution, the candidate channel set received by the AP includes channels corresponding to different bandwidths. Therefore, the AP can directly select a channel that meets the bandwidth requirement from the candidate channel set as the working channel without performing other complicated operations. This simplifies the process of channel allocation and improves the efficiency of channel allocation.
在一种可能的实施方式中,第一AP的工作信道的带宽为第一目标带宽,当需要调整第一AP的带宽为第二目标带宽时,第一AP从第一候选信道集合中选择带宽为第二目标带宽的信道作为目标信道。该第一AP将该工作信道切换为该目标信道。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, the first AP selects the bandwidth from the first candidate channel set A channel with the second target bandwidth is used as the target channel. The first AP switches the working channel to the target channel.
本方案中,AP接收到的候选信道集合包括了对应于不同带宽的信道,所以,当需要调整某个AP的带宽时,该AP可以直接从该AP的候选信道集合中选择带宽为调整后的带宽的信道作为工作信道,无需执行其他复杂操作。这简化了带宽调整和信道分配的过程,提升了带宽调整和信道分配的效率。In this solution, the set of candidate channels received by the AP includes channels corresponding to different bandwidths. Therefore, when the bandwidth of an AP needs to be adjusted, the AP can directly select the bandwidth from the set of candidate channels of the AP as the adjusted bandwidth. The channel with the widest bandwidth is used as the working channel without performing other complex operations. This simplifies the process of bandwidth adjustment and channel allocation, and improves the efficiency of bandwidth adjustment and channel allocation.
在一种可能的实施方式中,当第一AP的CU与第二AP的CU的差值大于第一阈值,或者,第一AP的接入用户数与第二AP的接入用户数的差值大于第二阈值,触发调整第一AP的带宽为该第二目标带宽。也就是说,相邻AP间的负载不均衡触发调整AP的带宽。In a possible implementation manner, when the difference between the CU of the first AP and the CU of the second AP is greater than the first threshold, or the difference between the number of access users of the first AP and the number of access users of the second AP If the value is greater than the second threshold, it is triggered to adjust the bandwidth of the first AP to the second target bandwidth. That is, the load imbalance between adjacent APs triggers the adjustment of the bandwidth of the APs.
在一种可能的实施方式中,基于管理员的控制,调整第一AP的带宽为该第二目标带宽。In a possible implementation manner, based on the control of the administrator, the bandwidth of the first AP is adjusted to the second target bandwidth.
在一种可能的实施方式中,根据AP的接入用户数判断来确定是否需要调整该AP的带宽。In a possible implementation manner, whether the bandwidth of the AP needs to be adjusted is determined according to the number of access users of the AP.
在一种可能的实施方式中,AP通过接收WLAN控制器发送的目标信道的信道标识,进而调整AP的工作信道为目标信道。In a possible implementation manner, the AP further adjusts the working channel of the AP to the target channel by receiving the channel identifier of the target channel sent by the WLAN controller.
在一种可能的实施方式中,AP直接从候选信道集合中选择一个信道作为工作信道。In a possible implementation manner, the AP directly selects a channel from the candidate channel set as the working channel.
针对该实现方式的介绍可参阅前述实施例,在此不再赘述。For the introduction of this implementation manner, reference may be made to the foregoing embodiments, and details are not repeated here.
该实施例仅以候选信道集合包括两个带宽对应的第一信道和第二信道为例进行说明,其还可以包括更多带宽对应的信道,例如,还包括第三带宽对应的信道等,本方案对此不作具体限定。In this embodiment, the candidate channel set only includes the first channel and the second channel corresponding to two bandwidths as an example for illustration, and it may also include channels corresponding to more bandwidths, for example, channels corresponding to the third bandwidth, etc. The plan does not specifically limit this.
在一种可能的实施方式中,第一带宽大于第二带宽,第二信道为第一信道的子信道。针对该部分的介绍可参阅前述实施例,在此不再赘述。In a possible implementation manner, the first bandwidth is greater than the second bandwidth, and the second channel is a subchannel of the first channel. For the introduction of this part, reference may be made to the foregoing embodiments, and details are not repeated here.
在一种可能的实施方式中,该AP将第一信道作为工作信道时,其将第二信道作为主信道。In a possible implementation manner, when the AP uses the first channel as a working channel, it uses the second channel as a main channel.
AP可以将相邻的多个低带宽的信道绑定成一个高带宽的信道,例如,将2个20M的信道绑定成一个40M的信道。多个低带宽的信道称之为高带宽的信道的多个子信道。多个子信道中的一个被用作主信道,其他子信道被用作从属信道。从属信道负责数据报文的传输,主信道除了负责数据报文的传输,还负责管理报文的传输。因此,本实施方式中,在AP将第一信道作为工作信道时,还将第二信道作为主信道,使得当AP的工作信道从第一信道切换至第二信道时,可以保持负责传输管理报文的信道不变,增强了网络的稳定性。The AP can bond multiple adjacent low-bandwidth channels into one high-bandwidth channel, for example, two 20M channels into one 40M channel. Multiple low-bandwidth channels are referred to as multiple sub-channels of a high-bandwidth channel. One of the subchannels is used as a master channel, and the other subchannels are used as slave channels. The slave channel is responsible for the transmission of data packets, and the master channel is not only responsible for the transmission of data packets, but also responsible for the transmission of management packets. Therefore, in this embodiment, when the AP uses the first channel as the working channel, the second channel is also used as the main channel, so that when the working channel of the AP is switched from the first channel to the second channel, it can keep being responsible for transmitting the management report. The channel of the text remains unchanged, which enhances the stability of the network.
本方案中,AP接收的候选信道集合包括了对应不同带宽的不同信道,AP可以按照带宽需求直接从该候选信道集合中选择工作信道或者调整工作信道。这使得AP可以快速地确定工作信道,提升了信道分配的效率。In this solution, the candidate channel set received by the AP includes different channels corresponding to different bandwidths, and the AP can directly select a working channel from the candidate channel set or adjust the working channel according to the bandwidth requirement. This enables the AP to quickly determine the working channel, improving the efficiency of channel allocation.
在前述实施例的基础上,本申请实施例提供一种信道分配方法。其中,示例性的80M和40M的5G频段可用信道集合如图9所示。该示例中AP款型为单5G射频款型,智能漫游和发射功率控制功能开启。On the basis of the foregoing embodiments, this embodiment of the present application provides a channel allocation method. Among them, exemplary 80M and 40M available channel sets of 5G frequency bands are shown in FIG. 9 . In this example, the AP model is a single 5G radio model, and the smart roaming and transmit power control functions are enabled.
在一个示例中,WLAN控制器和服务器可以基于Kafka协议组成一个分布式、分区化、多副本的消息发布-订阅系统。该消息发布-订阅系统的生产者和消费者。生产者例如为WLAN控制器,获取多个AP发送的AP的标识、AP功率、邻居AP的媒体存取控制(Media Access Control,MAC)地址、AP到邻居AP的RSSI等信息后,将获取的AP的信息发布到Kafka主题上。消费者例如为服务器,订阅Kafka主题并应用AP的信息。In an example, the WLAN controller and server can form a distributed, partitioned, and multi-copy message publish-subscribe system based on the Kafka protocol. The message publish-subscribe system's producers and consumers. The producer is, for example, a WLAN controller. After obtaining information such as the ID of the AP, the power of the AP, the Media Access Control (MAC) address of the neighboring AP, and the RSSI from the AP to the neighboring AP, etc. sent by multiple APs, the obtained AP information is published to Kafka topics. Consumers, such as servers, subscribe to Kafka topics and apply AP information.
服务器基于获取的上述AP信息计算AP间路径损耗,并构建AP之间的路损拓扑。The server calculates the path loss between APs based on the obtained AP information, and constructs a path loss topology between APs.
WLAN控制器基于前述实施例介绍的方案可获取AP之间的物理拓扑。The WLAN controller can acquire the physical topology between APs based on the solutions introduced in the foregoing embodiments.
WLAN控制器基于AP之间的路损拓扑和物理拓扑调整AP间的度量,以确定各AP的新的邻居。具体可参阅前述实施例,在此不再赘述。The WLAN controller adjusts the metric between the APs based on the path loss topology and the physical topology between the APs, so as to determine the new neighbors of each AP. For details, reference may be made to the foregoing embodiments, and details are not repeated here.
WLAN控制器确定每个AP分别适配多个带宽中每个带宽的信道。对于80M带宽,WLAN控制器例如为各个AP按照3色图染色,以获取各个AP的带宽为80M的信道。各个AP按照带宽为80M的信道分配结果进行聚类,各个AP可以聚为{42、58、155}三类。即,带宽为80M的信道为信道42的AP聚为一类,带宽为80M的信道为信道58的AP聚为一类,带宽为80M的信道为信道155的AP聚为一类。然后,WLAN控制器提取相同80M信道的AP再进行2色图染色,完成40M的信道分配,最终获得{38,46,54,62,151,159}的40M信道分配结果,如图10所示。具体的方案可以参考前述实施例中关于基于染色方法对每个AP进行染色以确定每个AP的信道的介绍,在此不再赘述。The WLAN controller determines that each AP is respectively adapted to a channel of each of the multiple bandwidths. For 80M bandwidth, the WLAN controller, for example, colors each AP according to a 3-color map, so as to obtain a channel with a bandwidth of 80M for each AP. Each AP is clustered according to the channel allocation result with a bandwidth of 80M, and each AP can be clustered into three categories {42, 58, 155}. That is, APs with
然后,WLAN控制器可以基于各个AP的物理位置信息将多个AP进行分组,如图11所示的三个组,包括组A、组B和组C。基于图10和图11,WLAN控制器按照组编号和带宽 配置搭建信道继承库。该信道继承库包括多个组的AP分别对应多个带宽的信道分布信息。Then, the WLAN controller can group multiple APs based on the physical location information of each AP, such as three groups shown in FIG. 11 , including group A, group B and group C. Based on Figure 10 and Figure 11, the WLAN controller builds a channel inheritance library according to the group number and bandwidth configuration. The channel inheritance library includes channel distribution information of APs in multiple groups corresponding to multiple bandwidths.
如表2所示,其中,组编号={A,B,C},带宽配置={80M,40M}。信道继承库如表2所示。例如,组A中AP1的带宽为80M的信道为155。组A中AP1的带宽为40M的信道为159。再例如,组C中AP5的带宽为80M的信道为42。As shown in Table 2, wherein, group number={A, B, C}, bandwidth configuration={80M, 40M}. The channel inheritance library is shown in Table 2. For example, the bandwidth of AP1 in group A is 80M and the channel is 155. The bandwidth of AP1 in group A is 40M and the channels are 159. For another example, the bandwidth of AP5 in group C is 80M and the channels are 42.
表2Table 2
WLAN控制器基于带宽推荐结果和信道继承库确定每个AP的分配信道。The WLAN controller determines the allocated channel for each AP based on the bandwidth recommendation result and the channel inheritance library.
假设带宽推荐方案给出的带宽推荐结果是组A、组B和组C分别对应80M、40M和80M。通过查询表2可直接得出组A、组B和组C对应的信道策略,整合即得该全局AP的信道策略配置结果。Assume that the bandwidth recommendation result given by the bandwidth recommendation scheme is that group A, group B, and group C correspond to 80M, 40M, and 80M, respectively. The channel policies corresponding to Group A, Group B, and Group C can be obtained directly by looking up Table 2, and the channel policy configuration results of the global AP can be obtained by integration.
WLAN控制器对拓扑组进行监控,以更新AP的带宽和分配信道。The WLAN controller monitors the topology group to update the AP's bandwidth and allocate channels.
WLAN控制器通过周期性监控各拓扑组中AP的信道利用率或者接入用户数等参数,观测带宽推荐效果的合理性。如果相邻拓扑组的CU差异超过某阈值/接入用户数差值超过某阈值,则表示相邻拓扑组存在负载不均衡问题,因此需要通过带宽回退操作调整带宽。The WLAN controller observes the rationality of the bandwidth recommendation effect by periodically monitoring parameters such as the channel utilization rate of APs in each topology group or the number of access users. If the CU difference between adjacent topology groups exceeds a certain threshold/the difference between the number of access users exceeds a certain threshold, it indicates that the adjacent topology groups have unbalanced loads. Therefore, you need to adjust the bandwidth through the bandwidth rollback operation.
具体地,可对AP进行局部信道调优:假设组C触发带宽回退需要从80M回退到40M,带宽调整操作的最终效果是带宽配置{组A:80M,组B:40M,组C:80M}调整到{组A:80M,组B:40M,组C:40M},因此局部信道调优策略需要查找信道继承库表2中,组C调整后的带宽40M对应的信道配置实现局部继承调优,其他组的信道配置保持不变。Specifically, local channel tuning can be performed on APs: Suppose group C triggers bandwidth fallback and needs to fall back from 80M to 40M, the final effect of the bandwidth adjustment operation is bandwidth configuration {group A: 80M, group B: 40M, group C: 80M} is adjusted to {group A: 80M, group B: 40M, group C: 40M}, so the local channel optimization strategy needs to search the channel inheritance library Table 2, the channel configuration corresponding to the adjusted bandwidth of
本申请实施例中,WLAN控制器可以直接在每个AP的候选信道集合中为每个AP选择对应带宽的信道,无需调整其他AP的信道,提高了信道分配的效率。且,各AP的信道都会最大程度的不同,因此,该方案可以尽量地避免AP间的信道同频干扰。In the embodiment of the present application, the WLAN controller can directly select a channel of corresponding bandwidth for each AP in the candidate channel set of each AP without adjusting channels of other APs, which improves the efficiency of channel allocation. Moreover, the channels of each AP will be different to the greatest extent. Therefore, this solution can avoid channel co-channel interference between APs as much as possible.
本申请实施例提供一种WLAN系统。该WLAN系统包括WLAN控制器和多个AP。该WLAN控制器用于执行上述实施例提供的WLAN控制器执行的方法。An embodiment of the present application provides a WLAN system. The WLAN system includes a WLAN controller and multiple APs. The WLAN controller is configured to execute the method executed by the WLAN controller provided in the foregoing embodiments.
在一种可能的实施方式中,该多个AP中的任一AP用于执行上述实施例提供的AP执行的方法。In a possible implementation manner, any one of the multiple APs is configured to execute the method performed by the AP provided in the foregoing embodiments.
图12为本申请实施例提供的一种信道分配装置的结构示意图。如图12所示,该信道分配装置1200包括获取模块1201和发送模块1202。获取模块1201和发送模块1202用于执行上述方法实施例中的相关步骤。例如,获取模块1201和发送模块1202用于执行图2中步骤201的相关内容。FIG. 12 is a schematic structural diagram of a channel allocation device provided by an embodiment of the present application. As shown in FIG. 12 , the channel allocation device 1200 includes an acquisition module 1201 and a sending module 1202 . The obtaining module 1201 and the sending module 1202 are configured to execute relevant steps in the above method embodiments. For example, the obtaining module 1201 and the sending module 1202 are used to execute the relevant content of
该获取模块1201,用于获取第一候选信道集合、第二候选信道集合、第三候选信道集合和第四候选信道集合。其中,该第一候选信道集合包括第一信道和第二信道,该第二候选信道集合包括第三信道和第四信道,该第三候选信道集合包括第五信道和第六信道,该第四候 选信道集合包括该第一信道和第七信道。该第一信道的带宽、该第三信道的带宽和该第五信道的带宽均为第一带宽。该第二信道的带宽、该第四信道的带宽、该第六信道的带宽和该第七信道的带宽均为第二带宽。该第一带宽大于该第二带宽。该第二信道和该第七信道是该第一信道中的不同子信道。该第四信道是该第三信道的子信道。该第六信道是该第五信道的子信道。The acquiring module 1201 is configured to acquire a first set of candidate channels, a second set of candidate channels, a third set of candidate channels and a fourth set of candidate channels. Wherein, the first set of candidate channels includes a first channel and a second channel, the second set of candidate channels includes a third channel and a fourth channel, the third set of candidate channels includes a fifth channel and a sixth channel, and the fourth set of candidate channels includes a fifth channel and a sixth channel. The set of candidate channels includes the first channel and the seventh channel. The bandwidth of the first channel, the bandwidth of the third channel and the bandwidth of the fifth channel are all the first bandwidth. The bandwidth of the second channel, the bandwidth of the fourth channel, the bandwidth of the sixth channel and the bandwidth of the seventh channel are all the second bandwidth. The first bandwidth is greater than the second bandwidth. The second channel and the seventh channel are different sub-channels in the first channel. The fourth channel is a sub-channel of the third channel. The sixth channel is a sub-channel of the fifth channel.
该发送模块1202,用于向第一AP,第二AP,第三AP和第四AP发送信道标识。向该第一AP发送的信道标识为该第一候选信道集合中的至少一个信道的标识。向该第二AP发送的信道标识为该第二候选信道集合中的至少一个信道的标识。向该第三AP发送的信道标识为该第三候选信道集合中的至少一个信道的标识。向该第四AP发送的信道标识为该第四候选信道集合中的至少一个信道的标识。The sending module 1202 is configured to send channel identifiers to the first AP, the second AP, the third AP and the fourth AP. The channel identifier sent to the first AP is an identifier of at least one channel in the first candidate channel set. The channel identifier sent to the second AP is an identifier of at least one channel in the second candidate channel set. The channel identifier sent to the third AP is an identifier of at least one channel in the third candidate channel set. The channel identifier sent to the fourth AP is an identifier of at least one channel in the fourth candidate channel set.
在一种可能的实施方式中,该第一候选信道集合还包括第八信道,该第二候选信道集合还包括第九信道,该第三候选信道集合还包括第十信道,该第四候选信道集合还包括第十一信道。其中,该第八信道的带宽、该第九信道的带宽、该第十信道的带宽和该第十一信道的带宽均为第三带宽。该第二带宽大于该第三带宽。该第八信道、该第九信道、该第十信道和该第十一信道分别为该第二信道、该第四信道、该第六信道和该第七信道的子信道。In a possible implementation manner, the first set of candidate channels further includes an eighth channel, the second set of candidate channels further includes a ninth channel, the third set of candidate channels further includes a tenth channel, and the fourth set of candidate channels further includes a ninth channel. The set also includes an eleventh channel. Wherein, the bandwidth of the eighth channel, the bandwidth of the ninth channel, the bandwidth of the tenth channel and the bandwidth of the eleventh channel are all the third bandwidth. The second bandwidth is greater than the third bandwidth. The eighth channel, the ninth channel, the tenth channel and the eleventh channel are sub-channels of the second channel, the fourth channel, the sixth channel and the seventh channel respectively.
在一种可能的实施方式中,该获取模块1201,还用于获取第五候选信道集合。该第五候选信道集合包括该第一信道、该第二信道和第十二信道。该第十二信道的带宽为该第三带宽。该第十二信道和该第八信道是该第二信道中的不同子信道。In a possible implementation manner, the acquiring module 1201 is also configured to acquire a fifth candidate channel set. The fifth candidate channel set includes the first channel, the second channel and the twelfth channel. The bandwidth of the twelfth channel is the third bandwidth. The twelfth channel and the eighth channel are different sub-channels in the second channel.
该发送模块1202,还用于:向第五AP发送信道标识。其中,该发送模块1202向该第五AP发送的信道标识为该第五候选信道集合中的至少一个信道的标识。The sending module 1202 is also configured to: send the channel identifier to the fifth AP. Wherein, the channel identifier sent by the sending module 1202 to the fifth AP is an identifier of at least one channel in the fifth candidate channel set.
在一种可能的实施方式中,该第一AP、该第二AP、该第三AP和该第四AP互为邻居AP,该第一AP与该第二AP之间的距离和该第一AP与该第三AP之间的距离均小于该第一AP和该第四AP之间的距离。In a possible implementation manner, the first AP, the second AP, the third AP, and the fourth AP are neighbor APs, and the distance between the first AP and the second AP and the first AP The distance between the AP and the third AP is smaller than the distance between the first AP and the fourth AP.
在一种可能的实施方式中,该信道分配装置1200还包括确定模块。该确定模块用于确定N个AP的候选信道集合中的带宽为该第一带宽的信道。N为大于等于4的整数。该确定模块还用于确定M个AP。该M个AP的候选信道集合均包括一个相同信道,该相同信道的带宽为该第一带宽。该相同信道包括多个子信道,该多个子信道中的每个子信道的带宽为第二带宽。该确定模块还用于将该多个子信道中的一个子信道作为该M个AP中的一个AP的候选信道集合中的对应于该第二带宽的信道。其中,该M个AP中的任一个AP的候选信道集合中的对应于该第二带宽的信道与至少一个邻居AP的候选信道集合中的对应于该第二带宽的信道不同。该M个AP包括该至少一个邻居AP。In a possible implementation manner, the channel allocating apparatus 1200 further includes a determining module. The determining module is configured to determine a channel whose bandwidth is the first bandwidth in the candidate channel set of N APs. N is an integer greater than or equal to 4. The determining module is also used to determine M APs. The candidate channel sets of the M APs all include one same channel, and the bandwidth of the same channel is the first bandwidth. The same channel includes a plurality of subchannels, each of the plurality of subchannels has a bandwidth of the second bandwidth. The determining module is further configured to use one of the plurality of sub-channels as a channel corresponding to the second bandwidth in the candidate channel set of one of the M APs. Wherein, the channel corresponding to the second bandwidth in the candidate channel set of any one of the M APs is different from the channel corresponding to the second bandwidth in the candidate channel set of at least one neighboring AP. The M APs include the at least one neighbor AP.
在一种可能的实施方式中,该发送模块1202,用于指示该第一AP、该第二AP、该第三AP和该第四AP分别选择该第一候选信道集合、该第二候选信道集合、该第三候选信道集合和该第四候选信道集合中的一个信道作为工作信道。In a possible implementation manner, the sending module 1202 is configured to instruct the first AP, the second AP, the third AP and the fourth AP to select the first candidate channel set and the second candidate channel respectively. set, the third set of candidate channels, and one of the fourth set of candidate channels is used as a working channel.
在一种可能的实施方式中,该第一AP的工作信道的带宽为第一目标带宽,该信道分配装置1200还包括变更模块。变更模块用于:当需要调整该第一AP的带宽为第二目标带宽时,将该第一AP的工作信道变更为目标信道,并保持其他AP的工作信道不变。该第二目标带宽不同于该第一目标带宽。该目标信道为该第一候选信道集合中带宽为该第二目标带宽的信道。In a possible implementation manner, the bandwidth of the working channel of the first AP is the first target bandwidth, and the channel allocation apparatus 1200 further includes a changing module. The change module is used for: when the bandwidth of the first AP needs to be adjusted to the second target bandwidth, change the working channel of the first AP to the target channel, and keep the working channels of other APs unchanged. The second target bandwidth is different from the first target bandwidth. The target channel is a channel whose bandwidth is the second target bandwidth in the first candidate channel set.
在一种可能的实施方式中,该发送模块1202,还用于:发送该目标信道的信道标识给该第一AP,以指示该第一AP将工作信道切换为该目标信道。In a possible implementation manner, the sending module 1202 is further configured to: send the channel identifier of the target channel to the first AP, so as to instruct the first AP to switch the working channel to the target channel.
图13为本申请实施例提供的另一种信道分配装置的结构示意图。如图13所示,该信道分配装置1300包括接收模块1301和选择模块1302。接收模块1301和选择模块1302用于执行上述方法实施例中的相关步骤。例如,接收模块1301用于执行图8中步骤801的相关内容,选择模块1302用于执行图8中步骤802的相关内容。FIG. 13 is a schematic structural diagram of another channel allocation device provided by an embodiment of the present application. As shown in FIG. 13 , the channel allocation device 1300 includes a receiving module 1301 and a selecting module 1302 . The receiving module 1301 and the selecting module 1302 are configured to execute relevant steps in the above method embodiments. For example, the receiving module 1301 is used to execute the related content of
接收模块1301,用于接收候选信道集合。该候选信道集合包括第一信道和第二信道。该第一信道的带宽为第一带宽。该第二信道的带宽为第二带宽。该第一带宽不等于该第二带宽。该第一信道与该第二信道不同。The receiving module 1301 is configured to receive a set of candidate channels. The set of candidate channels includes a first channel and a second channel. The bandwidth of the first channel is the first bandwidth. The bandwidth of the second channel is the second bandwidth. The first bandwidth is not equal to the second bandwidth. The first channel is different from the second channel.
选择模块1302,用于从该候选信道集合中选择一个信道作为工作信道。A selection module 1302, configured to select a channel from the set of candidate channels as a working channel.
在一种可能的实施方式中,第一带宽大于第二带宽。该第二信道为该第一信道的子信道。In a possible implementation manner, the first bandwidth is greater than the second bandwidth. The second channel is a sub-channel of the first channel.
在一种可能的实施方式中,该选择模块1302还用于:将该第一信道作为工作信道时,将该第二信道作为主信道。In a possible implementation manner, the selection module 1302 is further configured to: when the first channel is used as the working channel, the second channel is used as the main channel.
信道分配装置的具体功能实现方式可以参见上述信道分配方法的描述,这里不再进行赘述。装置中的各个单元或模块可以分别或全部合并为一个或若干个另外的单元或模块来构成,或者其中的某个(些)单元或模块还可以再拆分为功能上更小的多个单元或模块来构成,这可以实现同样的操作,而不影响本发明的实施例的技术效果的实现。上述单元或模块是基于逻辑功能划分的,在实际应用中,一个单元(或模块)的功能也可以由多个单元(或模块)来实现,或者多个单元(或模块)的功能由一个单元(或模块)实现。For the specific function implementation of the channel allocating device, reference may be made to the description of the channel allocating method above, which will not be repeated here. Each unit or module in the device can be separately or all combined into one or several other units or modules to form, or one (some) unit or module can be further divided into multiple functionally smaller units or modules, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In practical applications, the functions of one unit (or module) can also be realized by multiple units (or modules), or the functions of multiple units (or modules) can be realized by one unit (or module) implementation.
基于上述方法实施例以及装置实施例的描述,本发明实施例还提供一种信道分配装置。图14为发明实施例提供的一种信道分配装置的结构示意图。图14所示的信道分配装置1400包括存储器1401、处理器1402、通信接口1403以及总线1404。其中,存储器1401、处理器1402、通信接口1403通过总线1404实现彼此之间的通信连接。Based on the description of the foregoing method embodiment and device embodiment, an embodiment of the present invention further provides a channel allocation device. Fig. 14 is a schematic structural diagram of a channel allocation device provided by an embodiment of the invention. The channel allocation device 1400 shown in FIG. 14 includes a memory 1401 , a processor 1402 , a
存储器1401可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。The memory 1401 may be a read-only memory (Read Only Memory, ROM), a static storage device, a dynamic storage device or a random access memory (Random Access Memory, RAM).
存储器1401可以存储程序,当存储器1401中存储的程序被处理器1402执行时,处理器1402通过通信接口1403执行本申请实施例的信道分配方法的各个步骤。The memory 1401 may store programs, and when the programs stored in the memory 1401 are executed by the processor 1402, the processor 1402 executes various steps of the channel allocation method of the embodiment of the present application through the
处理器1402可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),图形处理器(graphics processing unit,GPU)或者一个或多个集成电路,用于执行相关程序,以实现本申请实施例的信道分配装置中的单元所需执行的功能,或者执行本申请方法实施例的信道分配方法。The processor 1402 may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a graphics processing unit (graphics processing unit, GPU) or one or more The integrated circuit is used to execute related programs to realize the functions required by the units in the channel allocation device of the embodiment of the present application, or to execute the channel allocation method of the method embodiment of the present application.
处理器1402还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请的信道分配方法的各个步骤可以通过处理器1402中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1402还可以是CPU、数字信号处理器(Digital Signal Processing,DSP)、ASIC、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成 熟的存储介质中。该存储介质位于存储器1401,处理器1402读取存储器1401中的信息,结合其硬件完成本申请实施例的信道分配装置中包括的单元所需执行的功能,或者执行本申请方法实施例的信道分配方法。The processor 1402 may also be an integrated circuit chip with signal processing capabilities. During implementation, each step of the channel allocation method of the present application may be completed by an integrated logic circuit of hardware in the processor 1402 or instructions in the form of software. Above-mentioned processor 1402 can also be CPU, digital signal processor (Digital Signal Processing, DSP), ASIC, off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device , Discrete hardware components. Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in the field. The storage medium is located in the memory 1401, and the processor 1402 reads the information in the memory 1401, and combines its hardware to complete the functions required by the units included in the channel allocation device of the embodiment of the application, or execute the channel allocation of the method embodiment of the application method.
通信接口1403使用例如但不限于收发器一类的收发装置,来实现信道分配装置1400与其他设备或通信网络之间的通信。例如,可以通过通信接口1403获取数据。The
总线1404可包括在信道分配装置1400各个部件(例如,存储器1401、处理器1402、通信接口1403)之间传送信息的通路。The bus 1404 may include a path for transferring information between various components of the channel allocating device 1400 (eg, memory 1401 , processor 1402 , communication interface 1403 ).
应注意,尽管图14所示的信道分配装置1400仅仅示出了存储器、处理器、通信接口,但是在具体实现过程中,本领域的技术人员应当理解,信道分配装置1400还包括实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当理解,信道分配装置1400还可包括实现其他附加功能的硬件器件。此外,本领域的技术人员应当理解,信道分配装置1400也可仅仅包括实现本申请实施例所必须的器件,而不必包括图14中所示的全部器件。It should be noted that although the channel allocating device 1400 shown in FIG. 14 only shows a memory, a processor, and a communication interface, in the specific implementation process, those skilled in the art should understand that the channel allocating device 1400 also includes other necessary devices. Meanwhile, according to specific needs, those skilled in the art should understand that the channel allocating apparatus 1400 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the channel allocating apparatus 1400 may only include components necessary to realize the embodiment of the present application, and does not necessarily include all the components shown in FIG. 14 .
本申请实施例还提供了一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,以实现所述的信道分配方法。The embodiment of the present application also provides a chip, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface, so as to implement the channel allocation method.
在一种可能的实施方式中,所述芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行所述的信道分配方法。In a possible implementation manner, the chip may further include a memory, and instructions are stored in the memory, and the processor is configured to execute the instructions stored in the memory. When the instructions are executed, the processing The device is used to implement the channel allocation method.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores instructions, and when it is run on a computer or a processor, the computer or the processor executes one of the above-mentioned methods or multiple steps.
本申请实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。The embodiment of the present application also provides a computer program product including instructions. When the computer program product is run on the computer or the processor, the computer or the processor is made to perform one or more steps in any one of the above methods.
本领域技术人员能够领会,结合本文公开描述的各种说明性逻辑框、模块和算法步骤所描述的功能可以硬件、软件、固件或其任何组合来实施。如果以软件来实施,那么各种说明性逻辑框、模块、和步骤描述的功能可作为一或多个指令或代码在计算机可读媒体上存储或传输,且由基于硬件的处理单元执行。计算机可读媒体可包含计算机可读存储媒体,其对应于有形媒体,例如数据存储媒体,或包括任何促进将计算机程序从一处传送到另一处的媒体(例如,基于通信协议)的通信媒体。以此方式,计算机可读媒体大体上可对应于(1)非暂时性的有形计算机可读存储媒体,或(2)通信媒体,例如信号或载波。数据存储媒体可为可由一或多个计算机或一或多个处理器存取以检索用于实施本申请中描述的技术的指令、代码和/或数据结构的任何可用媒体。计算机程序产品可包含计算机可读媒体。Those skilled in the art would appreciate that the functions described in conjunction with the various illustrative logical blocks, modules, and algorithm steps disclosed herein may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described by the various illustrative logical blocks, modules, and steps may be stored or transmitted as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which correspond to tangible media, such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another (eg, based on a communication protocol) . In this manner, a computer-readable medium may generally correspond to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium, such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this application. A computer program product may include a computer readable medium.
作为实例而非限制,此类计算机可读存储媒体可包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储装置、磁盘存储装置或其它磁性存储装置、快闪存储器或可用来存储指令或数据结构的形式的所要程序代码并且可由计算机存取的任何其它媒体。并且,任何连接被恰当地称作计算机可读媒体。举例来说,如果使用同轴缆线、光纤缆线、双绞线、数字订户线(digital subscriber line,DSL)或例如红外线、无线电和微波等无线技术从网站、服务器或其它远程源传输指令,那么同轴缆线、光纤缆线、双绞线、DSL或例如红外线、无线电和微波等无线技术包含在媒体的定义中。但是,应理解,所述计算机可读存储媒体和数据存储媒体并不包括连接、载波、信号或其它暂时媒体,而是实际上针对于非暂时性有形存储媒体。如本文中所使用,磁盘和光盘包含压缩光盘(compact disc,CD)、激光光盘、光学光盘、数字多功 能光盘(digital versatile disc,DVD)和蓝光光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光以光学方式再现数据。以上各项的组合也应包含在计算机可读媒体的范围内。By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk or other magnetic storage, flash memory, or any other medium that can contain the desired program code in the form of a computer and can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server or other remote source using coaxial cables, fiber optic cables, twisted pair cables, digital subscriber lines (DSL), or wireless technologies such as infrared, radio, and microwaves, Then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of media. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead directed to non-transitory, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD) and Blu-ray disc, where disks usually reproduce data magnetically and Optical discs use laser light to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.
可通过例如一或多个DSP、通用微处理器、ASIC、FPGA或其它等效集成或离散逻辑电路等一或多个处理器来执行指令。因此,如本文中所使用的术语“处理器”可指前述结构或适合于实施本文中所描述的技术的任一其它结构中的任一者。另外,在一些方面中,本文中所描述的各种说明性逻辑框、模块、和步骤所描述的功能可以提供于经配置以用于编码和解码的专用硬件和/或软件模块内,或者并入在组合编解码器中。而且,所述技术可完全实施于一或多个电路或逻辑元件中。Instructions may be executed by one or more processors, such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits. Accordingly, the term "processor," as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. Additionally, in some aspects, the functionality described by the various illustrative logical blocks, modules, and steps described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or in conjunction with into the combined codec. Also, the techniques may be fully implemented in one or more circuits or logic elements.
本申请的技术可在各种各样的装置或设备中实施,包含无线手持机、集成电路(integrated circuit,IC)或一组IC(例如,芯片组)。本申请中描述各种组件、模块或单元是为了强调用于执行所揭示的技术的装置的功能方面,但未必需要由不同硬件单元实现。实际上,如上文所描述,各种单元可结合合适的软件和/或固件组合在编码硬件单元中,或者通过互操作硬件单元(包含如上文所描述的一或多个处理器)来提供。The techniques of the present application may be implemented in a wide variety of devices or devices, including a wireless handset, an integrated circuit (IC), or a group of ICs (eg, a chipset). Various components, modules, or units are described in this application to emphasize functional aspects of means for performing the disclosed techniques, but do not necessarily require realization by different hardware units. Indeed, as described above, the various units may be combined in coded hardware units in conjunction with suitable software and/or firmware, or provided by interoperable hardware units comprising one or more processors as described above.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应步骤过程的具体描述,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the specific description of the corresponding steps in the foregoing method embodiments, which will not be repeated here. repeat.
应理解,在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。同时,在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。It should be understood that in the description of this application, unless otherwise specified, "/" means that the objects associated with each other are an "or" relationship, for example, A/B can mean A or B; where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple . In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. To be precise, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner for easy understanding.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。所显示或讨论的相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the division of this unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored, or not implement. The mutual coupling, or direct coupling, or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或 者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者通过该计算机可读存储介质进行传输。该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是ROM,或RAM,或磁性介质,例如,软盘、硬盘、磁带、磁碟、或光介质,例如,数字通用光盘DVD、或者半导体介质,例如,固态硬盘(solid state disk,SSD)等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions can be sent from one website site, computer, server or data center to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, DSL) or wireless (such as infrared, wireless, microwave, etc.) Center for transmission. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. This available medium can be ROM, or RAM, or magnetic medium, for example, floppy disk, hard disk, magnetic tape, magnetic disk, or optical medium, for example, digital versatile disk DVD, or semiconductor medium, for example, solid state disk (solid state disk, SSD) )wait.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of the embodiment of the application, but the protection scope of the embodiment of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the application shall be covered by this application. Within the scope of protection of the application examples. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims.
Claims (29)
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210001956 | 2022-01-04 | ||
| CN202210001956.8 | 2022-01-04 | ||
| CN202210336394.2A CN116456472A (en) | 2022-01-04 | 2022-03-31 | Channel allocation method, related device and system |
| CN202210336394.2 | 2022-03-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023131006A1 true WO2023131006A1 (en) | 2023-07-13 |
Family
ID=87073105
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/142405 Ceased WO2023131006A1 (en) | 2022-01-04 | 2022-12-27 | Channel allocation method, related apparatus and system |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2023131006A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104703281A (en) * | 2013-12-06 | 2015-06-10 | 华为技术有限公司 | Channel distributing method, channel distributing device and Wireless Local Area Network system |
| CN106797659A (en) * | 2014-11-13 | 2017-05-31 | 英特尔Ip公司 | Method for Signaling of Channel Resource Allocation and High Efficiency WI‑FI (HEW) Station and Access Point (AP) |
| CN107071912A (en) * | 2017-04-17 | 2017-08-18 | 北京星网锐捷网络技术有限公司 | A kind of method and apparatus for distributing channel in a wireless local area network |
| CN113810909A (en) * | 2020-06-16 | 2021-12-17 | 华为技术有限公司 | Channel allocation method and device and storage medium |
-
2022
- 2022-12-27 WO PCT/CN2022/142405 patent/WO2023131006A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104703281A (en) * | 2013-12-06 | 2015-06-10 | 华为技术有限公司 | Channel distributing method, channel distributing device and Wireless Local Area Network system |
| CN106797659A (en) * | 2014-11-13 | 2017-05-31 | 英特尔Ip公司 | Method for Signaling of Channel Resource Allocation and High Efficiency WI‑FI (HEW) Station and Access Point (AP) |
| CN107071912A (en) * | 2017-04-17 | 2017-08-18 | 北京星网锐捷网络技术有限公司 | A kind of method and apparatus for distributing channel in a wireless local area network |
| CN113810909A (en) * | 2020-06-16 | 2021-12-17 | 华为技术有限公司 | Channel allocation method and device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11638226B2 (en) | Method and device for processing synchronization signal block information and communication device | |
| JP6038348B2 (en) | Resource allocation method, apparatus and program for inter-device communication | |
| KR102197555B1 (en) | Apparatus and method in wireless communication system | |
| EP3975461B1 (en) | Resource determination method and apparatus | |
| CN105917698B (en) | Method and apparatus for coordinating resource scheduling among wireless networks | |
| EP3996416B1 (en) | Switching method and communication apparatus | |
| WO2015127880A1 (en) | Base station frequency resource allocation method and network device | |
| WO2015131677A1 (en) | Method and device for constructing virtual cell and selecting cooperative node | |
| JP6424887B2 (en) | Apparatus, method and user equipment in wireless communication system | |
| US12452774B2 (en) | Method and apparatus for SSID and wireless communication management | |
| WO2019206073A1 (en) | Electronic device and method for wireless communication, and computer-readable storage medium | |
| CN105025525A (en) | A channel load balancing system and method for a multi-channel wireless local area network | |
| WO2020125575A1 (en) | Electronic device and method for wireless communication, and computer-readable storage medium | |
| CN114391267A (en) | Quality of Service (QoS) based wireless coverage map | |
| CN105393604B (en) | radio channel communication | |
| US11223962B2 (en) | Dynamic channel assignment driven by client analytics | |
| CN104135759B (en) | The secondary user's dynamic power control method communicated for near-field communication or D2D | |
| WO2023000820A1 (en) | Cell selection method, apparatus and system | |
| WO2023131006A1 (en) | Channel allocation method, related apparatus and system | |
| CN116456472A (en) | Channel allocation method, related device and system | |
| CN114158078B (en) | Network slice management method, device and computer readable storage medium | |
| WO2024067003A1 (en) | Interference control method and apparatus | |
| CN117642983A (en) | Method and device for reporting beam measurement results | |
| US12149975B2 (en) | Data acquisition in a communication network | |
| WO2024012207A1 (en) | Direct communication interface resource determination method, terminal and network device |
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: 22918448 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: 22918448 Country of ref document: EP Kind code of ref document: A1 |