[go: up one dir, main page]

CN106851728B - Load balancing method and device based on wired port and WDS wireless port - Google Patents

Load balancing method and device based on wired port and WDS wireless port Download PDF

Info

Publication number
CN106851728B
CN106851728B CN201710089367.9A CN201710089367A CN106851728B CN 106851728 B CN106851728 B CN 106851728B CN 201710089367 A CN201710089367 A CN 201710089367A CN 106851728 B CN106851728 B CN 106851728B
Authority
CN
China
Prior art keywords
current
wds
port
wireless port
snr
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710089367.9A
Other languages
Chinese (zh)
Other versions
CN106851728A (en
Inventor
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youkai Technology Co.,Ltd.
Original Assignee
Phicomm Shanghai 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 Phicomm Shanghai Co Ltd filed Critical Phicomm Shanghai Co Ltd
Priority to CN201710089367.9A priority Critical patent/CN106851728B/en
Publication of CN106851728A publication Critical patent/CN106851728A/en
Application granted granted Critical
Publication of CN106851728B publication Critical patent/CN106851728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • 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/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • 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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

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

Abstract

本发明实施例属于通信技术领域,涉及一种基于有线口和WDS无线口做负载均衡的方法及装置,所述方法包括:获取所述WDS无线口的当前SNR、当前RSSI以及当前连接速率;评估所述WDS无线口的当前有效带宽;比较所述有线口和所述WDS无线口的剩余带宽;其中,所述有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,所述WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽;选择剩余带宽大的所述有线口或者所述WDS无线口进行数据传输。通过本发明实施例提供的方法及装置可以对无线AP的有线口和WDS无线口进行有效合理的负载均衡。

Figure 201710089367

Embodiments of the present invention belong to the field of communication technologies, and relate to a method and device for load balancing based on a wired port and a WDS wireless port. The method includes: acquiring the current SNR, current RSSI and current connection rate of the WDS wireless port; evaluating The current effective bandwidth of the WDS wireless port; compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the currently actually used bandwidth, and the WDS wireless port The remaining bandwidth is equal to the current effective bandwidth minus the currently actually used bandwidth; the wired port or the WDS wireless port with the larger remaining bandwidth is selected for data transmission. The method and device provided by the embodiments of the present invention can effectively and reasonably load balance the wired port of the wireless AP and the wireless port of the WDS.

Figure 201710089367

Description

基于有线口和WDS无线口的负载均衡方法及装置Load balancing method and device based on wired port and WDS wireless port

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种基于有线口和无线分布式系统(Wireless Distribution System,WDS)无线口做负载均衡的方法及装置。The present invention relates to the field of communication technologies, and in particular, to a method and device for load balancing based on wired ports and wireless ports in a wireless distribution system (WDS).

背景技术Background technique

现有的无线网络拓扑中,与交换机相连的无线路由器(Wireless Access Point,AP)可以通过WDS无线桥接延伸网络覆盖。一般来说WDS是建立在两台无线AP之间,其中一台无线AP充当无线信号中继设备来达到无线网络覆盖范围扩展的目的。如图1所示,为现有技术所提供的一种交换机与主/副AP的网络拓扑结构示意图。主AP10和副AP20通过以太网与交换机30相连,主AP10与副AP20之间建立WDS桥接,通过副AP20实现扩展无线网络覆盖。In an existing wireless network topology, a wireless router (Wireless Access Point, AP) connected to a switch can extend network coverage through WDS wireless bridges. Generally speaking, WDS is established between two wireless APs, and one of the wireless APs acts as a wireless signal relay device to achieve the purpose of expanding the coverage of the wireless network. As shown in FIG. 1 , it is a schematic diagram of a network topology structure of a switch and a primary/secondary AP provided in the prior art. The primary AP10 and the secondary AP20 are connected to the switch 30 through Ethernet, a WDS bridge is established between the primary AP10 and the secondary AP20, and the wireless network coverage is extended through the secondary AP20.

发明人在实现本发明的过程中发现,现有技术至少存在下述问题:当副AP20与主AP10之间建立了WDS连接后,如果副AP20与交换机30通过以太网连接的有线口传输有效的情况下,副AP20就拥有了有线口和WDS无线口两个上行出口,这两个上行出口可以进行负载均衡。如果我们对这两个上行出口进行负载均衡,有这么一个问题,有线口的带宽稳定且误码率很低,而WDS无线口的带宽动态变动,且常常受到误码率的影响,难以获得WDS无线口的有效带宽。因此,如何对这两个上行出口进行合理的负载均衡存在问题。In the process of implementing the present invention, the inventor found that the prior art has at least the following problems: after the WDS connection is established between the secondary AP 20 and the main AP 10, if the secondary AP 20 and the switch 30 transmit effective In this case, the secondary AP20 has two uplink ports, the wired port and the WDS wireless port, and these two uplink ports can perform load balancing. If we perform load balancing on these two uplink exports, there is such a problem. The bandwidth of the wired port is stable and the bit error rate is very low, while the bandwidth of the WDS wireless port changes dynamically and is often affected by the bit error rate. It is difficult to obtain WDS Effective bandwidth of the wireless port. Therefore, there is a problem in how to reasonably load balance the two upstream egresses.

发明内容SUMMARY OF THE INVENTION

综上所述,本发明实施例提供一种基于有线口和WDS无线口的负载均衡方法和装置,实现无线AP有线口和WDS无线口的合理有效负载均衡。To sum up, the embodiments of the present invention provide a method and device for load balancing based on a wired port and a WDS wireless port, so as to realize reasonable and effective load balancing between the wired port and the WDS wireless port of a wireless AP.

第一方面,本发明实施例提供一种基于有线口和WDS无线口的负载均衡方法,应用于无线AP,包括:获取所述WDS无线口的当前SNR、当前RSSI以及当前连接速率;评估所述WDS无线口的当前有效带宽;比较所述有线口和所述WDS无线口的剩余带宽;其中,所述有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,所述WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽;以及,选择剩余带宽大的所述有线口或者所述WDS无线口进行数据传输。In a first aspect, an embodiment of the present invention provides a load balancing method based on a wired port and a WDS wireless port, which is applied to a wireless AP, including: acquiring the current SNR, current RSSI, and current connection rate of the WDS wireless port; evaluating the The current effective bandwidth of the WDS wireless port; compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the currently actually used bandwidth, and the remaining bandwidth of the WDS wireless port The bandwidth is equal to the current effective bandwidth minus the currently actually used bandwidth; and the wired port or the WDS wireless port with a larger remaining bandwidth is selected for data transmission.

进一步的,所述评估所述WDS无线口的当前有效带宽包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间。Further, the evaluating the current effective bandwidth of the WDS wireless port includes: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score=(a*SNR′/SNRmax +b*RSSI′/RSSImax)*channel utilization rate, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined according to experience; SNR′=Min( SNR, SNRmax), namely take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the maximum value of the WDS wireless port determined according to experience Received signal strength indication; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are the weight values of SNR and RSSI set according to experience, a +b=1.0; the channel utilization is a percentage parameter, and the range is between [0, 1].

进一步的,所述评估所述WDS无线口的当前有效带宽为包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率*c,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间;c为根据与无线AP连接的终端数量的多少设置的权重值,范围在[0,1]之间。Further, the evaluating the current effective bandwidth of the WDS wireless port includes: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score=(a*SNR′/ SNRmax+b*RSSI′/RSSImax)*channel utilization rate*c, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined according to experience; SNR′ =Min(SNR, SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the empirically determined WDS wireless interface The maximum received signal strength indication of the port; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are the weights of SNR and RSSI set according to experience, respectively value, a+b=1.0; the channel utilization is a percentage parameter, the range is between [0, 1]; c is the weight value set according to the number of terminals connected to the wireless AP, the range is between [0, 1] between.

第二方面,本发明实施例提供一种基于有线口和WDS无线口的负载均衡装置,包括:获取单元,用于获取所述WDS无线口的当前SNR、当前RSSI以及当前连接速率;WDS评估单元,用于评估所述WDS无线口的当前有效带宽;比较单元,用于比较所述有线口和所述WDS无线口的剩余带宽;其中,所述有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,所述WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽;以及,选择单元,用于选择剩余带宽大的所述有线口或者所述WDS无线口进行数据传输。In a second aspect, an embodiment of the present invention provides a load balancing device based on a wired port and a WDS wireless port, including: an acquisition unit configured to acquire the current SNR, current RSSI and current connection rate of the WDS wireless port; a WDS evaluation unit , used to evaluate the current effective bandwidth of the WDS wireless port; a comparison unit, used to compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the current actual bandwidth Used bandwidth, the remaining bandwidth of the WDS wireless port is equal to the current effective bandwidth minus the currently actually used bandwidth; transmission.

进一步的,所述WDS评估单元,用于评估所述WDS无线口的当前有效带宽,包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间。Further, the WDS evaluation unit is configured to evaluate the current effective bandwidth of the WDS wireless port, including: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score= (a*SNR'/SNRmax+b*RSSI'/RSSImax)*channel utilization rate, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined empirically ratio; SNR′=Min(SNR, SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is determined based on experience The maximum received signal strength indication of the WDS wireless port; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are the SNRs set according to experience, respectively and the weight value of RSSI, a+b=1.0; the channel utilization rate is a percentage parameter, and the range is between [0, 1].

进一步的,所述WDS评估单元,用于评估所述WDS无线口的当前有效带宽,包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率*c,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间;c为根据与无线AP连接的终端数量的多少设置的权重值,范围在[0,1]之间。Further, the WDS evaluation unit is configured to evaluate the current effective bandwidth of the WDS wireless port, including: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score= (a*SNR′/SNRmax+b*RSSI′/RSSImax)*channel utilization rate*c, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum value of the WDS wireless port determined by experience Signal-to-noise ratio; SNR′=Min(SNR, SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is based on experience The determined maximum received signal strength indication of the WDS wireless port; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are respectively set according to experience The weight value of SNR and RSSI, a+b=1.0; the channel utilization is a percentage parameter, the range is between [0, 1]; c is the weight value set according to the number of terminals connected to the wireless AP, the range is in between [0, 1].

根据本发明实施例提供的基于有线口和WDS无线口的负载均衡方法方法,充分考虑信噪比和信号接收强度对WDS无线口的实际带宽的影响,合理评估出WDS无线口的当前有效带宽,然后,通过比较有线口的剩余带宽和WDS无线口的剩余带宽,选择传输速率快的出口传输数据,从而合理有效地实现无线AP有线口和WDS无线口的负载均衡。According to the load balancing method based on the wired port and the WDS wireless port provided by the embodiment of the present invention, the influence of the signal-to-noise ratio and the signal reception strength on the actual bandwidth of the WDS wireless port is fully considered, and the current effective bandwidth of the WDS wireless port is reasonably estimated. Then, by comparing the remaining bandwidth of the wired port and the remaining bandwidth of the WDS wireless port, select an outlet with a fast transmission rate to transmit data, so as to reasonably and effectively achieve load balancing between the wireless AP wired port and the WDS wireless port.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的方案,下面将对实施例或现有技术描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。一种基于有线口和无线口做负载均衡的方法及装置In order to explain the present invention or the solutions in the prior art more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are of the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort. A method and device for load balancing based on wired port and wireless port

图1为现有技术所提供的一种交换机与主/副无线路由器(Wireless AccessPoint,AP)的网络拓扑结构示意图;1 is a schematic diagram of the network topology of a switch and a primary/secondary wireless router (Wireless Access Point, AP) provided by the prior art;

图2为本发明实施例所提供的一种基于有线口和WDS无线口做负载均衡的方法流程示意图;2 is a schematic flowchart of a method for load balancing based on a wired port and a WDS wireless port provided by an embodiment of the present invention;

图3为本发明实施例所提供的一种交换机、主/副无线AP与无线终端(Station,STA)的网络拓扑示意图;3 is a schematic diagram of a network topology of a switch, a primary/secondary wireless AP, and a wireless terminal (Station, STA) according to an embodiment of the present invention;

图4为本发明实施例所提供的一种基于有线口和WDS无线口做负载均衡的装置组成结构示意图。FIG. 4 is a schematic structural diagram of a device for load balancing based on a wired port and a WDS wireless port according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,附图中给出了本发明的较佳实施例。本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例,相反地,提供这些实施例的目的是使对本发明的公开内容的理解更加透彻全面。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments, and preferred embodiments of the present invention are shown in the accompanying drawings. The present invention may be embodied in many different forms and is not limited to the embodiments described herein, but rather, these embodiments are provided so that a thorough understanding of the present disclosure will be provided. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

实施例一Example 1

本发明实施例提供的一种基于有线口和WDS无线口的负载均衡方法,应用于无线路由器(Wireless Access Point,AP)。参阅图1所示的交换机30与主AP10和副AP20的网络拓扑结构示意图。当副AP20与主AP10之间建立了WDS连接后,如果副AP20与交换机30通过以太网连接的有线口传输有效的情况下,副AP20就拥有了有线口和WDS无线口两个上行出口,这两个上行出口可以进行负载均衡。针对上述情况,本实施例提供一种实现无线AP的有线口和WDS无线口负载均衡的方法,如图2所示。A load balancing method based on a wired port and a WDS wireless port provided by an embodiment of the present invention is applied to a wireless router (Wireless Access Point, AP). Refer to the schematic diagram of the network topology of the switch 30 and the master AP10 and the slave AP20 shown in FIG. 1 . After the WDS connection is established between the secondary AP20 and the primary AP10, if the wired port connection between the secondary AP20 and the switch 30 through the Ethernet is effective, the secondary AP20 has two uplink ports, the wired port and the WDS wireless port. The two upstream egresses can perform load balancing. In view of the above situation, this embodiment provides a method for implementing load balancing between the wired port of the wireless AP and the wireless port of the WDS, as shown in FIG. 2 .

步骤S1001:获取WDS无线口的当前信噪比(Signal Noise Ratio,SNR)、当前接收信号强度指示(Receive Signal Strength Indicator,RSSI)以及当前连接速率。Step S1001: Acquire the current signal-to-noise ratio (Signal Noise Ratio, SNR), the current Receive Signal Strength Indicator (Receive Signal Strength Indicator, RSSI) and the current connection rate of the WDS wireless port.

本实施例中,基于图1所示的网络拓扑架构,副AP20获取其WDS无线口当前的SNR、当前RSSI以及当前的连接速率。In this embodiment, based on the network topology shown in FIG. 1 , the secondary AP 20 obtains the current SNR, the current RSSI and the current connection rate of its WDS wireless port.

步骤S1002:评估所述WDS无线口的当前有效带宽。Step S1002: Evaluate the current effective bandwidth of the WDS wireless port.

WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:The current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows:

Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率,其中,SNR为WDS无线口的当前信噪比;SNRmax为根据经验确定的WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取当前SNR与SNRmax两者之间的最小值。RSSI为WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取当前RSSI与RSSImax两者之间的最小值。另外,a和b分别为根据经验设置的SNR和RSSI的权重值,需要满足a+b=1.0。信道利用率为百分比参数,范围在[0,1]之间。Score=(a*SNR'/SNRmax+b*RSSI'/RSSImax)*channel utilization rate, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined according to experience; SNR'=Min(SNR, SNRmax), that is, the minimum value between the current SNR and SNRmax is taken. RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the maximum received signal strength indication of the WDS wireless port determined according to experience; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and RSSImax value. In addition, a and b are weight values of SNR and RSSI set according to experience, respectively, and it needs to satisfy a+b=1.0. Channel utilization is a percentage parameter in the range [0, 1].

对于上述需要用到的无线AP的WDS无线口的当前SNR、当前RSSI和当前连接速率,用户可以设置一定周期采集,并在周期内做均值处理,并依此计算Score。For the current SNR, current RSSI and current connection rate of the WDS wireless port of the wireless AP that needs to be used, the user can set a certain period to collect, and perform average processing within the period, and calculate the Score accordingly.

步骤S1003:比较有线口和所述WDS无线口的剩余带宽;其中,有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽。Step S1003: Compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the current actual used bandwidth, and the remaining bandwidth of the WDS wireless port is equal to the current effective bandwidth minus the current actual bandwidth. Bandwidth used.

副AP20的有线口的当前实际已使用带宽可以根据测量获得,有线口的剩余带宽等于实际带宽减去当前实际已使用带宽;WDS无线口的当前实际已使用带宽可以根据测量获得,WDS无线口的剩余带宽等于根据步骤S1002评估得到的WDS无线口的当前有效带宽减去当前实际已使用带宽。The current actual used bandwidth of the wired port of the secondary AP20 can be obtained by measurement. The remaining bandwidth of the wired port is equal to the actual bandwidth minus the current actual used bandwidth. The current actual used bandwidth of the WDS wireless port can be obtained by measurement. The remaining bandwidth is equal to the current effective bandwidth of the WDS wireless port obtained according to the evaluation in step S1002 minus the currently actually used bandwidth.

步骤S1004:选择剩余带宽大的有线口或者WDS无线口进行数据传输。Step S1004: Select a wired port or a WDS wireless port with a large remaining bandwidth for data transmission.

副AP20选择剩余带宽大的有线口或者WDS无线口进行上行数据传输。The secondary AP20 selects a wired port or a WDS wireless port with a large remaining bandwidth for uplink data transmission.

采用上述基于有线口和WDS无线口的负载均衡方法,结合实际测量和评估数据举例如下:副AP20的有线口实际带宽为100M,当前实际已使用带宽为50M;WDS无线口的带宽会受信噪比、信号接收强度等的影响,计算出的Score的值为0.6,WDS无线口的实际带宽为150M,那么,WDS无线口的当前有效带宽为150M*0.6=90M,WDS无线口的当前已使用带宽为10M。此时,有线口的剩余带宽为100M-50M=50M,WDS无线口的剩余带宽为90M-10M=80M,有线口的剩余带宽大于WDS无线口的剩余带宽,副AP20选择WDS无线口进行数据传输。The above load balancing method based on the wired port and WDS wireless port is used, and the actual measurement and evaluation data are combined as follows: the actual bandwidth of the wired port of the secondary AP20 is 100M, and the currently used bandwidth is 50M; the bandwidth of the WDS wireless port will be affected by signal noise. The calculated value of Score is 0.6, and the actual bandwidth of the WDS wireless port is 150M. Then, the current effective bandwidth of the WDS wireless port is 150M*0.6=90M, and the currently used WDS wireless port is The bandwidth is 10M. At this time, the remaining bandwidth of the wired port is 100M-50M=50M, the remaining bandwidth of the WDS wireless port is 90M-10M=80M, the remaining bandwidth of the wired port is greater than the remaining bandwidth of the WDS wireless port, and the secondary AP20 selects the WDS wireless port for data transmission. .

根据本发明实施例提供的基于有线口和WDS无线口的负载均衡方法方法,充分考虑信噪比和信号接收强度对WDS无线口的实际带宽的影响,合理评估出WDS无线口的当前有效带宽,然后,通过比较有线口的剩余带宽和WDS无线口的剩余带宽,选择传输速率快的出口传输数据,从而合理有效地实现无线AP有线口和WDS无线口的负载均衡。According to the load balancing method based on the wired port and the WDS wireless port provided by the embodiment of the present invention, the influence of the signal-to-noise ratio and the signal reception strength on the actual bandwidth of the WDS wireless port is fully considered, and the current effective bandwidth of the WDS wireless port is reasonably estimated. Then, by comparing the remaining bandwidth of the wired port and the remaining bandwidth of the WDS wireless port, select an outlet with a fast transmission rate to transmit data, so as to reasonably and effectively achieve load balancing between the wireless AP wired port and the WDS wireless port.

实施例二Embodiment 2

基于实施例一,作为本发明实施例的可选方案,在评估WDS无线口的当前有效带宽时,进一步考虑与主AP10连接的终端(Station,STA)数量对无线数据传输的影响。如图3所示,为本发明实施例所提供的一种交换机、主/副无线AP与无线终端(Station,STA)的网络拓扑示意图,与主AP10相连有若干台STA40。由于主AP10与副AP20之间建立的WDS桥接还可能和与主AP10相连的若干台STA40共享带宽,连接的STA40越多,越容易造成撞包,影响数据传输。因此,进一步根据主AP的终端连接数量设置系数c,例如,当STA40的连接数为10时,系数c=0.8;当STA的连接数为20时,系数c=0.6。Based on the first embodiment, as an optional solution of the embodiment of the present invention, when evaluating the current effective bandwidth of the WDS wireless port, the influence of the number of terminals (Station, STA) connected to the main AP 10 on wireless data transmission is further considered. As shown in FIG. 3 , it is a schematic diagram of a network topology of a switch, a primary/secondary wireless AP, and a wireless terminal (Station, STA) according to an embodiment of the present invention. Several STAs 40 are connected to the primary AP 10 . Because the WDS bridge established between the primary AP10 and the secondary AP20 may also share bandwidth with several STAs 40 connected to the primary AP10, the more STAs 40 connected, the easier it is to cause packet collisions and affect data transmission. Therefore, the coefficient c is further set according to the number of terminal connections of the master AP. For example, when the number of connections of the STA40 is 10, the coefficient c=0.8; when the number of connections of the STA is 20, the coefficient c=0.6.

在本实施例中,评估所述WDS无线口的当前有效带宽,采用如下方法:In this embodiment, to evaluate the current effective bandwidth of the WDS wireless port, the following method is used:

WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:The current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows:

Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率*c,其中,SNR为WDS无线口的当前信噪比;SNRmax为根据经验确定的WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取当前SNR与SNRmax两者之间的最小值。RSSI为WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取当前RSSI与RSSImax两者之间的最小值。另外,a和b分别为根据经验设置的SNR和RSSI的权重值,需要满足a+b=1.0。信道利用率为百分比参数,范围在[0,1]之间。此外,系数c为根据与主AP连接的终端数量的多少设置的权重值,终端的数量越多,权重值越低,范围在[0,1]之间。Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*channel utilization rate*c, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined empirically ratio; SNR′=Min(SNR, SNRmax), that is, take the minimum value between the current SNR and SNRmax. RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the maximum received signal strength indication of the WDS wireless port determined according to experience; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and RSSImax value. In addition, a and b are weight values of SNR and RSSI set according to experience, respectively, and it needs to satisfy a+b=1.0. Channel utilization is a percentage parameter in the range [0, 1]. In addition, the coefficient c is a weight value set according to the number of terminals connected to the main AP. The greater the number of terminals, the lower the weight value, and the range is between [0, 1].

其他步骤,与实施例一所述的步骤相同,在此不再赘述。The other steps are the same as those described in the first embodiment, and are not repeated here.

根据本发明实施例提供的基于有线口和WDS无线口的负载均衡方法,根据经验值,充分考虑信噪比和信号接收强度对WDS无线口的实际带宽的影响,还进一步考虑了与主AP连接STA数量的影响,合理评估出WDS无线口的当前有效带宽,然后,通过比较有线口的剩余带宽和WDS无线口的剩余带宽,选择传输速率快的出口传输数据,从而合理有效地实现无线AP有线口和WDS无线口的负载均衡。According to the load balancing method based on the wired port and the WDS wireless port provided by the embodiment of the present invention, according to the empirical value, the influence of the signal-to-noise ratio and the signal reception strength on the actual bandwidth of the WDS wireless port is fully considered, and the connection with the main AP is further considered. According to the influence of the number of STAs, the current effective bandwidth of the WDS wireless port can be reasonably estimated. Then, by comparing the remaining bandwidth of the wired port and the remaining bandwidth of the WDS wireless port, select the outlet with the fastest transmission rate to transmit data, so as to reasonably and effectively realize the wireless AP wired connection. Load balancing between ports and WDS wireless ports.

实施例三Embodiment 3

本发明实施例提供一种基于有线口和WDS无线口的负载均衡装置,如图4所示的结构框图,所述装置包括获取单元202、WDS评估单元204、比较单元206和选择单元208,下面对各单元进行详细说明,其中:An embodiment of the present invention provides a load balancing device based on a wired port and a WDS wireless port, as shown in the structural block diagram in FIG. Each unit is described in detail, including:

获取单元202,用于获取WDS无线口的当前信噪比(Signal Noise Ratio,SNR)、当前接收信号强度指示(Receive Signal Strength Indicator,RSSI)以及当前连接速率。The obtaining unit 202 is configured to obtain the current signal-to-noise ratio (Signal Noise Ratio, SNR), the current Receive Signal Strength Indicator (Receive Signal Strength Indicator, RSSI) and the current connection rate of the WDS wireless port.

WDS评估单元204,用于评估所述WDS无线口的当前有效带宽。The WDS evaluation unit 204 is configured to evaluate the current effective bandwidth of the WDS wireless port.

WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:The current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows:

Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率,其中,SNR为WDS无线口的当前信噪比;SNRmax为根据经验确定的WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取当前SNR与SNRmax两者之间的最小值。RSSI为WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取当前RSSI与RSSImax两者之间的最小值。另外,a和b分别为根据经验设置的SNR和RSSI的权重值,需要满足a+b=1.0。信道利用率为百分比参数,范围在[0,1]之间。Score=(a*SNR'/SNRmax+b*RSSI'/RSSImax)*channel utilization rate, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined according to experience; SNR'=Min(SNR, SNRmax), that is, the minimum value between the current SNR and SNRmax is taken. RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the maximum received signal strength indication of the WDS wireless port determined according to experience; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and RSSImax value. In addition, a and b are weight values of SNR and RSSI set according to experience, respectively, and it needs to satisfy a+b=1.0. Channel utilization is a percentage parameter in the range [0, 1].

对于上述需要用到的无线AP的WDS无线口的当前SNR、当前RSSI和当前连接速率,用户可以设置一定周期采集,并在周期内做均值处理,并依此计算Score。For the current SNR, current RSSI and current connection rate of the WDS wireless port of the wireless AP that needs to be used, the user can set a certain period to collect, and perform average processing within the period, and calculate the Score accordingly.

较佳地,在考虑与主AP连接的STA的数量对WDS桥接的带宽共享的情况下,进一步引入系数c,系数c为根据与主AP连接的终端数量的多少设置的权重值,终端的数量越多,权重值越低,范围在[0,1]之间。此时,Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率*c。Preferably, when considering the bandwidth sharing of the WDS bridge by the number of STAs connected to the main AP, a coefficient c is further introduced, and the coefficient c is a weight value set according to the number of terminals connected to the main AP, the number of terminals. The more, the lower the weight value, in the range of [0, 1]. At this time, Score=(a*SNR'/SNRmax+b*RSSI'/RSSImax)*channel utilization rate*c.

比较单元206,用于比较有线口和所述WDS无线口的剩余带宽;其中,有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽。The comparison unit 206 is used to compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the current actual used bandwidth, and the remaining bandwidth of the WDS wireless port is equal to the current effective bandwidth minus the bandwidth. Go to the actual currently used bandwidth.

选择单元208,用于选择剩余带宽大的有线口或者WDS无线口进行数据传输。The selection unit 208 is configured to select a wired port or a WDS wireless port with a large remaining bandwidth for data transmission.

根据本发明实施例提供的基于有线口和WDS无线口的负载均衡装置,根据经验值,充分考虑信噪比和信号接收强度对WDS无线口的实际带宽的影响,合理评估出WDS无线口的当前有效带宽,然后,通过比较有线口的剩余带宽和WDS无线口的剩余带宽,选择传输质量高的出口传输数据,从而合理有效地实现无线AP有线口和WDS无线口的负载均衡。According to the load balancing device based on the wired port and the WDS wireless port provided by the embodiment of the present invention, according to the empirical value, the influence of the signal-to-noise ratio and the signal reception strength on the actual bandwidth of the WDS wireless port is fully considered, and the current capacity of the WDS wireless port is reasonably evaluated. Then, by comparing the remaining bandwidth of the wired port and the remaining bandwidth of the WDS wireless port, select the outlet with high transmission quality to transmit data, so as to reasonably and effectively realize the load balance between the wired port of the wireless AP and the wireless port of the WDS.

在本发明所提供的上述实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the above embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

以上仅为本发明的实施例,但并不限制本发明的专利范围,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本发明说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本发明专利保护范围之内。The above are only the embodiments of the present invention, but do not limit the patent scope of the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still implement the foregoing specific implementations. Modifications are made to the technical solutions recorded in the method, or equivalent replacements are made to some of the technical features. Any equivalent structures made by using the contents of the description and the accompanying drawings of the present invention, which are directly or indirectly applied in other related technical fields, are all within the protection scope of the patent of the present invention.

Claims (2)

1.一种基于有线口和WDS无线口的负载均衡方法,应用于无线AP,其特征在于,包括:1. a load balancing method based on wired port and WDS wireless port, applied to wireless AP, is characterized in that, comprises: 获取所述WDS无线口的当前SNR、当前RSSI以及当前连接速率;Obtain the current SNR, current RSSI and current connection rate of the WDS wireless port; 评估所述WDS无线口的当前有效带宽,所述评估所述WDS无线口的当前有效带宽包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间;Evaluating the current effective bandwidth of the WDS wireless port, the evaluating the current effective bandwidth of the WDS wireless port includes: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score =(a*SNR'/SNRmax+b*RSSI'/RSSImax)*channel utilization rate, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined empirically. Noise ratio; SNR′=Min(SNR, SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is determined based on experience The maximum received signal strength indication of the WDS wireless port; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are respectively set according to experience The weight value of SNR and RSSI, a+b=1.0; the channel utilization is a percentage parameter, and the range is between [0, 1]; 或者:or: 所述评估所述WDS无线口的当前有效带宽包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率*c,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间;c为根据与无线AP连接的终端数量的多少设置的权重值,范围在[0,1]之间;The evaluating the current effective bandwidth of the WDS wireless port includes: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score=(a*SNR′/SNRmax+b* RSSI′/RSSImax)*channel utilization rate*c, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined according to experience; SNR′=Min(SNR , SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the maximum received signal strength of the WDS wireless port determined according to experience Signal strength indication; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are the weight values of SNR and RSSI set according to experience, a+ b=1.0; the channel utilization rate is a percentage parameter, and the range is between [0, 1]; c is the weight value set according to the number of terminals connected to the wireless AP, and the range is between [0, 1]; 比较所述有线口和所述WDS无线口的剩余带宽;其中,所述有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,所述WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽;以及Compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the currently actually used bandwidth, and the remaining bandwidth of the WDS wireless port is equal to the current effective bandwidth minus the bandwidth. to the actual currently used bandwidth; and 选择剩余带宽大的所述有线口或者所述WDS无线口进行数据传输。Select the wired port or the WDS wireless port with a larger remaining bandwidth for data transmission. 2.一种基于有线口和WDS无线口的负载均衡装置,其特征在于,包括:2. A load balancing device based on wired port and WDS wireless port, is characterized in that, comprising: 获取单元,用于获取所述WDS无线口的当前SNR、当前RSSI以及当前连接速率;an acquisition unit, configured to acquire the current SNR, the current RSSI and the current connection rate of the WDS wireless port; WDS评估单元,用于评估所述WDS无线口的当前有效带宽;The WDS evaluation unit is used to evaluate the current effective bandwidth of the WDS wireless port; 比较单元,用于比较所述有线口和所述WDS无线口的剩余带宽;其中,所述有线口的剩余带宽等于实际带宽减去当前实际已使用带宽,所述WDS无线口的剩余带宽等于所述当前有效带宽减去当前实际已使用带宽;以及A comparison unit, configured to compare the remaining bandwidth of the wired port and the WDS wireless port; wherein, the remaining bandwidth of the wired port is equal to the actual bandwidth minus the currently actually used bandwidth, and the remaining bandwidth of the WDS wireless port is equal to all the stated current effective bandwidth minus the current actual used bandwidth; and 选择单元,用于选择剩余带宽大的所述有线口或者所述WDS无线口进行数据传输;a selection unit, configured to select the wired port or the WDS wireless port with a large remaining bandwidth for data transmission; 其中,所述WDS评估单元,用于评估所述WDS无线口的当前有效带宽,包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间;Wherein, the WDS evaluation unit is used to evaluate the current effective bandwidth of the WDS wireless port, including: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score=( a*SNR′/SNRmax+b*RSSI′/RSSImax)*channel utilization rate, where SNR is the current SNR of the WDS wireless port; SNRmax is the maximum SNR of the WDS wireless port determined empirically ; SNR′=Min(SNR, SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the empirically determined The maximum received signal strength indication of the WDS wireless port; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are the SNR and The weight value of RSSI, a+b=1.0; the channel utilization rate is a percentage parameter, and the range is between [0, 1]; 或者;or; 所述WDS评估单元,用于评估所述WDS无线口的当前有效带宽,包括:所述WDS无线口的当前有效带宽=当前连接速率*Score,其中,Score的计算方法如下:Score=(a*SNR′/SNRmax+b*RSSI′/RSSImax)*信道利用率*c,其中,SNR为所述WDS无线口的当前信噪比;SNRmax为根据经验确定的所述WDS无线口的最大信噪比;SNR′=Min(SNR,SNRmax),即取所述当前SNR与所述SNRmax两者之间的最小值;RSSI为所述WDS无线口的当前接收信号强度指示;RSSImax为根据经验确定的所述WDS无线口的最大接收信号强度指示;RSSI′=Min(RSSI,RSSImax),即取所述当前RSSI与所述RSSImax两者之间的最小值;a和b分别为根据经验设置的SNR和RSSI的权重值,a+b=1.0;信道利用率为百分比参数,范围在[0,1]之间;c为根据与无线AP连接的终端数量的多少设置的权重值,范围在[0,1]之间。The WDS evaluation unit is used to evaluate the current effective bandwidth of the WDS wireless port, including: the current effective bandwidth of the WDS wireless port=current connection rate*Score, where the calculation method of Score is as follows: Score=(a* SNR′/SNRmax+b*RSSI′/RSSImax)*channel utilization rate*c, where SNR is the current signal-to-noise ratio of the WDS wireless port; SNRmax is the maximum signal-to-noise ratio of the WDS wireless port determined according to experience ; SNR′=Min(SNR, SNRmax), that is, take the minimum value between the current SNR and the SNRmax; RSSI is the current received signal strength indication of the WDS wireless port; RSSImax is the empirically determined The maximum received signal strength indication of the WDS wireless port; RSSI′=Min(RSSI, RSSImax), that is, take the minimum value between the current RSSI and the RSSImax; a and b are the SNR and The weight value of RSSI, a+b=1.0; the channel utilization rate is a percentage parameter, the range is between [0, 1]; c is the weight value set according to the number of terminals connected to the wireless AP, the range is [0, 1] between.
CN201710089367.9A 2017-02-20 2017-02-20 Load balancing method and device based on wired port and WDS wireless port Active CN106851728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710089367.9A CN106851728B (en) 2017-02-20 2017-02-20 Load balancing method and device based on wired port and WDS wireless port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710089367.9A CN106851728B (en) 2017-02-20 2017-02-20 Load balancing method and device based on wired port and WDS wireless port

Publications (2)

Publication Number Publication Date
CN106851728A CN106851728A (en) 2017-06-13
CN106851728B true CN106851728B (en) 2020-09-18

Family

ID=59127940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710089367.9A Active CN106851728B (en) 2017-02-20 2017-02-20 Load balancing method and device based on wired port and WDS wireless port

Country Status (1)

Country Link
CN (1) CN106851728B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110027954B (en) * 2019-04-18 2020-09-01 广州广日电梯工业有限公司 Elevator well communication device of changeable circuit
CN113708893B (en) * 2021-08-27 2022-07-01 深圳市奥闻科技有限公司 Adaptive communication data processing system and method based on Internet of things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974335A (en) * 2013-01-24 2014-08-06 华为技术有限公司 Method for controlling distribution, UE, network device and server
CN104602300A (en) * 2014-12-10 2015-05-06 国家电网公司 Method and device for balancing heterogeneous network load of power grid
CN104703234A (en) * 2013-12-04 2015-06-10 中国移动通信集团公司 Method and device for access switching in wireless local area network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480264B1 (en) * 2005-02-10 2009-01-20 Sonicwall, Inc. Centralized wireless LAN load balancing
CN101729605B (en) * 2009-12-16 2014-06-25 杭州华三通信技术有限公司 Method and device for bonding WDS links
US9872210B2 (en) * 2013-10-16 2018-01-16 At&T Mobility Ii Llc Adaptive rate of congestion indicator to enhance intelligent traffic steering
US9357458B2 (en) * 2014-04-30 2016-05-31 Aruba Networks, Inc. Distributed method for client optimization
TWI580227B (en) * 2015-06-17 2017-04-21 財團法人工業技術研究院 Routing gateway selecting method, controller and vehicles network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974335A (en) * 2013-01-24 2014-08-06 华为技术有限公司 Method for controlling distribution, UE, network device and server
CN104703234A (en) * 2013-12-04 2015-06-10 中国移动通信集团公司 Method and device for access switching in wireless local area network
CN104602300A (en) * 2014-12-10 2015-05-06 国家电网公司 Method and device for balancing heterogeneous network load of power grid

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A novel AP placement algorithm based on user distribution for indoor WLAN system;Shu Tang等;《IEEE》;20161103;全文 *
无线局域网中基于AC的接入式负载均衡研究;赵艳杰;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110331;全文 *
无线局域网负载均衡技术研究;岳超群;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150630;全文 *

Also Published As

Publication number Publication date
CN106851728A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US9942800B2 (en) Load balancing in a wireless network with multiple access points
CN105075331B (en) Predict the quality of service of possible future connections of a device to a wireless network
CN104427632B (en) Data transmission scheduling method, device and system
US10701627B2 (en) Receiver start of packet optimization for wireless networks
WO2015061472A1 (en) System, method and device for dynamically setting response indication deferral in wireless networks
US7839818B2 (en) Radio communication device and communication load calculation method therefor
US20140362776A1 (en) Application aware association in wireless networks
WO2016195550A1 (en) A wireless device, an access point and methods using different clear channel assessment (cca) thresholds
CN106851728B (en) Load balancing method and device based on wired port and WDS wireless port
CN104769989A (en) Antenna splitting method and controller in active antenna system
WO2012155695A1 (en) Evolved nodeb, system and method for selecting cooperating node
US20180176814A1 (en) Communication control device, communication system and communication method
RU2481718C2 (en) Method for estimation of residual bandwidth
JP6474712B2 (en) Wireless communication system and wireless communication method
Zhao et al. Traffic-load aware user association in dense unsaturated wireless networks
WO2015096594A1 (en) Network shunting method and device
CN116437394A (en) Load balancing method and device, storage medium and electronic device
CN106686645B (en) Method and system for improving throughput of multi-hop transmission link
JP6046006B2 (en) Wireless communication system and wireless communication method
CN106664609A (en) Apparatuses and methods for enhanced signaling for beacon load reduction
Bilaw et al. An SDN-based Dual AP Load Balancing Scheme for Wireless Networks
Park et al. Connection management of mobile nodes for transmission power control in wlan aps
Zhou et al. Fulfillment-based fairness: A new fairness notion for multi-AP wireless hotspots
Wolosz et al. Cognitive load-control for congested wireless sensor network channels
CN114666838A (en) Wireless load balancing method based on WiFi multi-frequency access point

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201110

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240403

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Country or region after: China

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250410

Address after: Room 10, Building 1, No. 12 Zhangzhen Street, Shunyi District, Beijing 101300

Patentee after: Beijing Youkai Technology Co.,Ltd.

Country or region after: China

Address before: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Country or region before: China