WO2019201330A1 - 负载均衡 - Google Patents

负载均衡 Download PDF

Info

Publication number
WO2019201330A1
WO2019201330A1 PCT/CN2019/083400 CN2019083400W WO2019201330A1 WO 2019201330 A1 WO2019201330 A1 WO 2019201330A1 CN 2019083400 W CN2019083400 W CN 2019083400W WO 2019201330 A1 WO2019201330 A1 WO 2019201330A1
Authority
WO
WIPO (PCT)
Prior art keywords
load value
load
difference
aps
value
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
Application number
PCT/CN2019/083400
Other languages
English (en)
French (fr)
Inventor
高星超
李大鲲
凌银川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Publication of WO2019201330A1 publication Critical patent/WO2019201330A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Definitions

  • WLAN Wireless Local Area Network
  • APs Access Point
  • an AC Access Controller
  • the APs are controlled to access each AP in a balanced manner according to the collected load information of each AP.
  • FIG. 1 is a schematic flowchart of a load balancing method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a load balancing method according to another embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a load balancing apparatus according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an AP according to an embodiment of the present application.
  • the embodiment of the present application provides a load balancing method, device, AP, and machine readable storage medium.
  • the load balancing method provided by the embodiment of the present application is first introduced.
  • the load balancing method provided by the embodiment of the present application can be applied to an AP in a WLAN.
  • the WLAN networking environment does not include an AC.
  • Each AP can be configured separately.
  • Each AP can be managed independently.
  • the AP can include a core processing chip with a configuration function.
  • the WLAN networking environment can be a FatAP networking environment.
  • the AP of the load balancing method provided by the embodiment of the present application may be a FatAP.
  • the manner of implementing the load balancing method provided by the embodiment of the present application may be at least one of software, hardware circuits, and logic circuits disposed in the AP.
  • a load balancing method provided by an embodiment of the present application may include the following steps:
  • the APs that perform the load balancing method provided by the embodiments of the present application may be FatAPs in the FatAP networking environment, or may be APs with autonomous configuration functions. In these networking environments, no AC configuration is required. The structure is simpler than the AC+FitAP (thin AP) networking environment.
  • the AP as the execution subject acquires the load value of other APs, which may be active acquisition, or may passively receive information of load values sent by other APs.
  • Each AP provides a wireless service to the terminal, and provides an AP with the same wireless service.
  • the service parameters are the same, and the service parameters may be SSID (Service Set Identifier), encryption, and authentication mode.
  • Each AP can broadcast its own service parameters, so that the AP that receives the service parameters can determine whether the received service parameters are the same as their own service parameters by comparison, and then determine whether the provided wireless services are the same.
  • an AP can perform load balancing calculation based on the obtained load values of other APs. First, it is determined whether the load value of the AP is greater than all the obtained load values. The AP has the highest number of terminals that are currently connected, and the AP has the highest probability of accessing the terminal. In this case, if the difference between the load value of the AP and the obtained load value is greater than the first preset threshold, The difference indicates that the load of each AP is unbalanced. Since the AP has the highest terminal access probability, you can consider reducing the terminal access probability of the AP.
  • the terminal access probability of the AP is the probability that the terminal selects the access.
  • the terminal selects the AP with a larger transmit power and a stronger Received Signal Strength Indication (RSI). Therefore, the terminal access probability is higher.
  • the larger the transmit power of the AP the stronger the RSSI (Received Signal Strength Indication). Based on this, the AP's transmit power, RSSI, and other parameters affecting the terminal access probability can be adjusted, so that the AP with a lower access probability and a smaller load can share the access terminal, thereby achieving load balancing.
  • RSSI Received Signal Strength Indication
  • the method for reducing the access probability of the terminal is mainly implemented by reducing the transmit power.
  • the edge AP refers to the AP deployed at the edge of the network. Because these APs need to ensure network coverage, the blind spots that cover the coverage are prevented. Zones, so these APs should not be involved in load balancing adjustments.
  • the load balancing process is performed only when it is not an edge AP. You can define whether you are an edge AP by naming configuration, or you can determine whether it is an edge AP by location detection. If there is no difference between the load value of the AP and the obtained load value that is greater than the first preset threshold or the AP is an edge AP, the terminal access probability is not adjusted.
  • the AP has received fewer terminals, and compares with the obtained load values that are greater than the load value of the AP. If the difference between the load value of the load value of the AP and the load value of the AP is greater than the difference between the second preset threshold, the AP is not balanced with other APs, and the AP accesses the terminal. If the load is low and the load is low, you can consider increasing the terminal access probability of the AP, so that the new terminal can access the AP.
  • the first preset threshold value may be the same as or different from the second preset threshold value.
  • the terminal access probability is not adjusted.
  • the terminal access probability of the AP can be adjusted by adjusting the parameters such as the transmit power and RSSI to affect the terminal access probability.
  • the AP can be connected more. Enter the terminal.
  • the AP obtains the load value of the other APs that are the same as the wireless service provided by the AP, and determines whether the load value of the AP is greater than all the acquired load values. If both are greater than, the load on the AP is used. If a difference between the value and the obtained load value is greater than the first preset threshold, and the AP is not the edge AP, the preset load policy for reducing the terminal access probability is performed; If the difference between the load value of the load value of the AP and the load value of the AP is greater than the second preset threshold value, the preset is used to improve. The load policy of the terminal access probability.
  • the load value of the AP is greater than the load value of the other APs that provide the same wireless service, and the difference between the load value of the AP and the acquired load value is greater than the difference between the first preset threshold, If the AP is not an edge AP, the AP has the highest terminal access probability and the number of terminals that have been accessed is too large. Therefore, the terminal that has not been accessed can share the terminal with low access probability and access terminals.
  • a preset load policy for reducing the access probability of the terminal is performed; if the load value of the AP is not greater than the load value of other APs providing the same wireless service, and the If there is a difference between the load value of the load value of the AP and the load value of the AP that is greater than the second preset threshold, the AP has a lower terminal access probability and is already connected.
  • the number of terminals is very small. Therefore, if the terminal that has not been accessed can share the access to the AP, the preset load policy for improving the access probability of the terminal is performed, so that the original terminal has a low probability of access and is connected. Terminal access of an AP with a small number of incoming terminals The rate can be improved, and the terminal can share the access to such an AP, thereby achieving the purpose of load balancing between APs.
  • whether the difference between the load value of the AP and the acquired load value is greater than the first preset gate may be determined by: The difference between the limits:
  • the first step it is determined whether the difference between the load value of the AP and the minimum load value among the acquired load values is greater than the first preset threshold. If yes, the second step is performed; otherwise, the third step is performed.
  • the second step it is determined that there is a difference between the load value of the AP and the acquired load value that is greater than the first preset threshold.
  • the third step it is determined that there is no difference between the load value of the AP and the acquired load value that is greater than the first preset threshold.
  • the process of determining whether the difference between the load value of the AP and the acquired load value is greater than the difference of the first preset threshold may be that the AP adds its own load value to each acquired value.
  • the load values are respectively poor, and it is determined whether there is a difference between the differences that is greater than the first preset threshold.
  • each load value needs to participate in the operation, the operation takes a long time, and the efficiency is low. Therefore, the difference between the load value of the AP and the minimum load value among the acquired load values is judged. Can significantly improve the efficiency of the operation.
  • the step of performing a preset load policy for reducing the access probability of the terminal may be performed by performing at least one of the following four operations:
  • the first operation reduces the transmit power of the AP.
  • the second operation increases the transmission interval of the beacon frame.
  • the probe request message and the connection request message sent by the terminal are randomly discarded.
  • the fourth operation increases the threshold of the RSSI of the terminal access.
  • the APs with higher terminal access probability have shorter transmission intervals for beacon frames (beacon frames) than other APs. Therefore, the method of reducing the terminal access probability can be reduced by transmitting. Power, increase the beacon frame transmission interval, and increase the RSSI threshold of the terminal access. At the same time, the device can also randomly discard the probe request packet (probe request packet) and the association request packet sent by the received terminal. (Connection request message).
  • whether the difference between the obtained load value greater than the load value of the AP and the load value of the AP is greater than the second preset gate may be determined by: The difference between the limits:
  • the first step it is determined whether the difference between the obtained maximum load value and the load value of the AP is greater than a second preset threshold. If yes, the second step is performed; otherwise, the third step is performed.
  • the second step it is determined that a difference between the obtained load value greater than the load value of the AP and the load value of the AP is greater than a second preset threshold value.
  • the third step it is determined that the difference between the obtained load value greater than the load value of the AP and the load value of the AP does not exist greater than the second preset threshold value.
  • the process of determining whether the difference between the maximum load value and the load value of the AP is greater than the second preset threshold may be that the AP obtains the respective load values respectively.
  • the load value of the AP is poor, and it is determined whether there is a difference between the differences that is greater than a second preset threshold.
  • each load value needs to participate in the calculation, which takes a long time and is inefficient. Therefore, judging the difference between the obtained maximum load value and the load value of the AP can significantly improve the operation efficiency.
  • performing a preset load policy for improving a terminal access probability may be performed by performing at least one of the following three operations:
  • the first operation increases the transmit power of the AP.
  • the second operation reduces the transmission interval of the beacon frame.
  • the third operation reduces the threshold of the RSSI of the terminal access.
  • the terminal access probability of the AP can be improved by increasing the transmit power, reducing the beacon frame transmission interval, and lowering the RSSI threshold of the terminal access.
  • the application further provides a load balancing method of another embodiment. As shown in FIG. 2, the following steps may be included.
  • S201 Scan, on the channel on which the AP works, whether there are other APs that are the same as the wireless service provided by the AP.
  • the AP Before performing load balancing, the AP can start channel scanning to detect whether there are other APs on the working channel. If there are no other APs, no multiple APs need load sharing in the current networking environment. There is no need to initiate a load balancing process.
  • the wireless services provided by these APs are the same as the wireless services provided by themselves, that is, whether the SSIDs are the same, whether the encryption and authentication methods are the same, and the like. If there are other APs that are the same as the wireless service provided by the AP, it indicates that multiple APs provide the same wireless service to the terminal, and the load may be unbalanced. Therefore, load balancing processing is required for these APs.
  • the detected other APs can be added to the load balancing group maintained by the AP.
  • the load balancing group contains the same APs as the wireless services provided by the AP. Therefore, load balancing is performed.
  • the other APs in the load balancing group can be uniformly processed without determining whether the wireless service is the same every time, thereby effectively improving the efficiency of the method execution.
  • the AP may group other APs based on the received service parameters sent by other APs, and the APs that provide the same wireless service as the AP may be divided into the same load balancing group.
  • S203 Send a probe request message to other APs in the load balancing group, so that other APs reply to the probe response message carrying the load value after receiving the probe request message.
  • the AP actively obtains the load value of the other APs that provide the same wireless service, and may send the probe request packet to the other APs in the load balancing group.
  • the probe request packet is equivalent to a trigger packet to trigger the load balancing group.
  • the other APs reply to their load values.
  • the AP can send only one probe request packet to other APs in the load balancing group. However, when a probe request packet is sent to other APs in the load balancing group, packet loss may occur. Therefore, the AP can also periodically send probe request packets to other APs in the load balancing group.
  • S203 may specifically include:
  • the first step is to identify the BSSID (Basic Service Set Identifier) information of other APs in the load balancing group.
  • BSSID Basic Service Set Identifier
  • the IP address information of other APs is obtained by searching for an ARP (Address Resolution Protocol) entry corresponding to the BSSID information.
  • ARP Address Resolution Protocol
  • the third step is to establish a UDP (User Datagram Protocol) tunnel with other APs based on the obtained IP address information.
  • UDP User Datagram Protocol
  • the probe request packet is sent to other APs through the UDP tunnel.
  • the AP can obtain the load value of other APs in the load balancing group by using the BSSID information of the load balancing group.
  • the AP can find the ARP entry corresponding to the BSSID information and obtain the IP address information of other APs in the load balancing group.
  • a UDP tunnel established between the two can send probe request packets to other APs in the load balancing group.
  • the other APs After receiving the probe request packet, the other APs will reply the probe response packet to the AP that sends the probe request packet.
  • the S204 may be specifically: receiving, by using a UDP tunnel, a probe response message replied by other APs.
  • the probe response message replied by other APs may be received through a UDP tunnel.
  • the other APs in the load balancing group After receiving the probe request packet, the other APs in the load balancing group will send a probe response packet to the AP that sends the probe request packet.
  • the probe response packet carries the load value of the other AP itself. In this way, the load value of other APs providing the same wireless service can be directly extracted from the received probe response message.
  • the AP may first initiate channel scanning before performing load balancing, and presence and self-provided wireless on the channel on which the working data is scanned.
  • the load balancing process is started, so that the APs that provide the same wireless service can be uniformly processed without determining whether the wireless service is the same every time, thereby effectively improving the execution efficiency.
  • the embodiment of the present application provides a load balancing device.
  • the load balancing device may include:
  • the obtaining module 310 is configured to acquire a load value of another AP that is the same as the wireless service provided by the AP itself;
  • the determining module 320 is configured to determine whether the load value of the AP is greater than all acquired load values
  • the lowering module 330 is configured to: if the determination result of the determining module 320 is YES, the difference between the load value of the AP and the obtained load value is greater than a difference between the first preset threshold, and the AP When not an edge AP, a preset load policy for reducing the probability of terminal access is performed;
  • the improvement module 340 is configured to: if the determination result of the determination module 320 is negative, the difference between the obtained load value greater than the load value of the AP and the load value of the AP is greater than the second preset threshold value. When the difference is performed, a preset load policy for improving the access probability of the terminal is executed.
  • the device may further include:
  • a scanning module configured to scan, on a channel on which the AP works, whether another AP that is the same as the wireless service provided by the AP exists;
  • the other APs that are scanned are added to the load balancing group;
  • the obtaining module 310 is specifically configured to:
  • the load value of other APs is extracted from the received probe response message.
  • the obtaining module 310 is specifically configured to:
  • the IP address information of other APs is obtained by searching for ARP entries corresponding to the BSSID information.
  • the probe response message replied by other APs is received through the UDP tunnel.
  • the reducing module 330 determines whether there is a difference between the load value of the AP and the acquired load value that is greater than a first preset threshold value by:
  • the improvement module 340 determines, by using the following manner, whether a difference between the acquired load value greater than the load value of the AP itself and the load value of the AP is greater than a second preset threshold value:
  • the lowering module 330 is specifically configured to:
  • the module 340 is specifically configured to:
  • the AP obtains the load value of the other APs that are the same as the wireless service provided by the AP, and determines whether the load value of the AP is greater than all the acquired load values. If both are greater than, the load value of the AP is used. If there is a difference between the difference between the obtained threshold values and the first preset threshold, and the AP is not an edge AP, the preset load policy for reducing the terminal access probability is executed; If the difference between the load value of the AP and the load value of the AP is greater than the second preset threshold, the preset is used to improve the terminal. Load strategy for access probability.
  • the load value of the AP is greater than the load value of the other APs that provide the same wireless service, and the difference between the load value of the AP and the acquired load value is greater than the difference between the first preset threshold, If the AP is not an edge AP, the AP has the highest terminal access probability and the number of terminals that have been accessed is too large. Therefore, the terminal that has not been accessed can share the terminal with low access probability and access terminals.
  • a preset load policy for reducing the access probability of the terminal is performed; if the load value of the AP is not greater than the load value of other APs providing the same wireless service, and the If there is a difference between the load value of the load value of the AP and the load value of the AP that is greater than the second preset threshold, the AP has a lower terminal access probability and is already connected.
  • the number of terminals is very small. Therefore, if the terminal that has not been accessed can share the access to the AP, the preset load policy for improving the access probability of the terminal is performed, so that the original terminal has a low probability of access and is connected. Terminal access of APs with fewer terminals Rate is increased, the terminal may share access to such AP, to achieve the purpose of load balancing between the AP.
  • the embodiment of the present application further provides an AP, which may be a FatAP, as shown in FIG. 4, including a processor 41 and a machine readable storage medium 42, and implementing information between the processor 41 and the machine readable storage medium 42.
  • AP which may be a FatAP, as shown in FIG. 4, including a processor 41 and a machine readable storage medium 42, and implementing information between the processor 41 and the machine readable storage medium 42.
  • Interactive system bus 43 may be a FatAP, as shown in FIG. 4, including a processor 41 and a machine readable storage medium 42, and implementing information between the processor 41 and the machine readable storage medium 42.
  • the machine readable storage medium 42 stores machine executable instructions executable by the processor 41, the machine executable instructions including: an acquisition instruction 421, a determination instruction 422, a reduction instruction 423, and an improvement instruction 424;
  • the processor 41 is caused by the acquisition instruction 421 to implement: obtaining the load value of other APs that are the same as the wireless service provided by the AP itself;
  • the processor 41 is determined by the instruction 422 to implement: determining whether the load value of the AP is greater than all the acquired load values;
  • the processor 41 is caused to be implemented by the lowering instruction 423. If the determination result of the determining instruction is yes, the difference between the load value of the AP and the acquired load value is greater than the difference of the first preset threshold. And when the AP is not an edge AP, performing a preset load policy for reducing the terminal access probability;
  • the processor 41 is caused to be implemented by the raising command 424. If the determining result of the determining command is negative, the difference between the obtained load value greater than the load value of the AP and the load value of the AP is greater than the second preset. When the difference of the threshold values is performed, a preset load policy for improving the access probability of the terminal is executed.
  • the above machine-readable storage medium may include a RAM (Random Access Memory), and may also include an NVM (Non-volatile Memory) such as at least one disk storage.
  • the machine readable storage medium may also be at least one storage device located remotely from the processor.
  • the processor may be a general-purpose processor, including a CPU (Central Processing Unit), an NP (Network Processor), or the like; or a DSP (Digital Signal Processing) or an ASIC (Application) Specific Integrated Circuit, FPGA (Field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application) Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • other programmable logic device discrete gate or transistor logic device, discrete hardware components.
  • the processor can implement: the AP acquires other APs that are the same as the wireless service provided by the AP.
  • the load value is used to determine whether the load value of the AP is greater than the obtained load value. If the load is greater than, the difference between the load value of the AP and the obtained load value is greater than the first preset threshold.
  • the preset load policy for reducing the access probability of the terminal is executed; if not, the obtained load value greater than the load value of the AP is When there is a difference between the difference of the load values of the APs that is greater than the second preset threshold, the preset load policy for improving the access probability of the terminal is executed. If the load value of the AP is greater than the load value of the other APs that provide the same wireless service, and the difference between the load value of the AP and the acquired load value is greater than the difference between the first preset threshold, If the AP is not an edge AP, the AP has the highest terminal access probability and the number of terminals that have been accessed is too large.
  • the terminal that has not been accessed can share the terminal with low access probability and access terminals. If a small number of APs are connected, a preset load policy for reducing the access probability of the terminal is performed; if the load value of the AP is not greater than the load value of other APs providing the same wireless service, and the If there is a difference between the load value of the load value of the AP and the load value of the AP that is greater than the second preset threshold, the AP has a lower terminal access probability and is already connected. The number of terminals is very small.
  • the preset load policy for improving the access probability of the terminal is performed, so that the original terminal has a low probability of access and is connected.
  • Terminal access of an AP with a small number of incoming terminals The rate can be improved, and the terminal can share the access to such an AP, thereby achieving the purpose of load balancing between APs.
  • the embodiment of the present application provides a machine readable storage medium, where the machine readable storage medium stores the machine executable instructions, and the machine executable instructions are executed by the processor. Apply all the steps of the load balancing method provided by the embodiment.
  • the machine readable storage medium stores the machine executable instructions that perform the load balancing method provided by the embodiment of the present application at runtime, so that the AP can obtain other APs that are the same as the wireless service provided by the AP.
  • the load value is determined whether the load value of the AP is greater than the obtained load value. If the load value is greater than, the difference between the load value of the AP and the obtained load value is greater than the first preset threshold.
  • the preset load policy for improving the access probability of the terminal is executed. If the load value of the AP is greater than the load value of the other APs that provide the same wireless service, and the difference between the load value of the AP and the acquired load value is greater than the difference between the first preset threshold, If the AP is not an edge AP, the AP has the highest terminal access probability and the number of terminals that have been accessed is too large.
  • the terminal that has not been accessed can share the terminal with low access probability and access terminals. If a small number of APs are connected, a preset load policy for reducing the access probability of the terminal is performed; if the load value of the AP is not greater than the load value of other APs providing the same wireless service, and the If there is a difference between the load value of the load value of the AP and the load value of the AP that is greater than the second preset threshold, the AP has a lower terminal access probability and is already connected. The number of terminals is very small.
  • the preset load policy for improving the access probability of the terminal is performed, so that the original terminal has a low probability of access and is connected.
  • Terminal access of an AP with a small number of incoming terminals The rate can be improved, and the terminal can share the access to such an AP, thereby achieving the purpose of load balancing between APs.

Landscapes

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

Abstract

本申请实施例提供了一种负载均衡的方法、AP及机器可读存储介质,获取与AP提供的无线服务相同的其他AP的负载值;判断该AP的负载值是否均大于获取到的所有负载值;若是,则在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;否则,在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。通过本申请实施例,可实现在不包含AC的网络环境下,各AP之间的负载均衡。

Description

负载均衡
本申请要求于2018年4月19日提交中国专利局、申请号为201810355126.9发明名称为“一种负载均衡方法、装置、AP及机器可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
背景技术
随着WLAN(Wireless Local Area Network,无线局域网)技术的快速发展,在机场、酒店、展馆等公共场所中,存在大量的终端,通过配置多台AP(Access Point,接入点)来均衡这些终端。
在WLAN组网环境中,配置有一台AC(Access Controller,接入控制器),由AC收集各AP的负载信息,根据收集到的各AP的负载信息,控制各终端均衡地接入各AP。
附图简要说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对本申请实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请一实施例的负载均衡方法的流程示意图;
图2为本申请另一实施例的负载均衡方法的流程示意图;
图3为本申请实施例的负载均衡装置的结构示意图;
图4为本申请实施例的AP的结构示意图。
具体实施方式
为使本申请实施例的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请实施例进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供了一种负载均衡方法、装置、AP及机器可读存储介质。下面,首先对本申请实施例所提供的负载均衡方法进行介绍。
本申请实施例所提供的负载均衡方法可以应用于WLAN中的AP。该WLAN组网环境中不包含AC,各AP可单独进行配置,各AP独立管理,AP中可以包括具有配置功能的核心处理芯片,具体的,WLAN组网环境可以为FatAP组网环境,则执行本申请实施例所提供的负载均衡方法的AP可以为FatAP。实现本申请实施例所提供的负载均衡方法的方式可以为设置于AP中的软件、硬件电路和逻辑电路中的至少一种。
如图1所示,本申请实施例所提供的一种负载均衡方法,可以包括如下步骤:
S101,获取与AP提供的无线服务相同的其他AP的负载值。
执行本申请实施例所提供的负载均衡方法的AP可以为FatAP组网环境中的FatAP,也可以为具有自主配置功能的AP,在这些组网环境下,不需要再布局一个AC进行配置,网络结构相较于AC+FitAP(瘦AP)组网环境更为简单。作为执行主体的AP获取其他AP的负载值可以是主动获取,也可以是被动接收由其他AP发来的负载值的信息。
各AP向终端提供无线服务,提供相同无线服务的AP,其服务参数相同,服务参数可以为SSID(Service Set Identifier,服务集标识)、加密和认证方式等。每个AP可以广播自身的服务参数,这样,接收到该服务参数的AP可以通过对比来确定接收到的服务参数是否与自身的服务参数相同,进而判断提供的无线服务是否相同。
S102,判断该AP的负载值是否均大于获取到的所有负载值,若是,则执行S103,否则执行S104。
S103,在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略。
一个AP在获取到其他AP的负载值后,可以根据获取到的其他AP的负载值进行负载均衡计算,首先判断该AP的负载值是否均大于获取到的所有负载值,如果均大于,则说明该AP目前已接入的终端数量最多、该AP的终端接入概率最高,此时,若该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,则说明各AP负载不均衡,由于该AP的终端接入 概率最高,可以考虑将该AP的终端接入概率降低。
AP的终端接入概率为终端选择接入的概率,终端会选择发射功率更大、RSSI(Received Signal Strength Indication,接收信号强度指示)更强的AP接入,因此,终端接入概率越高的AP,其发射功率越大、RSSI(Received Signal Strength Indication,接收信号强度指示)越强。基于此,可以通过调整AP的发射功率、RSSI等影响终端接入概率的参数,使得原本接入概率稍低、且负载更小的AP可以分担接入终端,从而达到负载均衡的目的。
由于降低终端接入概率的方式主要是通过降低发射功率实现的,对于边缘AP而言,边缘AP是指部署在网络边缘位置的AP,由于这些AP要保证网络的覆盖,以防止出现覆盖的盲点区域,所以,这些AP不应参与负载均衡的调整。只有在不是边缘AP时,才执行负载均衡的处理。可以通过命名配置来定义自身是否为边缘AP,或者可以通过位置检测判断自身是否为边缘AP。如果在该AP的负载值与获取到的各负载值的差值中不存在大于第一预设门限值的差值或者该AP为边缘AP,则不对终端接入概率进行调整。
S104,在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
如果该AP的负载值不大于获取到的所有负载值,则说明该AP已接入的终端较少,通过与获取到的大于该AP的负载值的各负载值进行比较,如果获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值,则说明该AP与其他AP负载不均衡,且该AP接入的终端较少、负载很低,可以考虑将该AP的终端接入概率提升,进而使得新的终端可以接入该AP。第一预设门限值与第二预设门限值可以相同,也可以不相同。
如果在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中不存在大于第二预设门限值的差值,则不对终端接入概率进行调整。
为了保证各AP之间负载更为均衡,可以通过调整发射功率、RSSI等影响终端接入概率的参数,提高该AP的终端接入概率,通过提高终端接入概率,该AP可以更多的接入终端。
应用本申请实施例,AP通过获取与该AP提供的无线服务相同的其他AP的负载值,判断该AP的负载值是否均大于获取到的所有负载值,若均大于,则在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;若不是均大于,则在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
如果该AP的负载值比其他提供相同无线服务的AP的负载值都大,并且该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值、该AP不为边缘AP,则说明该AP的终端接入概率最高、已接入的终端数量过大,因此,还未接入的终端可以分担到终端接入概率较低、已接入的终端数量较少的AP上接入,则执行预设的用于降低终端接入概率的负载策略;如果该AP的负载值并不是比其他提供相同无线服务的AP的负载值都大,并且获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值,则说明该AP的终端接入概率较低、已接入的终端数量很少,因此,还未接入的终端可以分担到该AP上接入,则执行预设的用于提高终端接入概率的负载策略,从而使得原本终端接入概率较低、已接入的终端数量较少的AP的终端接入概率得以提高,终端可以分担到这类AP上接入,实现了各AP之间负载均衡的目的。
基于图1所示实施例,在本申请的一种可能的实施方式中,可以通过以下方式确定在该AP的负载值与获取到的各负载值的差值中是否存在大于第一预设门限值的差值:
第一步,判断该AP的负载值与获取到的各负载值中的最小负载值之间的差值是否大于第一预设门限值,若是则执行第二步,否则执行第三步。
第二步,确定在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值。
第三步,确定在该AP的负载值与获取到的各负载值的差值中不存在大于第一预设门限值的差值。
上述判断在该AP的负载值与获取到的各负载值的差值中是否存在大于第一预设门限值的差值的过程还可以是,该AP将自身的负载值与获取到的各负载值分别做差,判断这些差值中是否存在大于第一预设门限值的差值。这样的判断过程,需要每个负载值都参与运算,运算耗时较长,效率低,因此,对该AP的负载值与获取到的各负载值中的最小负载值之间的差值进行判断,可以明显提高运算效率。
在本申请的另一种可能的实施方式中,执行预设的用于降低终端接入概率的负载策略的步骤,具体可以为执行以下四种操作中的至少一种操作:
第一种操作,降低该AP的发射功率。
第二种操作,增大信标帧的发送间隔。
第三种操作,随机丢弃终端发送的探测请求报文和连接请求报文。
第四种操作,提高终端接入的RSSI的门限值。
终端接入概率更高的AP除了发射功率越大、RSSI越强以外,其发送beacon帧(信标帧)的发送间隔也短于其他AP,因此,降低终端接入概率的方式可以通过降低发射功率、增大beacon帧的发送间隔、提高终端接入的RSSI的门限值等,同时,还可以随机丢弃已接收到的终端发送的probe request报文(探测请求报文)和association request报文(连接请求报文)。
在本申请的另一种可能的实施方式中,可以通过以下方式确定在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中是否存在大于第二预设门限值的差值:
第一步,判断获取到的各负载值中的最大负载值与该AP的负载值之间的差值是否大于第二预设门限值,若是则执行第二步,否则执行第三步。
第二步,确定在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值。
第三步,确定在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中不存在大于第二预设门限值的差值。
上述判断获取到的各负载值中的最大负载值与该AP的负载值之间的差值是否大于第二预设门限值的过程还可以是,该AP将获取到的各负载值分别与该AP的负载值做差,判断这些差值中是否存在大于第二预设门限值的差 值。这样的判断过程,需要每个负载值都参与运算,运算耗时较长,效率低。因此,对获取到的各负载值中的最大负载值与该AP的负载值之间的差值进行判断,可以明显提高运算效率。
在本申请的另一种可能的实施方式中,执行预设的用于提高终端接入概率的负载策略,具体可以为执行以下三种操作中的至少一种操作:
第一种操作,提升该AP的发射功率。
第二种操作,降低信标帧的发送间隔。
第三种操作,降低终端接入的RSSI的门限值。
与降低AP的终端接入概率相对应,可以通过提升发射功率、降低beacon帧的发送间隔、降低终端接入的RSSI的门限值等,实现对AP的终端接入概率的提高。
本申请还提供了另一实施例的负载均衡方法,如图2所示,可以包括如下步骤。
S201,扫描AP自身工作的信道上是否存在与该AP提供的无线服务相同的其他AP。
AP在执行负载均衡之前,首先可以启动信道扫描,检测工作的信道上是否存在其他AP,如果不存在其他AP,则说明在目前的组网环境中,没有多个AP需要负载分担,这样,就不需要启动负载均衡的流程。
如果存在其他AP,则判断这些AP所提供的无线服务是否和自己提供的无线服务相同,也就是判断SSID是否相同、加密和认证方式是否相同等等。如果存在与该AP提供的无线服务相同的其他AP,则说明有多个AP向终端提供相同的无线服务,可能会出现负载不均衡的情况,因此,需要对这些AP进行负载均衡处理。
S202,若该AP工作的信道上存在与该AP提供的无线服务相同的其他AP,则将扫描到的其他AP加入负载均衡组。
如果检测到提供相同无线服务的其他AP,可以将检测到的其他AP加入自身维护的负载均衡组,负载均衡组中包含的是与该AP提供的无线服务相同的AP,因此,在进行负载均衡处理时,可以统一对负载均衡组中的其他AP 进行处理,而不用每次都进行无线服务是否相同的判断,有效提高方法执行的效率。
AP可以基于接收到的其他AP发送的服务参数,来对其他AP进行分组,提供与该AP相同无线服务的AP可以划分为同一个负载均衡组。
S203,向负载均衡组中的其他AP发送探测请求报文,以使其他AP在接收到探测请求报文后回复携带自身负载值的探测响应报文。
AP主动获取提供相同无线服务的其他AP的负载值的方式,可以为主动向负载均衡组中的其他AP发送探测请求报文,探测请求报文相当于一个触发报文,以触发负载均衡组中的其他AP回复其负载值。
AP可以只向负载均衡组中的其他AP发送一次探测请求报文,但是,由于在向负载均衡组中的其他AP发送一次探测请求报文时,可能会发生丢包、AP间连接故障等情况,因此,AP还可以周期性地向负载均衡组中的其他AP发送探测请求报文。
在本申请的一种可能的实施方式中,S203具体可以包括:
第一步,识别负载均衡组中其他AP的BSSID(Basic Service Set Identifier,基础服务集标识)信息。
第二步,通过查找BSSID信息对应的ARP(Address Resolution Protocol,地址解析协议)表项,获得其他AP的IP地址信息。
第三步,基于获得的IP地址信息,与其他AP建立UDP(User Datagram Protocol,用户数据报协议)隧道。
第四步,通过UDP隧道向其他AP发送探测请求报文。
AP可以通过有线方式获取负载均衡组中其他AP的负载值,AP可以通过识别负载均衡组的BSSID信息,查找该BSSID信息对应的ARP表项获得负载均衡组中其他AP的IP地址信息,后续通过两者之间建立的一个UDP隧道,即可向负载均衡组中其他AP发送探测请求报文。
S204,接收其他AP回复的探测响应报文。
其他AP在接收到探测请求报文后,会向发送探测请求报文的AP回复探测响应报文。在本申请的一种可能的实施方式中,S204具体可以为:通过UDP隧道接收其他AP回复的探测响应报文。
相应于上述发送探测请求报文的具体实施方式,可以通过UDP隧道,接收其他AP回复的探测响应报文。
S205,从接收到的探测响应报文中提取其他AP的负载值。
负载均衡组中的其他AP在接收到该探测请求报文后,会向发送探测请求报文的AP回复探测响应报文,该探测响应报文携带有其他AP自身的负载值。这样,可以直接从接收到的探测响应报文中提取得到提供相同无线服务的其他AP的负载值。
S206,判断该AP的负载值是否均大于获取到的所有负载值,若是,则执行S207,否则执行S208。
S207,在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略。
S208,在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
图2所示实施例中的S206至S208与图1所示实施例中的S102至S104的各步骤相同,这里不再赘述。
应用本申请实施例,在图1所示实施例的实现各AP之间负载均衡的基础上,AP在执行负载均衡之前首先可以启动信道扫描,在扫描其工作的信道上存在和自身提供的无线服务相同的AP时,启动负载均衡的流程,这样可以统一对提供相同无线服务的AP进行处理,而不用每次都进行无线服务是否相同的判断,有效提高了执行效率。
相应于上述方法实施例,本申请实施例提供了一种负载均衡装置,如图3所示,该负载均衡装置可以包括:
获取模块310,用于获取与AP自身提供的无线服务相同的其他AP的负载值;
判断模块320,用于判断该AP的负载值是否均大于获取到的所有负载值;
降低模块330,用于若判断模块320的判断结果为是,则在该AP的负载 值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;
提高模块340,用于若判断模块320的判断结果为否,则在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
可选的,该装置还可以包括:
扫描模块,用于扫描AP自身工作的信道上是否存在与该AP提供的无线服务相同的其他AP;
添加模块,用于若扫描模块的扫描结果为该AP自身工作的信道上存在与该AP提供的无线服务相同的其他AP,则将扫描到的其他AP加入负载均衡组;
获取模块310,具体可以用于:
向负载均衡组中的其他AP发送探测请求报文,以使其他AP在接收到探测请求报文后回复携带自身负载值的探测响应报文;
接收其他AP回复的探测响应报文;
从接收到的探测响应报文中提取其他AP的负载值。
可选的,获取模块310,具体可以用于:
识别负载均衡组中其他AP的BSSID信息;
通过查找BSSID信息对应的ARP表项,获得其他AP的IP地址信息;
基于获得的IP地址信息,与其他AP建立UDP隧道;
通过UDP隧道向其他AP发送探测请求报文;
通过UDP隧道接收其他AP回复的探测响应报文。
可选的,降低模块330通过以下方式确定在AP的负载值与获取到的各负载值的差值中是否存在大于第一预设门限值的差值:
判断AP自身的负载值与获取到的各负载值中的最小负载值之间的差值是否大于第一预设门限值;
若是,则确定在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值;
否则,确定在该AP的负载值与获取到的各负载值的差值中不存在大于第 一预设门限值的差值。
可选的,提高模块340通过以下方式确定在获取到的大于AP自身的负载值的各负载值与该AP的负载值的差值中是否存在大于第二预设门限值的差值:
判断获取到的各负载值中的最大负载值与该AP的负载值之间的差值是否大于第二预设门限值;
若是,则确定在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值;
否则,确定在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中不存在大于第二预设门限值的差值。
可选的,降低模块330,具体可以用于:
执行以下操作中的至少一种操作:
降低该AP的发射功率;
增大信标帧的发送间隔;
随机丢弃终端发送的探测请求报文和连接请求报文;
提高终端接入的RSSI的门限值。
可选的,提高模块340,具体可以用于:
执行以下操作中的至少一种操作:
提升该AP的发射功率;
降低信标帧的发送间隔;
降低终端接入的RSSI的门限值。
应用本实施例,AP通过获取与该AP提供的无线服务相同的其他AP的负载值,判断该AP的负载值是否均大于获取到的所有负载值,若均大于,则在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;若不是均大于,则在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。如果该AP的负载值比其他提供相同无线服务的AP的负载值都大,并且该AP的负载值与获取到的各负载值的差值中存在大于第 一预设门限值的差值、该AP不为边缘AP,则说明该AP的终端接入概率最高、已接入的终端数量过大,因此,还未接入的终端可以分担到终端接入概率较低、已接入的终端数量较少的AP上接入,则执行预设的用于降低终端接入概率的负载策略;如果该AP的负载值并不是比其他提供相同无线服务的AP的负载值都大,并且获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值,则说明该AP的终端接入概率较低、已接入的终端数量很少,因此,还未接入的终端可以分担到该AP上接入,则执行预设的用于提高终端接入概率的负载策略,从而使得原本终端接入概率较低、已接入的终端数量较少的AP的终端接入概率得以提高,终端可以分担到这类AP上接入,实现了各AP之间负载均衡的目的。
本申请实施例还提供了一种AP,该AP可以为FatAP,如图4所示,包括处理器41和机器可读存储介质42,以及实现处理器41和机器可读存储介质42之间信息交互的系统总线43。
机器可读存储介质42存储有能够被处理器41执行的机器可执行指令,机器可执行指令包括:获取指令421、判断指令422、降低指令423和提高指令424;
处理器41被获取指令421促使实现:获取与AP自身提供的无线服务相同的其他AP的负载值;
处理器41被判断指令422促使实现:判断该AP的负载值是否均大于获取到的所有负载值;
处理器41被降低指令423促使实现:若判断指令的判断结果为是,则在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;
处理器41被提高指令424促使实现:若判断指令的判断结果为否,则在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
上述机器可读存储介质可以包括RAM(Random Access Memory,随机存取存储器),也可以包括NVM(Non-volatile Memory,非易失性存储器),例如 至少一个磁盘存储器。可选的,机器可读存储介质还可以是至少一个位于远离上述处理器的存储装置。
上述处理器可以是通用处理器,包括CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processing,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
本实施例中,上述处理器通过读取机器可读存储介质中存储的机器可执行指令,并通过运行机器可执行指令,能够实现:AP通过获取与该AP提供的无线服务相同的其他AP的负载值,判断该AP的负载值是否均大于获取到的所有负载值,若均大于,则在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;若不是均大于,则在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。如果该AP的负载值比其他提供相同无线服务的AP的负载值都大,并且该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值、该AP不为边缘AP,则说明该AP的终端接入概率最高、已接入的终端数量过大,因此,还未接入的终端可以分担到终端接入概率较低、已接入的终端数量较少的AP上接入,则执行预设的用于降低终端接入概率的负载策略;如果该AP的负载值并不是比其他提供相同无线服务的AP的负载值都大,并且获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值,则说明该AP的终端接入概率较低、已接入的终端数量很少,因此,还未接入的终端可以分担到该AP上接入,则执行预设的用于提高终端接入概率的负载策略,从而使得原本终端接入概率较低、已接入的终端数量较少的AP的终端接入概率得以提高,终端可以分担到这类AP上接入,实现了各AP之间负载均衡的目的。
相应于上述实施例所提供的负载均衡方法,本申请实施例提供了一种机 器可读存储介质,机器可读存储介质内存储有机器可执行指令,机器可执行指令被处理器执行时实现本申请实施例所提供的负载均衡方法的所有步骤。
本实施例中,机器可读存储介质存储有在运行时执行本申请实施例所提供的负载均衡方法的机器可执行指令,因此能够实现:AP通过获取与该AP提供的无线服务相同的其他AP的负载值,判断该AP的负载值是否均大于获取到的所有负载值,若均大于,则在该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且该AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;若不是均大于,则在获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。如果该AP的负载值比其他提供相同无线服务的AP的负载值都大,并且该AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值、该AP不为边缘AP,则说明该AP的终端接入概率最高、已接入的终端数量过大,因此,还未接入的终端可以分担到终端接入概率较低、已接入的终端数量较少的AP上接入,则执行预设的用于降低终端接入概率的负载策略;如果该AP的负载值并不是比其他提供相同无线服务的AP的负载值都大,并且获取到的大于该AP的负载值的各负载值与该AP的负载值的差值中存在大于第二预设门限值的差值,则说明该AP的终端接入概率较低、已接入的终端数量很少,因此,还未接入的终端可以分担到该AP上接入,则执行预设的用于提高终端接入概率的负载策略,从而使得原本终端接入概率较低、已接入的终端数量较少的AP的终端接入概率得以提高,终端可以分担到这类AP上接入,实现了各AP之间负载均衡的目的。
对于AP以及机器可读存储介质实施例而言,由于其所涉及的方法内容基本相似于前述的方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上实施例仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (9)

  1. 一种负载均衡方法,应用于接入点AP,所述方法包括:
    获取与所述AP提供的无线服务相同的其他AP的负载值;
    判断所述AP的负载值是否均大于获取到的所有负载值;
    若是,则在所述AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且所述AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;
    否则,在获取到的大于所述AP的负载值的各负载值与所述AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
  2. 根据权利要求1所述的方法,所述在获取与所述AP提供的无线服务相同的其他AP的负载值之前,所述方法还包括:
    扫描所述AP工作的信道上是否存在与所述AP提供的无线服务相同的其他AP;
    若存在,则将扫描到的其他AP加入负载均衡组;
    获取与所述AP提供的无线服务相同的其他AP的负载值,包括:
    向所述负载均衡组中的其他AP发送探测请求报文,以使所述其他AP在接收到所述探测请求报文后回复携带自身负载值的探测响应报文;
    接收所述其他AP回复的探测响应报文;
    从接收到的探测响应报文中提取所述其他AP的负载值。
  3. 根据权利要求2所述的方法,所述向所述负载均衡组中的其他AP发送探测请求报文,包括:
    识别所述负载均衡组中其他AP的基础服务集标识BSSID信息;
    通过查找所述BSSID信息对应的地址解析协议ARP表项,获得所述其他AP的IP地址信息;
    基于获得的IP地址信息,与所述其他AP建立用户数据报协议UDP隧道;
    通过所述UDP隧道向所述其他AP发送探测请求报文;
    所述接收所述其他AP回复的探测响应报文,包括:
    通过所述UDP隧道接收所述其他AP回复的探测响应报文。
  4. 根据权利要求1所述的方法,通过以下方式确定在所述AP的负载值与获取到的各负载值的差值中是否存在大于第一预设门限值的差值:
    判断所述AP的负载值与获取到的各负载值中的最小负载值之间的差值是否大于第一预设门限值;
    若是,则确定在所述AP的负载值与获取到的各负载值的差值中存在大于所述第一预设门限值的差值;
    否则,确定在所述AP的负载值与获取到的各负载值的差值中不存在大于所述第一预设门限值的差值。
  5. 根据权利要求1所述的方法,通过以下方式确定在获取到的大于所述AP的负载值的各负载值与所述AP的负载值的差值中是否存在大于第二预设门限值的差值:
    判断获取到的各负载值中的最大负载值与所述AP的负载值之间的差值是否大于第二预设门限值;
    若是,则确定在获取到的大于所述AP的负载值的各负载值与所述AP的负载值的差值中存在大于所述第二预设门限值的差值;
    否则,确定在获取到的大于所述AP的负载值的各负载值与所述AP的负载值的差值中不存在大于所述第二预设门限值的差值。
  6. 根据权利要求1所述的方法,所述执行预设的用于降低终端接入概率的负载策略,包括:
    执行以下操作中的至少一种操作:
    降低所述AP的发射功率;
    增大信标帧的发送间隔;
    随机丢弃终端发送的探测请求报文和连接请求报文;
    提高终端接入的接收信号强度指示RSSI的门限值。
  7. 根据权利要求1所述的方法,所述执行预设的用于提高终端接入概率的负载策略,包括:
    执行以下操作中的至少一种操作:
    提升所述AP的发射功率;
    降低信标帧的发送间隔;
    降低终端接入的RSSI的门限值。
  8. 一种接入点AP,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,所述机器可执行指令包括:获取指令、判断指令、降低指令和提高指令;
    所述处理器被所述获取指令促使实现:获取与所述AP提供的无线服务相同的其他AP的负载值;
    所述处理器被所述判断指令促使实现:判断所述AP的负载值是否均大于获取到的所有负载值;
    所述处理器被所述降低指令促使实现:若所述判断指令的判断结果为是,则在所述AP的负载值与获取到的各负载值的差值中存在大于第一预设门限值的差值,且所述AP不为边缘AP时,执行预设的用于降低终端接入概率的负载策略;
    所述处理器被所述提高指令促使实现:若所述判断指令的判断结果为否,则在获取到的大于所述AP的负载值的各负载值与所述AP的负载值的差值中存在大于第二预设门限值的差值时,执行预设的用于提高终端接入概率的负载策略。
  9. 一种机器可读存储介质,所述机器可读存储介质内存储有机器可执行指令,所述机器可执行指令被处理器执行时实现权利要求1-7任一所述的方法 步骤。
PCT/CN2019/083400 2018-04-19 2019-04-19 负载均衡 Ceased WO2019201330A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810355126.9A CN108616929B (zh) 2018-04-19 2018-04-19 一种负载均衡方法、装置、ap及机器可读存储介质
CN201810355126.9 2018-04-19

Publications (1)

Publication Number Publication Date
WO2019201330A1 true WO2019201330A1 (zh) 2019-10-24

Family

ID=63660439

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/083400 Ceased WO2019201330A1 (zh) 2018-04-19 2019-04-19 负载均衡

Country Status (2)

Country Link
CN (1) CN108616929B (zh)
WO (1) WO2019201330A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616929B (zh) * 2018-04-19 2020-11-27 新华三技术有限公司 一种负载均衡方法、装置、ap及机器可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0995278B1 (en) * 1997-07-21 2006-04-05 Nortel Networks Limited Cellular system traffic allocation and dynamic load balancing
CN1792108A (zh) * 2003-05-16 2006-06-21 国际商业机器公司 根据接入点的动态的发射功率调节在无线接入网络中负载均分的方法和装置
CN1992657A (zh) * 2005-12-26 2007-07-04 中兴通讯股份有限公司 一种无线局域网的负载均衡方法
CN1996909A (zh) * 2005-12-26 2007-07-11 中兴通讯股份有限公司 一种无线局域网中基于静态位置信息的负载均衡方法
CN108616929A (zh) * 2018-04-19 2018-10-02 新华三技术有限公司 一种负载均衡方法、装置、ap及机器可读存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282304B (zh) * 2008-05-22 2011-09-28 杭州华三通信技术有限公司 实现接入点间负载均衡的方法、系统、接入点和移动终端
CN101448336B (zh) * 2008-12-23 2011-04-06 杭州华三通信技术有限公司 无线客户端漫游控制方法、系统和无线接入控制器
CN102802232B (zh) * 2012-07-25 2015-01-21 华为技术有限公司 一种无线接入点接入方法及无线接入点、终端
US9930566B2 (en) * 2014-12-01 2018-03-27 Cellwize Wireless Technologies Ltd. Method of controlling traffic in a cellular network and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0995278B1 (en) * 1997-07-21 2006-04-05 Nortel Networks Limited Cellular system traffic allocation and dynamic load balancing
CN1792108A (zh) * 2003-05-16 2006-06-21 国际商业机器公司 根据接入点的动态的发射功率调节在无线接入网络中负载均分的方法和装置
CN1992657A (zh) * 2005-12-26 2007-07-04 中兴通讯股份有限公司 一种无线局域网的负载均衡方法
CN1996909A (zh) * 2005-12-26 2007-07-11 中兴通讯股份有限公司 一种无线局域网中基于静态位置信息的负载均衡方法
CN108616929A (zh) * 2018-04-19 2018-10-02 新华三技术有限公司 一种负载均衡方法、装置、ap及机器可读存储介质

Also Published As

Publication number Publication date
CN108616929A (zh) 2018-10-02
CN108616929B (zh) 2020-11-27

Similar Documents

Publication Publication Date Title
CN102724727B (zh) 一种动态切换信道的方法和装置
CN104081815B (zh) 用于无线网络的请求-响应过程
EP3259939B1 (en) Access point steering
US8737351B2 (en) Methods and systems for reducing MAC layer handoff latency in wireless networks
CN103891358B (zh) 用于快速初始网络链路设立的系统和方法
US9432848B2 (en) Band steering for multi-band wireless clients
JP5976823B2 (ja) 高速初期ネットワークリンクセットアップのためのシステムおよび方法
US20170273012A1 (en) Wireless local area network scanning method and wireless access point
US20210250811A1 (en) Method for controlling connection between terminal and network, and related apparatus
EP2772099B1 (en) Systems and methods for fast initial network link setup
CN102006653B (zh) 接入控制方法和接入点
CN103918310A (zh) 用于快速初始网络链路设立的系统和方法
CN110996382B (zh) 功率调整方法、装置、存储介质及电子设备
EP2620004A2 (en) System and method for maintaining privacy in a wireless network
WO2013163842A1 (zh) 一种移动终端接入无线接入点的方法和无线接入点
JP6430252B2 (ja) 高速初期ネットワークリンクセットアップのためのシステムおよび方法
WO2015010458A1 (zh) 小区接入方法、装置及系统
CN102265702A (zh) 接入点的待机方法及接入点
WO2019201330A1 (zh) 负载均衡
CN101489279A (zh) 一种无线客户端接入的控制方法和无线接入系统
CN105409280B (zh) 无线局域网接入方法、装置及设备
EP4543085A1 (en) Handover method and device
US20180184301A1 (en) Dynamic Allocation of Radio Resources in a Wireless Networks
KR20220135094A (ko) 액세스 포인트 간의 로밍 방법 및 로밍을 제공하는 단말기
Han Towards Secure, Power-Efficient and Location-Aware Mobile Computing

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: 19788153

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: 19788153

Country of ref document: EP

Kind code of ref document: A1