CN112311647B - Roaming tunnel establishment method and device - Google Patents

Roaming tunnel establishment method and device Download PDF

Info

Publication number
CN112311647B
CN112311647B CN202011049721.3A CN202011049721A CN112311647B CN 112311647 B CN112311647 B CN 112311647B CN 202011049721 A CN202011049721 A CN 202011049721A CN 112311647 B CN112311647 B CN 112311647B
Authority
CN
China
Prior art keywords
communication quality
address
roaming
tunnel
roaming tunnel
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
CN202011049721.3A
Other languages
Chinese (zh)
Other versions
CN112311647A (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 Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202011049721.3A priority Critical patent/CN112311647B/en
Publication of CN112311647A publication Critical patent/CN112311647A/en
Application granted granted Critical
Publication of CN112311647B publication Critical patent/CN112311647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Abstract

The application provides a method and a device for establishing a roaming tunnel, wherein the method is applied to an AC and comprises the following steps: after receiving automatic discovery messages broadcasted by other ACs and judging that the ACs enable the function of automatically adding members in a roaming group, if the ACs start the function of dynamically adjusting roaming tunnels, respectively using IP addresses of the ACs, which are in the same VLAN as IP addresses carried in the automatic discovery messages, and detecting the communication quality of the other ACs communicating with the ACs within a first set time; determining an IP address for establishing a roaming tunnel with other ACs according to the detected communication quality; and when the member role of the AC is determined to be the client role, establishing a roaming tunnel with other ACs by using the determined IP address. The embodiment of the application can save labor cost.

Description

Roaming tunnel establishment method and device
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a roaming tunnel establishment method and apparatus.
Background
Currently, in a Wireless Local Area Network (WLAN), on each Access Controller (AC) in the same roaming group, Internet Protocol (IP) addresses of other members in the roaming group are generally manually configured to establish a roaming tunnel (for example, an Inter Access Controller Tunneling Protocol (IACTP)) between ACs in the same roaming group, and each roaming tunnel is used for transmitting information such as roaming information of a Wireless terminal.
However, in the above method for establishing a roaming tunnel, when there are many member ACs in a roaming group, the workload of manual configuration is large, and thus, the labor cost is high.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a roaming tunnel establishment method and device.
According to a first aspect of embodiments of the present application, there is provided a roaming tunnel establishment method, where the method is applied to an AC, and the method includes:
after receiving automatic discovery messages broadcasted by other ACs and judging that the ACs enable functions of automatically adding members in a roaming group, if the ACs start a function of dynamically adjusting a roaming tunnel, respectively using IP addresses of the ACs, which are in the same Virtual Local Area Network (VLAN) as the IP addresses carried in the automatic discovery messages, to detect communication quality of the other ACs communicating with the ACs within a first set time period, wherein the automatic discovery messages carry all the IP addresses of the VLANs where the other ACs are located;
determining an IP address for establishing a roaming tunnel with the other AC according to the detected communication quality;
and when the member role of the AC is determined to be the client role, establishing a roaming tunnel with the other AC by using the determined IP address.
According to a second aspect of the embodiments of the present application, there is provided a roaming tunnel establishment apparatus, which is applied to an AC, and includes:
the first detection module is used for detecting the communication quality of other ACs communicating with the AC within a first set time length by respectively using the IP addresses of the AC which are in the same VLAN as the IP address carried in the automatic discovery message if the AC starts a function of dynamically adjusting a roaming tunnel after receiving the automatic discovery message broadcasted by the other AC and judging that the AC enables the function of automatically adding members in a roaming group, wherein the automatic discovery message carries all the IP addresses of the VLAN where the other AC is located;
a first determining module, configured to determine, according to the detected communication quality, an IP address for establishing a roaming tunnel with the other AC;
and the first tunnel establishment module is used for establishing a roaming tunnel with the other AC by using the determined IP address when the member role of the AC is determined to be the client role.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, when an AC receives an auto discovery packet broadcast by another AC and carrying all IP addresses of VLANs where other ACs are located, if the AC is added with a function of automatically adding members in a roaming group and a function of dynamically adjusting a roaming tunnel, the AC may detect communication quality of other ACs based on the IP addresses, determine an IP address for establishing a roaming tunnel with another AC based on the detected communication quality, and establish a roaming tunnel with another AC using the IP address when its own member role is a client role. The method for establishing the roaming tunnel can greatly save labor cost, and can also improve the communication quality between ACs for establishing the roaming tunnel.
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 roaming tunnel establishment method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a roaming tunnel establishment apparatus 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 present 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.
Next, examples of the present application will be described in detail.
An embodiment of the present application provides a roaming tunnel establishment method, which is applied to an AC, and as shown in fig. 1, the method may include the following steps:
s11, after receiving the automatic discovery messages broadcasted by other ACs and judging that the ACs enable the function of automatically adding members in the roaming group, if the ACs start the function of dynamically adjusting the roaming tunnel, the ACs respectively use the IP addresses of the ACs, which are in the same VLAN as the IP addresses carried in the automatic discovery messages, and detect the communication quality of the other ACs communicating with the ACs within the first set time.
In this step, the auto discovery packet carries all the IP addresses of the VLANs where other ACs are located.
In addition, in this step, for each IP address in the same VLAN as the IP address carried in the auto discovery packet, the AC may send a probe packet to another AC using the IP address to probe the communication quality of the other AC communicating with the AC within the first set time period. Of course, the AC may also employ other detection methods, which are not listed here.
Preferably, the communication quality in this step may include a packet loss rate and/or a communication delay.
It should be noted that, in this embodiment of the application, for the AC, after receiving the auto discovery packet broadcasted by another AC, if it is determined that the function of automatically adding members in the roaming group is not enabled, the process is ended, and the establishment is still performed according to the existing establishment method of the roaming tunnel.
S12, determining an IP address for establishing a roaming tunnel with other AC according to the detected communication quality.
Preferably, in this step, the AC may determine the IP address for establishing the roaming tunnel with the other AC by:
determining a communication quality interval to which the detected communication quality belongs according to a preset communication quality interval;
determining a communication quality grade corresponding to a communication quality interval to which the detected communication quality belongs according to a corresponding relation between a preset communication quality interval and the communication quality grade;
and determining the IP address used when the communication quality with the highest communication quality grade is detected as the IP address for establishing the roaming tunnel with the other AC.
For example, taking the example that the communication quality includes the packet loss rate, different packet loss rate intervals and the corresponding relationship between the packet loss rate intervals and the communication quality levels may be preset.
Of course, after the AC determines the communication quality level corresponding to the communication quality section to which the detected communication quality belongs, the AC may select one communication quality from among communication qualities having communication quality levels not less than a set level; the IP address used when the selected communication quality is detected is determined as the IP address for establishing the roaming tunnel with the other AC.
The AC may also determine the IP address for establishing the roaming tunnel with the other AC in other manners, and the specific determination manner for determining the IP address for establishing the roaming tunnel with the other AC is not limited in the present application.
And S13, when the member role of the AC is determined to be the client role, establishing a roaming tunnel with other AC by using the determined IP address.
In this step, the AC may determine the member roles of the AC by:
judging whether a member role is configured locally;
if the judgment result is yes, determining the member role of the AC as the client role if the member role configured locally is the client role; if the locally configured member role is the server role, determining the member role of the AC as the server role;
if not, further judging whether the determined IP address is smaller than the IP address which is carried in the automatic discovery message and is in the same VLAN as the determined IP address;
if so, determining the member role of the AC as the client role;
and if the judgment result is negative, determining the member role of the AC as the server role.
It should be noted that, in this embodiment of the application, for the AC, once the member role of the AC is determined to be the server role by using the above determining manner, the process is ended.
In addition, in this step, the specific establishment procedure of the AC to establish the roaming tunnel with other ACs is prior art and will not be described in detail herein.
After the AC performs the steps S11 to S13, the transmission efficiency may be greatly improved because the roaming tunnel is established by the IP address with the higher communication quality level used by the AC, and the roaming information of the wireless terminal is transmitted by using the roaming tunnel subsequently.
Further, in this embodiment of the present application, after the AC receives the auto discovery packet broadcast by another AC and enables the function of automatically adding members in the roaming group, the AC may further perform the following operations:
if the AC does not start the function of dynamically adjusting the roaming tunnel, the source IP address of the message is automatically found and determined as the IP address for establishing the roaming tunnel with other AC;
and when the member role of the AC is determined to be the client role, establishing a roaming tunnel with other ACs by using the source IP address.
It should be noted that, in this operation flow, the AC still determines the member role of the AC by using the above determination method, and once it is determined that its member role is the server role, this flow is ended.
It should be further noted that, in the embodiment of the present application, for an AC that enables a function of automatically adding a member in a roaming group, an automatic discovery packet carrying all IP addresses of a VLAN where the AC is located is broadcast, and subsequently, an AC that receives the automatic discovery packet executes the above establishment procedure of a roaming tunnel.
Further, in this embodiment of the present application, after the AC establishes the roaming tunnel with the other AC, in order to optimize the communication quality of the AC and the other AC in time, the AC may further perform the following operations:
according to a preset period, determining the communication quality of other ACs which utilize the roaming tunnel to communicate with the AC in the preset period, and using the IP addresses of the AC, which are positioned in the same VLAN as the IP addresses carried in the automatic discovery message, except the determined IP addresses to continuously detect the communication quality of other ACs which communicate with the AC in the preset period;
after the current preset period is reached, if the communication quality grade corresponding to the currently determined communication quality is smaller than the set grade and the communication quality with the communication quality grade not smaller than the set grade exists in the currently detected communication quality, re-determining the IP address used when the communication quality with the highest communication quality grade is currently detected as the IP address for establishing the roaming tunnel with other ACs;
and when the member role of the AC is determined to be the client role, disconnecting the roaming tunnel, and reestablishing the roaming tunnel with other ACs by using the re-determined IP address.
It should be noted that, in this operation flow, the AC still determines the member role of the AC by using the above determination method, and once it is determined that the member role of the AC is the server role, the AC does not perform any operation, and continues to perform the operation in the next preset period.
Further, in this embodiment of the present application, the AC may further execute a roaming tunnel cutback procedure, where the specific procedure is as follows:
after re-establishing the roaming tunnel with other ACs, the following operations may also be performed:
and if the determined IP address detects that the communication quality grade corresponding to the communication quality of the other AC communicating with the AC within the second set time length is not less than the set grade, disconnecting the re-established roaming tunnel, establishing the roaming tunnel with the other AC by using the determined IP address again, and continuously executing the step of determining the communication quality of the other AC communicating with the AC by using the roaming tunnel within the preset period according to the preset period.
It should be noted that, in the embodiment of the present application, the first set time period, the preset period, and the second set time period may all be set according to an actual networking environment.
The following describes the above roaming tunnel establishment method in detail with reference to specific embodiments.
Taking AC1 and AC2 in the same roaming group in a certain WLAN as an example, assuming that AC1 and AC2 both enable a function of automatically adding members in the roaming group and both open a function of dynamically adjusting roaming tunnels, assuming that AC1 and AC2 both do not configure member roles, assuming that AC1 has IP addresses of 3 VLANs, which are IP address 1 of VLAN1, IP address 2 of VLAN2, and IP address 3 of VLAN3, respectively; assume that AC2 has 2 VLAN IP addresses, IP address 4 for VLAN1 and IP address 5 for VLAN2, respectively.
Taking an example of an AC1 broadcast Auto Discovery (Auto Discovery) message, the AC1 broadcasts an Auto Discovery message carrying an IP address 1, an IP address 2, and an IP address 3.
The AC2 receives the Auto Discovery message, and executes the following operation flow:
the AC2 determines whether or not the function of automatically adding members in the roaming group is enabled by itself, and since the function of automatically adding members in the roaming group is enabled by itself, the determination result is yes, and in this case, the AC2 further determines whether or not the dynamic adjustment roaming tunnel function is turned on by itself.
Since the function of automatically adding members in the roaming group is enabled by itself, the determination result is yes, and at this time, the AC2 detects the communication quality (e.g., packet loss rate) of the AC1 communicating with the AC for the first set time period (e.g., 30s) by using the IP address 4 (i.e., the IP address in the same VLAN as the IP address 1 carried in the Auto Discovery message) and the IP address 5 (i.e., the IP address in the same VLAN as the IP address 2 carried in the Auto Discovery message), respectively.
Assuming that the communication quality level corresponding to the packet loss rate detected using the IP address 4 is the highest, the AC2 determines the IP address 4 as the IP address for establishing the roaming tunnel with the AC 1. After that, the AC2 determines whether the member role is configured locally, and since the member role is not configured locally, the determination result is no, in this case, the AC2 further determines whether the IP address 4 is smaller than the IP address 1, and if the IP address 4 is smaller than the IP address 1, and at this time, the determination result is yes, the AC2 determines that its member role is the client role.
Next, the AC2 actively initiates a flow to establish a roaming tunnel with the AC1 using IP address 4. The specific establishment process is the prior art and is not described in detail herein.
After the AC2 and the AC1 successfully establish the roaming tunnel, the AC2 determines, according to a preset period, for example, the preset period is 60s, the communication quality of the AC1 communicating with the AC2 by using the roaming tunnel in the preset period, that is, the communication quality of the AC1 communicating with the AC2 by using the roaming tunnel in the preset period is calculated, and the communication quality of the AC1 communicating with the AC in the preset period is continuously detected by using the IP address 5;
after a certain preset period is reached, assuming that the communication quality grade corresponding to the currently determined communication quality of the AC2 is less than a set grade and the communication quality grade corresponding to the currently detected communication quality is not less than the set grade, under the situation, the AC2 re-determines the IP address 5 as the IP address for establishing the roaming tunnel with the AC 1;
after that, the AC2 continues to determine whether the member role is configured locally, and since the member role is not configured locally, the determination result is no, in this case, the AC2 further determines whether the IP address 5 is smaller than the IP address 2, and if the IP address 5 is smaller than the IP address 2, and at this time, the determination result is yes, the AC2 determines that its member role is the client role, disconnects the currently used roaming tunnel, and reestablishes the roaming tunnel with the AC1 by using the IP address 5, so as to improve the communication quality between the AC1 and the AC 2.
After the AC2 and the AC1 successfully establish the roaming tunnel again, if the IP address 4 detects that the communication quality level corresponding to the communication quality of the AC2 communicating with the AC1 within the second set time (for example, 300s) is not less than the set level, the re-established roaming tunnel may be disconnected, and the IP address 4 may be used again to establish the roaming tunnel with the AC1, and then the step of determining the communication quality of the AC2 communicating with the AC2 within the preset period by using the roaming tunnel according to the preset period is continuously executed.
It can be seen from the above technical solutions that, in the embodiment of the present application, when an AC receives an auto discovery packet broadcast by another AC and carrying all IP addresses of VLANs where other ACs are located, if the AC adds a function of automatically adding members in a roaming group and a function of dynamically adjusting a roaming tunnel, the AC may detect communication quality of other ACs based on the IP addresses, determine an IP address for establishing a roaming tunnel with another AC based on the detected communication quality, and establish a roaming tunnel with another AC using the IP address when a member role of the AC is a client role. The method for establishing the roaming tunnel can greatly save labor cost, and can also improve the communication quality between ACs for establishing the roaming tunnel.
Using the same inventive concept, the present application further provides a roaming tunnel establishment apparatus, where the apparatus is applied to an AC, and a schematic structural diagram of the apparatus is shown in fig. 2, and specifically includes:
a first detection module 21, configured to, after receiving an automatic discovery packet broadcast by another AC and determining that the AC enables a function of automatically adding a member in a roaming group, if the AC starts a function of dynamically adjusting a roaming tunnel, detect communication quality of communication between the other AC and the AC within a first set time period by using an IP address of the AC that is in the same VLAN as an IP address carried in the automatic discovery packet, where the automatic discovery packet carries all IP addresses of VLANs where the other AC is located;
a first determining module 22, configured to determine, according to the detected communication quality, an IP address for establishing a roaming tunnel with the other AC;
and the first tunnel establishing module 23, when determining that the member role of the AC is the client role, establishes a roaming tunnel with the other AC using the determined IP address.
Preferably, the apparatus further comprises:
a second determining module (not shown in fig. 2), configured to determine, when the AC does not start the function of dynamically adjusting the roaming tunnel, a source IP address of the auto discovery packet as an IP address for establishing a roaming tunnel with the other AC;
a second tunnel establishing module (not shown in fig. 2) configured to establish a roaming tunnel with the other AC using the source IP address when it is determined that the member role of the AC is the client role.
Preferably, the first determining module 21 is specifically configured to:
determining a communication quality interval to which the detected communication quality belongs according to a preset communication quality interval;
determining a communication quality grade corresponding to a communication quality interval to which the detected communication quality belongs according to a corresponding relation between a preset communication quality interval and the communication quality grade;
and determining the IP address used when the communication quality with the highest communication quality grade is detected as the IP address for establishing the roaming tunnel with the other AC.
Preferably, the apparatus further comprises:
a second detection module (not shown in fig. 2) configured to, after a roaming tunnel is established with the other AC, determine, according to a preset period, communication quality of the other AC in the preset period for communicating with the AC using the roaming tunnel, and continue to detect the communication quality of the other AC in the preset period for communicating with the AC using an IP address of the AC, which is located in the same VLAN as the IP address carried in the automatic discovery packet, except for the determined IP address;
a third determining module (not shown in fig. 2), configured to, after the current preset period arrives, if the communication quality level corresponding to the currently determined communication quality is less than a set level and there is a communication quality whose communication quality level is not less than the set level in the currently detected communication qualities, re-determine, as the IP address for establishing the roaming tunnel with the other AC, the IP address used when the communication quality with the highest communication quality level is currently detected;
a third tunnel establishing module (not shown in fig. 2) configured to, when it is determined that the member role of the AC is the client role, disconnect the roaming tunnel, and reestablish the roaming tunnel with the other AC using the re-determined IP address.
Preferably, the apparatus further comprises:
a fourth tunnel establishing module (not shown in fig. 2), configured to, after the roaming tunnel is reestablished with the other AC, if it is detected that the communication quality level corresponding to the communication quality of the other AC in communication with the AC within the second set time period is not less than the set level using the determined IP address, disconnect the reestablished roaming tunnel, establish the roaming tunnel with the other AC using the determined IP address again, and trigger the second detecting module to perform a step of determining, according to a preset period, the communication quality of the other AC in communication with the AC using the roaming tunnel in the preset period.
It can be seen from the above technical solutions that, in the embodiment of the present application, when an AC receives an auto discovery packet broadcast by another AC and carrying all IP addresses of VLANs where other ACs are located, if the AC adds a function of automatically adding members in a roaming group and a function of dynamically adjusting a roaming tunnel, the AC may detect communication quality of other ACs based on the IP addresses, determine an IP address for establishing a roaming tunnel with another AC based on the detected communication quality, and establish a roaming tunnel with another AC using the IP address when a member role of the AC is a client role. The method for establishing the roaming tunnel can greatly save labor cost, and can also improve the communication quality between ACs for establishing the roaming tunnel.
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 (8)

1. A roaming tunnel establishment method is applied to an Access Controller (AC), and comprises the following steps:
after receiving automatic discovery messages broadcasted by other ACs and judging that the ACs enable the function of automatically adding members in a roaming group, if the ACs start the function of dynamically adjusting roaming tunnels, respectively using the IP addresses of the ACs, which are in the same VLAN as the IP addresses carried in the automatic discovery messages, to detect the communication quality of the other ACs communicating with the ACs within a first set time period, wherein the automatic discovery messages carry all the IP addresses of the VLANs where the other ACs are located;
determining an IP address for establishing a roaming tunnel with the other AC according to the detected communication quality;
when the member role of the AC is determined to be the client role, the determined IP address is used for establishing a roaming tunnel with the other AC;
wherein, according to the detected communication quality, determining the IP address for establishing the roaming tunnel with the other AC specifically includes:
determining a communication quality interval to which the detected communication quality belongs according to a preset communication quality interval;
determining a communication quality grade corresponding to a communication quality interval to which the detected communication quality belongs according to a corresponding relation between a preset communication quality interval and the communication quality grade;
and determining the IP address used when the communication quality with the highest communication quality grade is detected as the IP address for establishing the roaming tunnel with the other AC.
2. The method of claim 1, further comprising:
if the AC does not start the function of dynamically adjusting the roaming tunnel, determining the source IP address of the automatic discovery message as the IP address for establishing the roaming tunnel with the other AC;
and when the member role of the AC is determined to be the client role, establishing a roaming tunnel with the other AC by using the source IP address.
3. The method of claim 1, wherein after establishing the roaming tunnel with the other AC, the method further comprises:
according to a preset period, determining the communication quality of the other ACs which utilize the roaming tunnel to communicate with the AC in the preset period, and using the IP addresses of the AC which are in the same VLAN as the IP addresses carried in the automatic discovery message except the determined IP addresses to continuously detect the communication quality of the other ACs which communicate with the AC in the preset period;
after the current preset period is reached, if the communication quality grade corresponding to the currently determined communication quality is smaller than a set grade and the communication quality with the communication quality grade not smaller than the set grade exists in the currently detected communication quality, re-determining the IP address used when the communication quality with the highest communication quality grade is currently detected as the IP address for establishing the roaming tunnel with the other AC;
and when the member role of the AC is determined to be the client role, disconnecting the roaming tunnel, and reestablishing the roaming tunnel with other ACs by using the re-determined IP address.
4. The method of claim 3, wherein after re-establishing the roaming tunnel with the other AC, the method further comprises:
and if the determined IP address detects that the communication quality grade corresponding to the communication quality of the other AC which communicates with the AC within a second set time length is not less than the set grade, disconnecting the re-established roaming tunnel, re-using the determined IP address, establishing the roaming tunnel with the other AC, and continuously executing the step of determining the communication quality of the other AC which communicates with the AC by using the roaming tunnel within the preset period according to the preset period.
5. A roaming tunnel establishment apparatus, wherein the apparatus is applied to an access controller AC, the apparatus comprising:
the first detection module is used for detecting the communication quality of other ACs communicating with the AC within a first set time length by respectively using the IP addresses of the AC and the IP addresses carried in the automatic discovery message in the same virtual local area network VLAN after receiving the automatic discovery message broadcasted by the other AC and judging that the AC enables the function of automatically adding members in a roaming group and if the AC starts the function of dynamically adjusting a roaming tunnel, wherein the automatic discovery message carries all the IP addresses of the VLAN where the other AC is located;
a first determining module, configured to determine, according to the detected communication quality, an IP address for establishing a roaming tunnel with the other AC;
the first tunnel establishment module is used for establishing a roaming tunnel with the other AC by using the determined IP address when the member role of the AC is determined to be the client role;
the first determining module is specifically configured to:
determining a communication quality interval to which the detected communication quality belongs according to a preset communication quality interval;
determining a communication quality grade corresponding to a communication quality interval to which the detected communication quality belongs according to a corresponding relation between a preset communication quality interval and the communication quality grade;
and determining the IP address used when the communication quality with the highest communication quality grade is detected as the IP address for establishing the roaming tunnel with the other AC.
6. The apparatus of claim 5, further comprising:
a second determining module, configured to determine, when the AC does not start the function of dynamically adjusting a roaming tunnel, a source IP address of the automatic discovery packet as an IP address for establishing a roaming tunnel with the other AC;
and the second tunnel establishing module is used for establishing a roaming tunnel with the other AC by using the source IP address when the member role of the AC is determined to be the client role.
7. The apparatus of claim 5, further comprising:
a second detection module, configured to, after a roaming tunnel is established with the other AC, determine, according to a preset period, communication quality of the other AC in the preset period, where the other AC communicates with the AC using the roaming tunnel, and use an IP address of the AC, which is in the same VLAN as an IP address carried in the automatic discovery packet, except for the determined IP address, to continuously detect the communication quality of the other AC in the preset period, where the other AC communicates with the AC;
a third determining module, configured to, after the current preset period is reached, if a communication quality level corresponding to the currently determined communication quality is smaller than a set level and there is a communication quality whose communication quality level is not smaller than the set level in the currently detected communication quality, re-determine an IP address used when the communication quality with the highest communication quality level is currently detected as an IP address for establishing a roaming tunnel with the other AC;
and a third tunnel establishing module, configured to, when it is determined that the member role of the AC is the client role, disconnect the roaming tunnel, and reestablish the roaming tunnel with the other AC using the re-determined IP address.
8. The apparatus of claim 7, further comprising:
and a fourth tunnel establishing module, configured to, after the roaming tunnel is reestablished with the other AC, disconnect the reestablished roaming tunnel if it is detected, using the determined IP address, that a communication quality level corresponding to a communication quality of the other AC in communication with the AC within a second set duration is not less than the set level, reestablish the roaming tunnel with the other AC using the determined IP address again, and trigger the second detecting module to perform a step of determining, according to a preset period, a communication quality of the other AC in communication with the AC using the roaming tunnel in the preset period.
CN202011049721.3A 2020-09-29 2020-09-29 Roaming tunnel establishment method and device Active CN112311647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011049721.3A CN112311647B (en) 2020-09-29 2020-09-29 Roaming tunnel establishment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011049721.3A CN112311647B (en) 2020-09-29 2020-09-29 Roaming tunnel establishment method and device

Publications (2)

Publication Number Publication Date
CN112311647A CN112311647A (en) 2021-02-02
CN112311647B true CN112311647B (en) 2022-05-27

Family

ID=74489350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011049721.3A Active CN112311647B (en) 2020-09-29 2020-09-29 Roaming tunnel establishment method and device

Country Status (1)

Country Link
CN (1) CN112311647B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014391A (en) * 2010-11-29 2011-04-13 北京星网锐捷网络技术有限公司 Wireless network safety access method, system and wireless controller
CN105722055A (en) * 2014-12-01 2016-06-29 华为技术有限公司 User roaming method, device and system in wireless local area network (WLAN)
CN107197491A (en) * 2017-05-24 2017-09-22 上海斐讯数据通信技术有限公司 A kind of workstation roaming connection control method and system, radio reception device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014391A (en) * 2010-11-29 2011-04-13 北京星网锐捷网络技术有限公司 Wireless network safety access method, system and wireless controller
CN105722055A (en) * 2014-12-01 2016-06-29 华为技术有限公司 User roaming method, device and system in wireless local area network (WLAN)
CN107197491A (en) * 2017-05-24 2017-09-22 上海斐讯数据通信技术有限公司 A kind of workstation roaming connection control method and system, radio reception device

Also Published As

Publication number Publication date
CN112311647A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CA2514012C (en) Methods and apparatus for re-establishing communication for a wireless communication device after a communication loss in a wireless communication network
US7747244B2 (en) Methods and apparatus for re-establishing communication for a wireless communication device after a communication loss in a wireless communication network
US6865167B2 (en) Method and system for soft handoff in wireless code division multiple access (CDMA) internet protocol (IP) networks
EP2147541B1 (en) System and method for providing local ip breakout services employing access point names
US7697504B2 (en) Mesh network that includes fixed and mobile access nodes
US8699402B2 (en) Multi-hop relay radio communication system, access gateway, and route selection method
CN105992262B (en) Self-adaptive mode switching method of wireless Mesh network
US7664073B2 (en) Method for performing a mobile user terminal route update in a telecommunication network operated based on the internet protocol
NO20073556L (en) Method and system for collaboration in cellular networks and wireless local networks
JP4392789B2 (en) Method for reestablishing route of ad hoc wireless network and wireless terminal
JP2005045791A (en) Mobile point-to-point protocol
RU2009148764A (en) METHOD AND DEVICE FOR TRANSMISSION OF COMMUNICATION SERVICES
JP2009533890A (en) High speed link down detection system and method
KR101514955B1 (en) Method for changing the wireless access point associated with a terminal in a wifi-dect wireless telecommunications network
CN104010292B (en) A kind of VoWLAN loaming methods based on AP auxiliary
CN103491005A (en) Method for controlling transmission of message, access point device and relevant system
CN102045233B (en) Method and device for controlling message forwarding in network communication
CN112311647B (en) Roaming tunnel establishment method and device
EP3386240B1 (en) Switchover method in master-slave network, master device, slave device, and system
EP3322138B1 (en) Troubleshooting method and apparatus for edge routing bridge in trill campus
CN110661550A (en) Method, device, storage medium and electronic equipment for forwarding message in HPLC communication link
CN114205886B (en) Method for establishing WiFi network, communication method of WiFi network and WiFi equipment
JP3893389B2 (en) Private wireless high-speed data system and data service method using the same
CN106937315B (en) Data transmitting and receiving method and device
CN110636591B (en) Method for quickly selecting frequency and establishing link and transmitting voice service in short wave access network

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