CN106954236B - method for controlling wireless terminal to roam seamlessly and wireless access point - Google Patents

method for controlling wireless terminal to roam seamlessly and wireless access point Download PDF

Info

Publication number
CN106954236B
CN106954236B CN201710291772.9A CN201710291772A CN106954236B CN 106954236 B CN106954236 B CN 106954236B CN 201710291772 A CN201710291772 A CN 201710291772A CN 106954236 B CN106954236 B CN 106954236B
Authority
CN
China
Prior art keywords
roaming
neighbor
area network
local area
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710291772.9A
Other languages
Chinese (zh)
Other versions
CN106954236A (en
Inventor
张碧仙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201710291772.9A priority Critical patent/CN106954236B/en
Publication of CN106954236A publication Critical patent/CN106954236A/en
Application granted granted Critical
Publication of CN106954236B publication Critical patent/CN106954236B/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/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Landscapes

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

Abstract

The embodiment of the invention provides a method for controlling wireless terminal seamless roaming, which is applied to an AP and comprises the following steps: sending a roaming neighbor detection request message to a neighbor AP, and establishing a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message; receiving a roaming switching request initiated by a mobile terminal; inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the roaming switching request, and if the corresponding neighbor information is found, determining a roaming type according to a virtual local area network identifier in the neighbor information and the virtual local area network identifier of the roaming switching request; and processing the data message sent by the mobile terminal according to the roaming type. The embodiment of the invention also provides a wireless access point. The embodiment of the invention has the beneficial effects that: the problem that seamless roaming is not supported under a fat AP architecture is effectively solved.

Description

method for controlling wireless terminal to roam seamlessly and wireless access point
Technical Field
the present invention relates to the field of data communications, and in particular, to a method and a wireless access point for controlling seamless roaming of a wireless terminal.
Background
in WLAN (wireless local area network) applications, WLAN architectures can be divided into 2 types, one is "thin" AP (Access point) architecture, and the other is "fat" AP architecture. The thin AP network architecture is characterized in that an AC (Access controller wireless network controller) is used for centrally controlling all APs to be connected with the network through a wired network, so that the centralized planning and deployment of the wireless network are realized, and the AC completes the centralized management of all APs; the fat AP architecture is a distributed architecture with fat APs as cores, and the APs need to be managed one by one. The fat AP framework has the advantages of low price and high cost performance because AC equipment is not needed, and is suitable for medium and small office networks or business scenes. The wireless access point AP can be suitable for medium and large wireless network scenes by being used together with a cloud AC (soft AC). This scenario makes the roaming problem under "wireless access point AP" even more prominent.
The roaming scenario in the conventional "thin" AP mode is shown in fig. 1. The AP1 And the AP2 establish a connection with the AC through a CAPWAP (Control And Provisioning Protocol of Wireless Access point) tunnel, And the AP1 And the AP2 respectively emit the same SSID (service set identifier) signal And a BSSID (basic service set identifier) that can be uniquely identified. A BSSID database, hereinafter collectively referred to as a roaming database, is maintained uniformly on the AC. The roaming database stores the correspondence between BSSIDs of all APs under the AC and the AP information. STA (mobile terminal) is firstly associated to SSID under AP1 through BSSID1, when moving to AP2 signal coverage area, BSSID2 signal of the same SSID is detected, re-association request message is sent out, original BSSI1D and new BSSID2 are carried in the re-association request message, AP2 sends the re-association request message to AC through CAPWAP tunnel after receiving the re-association request message, and the AC performs roaming judgment and processing according to roaming database. And judging the roaming scene by the AC according to the query condition of the roaming database. And responding to the successful roaming message of the terminal according to the judgment result of the roaming scene, and sending corresponding roaming processing information to the AP for roaming processing.
in conjunction with WLAN forwarding mode, the main scenarios for thin AP roaming include:
in-set forwarding the following two-tier roaming: before and after the STA roams, the VLAN of the virtual local area network is unchanged, the STA does not need to acquire the IP again, the STA roams and then regenerates an STA table entry on the roamed AP2, and the data message of the STA is forwarded to the AC by the AP2 through a CAPWAP tunnel for processing and forwarding;
the following three-tier roaming is forwarded in the set: before and after the STA roams, the VLAN changes, and in order to ensure that the STA can normally forward the data message before and after roaming without acquiring the IP again, a roaming list item of the STA is generated on the AC, and information before and after roaming is recorded. After the STA data message is forwarded to the AC through the CAPWAP tunnel of the AP2, the AC replaces the VLAN-ID of the virtual local area network identification of the STA data message with the VLAN-ID before roaming according to the roaming list item;
the following two-tier roaming is forwarded locally: VLAN is unchanged before and after STA roaming, IP does not need to be acquired again by the STA, STA table entries are regenerated on the access point AP2 after the STA roams, and the main difference is that after the STA roams to the AP2, data messages of the STA are directly forwarded by the access point AP2 and are not forwarded to the AC through a CAPWAP tunnel;
The following three-tier roaming is forwarded locally: under the local forwarding, because the data message of the STA is directly processed and forwarded by the AP, after the STA roams, the AC sends the roaming table entry of the STA to the roaming-in AP and the roaming-out AP, and a virtual roaming tunnel is established between the roaming-in AP and the roaming-out AP, that is, the uplink message of the STA is forwarded to the roaming-out AP1 from the roaming-in AP2 through the virtual roaming tunnel, and then is processed and forwarded by the AP1, and the downlink message is forwarded to the AP1 first, forwarded to the AP2 through the virtual roaming tunnel by the AP1, and then is sent to the STA through the radio frequency port after being processed by the AP 2. Wherein the virtual roaming tunnel needs to be established through the management IPs of AP1 and AP 2.
according to the analysis, the AC plays key roles of roaming database maintenance, roaming scene judgment, roaming list item issuing and the like in the thin AP roaming scene. The roaming mechanism of the thin AP can not be directly applied under the 'fat' AP architecture, and the following problems exist:
1. Because the unified management is not carried out by the AC, the APs are relatively independent, and a roaming database cannot be established;
2. judging roaming scenes and performing roaming processing on the roaming scenes;
therefore, seamless roaming of the terminal is generally not supported under the "fat" AP architecture. If the STA initiates a roaming request, that is, the STA initiates a re-association message request, and the AP receives the request and then directly associates the STA as a new user to get online, the following problems will occur:
The STA has a problem of short disconnection of a wireless link;
2. under the condition of three-layer roaming across VLAN, STA needs to acquire IP address again to normally communicate;
3. Both the disconnection of the wireless link and the re-acquisition of the IP address cause the communication interruption of the STA, which greatly affects the experience of the mobile terminal.
In a currently known scheme, a wireless access point AP is connected to a cloud AC, which is a soft AC, and application service software for implementing functions similar to those of the AC is generally deployed in a cloud end, and is therefore referred to as a "cloud AC". Under the scene that the wireless access point AP is in butt joint with the cloud AC, the wireless access point AP establishes connection with the cloud AC through a wide area network link through a CWMP (CPE wide area network management protocol) and uploads log information, and the cloud AC realizes unified management and configuration issuing on the wireless access point AP through the CWMP. The method supports the deployment of a plurality of network points in different regions, the total amount of the AP is larger, but the scale of the AP of each network point is smaller. The AP in each network point meets the terminal roaming requirement.
roaming under "fat" AP docking cloud AC architecture as shown in fig. 2, there are two APs of AP11, AP12 and AP21, AP22 in certain shop mesh points 1 and 2, respectively, AP11 and AP12 emit the same SSID1 (service set identification) signal and corresponding uniquely identifiable BSSID11 and BSSID12, respectively, AP21 and AP22 emit the same SSID2 (service set identification) signal and corresponding uniquely identifiable BSSID21 and BSSID22, respectively, STA1 roams from AP11 to AP12, and STA2 roams from AP21 to AP 22. In order to avoid overlarge synchronous data information, a 'roaming area' needs to be divided in advance according to the AP deployment position on the cloud AC, the cloud AC respectively maintains roaming databases of the APs in the roaming area according to the divided 'roaming area', and information of the roaming databases is issued to the 'fat' APs in the roaming area. The roaming scene judgment and the roaming list item generation are carried out by the fat AP according to the roaming database information, and the data forwarding processing type of the STA terminal after roaming is the local forwarding roaming data processing process under the thin AP framework.
this solution has the following problems:
1. Roaming areas need to be planned on the cloud AC in advance, and management is complex;
2. The information of the roaming database completely depends on the maintenance and the issuing of the cloud AC, and if the cloud AC fails, the information of the roaming database is abnormal or cannot be issued;
3. the wireless access point AP and the cloud AC are communicated through a wide area network link, and the roaming database information issuing process has the risk of data loss;
4. If the number of the APs deployed by the network node is large, the roaming database information which needs to be issued by the cloud AC is large, the risk of data loss is aggravated, and in addition, the huge database information occupies more resources of the wireless access points APs;
5. each new AP needs to be divided into designated "roaming areas" by an administrator on the cloud AC to support roaming.
disclosure of Invention
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
A method for controlling wireless terminal seamless roaming is applied to a wireless Access Point (AP), and comprises the following steps:
Sends a roaming neighbor detection request message to the neighbor AP,
establishing a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message;
receiving a roaming switching request initiated by a mobile terminal;
Inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the roaming switching request, and if the corresponding neighbor information is found, determining a roaming type according to a virtual local area network identifier in the neighbor information and a virtual local area network identifier in the roaming switching request;
And processing the data message sent by the mobile terminal according to the roaming type.
optionally, before the step of sending the roaming neighbor detection request packet to the neighbor AP, the method further includes:
scanning beacon messages sent by neighbor APs on all channels, recording the channels for receiving the beacon messages when the SSID in the beacon messages is the same as the SSID of the wireless access point AP,
the step of sending the roaming neighbor detection request message to the neighbor AP specifically includes:
and sending a roaming neighbor detection request message to the neighbor AP according to the channel.
Optionally, the probe response message at least includes BSSID of the neighbor AP, MAC address of the neighbor AP, IP address of the neighbor AP, SSID of the neighbor AP, and virtual local area network identification information corresponding to the BSSID,
The neighbor information of the roaming neighbor database comprises neighbor list items which take BSSID as index, wherein the neighbor list items at least comprise the BSSID, MAC address of neighbor AP, IP address of neighbor AP, SSID of neighbor AP and virtual local area network identification information corresponding to the BSSID.
the roaming handover request includes BSSID of the AP from which the mobile terminal roams.
the step of querying the neighbor information corresponding to the roaming handover request in the roaming neighbor database according to the roaming handover request specifically includes:
And inquiring the neighbor information corresponding to the roaming neighbor database and the roaming switching request according to the BSSID of the mobile terminal roaming-out AP in the roaming switching request.
Optionally, the step of determining a roaming type according to the virtual local area network identifier in the neighbor information specifically includes:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
And when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
optionally, the step of processing the data packet sent by the mobile terminal according to the roaming type specifically includes:
when the roaming type is two-layer roaming, generating a table entry corresponding to the mobile terminal, sending a roaming success message to the mobile terminal, forwarding a data message sent by the mobile terminal, or,
When the roaming type is three-layer roaming, acquiring corresponding information from the roaming neighbor database, generating a list item corresponding to the roaming mobile terminal, sending the roaming list item to an AP (access point) roamed out by the mobile terminal, establishing a virtual roaming tunnel with the roamed AP, and forwarding the data message to the roamed AP through the tunnel so that the roamed AP processes the data message according to the roaming list item.
optionally, after the step of querying the neighbor information corresponding to the roaming handover request in the roaming neighbor database according to the roaming handover request, the method further includes:
the neighbor information corresponding to the roaming switching request in the roaming neighbor database is inquired according to the roaming switching request, if the corresponding neighbor information is found, whether the neighbor is reachable or not is judged according to the neighbor IP address in the neighbor information,
If the corresponding neighbor information is found, the step of determining the roaming type according to the virtual local area network identifier in the neighbor information and the virtual local area network identifier in the roaming switching request specifically comprises:
And if the corresponding neighbor information is found and the neighbor can be reached, determining the roaming type according to the virtual local area network identification in the neighbor information and the virtual local area network identification in the roaming switching request.
another aspect of the embodiments of the present invention is to provide a wireless access point for controlling seamless roaming of a wireless terminal, including:
a detection request sending module for sending roaming neighbor detection request message to neighbor AP,
a neighbor database establishing module, configured to establish a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message;
a switching request receiving module, which is used for receiving a roaming switching request initiated by a mobile terminal;
a query module for querying the neighbor information corresponding to the roaming handover request in the roaming neighbor database according to the roaming handover request,
a determining module, configured to determine a roaming type according to a virtual local area network identifier in the neighbor information and a virtual local area network identifier in the roaming switching request if the corresponding neighbor information is found;
And the processing module is used for processing the data message sent by the mobile terminal according to the roaming type.
Optionally, the wireless access point further includes:
a channel acquisition module, configured to scan beacon messages sent by neighbor APs on all channels, record a channel for receiving the beacon message when an SSID in the beacon message is the same as an SSID of the wireless access point,
the probe request sending module is specifically configured to:
and sending a roaming neighbor detection request message to the neighbor AP according to the channel.
Optionally, the probe response message at least includes BSSID of the neighbor AP, MAC address of the neighbor AP, IP address of the neighbor AP, SSID of the neighbor AP, and virtual local area network identification information corresponding to the BSSID,
the neighbor information of the roaming neighbor database comprises neighbor list items which take BSSID as index, wherein the neighbor list items at least comprise the BSSID, MAC address of neighbor AP, IP address of neighbor AP, SSID of neighbor AP and virtual local area network identification information corresponding to the BSSID.
The roaming handover request includes BSSID of the AP from which the mobile terminal roams.
the query module is specifically configured to:
And inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the BSSID of the mobile terminal roaming-out AP in the roaming switching request.
optionally, the determining module is specifically configured to:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
and when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming. Optionally, the processing module is specifically configured to:
when the roaming type is two-layer roaming, generating a table entry corresponding to the mobile terminal, sending a roaming success message to the mobile terminal, forwarding a data message sent by the mobile terminal, or,
when the roaming type is three-layer roaming, acquiring corresponding information from the roaming neighbor database, generating a list item corresponding to the roaming mobile terminal, sending the roaming list item to an AP (access point) roamed out by the mobile terminal, establishing a virtual roaming tunnel with the roamed AP, and forwarding the data message to the roamed AP through the tunnel so that the roamed AP processes the data message according to the roaming list item.
optionally, the wireless access point further includes:
the reachability confirmation module is used for judging whether the neighbor is reachable according to the neighbor IP address in the neighbor information when the corresponding neighbor information is found by the inquiry module;
the determining module is specifically configured to determine the roaming type according to the vlan id in the neighbor information and the vlan id in the roaming handover request if the corresponding neighbor information is found and the neighbor is determined to be reachable according to the neighbor IP address in the neighbor information.
the embodiment of the invention has the beneficial effects that: the problem that seamless roaming is not supported under a fat AP architecture is effectively solved; the size of a roaming database maintained by the AP is effectively reduced, and the occupation of AP resources is reduced; the dependence of roaming on the cloud AC under the 'fat' AP architecture is removed, and the problems that in the scene, the cloud AC management is complicated, the link quality of a wide area network cannot be predicted when the information of a roaming database is issued and the like are solved synchronously.
Drawings
in order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a diagram illustrating a roaming scenario of a thin AP in the prior art;
Fig. 2 is a schematic view of a roaming scenario of a wireless access point AP under a cloud AC architecture in the prior art;
FIG. 3 is a flow chart of a method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method according to an embodiment of the present invention;
FIG. 6 is a flow chart of a method according to an embodiment of the present invention;
FIG. 7 is a flow chart of a method according to an embodiment of the present invention;
FIG. 8 is a flow chart of a method according to an embodiment of the present invention;
FIG. 9 is a flow chart of a method according to an embodiment of the present invention;
FIG. 10 is a flow chart of a method according to an embodiment of the present invention;
FIG. 11 is a diagram of an apparatus according to an embodiment of the present invention;
Fig. 12 is a diagram showing a structure of an apparatus according to an embodiment of the present invention.
FIG. 13 is a diagram of an apparatus according to an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
a first embodiment of the present invention provides a method for controlling a wireless terminal to roam seamlessly, which is applied to a wireless access point AP, and as shown in fig. 3, the method includes the following steps:
s101, sending roaming neighbor detection request message to neighbor AP,
s103, establishing a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message;
s105, receiving a roaming switching request initiated by the mobile terminal;
s107, according to the roaming switching request, inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database,
s109, if the corresponding neighbor information is found, determining a roaming type according to the virtual local area network identifier in the neighbor information and the virtual local area network identifier in the roaming switching request;
and S111, processing the data message sent by the mobile terminal according to the roaming type.
optionally, on the basis of the first embodiment of the present invention, as shown in fig. 4, before the step S101, the method further includes:
s1011, scanning the beacon message sent by the neighbor AP on all channels, recording the channel for receiving the beacon message when the SSID in the beacon message is the same as the SSID of the wireless access point AP,
The step S101 is specifically:
and sending a roaming neighbor detection request message to the neighbor AP according to the channel.
optionally, when the neighbor AP detects that any attribute related to roaming of the neighbor AP changes, the neighbor AP sends a roaming neighbor update request message through a unicast message, and after receiving the message, the wireless access point AP performs a roaming neighbor database entry update operation through data comparison;
optionally, in step S107, if the relevant roaming neighbor information is not found, it is determined that roaming is not allowed, the wireless access point AP is normally associated with the mobile terminal for online processing, and if the VLAN of the mobile terminal changes, the mobile terminal needs to acquire an IP address again, and process according to a processing procedure of associating the wireless access point AP for the first time.
optionally, on the basis of the first embodiment of the present invention, as shown in fig. 5, the probe response message at least includes BSSID of the neighbor AP, MAC address of the neighbor AP, IP address of the neighbor AP, SSID of the neighbor AP, and virtual local area network identification information corresponding to the BSSID,
the neighbor information of the roaming neighbor database comprises neighbor list items which take BSSID as index, wherein the neighbor list items at least comprise the BSSID, MAC address of neighbor AP, IP address of neighbor AP, SSID of neighbor AP and virtual local area network identification information corresponding to the BSSID.
the roaming handover request includes BSSID of the AP from which the mobile terminal roams.
the step S107 specifically includes:
And inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the BSSID of the mobile terminal roaming-out AP in the roaming switching request.
Optionally, on the basis of the first embodiment of the present invention, as shown in fig. 6, in a fourth embodiment of the present invention, the step S109 specifically includes:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
and when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
on the basis of the second embodiment of the invention, a fifth embodiment of the invention is shown in figure 7,
the step S109 specifically includes:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
And when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
on the basis of the third embodiment of the present invention, a sixth embodiment of the present invention is shown in fig. 8,
The step S109 specifically includes:
When the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
And when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
Optionally, on the basis of the first embodiment of the present invention, as shown in fig. 9, in a seventh embodiment of the present invention, the step S111 specifically includes:
When the roaming type is two-layer roaming, generating a table entry corresponding to the mobile terminal, sending a roaming success message to the mobile terminal, forwarding a data message sent by the mobile terminal, or,
When the roaming type is three-layer roaming, acquiring corresponding information from the roaming neighbor database, generating a list item corresponding to the roaming mobile terminal, sending the roaming list item to an AP (access point) roamed out by the mobile terminal, establishing a virtual roaming tunnel with the roamed AP, and forwarding the data message to the roamed AP through the tunnel so that the roamed AP processes the data message according to the roaming list item.
Optionally, on the basis of the first embodiment of the present invention, as shown in fig. 10, an eighth embodiment of the present invention further includes, after step S107:
s1071, according to the roaming switching request, inquiring the neighbor information corresponding to the roaming switching request in the roaming neighbor database, if the corresponding neighbor information is found, judging whether the neighbor is reachable according to the neighbor IP address in the neighbor information,
step S109 specifically includes, if the corresponding neighbor information is found and the neighbor is reachable, determining a roaming type according to the virtual local area network identifier in the neighbor information and the virtual local area network identifier in the roaming handover request.
The method can detect whether a neighbor AP access can be reached by sending a message through wired connection so as to confirm whether the neighbor AP is allowed to be used as a roaming-out AP of the mobile terminal, thereby reducing invalid roaming requests of the mobile terminal. In actual network deployment, 100% reachability between neighbor APs cannot be guaranteed. The situation that the uplink of the neighbor AP fails or the AP is physically isolated due to the actual deployment requirement of the mobile terminal may cause the mobile terminal to roam inefficiently.
those skilled in the art can understand that the identities of the AP initiating the probe request and the neighboring APs do not conflict, any AP in the network can simultaneously serve as the AP initiating the probe request and the neighboring APs, the AP initiating the probe request discovers roaming neighbors through active probing, and the neighboring APs learn the roaming neighbors through passive reception. In order to establish and refine a roaming neighbor database specific to each AP more quickly, APs in the network may have both identities. When a new AP is on-line in the network or the AP is off-line and then on-line again, the AP actively switches roles to the AP initiating the detection request, performs roaming neighbor detection and quickly establishes a roaming neighbor database.
a ninth embodiment of the present invention provides a wireless access point for controlling seamless roaming of a wireless terminal, as shown in fig. 11, including:
A probe request sending module 201, configured to send a roaming neighbor probe request message to a neighbor AP,
A neighbor database establishing module 203, configured to establish a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message;
A handover request receiving module 205, configured to receive a roaming handover request initiated by a mobile terminal;
A query module 207, configured to query neighbor information corresponding to the roaming handover request in the roaming neighbor database according to the roaming handover request,
a determining module 209, configured to determine a roaming type according to a virtual local area network identifier in the neighbor information and a virtual local area network identifier in the roaming switching request if the corresponding neighbor information is found;
A processing module 211, configured to process the data packet sent by the mobile terminal according to the roaming type.
Optionally, on the basis of the ninth embodiment of the present invention, as shown in fig. 12, in a tenth embodiment of the present invention, the wireless access point further includes:
a channel acquiring module 2011, configured to scan beacon packets sent by neighbor APs on all channels, record a channel receiving the beacon packet when an SSID in the beacon packet is the same as an SSID of the wireless access point,
the probe request sending module 201 is specifically configured to:
and sending a roaming neighbor detection request message to the neighbor AP according to the channel.
Optionally, on the basis of the ninth embodiment of the present invention, in the eleventh embodiment of the present invention, the probe response message at least includes BSSID of the neighbor AP, MAC address of the neighbor AP, IP address of the neighbor AP, SSID of the neighbor AP, and virtual local area network identification information corresponding to the BSSID,
the neighbor information of the roaming neighbor database comprises neighbor list items which take BSSID as index, wherein the neighbor list items at least comprise the BSSID, MAC address of neighbor AP, IP address of neighbor AP, SSID of neighbor AP and virtual local area network identification information corresponding to the BSSID.
the roaming handover request includes BSSID of the AP from which the mobile terminal roams.
the query module 207 is specifically configured to:
And inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the BSSID of the mobile terminal roaming-out AP in the roaming switching request.
optionally, in combination with the ninth embodiment, the tenth embodiment and the eleventh embodiment of the present invention, respectively, in the twelfth embodiment of the present invention, the determining module 209 is specifically configured to:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
And when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
optionally, on the basis of the ninth embodiment of the present invention, in a thirteenth embodiment of the present invention, the processing module 211 is specifically configured to:
when the roaming type is two-layer roaming, generating a table entry corresponding to the mobile terminal, sending a roaming success message to the mobile terminal, forwarding a data message sent by the mobile terminal, or,
when the roaming type is three-layer roaming, acquiring corresponding information from the roaming neighbor database, generating a list item corresponding to the roaming mobile terminal, sending the roaming list item to an AP (access point) roamed out by the mobile terminal, establishing a virtual roaming tunnel with the roamed AP, and forwarding the data message to the roamed AP through the tunnel so that the roamed AP processes the data message according to the roaming list item.
optionally, on the basis of the ninth embodiment of the present invention, as shown in fig. 13, in a fourteenth embodiment of the present invention, the wireless access point further includes:
A reachability confirmation module 213, configured to, when the query module 207 finds the corresponding neighbor information, determine whether the neighbor is reachable according to a neighbor IP address in the neighbor information;
the determining module 209 is specifically configured to determine the roaming type according to the virtual local area network identifier in the neighbor information if the corresponding neighbor information is found and the neighbor is determined to be reachable according to the neighbor IP address in the neighbor information.
The embodiment of the invention has the beneficial effects that: the problem that seamless roaming is not supported under a fat AP architecture is effectively solved; the size of a roaming database maintained by the AP is effectively reduced, and the occupation of AP resources is reduced; the dependence of roaming on the cloud AC under the 'fat' AP architecture is removed, and the problems that in the scene, the cloud AC management is complicated, the link quality of a wide area network cannot be predicted when the information of a roaming database is issued and the like are solved synchronously.
the present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. a method for controlling wireless terminal seamless roaming is applied to a wireless Access Point (AP), and comprises the following steps:
sends a roaming neighbor detection request message to the neighbor AP,
establishing a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message;
receiving a roaming switching request initiated by a mobile terminal;
inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the roaming switching request, and if the corresponding neighbor information is found, determining a roaming type according to a virtual local area network identifier in the neighbor information and a virtual local area network identifier in the roaming switching request;
And processing the data message sent by the mobile terminal according to the roaming type.
2. the method of claim 1, wherein the step of sending the roaming neighbor probe request message to the neighbor AP further comprises:
scanning beacon messages sent by neighbor APs on all channels, recording the channels for receiving the beacon messages when the SSID in the beacon messages is the same as the SSID of the wireless access point AP,
the step of sending the roaming neighbor detection request message to the neighbor AP specifically includes:
and sending a roaming neighbor detection request message to a neighbor AP according to the channel for receiving the beacon message.
3. the method according to claim 1, wherein the probe response message at least contains BSSID of neighbor AP, MAC address of neighbor AP, IP address of neighbor AP, SSID of neighbor AP and virtual local area network identification information corresponding to the BSSID,
the neighbor information of the roaming neighbor database comprises a neighbor table entry taking the BSSID as an index, wherein the neighbor table entry at least comprises the BSSID, an MAC address of a neighbor AP, an IP address of the neighbor AP, an SSID of the neighbor AP and virtual local area network identification information corresponding to the BSSID;
The roaming switching request comprises BSSID of the mobile terminal roaming out of the AP;
The step of querying the neighbor information corresponding to the roaming handover request in the roaming neighbor database according to the roaming handover request specifically includes:
and inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the BSSID of the mobile terminal roaming-out AP in the roaming switching request.
4. the method according to any of claims 1-3, wherein the step of determining the roaming type according to the VLAN id in the neighbor information specifically comprises:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
and when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
5. the method according to claim 1, wherein the step of processing the data packet sent by the mobile terminal according to the roaming type specifically includes:
When the roaming type is two-layer roaming, generating a table entry corresponding to the mobile terminal, sending a roaming success message to the mobile terminal, forwarding a data message sent by the mobile terminal, or,
when the roaming type is three-layer roaming, acquiring corresponding information from the roaming neighbor database, generating a list item corresponding to the roaming mobile terminal, sending the roaming list item to an AP (access point) roamed out by the mobile terminal, establishing a virtual roaming tunnel with the roamed AP, and forwarding the data message to the roamed AP through the tunnel so that the roamed AP processes the data message according to the roaming list item.
6. The method according to claim 1, wherein the step of querying the roaming neighbor database for the neighbor information corresponding to the roaming handover request according to the roaming handover request further comprises:
the neighbor information corresponding to the roaming switching request in the roaming neighbor database is inquired according to the roaming switching request, if the corresponding neighbor information is found, whether the neighbor is reachable or not is judged according to the neighbor IP address in the neighbor information,
if the corresponding neighbor information is found, the step of determining the roaming type according to the virtual local area network identifier in the neighbor information and the virtual local area network identifier in the roaming switching request specifically comprises:
and if the corresponding neighbor information is found and the neighbor can be reached, determining the roaming type according to the virtual local area network identification in the neighbor information and the virtual local area network identification in the roaming switching request.
7. a wireless access point for controlling seamless roaming of a wireless terminal, comprising:
A detection request sending module for sending roaming neighbor detection request message to neighbor AP,
a neighbor database establishing module, configured to establish a roaming neighbor database containing neighbor information according to a detection response message fed back by the neighbor AP after processing the roaming neighbor detection request message;
A switching request receiving module, which is used for receiving a roaming switching request initiated by a mobile terminal;
a query module for querying the neighbor information corresponding to the roaming handover request in the roaming neighbor database according to the roaming handover request,
A determining module, configured to determine a roaming type according to a virtual local area network identifier in the neighbor information and a virtual local area network identifier in the roaming switching request if the corresponding neighbor information is found;
And the processing module is used for processing the data message sent by the mobile terminal according to the roaming type.
8. the wireless access point of claim 7, further comprising:
a channel acquisition module, configured to scan beacon messages sent by neighbor APs on all channels, record a channel for receiving the beacon message when an SSID in the beacon message is the same as an SSID of the wireless access point,
the probe request sending module is specifically configured to:
and sending a roaming neighbor detection request message to a neighbor AP according to the channel for receiving the beacon message.
9. the wireless access point of claim 7, wherein the probe response message at least contains BSSID of neighbor AP, MAC address of neighbor AP, IP address of neighbor AP, SSID of neighbor AP and virtual local area network identification information corresponding to the BSSID,
the neighbor information of the roaming neighbor database comprises a neighbor table entry taking the BSSID as an index, wherein the neighbor table entry at least comprises the BSSID, an MAC address of a neighbor AP, an IP address of the neighbor AP, an SSID of the neighbor AP and virtual local area network identification information corresponding to the BSSID;
The roaming switching request comprises BSSID of the mobile terminal roaming out of the AP;
the query module is specifically configured to:
and inquiring neighbor information corresponding to the roaming switching request in the roaming neighbor database according to the BSSID of the mobile terminal roaming-out AP in the roaming switching request.
10. the wireless access point of any of claims 7-9, wherein the determining module is specifically configured to:
when the virtual local area network identifier in the neighbor information is the same as the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are unchanged, wherein the roaming type is two-layer roaming;
And when the virtual local area network identifier in the neighbor information is different from the virtual local area network identifier corresponding to the roaming destination BSSID acquired in the roaming switching request, determining that the virtual local area network identifiers before and after the roaming of the mobile terminal are changed, wherein the roaming type is three-layer roaming.
11. the wireless access point of claim 7, wherein the processing module is specifically configured to:
when the roaming type is two-layer roaming, generating a table entry corresponding to the mobile terminal, sending a roaming success message to the mobile terminal, forwarding a data message sent by the mobile terminal, or,
when the roaming type is three-layer roaming, acquiring corresponding information from the roaming neighbor database, generating a list item corresponding to the roaming mobile terminal, sending the roaming list item to an AP (access point) roamed out by the mobile terminal, establishing a virtual roaming tunnel with the roamed AP, and forwarding the data message to the roamed AP through the tunnel so that the roamed AP processes the data message according to the roaming list item.
12. the wireless access point of any of claim 7, further comprising:
The reachability confirmation module is used for judging whether the neighbor is reachable according to the neighbor IP address in the neighbor information when the corresponding neighbor information is found by the inquiry module;
the determining module is specifically configured to determine the roaming type according to the vlan id in the neighbor information and the vlan id in the roaming handover request if the corresponding neighbor information is found and the neighbor is determined to be reachable according to the neighbor IP address in the neighbor information.
CN201710291772.9A 2017-04-28 2017-04-28 method for controlling wireless terminal to roam seamlessly and wireless access point Active CN106954236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710291772.9A CN106954236B (en) 2017-04-28 2017-04-28 method for controlling wireless terminal to roam seamlessly and wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710291772.9A CN106954236B (en) 2017-04-28 2017-04-28 method for controlling wireless terminal to roam seamlessly and wireless access point

Publications (2)

Publication Number Publication Date
CN106954236A CN106954236A (en) 2017-07-14
CN106954236B true CN106954236B (en) 2019-12-06

Family

ID=59476998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710291772.9A Active CN106954236B (en) 2017-04-28 2017-04-28 method for controlling wireless terminal to roam seamlessly and wireless access point

Country Status (1)

Country Link
CN (1) CN106954236B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708143B (en) * 2017-11-21 2020-12-22 杭州东信北邮信息技术有限公司 Wireless router group management method and system
CN108200592B (en) * 2018-03-27 2021-09-10 普联技术有限公司 Wireless roaming method and roaming AP
CN108924815A (en) * 2018-06-20 2018-11-30 普联技术有限公司 A kind of wireless roaming method and system
CN109348517B (en) * 2018-11-19 2021-03-12 新华三技术有限公司 Roaming tunnel configuration method and device
CN110337131B (en) * 2018-12-29 2022-11-11 锐捷网络股份有限公司 Wireless distributed ad hoc network method, device and system
CN111050376B (en) * 2019-11-26 2022-05-20 锐捷网络股份有限公司 AP neighbor table establishing method and device based on local area network
CN111479248B (en) * 2020-03-19 2022-03-01 烽火通信科技股份有限公司 Fast roaming automatic configuration method and system
CN111953607B (en) * 2020-07-17 2022-10-21 新华三技术有限公司 Method and device for updating route
US11553390B2 (en) 2021-01-08 2023-01-10 Cisco Technology, Inc. Seamless roaming for multi-link device clients
CN113993128B (en) * 2021-10-26 2024-04-12 迈普通信技术股份有限公司 Roaming method and device between APs
CN114205756B (en) * 2021-11-04 2024-03-19 锐捷网络股份有限公司 Roaming method and device for wireless terminal
CN114286327A (en) * 2021-11-30 2022-04-05 全讯汇聚网络科技(北京)有限公司 Method, device and system for virtual roaming of wireless network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040072563A (en) * 2002-11-08 2004-08-18 삼성전자주식회사 Method and apparatus for generating/updating of neighborhood graph for supporting hand-off in a wileless network thereof computer-readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7873352B2 (en) * 2005-05-10 2011-01-18 Hewlett-Packard Company Fast roaming in a wireless network using per-STA pairwise master keys shared across participating access points
US8111676B2 (en) * 2006-07-28 2012-02-07 Symbol Technologies, Inc. Loseless roaming via bridging between access ports

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040072563A (en) * 2002-11-08 2004-08-18 삼성전자주식회사 Method and apparatus for generating/updating of neighborhood graph for supporting hand-off in a wileless network thereof computer-readable medium

Also Published As

Publication number Publication date
CN106954236A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN106954236B (en) method for controlling wireless terminal to roam seamlessly and wireless access point
JP4579736B2 (en) Proactive caching method and apparatus in wireless network
CN1659899B (en) Virtual switch
EP2259504B1 (en) A method and node for notifying proxy updating in radio mesh network
CN105722055B (en) A kind of WLAN WLAN user loaming method, device and system
JP2004166277A5 (en)
US20070002811A1 (en) Mechanism to enable optimized provision of beacon information in WLAN networks
US10602379B2 (en) Wireless communication method, wireless communication device and non-transitory computer readable recording medium thereof
US20060264212A1 (en) Method and system for a roam-less mobile unit
CN104255062A (en) Communication system, and path control method
KR100755691B1 (en) Method for hand-over of mobile node and Network system for the hand-over
US20230354099A1 (en) System and method for establishing a virtual access point
CN105072605B (en) Terminal roaming method under AP stand-alone modes and AP
JP2006222549A (en) Wireless lan system and roaming method in same
CN105874756A (en) Method and device for transmitting control signalling
CN114401511A (en) Seamless roaming method for network terminal and AC equipment
Sen et al. An SDN framework for seamless mobility in enterprise WLANs
US11483254B2 (en) Allocating virtual machines in a gateway coupled to a software-defined switch
CN115665819A (en) Roaming switching method, AC and network system
CN103973570B (en) A kind of method of message transmissions, AP and system
EP1897283B1 (en) Apparatus and method for performing fast handover
CN115396987B (en) Method and device for simultaneously accessing multiple networks, storage medium and electronic equipment
KR101328174B1 (en) Method and apparatus for paging delegation in heterogeneous networks
Sabrie et al. Fast handoff for 802.11 wireless network
CN118647061A (en) Mobility management method and communication device

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