CN109246784A - A kind of roaming control method and device - Google Patents

A kind of roaming control method and device Download PDF

Info

Publication number
CN109246784A
CN109246784A CN201811300934.1A CN201811300934A CN109246784A CN 109246784 A CN109246784 A CN 109246784A CN 201811300934 A CN201811300934 A CN 201811300934A CN 109246784 A CN109246784 A CN 109246784A
Authority
CN
China
Prior art keywords
client
destination client
connection
wireless network
distance
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
CN201811300934.1A
Other languages
Chinese (zh)
Other versions
CN109246784B (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811300934.1A priority Critical patent/CN109246784B/en
Publication of CN109246784A publication Critical patent/CN109246784A/en
Application granted granted Critical
Publication of CN109246784B publication Critical patent/CN109246784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

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

Abstract

The embodiment of the present application provides a kind of roaming control method and device, applied to the net control device in wireless network, method includes: to obtain the number for the client that the first AP in wireless network is currently connected, as the first number, if the first number is greater than preset number threshold value, from the client that the first AP is currently connected, determine the maximum destination client at a distance from the first AP, and destination client is at a distance from the first AP, as first distance, if in other AP in wireless network in addition to the first AP, in the presence of the 2nd AP for meeting preset condition, AC in wireless network can then notify the first AP to disconnect the connection with destination client, and it controls destination client and establishes connection with any 2nd AP.2nd AP meets preset condition, can provide any wireless network services for destination client, can be to avoid the network interruption of destination client.

Description

A kind of roaming control method and device
Technical field
This application involves radio network technique fields, more particularly to a kind of roaming control method and device.
Background technique
With the fast development of WLAN (Wireless Local Access Network, WLAN) technology, wirelessly Network is in people's lives in occupation of increasingly consequence.Access point (Access Point, AP) in wireless network can To connect client, to provide any wireless network services for client.Client can be roamed according to the signal strength of AP, example Such as, with the movement of client, when client detects that the signal strength of the AP (can be described as the first AP) currently connected is less than in advance If when signal strength threshold, client will disconnect the connection with the first AP, and (can be described as with the biggish AP of current signal strength Two AP) establish connection.
If the signal cover of the first AP is greater than the distance between the first AP and the 2nd AP, it is possible that following existing As: the client has had moved away from the first AP of initial connection, but the signal strength of the first AP detected by the client is still More than or equal to preset signal strength threshold value, even if the client is close apart from the 2nd new AP, roaming will not be generated (i.e. The client can't be switched to biggish 2nd AP of signal strength from the first AP), and then it is more to may cause the first AP connection Client, influence the performance of wireless network.
In the prior art, when the client of the first AP connection is more, the first AP can from the client currently connected, It determines the lesser destination client of the signal strength of client, and disconnects the connection with destination client, to reduce by the first AP The number of the client of connection disconnects target visitor however, destination client is currently possible to be merely able to establish connection with the first AP The connection at family end and the first AP will lead to the network interruption of destination client.
Summary of the invention
The embodiment of the present application is designed to provide a kind of roaming control method and device, can be to avoid the network of client It interrupts.Specific technical solution is as follows:
In a first aspect, in order to achieve the above object, the embodiment of the present application discloses a kind of roam control method, the method Applied to the net control device in wireless network, which comprises
The number for obtaining the client that the first AP in the wireless network is currently connected, as the first number;
If first number is greater than preset number threshold value, from the client that the first AP is currently connected, determine The maximum destination client at a distance from the first AP out, and the destination client is obtained at a distance from the first AP, As first distance;
If in other AP in the wireless network in addition to the first AP, there is the 2nd AP for meeting preset condition, And the net control device is access controller AC, then the first AP is notified to disconnect the connection with the destination client, And control the destination client and any 2nd AP establishes connection, wherein the preset condition includes: and the target customer The distance at end is less than the first distance;
If there are the 2nd AP in other AP in the wireless network in addition to the first AP, and the network control Control equipment is server, then by the AC in the wireless network, the first AP is notified to disconnect and the destination client Connection, and control the destination client and establish connection with any 2nd AP.
Optionally, the preset condition further include:
The number of the client currently connected meets preset number range;
And/or
The signal strength of the destination client received, the target customer received not less than the first AP The signal strength at end.
Optionally, the control destination client and any 2nd AP establish connection, comprising:
When passing through the AP in the wireless network in addition to the 2nd AP, the connection that the destination client is sent is received When request message, refusal establishes connection with the destination client.
Optionally, the 2nd AP is multiple, and the control destination client and any 2nd AP establish connection, is wrapped It includes:
By the smallest AP of number of the client currently connected in each 2nd AP, as the 3rd AP;
When passing through the AP in the wireless network in addition to the 3rd AP, the connection that the destination client is sent is received When request message, refusal establishes connection with the destination client.
Second aspect, in order to achieve the above object, the embodiment of the present application disclose a kind of roaming control device, described device Applied to the net control device in wireless network, described device includes:
First obtains module, and the number for the client that the first AP for obtaining in the wireless network is currently connected is made For the first number;
Second obtains module, if being greater than preset number threshold value for first number, currently connects from the first AP In the client connect, determine the maximum destination client at a distance from the first AP, and obtain the destination client with The distance of first AP, as first distance;
Processing module, if it is default to there is satisfaction in other AP in the wireless network in addition to the first AP 2nd AP of condition, and the net control device is access controller AC, then the first AP is notified to disconnect and the target The connection of client, and control the destination client and any 2nd AP establishes connection, wherein the preset condition includes: With at a distance from the destination client be less than the first distance;
The processing module, if being also used to exist in other AP in the wireless network in addition to the first AP described 2nd AP, and the net control device is server, then by the AC in the wireless network, the first AP is notified to disconnect With the connection of the destination client, and the destination client is controlled and any 2nd AP establishes connection.
Optionally, the preset condition further include:
The number of the client currently connected meets preset number range;
And/or
The signal strength of the destination client received, the target customer received not less than the first AP The signal strength at end.
Optionally, the processing module, specifically for connecing when passing through the AP in the wireless network in addition to the 2nd AP When receiving the connection request message that the destination client is sent, refusal establishes connection with the destination client.
Optionally, the 2nd AP is multiple, the processing module, specifically for the visitor that will currently connect in each 2nd AP The smallest AP of the number at family end, as the 3rd AP;
When passing through the AP in the wireless network in addition to the 3rd AP, the connection that the destination client is sent is received When request message, refusal establishes connection with the destination client.
The third aspect provides a kind of electronic equipment, including processor, communication interface, memory and communication bus, In, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method and step described in first aspect.
Fourth aspect provides a kind of machine readable storage medium, is stored with machine-executable instruction, by processor tune When with executing, the machine-executable instruction promotes the processor: realizing method and step described in first aspect.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes method and step described in above-mentioned first aspect.
The embodiment of the present application provides a kind of roaming control method and device, can be applied to the network control in wireless network Control equipment, the number for the client that the first AP in the available wireless network of net control device is currently connected, as first Number, if the first number is greater than preset number threshold value and determines from the client that the first AP is currently connected with the first AP's Apart from maximum destination client, and destination client is obtained at a distance from the first AP, as first distance.If wireless network In in other each AP in addition to the first AP, there is the 2nd AP for meeting preset condition, and net control device is AC, then AC can be with Notify the first AP disconnect with the connection of destination client, and control destination client and any 2nd AP establishes connection, and if Net control device is server, then server can notify the first AP disconnection and target customer by the AC in wireless network The connection at end, and destination client is controlled by AC and establishes connection with any 2nd AP.Preset condition includes and destination client Distance be less than first distance, the 2nd AP meets preset condition, i.e. the 2nd AP can provide wireless network for destination client and take Business, therefore, after disconnecting the connection with the first AP, destination client and any 2nd AP establish connection, can be to avoid target visitor The network interruption at family end.
Certainly, implement the application any product or method it is not absolutely required to and meanwhile reach above all advantages.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of frame diagram of group-network construction provided by the embodiments of the present application;
Fig. 2 is a kind of frame diagram of group-network construction provided by the embodiments of the present application;
Fig. 3 is a kind of flow chart of roam control method provided by the embodiments of the present application;
Fig. 4 is a kind of exemplary flow chart of roam control method provided by the embodiments of the present application;
Fig. 5 is a kind of structure chart of roaming control device provided by the embodiments of the present application;
Fig. 6 is the structure chart of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of roaming control method and device, can be applied to the network control in wireless network Control equipment can also include multiple AP in the wireless network.Net control device can be the access control in wireless network Device (Access Controller, AC), alternatively, the net control device may be server, the server can with it is wireless AC in network is communicated.
Referring to Fig. 1, Fig. 1 is a kind of frame diagram of group-network construction provided by the embodiments of the present application, is a kind of possible application Scene.The networking includes AC, AP1, AP2, AP3, client 1 and client 2, and currently, AC is net control device.AP1, AP2 and AP3 accesses AC, and client 1 and client 2 can be the electronic equipments such as mobile phone, laptop, tablet computer.? When client 1 accesses the networking for the first time, since client 1 is smaller at a distance from AP1, client 1 can establish connection with AP1, AP1 can provide any wireless network services for client 1.Client 2 is similar with the processing method of client 1, and details are not described herein again.
As client 1 is mobile to the direction of AP2, client 1 is far from AP1, the signal for the AP1 that client 1 detects Intensity can become smaller.However, client 1 detects the signal strength of AP1, it is possible to being more than or equal to preset signal strength threshold Value, at this point, client 1 not will disconnect the connection with AP1, even if that is, 1 distance AP2 of client is close, it will not be from AP1 It is switched on the biggish AP2 of signal strength, so that connecting more client on AP1.
In the prior art, when the client of AP1 connection is more, AP1 can be from client (the i.e. client currently connected 1 and client 2) in, determine the smallest client of the signal strength of client (for example, client 2), and disconnect and client 2 connection, however, client 2 is currently possible to be merely able to establish connection with AP1, AP1 disconnects the connection with client 2, can lead Cause the network interruption of client 2.
Roam control method based on the application, when AC detects number (the i.e. first number for the client that AP1 is currently connected Mesh) be greater than preset number threshold value when, AC can from the client (i.e. client 1 and client 2) that AP1 is currently connected, determine The maximum client (i.e. client 2) at a distance from AP1 out, and obtain client 2 (i.e. first distance) at a distance from AP1.Such as In AP in the fruit networking in addition to AP1, exists and meet preset condition (can be to be less than first distance at a distance from client 2) AP (can be AP2), AC then notify AP1 to disconnect the connection with client 2, and control client 2 and AP2 and establish connection.Due to AP2 is less than first distance at a distance from client 2, that is, AP2 can establish connection with client 2, provide wirelessly for client 2 Network service.After disconnecting the connection with AP1, client 2 can establish connection with AP2, and then can be to avoid the net of client 2 Network interrupts.
In addition, referring to fig. 2, Fig. 2 is added to server on the basis of Fig. 1, currently, net control device can be the clothes Business device, the server are connected with the AC in networking.
Roam control method based on the application, when server detects the number (i.e. for the client that AP1 is currently connected One number) when being greater than preset number threshold value, client (i.e. client 1 and client 2) that server can currently be connected from AP1 In, determine the maximum client (i.e. client 2) at a distance from AP1, and obtain client 2 at a distance from AP1 (i.e. first away from From).If in the AP in the networking in addition to AP1, exist meet preset condition (can at a distance from client 2 less than first Distance) AP (can be AP2), server can by AC, notify AP1 disconnect with the connection of client 2, and pass through AC control Client 2 and AP2 establish connection, equally can be to avoid the network interruption of client 2.
If net control device is server, server can undertake the big of the roam control method based on the application Part processing step, and then the load of the AC in wireless network can be reduced, improve the performance of wireless network.
The embodiment of the present application provides a kind of roam control method, and the network-control that can be applied in wireless network is set Standby, referring to Fig. 3, this method be may comprise steps of:
S301: the number for the client that the first AP in wireless network is currently connected is obtained, as the first number.
Wherein, net control device can be according to roam control method provided by the present application, respectively in wireless network Every AP is handled.First AP can be any AP in wireless network, and herein, the first AP is that net control device is currently located The AP of reason.
In application embodiment, for currently processed AP (i.e. the first AP), available first AP of net control device The number of the client currently connected, as the first number.
In this step, net control device can periodically obtain the first number, for example, net control device can be with every Every 5 seconds the first numbers of acquisition, alternatively, net control device can be every 10 seconds the first numbers of acquisition.In addition, net control device The first number can also be obtained when detecting that new client accesses an AP.The embodiment of the present application sets network-control The standby method for obtaining the first number is not defined.
S302: if the first number be greater than preset number threshold value, from the client that the first AP is currently connected, determine with The maximum destination client of distance of first AP, and destination client is obtained at a distance from the first AP, as first distance.
Wherein, preset number threshold value can be rule of thumb configured by technical staff.In general, preset number threshold value can be with The maximum number of the client of connection is supported to determine according to the first AP, preset number threshold value can support connection less than the first AP The maximum number of client, to guarantee the performance of the first AP.For example, the maximum number of the client of the first AP support connection is 15, then preset number threshold value can be 10.The performance of each AP in wireless network might have difference, therefore, in wireless network The corresponding preset number threshold value of each AP can not also be identical.
First AP can open wireless locating function, to obtain the physical location of the client currently connected, network-control Equipment can then be obtained by the first AP and the physical location of the first AP each client connecting, and according to the physical bit of the first AP It sets, determines the first AP at a distance from each client of connection.
In the embodiment of the present application, after net control device obtains the first number, net control device may determine that the Whether one number is greater than preset number threshold value.When net control device determine the first number be greater than preset number threshold value, i.e., currently When the number of the client of first AP connection is more, net control device can be in each client connecting with the first AP, really The maximum client (i.e. destination client) at a distance from the first AP is made, and obtains destination client at a distance from the first AP (i.e. first distance), to carry out subsequent processing.
In addition, net control device can be without any if the first number is less than or equal to preset number threshold value Processing.
S303: if in other AP in wireless network in addition to the first AP, there is the 2nd AP for meeting preset condition, and net It is AC that network, which controls equipment, then notifies the first AP to disconnect the connection with destination client, and control destination client and any second AP establishes connection.
Wherein, preset condition may include: to be less than first distance at a distance from destination client.
In the embodiment of the present application, if net control device is the AC in wireless network, AC is obtaining first distance, And after determining destination client, AC can determine the AP (being properly termed as AP to be selected) in wireless network in addition to the first AP, and obtain Take each AP to be selected at a distance from destination client.Then, AC may determine that in each AP to be selected, if exist and destination client Distance be less than first distance AP (i.e. the 2nd AP).When AC determines in each AP to be selected to be deposited in that is, each AP to be selected there are the 2nd AP When that can establish the AP of connection with destination client, AC can notify the first AP to disconnect the connection with destination client, and control Destination client processed and any 2nd AP establish connection.The 2nd AP that AC is determined can be one, be also possible to multiple.
In this step, AC can send the mark of destination client to the first AP, to notify the first AP to disconnect and target visitor The connection at family end, correspondingly, the first AP can then send Deauthenticat ion (releasing certification request) to destination client Frame, to disconnect the connection with destination client.
In addition, AC is not notified that the first AP is disconnected and target visitor then when AC determines that two AP is not present in each AP to be selected The connection at family end can not establish connection with other AP to avoid destination client, lead to the network interruption of destination client.
S304: if in other AP in wireless network in addition to the first AP, there is the 2nd AP for meeting preset condition, and net It is server that network, which controls equipment, then by the AC in wireless network, notifies the connection of the first AP disconnection and destination client, and control Destination client processed and any 2nd AP establish connection.
Wherein, preset condition may include: to be less than first distance at a distance from destination client.
In the embodiment of the present application, net control device can also be server, referring to Fig. 3, server and wireless network In AC be connected.Server is obtaining first distance, and behind determining destination client, server can be determined in wireless network AP to be selected, and each AP to be selected is obtained at a distance from destination client.Then, server may determine that in each AP to be selected, if In the presence of the AP (i.e. the 2nd AP) for being less than first distance at a distance from destination client.When server determines that there are the in each AP to be selected Two AP, i.e., when each AP to be selected has the AP that can establish connection with destination client, server can notify the first AP by AC The connection with destination client is disconnected, and destination client is controlled by AC and establishes connection with any 2nd AP.Similarly, server The 2nd AP determined can be one, be also possible to multiple.
In this step, server can send the disconnection for carrying the mark of the first AP and the mark of destination client to AC Connection message.Correspondingly, AC is received after disconnecting message, it can be according to the mark of the first AP and the mark of destination client Know, the first AP is notified to disconnect the connection with destination client.First AP can then be sent to destination client Deauthentication frame, to disconnect the connection with destination client.
As it can be seen that since the 2nd AP is less than first distance at a distance from destination client, that is, the 2nd AP can be with target customer Connection is established at end, provides any wireless network services for destination client.Therefore, after disconnecting the connection with the first AP, target customer End can establish connection with the 2nd AP, and then can be to avoid the network interruption of destination client.
In addition, server will not then send to AC and carry when server determines that two AP is not present in each AP to be selected The mark of the mark and destination client of first AP disconnects message, disconnects to avoid destination client with the first AP's After connection, connection can not be established with other AP, lead to the network interruption of destination client.
Optionally, net control device controls the method that connection is established with any 2nd AP in destination client, may include Following steps:
When passing through the AP in wireless network in addition to the 2nd AP, when receiving the connection request message of destination client transmission, Refusal establishes connection with destination client.
Wherein, connection request message establishes connection for destination client and AP, for example, connection request message can be Probe Request Association (probe requests thereby association) frame.
In the embodiment of the present application, if net control device is AC, when AC determines that there are the 2nd AP in each AP to be selected, and After notifying the first AP to disconnect the connection with destination client, if AC is received by the AP in wireless network in addition to the 2nd AP The connection request message that destination client is sent, AC can abandon connection request message, alternatively, AC can be without any place Reason establishes connection to refuse the AP in destination client and wireless network in addition to the 2nd AP, so that destination client can only Enough any AP with the 2nd AP establish connection.
In addition, if net control device be server, when server determine in each AP to be selected exist when two AP, service Device can also send the mark of the 2nd AP to AC.If AC receives target visitor by the AP in wireless network in addition to the 2nd AP The connection request message that family end is sent, AC can abandon connection request message, alternatively, AC can be without any processing, to refuse AP in exhausted destination client and wireless network in addition to the 2nd AP establishes connection, so that destination client is merely able to and second Any AP in AP establishes connection.
Correspondingly, AC can be notified if AC receives the connection request message of destination client transmission by the 2nd AP 2nd AP allows to establish connection with destination client, provides any wireless network services for destination client.
To sum up, destination client only can establish connection with any AP in the 2nd AP, to obtain the wireless of better quality Network service.
Optionally, when the 2nd AP is multiple, for the load of each AP in balanced wireless network, net control device can be with Destination client is controlled, establishes connection with the least AP of number for the client currently connecting in each 2nd AP, correspondingly, control The method that destination client and any 2nd AP establish connection, may comprise steps of:
Step 1: by the smallest AP of number of the client currently connected in each 2nd AP, as the 3rd AP.
In application embodiment, when net control device determines that there are the 2nd AP in each AP to be selected, and second determined When AP is multiple, the number for the client that available each 2nd AP of net control device is currently connected, then, network-control is set It is standby can be by the smallest AP of number of the client currently connected in each 2nd AP, as the 3rd AP.
Step 2: when passing through the AP in wireless network in addition to the 3rd AP, the connection request of destination client transmission is received When message, refusal establishes connection with destination client.
In the embodiment of the present application, if net control device is AC, when AC determines three AP, if AC passes through nothing AP in gauze network in addition to the 3rd AP, receives the connection request message of destination client transmission, and AC can abandon connection request Message, alternatively, AC can be established without any processing with refusing the AP in destination client and wireless network in addition to the 3rd AP Connection, so that destination client is merely able to establish connection with the 3rd AP.
In addition, when server determines three AP, server can also be to AC if net control device is server Send the mark of the 3rd AP.If AC receives the company of destination client transmission by the AP in wireless network in addition to the 3rd AP Request message is connect, AC can abandon connection request message, alternatively, AC can be without any processing, to refuse destination client Connection is established with the AP in wireless network in addition to the 3rd AP, so that destination client is merely able to establish connection with the 3rd AP.
Correspondingly, AC can be notified if AC receives the connection request message of destination client transmission by the 3rd AP 3rd AP allows to establish connection with destination client, provides any wireless network services for destination client.
To sum up, since the 3rd AP is to be currently able to establish in the AP of connection with destination client, the number of the client of connection The smallest AP of mesh, therefore, destination client and the 3rd AP establish connection, can in balanced wireless network each AP load.
Optionally, in order to guarantee that the whole performance of wireless network, preset condition can also include:
The number of the client currently connected meets preset number range.
And/or
The signal strength of the destination client received, the signal not less than the destination client received the first AP are strong Degree.
Wherein, preset number range can be rule of thumb configured by technical staff.In general, preset number range can be with The maximum number of the client of connection is supported to determine according to AP, for example, preset number may range from being less than AP support connection The maximum number of the 2/3 of client, alternatively, preset number may range from the maximum number for being less than the client that AP supports connection 3/4.
In addition, preset number range can also be determined according to the first number, specifically, preset number may range from being less than The difference of first number and preset number, for preset number less than the first number, the numerical value of preset number can be by technical staff's root It is configured according to experience.For example, the first number can be 15, preset number can be 4, then preset number range is less than 11; First number can be 15, and preset number can be 5, then preset number range is less than 10.The embodiment of the present application is to present count The obtaining value method of mesh range is not defined.
In the embodiment of the present application, preset condition may include: to be less than first distance at a distance from destination client, and work as The number of the client of preceding connection meets preset number range.
If net control device is AC, when AC determines in each AP to be selected, exist at a distance from destination client less than the One distance, the and when number of the client currently connected meets AP (being properly termed as the 4th AP) of preset number range, AC can be with It notifies the first AP to disconnect the connection with destination client, and controls destination client and establish connection with any 4th AP.4th AP It can be one, or multiple.
If net control device is server, when server determines in each AP to be selected that server can there are when four AP To notify the first AP to disconnect the connection with destination client by AC, and destination client and any 4th AP are controlled by AC Establish connection.
In addition, preset condition may include: the target visitor for being less than first distance at a distance from destination client, and receive The signal strength at family end, not less than the signal strength of the destination client received the first AP.
Wherein, the signal strength of destination client can indicate (Received Signal with AP received signal intensity Strength Indication, RSSI) size indicate.In general, the signal strength for the destination client that AP is received is bigger, The quality that then AP and destination client carry out data transmission is better.
If net control device is AC, when AC determines in each AP to be selected, exist at a distance from destination client less than the One distance, and the signal strength of the destination client received, the signal not less than the destination client received the first AP are strong When AP (being properly termed as the 5th AP) of degree, AC can notify the first AP to disconnect the connection with destination client, and control target visitor Family end and any 5th AP establish connection.5th AP can be one, or multiple.
If net control device is server, when server determines in each AP to be selected that server can there are when five AP To notify the first AP to disconnect the connection with destination client by AC, and destination client and any 5th AP are controlled by AC Establish connection.
Furthermore preset condition may include: to be less than first distance, and the client currently connected at a distance from destination client The number at end meets preset number range, and the signal strength of the destination client received, receives not less than the first AP The signal strength of destination client.
If net control device is AC, when AC determines in each AP to be selected, exist at a distance from destination client less than the One distance, and the number of the client currently connected meets preset number range, and the signal of the destination client received is strong Degree, not less than the signal strength of the destination client received the first AP AP (being properly termed as the 6th AP) when, AC can be notified First AP disconnects the connection with destination client, and controls destination client and establish connection with any 6th AP.6th AP can be with It is one, or multiple.
If net control device is server, when server determines in each AP to be selected that server can there are when six AP To notify the first AP to disconnect the connection with destination client by AC, and destination client and any 6th AP are controlled by AC Establish connection.
Referring to fig. 4, Fig. 4 is a kind of exemplary flow chart of roam control method provided by the embodiments of the present application, and this method can To be applied to AC, AC access has multiple AP, and this method may comprise steps of:
S401: the number for the client that the first AP in multiple AP is currently connected is obtained, as the first number.
S402: judging whether the first number is greater than preset number threshold value, if the first number is greater than preset number threshold value, holds Row S403.
S403: from the client that the first AP is currently connected, determining the maximum destination client at a distance from the first AP, And destination client is obtained at a distance from the first AP, as first distance.
S404: judge in other AP in multiple AP in addition to the first AP, if exist and be less than at a distance from destination client 2nd AP of first distance, if so, executing S405.
S405: from existing 2nd AP, the smallest AP of the number of the client currently connected is determined, as target AP。
S406: judge the signal strength for the destination client that target AP is received, if connect more than or equal to the first AP The signal strength of the destination client received, if so, executing S407.
S407: being sent to destination client by the first AP and release authentication request frames, to disconnect the first AP and target customer The connection at end.
S408: the AP in through multiple AP in addition to target AP, the connection request for receiving destination client transmission disappears When breath, refusal establishes connection with destination client.
Based on roam control method provided by the embodiments of the present application, the first AP in the available multiple AP of AC is currently connected Client number, as the first number, if the first number is greater than preset number threshold value, the visitor currently connected from the first AP In the end of family, the maximum destination client at a distance from the first AP is determined, and obtain destination client at a distance from the first AP, make For first distance.If AC is determined in other each AP in multiple AP in addition to the first AP, exist small at a distance from destination client In first distance, and the signal strength of the destination client received, not less than the letter of the destination client received the first AP The AP of number intensity, then AC notifies the first AP to disconnect the connection with destination client, and controls destination client and work as with what is determined The smallest target AP of the number of the client of preceding connection establishes connection.Target AP at a distance from destination client less than first away from From, and the number of client that target AP is currently connected is smaller.It disconnects with after the connection of the first AP, destination client can be with Target AP establishes connection, so can to avoid the network interruption of destination client, and can in balanced wireless network each AP it is negative It carries.
Corresponding with the embodiment of the method for Fig. 3, referring to Fig. 5, Fig. 5 is a kind of Roaming control dress provided by the embodiments of the present application It sets, described device is applied to the net control device in wireless network, and described device includes:
First acquisition module 501, the number for the client that the first AP for obtaining in the wireless network is currently connected, As the first number;
Second obtains module 502, current from the first AP if being greater than preset number threshold value for first number In the client of connection, the maximum destination client at a distance from the first AP is determined, and obtain the destination client At a distance from the first AP, as first distance;
Processing module 503, if it is pre- to there is satisfaction in other AP in the wireless network in addition to the first AP If the 2nd AP of condition, and the net control device is access controller AC, then the first AP is notified to disconnect and the mesh The connection of client is marked, and controls the destination client and establishes connection with any 2nd AP, wherein the preset condition packet Include: at a distance from the destination client be less than the first distance;
The processing module 503, if being also used to exist in other AP in the wireless network in addition to the first AP 2nd AP, and the net control device is server, then passes through the AC in the wireless network, notify the first AP The connection with the destination client is disconnected, and controls the destination client and establishes connection with any 2nd AP.
Optionally, the preset condition further include:
The number of the client currently connected meets preset number range;
And/or
The signal strength of the destination client received, the target customer received not less than the first AP The signal strength at end.
Optionally, the processing module 503 passes through in the wireless network in addition to the 2nd AP specifically for working as AP, when receiving the connection request message that the destination client is sent, refusal establishes connection with the destination client.
Optionally, the 2nd AP is multiple, the processing module 503, specifically for will currently connect in each 2nd AP Client the smallest AP of number, as the 3rd AP;
When passing through the AP in the wireless network in addition to the 3rd AP, the connection that the destination client is sent is received When request message, refusal establishes connection with the destination client.
Based on roaming control device provided by the embodiments of the present application, in the available wireless network of net control device The number for the client that one AP is currently connected, as the first number, if the first number is greater than preset number threshold value, from the first AP In the client currently connected, the maximum destination client at a distance from the first AP is determined, and obtain destination client and the The distance of one AP, as first distance.If existing in other each AP in wireless network in addition to the first AP and meeting preset condition The 2nd AP, and net control device is AC, then the AC can notify the first AP disconnect with the connection of destination client, and control Destination client and any 2nd AP establish connection, and if net control device is server, which can pass through AC in wireless network, notify the first AP disconnect with the connection of destination client, and by the control destination client AC with it is any 2nd AP establishes connection.2nd AP meets preset condition, and any wireless network services can be provided for destination client, therefore, disconnected It opens with after the connection of the first AP, destination client and any 2nd AP establish connection, can be to avoid in the network of destination client It is disconnected.
The embodiment of the present application also provides a kind of electronic equipment, as shown in fig. 6, include processor 601, communication interface 602, Memory 603 and communication bus 604, wherein processor 601, communication interface 602, memory 603 are complete by communication bus 604 At mutual communication,
Memory 603, for storing computer program;
Processor 601, when for executing the program stored on memory 603, so that the electronic equipment executes roaming control The step of method processed, this method comprises:
The number for obtaining the client that the first AP in the wireless network is currently connected, as the first number;
If first number is greater than preset number threshold value, from the client that the first AP is currently connected, determine The maximum destination client at a distance from the first AP out, and the destination client is obtained at a distance from the first AP, As first distance;
If in other AP in the wireless network in addition to the first AP, there is the 2nd AP for meeting preset condition, And the net control device is access controller AC, then the first AP is notified to disconnect the connection with the destination client, And control the destination client and any 2nd AP establishes connection, wherein the preset condition includes: and the target customer The distance at end is less than the first distance;
If there are the 2nd AP in other AP in the wireless network in addition to the first AP, and the network control Control equipment is server, then by the AC in the wireless network, the first AP is notified to disconnect and the destination client Connection, and control the destination client and establish connection with any 2nd AP.
Optionally, the preset condition further include:
The number of the client currently connected meets preset number range;
And/or
The signal strength of the destination client received, the target customer received not less than the first AP The signal strength at end.
Optionally, the control destination client and any 2nd AP establish connection, comprising:
When passing through the AP in the wireless network in addition to the 2nd AP, the connection that the destination client is sent is received When request message, refusal establishes connection with the destination client.
Optionally, the 2nd AP is multiple, and the control destination client and any 2nd AP establish connection, is wrapped It includes:
By the smallest AP of number of the client currently connected in each 2nd AP, as the 3rd AP;
When passing through the AP in the wireless network in addition to the 3rd AP, the connection that the destination client is sent is received When request message, refusal establishes connection with the destination client.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the present application, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described Roaming control when being executed by processor The step of method.
In another embodiment provided by the present application, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes any roam control method in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment, computer readable storage medium and computer program product embodiments, since it is substantially similar to method reality Example is applied, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely the preferred embodiments of the application, are not intended to limit the protection scope of the application.It is all Any modification, equivalent replacement, improvement and so within spirit herein and principle are all contained in the protection scope of the application It is interior.

Claims (10)

1. a kind of roam control method, which is characterized in that the method is applied to the net control device in wireless network, described Method includes:
The number for obtaining the client that the first AP in the wireless network is currently connected, as the first number;
If first number be greater than preset number threshold value, from the client that the first AP is currently connected, determine with The maximum destination client of distance of first AP, and the destination client is obtained at a distance from the first AP, as First distance;
If in other AP in the wireless network in addition to the first AP, there is the 2nd AP for meeting preset condition, and institute Stating net control device is access controller AC, then notifies the first AP to disconnect the connection with the destination client, and control It makes the destination client and any 2nd AP establishes connection, wherein the preset condition includes: and the destination client Distance is less than the first distance;
If there are the 2nd AP in other AP in the wireless network in addition to the first AP, and the network-control is set Standby is server, then by the AC in the wireless network, the first AP is notified to disconnect the connection with the destination client, And it controls the destination client and establishes connection with any 2nd AP.
2. the method according to claim 1, wherein the preset condition further include:
The number of the client currently connected meets preset number range;
And/or
The signal strength of the destination client received, not less than the destination client received the first AP Signal strength.
3. the method according to claim 1, wherein the control destination client is built with any 2nd AP Vertical connection, comprising:
When passing through the AP in the wireless network in addition to the 2nd AP, the connection request that the destination client is sent is received When message, refusal establishes connection with the destination client.
4. the method according to claim 1, wherein the 2nd AP is multiple, the control target visitor Family end and any 2nd AP establish connection, comprising:
By the smallest AP of number of the client currently connected in each 2nd AP, as the 3rd AP;
When passing through the AP in the wireless network in addition to the 3rd AP, the connection request that the destination client is sent is received When message, refusal establishes connection with the destination client.
5. a kind of roaming control device, which is characterized in that described device is applied to the net control device in wireless network, described Device includes:
First obtains module, the number for the client that the first AP for obtaining in the wireless network is currently connected, as the One number;
Second obtains module, if being greater than preset number threshold value for first number, currently connects from the first AP In client, determine the maximum destination client at a distance from the first AP, and obtain the destination client with it is described The distance of first AP, as first distance;
Processing module, if existing in other AP in the wireless network in addition to the first AP and meeting preset condition The 2nd AP, and the net control device is access controller AC, then the first AP is notified to disconnect and the target customer The connection at end, and control the destination client and any 2nd AP establishes connection, wherein the preset condition includes: and institute The distance for stating destination client is less than the first distance;
The processing module, if be also used in other AP in the wireless network in addition to the first AP, there are described second AP, and the net control device is server, then by the AC in the wireless network, notifies the first AP disconnection and institute The connection of destination client is stated, and controls the destination client and establishes connection with any 2nd AP.
6. device according to claim 5, which is characterized in that the preset condition further include:
The number of the client currently connected meets preset number range;
And/or
The signal strength of the destination client received, not less than the destination client received the first AP Signal strength.
7. device according to claim 5, which is characterized in that the processing module is specifically used for when by described wireless AP in network in addition to the 2nd AP, when receiving the connection request message that the destination client is sent, refusal with it is described Connection is established in destination client.
8. device according to claim 5, which is characterized in that the 2nd AP is multiple, the processing module, specific to use In the smallest AP of number for the client that will currently be connected in each 2nd AP, as the 3rd AP;
When passing through the AP in the wireless network in addition to the 3rd AP, the connection request that the destination client is sent is received When message, refusal establishes connection with the destination client.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein described Processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-4 Method step.
10. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and When execution, the machine-executable instruction promotes the processor: realizing any method and step of claim 1-4.
CN201811300934.1A 2018-11-02 2018-11-02 Roaming control method and device Active CN109246784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811300934.1A CN109246784B (en) 2018-11-02 2018-11-02 Roaming control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811300934.1A CN109246784B (en) 2018-11-02 2018-11-02 Roaming control method and device

Publications (2)

Publication Number Publication Date
CN109246784A true CN109246784A (en) 2019-01-18
CN109246784B CN109246784B (en) 2021-03-26

Family

ID=65080413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811300934.1A Active CN109246784B (en) 2018-11-02 2018-11-02 Roaming control method and device

Country Status (1)

Country Link
CN (1) CN109246784B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645669A (en) * 2020-05-11 2021-11-12 杭州萤石软件有限公司 Network access control method and system for wireless terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103339987A (en) * 2011-01-28 2013-10-02 阿尔卡特朗讯 Method for performing a handover of a mobile device
CN103379574A (en) * 2012-04-26 2013-10-30 京信通信系统(中国)有限公司 Switching control method, device and system
WO2014029870A2 (en) * 2012-08-24 2014-02-27 Siemens Aktiengesellschaft Fast switching method, system and client in wireless communication system
CN104301937A (en) * 2013-07-19 2015-01-21 中国电信股份有限公司 Mobile load balancing realization method and base station
CN107105454A (en) * 2017-04-12 2017-08-29 浙江工业大学 A kind of access base station choosing method of wireless sensor network interior joint

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103339987A (en) * 2011-01-28 2013-10-02 阿尔卡特朗讯 Method for performing a handover of a mobile device
CN103379574A (en) * 2012-04-26 2013-10-30 京信通信系统(中国)有限公司 Switching control method, device and system
WO2014029870A2 (en) * 2012-08-24 2014-02-27 Siemens Aktiengesellschaft Fast switching method, system and client in wireless communication system
CN104301937A (en) * 2013-07-19 2015-01-21 中国电信股份有限公司 Mobile load balancing realization method and base station
CN107105454A (en) * 2017-04-12 2017-08-29 浙江工业大学 A kind of access base station choosing method of wireless sensor network interior joint

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645669A (en) * 2020-05-11 2021-11-12 杭州萤石软件有限公司 Network access control method and system for wireless terminal

Also Published As

Publication number Publication date
CN109246784B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
US11432366B2 (en) Session management method, device, and system
US11751118B2 (en) Methods and apparatus for selecting a network route for data communications for IoT devices
US10462698B2 (en) WLAN-LTE interface selection
US20220346190A1 (en) Session Management Method, Device, and System
US20180109998A1 (en) Interface selection
WO2016156439A1 (en) Interface selection in a wireless router
CN111835638B (en) Policy rule issuing method, device and system
EP2938121A1 (en) Shunting processing method, and control unit and system
WO2020042181A1 (en) Method for displaying 5g state identifier and terminal
EP3890398A1 (en) Data usage reporting method, apparatus and system
US9369916B2 (en) Congestion and analytics based access selection control
EP3817452B1 (en) Rate adjusting method and apparatus thereof, and system
CN114071560B (en) Network optimization method, device and storage medium
CN107666694A (en) The method and its relevant device switched between distributed AP
US9788249B2 (en) Wireless communication apparatus, wireless communication method, and computer-readable recording medium
US11477829B2 (en) Systems and methods for paging over WiFi for mobile terminating calls
CN109246784A (en) A kind of roaming control method and device
EP3136790A1 (en) Radio network control method and radio network controller
CN114375594A (en) Seamless roaming of real-time media sessions
US10051508B2 (en) System and method for mobility support selection
US20220104004A1 (en) Systems and methods for exposing user equipment identity
CN107864486A (en) A kind of offline AP detection methods and device
US20220030389A1 (en) Controlling an operation mode of a communications network
CN112449402A (en) Network attachment method, gateway and user equipment
EP3582546A1 (en) Handover control method, and network-side device and system

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