CN111787586B - Wireless roaming method and device - Google Patents

Wireless roaming method and device Download PDF

Info

Publication number
CN111787586B
CN111787586B CN202010731365.7A CN202010731365A CN111787586B CN 111787586 B CN111787586 B CN 111787586B CN 202010731365 A CN202010731365 A CN 202010731365A CN 111787586 B CN111787586 B CN 111787586B
Authority
CN
China
Prior art keywords
wireless terminal
message
receiving
sent
access
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
CN202010731365.7A
Other languages
Chinese (zh)
Other versions
CN111787586A (en
Inventor
吴清根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Information Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Information Technologies Co Ltd filed Critical New H3C Information Technologies Co Ltd
Priority to CN202010731365.7A priority Critical patent/CN111787586B/en
Publication of CN111787586A publication Critical patent/CN111787586A/en
Application granted granted Critical
Publication of CN111787586B publication Critical patent/CN111787586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0061Transmission or use of information for re-establishing the radio link of neighbour cell information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Landscapes

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

Abstract

The application provides a wireless roaming method and a device, wherein the method is applied to a wireless terminal and comprises the following steps: after the wireless terminal has the function of realizing wireless roaming through the access point AP with the proxy access function and is associated with the first AP with the proxy access function, if the wireless terminal determines that the wireless terminal needs to roam to the second AP, the wireless terminal sends an association request message carrying a BSSID (base station system identifier) of the second AP to the first AP; when receiving an association response message sent by a first AP, switching a current working channel to a working channel of a second AP, and sending a data connection request message to the second AP; and after receiving the data connection receiving message sent by the second AP, determining that the mobile terminal successfully roams to the second AP, and sending a data message to the second AP. The embodiment of the application can improve user experience.

Description

Wireless roaming method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wireless roaming method and apparatus.
Background
In a Wireless Local Area Network (WLAN), a Wireless terminal tends to roam from an Access Point (AP) managed by an Access Controller (AC) to another AP managed by the AC.
In the roaming process, the wireless terminal needs to disconnect the wireless connection established with the AP before roaming, switch to the channel on which the AP after roaming works, and restore the service data communication after establishing the wireless connection with the AP after roaming.
The whole roaming process generally needs to last between tens of milliseconds and hundreds of milliseconds, and even reaches the second level in extreme cases, which easily causes interruption of wireless service, and further affects user experience.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a wireless roaming method and a wireless roaming device.
According to a first aspect of embodiments of the present application, there is provided a wireless roaming method, which is applied to a wireless terminal, and includes:
after the wireless terminal has a function of realizing wireless roaming through an AP with a proxy access function and is associated with a first AP with the proxy access function, if the wireless terminal determines that the wireless terminal needs to roam to a second AP, sending an association request message carrying a Basic Service Set Identifier (BSSID) of the second AP to the first AP;
when receiving an association response message sent by the first AP, switching a current working channel to a working channel of the second AP, and sending a data connection request message to the second AP, where the association response message is sent to the first AP after creating an access entry that the wireless terminal associates with the second AP according to the BSSID when an AC that manages the first AP receives the association request message forwarded by the first AP and determines that the wireless terminal has a function of enabling wireless roaming through an access point AP having a proxy access function;
after receiving a data connection receiving message sent by the second AP, determining that the mobile terminal successfully roams to the second AP, and sending a data message to the second AP; the data connection receiving message is sent when the second AP judges that the access entry sent by the AC is locally stored after receiving the data connection request message.
According to a second aspect of embodiments of the present application, there is provided a wireless roaming method, which is applied to an AC, the method including:
receiving a first association request message from a wireless terminal forwarded by a first AP (access point) with a proxy access function managed by the wireless terminal, wherein the first association request message is sent to a first AP when the wireless terminal with the function of realizing wireless roaming through the AP with the proxy access function is determined to roam to a second AP after being associated with the first AP, and the first association request message carries a BSSID (basic service system identifier) of the second AP;
when the wireless terminal is determined to have the function of realizing wireless roaming through the AP with the proxy access function, creating an access table item associated to the second AP by the wireless terminal according to the BSSID;
sending a first association response message to the wireless terminal through the first AP, so that the wireless terminal switches a current working channel into a working channel of the second AP when receiving the first association response message, and sends a data connection request message to the second AP;
sending the access table item to the second AP, so that the second AP sends a data connection receiving message to the wireless terminal when receiving a data connection request message sent by the wireless terminal and judging that the access table item is locally stored, so as to indicate that the wireless terminal successfully roams to the second AP, and sends a data message to the second AP
According to a third aspect of embodiments herein, there is provided a wireless roaming apparatus, the apparatus being applied to a wireless terminal, the apparatus including:
a first determining module, configured to, after the wireless terminal has a function of enabling the wireless terminal to implement wireless roaming through an AP having a proxy access function and associates with a first AP having the proxy access function, send an association request packet carrying a BSSID of a second AP to the first AP if the wireless terminal determines that the wireless terminal needs to roam to the second AP;
a switching module, configured to switch a current working channel to a working channel of the second AP and send a data connection request message to the second AP when receiving an association response message sent by the first AP, where the association response message is sent to the first AP after creating an access entry that the wireless terminal associates with the second AP according to the BSSID when receiving the association request message forwarded by the first AP and determining that the wireless terminal has a function of implementing wireless roaming through an access point AP having a proxy access function when the AC that manages the first AP receives the association request message and determines that the wireless terminal has the function of implementing wireless roaming through the access point AP;
a second determining module, configured to determine that the mobile station successfully roams to the second AP after receiving the data connection acceptance packet sent by the second AP, and send a data packet to the second AP; the data connection receiving message is sent when the second AP judges that the access entry sent by the AC is locally stored after receiving the data connection request message.
According to a fourth aspect of embodiments herein, there is provided a wireless roaming device, the device being applied to an AC, the device comprising:
a receiving module, configured to receive a first association request packet from a wireless terminal, where the first association request packet is forwarded by a first AP with a proxy access function managed by the receiving module, where the first association request packet is sent to a first AP when determining that the wireless terminal needs to roam to a second AP after associating with the first AP and the wireless terminal having a function of enabling the AP with the proxy access function to implement wireless roaming, and the first association request packet carries a BSSID of the second AP;
a creating module, configured to create an access entry associated with the second AP by the wireless terminal according to the BSSID when it is determined that the wireless terminal has a function of enabling wireless roaming through an AP having a proxy access function;
a sending module, configured to send a first association response packet to the wireless terminal through the first AP, so that when the wireless terminal receives the first association response packet, the wireless terminal switches a current working channel to a working channel of the second AP and sends a data connection request packet to the second AP; and
and sending the access table item to the second AP, so that the second AP sends a data connection receiving message to the wireless terminal when receiving a data connection request message sent by the wireless terminal and judging that the access table item is locally stored, so as to indicate that the wireless terminal successfully roams to the second AP and send a data message to the second AP.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the present application, a new wireless roaming scheme is provided, and before switching to a working channel of a roamed AP, a wireless terminal may associate with the roamed AP through the pre-roaming AP having an agent access function, so that after switching to the working channel of the roamed AP, a data connection may be quickly established with the roamed AP, and data communication may be performed. The wireless roaming mode greatly shortens the roaming time, reduces the service interruption time and further improves the user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a wireless roaming method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a WLAN networking architecture according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another wireless roaming method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a wireless roaming device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another wireless roaming device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at" \8230; "or" when 8230; \8230; "or" in response to a determination ", depending on the context.
Next, examples of the present application will be described in detail.
The embodiment of the present application provides a wireless roaming method, which is applied to a wireless terminal, and as shown in fig. 1, the method may include the following steps:
s11, after the wireless terminal has the function of realizing wireless roaming through the AP with the proxy access function and is associated with the first AP with the proxy access function, if the wireless terminal determines that the wireless terminal needs to roam to the second AP, the wireless terminal sends an Association Request (Association Request) message carrying the BSSID of the second AP to the first AP.
And S12, when receiving the association response message sent by the first AP, switching the current working channel into the working channel of the second AP, and sending a data connection request message to the second AP.
In this step, the association response message is sent to the first AP after an access entry that the wireless terminal associates with the second AP is created according to the BSSID when the AC that manages the first AP receives the association request message forwarded by the first AP and determines that the wireless terminal has the function of enabling wireless roaming through the access point AP having the proxy access function.
S13, after receiving the data connection receiving message sent by the second AP, determining that the mobile terminal successfully roams to the second AP, and sending the data message to the second AP.
In this step, the data connection receiving message is sent by the second AP when it is determined that the access entry sent by the AC is locally stored after the second AP receives the data connection request message.
Specifically, in the embodiment of the present application, for an AP having a proxy access function in a WLAN, identification information used for representing that the AP has a proxy access capability may be carried in a broadcast beacon (beacon) message or a probe response (probe response) message responding to a wireless terminal, and the identification information may be added in an Extended Capabilities Element (Extended Capabilities Element).
For example, bit75 is newly added in Extended Capabilities elements, and when the value of Bit75 is 1, the AP is characterized to have a proxy access function; when the value of Bit75 is 0, it is characterized that the AP has no proxy access function.
As for a wireless terminal in the WLAN having a function of implementing wireless roaming through an AP having a proxy access function, as shown in fig. 2, initially, an AP having a proxy access function (referred to as a first AP, as shown in fig. 2) may be scanned through an active scanning mode or a passive scanning mode, and when associating with the first AP, an association request message sent to the first AP carries identification information that characterizes that the wireless terminal has a function of implementing wireless roaming through an AP having a proxy access function. The identification information may also be added to the Extended Capabilities Element, and the specific addition manner may be the same as that of the AP with proxy access capability.
When the AC subsequently managing the first AP receives the association request packet forwarded by the first AP, it can know that the wireless terminal has the function of implementing wireless roaming through the AP having the proxy access function according to the identification information, and record the identification information to assist the wireless terminal in roaming.
Meanwhile, the AC creates an access entry associated with the wireless terminal to the first AP, where the content of the access entry may include a MAC address of the wireless terminal, a BSSID of the first AP, access information (e.g., including a Service Set Identifier (SSID) accessed by the wireless terminal, an accessed radio frequency unit, a capability Set of the wireless terminal, etc.), notifies the first AP of the access entry, and sends an association response message to the wireless terminal through the first AP.
After receiving the association response message, the wireless terminal means that the wireless terminal is successfully associated with the first AP and performs data communication with the first AP. Then, when moving to the vicinity of another AP (referred to as a second AP, as shown in fig. 2), if the wireless terminal determines that it needs to roam to the second AP, the step S11 of sending an association request message carrying the BSSID of the second AP to the first AP is executed.
Specifically, a Target Basic Service Set (BSS) information element may be newly added in the association request message, and a specific format is shown in the following table.
Figure BDA0002603294300000071
Watch 1
Wherein the Elemnet (element) ID occupies 1 byte; length occupies 1 byte; elements ID Extension occupies 1 byte; the Target BSSID occupies 6 bytes, and specific contents can be as follows.
Elemnet ID 255
Length 7
Elements ID Extension 7
Target BSSID of the second AP.
After receiving the association request message carrying the BSSID of the second AP, the first AP forwards the association request message to the AC.
After receiving the association request message, the AC finds that the local record has identification information that the wireless terminal has a function of realizing wireless roaming through the AP having the proxy access function, and in this case, the AC creates an access entry that the wireless terminal is associated to the second AP according to the BSSID of the second AP, and sends the access entry to the second AP, so that the second AP subsequently and quickly assists the wireless terminal in successfully roaming and performing data interaction. Meanwhile, the AC also sends an association response message to the wireless terminal through the first AP.
When receiving the association response message sent by the first AP, the wireless terminal means that the wireless terminal has previously established a wireless link with the second AP, and at this time, the wireless terminal performs the step of switching the current working channel to the working channel of the second AP in step S12 and sends a Data connection Request (Data Connect Request) message to the second AP.
For example, the current operating channel of the wireless terminal is channel 149, i.e., the operating channel of the first AP; the operating channel of the second AP is channel 157. The wireless terminal, upon receiving the association response message sent by the first AP, switches channel 149 to channel 157.
After receiving the Data connection request message, the second AP determines that an access entry which is sent by the AC and is associated with the wireless terminal to the second AP is locally stored, sends a Data connection Accept (Data Connect Accept) message to the wireless terminal, and sends an entry switching message to the AC, where the entry switching message is used to instruct to switch the access entry currently used by the wireless terminal to the access entry associated with the second AP by the wireless terminal.
It should be noted that, in another embodiment of the present application, after receiving the data connection request message, the second AP may directly forward the data connection request message to the AC, the AC determines whether an access entry associated with the second AP is stored locally, and when the determination result is yes, the AC sends a data connection acceptance message to the wireless terminal through the second AP, and then the AC deletes the access entry associated with the AP1 by the wireless terminal, only retains the access entry associated with the AP2 by the wireless terminal, and notifies the AP1 to delete the access entry associated with the AP1 by the wireless terminal; and if the judgment result is negative, the AC sends a Data connection Reject (Data connection Reject) message to the wireless terminal through the second AP.
In addition, no matter the second AP processes the data connection request packet or the AC processes the data connection request packet, when the wireless terminal sends the data connection request packet, the wireless terminal may carry a randomly generated sequence number in the data connection request packet, for example, a sequence number of 2 bytes is generated, and subsequently, when receiving the data connection acceptance packet, it may further verify whether the data connection acceptance packet carries the sequence number, and when the verification result is negative, discard the data connection acceptance packet, and resend the data connection request, so as to ensure normal data communication with the second AP.
Next, after receiving the data connection acceptance message, the wireless terminal performs the step of determining that the roaming to the second AP is successful in step S13 and sending the data message to the second AP.
And after receiving the table switching message, the AC switches the access table associated with the first AP by the wireless terminal into the access table associated with the second AP by the wireless terminal, deletes the access table associated with the first AP by the wireless terminal, and simultaneously informs the first AP of deleting the access table associated with the first AP by the wireless terminal issued by the AC.
Further, in this embodiment of the application, in order to shorten the service interruption time and further improve the user experience, before the wireless terminal switches the current working channel to the working channel of the second AP, the following operations may also be performed:
sending a data caching request message to a first AP;
after receiving a data caching response message sent by a first AP, caching an uplink data message to be sent, and switching a current working channel into a working channel of a second AP;
and the data caching response message is sent to the first AP after the AC receives the data caching request message forwarded by the first AP.
Further, in the embodiment of the present application, the wireless terminal may further perform the following operations:
after successful roaming to the second AP is determined, sending the cached uplink data message to the second AP, and receiving the downlink data message which is forwarded by the second AP and is sent to the wireless terminal and cached by the AC;
and the downlink data message is cached after the AC sends the data caching response message to the first AP.
The embodiment of the present application also provides another wireless roaming method, which is applied to an AC, and as shown in fig. 3, the method may include the following steps:
s31, receiving a first association request message from the wireless terminal forwarded by a first AP which is managed by the first AP and has an agent access function.
In this step, the first association request message is sent to the first AP when determining that the first association request message needs to roam to the second AP after the wireless terminal having the function of enabling the AP having the proxy access function to implement the wireless roaming is associated with the first AP, and the first association request message carries a basic service set identifier BSSID of the second AP.
And S32, when the wireless terminal is determined to have the function of realizing wireless roaming through the AP with the proxy access function, creating an access table item associated to a second AP by the wireless terminal according to the BSSID.
And S33, sending a first association response message to the wireless terminal through the first AP, so that the wireless terminal switches the current working channel into the working channel of the second AP when receiving the first association response message, and sends a data connection request message to the second AP.
And S34, sending the access table item to the second AP, so that when the second AP receives the data connection request message sent by the wireless terminal and judges that the access table item is locally stored, the second AP sends a data connection receiving message to the wireless terminal to indicate that the wireless terminal successfully roams to the second AP, and sends a data message to the second AP.
It should be noted that, after the AC executes the step S33, the AC may execute the step S34; step S34 may be executed simultaneously with step S33, which is not limited in particular.
Specifically, in this embodiment of the present application, the AC may determine that the wireless terminal has a function of enabling wireless roaming through an AP having a proxy access function, in the following manner:
judging whether identification information that the wireless terminal has the function of realizing wireless roaming through the AP with the proxy access function is recorded locally;
if so, determining that the wireless terminal has a function of realizing wireless roaming through the AP with the proxy access function, wherein the identification information is recorded when the AC receives a second association request message which is transmitted by the first AP and carries the identification information from the wireless terminal, and the second association request message is sent to the first AP when the wireless terminal associates with the first AP;
otherwise, determining that the wireless terminal does not have the function of realizing wireless roaming through the AP with the proxy access function.
Further, in the embodiment of the present application, the AC also performs the following three operations:
the first operation is: receiving a data caching request message from a wireless terminal forwarded by a first AP, wherein the data caching request message is sent by the wireless terminal before a current working channel is switched to a working channel of a second AP; sending a data cache response message to the wireless terminal through the first AP, so that the wireless terminal caches an uplink data message to be sent after receiving the data cache response message, and switching a current working channel into a working channel of the second AP; and caching the downlink data message sent to the wireless terminal.
The second operation is as follows: and after receiving a notification message sent by the second AP and used for indicating that the wireless terminal successfully roams to the second AP, sending the cached downlink data message to the wireless terminal through the second AP, and receiving the uplink data message cached by the wireless terminal and sent by the wireless terminal through the second AP.
The third operation: receiving a table item switching request message which is sent by a second AP and used for indicating that the current access table item used by the wireless terminal is switched into the access table item; and switching the access table entry associated with the first AP by the wireless terminal into an access table entry, deleting the access table entry associated with the first AP by the wireless terminal, and informing the first AP of deleting the access table entry associated with the first AP by the wireless terminal issued by the AC.
It should be noted that details of the interaction between the AC and the first AP and the second AP, details of the interaction between the first AP and the wireless terminal, and details of the interaction between the second AP and the wireless terminal are already described in the flow of performing the wireless roaming method whose main body is the wireless terminal, and are not described in detail herein.
According to the technical scheme, the embodiment of the application provides a new wireless roaming scheme, and the wireless terminal can be associated with the AP after roaming through the AP before roaming having the proxy access function before switching to the working channel of the AP after roaming, so that after switching to the working channel of the AP after roaming, the wireless terminal can quickly establish data connection with the AP after roaming and perform data communication. The wireless roaming mode greatly shortens the roaming time, reduces the service interruption time and further improves the user experience.
Based on the same inventive concept, the present application further provides a wireless roaming device, which is applied to a wireless terminal, and a schematic structural diagram of the wireless roaming device is shown in fig. 4, and specifically includes:
a first determining module 41, configured to, after the wireless terminal has a function of enabling to implement wireless roaming through an access point AP having a proxy access function and associates with a first AP having the proxy access function, send an association request packet carrying a basic service set identifier BSSID of a second AP to the first AP if the wireless terminal determines that the wireless terminal needs to roam to the second AP;
a switching module 42, configured to switch a current working channel to a working channel of the second AP and send a data connection request message to the second AP when receiving an association response message sent by the first AP, where the association response message is sent to the first AP after an access table entry associated with the second AP by the wireless terminal is created according to the BSSID when receiving the association request message forwarded by the first AP and determining that the wireless terminal has a function of enabling wireless roaming through an access point AP having a proxy access function is received by an access controller AC that manages the first AP;
a second determining module 43, configured to determine that the mobile station successfully roams to the second AP after receiving the data connection acceptance packet sent by the second AP, and send a data packet to the second AP; the data connection receiving message is sent when the second AP judges that the access entry sent by the AC is locally stored after receiving the data connection request message.
Preferably, the apparatus further comprises:
a sending module (not shown in fig. 4) configured to send a data caching request packet to the first AP before the switching module switches the current working channel to the working channel of the second AP;
a caching module (not shown in fig. 4) configured to, after receiving the data caching response message sent by the first AP, cache an uplink data message to be sent, and trigger the switching module to perform a step of switching a current working channel to a working channel of the second AP;
and sending the data caching response message to the first AP after the AC receives the data caching request message forwarded by the first AP.
Preferably, the second determining module 43 is further configured to:
after determining that the mobile terminal successfully roams to the second AP, sending a cached uplink data message to the second AP, and receiving a downlink data message which is forwarded by the second AP and is sent to the wireless terminal and cached by the AC;
and the downlink data message is cached by the AC after the data caching response message is sent to the first AP.
Based on the same inventive concept, the present application further provides another wireless roaming device, where the device is applied to an AC, and a schematic structural diagram of the device is shown in fig. 5, and specifically includes:
a receiving module 51, configured to receive a first association request packet from a wireless terminal, forwarded by a first AP having a proxy access function and managed by the first AP, where the first association request packet is sent to the first AP when determining that the wireless terminal needs to roam to a second AP after associating with the first AP and the wireless terminal having a function of implementing wireless roaming through the AP having the proxy access function is determined to be associated with the first AP, and the first association request packet carries a basic service set identifier BSSID of the second AP;
a creating module 52, configured to, when it is determined that the wireless terminal has a function of enabling wireless roaming through an AP having a proxy access function, create an access entry associated with the second AP by the wireless terminal according to the BSSID;
a sending module 53, configured to send a first association response packet to the wireless terminal through the first AP, so that when the wireless terminal receives the first association response packet, the wireless terminal switches a current working channel to a working channel of the second AP, and sends a data connection request packet to the second AP; and
and sending the access table item to the second AP, so that the second AP sends a data connection receiving message to the wireless terminal when receiving a data connection request message sent by the wireless terminal and judging that the access table item is locally stored, so as to indicate that the wireless terminal successfully roams to the second AP and send a data message to the second AP.
Preferably, the creating module 52 is specifically configured to determine that the wireless terminal has a function of enabling wireless roaming through an AP having a proxy access function, by:
judging whether identification information that the wireless terminal has the function of realizing wireless roaming through the AP with the proxy access function is recorded locally;
if so, determining that the wireless terminal has a function of realizing wireless roaming through an AP with an agent access function, wherein the identification information is recorded when the AC receives a second association request message which is forwarded by the first AP and carries the identification information from the wireless terminal, and the second association request message is sent to the first AP by the wireless terminal when associating with the first AP;
otherwise, determining that the wireless terminal does not have the function of realizing wireless roaming through the AP with the proxy access function.
Preferably, the receiving module 51 is further configured to:
receiving a data caching request message from the wireless terminal forwarded by the first AP, wherein the data caching request message is sent by the wireless terminal before a current working channel is switched to a working channel of the second AP;
the sending module 52 is further configured to send a data cache response message to the wireless terminal through the first AP after the receiving module receives the data cache request message, so that the wireless terminal caches an uplink data message to be sent after receiving the data cache response message, and switches a current working channel to a working channel of the second AP;
the device further comprises:
a buffer module (not shown in fig. 5) configured to buffer the downlink data packet sent to the wireless terminal.
Preferably, the receiving module 51 is further configured to:
receiving a notification message sent by the second AP and used for indicating that the wireless terminal successfully roams to the second AP; after receiving the notification message, receiving an uplink data message, which is sent by the wireless terminal through the second AP and cached by the wireless terminal;
the sending module 53 is further configured to:
and after the receiving module receives the notification message, sending the cached downlink data message to the wireless terminal through the second AP.
Preferably, the receiving module 51 is further configured to:
receiving a table item switching message which is sent by the second AP and used for indicating that the current access table item used by the wireless terminal is switched to the access table item;
the device further comprises:
a processing module (not shown in fig. 5), configured to switch an access entry associated with the first AP by the wireless terminal to the access entry, delete the access entry associated with the first AP by the wireless terminal, and notify the first AP to delete the access entry associated with the first AP by the wireless terminal sent by the AC.
According to the technical scheme, the embodiment of the application provides a new wireless roaming scheme, and the wireless terminal can be associated with the AP after roaming through the AP before roaming having the proxy access function before switching to the working channel of the AP after roaming, so that after switching to the working channel of the AP after roaming, the wireless terminal can quickly establish data connection with the AP after roaming and perform data communication. The wireless roaming mode greatly shortens the roaming time, reduces the service interruption time and further improves the user experience.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (16)

1. A wireless roaming method, applied to a wireless terminal, the method comprising:
after the wireless terminal has the function of realizing wireless roaming through an access point AP with a proxy access function and is associated with a first AP with the proxy access function, if the wireless terminal determines that the wireless terminal needs to roam to a second AP, the wireless terminal sends an association request message carrying a Basic Service Set Identifier (BSSID) of the second AP to the first AP;
when receiving an association response message sent by the first AP, switching a current working channel to a working channel of the second AP, and sending a data connection request message to the second AP, where the association response message is sent to the first AP after an access controller AC managing the first AP creates an access entry that the wireless terminal associates with the second AP according to the BSSID and then sends the access entry to the first AP when receiving the association request message forwarded by the first AP and determining that the wireless terminal has a function of enabling wireless roaming through an access point AP having a proxy access function;
after receiving a data connection receiving message sent by the second AP, determining that the mobile terminal successfully roams to the second AP, and sending a data message to the second AP; the data connection receiving message is sent when the second AP judges that the access entry sent by the AC is locally stored after receiving the data connection request message.
2. The method of claim 1, wherein prior to switching the current operating channel to the operating channel of the second AP, the method further comprises:
sending a data caching request message to the first AP;
after receiving the data caching response message sent by the first AP, caching an uplink data message to be sent, and executing a step of switching the current working channel to the working channel of the second AP;
and sending the data caching response message to the first AP after the AC receives the data caching request message forwarded by the first AP.
3. The method of claim 2, further comprising:
after determining that the mobile terminal successfully roams to the second AP, sending a cached uplink data message to the second AP, and receiving a downlink data message which is forwarded by the second AP and is sent to the wireless terminal and cached by the AC;
wherein the downlink data packet is cached by the AC after sending the data cache response packet to the first AP.
4. A wireless roaming method, characterized in that the method is applied to an Access Controller (AC), and the method comprises:
receiving a first association request message from a wireless terminal forwarded by a first Access Point (AP) which is managed by the first AP and has a proxy access function, wherein the first association request message is sent to the first AP when the first AP is determined to roam to a second AP after the wireless terminal which has the function of realizing wireless roaming through the AP having the proxy access function is associated with the first AP, and the first association request message carries a Basic Service Set Identifier (BSSID) of the second AP;
when the wireless terminal is determined to have the function of realizing wireless roaming through the AP with the proxy access function, creating an access table item associated to the second AP by the wireless terminal according to the BSSID;
sending a first association response message to the wireless terminal through the first AP, so that the wireless terminal switches a current working channel into a working channel of the second AP when receiving the first association response message, and sends a data connection request message to the second AP;
and sending the access table item to the second AP, so that the second AP sends a data connection receiving message to the wireless terminal when receiving a data connection request message sent by the wireless terminal and judging that the access table item is locally stored, so as to indicate that the wireless terminal successfully roams to the second AP and send a data message to the second AP.
5. The method of claim 4, wherein the wireless terminal is determined to have the capability of implementing wireless roaming through the AP having the proxy access capability by:
judging whether the local records the identification information of the wireless terminal with the function of realizing the wireless roaming through the AP with the proxy access function;
if so, determining that the wireless terminal has a function of realizing wireless roaming through an AP with an agent access function, wherein the identification information is recorded when the AC receives a second association request message which is transmitted from the wireless terminal and carries the identification information, and is forwarded by the first AP, and the second association request message is sent to the first AP by the wireless terminal when associating with the first AP;
otherwise, determining that the wireless terminal does not have the function of realizing wireless roaming through the AP with the proxy access function.
6. The method of claim 4, further comprising:
receiving a data caching request message from the wireless terminal forwarded by the first AP, wherein the data caching request message is sent by the wireless terminal before a current working channel is switched to a working channel of the second AP;
sending a data cache response message to the wireless terminal through the first AP, so that the wireless terminal caches an uplink data message to be sent after receiving the data cache response message, and switches a current working channel to a working channel of the second AP;
and caching the downlink data message sent to the wireless terminal.
7. The method of claim 6, further comprising:
after receiving a notification message sent by the second AP and used for indicating that the wireless terminal successfully roams to the second AP, sending a cached downlink data message to the wireless terminal through the second AP, and receiving an uplink data message, cached by the wireless terminal, sent by the wireless terminal through the second AP.
8. The method of claim 4, further comprising:
receiving a table item switching message which is sent by the second AP and used for indicating that the current access table item used by the wireless terminal is switched to the access table item;
and switching the access table entry associated with the first AP by the wireless terminal into the access table entry, deleting the access table entry associated with the first AP by the wireless terminal, and informing the first AP of deleting the access table entry associated with the first AP by the wireless terminal issued by the AC.
9. A wireless roaming apparatus, applied to a wireless terminal, the apparatus comprising:
a first determining module, configured to send an association request packet carrying a basic service set identifier BSSID of a second AP to a first AP if the wireless terminal determines that the wireless terminal needs to roam to the second AP after the wireless terminal has a function of implementing wireless roaming through an access point AP having a proxy access function and associates with the first AP having the proxy access function;
a switching module, configured to switch a current working channel to a working channel of the second AP and send a data connection request message to the second AP when receiving an association response message sent by the first AP, where the association response message is sent to the first AP after an access table entry of the wireless terminal associated with the second AP is created according to the BSSID when an access controller AC that manages the first AP receives the association request message forwarded by the first AP and determines that the wireless terminal has a function of enabling wireless roaming through an access point AP having a proxy access function;
a second determining module, configured to determine that the mobile station successfully roams to the second AP after receiving the data connection acceptance packet sent by the second AP, and send a data packet to the second AP; the data connection receiving message is sent when the second AP judges that the access entry sent by the AC is locally stored after receiving the data connection request message.
10. The apparatus of claim 9, further comprising:
a sending module, configured to send a data cache request packet to the first AP before the switching module switches the current working channel to the working channel of the second AP;
the cache module is used for caching the uplink data message to be sent after receiving the data cache response message sent by the first AP, and triggering the switching module to execute the step of switching the current working channel to the working channel of the second AP;
and sending the data caching response message to the first AP after the AC receives the data caching request message forwarded by the first AP.
11. The apparatus of claim 10, wherein the second determining module is further configured to:
after determining that the mobile terminal successfully roams to the second AP, sending a cached uplink data message to the second AP, and receiving a downlink data message which is forwarded by the second AP and is sent to the wireless terminal and cached by the AC;
wherein the downlink data packet is cached by the AC after sending the data cache response packet to the first AP.
12. A wireless roaming apparatus, characterized in that the apparatus is applied to an access controller, AC, the apparatus comprising:
a receiving module, configured to receive a first association request packet from a wireless terminal, where the first association request packet is forwarded by a first access point AP having a proxy access function and managed by the wireless terminal, and the first association request packet is sent to a first AP when determining that the wireless terminal needs to roam to a second AP after associating with the first AP and the wireless terminal having a function of enabling the AP having the proxy access function to implement wireless roaming, and the first association request packet carries a basic service set identifier BSSID of the second AP;
a creating module, configured to create an access entry associated with the second AP by the wireless terminal according to the BSSID when it is determined that the wireless terminal has a function of enabling wireless roaming through an AP having a proxy access function;
a sending module, configured to send a first association response packet to the wireless terminal through the first AP, so that when receiving the first association response packet, the wireless terminal switches a current working channel to a working channel of the second AP, and sends a data connection request packet to the second AP; and
and sending the access table item to the second AP, so that the second AP sends a data connection receiving message to the wireless terminal when receiving a data connection request message sent by the wireless terminal and judging that the access table item is locally stored, so as to indicate that the wireless terminal successfully roams to the second AP and send a data message to the second AP.
13. The apparatus of claim 12, wherein the creating module is specifically configured to determine that the wireless terminal has a function of enabling wireless roaming through an AP with proxy access function by:
judging whether the local records the identification information of the wireless terminal with the function of realizing the wireless roaming through the AP with the proxy access function;
if so, determining that the wireless terminal has a function of realizing wireless roaming through an AP with an agent access function, wherein the identification information is recorded when the AC receives a second association request message which is transmitted from the wireless terminal and carries the identification information, and is forwarded by the first AP, and the second association request message is sent to the first AP by the wireless terminal when associating with the first AP;
otherwise, determining that the wireless terminal does not have the function of realizing wireless roaming through the AP with the proxy access function.
14. The apparatus of claim 12, wherein the receiving module is further configured to:
receiving a data caching request message from the wireless terminal forwarded by the first AP, wherein the data caching request message is sent by the wireless terminal before a current working channel is switched to a working channel of the second AP;
the sending module is further configured to send a data cache response message to the wireless terminal through the first AP after the receiving module receives the data cache request message, so that the wireless terminal caches an uplink data message to be sent after receiving the data cache response message, and switches a current working channel to a working channel of the second AP;
the device further comprises:
and the cache module is used for caching the downlink data message sent to the wireless terminal.
15. The apparatus of claim 14, wherein the receiving module is further configured to:
receiving a notification message sent by the second AP and used for indicating that the wireless terminal successfully roams to the second AP; after receiving the notification message, receiving an uplink data message, which is sent by the wireless terminal through the second AP and cached by the wireless terminal;
the sending module is further configured to:
and after the receiving module receives the notification message, sending the cached downlink data message to the wireless terminal through the second AP.
16. The apparatus of claim 12, wherein the receiving module is further configured to:
receiving a table item switching message which is sent by the second AP and used for indicating that the current access table item used by the wireless terminal is switched to the access table item;
the device further comprises:
and the processing module is used for switching the access table entry associated with the first AP by the wireless terminal into the access table entry, deleting the access table entry associated with the first AP by the wireless terminal, and informing the first AP of deleting the access table entry associated with the first AP by the wireless terminal issued by the AC.
CN202010731365.7A 2020-07-27 2020-07-27 Wireless roaming method and device Active CN111787586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010731365.7A CN111787586B (en) 2020-07-27 2020-07-27 Wireless roaming method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010731365.7A CN111787586B (en) 2020-07-27 2020-07-27 Wireless roaming method and device

Publications (2)

Publication Number Publication Date
CN111787586A CN111787586A (en) 2020-10-16
CN111787586B true CN111787586B (en) 2022-10-21

Family

ID=72764262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010731365.7A Active CN111787586B (en) 2020-07-27 2020-07-27 Wireless roaming method and device

Country Status (1)

Country Link
CN (1) CN111787586B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833721A (en) * 2012-08-06 2012-12-19 福建星网锐捷网络有限公司 Wireless roaming data forwarding method and wireless access point
CN104301957A (en) * 2014-09-25 2015-01-21 杭州华三通信技术有限公司 Method and device for controlling terminal to actively roam
CN105744579A (en) * 2014-12-11 2016-07-06 华为技术有限公司 Method for switching terminal between APs, switching control apparatus, and access apparatus
CN108260167A (en) * 2017-06-13 2018-07-06 新华三技术有限公司 Wireless client STA loaming methods and device
CN110519747A (en) * 2018-05-21 2019-11-29 中兴通讯股份有限公司 A kind of loaming method and AP and AP collaborative work controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075904B (en) * 2010-12-24 2015-02-11 杭州华三通信技术有限公司 Method and device for preventing re-authentication of roaming user
US10716054B2 (en) * 2017-09-27 2020-07-14 Qualcomm Incorporated Methods and systems for controlling network access

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833721A (en) * 2012-08-06 2012-12-19 福建星网锐捷网络有限公司 Wireless roaming data forwarding method and wireless access point
CN104301957A (en) * 2014-09-25 2015-01-21 杭州华三通信技术有限公司 Method and device for controlling terminal to actively roam
CN105744579A (en) * 2014-12-11 2016-07-06 华为技术有限公司 Method for switching terminal between APs, switching control apparatus, and access apparatus
CN108260167A (en) * 2017-06-13 2018-07-06 新华三技术有限公司 Wireless client STA loaming methods and device
CN110519747A (en) * 2018-05-21 2019-11-29 中兴通讯股份有限公司 A kind of loaming method and AP and AP collaborative work controller

Also Published As

Publication number Publication date
CN111787586A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
USRE43293E1 (en) Inter-rat handover to UTRAN with simultaneous PS and CS domain services
JP3869829B2 (en) Handoff execution method in a mobile communication system
KR101712865B1 (en) Communication supporting method and apparatus using non-access stratum protocol in mobile telecommunication system
CA2510505C (en) Hybrid protocol to support communications with multiple networks
EP1744582B1 (en) Method and aparatus for performing handover between core network entities in a packet-swiched network
CN112654067B (en) Data transmission method, communication equipment and communication system
EP1746856A1 (en) Method and apparatus for performing handover between core network entities in a packet-switched network
EP2154912A1 (en) Communication system, network handover process method and apparatus
US6097962A (en) Method of handling short message service acknowledgement messages between cooperating mobile switching centers in a radio telecommunications network
EP1903817B1 (en) Method of inter-system handover
JP2007531359A (en) PLMN selection method and system for network sharing
US20100290431A1 (en) Method and system for fast handover between different networks
CN104010292B (en) A kind of VoWLAN loaming methods based on AP auxiliary
CN101841877A (en) Switching method, router and communication system
US7907584B2 (en) Access router device, mobility control system, and mobility control method
US10104639B2 (en) Method and nodes for paging in a radio access network
EP1871134B1 (en) Method for handover between systems
CN107211329B (en) Circuit domain fallback method, network equipment and system
US8761771B2 (en) Method and system for relocation
US10117143B2 (en) Communications processing system, communications processing method, communications control device, and control method and control program for these
CN111787586B (en) Wireless roaming method and device
EP2938109B1 (en) Indication of IMEISV over MAP for inter-MSC handover
EP1821565A2 (en) Notification method according to conversion of communication service in mobile communication terminal
KR101748246B1 (en) Communication supporting method and apparatus using non-access stratum protocol in mobile telecommunication system
CN111586806A (en) Wireless roaming method and device under high-speed environment

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