CN113993128A - inter-AP roaming method and device - Google Patents

inter-AP roaming method and device Download PDF

Info

Publication number
CN113993128A
CN113993128A CN202111248989.4A CN202111248989A CN113993128A CN 113993128 A CN113993128 A CN 113993128A CN 202111248989 A CN202111248989 A CN 202111248989A CN 113993128 A CN113993128 A CN 113993128A
Authority
CN
China
Prior art keywords
roaming
aps
domain
sub
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.)
Granted
Application number
CN202111248989.4A
Other languages
Chinese (zh)
Other versions
CN113993128B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN202111248989.4A priority Critical patent/CN113993128B/en
Publication of CN113993128A publication Critical patent/CN113993128A/en
Application granted granted Critical
Publication of CN113993128B publication Critical patent/CN113993128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Abstract

The application provides a roaming method and a roaming device between APs, which are applied to the field of wireless communication, wherein the method applied to the APs comprises the following steps: receiving and storing authentication information of the terminal, which is sent by a wireless controller AC (access controller) at the cloud after the terminal completes authentication of other APs; and when the terminal roams to the AP, inquiring the authentication information so as to finish the roaming of the terminal after inquiring the authentication information. In the scheme, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.

Description

inter-AP roaming method and device
Technical Field
The present application relates to the field of wireless communications, and in particular, to a method and an apparatus for roaming between APs.
Background
With the development of the WIreless communication field, internet access via a WIreless-Fidelity (WiFi) form or the like has become a mainstream mode at present. In a traditional Wireless Network management mode, a Wireless Access Point Controller (AC) and a Wireless Access Point (AP) are both deployed locally and belong to the centralized management of the same Local Area Network (LAN). Therefore, when a terminal roams, a wireless roaming non-perception authentication method is generally adopted in the prior art.
The method of wireless roaming non-sensing authentication is to establish a binding relationship between a Media Access Control Address (MAC Address) of a terminal and a user name password in advance when the terminal performs a first authentication. When the user terminal requires the second authentication due to roaming switching, the authentication is completed by binding the authentication relationship of the terminal in advance.
However, when the AC is deployed on the public cloud server, because the AC in the cloud and the AP are not in the same LAN, if the above-described wireless roaming unaware authentication method is still adopted, the transmission of the AC in the cloud and the AC in the AP across the public network may cause an increase in the forwarding delay of the authentication packet, thereby causing a decrease in the roaming efficiency between the APs.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for roaming between APs, so as to solve a technical problem that roaming efficiency between APs is reduced when an AC is deployed on a public cloud server.
In a first aspect, an embodiment of the present application provides an inter-AP roaming method, which is applied to an AP, and includes: receiving and storing authentication information of the terminal, which is sent by a wireless controller AC (access controller) at the cloud after the terminal completes authentication of other APs; and when the terminal roams to the AP, inquiring the authentication information so as to finish the roaming of the terminal after inquiring the authentication information. In the scheme, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an alternative embodiment, the AP is in the same roaming sub-domain of the roaming domain as the other APs. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an alternative embodiment, the AP and the other APs are respectively located in adjacent roaming sub-domains of the roaming domain. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an optional implementation manner, before the receiving and storing the authentication information of the terminal, which is sent by the wireless controller AC in the cloud after the terminal completes authentication of other APs, the method further includes: after accessing the AC of the cloud, scanning neighbor APs of the APs, and sending AP information to the AC of the cloud; the AP information comprises self AP information and neighbor AP information; and receiving roaming sub-domain information sent by the AC at the cloud. In the above scheme, after the AP is accessed to the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship among the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In a second aspect, an embodiment of the present application provides a roaming method between APs, applied to a wireless controller AC in a cloud, including: receiving authentication information of a terminal on any wireless Access Point (AP) sent by the AP; and after the terminal completes the authentication of any AP, sending the authentication information to other APs. In the scheme, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the sending the authentication information to the other AP includes: and sending the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the sending the authentication information to the other AP includes: and transmitting the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP and APs in adjacent roaming sub-domains of the roaming domain as the AP. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the sending the authentication information to the other AP includes: and when the terminal roams to an edge AP in a roaming sub-domain, transmitting the authentication information to an AP in an adjacent roaming sub-domain of the roaming sub-domain. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal roams to the edge AP of the roaming sub-domain, the authentication information can be shared to the adjacent roaming sub-domain, so that the terminal can fast roam across the roaming sub-domains, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, before the sending the authentication information to the other APs, the method further includes: receiving AP information sent by a plurality of APs in a roaming domain; the AP information comprises self AP information and neighbor AP information; and generating a plurality of roaming subdomains according to the AP information and the preset size of the roaming subdomains, and sending roaming subdomain information to the plurality of APs. In the above scheme, after the AP is accessed to the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship among the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the generating a plurality of roaming sub-domains according to the AP information and a preset size of a roaming sub-domain includes: determining the AP with the minimum media access control address according to the AP information corresponding to the AP to be divided in the roaming domain, and using the AP as a root AP of the current roaming sub-domain; and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of the APs in the current roaming sub-domain is equal to the preset size.
In an optional embodiment, the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs, except the root AP, in the APs to be divided until the number of APs in the current roaming sub-domain is equal to the preset size includes: determining a first-level neighbor AP of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the first-level neighbor AP; and if the number of the APs in the current roaming sub-domain is smaller than the preset size after the first-stage neighbor APs are selected, determining the next-stage neighbor APs of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-stage neighbor APs until the number of the APs in the current roaming sub-domain is equal to the preset size.
In an optional embodiment, the first-level neighbor is an AP that the root AP can directly scan for a signal, and the next-level neighbor AP is an AP that the previous-level neighbor AP can scan for a service set identification signal.
In an optional embodiment, the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the first-level neighbor AP includes: sequentially selecting the APs in the current roaming sub-domain from strong to weak according to the signal intensity of the first-level neighbor AP scanned by the root AP; the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-level neighbor AP comprises the following steps: sequentially selecting the APs in the current roaming sub-domain from far to near according to the distance between the APs and the root AP; or, the APs in the current roaming sub-domain are sequentially selected according to the strength of the signal scanned by the upper-level neighbor AP to the lower-level neighbor AP from strong to weak.
In a third aspect, an embodiment of the present application provides an inter-AP roaming apparatus configured in an AP, including: the first receiving module is used for receiving and storing authentication information of the terminal, which is sent by the wireless controller AC in the cloud after the authentication of the terminal in other APs is completed; and the query module is used for querying the authentication information when the terminal roams to the AP so as to complete the roaming of the terminal after querying the authentication information. In the scheme, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an alternative embodiment, the AP is in the same roaming sub-domain of the roaming domain as the other APs. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an alternative embodiment, the AP and the other APs are respectively located in adjacent roaming sub-domains of the roaming domain. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the inter-AP roaming apparatus further includes: the scanning module is used for scanning neighbor APs of the APs after accessing the AC of the cloud end and sending AP information to the AC of the cloud end; the AP information comprises self AP information and neighbor AP information; and the third receiving module is used for receiving roaming sub-domain information sent by the AC of the cloud. In the above scheme, after the AP is accessed to the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship among the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In a fourth aspect, an embodiment of the present application provides an inter-AP roaming apparatus, configured on a wireless controller AC in a cloud, including: the second receiving module is used for receiving the authentication information of the terminal on the AP, which is sent by any wireless access point AP; and the sending module is used for sending the authentication information to other APs after the terminal completes the authentication of any AP. In the scheme, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the sending module is specifically configured to: and sending the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the sending module is specifically configured to: and transmitting the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP and other APs in adjacent roaming sub-domains of the roaming domain as the AP. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the sending module is specifically configured to: and when the terminal roams to an edge AP in a roaming sub-domain, transmitting the authentication information to an AP in an adjacent roaming sub-domain of the roaming sub-domain. In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal roams to the edge AP of the roaming sub-domain, the authentication information can be shared to the adjacent roaming sub-domain, so that the terminal can fast roam across the roaming sub-domains, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the inter-AP roaming apparatus further includes: a fourth receiving module, configured to receive AP information sent by multiple APs in a roaming domain; the AP information comprises self AP information and neighbor AP information; and the generating module is used for generating a plurality of roaming subdomains according to the AP information and the preset size of the roaming subdomains and sending the roaming subdomain information to the plurality of APs. In the above scheme, after the AP is accessed to the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship among the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
In an optional embodiment, the generating module is specifically configured to: determining the AP with the minimum media access control address according to the AP information corresponding to the AP to be divided in the roaming domain, and using the AP as a root AP of the current roaming sub-domain; and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of the APs in the current roaming sub-domain is equal to the preset size.
In an optional embodiment, the generating module is further configured to: determining a first-level neighbor AP of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the first-level neighbor AP; and if the number of the APs in the current roaming sub-domain is smaller than the preset size after the first-stage neighbor APs are selected, determining the next-stage neighbor APs of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-stage neighbor APs until the number of the APs in the current roaming sub-domain is equal to the preset size.
In an optional embodiment, the first-level neighbor is an AP that the root AP can directly scan for a signal, and the next-level neighbor AP is an AP that the previous-level neighbor AP can scan for a service set identification signal.
In an optional embodiment, the generating module is further configured to: sequentially selecting the APs in the current roaming sub-domain from strong to weak according to the signal intensity of the first-level neighbor AP scanned by the root AP; the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-level neighbor AP comprises the following steps: sequentially selecting the APs in the current roaming sub-domain from far to near according to the distance between the APs and the root AP; or, the APs in the current roaming sub-domain are sequentially selected according to the strength of the signal scanned by the upper-level neighbor AP to the lower-level neighbor AP from strong to weak.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus; the processor and the memory are communicated with each other through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the inter-AP roaming method according to the first aspect or the inter-AP roaming method according to the second aspect.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by a computer, the computer executes the inter-AP roaming method according to the first aspect or the inter-AP roaming method according to the second aspect.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a block diagram illustrating a roaming system between APs according to an embodiment of the present disclosure;
fig. 2 is an interaction diagram of a roaming method between APs according to an embodiment of the present application;
fig. 3 is an interaction diagram of another roaming method between APs according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a roaming apparatus configured between APs of an AP according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating an inter-AP roaming apparatus configured in an AC in a cloud according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a block diagram of a roaming system between APs according to an embodiment of the present disclosure, where the roaming system 100 between APs may include a cloud AC101, an authentication server 102, and an AP 103.
Specifically, the AC101 and the authentication server 102 in the cloud are connected in a communication manner, and the AC101 and the AP103 in the cloud and the authentication server 102 and the AP103 are connected through a network. The number of APs 103 in the inter-AP roaming system 100 is not specifically limited in the embodiment of the present application, for example: as shown in fig. 1, the roaming system 100 between APs includes 6 APs 103, which are AP1, AP2, AP3, AP4, AP5 and AP 6.
In addition, the inter-AP roaming system 100 provided in the embodiment of the present application may include one or more roaming domains. The AC101 in the cloud may establish one or more roaming domains based on the same Service Set Identifier (SSID) name and authentication scheme configuration. Taking fig. 1 as an example, the AC101 at the cloud may establish a roaming domain P1, and bind the SSID service name test and the username-password authentication method, that is, the roaming system 100 between APs shown in fig. 1 includes a roaming domain P1.
The AP103 may be online and access the AC101 in the cloud, start a scanning function, send the scanned AP information of the neighbor AP to the AC101 in the cloud, and the AC101 in the cloud may determine the roaming domain topology relationship among the multiple APs 103 based on the received AP information sent by the multiple APs 103. Then, the terminal may access the AP103 in the roaming domain, and after the authentication is completed, may roam to access other APs 103 in the roaming domain.
Based on the inter-AP roaming system 100, an embodiment of the present application further provides an inter-AP roaming method, in the inter-AP roaming method, multiple APs share authentication information of a terminal, and when a terminal is switched in a roaming manner among the multiple APs sharing the authentication information, authentication does not need to be performed again, so that fast roaming of the terminal among the APs is achieved, and roaming efficiency among the APs when an AC is deployed on a public cloud server is improved.
Referring to fig. 2, fig. 2 is an interaction diagram of a roaming method between APs according to an embodiment of the present disclosure, where the roaming method between APs may include the following steps:
step S201: the terminal authenticates in the first AP.
Step S202: and the first AP sends the authentication information of the terminal to the AC at the cloud.
Step S203: and the AC of the cloud receives the authentication information of the terminal on the first AP, which is sent by the first AP.
Step S204: and the AC of the cloud sends authentication information to the second AP after the terminal completes the authentication of the first AP.
Step S205: and the second AP receives and stores the authentication information of the terminal, which is sent by the AC at the authentication information cloud after the terminal completes the authentication of the first AP.
Step S206: when the terminal roams to the second AP, the second AP inquires the authentication information of the terminal so as to finish the roaming of the terminal after inquiring the authentication information of the terminal.
Specifically, when a certain terminal wants to access a certain roaming domain, it can access any one of the APs. Assuming that the terminal accesses the first AP and the terminal accesses the roaming domain for the first time, the terminal needs to complete authentication. There are various authentication methods, which are not specifically limited in the embodiments of the present application.
For example, the terminal may perform authentication through an authentication server in the roaming system between APs. The authentication server can send information needing authentication to the terminal, a corresponding authentication page is popped up in the terminal, and after the terminal performs authentication, the content of the authentication is sent to the authentication server to complete the authentication.
It is understood that, after the terminal leaves the roaming domain for a certain time, the authentication information stored in the roaming domain by the terminal may be cleared; when the terminal re-accesses the roaming sub-domain, although the terminal does not access the roaming sub-domain for the first time, the terminal still needs to re-authenticate.
After the terminal completes authentication, the first AP may send authentication information of the terminal to the AC in the cloud to inform the AC in the cloud that the terminal has completed authentication in the first AP. And the AC in the cloud may inform the second AP of the authentication information through tunnel synchronization between the AP and the AC in the cloud. Among them, there are various embodiments of the second AP, for example: the second AP may be all APs in the roaming domain except the first AP; alternatively, the second AP may be a part of the APs in the roaming domain other than the first AP, and those skilled in the art may make an appropriate selection according to actual situations.
The second AP that receives the authentication information may store the authentication information. There are various ways for the second AP to store the authentication information, for example: the second AP may locally establish an authentication information table of the terminal in the roaming domain, where the authentication information table may store authentication information of multiple terminals; alternatively, the second AP may directly store the authentication information in a local area, and the like, which is not specifically limited in the embodiment of the present application.
Because the second AP and the first AP share the authentication information of the terminal, when the terminal roams and accesses a certain second AP, the second AP can directly inquire the authentication information stored locally, and when the terminal is inquired to finish the authentication, the roaming of the terminal is finished, and the terminal can surf the internet normally; if the second AP does not inquire the authentication information of the terminal, the terminal needs to perform authentication again on the second AP.
In the scheme, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, referring to fig. 3, fig. 3 is an interaction diagram of another inter-AP roaming method provided in the embodiment of the present application, before step S201, the inter-AP roaming method provided in the embodiment of the present application may further include the following steps:
step S301: after the AP is accessed to the AC of the cloud, the neighbor APs of the AP are scanned, and AP information is sent to the AC of the cloud.
Step S302: and the AC of the cloud receives AP information sent by a plurality of APs in the roaming domain.
Step S303: and the AC of the cloud generates a plurality of roaming subdomains according to the AP information and the preset size of the roaming subdomains, and sends the roaming subdomain information to the APs.
Step S304: and the AP receives roaming subdomain information sent by the AC at the cloud.
Specifically, before the terminal accesses the roaming domain, the roaming domain may be configured first. In the embodiment described above, the AC101 at the cloud may establish one or more roaming domains, and after establishing the roaming domains, the AP may be online and access to the AC at the cloud, and start the scanning function, and send the scanned neighbor AP information of the neighbor AP to the AC at the cloud; meanwhile, the AP can also send the AP information to the AC of the cloud. Among them, the APs that a certain AP can scan for the SSID signal can be regarded as neighbor APs of the AP.
The AP information may include location information, SSID name, signal strength, authentication method, and the like of the AP. The location information of the AP may include information such as longitude, latitude, altitude, and floor, and may be determined based on a Global Positioning System (GPS), or may be configured by an operation and maintenance worker when deploying the AP. As an embodiment, the AP information sent by the AP to the AC in the cloud may include its own location information; as another embodiment, the neighbor AP information of the neighbor AP sent by the AP to the AC in the cloud may include an SSID name, a signal strength, and an authentication method.
After receiving the AP information sent by the AP, the AC in the cloud may determine a topological relationship of the current roaming domain based on the AP information. It can be understood that, after all APs in a roaming domain are online and send AP information, the AC in the cloud may determine a topological relationship according to all the AP information; the cloud AC can also determine the topological relation according to the currently received AP information after a part of the APs in a roaming domain are on-line and send the AP information, and when a new AP is on-line, the cloud AC can update the previously determined topological relation.
In this embodiment of the application, after the AC in the cloud determines the topological relation, the roaming domain may be divided into a plurality of roaming sub-domains based on the topological relation and the AP information. Wherein, operation and maintenance personnel can configure the size of roaming subdomain on the AC in the cloud in advance, for example: if the size of the roaming subdomain is 3, the number of the APs in the roaming subdomain is at most 3; a roaming sub-domain size of 5 means that the number of APs in the roaming sub-domain is at most 5.
It should be noted that, the specific implementation of the AC partition roaming sub-domain in the cloud will be described in detail in the following embodiments, and will not be described here for the time being.
After the roaming sub-domain is divided, the AC in the cloud may synchronize the roaming sub-domain information to the AP. In this way, when the terminal roams in a roaming domain into which roaming sub-domains are divided, the authentication information of the terminal can be shared among APs in the same roaming sub-domain. Compared with the method without dividing the roaming sub-domain, the authentication information of the terminal of the whole roaming domain can be prevented from being stored in the local AP, so that the query speed is increased, and the resource waste and the load pressure of the AP are reduced.
It can be understood that, when the roaming domain is not divided into roaming sub-domains, or the roaming domain is divided into one roaming sub-domain, the second AP may represent remaining APs in the roaming domain except for the first AP, and the AC in the cloud synchronizes authentication information to all remaining APs in the roaming domain after the terminal is authenticated at the first AP, so that when the terminal roams to a certain second AP, the second AP may directly query the authentication information.
When the roaming domain is divided into a plurality of roaming sub-domains, there are two cases: in case one, a terminal roams from one AP to another AP in the same roaming sub-domain; in case two, the terminal roams from one AP to one AP in another roaming sub-domain adjacent to the roaming sub-domain in which the AP is located. For the above two situations, the roaming methods between APs provided in the embodiments of the present application are also different to a certain extent, and the roaming methods in the two situations will be introduced separately.
In the above scheme, after the AP is accessed to the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship among the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, in case one, that is, when the terminal roams from one AP to another AP in the same roaming sub-domain, at this time, the first AP and the second AP are in the same roaming sub-domain of the roaming domain, the step S204 may specifically include the following steps:
and the AC of the cloud sends authentication information to a second AP in the same roaming sub-domain of the roaming domain as the first AP.
Specifically, because the first AP and the second AP are in the same roaming sub-domain, after the terminal completes authentication on the first AP, the AC in the cloud may synchronize the authentication information to the AP in the roaming sub-domain where the first AP is located. When the terminal roams to a second AP in the same roaming sub-domain as the first AP, the second AP may directly query the locally stored authentication information.
In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
Further, for the second case, that is, when the terminal roams from one AP to one AP in another roaming sub-domain adjacent to the roaming sub-domain where the AP is located, at this time, the first AP and the second AP are respectively located in adjacent roaming sub-domains of the roaming domain, at this time, the step S204 has various implementation manners.
For example, the step S204 may specifically include the following steps:
and the AC of the cloud sends authentication information to other APs in the same roaming sub-domain of the roaming domain and other APs in adjacent roaming sub-domains of the roaming domain.
Specifically, after the terminal completes authentication on the first AP, the AC in the cloud may synchronize the authentication information to the first roaming sub-domain where the first AP is located, and synchronize the authentication information to another adjacent second roaming sub-domain at the same time. When the terminal roams to a second AP in a second roaming sub-domain adjacent to the first AP, the second AP may directly query the locally stored authentication information.
The adjacent roaming sub-domain means that an AP capable of scanning SSID signals mutually exists in the two roaming sub-domains, and the AP capable of scanning SSID signals mutually is an edge AP in the roaming sub-domain.
Taking fig. 1 as an example, fig. 1 includes two roaming sub-domains, namely roaming sub-domain 1 and roaming sub-domain 2. The roaming sub-domain 1 comprises an AP1, an AP2 and an AP3, and the roaming sub-domain 2 comprises an AP4, an AP5 and an AP 6; the AP3 can scan the SSID signal of the AP4, the AP4 can scan the SSID signal of the AP3, the AP3 is the edge AP of the roaming sub-domain 1, the AP4 is the edge AP of the roaming sub-domain 2, and the roaming sub-domain 1 are adjacent roaming sub-domains.
For another example, the step S204 may specifically include the following steps:
the AC of the cloud sends authentication information to other APs in the same roaming sub-domain of the roaming sub-domain as the AP, and when the terminal roams to an edge AP in the roaming sub-domain, the authentication information is sent to the AP in the adjacent roaming sub-domain of the roaming sub-domain.
Specifically, after the terminal completes authentication on the first AP, the AC in the cloud may synchronize the authentication information to the first roaming sub-domain where the first AP is located. When the terminal roams to the edge AP in the first roaming sub-domain, the AC in the cloud may synchronize the authentication information to another adjacent second roaming sub-domain. When the terminal roams to a second AP in a second roaming sub-domain adjacent to the first AP, the second AP may directly query the locally stored authentication information.
It should be understood that the above two examples are only two examples provided in the embodiments of the present application, and those skilled in the art may flexibly adjust the specific implementation manner of the step S204 based on the above two examples by combining the actual situations, for example: the AC in the cloud may synchronize the authentication information to the second roaming sub-domain after synchronizing the authentication information to the first roaming sub-domain for a period of time, and the like.
In the above scheme, multiple roaming sub-domains may be established in a roaming domain, and authentication information of a terminal may be shared among APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
The following describes a flow of the inter-AP roaming method provided in the embodiment of the present application, by taking the inter-AP roaming system shown in fig. 1 as an example. Assume that the inter-AP roaming system includes a roaming sub-domain 1 and a roaming sub-domain 2, where the roaming sub-domain 1 includes AP1, AP2, and AP3, and the roaming sub-domain 2 includes AP4, AP5, and AP 6.
In the first step, the terminal accesses the AP1 in the roaming sub-domain 1, completes authentication and starts to surf the internet.
In the second step, the AC in the cloud synchronously transmits the authentication information of the terminal on the AP1 to the AP2 and the AP3 in the roaming sub-domain 1.
Thirdly, when the terminal roams from the AP1 to the AP2, the AP2 queries the terminal locally and the authentication of the terminal is completed, so that the terminal can directly surf the internet.
Fourthly, when the terminal roams into the AP3 from the AP2, since the AP3 is an edge AP of the roaming sub-domain 1, the AC in the cloud may synchronously send the authentication information of the terminal to the AP4, the AP5 and the AP6 in the roaming sub-domain 1 adjacent to the roaming sub-domain 1.
Fifthly, when the terminal roams from the AP3 to access the AP4, the AP4 queries the terminal locally and the authentication of the terminal is completed, so that the terminal can directly surf the internet.
Through the first step to the fifth step, the terminal realizes roaming between the same roaming sub-domains and roaming between adjacent roaming sub-domains, and due to the fact that the authentication information of the terminal is shared among the multiple APs, when the terminal is switched in the roaming mode among the multiple APs sharing the authentication information, authentication does not need to be carried out again, therefore, the terminal can realize fast roaming among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, a specific implementation of dividing the roaming sub-domain by the AC in the cloud is described below, where the step S303 may specifically include the following steps:
and the AC of the cloud determines the AP with the minimum media access control address according to the AP information corresponding to the AP to be divided in the roaming domain, and the AP is used as the root AP of the current roaming sub-domain.
And the AC of the cloud sequentially selects the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of the APs in the current roaming sub-domain is equal to the preset size.
Specifically, when the AC in the cloud is dividing the first roaming sub-domain, the to-be-divided AP may represent all APs in the roaming sub-domain; when the AC in the cloud is partitioning the nth roaming sub-domain (N is an integer greater than 1), the AP to be partitioned may represent the remaining APs in the roaming sub-domain except for the partitioned APs.
For example, the AC in the cloud may determine an AP with the minimum MAC from all APs in the roaming domain, and the AP serves as a root AP of the current roaming sub-domain and becomes a first member of the current roaming sub-domain.
Then, the AC of the cloud end can sequentially select the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of the APs in the current roaming sub-domain is equal to the preset size. For example, assuming that the preset size of the roaming sub-domain configured in advance is 3, after two APs are selected, the current roaming sub-domain is full, and then the second roaming sub-domain is divided.
As an embodiment, the step of sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of APs in the current roaming sub-domain is equal to the preset size may include the following steps:
and the AC of the cloud determines first-level neighbor APs of the root AP, and sequentially selects the APs in the current roaming sub-domain according to the AP information corresponding to the first-level neighbor APs.
If the number of the APs in the current roaming sub-domain is smaller than the preset size after the first-level neighbor APs are selected by the AC of the cloud, determining the next-level neighbor APs of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-level neighbor APs until the number of the APs in the current roaming sub-domain is equal to the preset size.
The first-level neighbor AP is an AP which the root AP can directly scan the signal, and the next-level neighbor AP is an AP which the previous-level neighbor AP can scan the service set identification signal.
The AC of the cloud terminal can sequentially select the APs in the current roaming sub-domain from strong to weak according to the signal intensity of the first-level neighbor AP scanned by the root AP; similarly, the AC in the cloud may select the APs in the current roaming sub-domain in sequence from far to near according to the distance between the next-level neighbor AP and the root AP, or select the APs in the current roaming sub-domain in sequence from strong to weak according to the signal strength of the next-level neighbor AP scanned by the previous-level neighbor AP.
It should be understood that the above-mentioned manner of selecting an AP in the current roaming sub-domain from one-level neighbor APs or from next-level neighbor APs is only an example provided in the embodiment of the present application, and those skilled in the art may adjust the above-mentioned selection manner according to actual situations, which is not specifically limited in the embodiment of the present application. For example: and sequentially selecting the APs in the current roaming sub-domain from far to near according to the distance between the first-level neighbor AP and the root AP, and the like.
In addition, due to the difference of the preset sizes of the roaming sub-domains configured in advance, there may be the following cases: the first-level neighbors can fill the first roaming subdomain, and the second-level neighbors do not need to be selected at the moment; the first-level neighbors cannot fill the first roaming sub-domain, and the second-level neighbors need to be selected again.
For example, first, the members of the roaming sub-domain are selected according to the signal intensity of the first-level neighbor AP from strong to weak until the preset size of the roaming sub-domain is reached; if the preset size of the roaming subdomain is not reached after the first-level neighbor AP is selected, continuing to select roaming subdomain members from the second-level neighbor APs, and sequentially adding the second-level neighbor APs into the roaming subdomain from strong to weak according to the position distance from the root AP and the SSID signal intensity scanned by the first-level neighbor APs from far to near or from strong to weak until the upper limit of the roaming subdomain is reached; if the second-level neighbor AP is selected and the preset size of the roaming subdomain is not reached, continuing to select roaming subdomain members from the third-level neighbor APs, and sequentially adding the third-level neighbor APs into the roaming subdomain from strong to weak according to the position distance from the root AP and the SSID signal intensity scanned by the second-level neighbor APs from far to near or from strong to weak until the upper limit of the roaming subdomain is reached; if the roaming sub-domain still does not reach the preset size according to the selection of the multi-level neighbor APs, selecting the neighbor APs in the rest APs in sequence from far to near according to the distance from the root AP to join the roaming sub-domain until the upper limit of the roaming sub-domain is reached.
Similar to the division of the first roaming sub-domain, after the division of the first roaming sub-domain is finished, one AP with the minimum MAC is continuously selected from the rest APs in the roaming domain to serve as a root AP of a second roaming sub-domain, the steps are repeated, and a first-level neighbor AP, a second-level neighbor AP, a third-level neighbor AP and the like of the root AP are sequentially selected to serve as members of the second roaming sub-domain until the upper limit of the stacking roaming sub-domain is reached. The embodiment of the present application does not specifically describe a specific implementation manner of dividing the subsequent roaming sub-domain.
When all the APs in the roaming domain have been divided into different roaming sub-domains, the division of the roaming sub-domains is finished. It is to be understood that, in the dividing process, the sizes of the remaining roaming sub-domains except for the last roaming sub-domain should be equal to the preset size, and the size of the last roaming sub-domain may be smaller than or equal to the preset size.
As another embodiment, the skilled person can also select the AP in the current roaming sub-domain in other ways, such as: the APs in the current roaming sub-domain are directly selected according to the distance from the root AP, and the like, which is not specifically limited in the embodiment of the present application.
The following describes a process of dividing roaming sub-domains according to an embodiment of the present application, taking the inter-AP roaming system shown in fig. 1 as an example. Assume that the preset size of the roaming sub-domain configured in advance is 3, and includes 6 APs, which are AP1, AP2, AP3, AP4, AP5 and AP6, and AP1 to AP6 are adjacent in sequence.
The first step, after 6 APs access the AC of the cloud, the scanning function is started, and the position information of the APs, the SSID names of neighbor APs, the signal intensity and the authentication mode are sent.
And step two, the AC at the cloud draws a corresponding roaming domain topological graph according to the AP information received in the step one.
Third, AP1 and AP6 belong to roaming domain edge APs, and the MAC of AP1 is smaller than the MAC of AP6, so AP1 is selected as the root AP for roaming sub-domain 1.
And fourthly, determining a first-level neighbor AP2, a second-level neighbor AP3, a third-level neighbor AP4, a fourth-level neighbor AP5 and a fifth-level neighbor AP6 of the AP1, and sequentially selecting a first-level neighbor AP2 and a second-level neighbor AP3 to be added into the roaming sub-domain 1.
Fifth, the roaming domain remains AP4, AP5, and AP6, AP4, and AP6 are border APs of the roaming domain, and the MAC of AP4 is smaller than the MAC of AP6, so AP4 is selected as the root AP of roaming sub-domain 2.
And sixthly, determining a primary neighbor AP5 and a secondary neighbor AP6 of the AP4, and selecting the primary neighbor AP5 and the secondary neighbor AP6 in turn to join the roaming sub-domain 2.
Through the first step to the sixth step, the roaming domain shown in fig. 1 automatically generates two adjacent roaming sub-domains 1 and 2, where the roaming sub-domain 1 includes AP1, AP2, and AP3, the roaming sub-domain 2 includes AP4, AP5, and AP6, and AP3 is an edge AP of the roaming sub-domain 1, and AP4 is an edge AP of the roaming sub-domain 2.
Referring to fig. 4, fig. 4 is a block diagram illustrating an inter-AP roaming device configured in an AP according to an embodiment of the present disclosure, where the inter-AP roaming device 400 includes: the first receiving module 401 is configured to receive and store authentication information of the terminal, which is sent by the wireless controller AC in the cloud after the terminal completes authentication in other APs; an inquiring module 402, configured to inquire the authentication information when the terminal roams to the AP, so as to complete roaming of the terminal after inquiring the authentication information.
In the embodiment of the application, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, the AP is in the same roaming sub-domain of the roaming domain as the other APs.
In the embodiment of the application, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
Further, the AP and the other APs are respectively located in adjacent roaming sub-domains of the roaming domain.
In the embodiment of the application, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
Further, the inter-AP roaming apparatus 400 further includes: the scanning module is used for scanning neighbor APs of the APs after accessing the AC of the cloud end and sending AP information to the AC of the cloud end; the AP information comprises self AP information and neighbor AP information; and the third receiving module is used for receiving roaming sub-domain information sent by the AC of the cloud.
In this embodiment of the application, after the AP accesses the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship between the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Referring to fig. 5, fig. 5 is a block diagram illustrating an inter-AP roaming apparatus configured in a cloud AC according to an embodiment of the present disclosure, where the inter-AP roaming apparatus 500 includes: a second receiving module 501, configured to receive authentication information of a terminal on an AP, where the authentication information is sent by any AP; a sending module 502, configured to send the authentication information to other APs after the terminal completes authentication at any AP.
In the embodiment of the application, the authentication information of the terminal is shared among the plurality of APs, and when the terminal is in roaming switching among the plurality of APs sharing the authentication information, authentication does not need to be carried out again, so that the terminal can rapidly roam among the APs, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, the sending module 502 is specifically configured to: and sending the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP.
In the embodiment of the application, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the same roaming sub-domain, authentication does not need to be carried out again, so that the terminal can fast roam in the roaming sub-domain, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
Further, the sending module 502 is specifically configured to: and transmitting the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP and other APs in adjacent roaming sub-domains of the roaming domain as the AP.
In the embodiment of the application, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain. When the terminal is in roaming switching between the APs in the adjacent roaming subdomains, the authentication information can be shared to the adjacent roaming subdomains, so that the terminal can rapidly roam across the roaming subdomains, and the roaming efficiency between the APs when the AC is deployed on the public cloud server is improved.
Further, the sending module 502 is specifically configured to: and when the terminal roams to an edge AP in a roaming sub-domain, transmitting the authentication information to an AP in an adjacent roaming sub-domain of the roaming sub-domain.
In the embodiment of the application, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain. When the terminal roams to the edge AP of the roaming sub-domain, the authentication information can be shared to the adjacent roaming sub-domain, so that the terminal can fast roam across the roaming sub-domains, and the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, the inter-AP roaming apparatus 500 further includes: a fourth receiving module, configured to receive AP information sent by multiple APs in a roaming domain; the AP information comprises self AP information and neighbor AP information; and the generating module is used for generating a plurality of roaming subdomains according to the AP information and the preset size of the roaming subdomains and sending the roaming subdomain information to the plurality of APs.
In this embodiment of the application, after the AP accesses the AC of the cloud, the scanned AP information of the neighbor AP may be sent to the AC of the cloud, so that the AC of the cloud determines the topological relationship between the APs based on the received AP information. In addition, a plurality of roaming sub-domains can be established in the roaming domain, and the authentication information of the terminal is shared among the APs in the same roaming sub-domain, so that the roaming efficiency among the APs when the AC is deployed on the public cloud server is improved.
Further, the generating module is specifically configured to: determining the AP with the minimum media access control address according to the AP information corresponding to the AP to be divided in the roaming domain, and using the AP as a root AP of the current roaming sub-domain; and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of the APs in the current roaming sub-domain is equal to the preset size.
Further, the generating module is further configured to: determining a first-level neighbor AP of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the first-level neighbor AP; and if the number of the APs in the current roaming sub-domain is smaller than the preset size after the first-stage neighbor APs are selected, determining the next-stage neighbor APs of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-stage neighbor APs until the number of the APs in the current roaming sub-domain is equal to the preset size.
Further, the first-level neighbor AP is an AP that the root AP can directly scan a signal, and the next-level neighbor AP is an AP that the previous-level neighbor AP can scan a service set identification signal.
Further, the generating module is further configured to: sequentially selecting the APs in the current roaming sub-domain from strong to weak according to the signal intensity of the first-level neighbor AP scanned by the root AP; the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-level neighbor AP comprises the following steps: sequentially selecting the APs in the current roaming sub-domain from far to near according to the distance between the APs and the root AP; or, the APs in the current roaming sub-domain are sequentially selected according to the strength of the signal scanned by the upper-level neighbor AP to the lower-level neighbor AP from strong to weak.
Referring to fig. 6, fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 600 includes: at least one processor 601, at least one communication interface 602, at least one memory 603, and at least one communication bus 606. Wherein the communication bus 606 is used for implementing direct connection communication of these components, the communication interface 602 is used for communicating signaling or data with other node devices, and the memory 603 stores machine-readable instructions executable by the processor 601. When the electronic device 600 is operating, the processor 601 communicates with the memory 603 via the communication bus 606, and the machine-readable instructions when invoked by the processor 601 perform the inter-AP roaming method described above.
For example, the processor 601 of the embodiment of the present application may implement the following method by reading the computer program from the memory 603 through the communication bus 606 and executing the computer program: step S201: the terminal authenticates in the first AP. Step S202: and the first AP sends the authentication information of the terminal to the AC at the cloud. Step S203: and the AC of the cloud receives the authentication information of the terminal on the first AP, which is sent by the first AP. Step S204: and the AC of the cloud sends authentication information to the second AP after the terminal completes the authentication of the first AP. Step S205: and the second AP receives and stores the authentication information of the terminal, which is sent by the AC at the authentication information cloud after the terminal completes the authentication of the first AP. Step S206: when the terminal roams to the second AP, the second AP inquires the authentication information of the terminal so as to finish the roaming of the terminal after inquiring the authentication information of the terminal. Or the following method is realized: step S301: after the AP is accessed to the AC of the cloud, the neighbor APs of the AP are scanned, and AP information is sent to the AC of the cloud. Step S302: and the AC of the cloud receives AP information sent by a plurality of APs in the roaming domain. Step S303: and the AC of the cloud generates a plurality of roaming subdomains according to the AP information and the preset size of the roaming subdomains, and sends the roaming subdomain information to the APs. Step S304: and the AP receives roaming subdomain information sent by the AC at the cloud.
The processor 601 may be an integrated circuit chip having signal processing capabilities. The Processor 601 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. Which may implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 303 may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Read Only Memory (EPROM), an electrically Erasable Read Only Memory (EEPROM), and the like.
It will be appreciated that the configuration shown in FIG. 6 is merely illustrative and that electronic device 600 may include more or fewer components than shown in FIG. 6 or have a different configuration than shown in FIG. 6. The components shown in fig. 6 may be implemented in hardware, software, or a combination thereof. In this embodiment, the electronic device 600 may be, but is not limited to, an entity device such as a desktop, a laptop, a smart phone, an intelligent wearable device, and a vehicle-mounted device, and may also be a virtual device such as a virtual machine. In addition, the electronic device 600 is not necessarily a single device, but may also be a combination of multiple devices, such as a server cluster, and the like.
Embodiments of the present application further provide a computer program product, which includes a computer program stored on a computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can perform the steps of the inter-AP roaming method in the foregoing embodiments, for example, the steps include: receiving and storing authentication information of the terminal, which is sent by a wireless controller AC (access controller) at the cloud after the terminal completes authentication of other APs; and when the terminal roams to the AP, inquiring the authentication information so as to finish the roaming of the terminal after inquiring the authentication information.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (15)

1. A roaming method between APs, applied to a wireless access point AP, includes:
receiving and storing authentication information of the terminal, which is sent by a wireless controller AC (access controller) at the cloud after the terminal completes authentication of other APs;
and when the terminal roams to the AP, inquiring the authentication information so as to finish the roaming of the terminal after inquiring the authentication information.
2. The inter-AP roaming method of claim 1, wherein the AP is in a same roaming sub-domain of a roaming domain as the other APs; and/or the presence of a gas in the gas,
the AP and the other APs are respectively positioned in adjacent roaming sub-domains of the roaming domain.
3. The inter-AP roaming method according to claim 1 or 2, wherein before the receiving and storing authentication information of the terminal, which is sent by the wireless controller AC in the cloud after the terminal completes authentication with other APs, the method further includes:
after accessing the AC of the cloud, scanning neighbor APs of the APs, and sending AP information to the AC of the cloud; the AP information comprises self AP information and neighbor AP information;
and receiving roaming sub-domain information sent by the AC at the cloud.
4. A roaming method between APs is characterized in that a wireless controller AC applied to a cloud comprises the following steps:
receiving authentication information of a terminal on any wireless Access Point (AP) sent by the AP;
and after the terminal completes the authentication of any AP, sending the authentication information to other APs.
5. The inter-AP roaming method according to claim 4, wherein the sending the authentication information to the other APs includes:
transmitting the authentication information to other APs in the same roaming sub-domain as the AP; and/or the presence of a gas in the gas,
and transmitting the authentication information to other APs in the same roaming sub-domain of the roaming domain as the AP and APs in adjacent roaming sub-domains of the roaming domain as the AP.
6. The inter-AP roaming method according to claim 4, wherein the sending the authentication information to the other APs includes:
and when the terminal roams to an edge AP in a roaming sub-domain, transmitting the authentication information to an AP in an adjacent roaming sub-domain of the roaming sub-domain.
7. The inter-AP roaming method according to any one of claims 4-6, wherein before the sending the authentication information to the other APs, the method further comprises:
receiving AP information sent by a plurality of APs in a roaming domain; the AP information comprises self AP information and neighbor AP information;
and generating a plurality of roaming subdomains according to the AP information and the preset size of the roaming subdomains, and sending roaming subdomain information to the plurality of APs.
8. The method of claim 7, wherein the generating a plurality of roaming sub-domains according to the AP information and a predetermined size of the roaming sub-domain comprises:
determining the AP with the minimum media access control address according to the AP information corresponding to the AP to be divided in the roaming domain, and using the AP as a root AP of the current roaming sub-domain;
and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of the APs in the current roaming sub-domain is equal to the preset size.
9. The method of claim 8, wherein the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the remaining APs except the root AP in the APs to be divided until the number of APs in the current roaming sub-domain is equal to the preset size comprises:
determining a first-level neighbor AP of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the first-level neighbor AP;
and if the number of the APs in the current roaming sub-domain is smaller than the preset size after the first-stage neighbor APs are selected, determining the next-stage neighbor APs of the root AP, and sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-stage neighbor APs until the number of the APs in the current roaming sub-domain is equal to the preset size.
10. The method of claim 9, wherein the first-level neighbor is an AP that the root AP can directly scan for signals, and the next-level neighbor AP is an AP that the previous-level neighbor AP can scan for service set identification signals.
11. The method of claim 10, wherein the selecting the APs in the current roaming sub-domain in sequence according to the AP information corresponding to the first-level neighbor APs comprises:
sequentially selecting the APs in the current roaming sub-domain from strong to weak according to the signal intensity of the first-level neighbor AP scanned by the root AP;
the sequentially selecting the APs in the current roaming sub-domain according to the AP information corresponding to the next-level neighbor AP comprises the following steps:
sequentially selecting the APs in the current roaming sub-domain from far to near according to the distance between the APs and the root AP; alternatively, the first and second electrodes may be,
and sequentially selecting the APs in the current roaming sub-domain from strong to weak according to the signal intensity of the neighbor AP scanned by the previous-level neighbor AP to the next-level neighbor AP.
12. An inter-AP roaming apparatus configured in a wireless access point AP, comprising:
the first receiving module is used for receiving and storing authentication information of the terminal, which is sent by the wireless controller AC in the cloud after the authentication of the terminal in other APs is completed;
and the query module is used for querying the authentication information when the terminal roams to the AP so as to complete the roaming of the terminal after querying the authentication information.
13. An inter-AP roaming device, wherein a wireless controller AC configured at a cloud end comprises:
the second receiving module is used for receiving the authentication information of the terminal on the AP, which is sent by any wireless access point AP;
and the sending module is used for sending the authentication information to other APs after the terminal completes the authentication of any AP.
14. An electronic device, comprising: a processor, a memory, and a bus;
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the inter-AP roaming method of any one of claims 1-3 or the inter-AP roaming method of any one of claims 4-11.
15. A computer-readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the inter-AP roaming method according to any one of claims 1 to 3 or the inter-AP roaming method according to any one of claims 4 to 11.
CN202111248989.4A 2021-10-26 2021-10-26 Roaming method and device between APs Active CN113993128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111248989.4A CN113993128B (en) 2021-10-26 2021-10-26 Roaming method and device between APs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248989.4A CN113993128B (en) 2021-10-26 2021-10-26 Roaming method and device between APs

Publications (2)

Publication Number Publication Date
CN113993128A true CN113993128A (en) 2022-01-28
CN113993128B CN113993128B (en) 2024-04-12

Family

ID=79741756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248989.4A Active CN113993128B (en) 2021-10-26 2021-10-26 Roaming method and device between APs

Country Status (1)

Country Link
CN (1) CN113993128B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115348574A (en) * 2022-10-18 2022-11-15 浙江大华技术股份有限公司 Roaming method of wireless terminal, electronic device, and storage medium
CN115665819A (en) * 2022-12-22 2023-01-31 新华三技术有限公司 Roaming switching method, AC and network system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764751A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN103039096A (en) * 2010-05-04 2013-04-10 思科技术公司 Hierarchical control signaling for mobile clients in distributed wireless controller system
US20130265941A1 (en) * 2010-12-24 2013-10-10 Hangzhou H3C Technologies Co., Ltd. Preventing roaming user terminal re-authenication
CN103596161A (en) * 2012-08-14 2014-02-19 杭州华三通信技术有限公司 A wireless roaming method and an access controller
CN103747431A (en) * 2013-12-19 2014-04-23 杭州华三通信技术有限公司 Method and device for realizing rapid roaming based on neighbor detection
CN105376829A (en) * 2015-10-27 2016-03-02 上海斐讯数据通信技术有限公司 System and method for WIFI roaming of mobile terminal in local area network (LAN)
CN105848131A (en) * 2016-05-09 2016-08-10 厦门四信通信科技有限公司 Method for realizing STA cross-domain roaming through cloud AC
CN106550348A (en) * 2016-12-09 2017-03-29 锐捷网络股份有限公司 A kind of method for realizing in the wireless local area network roaming, WAP and server
CN106954236A (en) * 2017-04-28 2017-07-14 北京星网锐捷网络技术有限公司 The method and WAP of a kind of control wireless terminal seamless roam
US20180048633A1 (en) * 2015-12-09 2018-02-15 Phicomm (Shanghai) Co., Ltd. Perception-free authentication method and system, and control method and system based on the same
CN108924815A (en) * 2018-06-20 2018-11-30 普联技术有限公司 A kind of wireless roaming method and system
CN109379339A (en) * 2018-09-20 2019-02-22 杭州迪普科技股份有限公司 A kind of portal authentication method and device
CN109661015A (en) * 2018-12-10 2019-04-19 杭州全维技术股份有限公司 A method of realizing the AC data sharing of different vendor
CN111479267A (en) * 2020-03-19 2020-07-31 烽火通信科技股份有限公司 Fast roaming method and system
CN111654850A (en) * 2019-03-04 2020-09-11 华为技术有限公司 Roaming method and communication device for wireless local area network
CN111935743A (en) * 2020-08-12 2020-11-13 杭州萤石软件有限公司 Wireless roaming optimization method, system, device and storage medium
CN111954293A (en) * 2019-05-16 2020-11-17 阿里巴巴集团控股有限公司 Data synchronization method, network connection method, device and wireless access point

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764751A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN103039096A (en) * 2010-05-04 2013-04-10 思科技术公司 Hierarchical control signaling for mobile clients in distributed wireless controller system
US20130265941A1 (en) * 2010-12-24 2013-10-10 Hangzhou H3C Technologies Co., Ltd. Preventing roaming user terminal re-authenication
CN103596161A (en) * 2012-08-14 2014-02-19 杭州华三通信技术有限公司 A wireless roaming method and an access controller
US20150163657A1 (en) * 2012-08-14 2015-06-11 Hangzhou H3C Technologies Co., Ltd. Wireless roaming method and access controller
CN103747431A (en) * 2013-12-19 2014-04-23 杭州华三通信技术有限公司 Method and device for realizing rapid roaming based on neighbor detection
CN105376829A (en) * 2015-10-27 2016-03-02 上海斐讯数据通信技术有限公司 System and method for WIFI roaming of mobile terminal in local area network (LAN)
US20180048633A1 (en) * 2015-12-09 2018-02-15 Phicomm (Shanghai) Co., Ltd. Perception-free authentication method and system, and control method and system based on the same
CN105848131A (en) * 2016-05-09 2016-08-10 厦门四信通信科技有限公司 Method for realizing STA cross-domain roaming through cloud AC
CN106550348A (en) * 2016-12-09 2017-03-29 锐捷网络股份有限公司 A kind of method for realizing in the wireless local area network roaming, WAP and server
CN106954236A (en) * 2017-04-28 2017-07-14 北京星网锐捷网络技术有限公司 The method and WAP of a kind of control wireless terminal seamless roam
CN108924815A (en) * 2018-06-20 2018-11-30 普联技术有限公司 A kind of wireless roaming method and system
CN109379339A (en) * 2018-09-20 2019-02-22 杭州迪普科技股份有限公司 A kind of portal authentication method and device
CN109661015A (en) * 2018-12-10 2019-04-19 杭州全维技术股份有限公司 A method of realizing the AC data sharing of different vendor
CN111654850A (en) * 2019-03-04 2020-09-11 华为技术有限公司 Roaming method and communication device for wireless local area network
CN111954293A (en) * 2019-05-16 2020-11-17 阿里巴巴集团控股有限公司 Data synchronization method, network connection method, device and wireless access point
CN111479267A (en) * 2020-03-19 2020-07-31 烽火通信科技股份有限公司 Fast roaming method and system
CN111935743A (en) * 2020-08-12 2020-11-13 杭州萤石软件有限公司 Wireless roaming optimization method, system, device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SA WG2: "SP-120708 "LS from SA WG2: LS on Clarification on authentication and policy control procedures for 3GPP UE roaming in BBF domain"", 3GPP TSG_SA\\TSG_SA, no. 58, 21 November 2012 (2012-11-21) *
王新峰;曾明星;: "WLAN网下一种实现用户漫游的机制", 计算机应用与软件, no. 08, 12 August 2018 (2018-08-12) *
蔡云鹏: "基于无缝漫游的WLAN无感知认证研究", 中国计算机用户协会网络应用分会2017年第二十一届网络新技术与应用年会, 21 December 2017 (2017-12-21) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115348574A (en) * 2022-10-18 2022-11-15 浙江大华技术股份有限公司 Roaming method of wireless terminal, electronic device, and storage medium
CN115665819A (en) * 2022-12-22 2023-01-31 新华三技术有限公司 Roaming switching method, AC and network system

Also Published As

Publication number Publication date
CN113993128B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
EP3327992B1 (en) Method of selecting network slice and system utilizing same
CN113993128A (en) inter-AP roaming method and device
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN105824706A (en) Method and device for configuring accelerator
CN105120461A (en) Method and apparatus for WLAN initial link setup
EP3163946B1 (en) Transmission list in wi-fi acces point
CN109417492A (en) A kind of network function NF management method and NF management equipment
CN1761263B (en) System and method for avoiding a network address collision
CN101771661A (en) Method, device and system for determining clock source
CN107396358B (en) Wireless hotspot connection control method, device and equipment and computer storage medium
CN113727399B (en) Target cell determining method and device
CN107113615B (en) Authentication method and system for Access Point (AP) and related equipment
US20160286583A1 (en) Method for terminal accessing base station, and apparatus
CN110933758B (en) Interference coordination method and device, and base station
CN110278558B (en) Message interaction method and WLAN system
CN104053159A (en) Method and device for distributing frequency points to multi-carrier base station
CN111479272A (en) Method, equipment and storage medium for automatically connecting AP (Access Point) hotspots according to priorities
CN114157633B (en) Message forwarding method and device
CN110336793A (en) A kind of Intranet access method and relevant apparatus
CN108738027B (en) Network processing method, resource management system and network equipment
CN115442100A (en) Data access method based on multi-node zero-trust gateway and related equipment
CN110324826B (en) Intranet access method and related device
CN110572829B (en) Network connection control method and related product
CN114007276A (en) Network access processing method, device, equipment and system of ZigBee network
CN110071949B (en) System, method and device for managing computing application across geographic areas

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