Movatterモバイル変換


[0]ホーム

URL:


CN107040964A - A kind of method and system of the incidence number limitation based on WDS - Google Patents

A kind of method and system of the incidence number limitation based on WDS
Download PDF

Info

Publication number
CN107040964A
CN107040964ACN201710140296.0ACN201710140296ACN107040964ACN 107040964 ACN107040964 ACN 107040964ACN 201710140296 ACN201710140296 ACN 201710140296ACN 107040964 ACN107040964 ACN 107040964A
Authority
CN
China
Prior art keywords
wireless
wireless terminal
terminal sta
wireless aps
module
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.)
Granted
Application number
CN201710140296.0A
Other languages
Chinese (zh)
Other versions
CN107040964B (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.)
Shanxi Xingzhuo Technology Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co LtdfiledCriticalShanghai Feixun Data Communication Technology Co Ltd
Priority to CN201710140296.0ApriorityCriticalpatent/CN107040964B/en
Publication of CN107040964ApublicationCriticalpatent/CN107040964A/en
Application grantedgrantedCritical
Publication of CN107040964BpublicationCriticalpatent/CN107040964B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention relates to WLAN processing technology field, the method and system of specially a kind of incidence number limitation based on WDS are carried out as follows:Step 1, some wireless aps with WDS functions constitute tree-like wireless aps network group according to rank from lower to upper, and it is active router to define the wireless aps of wherein most higher level, and other described wireless aps are secondary router;Step 2, limited according to wireless terminal STA actual associations number come the wireless terminal STA incidence numbers to the wireless aps network group, easily realize, it is simple to operate, effectively control incidence number.

Description

Translated fromChinese
一种基于WDS的关联数限制的方法及系统A method and system for limiting the number of associations based on WDS

技术领域technical field

本发明涉及无线局域网处理技术领域,具体为一种基于WDS的关联数限制的方法及系统。The invention relates to the technical field of wireless local area network processing, in particular to a method and system for limiting the number of associations based on WDS.

背景技术Background technique

WDS即无线分布式桥接功能为:无线路由器之间通过无线桥接延伸网络覆盖,一般当一台AP作为WDS的主路由器,既有正常的STA关联,又有副路由器的WDS接入时,从上联口来的报文一般只要不是直接相连的STA的MAC地址的报文,必须WDS上进行转发,即使报文的目标根本不在WDS的连接上(因为主路由器AP没法判别),这就导致了很可能无需发送到WDS的报文也被发送到了WDS上,导致了无线信道的负担,所以需要对AP的关联数进行严格的限制,避免造成更进一步的堵塞。WDS is the wireless distributed bridging function: the wireless routers extend the network coverage through wireless bridging. Generally, when an AP is used as the main router of WDS, it has both normal STA association and WDS access of the secondary router. Generally, as long as the message from the joint port is not the message of the MAC address of the directly connected STA, it must be forwarded on the WDS, even if the target of the message is not on the WDS connection at all (because the main router AP cannot distinguish), which leads to It is very likely that packets that do not need to be sent to the WDS are also sent to the WDS, resulting in a burden on the wireless channel. Therefore, it is necessary to strictly limit the number of AP associations to avoid further congestion.

如公开号为102685812B的专利公开了一种接入点AP关联终端控制方法,包括:控制设备在关联至AP的终端的关联状态发生变化时,记录所述终端的关联状态信息,并启动计时;在经过预设的计时时间后,若所述终端的关联状态未发生变化,并且所述关联状态信息表明所述终端未通过认证、或者所述终端通过认证但在所述计时时间内未发生业务流量,则所述控制设备控制所述AP断开与所述关联状态信息对应的终端的关联;其中,所述关联状态包括:MAC关联、IP关联和认证通过,所述MAC关联为所述终端已经关联上所述AP但是未获得IP地址,所述IP关联为所述终端已经获得IP地址但是尚未通过认证,该专利中涉及的方案中,通过多种信息的融合,并且经过多个不同步骤的组合,来进行AP关联的控制,步骤较为繁琐,而且执行时容错率较低,容易出现异常,而且还要启动计时等,成本相对较高,还有控制设备的加入等,结构也比较多,并不利于整体的管理,事实上对流量也要一定的要求。For example, the patent with the publication number of 102685812B discloses a method for controlling an access point AP associated terminal, including: when the association state of a terminal associated with the AP changes, the control device records the association state information of the terminal, and starts timing; After the preset timing time, if the association status of the terminal has not changed, and the association status information indicates that the terminal has not passed the authentication, or the terminal has passed the authentication but no service has occurred within the timing time flow, the control device controls the AP to disconnect the terminal corresponding to the association status information; wherein the association status includes: MAC association, IP association, and authentication passing, and the MAC association is the terminal The AP has been associated but has not obtained an IP address. The IP association means that the terminal has obtained an IP address but has not yet passed the authentication. In the scheme involved in this patent, a variety of information is fused through multiple different steps The combination of AP association control, the steps are relatively cumbersome, and the fault tolerance rate is low during execution, prone to abnormalities, and it is necessary to start the timing, etc., the cost is relatively high, and the addition of control equipment, etc., the structure is also more , It is not conducive to the overall management. In fact, there are certain requirements for traffic.

发明内容Contents of the invention

本发明的一个目的是提供一种容易实现、操作简单、有效控制关联数的基于WDS的关联数限制的方法及系统。An object of the present invention is to provide a method and system for limiting the number of associations based on WDS, which is easy to implement, simple to operate, and effectively controls the number of associations.

本发明的上述技术目的是通过以下技术方案得以实现的:Above-mentioned technical purpose of the present invention is achieved through the following technical solutions:

一种基于WDS的关联数限制的方法,按如下步骤进行:A method for limiting the number of associations based on WDS is performed as follows:

步骤1,若干具有WDS功能的无线AP按照由下往上的级别组成树形的无线AP网络群组,并定义其中最上级的所述无线AP为主路由器,其他所述无线AP均为副路由器;Step 1, several wireless APs with WDS function form a tree-shaped wireless AP network group according to the level from bottom to top, and define the wireless AP at the top level as the main router, and the other wireless APs are secondary routers ;

步骤2,根据无线终端STA实际关联数来对所述无线AP网络群组的无线终端STA关联数进行限制。Step 2: Limit the number of wireless terminal STA associations in the wireless AP network group according to the actual number of wireless terminal STA associations.

作为对本发明的优选,所述限制的过程包括:As preferred to the present invention, the process of described restriction comprises:

2.1,当有无线终端STA接入所述无线AP网络群组的所述无线AP时,该所述无线AP通过Action帧通知上一级所述无线AP且一级一级逐级上传直至作为主路由器的所述无线AP;2.1. When a wireless terminal STA accesses the wireless AP of the wireless AP network group, the wireless AP notifies the wireless AP of the upper level through an Action frame and uploads it level by level until it becomes the master The wireless AP of the router;

2.2,作为主路由器的所述无线AP接到通知后将其本身的最大关联数N与所述无线终端STA实际关联数作大小比较;2.2. After receiving the notification, the wireless AP as the main router compares its own maximum number of associations N with the actual number of associations of the wireless terminal STA;

2.3,作为主路由器的所述无线AP根据过程2.2大小比较的结果做出决策并逐级下发直至直接接入所述无线终端STA的该所述无线AP。作为对本发明的优选,所述决策中包括决定是否接受关联或者拒绝所述无线终端STA的内容。2.3. The wireless AP acting as the master router makes a decision according to the size comparison result of the process 2.2, and delivers it level by level until the wireless AP directly accesses the wireless terminal STA. As a preference of the present invention, the decision includes deciding whether to accept the association or reject the wireless terminal STA.

作为对本发明的优选,所述Action帧中内置Vendor Specific IE字段。As a preference of the present invention, a Vendor Specific IE field is embedded in the Action frame.

作为对本发明的优选,向上级进行上传的通知所采用的所述Action帧中内置的Vendor Specific IE字段内容包括无线终端STA关联请求和无线终端STA实际关联数。As a preference of the present invention, the content of the built-in Vendor Specific IE field in the Action frame used for uploading notification to the superior includes the wireless terminal STA association request and the actual number of wireless terminal STA associations.

作为对本发明的优选,所述无线终端STA实际关联数包括本地所在无线AP的无线终端STA直接关联数和下一级无线AP的无线终端STA直接关联数。As a preference for the present invention, the actual number of wireless terminal STA associations includes the number of wireless terminal STAs directly associated with the local wireless AP and the number of wireless terminal STAs directly associated with the next-level wireless AP.

作为对本发明的优选,向下级进行下发的决策所采用的所述Action帧中内置的Vendor Specific IE字段内容包括决定无线终端STA是否允许接入的判决指示。As a preference of the present invention, the content of the built-in Vendor Specific IE field in the Action frame used for the decision to deliver to the lower level includes a decision indication to determine whether the wireless terminal STA is allowed to access.

作为对本发明的优选,所述无线AP的最大关联数均定为N。As a preference of the present invention, the maximum number of associations of the wireless APs is set to N.

作为对本发明的优选,当所述无线AP接到由下级上传的通知后,首先,先对无线终端STA实际关联数进行统计,然后,判断自己是否为主路由器,若不是主路由器,则继续向上一级进行通知,若是主路由器,则判断N≥无线终端STA实际关联数+1是否成立,若成立,则接受关联所述无线终端STA,若不成立,则拒绝关联所述无线终端STA。As a preference for the present invention, when the wireless AP receives the notification uploaded by the lower level, firstly, the actual association number of the wireless terminal STA is counted, and then, it is judged whether it is the master router, and if it is not the master router, then continue to move upward. The first level is notified, if it is the main router, it is judged whether N≥the actual number of wireless terminal STA associations+1 is established, if it is established, then accept the association of the wireless terminal STA, if not established, then refuse to associate the wireless terminal STA.

一种基于WDS的关联数限制的系统,包括若干具有WDS功能的无线AP和无线终端STA,所述无线终端STA包括终端通信模块和终端关联请求发送模块,所述无线AP包括AP通信模块、终端关联请求接收模块、主路由器判断模块、Action帧生成模块、Action帧上传模块、Action帧下发模块、Action帧接收模块、决策生成模块,其中,A system for limiting the number of associations based on WDS, including several wireless APs with WDS functions and a wireless terminal STA, the wireless terminal STA includes a terminal communication module and a terminal association request sending module, and the wireless AP includes an AP communication module, a terminal Association request receiving module, main router judging module, Action frame generating module, Action frame uploading module, Action frame sending module, Action frame receiving module, decision generating module, wherein,

所述终端通信模块用于与无线AP进行通信;The terminal communication module is used to communicate with the wireless AP;

所述终端关联请求发送模块用于向无线AP发送关联请求;The terminal association request sending module is used to send an association request to a wireless AP;

所述无线AP通信模块用于与无线终端STA进行通信;The wireless AP communication module is used to communicate with the wireless terminal STA;

所述终端关联请求接收模块用于接收无线终端STA的关联请求;The terminal association request receiving module is used to receive an association request of a wireless terminal STA;

所述主路由器判断模块用于无线AP判断自身是否为主路由器;The master router judging module is used for the wireless AP to judge whether it is the master router;

所述Action帧生成模块用于生成Action帧;The Action frame generation module is used to generate Action frames;

所述Action帧上传模块用于本地所在无线AP向上一级无线AP上传Action帧;The Action frame uploading module is used for the local wireless AP to upload the Action frame to the upper-level wireless AP;

所述Action帧下发模块用于本地所在无线AP向下一集无线AP下发Action帧;The Action frame sending module is used for the local wireless AP to send the Action frame to the next set of wireless APs;

所述Action帧接收模块用于接收来自其他无线AP的Action帧;The Action frame receiving module is used to receive Action frames from other wireless APs;

所述决策生成模块用于无线AP判断自身作为主路由器时做出决策。The decision generating module is used for making a decision when the wireless AP judges itself as the main router.

作为对本发明的优选,所述Action帧生成模块包括Vendor Specific IE字段内置模块,所述Vendor Specific IE字段内置模块包括关联请求信息获取子模块、决策信息获取子模块、无线终端STA实际关联数生成子模块,所述决策生成模块包括最大关联数判断子模块和无线终端STA是否接入判决指示子模块,其中,As a preference for the present invention, the Action frame generation module includes a Vendor Specific IE field built-in module, and the Vendor Specific IE field built-in module includes an association request information acquisition submodule, a decision information acquisition submodule, and a wireless terminal STA actual association number generator module, the decision generation module includes a maximum association number judgment submodule and a wireless terminal STA access judgment indication submodule, wherein,

所述关联请求信息获取子模块用于获取无线终端STA的关联请求信息;The association request information acquisition submodule is used to acquire association request information of the wireless terminal STA;

所述决策信息获取子模块用于获取作为主路由器的无线AP决策信息;The decision information acquisition submodule is used to acquire decision information of the wireless AP as the main router;

所述无线终端STA实际关联数生成子模块用于统计无线AP的实际关联数,所述实际关联数包括本地所在无线AP的无线终端STA直接关联数和下一级无线AP的无线终端STA直接关联数;The actual association number generation submodule of the wireless terminal STA is used to count the actual association number of the wireless AP, and the actual association number includes the direct association number of the wireless terminal STA of the local wireless AP and the direct association number of the wireless terminal STA of the next-level wireless AP number;

所述Vendor Specific IE字段内置模块用于根据所述关联请求信息获取子模块和所述无线终端STA实际关联数生成子模块的信息内置形成上传至上级无线AP的Action帧内容或者根据所述决策信息获取子模块的决策信息内置形成下发至下级无线AP的Action帧内容;The built-in module of the Vendor Specific IE field is used to build the content of the Action frame uploaded to the superior wireless AP according to the information of the association request information acquisition sub-module and the actual association number generation sub-module of the wireless terminal STA or according to the decision information Obtain the decision information of the sub-module built-in to form the content of the Action frame sent to the lower-level wireless AP;

所述最大关联数判断子模块用于作为主路由器的无线AP判断最大关联数N≥无线终端STA实际关联数+1是否成立;The maximum association number judging submodule is used for the wireless AP as the main router to judge whether the maximum association number N≥the actual association number of the wireless terminal STA+1 is established;

所述无线终端STA是否接入判决指示子模块用于给出如果所述最大关联数判断子模块判断若不成立则拒绝关联无线终端STA以及若不成立则接受关联无线终端STA的决策信息。The wireless terminal STA access judgment indication submodule is used to provide decision information that if the maximum association number judgment submodule judges that if it is not established, it will refuse to associate with the wireless terminal STA and if it is not established, it will accept the association with the wireless terminal STA.

本发明是基于WDS,通过Action帧的形式不仅容易实现,操作简单,能更加准确地控制无线终端STA关联数,做到高效和准确,不容易出错,并有效解决网络拥塞等问题。The present invention is based on WDS, and the form of Action frame is not only easy to implement, but also simple to operate, and can more accurately control the number of wireless terminal STA associations, achieve high efficiency and accuracy, be less prone to errors, and effectively solve problems such as network congestion.

附图说明Description of drawings

图1是本发明实施例1的场景图;FIG. 1 is a scene diagram of Embodiment 1 of the present invention;

图2是本发明实施例2的系统模块图。Fig. 2 is a system block diagram of Embodiment 2 of the present invention.

具体实施方式detailed description

以下具体实施例仅仅是对本发明的解释,其并不是对本发明的限制,本领域技术人员在阅读完本说明书后可以根据需要对本实施例做出没有创造性贡献的修改,但只要在本发明的权利要求范围内都受到专利法的保护。The following specific examples are only explanations of the present invention, and it is not a limitation of the present invention. Those skilled in the art can make modifications without creative contribution to the present embodiment as required after reading this specification, but as long as they are within the rights of the present invention All claims are protected by patent law.

实施例1,一种基于WDS的关联数限制的方法,按如下步骤进行:Embodiment 1, a method for limiting the number of associations based on WDS, is performed as follows:

步骤1,若干具有WDS功能的无线AP按照由下往上的级别组成树形的无线AP网络群组,并定义其中最上级的所述无线AP为主路由器,其他所述无线AP均为副路由器;Step 1, several wireless APs with WDS function form a tree-shaped wireless AP network group according to the level from bottom to top, and define the wireless AP at the top level as the main router, and the other wireless APs are secondary routers ;

步骤2,根据无线终端STA实际关联数来对所述无线AP网络群组的无线终端STA关联数进行限制。Step 2: Limit the number of wireless terminal STA associations in the wireless AP network group according to the actual number of wireless terminal STA associations.

主要是利用WDS以及主路由器,来有效实现关联数限制的方法,当然,关联数限制的实现中,副路由器也要做到信息及时传送和存储等。It is mainly to use WDS and the main router to effectively implement the method of limiting the number of associations. Of course, in the realization of the limitation of the number of associations, the secondary router must also transmit and store information in a timely manner.

进一步地,所述限制的过程包括:Further, the process of restriction includes:

2.1,当有无线终端STA接入所述无线AP网络群组的所述无线AP时,该所述无线AP通过Action帧通知上一级所述无线AP且一级一级逐级上传直至作为主路由器的所述无线AP;2.1. When a wireless terminal STA accesses the wireless AP of the wireless AP network group, the wireless AP notifies the wireless AP of the upper level through an Action frame and uploads it level by level until it becomes the master The wireless AP of the router;

2.2,作为主路由器的所述无线AP接到通知后将其本身的最大关联数N与所述无线终端STA实际关联数作大小比较;2.2. After receiving the notification, the wireless AP as the main router compares its own maximum number of associations N with the actual number of associations of the wireless terminal STA;

2.3,作为主路由器的所述无线AP根据过程2.2大小比较的结果做出决策并逐级下发直至直接接入所述无线终端STA的该所述无线AP。2.3. The wireless AP acting as the master router makes a decision according to the size comparison result of the process 2.2, and delivers it level by level until the wireless AP directly accesses the wireless terminal STA.

该方法实现的前提:在整个无线环境中,无线AP不支持下联的LAN口,即所有终端都会和整个环境中的某个无线AP直接关联,本发明通过无线AP在有无线终端STA接入时,可以采用Action帧来通知上级无线AP,一级一级无线AP上传,由作为主路由器的所述无线AP,也即根AP决策,然后由无线AP下发决策给直接接入无线终端STA的无线AP,决定是否接受关联或拒绝。The premise of the realization of this method: in the whole wireless environment, the wireless AP does not support the downlink LAN port, that is, all terminals will be directly associated with a certain wireless AP in the whole environment. , the Action frame can be used to notify the upper-level wireless AP, and the first-level wireless AP uploads, and the wireless AP as the main router, that is, the root AP makes a decision, and then the wireless AP sends the decision to the directly connected wireless terminal STA. The wireless AP, decides whether to accept the association or reject it.

进一步地,对上述方案进行具体的设计:Further, carry out specific design to the above scheme:

所述决策中包括决定是否接受关联或者拒绝所述无线终端STA的内容,以绝对是否允许无线终端STA关联无线AP;The decision includes deciding whether to accept the association or reject the content of the wireless terminal STA, so as to determine whether to allow the wireless terminal STA to associate with the wireless AP;

所述Action帧中内置Vendor Specific IE字段,该特征为常规的供应商特定标准的信息要素的报文格式,便于信息的传递。The Action frame has a built-in Vendor Specific IE field, which is a message format of a conventional vendor-specific standard information element, which is convenient for information transmission.

另外,向上级进行上传的通知所采用的所述Action帧中内置的Vendor SpecificIE字段内容包括无线终端STA关联请求和无线终端STA实际关联数,In addition, the content of the built-in Vendor SpecificIE field in the Action frame used for uploading notification to the superior includes the wireless terminal STA association request and the actual number of wireless terminal STA associations,

所述无线终端STA实际关联数包括本地所在无线AP的无线终端STA直接关联数和下一级无线AP的无线终端STA直接关联数,如果是最下级的无线AP,则它不存在下一级无线AP的无线终端STA直接关联数,可以认定为0,而所提到的直接关联数指的是当前无线AP实际的被允许的已经关联着的无线终端STA的数量,而这里需要着重指出的是,如果将所有所述无线AP的最大关联数均定为N,而不只是主路由器的,其中,N是一个预先设定的最大值,一方面,主路由器通过其来进行数量大小判断来做出决策用,另一方面,如果线终端STA实际关联数假定为X,当X是一个小于N的数值时,那么,主路由器可以认定N-X的值是其最大还能关联的数,无线终端STA实际关联数限制在N以内,由于这是整个群组,使得N-X也是任一一个AP还能允许关联的最大数,这样就方式,可以非常好的控制群组的无线终端STA关联数,保证网络环境的通畅。The actual number of wireless terminal STA associations includes the number of wireless terminal STAs directly associated with the local wireless AP and the number of wireless terminal STAs directly associated with the next-level wireless AP. If it is the lowest-level wireless AP, it does not have the next-level wireless AP. The wireless terminal STA direct association number of the AP can be identified as 0, and the mentioned direct association number refers to the number of wireless terminal STAs that are actually allowed to be associated with the current wireless AP, and it needs to be pointed out here that , if the maximum number of associations of all wireless APs is set to N, not just the main router, where N is a preset maximum value, on the one hand, the main router uses it to judge the number of For making decisions, on the other hand, if the actual number of associations of the wireless terminal STA is assumed to be X, when X is a value smaller than N, then the main router can determine that the value of N-X is the maximum number that can still be associated, and the wireless terminal STA The actual number of associations is limited to N. Since this is the entire group, N-X is also the maximum number of associations allowed by any AP. In this way, the number of wireless terminal STA associations in the group can be very well controlled to ensure Smooth network environment.

而向下级进行下发的决策所采用的所述Action帧中内置的Vendor Specific IE字段内容包括决定无线终端STA是否允许接入的判决指示,也即在下发过程中的VendorSpecific IE字段内容与上传的时候是有区别的,需要相应系统来设定。The content of the built-in Vendor Specific IE field in the Action frame used for the decision to deliver to the lower level includes a decision indication to determine whether the wireless terminal STA is allowed to access, that is, the content of the Vendor Specific IE field in the delivery process is consistent with the uploaded The time is different and needs to be set according to the system.

由上述,当所述无线AP接到由下级上传的通知后,首先,先对无线终端STA实际关联数进行统计,然后,判断自己是否为主路由器,若不是主路由器,则继续向上一级进行通知,若是主路由器,则判断N≥无线终端STA实际关联数+1是否成立,若成立,则接受关联所述无线终端STA,若不成立,则拒绝关联所述无线终端STA。From the above, when the wireless AP receives the notification uploaded by the lower level, firstly, the actual association number of the wireless terminal STA is counted, and then, it is judged whether it is the master router, and if it is not the master router, then proceed to the upper level. Notification, if it is the main router, then judge whether N≥the actual number of wireless terminal STA associations+1 is established, if it is established, then accept the association of the wireless terminal STA, if not established, then refuse to associate with the wireless terminal STA.

下面,就提供具体应用上述方法的场景案例,如图1所示,In the following, a scenario example of the specific application of the above method is provided, as shown in Figure 1.

由无线AP1、无线AP2、无线AP3组成一个树形结构,并把把所有的是否接受和关联的决定权交给整个无线AP网络群的主路由器(根AP)决定,在这里,也就是无线AP1,其中A tree structure is composed of wireless AP1, wireless AP2, and wireless AP3, and the main router (root AP) of the entire wireless AP network group decides whether to accept and associate all decisions, here, wireless AP1 ,in

而无线AP3实时直接关联有无线终端STA5和STA6;The wireless AP3 is directly associated with the wireless terminals STA5 and STA6 in real time;

无线AP2实时直接关联有无线终端STA3和STA4;Wireless AP2 is directly associated with wireless terminals STA3 and STA4 in real time;

无线AP1实时直接关联有无线终端STA1和STA2;Wireless AP1 is directly associated with wireless terminals STA1 and STA2 in real time;

无线AP1、无线AP2、无线AP3之间分别通过WDS进行桥接式网络覆盖,并且,无线AP3为最下级的无线AP,而无线AP1为最上级的无线AP,也即根AP,Wireless AP1, wireless AP2, and wireless AP3 carry out bridging network coverage through WDS, and wireless AP3 is the lowest-level wireless AP, and wireless AP1 is the highest-level wireless AP, that is, the root AP.

然后,假设无线AP1、无线AP2、无线AP3的最大关联数都为N;Then, it is assumed that the maximum association numbers of wireless AP1, wireless AP2, and wireless AP3 are all N;

现在,有一个无线终端STA7请求关联AP3,Now, there is a wireless terminal STA7 requesting to associate with AP3,

则运用上述方法形成如下步骤:Then use the above method to form the following steps:

1.无线终端STA7请求关联无线AP3;1. The wireless terminal STA7 requests to associate with the wireless AP3;

2.无线AP3统计本地所在无线AP的无线终端STA直接关联数量,为2(不包括无线终端STA7),因为其是最下级的,所以下一级无线AP的无线终端STA直接关联数为0,也即无线AP3的无线终端STA实际关联数为2,另外,需判断自己是否为根AP,判断结果为否,则需要上一级进行通知;2. Wireless AP3 counts the number of wireless terminal STAs directly associated with the local wireless AP, which is 2 (excluding wireless terminal STA7). Because it is the lowest level, the number of wireless terminal STAs directly associated with the next level wireless AP is 0. That is to say, the actual association number of the wireless terminal STA of wireless AP3 is 2. In addition, it needs to judge whether it is the root AP. If the judgment result is no, it needs to be notified by the upper level;

3.无线AP3发送Action帧给无线AP2,内置Vendor Specific IE,内容为关联请求及当前无线AP3的无线终端STA实际关联数为2;3. Wireless AP3 sends an Action frame to wireless AP2, with built-in Vendor Specific IE, the content is the association request and the actual number of wireless terminal STA associations of wireless AP3 is 2;

4.无线AP2收到无线AP3的Action帧,无线终端STA实际关联数为:本地所在无线AP的无线终端STA直接关联数+无线AP3的无线终端STA实际关联数=2+2=4,另外,需判断自己是否为根AP,判断结果为否,则需要上一级进行通知;4. Wireless AP2 receives the Action frame of wireless AP3, and the actual number of wireless terminal STA associations is: the number of wireless terminal STAs directly associated with the local wireless AP + the actual number of wireless terminal STAs associated with wireless AP3 = 2+2 = 4, in addition, Need to judge whether you are the root AP, if the judgment result is no, you need to notify the higher level;

5.无线AP2发送Action帧给无线AP1,内置Vendor Specific IE,内容为关联请求及当前无线AP2的无线终端STA实际关联数为4;5. Wireless AP2 sends an Action frame to wireless AP1, with a built-in Vendor Specific IE, the content of which is an association request and the actual number of wireless terminal STA associations of wireless AP2 is 4;

6.无线AP1收到无线AP2的Action帧,统计无线终端STA实际关联数为:本地所在无线AP的无线终端STA直接关联数+无线AP2的无线终端STA实际关联数=4+2=6;6. Wireless AP1 receives the Action frame of wireless AP2, and counts the actual number of wireless terminal STA associations as: the number of wireless terminal STAs directly associated with the local wireless AP + the actual number of wireless terminal STAs associated with wireless AP2 = 4 + 2 = 6;

7.无线AP1判断自己为根AP,所以无线AP1判断N>=6+1是否成立?无线AP1把判断结果通过Action帧,内置Vendor Specific IE发送为无线AP2;7. Wireless AP1 judges itself as the root AP, so wireless AP1 judges whether N>=6+1 is established? Wireless AP1 sends the judgment result to wireless AP2 through the built-in Vendor Specific IE through the Action frame;

8.无线AP2把判断结果通过Action帧,内置Vendor Specific IE转发送为无线AP3;8. Wireless AP2 transmits the judgment result to wireless AP3 through the built-in Vendor Specific IE through the Action frame;

9.无线AP3根据Action帧中Vendor Specific IE内的判决指示来决定无线终端STA7是否可以关联。9. The wireless AP3 determines whether the wireless terminal STA7 can be associated according to the judgment indication in the Vendor Specific IE in the Action frame.

依据前述方法,如果在此前N>=6+1的判断中是成立的情况下,则判决指示应该是允许无线终端STA7关联,如果N>=6+1的判断中是不成立的情况下,则判决指示应该是拒绝无线终端STA7关联。According to the aforementioned method, if it is true in the previous judgment of N>=6+1, then the judgment indicates that the wireless terminal STA7 should be allowed to associate; if it is not true in the judgment of N>=6+1, then The decision indication should be to reject the association of the wireless terminal STA7.

在举个实施案例,如果无线终端STA7接入的是无线AP2,则步骤就会有所不同,如下:In an implementation example, if the wireless terminal STA7 accesses the wireless AP2, the steps will be different, as follows:

1.无线终端STA7请求关联无线AP2;1. The wireless terminal STA7 requests to associate with the wireless AP2;

2.无线AP2统计无线终端STA实际关联数为:本地所在无线AP的无线终端STA直接关联数+无线AP3的无线终端STA实际关联数=2+2=4,另外,需判断自己是否为根AP,判断结果为否,则需要上一级进行通知,其中需要注意的是:无线AP3的无线终端STA实际关联数这个数值由上次无线AP3上有无线终端STA关联时,通过Action帧获知;2. Wireless AP2 counts the actual number of wireless terminal STA associations as: the number of wireless terminal STAs directly associated with the local wireless AP + the actual number of wireless terminal STAs associated with wireless AP3 = 2+2 = 4. In addition, you need to determine whether you are the root AP , if the judgment result is no, the upper level needs to notify, and it should be noted that: the actual number of wireless terminal STA associations of wireless AP3 is obtained through the Action frame when there is a wireless terminal STA association on wireless AP3 last time;

3.无线AP2发送Action帧给无线AP1,内置Vendor Specific IE,内容为关联请求及当前无线AP2的无线终端STA实际关联数为4;3. Wireless AP2 sends an Action frame to wireless AP1, with built-in Vendor Specific IE, the content is the association request and the actual number of wireless terminal STA associations of wireless AP2 is 4;

4.无线AP1收到无线AP2的Action帧,统计无线终端STA实际关联数为:本地所在无线AP的无线终端STA直接关联数+无线AP2的无线终端STA实际关联数=4+2=6;4. Wireless AP1 receives the Action frame of wireless AP2, and counts the actual number of wireless terminal STA associations as: the number of wireless terminal STAs directly associated with the local wireless AP + the actual number of wireless terminal STAs associated with wireless AP2 = 4 + 2 = 6;

5.无线AP1判断自己为根AP,所以无线AP1判断N>=6+1是否成立?无线AP1把判断结果通过Action帧,内置Vendor Specific IE发送为无线AP2;5. Wireless AP1 judges itself as the root AP, so wireless AP1 judges whether N>=6+1 is established? Wireless AP1 sends the judgment result to wireless AP2 through the built-in Vendor Specific IE through the Action frame;

6.无线AP2根据Action帧中Vendor Specific IE内的判决指示来决定无线终端STA7是否可以关联。6. The wireless AP2 decides whether the wireless terminal STA7 can associate according to the decision indication in the Vendor Specific IE in the Action frame.

依据前述方法,如果在此前N>=6+1的判断中是成立的情况下,则判决指示应该是允许无线终端STA7关联,如果N>=6+1的判断中是不成立的情况下,则判决指示应该是拒绝无线终端STA7关联。According to the aforementioned method, if it is true in the previous judgment of N>=6+1, then the judgment indicates that the wireless terminal STA7 should be allowed to associate; if it is not true in the judgment of N>=6+1, then The decision indication should be to reject the association of the wireless terminal STA7.

通过上述案例,可以看出,本发明的方法具有非常快捷、高效的处理能力,对限制无线终端STA关联无线AP具有好的作用,基于WDS,通过Action帧的形式不仅容易实现,操作简单,能更加准确地控制无线终端STA关联数,做到高效和准确,不容易出错,并有效解决网络拥塞等问题。Through the above cases, it can be seen that the method of the present invention has very fast and efficient processing capabilities, and has a good effect on restricting wireless terminal STAs from associating with wireless APs. Based on WDS, it is not only easy to implement in the form of Action frames, but also simple to operate and can More accurately control the number of wireless terminal STA associations, achieve high efficiency and accuracy, not prone to errors, and effectively solve problems such as network congestion.

实施例2,一种基于WDS的关联数限制的系统,包括若干具有WDS功能的无线AP和无线终端STA,所述无线终端STA包括终端通信模块和终端关联请求发送模块,所述无线AP包括AP通信模块、终端关联请求接收模块、主路由器判断模块、Action帧生成模块、Action帧上传模块、Action帧下发模块、Action帧接收模块、决策生成模块,其中,Embodiment 2, a system for limiting the number of associations based on WDS, including several wireless APs with WDS functions and a wireless terminal STA, the wireless terminal STA includes a terminal communication module and a terminal association request sending module, and the wireless AP includes an AP Communication module, terminal association request receiving module, main router judging module, Action frame generating module, Action frame uploading module, Action frame sending module, Action frame receiving module, decision generating module, wherein,

所述终端通信模块用于与无线AP进行通信;The terminal communication module is used to communicate with the wireless AP;

所述终端关联请求发送模块用于向无线AP发送关联请求;The terminal association request sending module is used to send an association request to a wireless AP;

所述无线AP通信模块用于与无线终端STA进行通信;The wireless AP communication module is used to communicate with the wireless terminal STA;

所述终端关联请求接收模块用于接收无线终端STA的关联请求;The terminal association request receiving module is used to receive an association request of a wireless terminal STA;

所述主路由器判断模块用于无线AP判断自身是否为主路由器;The master router judging module is used for the wireless AP to judge whether it is the master router;

所述Action帧生成模块用于生成Action帧;The Action frame generation module is used to generate Action frames;

所述Action帧上传模块用于本地所在无线AP向上一级无线AP上传Action帧;The Action frame uploading module is used for the local wireless AP to upload the Action frame to the upper-level wireless AP;

所述Action帧下发模块用于本地所在无线AP向下一集无线AP下发Action帧;The Action frame sending module is used for the local wireless AP to send the Action frame to the next set of wireless APs;

所述Action帧接收模块用于接收来自其他无线AP的Action帧;The Action frame receiving module is used to receive Action frames from other wireless APs;

所述决策生成模块用于无线AP判断自身作为主路由器时做出决策。The decision generating module is used for making a decision when the wireless AP judges itself as the master router.

进一步模块的设计,所述Action帧生成模块包括Vendor Specific IE字段内置模块,所述Vendor Specific IE字段内置模块包括关联请求信息获取子模块、决策信息获取子模块、无线终端STA实际关联数生成子模块,所述决策生成模块包括最大关联数判断子模块和无线终端STA是否接入判决指示子模块,其中,Further module design, the Action frame generation module includes a Vendor Specific IE field built-in module, and the Vendor Specific IE field built-in module includes an association request information acquisition submodule, a decision information acquisition submodule, and a wireless terminal STA actual association number generation submodule , the decision generating module includes a maximum association number judging submodule and a wireless terminal STA access judging indication submodule, wherein,

所述关联请求信息获取子模块用于获取无线终端STA的关联请求信息;The association request information acquisition submodule is used to acquire association request information of the wireless terminal STA;

所述决策信息获取子模块用于获取作为主路由器的无线AP决策信息;The decision information acquisition submodule is used to acquire decision information of the wireless AP as the main router;

所述无线终端STA实际关联数生成子模块用于统计无线AP的实际关联数,所述实际关联数包括本地所在无线AP的无线终端STA直接关联数和下一级无线AP的无线终端STA直接关联数;The actual association number generation submodule of the wireless terminal STA is used to count the actual association number of the wireless AP, and the actual association number includes the direct association number of the wireless terminal STA of the local wireless AP and the direct association number of the wireless terminal STA of the next-level wireless AP number;

所述Vendor Specific IE字段内置模块用于根据所述关联请求信息获取子模块和所述无线终端STA实际关联数生成子模块的信息内置形成上传至上级无线AP的Action帧内容或者根据所述决策信息获取子模块的决策信息内置形成下发至下级无线AP的Action帧内容;The built-in module of the Vendor Specific IE field is used to build the content of the Action frame uploaded to the superior wireless AP according to the information of the association request information acquisition sub-module and the actual association number generation sub-module of the wireless terminal STA or according to the decision information Obtain the decision information of the sub-module built-in to form the content of the Action frame sent to the lower-level wireless AP;

所述最大关联数判断子模块用于作为主路由器的无线AP判断最大关联数N≥无线终端STA实际关联数+1是否成立;The maximum association number judging submodule is used for the wireless AP as the main router to judge whether the maximum association number N≥the actual association number of the wireless terminal STA+1 is established;

所述无线终端STA是否接入判决指示子模块用于给出如果所述最大关联数判断子模块判断若不成立则拒绝关联无线终端STA以及若不成立则接受关联无线终端STA的决策信息。The wireless terminal STA access judgment indication submodule is used to provide decision information that if the maximum association number judgment submodule judges that if it is not established, it will refuse to associate with the wireless terminal STA and if it is not established, it will accept the association with the wireless terminal STA.

上述系统适用于实施例1的关联数限制的方法,系统的模块图如图2所示,当然,系统仍需配置一些相应的存储模块进行适时的数据存储工作,简单的过程:无线终端STA通过所述终端通信模块接入无线AP进行通信后,就通过终端关联请求发送模块向对应的无线AP发送关联请求,然后在,无线AP形成的网络中,通过在无线AP上设置的各个模块执行实施例1中方法的各个步骤,当然,该系统也是可以应用于对上述方法所进行的改进的方法,不只局限于实施例1所提到的方法。The above-mentioned system is suitable for the method of limiting the number of associations in Embodiment 1. The block diagram of the system is shown in Figure 2. Of course, the system still needs to configure some corresponding storage modules for timely data storage. The simple process: the wireless terminal STA passes After the terminal communication module accesses the wireless AP for communication, it sends an association request to the corresponding wireless AP through the terminal association request sending module, and then in the network formed by the wireless AP, executes the implementation through each module set on the wireless AP. For each step of the method in Example 1, of course, this system is also a method that can be applied to improve the above method, and is not limited to the method mentioned in Example 1.

整个系统的稳定性和兼容性都相对会更好,同时也可以减少系统的出差概率,不容易产生网络拥塞等问题。The stability and compatibility of the entire system will be relatively better, and at the same time, it can also reduce the probability of business trips of the system, and it is not easy to cause problems such as network congestion.

本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention belongs can make various modifications or supplements to the described specific embodiments or adopt similar methods to replace them, but they will not deviate from the spirit of the present invention or go beyond the definition of the appended claims range.

Claims (10)

CN201710140296.0A2017-03-102017-03-10 A method and system for limiting the number of associations based on WDSActiveCN107040964B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710140296.0ACN107040964B (en)2017-03-102017-03-10 A method and system for limiting the number of associations based on WDS

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710140296.0ACN107040964B (en)2017-03-102017-03-10 A method and system for limiting the number of associations based on WDS

Publications (2)

Publication NumberPublication Date
CN107040964Atrue CN107040964A (en)2017-08-11
CN107040964B CN107040964B (en)2020-12-18

Family

ID=59534399

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710140296.0AActiveCN107040964B (en)2017-03-102017-03-10 A method and system for limiting the number of associations based on WDS

Country Status (1)

CountryLink
CN (1)CN107040964B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114189925A (en)*2021-12-102022-03-15深圳市信锐网科技术有限公司Wireless access system, communication method, wireless access point and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1340938A (en)*2000-08-252002-03-20日本电气株式会社Route renewing method for micro-moving network
CN1505339A (en)*2002-12-022004-06-16���ǵ�����ʽ���� Device and method for controlling load balancing of multiple access points in wireless local area network system
CN1525705A (en)*2002-11-272004-09-01Native WI-FI architecture for 802.11 networks
CN102811452A (en)*2011-05-312012-12-05德赛电子(惠州)有限公司Distributed wireless gateway system and communication method
US8989101B1 (en)*2013-06-272015-03-24Google Inc.Systems, methods, and computer-readable media for identifying virtual access points of wireless networks
CN104780553A (en)*2014-01-102015-07-15中兴通讯股份有限公司Wireless access point access communication terminal management method, wireless access point access communication terminal management device and wireless access terminal
CN105101106A (en)*2015-07-162015-11-25上海斐讯数据通信技术有限公司Load balancing method and system of wireless network
CN106209430A (en)*2016-06-302016-12-07上海斐讯数据通信技术有限公司The method of a kind of wireless network extension and wireless router
CN106304179A (en)*2016-08-052017-01-04王楚There is the wireless network architecture of load-balancing function

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1340938A (en)*2000-08-252002-03-20日本电气株式会社Route renewing method for micro-moving network
CN1525705A (en)*2002-11-272004-09-01Native WI-FI architecture for 802.11 networks
CN1505339A (en)*2002-12-022004-06-16���ǵ�����ʽ���� Device and method for controlling load balancing of multiple access points in wireless local area network system
CN102811452A (en)*2011-05-312012-12-05德赛电子(惠州)有限公司Distributed wireless gateway system and communication method
US8989101B1 (en)*2013-06-272015-03-24Google Inc.Systems, methods, and computer-readable media for identifying virtual access points of wireless networks
CN104780553A (en)*2014-01-102015-07-15中兴通讯股份有限公司Wireless access point access communication terminal management method, wireless access point access communication terminal management device and wireless access terminal
CN105101106A (en)*2015-07-162015-11-25上海斐讯数据通信技术有限公司Load balancing method and system of wireless network
CN106209430A (en)*2016-06-302016-12-07上海斐讯数据通信技术有限公司The method of a kind of wireless network extension and wireless router
CN106304179A (en)*2016-08-052017-01-04王楚There is the wireless network architecture of load-balancing function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114189925A (en)*2021-12-102022-03-15深圳市信锐网科技术有限公司Wireless access system, communication method, wireless access point and storage medium
CN114189925B (en)*2021-12-102024-04-09深圳市信锐网科技术有限公司Wireless access system, communication method, wireless access point, and storage medium

Also Published As

Publication numberPublication date
CN107040964B (en)2020-12-18

Similar Documents

PublicationPublication DateTitle
CA3112926C (en)Slice information processing method and apparatus
KR102357071B1 (en) How to report multi-connection data volumes
KR101868070B1 (en)Service layer southbound interface and quality of service
CN109412771A (en) Communication method and device
CN100596232C (en) Method and device for realizing quality of service bearer establishment and mapping
CN109391614B (en)Method and device for calling monitoring data based on video network
EP4156770B1 (en)Communication method, apparatus and system
CN104363181B (en)Flow transfer control method and device
CN103974325A (en)Multi-system network convergence method, device and system
WO2016197800A1 (en)Adjustment method and device for service rate
CN102369752B (en)Data transmission method and apparatus
US12402029B2 (en)Communication method, apparatus, and system
CN107666467B (en)Resource allocation method, equipment and system
CN114270953B (en)Communication method, device and system
CN109842920A (en)A kind of transmission method, access network equipment and terminal device
WO2022142657A1 (en)Message transmission method and message transmission system, and storage medium
CN103368868A (en)Network flow bandwidth control method, device and system
CN106332129B (en)Configuration method of wireless network function, wireless network node and core network equipment
CN104009937B (en)A kind of enhanced transmission selection standard configuration information transmission method and device
WO2018141278A1 (en)Wireless communication method, user equipment, access network equipment and network system
CN107040964A (en)A kind of method and system of the incidence number limitation based on WDS
JP7386961B2 (en) Port control support methods and equipment
CN112787827B (en) A communication method, device and system
CN103067905B (en)The method and system that radio data network differentiation accesses
CN108092896A (en)Pile system and aggregation group establish device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

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

Applicant after:PHICOMM (SHANGHAI) Co.,Ltd.

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

Applicant before:PHICOMM (SHANGHAI) Co.,Ltd.

TA01Transfer of patent application right
TA01Transfer of patent application right

Effective date of registration:20201102

Address after:No. 2-3167, zone a, Nonggang City, No. 2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Applicant after:Taizhou Jiji Intellectual Property Operation Co.,Ltd.

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

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

GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20250605

Address after:030001 Shanxi Province, Taiyuan City, Wancang District, Changxing Road No. 1, China Resources Building T1-1210

Patentee after:Shanxi Xingzhuo Technology Co.,Ltd.

Country or region after:China

Address before:No. 2-3167, zone a, Nonggang City, No. 2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

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

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp