CN102833721B - Wireless roaming data forwarding method and wireless access point - Google Patents
Wireless roaming data forwarding method and wireless access point Download PDFInfo
- Publication number
- CN102833721B CN102833721B CN201210277498.7A CN201210277498A CN102833721B CN 102833721 B CN102833721 B CN 102833721B CN 201210277498 A CN201210277498 A CN 201210277498A CN 102833721 B CN102833721 B CN 102833721B
- Authority
- CN
- China
- Prior art keywords
- sta
- roaming
- mac address
- forwarding
- table item
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000002596 correlated effect Effects 0.000 abstract 2
- 230000000875 corresponding effect Effects 0.000 abstract 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 24
- 238000013507 mapping Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a wireless roaming data forwarding method and a wireless access point. The method comprises following steps that a first access point (AP) receives an uplink message of a station (STA) transmitted by a gateway device, and the uplink message comprises a multi-access computer (MAC) address of the STA; the first AP searches a first roaming forwarding entry corresponding to the MAC address of the STA according to the MAC address of the STA, and acquiring an identifier of a first virtual local area network (VLAN) which is correlated before the roaming of the STA when an overflow identifier in the first roaming forwarding entry is determined as an overflow AP of the STA; and the first AP substitutes an identifier of a second VLAN in the uplink message with the identifier of the first VLAN and transmits the uplink message, and the second VLAN is the correlated VLAN after the roaming of the STA. The invention provides a roaming solution under a local forwarding mode, so that the load of the AC is alleviated while the cross-VLAN roaming is realized.
Description
Technical field
The present invention relates to the communication technology, particularly relate to a kind of radio roaming data forwarding method and wireless access points.
Background technology
Current WLAN (wireless local area network) (Wireless Local Area Networks, referred to as WLAN) environment, provides extended service set (Extended Service Set, referred to as ESS) service.In ESS, multiple wireless access points (Access Point, referred to as AP) uses identical service set identifier (Service Set Identifier, referred to as SSID), website (Station, referred to as STA) can be associated with on different AP, uses network service by WLAN.
There is the coincidence of certain limit overlay area due to AP multiple in WLAN, make the service using the AP of identical SSID to provide can form continuous overlay area, therefore, STA can by switching the switching realizing network and connect between these AP, by new AP transceiving data, keep continual network to connect, this is referred to as radio roaming.If the Virtual Local Area Network (Virtual Local Area Network, referred to as VLAN) of STA association changes before and after roaming, then belong to three layers of roaming (or being called that travelling across VLAN is roamed).Because before and after roaming, the IP address of STA is constant, but the VLAN associated by STA there occurs change, normally transfer of data can be carried out after roaming in order to make STA, prior art adopts concentrated forward mode usually, namely the data of STA all pass through wireless controller (Access Controller, referred to as AC) forward, wherein, AC can carry out special processing to the data of STA, do not change the IP address of STA and the corresponding relation of VLAN after ensureing roaming, supported under making three layers to roam in concentrated forward mode.Under concentrated forward mode, the data of all STA all will by AC process, and the burden of AC is heavier.
Summary of the invention
The invention provides a kind of radio roaming data forwarding method and wireless access points, in order to while realizing travelling across VLAN roaming, alleviate the burden of AC.
One aspect of the present invention provides a kind of radio roaming data forwarding method, comprising:
First wireless access points AP receives the uplink message of the site STA that gateway device sends, described uplink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives the 2nd AP and roam according to corresponding with the MAC Address of described STA second the described uplink message that forwarding-table item sends, and described 2nd AP is the AP that described STA roaming accesses afterwards;
A described AP finds corresponding with the MAC Address of described STA first according to the MAC Address of described STA and roams forwarding-table item, when according in described first roaming forwarding-table item diffusing out mark determine from as described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam before the mark of the first virtual LAN VLAN of association;
The mark of the 2nd VLAN in described uplink message is replaced with the mark of a described VLAN by a described AP, is then sent by described uplink message, and described 2nd VLAN is the VLAN of association after described STA roams.
One aspect of the present invention also provides a kind of wireless access points, comprising:
First receiver module, for receiving the uplink message of the site STA that gateway device sends, described uplink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives the 2nd AP and roam according to corresponding with the MAC Address of described STA second the described uplink message that forwarding-table item sends, and described 2nd AP is the AP that described STA roaming accesses afterwards;
First inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA first according to the MAC Address of described STA, when according in described first roaming forwarding-table item diffusing out mark determine described AP be described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam before the mark of the first virtual LAN VLAN of association;
First sending module, for the mark of the 2nd VLAN in described uplink message is replaced with the mark of a described VLAN, then sends described uplink message, and described 2nd VLAN is the VLAN of association after described STA roams.
The present invention provides a kind of radio roaming data forwarding method on the other hand, comprising:
The uplink message that second wireless access points AP receiving station STA sends, described uplink message comprises the medium access control MAC Address of described STA;
Described 2nd AP finds corresponding with the MAC Address of described STA second according to the MAC Address of described STA and roams forwarding-table item, when according in described second roaming forwarding-table item diffusing in mark determine from as described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam before the MAC Address of an AP of access;
The target MAC (Media Access Control) address of described uplink message is replaced with the MAC Address of a described AP by described 2nd AP, then described uplink message is sent to a described AP equipment by gateway device, roam forwarding-table item to make a described AP equipment according to corresponding with the MAC Address of described STA first and send in described uplink message.
The present invention also provides a kind of wireless access points on the other hand, comprising:
3rd receiver module, for the uplink message that receiving station STA sends, described uplink message comprises the medium access control MAC Address of described STA;
Second inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA second according to the MAC Address of described STA, when according in described second roaming forwarding-table item diffusing in mark determine described AP be described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam before the MAC Address of an AP of access;
Second sending module, for the target MAC (Media Access Control) address of described uplink message being replaced with the MAC Address of a described AP, then described uplink message is sent to a described AP equipment by gateway device, roam forwarding-table item to make a described AP equipment according to corresponding with the MAC Address of described STA first and send in described uplink message.
Further aspect of the present invention provides a kind of radio roaming data forwarding method, comprising:
First wireless access points AP receives the downlink message of the STA that gateway device sends, and described downlink message comprises the medium access control MAC Address of described STA;
A described AP finds corresponding with the MAC Address of described STA first according to the MAC Address of described STA and roams forwarding-table item, when according in described first roaming forwarding-table item diffusing out mark determine from as described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam after the MAC Address of the 2nd AP of access;
The target MAC (Media Access Control) address of described downlink message is replaced with the MAC Address of described 2nd AP by a described AP, then by described gateway device, described downlink message is sent to described 2nd AP, roam forwarding-table item to make described 2nd AP according to corresponding with the MAC Address of described STA second and described downlink message is sent to described STA.
Further aspect of the present invention also provides a kind of wireless access points, comprising:
6th receiver module, for receiving the downlink message of the site STA that gateway device sends, the medium access control MAC Address of STA described in described downlink message;
3rd inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA first according to the MAC Address of described STA, when determine according to described first roaming forwarding-table item described AP be described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam after the MAC Address of the 2nd AP of access;
4th sending module, for the target MAC (Media Access Control) address of described downlink message being replaced with the MAC Address of described 2nd AP, then by described gateway device, described downlink message is sent to described 2nd AP, roam forwarding-table item to make described 2nd AP according to corresponding with the MAC Address of described STA second and described downlink data is sent to described STA.
Another aspect of the invention provides a kind of radio roaming data forwarding method, comprising:
Second wireless access points AP receives the downlink message of the site STA that gateway device sends, described downlink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives an AP and roam according to corresponding with the MAC Address of described STA first the described downlink message that forwarding-table item sends, and a described AP is the front AP accessed of described STA roaming;
Described 2nd AP finds corresponding with the MAC Address of described STA second according to the MAC Address of described STA and roams forwarding-table item, when according in described second roaming forwarding-table item diffusing in mark determine from as described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam after the mark of the second virtual LAN VLAN of association;
The mark of a VLAN in described downlink message is replaced with the mark of described 2nd VLAN by described 2nd AP, then described downlink message is sent to described STA, and a described VLAN is the VLAN of association before described STA roams.
Another aspect of the invention also provides a kind of wireless access points, comprising:
8th receiver module, for receiving the downlink message of the site STA that gateway device sends, described downlink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives an AP and roam according to corresponding with the MAC Address of described STA first the described downlink message that forwarding-table item sends, and a described AP is the front AP accessed of described STA roaming;
4th inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA second according to the MAC Address of described STA, when according in described second roaming forwarding-table item diffusing in mark determine described AP be described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam after the mark of the second virtual LAN VLAN of association;
5th sending module, for the mark of a VLAN in described downlink message is replaced with the mark of described 2nd VLAN, then sends to described STA by described downlink message, and a described VLAN is the VLAN of association before described STA roams.
Radio roaming data forwarding method provided by the invention and wireless access points, when there is roaming in STA, as diffusing out the AP of AP and storing respectively as the AP diffusing in AP and roam forwarding-table item accordingly, the uplink message that STA is sent afterwards in roaming can send to and diffuses out AP by diffusing in the roaming forwarding-table item of AP according to this locality, uplink message is forwarded according to this locality roaming forwarding-table item by diffusing out AP again, and the downlink message of STA after roaming can be transmitted to and diffuse in AP by diffusing out the roaming forwarding-table item of AP according to this locality, by diffusing in the roaming forwarding-table item of AP according to this locality, message is sent to STA again, because the message of STA after roaming completes forwarding by diffusing in and diffuse out AP, no longer concentrated by AC and be responsible for forwarding, while realizing travelling across VLAN roaming, alleviate AC burden.
Accompanying drawing explanation
The flow chart of the radio roaming data forwarding method that Fig. 1 provides for one embodiment of the invention;
The flow chart of the radio roaming data forwarding method that Fig. 2 provides for another embodiment of the present invention;
The flow chart of the radio roaming data forwarding method that Fig. 3 provides for further embodiment of this invention;
The flow chart of the radio roaming data forwarding method that Fig. 4 provides for further embodiment of this invention;
The flow chart of the radio roaming data forwarding method that Fig. 5 provides for further embodiment of this invention;
The flow chart of the radio roaming data forwarding method that Fig. 6 provides for further embodiment of this invention;
The flow chart of the radio roaming data forwarding method that Fig. 7 provides for further embodiment of this invention;
The flow chart of the radio roaming data forwarding method that Fig. 8 provides for further embodiment of this invention;
The network topology schematic diagram of the realization roaming that Fig. 9 provides for one embodiment of the invention;
The structural representation of the AP that Figure 10 provides for one embodiment of the invention;
The structural representation of the AP that Figure 11 provides for another embodiment of the present invention;
The structural representation of the AP that Figure 12 provides for further embodiment of this invention;
The structural representation of the AP that Figure 13 provides for further embodiment of this invention;
The structural representation of the AP that Figure 14 provides for further embodiment of this invention;
The structural representation of the AP that Figure 15 provides for further embodiment of this invention;
The structural representation of the AP that Figure 16 provides for further embodiment of this invention;
The structural representation of the AP that Figure 17 provides for further embodiment of this invention.
Embodiment
After there are three layers of roaming in STA, the IP address of STA can not change, but associated VLAN there occurs change, this just makes the IP address of the IP address of STA on the VLAN again associated and STA not at the same network segment, and there will be STA cannot by the problem of gateway device accesses network.Prior art is in order to make STA can successful access network after roaming, and adopt the forwarding of concentrating forward mode to carry out STA data, but the data of all STA all need to be focused on by AC under concentrated forward mode, this makes the burden of AC heavier.And corresponding with concentrated forward mode be local forward mode, namely the data of STA do not need AC to focus on, but are directly forwarded by AP, and the data retransmission of STA is transferred on AP by which, are conducive to the burden alleviating AC.But, under local forward mode, because the IP address after STA roaming is constant, VLAN that is that again associate there occurs change, STA needs again by (Dynamic Host Configuration Protocol, referred to as DHCP) apply for IP address, again apply for that the process of IP address can cause the interruption of transfer of data, this just cannot play the effect of roaming, so there is not the STA roaming scenarios under local forward mode in prior art.STA can apply for IP address again to Dynamic Host Configuration Protocol server, and Dynamic Host Configuration Protocol server can be the equipment of a platform independent, also can be integrated on AC.
The following embodiment of the present invention is by diffusing in AP and diffusing out roaming forwarding-table item AP storing respectively correspondence, the data of STA can to have been matched forwarding by diffusing in AP and diffusing out AP, AC is no longer needed to focus on, also can not cause the interruption of transfer of data, provide a kind of travelling across VLAN roaming scenarios realized under local forward mode.Illustrate at this, the AP below occurred is and diffuses out AP, is the AP of access before STA roams; 2nd AP diffuses in AP, i.e. the AP of STA access after roaming.In following examples of the present invention, described gateway device refers to connection the one AP and plays the equipment of gateway effect between the 2nd AP place WLAN and the Internet (Internet), can be such as switch or router, can also be realized by switch and router simultaneously.In addition, in the examples below, the mark of VLAN represents with VLAN ID, but is not limited thereto.
The flow chart of the radio roaming data forwarding method that Fig. 1 provides for one embodiment of the invention.As shown in Figure 1, the method for the present embodiment comprises:
Step 101, an AP receive the uplink message of the STA that gateway device sends, this uplink message comprises the MAC Address of this STA, wherein, described gateway device receives the 2nd AP and roam according to corresponding with the MAC Address of STA second the uplink message that forwarding-table item sends, and described 2nd AP is that STA roams the AP accessed afterwards.
Step 102, an AP find corresponding with the MAC Address of STA first according to the MAC Address of STA and roam forwarding-table item, when according in the first roaming forwarding-table item diffusing out mark determine from as STA diffuse out AP time, from the first roaming forwarding-table item, obtain the mark of a VLAN of association before STA roaming.
The mark of the 2nd VLAN in uplink message is replaced with the mark of a VLAN by step 103, an AP, is then sent by uplink message, and the 2nd VLAN is the VLAN of association after STA roaming.
In the present embodiment, STA there occurs roaming, roams into the 2nd AP from an AP.Wherein, an AP and the 2nd AP belongs to same ESS, and both use identical SSID, and that is, STA can be switched to the 2nd AP from an AP, realizes roaming.In a wlan, be responsible for AP distribute SSID for AP, AC, and be responsible for the VLAN belonging to this AP configuration, the VLAN belonging to different AP is different, is undertaken identifying and distinguishing between different VLAN by VLAN ID.SSID and the affiliated VLAN of the one AP are distributed by AC, and in like manner, SSID and the affiliated VLAN of the 2nd AP are also distributed by AC.
After roaming, STA can send uplink message to the 2nd AP, carries the ID of the VLAN of the 2nd VLAN ID(that is belonging to the 2nd AP of association after the MAC Address of STA, the MAC Address of the 2nd AP, the SSID of the 2nd AP, roaming in uplink message) etc. information.After 2nd AP receives the uplink message of STA transmission, the second roaming forwarding-table item that can be local according to the MAC Address inquiry of STA, stores the information such as the MAC Address of STA, the roaming state mark of the 2nd AP, the MAC Address of an AP in the second roaming forwarding-table item.Wherein, the roaming state of AP mark may be diffuse in mark or diffuse out mark, in the present embodiment, the 2nd AP be STA diffuse in AP, therefore the roaming state of the 2nd AP is designated and diffuses in mark.The IP address of VLAN belonging to the 2nd AP and the IP address of this STA do not belong to the same network segment, therefore uplink message directly cannot be sent to gateway device by the 2nd AP, therefore the 2nd AP according to diffuse in mark determine from as STA diffuse in AP after, the MAC Address of the AP associated obtain STA roaming from the second roaming forwarding-table item before, then the target MAC (Media Access Control) address of uplink message is replaced with the MAC Address of an AP, then the uplink message after replacement target MAC (Media Access Control) address is sent to gateway device, uplink message is transmitted to an AP according to the target MAC (Media Access Control) address of uplink message by gateway device.
Based on above-mentioned, an AP of the present embodiment receives the uplink message of the STA that gateway device sends.The information such as MAC Address, the 2nd VLAN ID of the MAC Address of STA, an AP is preserved in this uplink message.One AP is according to the ID of the VLAN of a VLAN ID(that is belonging to an AP of association before the roaming state mark of the MAC Address of STA, an AP, STA roaming) etc. information.In the present embodiment, an AP be STA diffuse out AP, therefore the roaming state of an AP is designated and diffuses out mark.The first roaming forwarding-table item that one AP is local according to the MAC Address inquiry of STA in uplink message, determine from diffusing out AP as STA according to the diffusing out mark in the first roaming forwarding-table item, then from the first roaming forwarding-table item, a VLAN ID is obtained, 2nd VLAN ID in uplink message is replaced with a VLAN ID, then the uplink message after replacement VLAN ID is sent.Wherein, the 2nd VLAN is the VLAN of association after STA roaming, a VLAN is the VLAN of the front association of STA roaming.Uplink message after replacing VLAN ID sends and refers to and to be sent by message according to existing message transmission flow by the one AP, concrete, uplink message is sent to gateway device by the one AP, then is sent in the Internet (English is Internet) by uplink message according to the ARP table of this locality by gateway device.Wherein, what gateway device stored in ARP is the corresponding relation of the IP address of a VLAN ID and STA, so uplink message can successfully send by gateway device.
In an Alternate embodiments of the present embodiment, as shown in Figure 2, comprise before step 101:
Step 201, the one AP receive AC send first roaming forwarding information, this first roaming forwarding information comprise STA MAC Address, diffuse out mark and a VLAN ID.
The first roaming forwarding information that step 202, an AP send according to AC, generates the first roaming forwarding-table item.
Concrete, after SAT moves to the overlay area of the 2nd AP from the overlay area of an AP, STA can send reassociation requests message to the 2nd AP.This reassociation requests message includes but not limited to: the information such as SSID, type of message mark of the MAC Address of STA, the MAC Address of the 2nd AP, the 2nd AP.Wherein, can judge whether the message received is re-association request message by type of message mark.After 2nd AP receives reassociation requests message, by reassociation requests message repeating to AC.AC and the 2nd AP completes the association process of STA jointly, and this process is same as the prior art, does not repeat them here.In addition, the MAC Address of STA, mark the one AP can be also that the information such as mark, a VLAN ID that diffuses out diffusing out AP sends to an AP as the first roaming forwarding information by AC, and the MAC Address of STA, the information such as MAC Address that diffuses in mark and an AP are roamed forwarding information as second and sent to the 2nd AP.One AP and the 2nd AP generates the first roaming forwarding-table item and the second roaming forwarding-table item according to the first roaming forwarding information received and the second roaming forwarding information respectively.
Optionally, first roaming forwarding information except comprise STA MAC Address, diffuse out mark and a VLAN ID except, can also include but not limited to: the MAC Address of the 2nd AP, the 2nd information such as VLAN ID, WLAN ID.Second roaming forwarding information except comprise STA MAC Address, diffuse in mark and an AP MAC Address except, can also include but not limited to: the information such as a VLAN ID, the 2nd VLAN ID and WLAN ID.Based on this, the optional form that realizes of the first roaming forwarding-table item is: (MAC of STA, diffuse out mark, diffuse in the MAC Address of AP, a VLAN ID, the 2nd VLAN ID and WLAN ID).Accordingly, the optional form that realizes of the second roaming forwarding-table item is: (MAC of STA, diffuse in mark, diffuse out the MAC Address of AP, a VLAN ID, the 2nd VLAN ID and WLAN ID).
For AC, carry out in association process at a STA and AP, the mapping relations between the information such as SSID that can store the MAC Address of an AP, the MAC Address of STA, a VLAN ID, WLAN ID, an AP.In like manner, AC also in the association process of STA and the 2nd AP, can store the MAC Address of the 2nd AP, the MAC Address of STA, the mapping relations between the information such as the SSID of the 2nd VLAN ID, WLAN ID, the 2nd AP.Therefore, the MAC Address of the STA in the reassociation requests message that AC can forward according to the 2nd AP finds the SSID of an AP, and then obtain WLAN ID belonging to an AP and the 2nd AP and VLAN ID respectively according to the SSID of an AP and the SSID of the 2nd AP, then the WLAN ID belonging to the AP obtained and the 2nd AP and VLAN ID is compared to judge whether to roam, and determine and diffuse in AP and diffuse out AP, the corresponding relation between a VLAN ID and the 2nd VLAN ID can also be found simultaneously.
From above-mentioned, when there is roaming in STA, corresponding roaming forwarding-table item is stored respectively to as the AP diffusing in AP as the AP diffusing out AP, the uplink message that STA is sent afterwards in roaming can send to and diffuses out AP by diffusing in the roaming forwarding-table item of AP according to this locality, uplink message is forwarded according to this locality roaming forwarding-table item by diffusing out AP again, because the uplink message of STA after roaming completes forwarding by diffusing in and diffuse out AP, no longer concentrated by AC and be responsible for forwarding, give the scheme realizing travelling across VLAN roaming under local forward mode, alleviate AC burden.
The flow chart of the radio roaming data forwarding method that Fig. 3 provides for further embodiment of this invention.As shown in Figure 3, the method for the present embodiment comprises:
Step 301, the 2nd AP receive the uplink message that STA sends, and this uplink message comprises the MAC Address of STA.
Step 302, the 2nd AP find corresponding with the MAC Address of STA second according to the MAC Address of STA and roam forwarding-table item, when according in the second roaming forwarding-table item diffusing in mark determine from as STA diffuse in AP time, from the second roaming forwarding-table item, obtain the MAC Address of an AP of access before STA roaming.
The target MAC (Media Access Control) address of uplink message is replaced with the MAC Address of an AP by step 303, the 2nd AP, then uplink message is sent to an AP equipment by gateway device, roam forwarding-table item to make an AP equipment according to corresponding with the MAC Address of STA first and send in uplink message.
In an Alternate embodiments of the present embodiment, as shown in Figure 4, comprised before step 301:
Step 401, the 2nd AP receive the reassociation requests message that STA sends.
Reassociation requests message is sent to AC by step 402, the 2nd AP.
Step 403, the 2nd AP receive the second roaming forwarding information that AC sends according to reassociation requests message, and generating the second roaming forwarding-table item according to the second roaming forwarding information, this second roaming forwarding information comprises the MAC Address of STA, diffuses in the MAC Address of mark and an AP.
The detailed description of the radio roaming data forwarding method that the present embodiment provides see Fig. 1 and description embodiment illustrated in fig. 2, can not repeat them here.
From above-mentioned, when there is roaming in STA, corresponding roaming forwarding-table item is stored respectively to as the AP diffusing out AP as the AP diffusing in AP, the uplink message that STA is sent afterwards in roaming can send to and diffuses out AP by diffusing in the roaming forwarding-table item of AP according to this locality, uplink message is forwarded according to this locality roaming forwarding-table item by diffusing out AP again, because the uplink message of STA after roaming completes forwarding by diffusing in and diffuse out AP, no longer concentrated by AC and be responsible for forwarding, give the scheme of the travelling across VLAN roaming realized under local forward mode, alleviate AC burden.
Wherein, the data forwarding process of STA comprises the forwarding to uplink message and the forwarding to downlink message.In various embodiments of the present invention, uplink message refers to the data being sent to the Internet by STA, and downlink message refers to the data sending to STA received from the Internet by gateway device.Above-described embodiment respectively from diffusing out AP and the angle that diffuses in AP describes the flow process forwarded uplink message, below embodiment carry out describing forwarding process to downlink message from the angle diffusing out AP and diffuse in AP.
The flow chart of the radio roaming data forwarding method that Fig. 5 provides for further embodiment of this invention.As shown in Figure 5, the method for the present embodiment comprises:
Step 501, an AP receive the downlink message of the STA that gateway device sends, and this downlink message comprises the MAC Address of STA.
Step 502, an AP find corresponding with the MAC Address of STA first according to the MAC Address of STA and roam forwarding-table item, when according in the first roaming forwarding-table item diffusing out mark determine from as STA diffuse out AP time, from the first roaming forwarding-table item, obtain the MAC Address of the 2nd AP of access after STA roaming.
The target MAC (Media Access Control) address of downlink message is replaced with the MAC Address of the 2nd AP by step 503, an AP, then by gateway device by the 2nd AP, roam forwarding-table item to make the 2nd AP according to corresponding with the MAC Address of STA second and downlink message sent to STA.
In the present embodiment, STA there occurs roaming, roams into the 2nd AP from an AP.Wherein, an AP and the 2nd AP belongs to same ESS, and both use identical SSID, and that is, STA can be switched to the 2nd AP from an AP, realizes roaming.In a wlan, be responsible for AP distribute SSID for AP, AC, and be responsible for the VLAN belonging to this AP configuration, the VLAN belonging to different AP is different, is undertaken identifying and distinguishing between different VLAN by VLAN ID.SSID and the affiliated VLAN of the one AP are distributed by AC, and in like manner, the SSID of the 2nd AP and affiliated VLAN also has AC to distribute.
In the present embodiment, after STA roams, in the Internet, send to the downlink message of STA first can arrive gateway device.Downlink message comprises the ID of the VLAN of a VLAN ID(that is belonging to an AP of STA association before the MAC Address of STA, the MAC Address of an AP equipment, the SSID of an AP equipment, roaming) etc. information.After gateway device receives the downlink message sending to STA, according to the ARP of this locality, downlink message can be sent to an AP.After one AP receives the downlink message that gateway device sends, the MAC Address according to STA in downlink message is inquired about in the roaming of this locality is transmitted, and obtains corresponding with the MAC Address of STA first and roams forwarding-table item.Corresponding with the MAC Address of STA first roams the actual roaming forwarding-table item referring to the MAC Address comprising STA of forwarding-table item.Store the MAC Address of STA in first roaming forwarding-table item, diffuse out the information such as the MAC Address of the 2nd AP of mark and the rear access of roaming.One AP determines from diffusing out AP as STA according to the diffusing out mark in the first roaming forwarding-table item, then from the first roaming forwarding-table item, obtain the MAC Address of the 2nd AP, the target MAC (Media Access Control) address of downlink message is replaced with the MAC Address of the 2nd AP by the MAC Address of an AP, then by gateway device, the downlink message replacing target MAC (Media Access Control) address is sent to the 2nd AP.Now, downlink message comprises the MAC Address of STA, the information such as MAC Address, a VLAN ID of the 2nd AP.
After 2nd AP receives the downlink message that gateway device sends, middle inquiry is transmitted in the local roaming that is identified at according to the STA in downlink message, obtains corresponding with the MAC Address of STA second and roams forwarding-table item.Corresponding with the MAC Address of STA second roams the roaming forwarding-table item that in fact forwarding-table item refers to the MAC Address comprising STA.Second roaming forwarding-table item comprises STA MAC Address, diffuse in mark and roaming after the ID of two VLAN of the 2nd VLAN ID(that is belonging to the 2nd AP that associates) etc. information.2nd AP determines from diffusing in AP as STA according to the diffusing in mark in the second roaming forwarding-table item, then from the second roaming forwarding-table item, the 2nd VLAN ID is obtained, a VLAN ID in downlink message is replaced with the 2nd VLAN ID, then message is sent to STA.Wherein, 2nd AP is except storing the second roaming forwarding-table item, also can store the corresponding relation of the IP address of the 2nd VLAN ID and STA, therefore after the VLAN ID in downlink message replaces with the 2nd VLAN ID by the 2nd AP, successfully downlink message can be sent to STA.
In an Alternate embodiments of the present embodiment, as shown in Figure 6, comprised before step 501:
Step 601, an AP receive the first roaming forwarding information that AC sends, and described first roaming forwarding information comprises the MAC Address of this STA, diffuses out the MAC Address of mark and the 2nd AP.
Step 602, an AP, according to the first roaming forwarding information, generate the first roaming forwarding-table item.
Concrete, after SAT moves to the overlay area of the 2nd AP from the overlay area of an AP, STA can send reassociation requests message to the 2nd AP.This reassociation requests message includes but not limited to: the information such as SSID, type of message mark of the MAC Address of STA, the MAC Address of the 2nd AP, the 2nd AP.After 2nd AP receives reassociation requests message, by reassociation requests message repeating to AC.AC and the 2nd AP completes the association process of STA jointly, and this process is same as the prior art, does not repeat them here.In addition, AC can be using the MAC Address of STA, mark the one AP also diffuse out AP diffuse out mark, the information such as MAC Address of the 2nd AP sends to an AP as the first roaming forwarding information, and using the MAC Address of STA, mark the 2nd AP be diffuse in AP diffuse in mark and roaming after the information such as the 2nd VLAN ID that associates roam forwarding information as second and send to the 2nd AP.One AP and the 2nd AP generates the first roaming forwarding-table item and the second roaming forwarding-table item according to the first roaming forwarding information received and the second roaming forwarding information respectively.
Optionally, first roaming forwarding information except comprise STA MAC Address, diffuse out mark and the 2nd AP MAC Address except, can also include but not limited to: a VLAN ID, the 2nd information such as VLAN ID, WLAN ID.Second roaming forwarding information except comprise STA MAC Address, diffuse in mark and the 2nd VLAN ID except, can also include but not limited to: the information such as MAC Address, a VLAN ID and WLAN ID of an AP.Based on this, the optional form that realizes of the first roaming forwarding-table item is: (MAC of STA, diffuse out mark, diffuse in the MAC Address of AP, a VLAN ID, the 2nd VLAN ID and WLAN ID).Accordingly, the optional form that realizes of the second roaming forwarding-table item is: (MAC of STA, diffuse in mark, diffuse out the MAC Address of AP, a VLAN ID, the 2nd VLAN ID and WLAN ID).
In this explanation, the first roaming forwarding information in the present embodiment and earlier figures 1-embodiment illustrated in fig. 4 in first roam forwarding information and can be realized by same roaming forwarding information, this roaming forwarding information comprises at least simultaneously: the MAC Address of STA, diffuse out the MAC Address of mark, a VLAN ID and the 2nd AP; Accordingly, the second roaming forwarding information in the present embodiment and earlier figures 1-embodiment illustrated in fig. 4 in second roam forwarding information and also can be realized by same roaming forwarding information, this roaming forwarding information comprises at least simultaneously: the MAC Address of STA, diffuse in mark, the MAC Address of an AP and the 2nd VLAN ID.The first roaming forwarding-table item then in the present embodiment and earlier figures 1-embodiment illustrated in fig. 4 in the first roaming forwarding-table item can be same roaming forwarding-table item, this roaming forwarding-table item comprises at least simultaneously: the MAC Address of STA, diffuse out the MAC Address of mark, a VLAN ID and the 2nd AP; Accordingly, the second roaming forwarding-table item in the present embodiment and earlier figures 1-embodiment illustrated in fig. 4 in the second roaming forwarding-table item can be same roaming forwarding-table item, this roaming forwarding-table item comprises at least simultaneously: the MAC Address of STA, diffuse in mark, the MAC Address of an AP and the 2nd VLAN ID.
For AC, carry out in association process at a STA and AP, the mapping relations between the information such as SSID that can store the MAC Address of an AP, the MAC Address of STA, a VLAN ID, WLAN ID, an AP.In like manner, AC also in the association process of STA and the 2nd AP, can store the MAC Address of the 2nd AP, the MAC Address of STA, the mapping relations between the information such as the SSID of the 2nd VLAN ID, WLAN ID, the 2nd AP.Therefore, the MAC Address of the STA in the reassociation requests message that AC can forward according to the 2nd AP finds the SSID of an AP, and then obtain WLAN ID belonging to an AP and the 2nd AP and VLAN ID respectively according to the SSID of an AP and the SSID of the 2nd AP, then the WLAN ID belonging to the AP obtained and the 2nd AP and VLAN ID is compared to judge whether to roam, and determine and diffuse in AP and diffuse out AP, the corresponding relation between the MAC Address of an AP and the MAC Address of the 2nd AP can also be found simultaneously.
From above-mentioned, when there is roaming in STA, corresponding roaming forwarding-table item is stored respectively to as the AP diffusing in AP as the AP diffusing out AP, make to send to the downlink message of STA can send to and diffuse out AP by diffusing in the roaming forwarding-table item of AP according to this locality after roaming, according to this locality roaming forwarding-table item, downlink message is sent to STA by diffusing out AP again, because the downlink message of STA after roaming completes forwarding by diffusing in and diffuse out AP, no longer concentrated by AC and be responsible for forwarding, give the scheme of the travelling across VLAN roaming realized under local forward mode, alleviate AC burden.
The flow chart of the radio roaming data forwarding method that Fig. 7 provides for further embodiment of this invention.As shown in Figure 7, the method for the present embodiment comprises:
Step 701, the 2nd AP receive the downlink message of the STA that gateway device sends, this downlink message comprises the MAC Address of STA, wherein, described gateway device receives an AP and roam according to corresponding with the MAC Address of STA first the downlink message that forwarding-table item sends, and a described AP is that STA roams the front AP accessed.
Step 702, the 2nd AP find corresponding with the MAC Address of STA second according to the MAC Address of STA and roam forwarding-table item, when according to second roaming forwarding-table item in diffusing in mark determine from as STA diffuse in AP time, from second roaming forwarding-table item obtain STA roaming after association the 2nd VLAN ID.
A VLAN ID in downlink message is replaced with the 2nd VLAN ID by step 703, the 2nd AP, then downlink message is sent to STA, and a VLAN is the VLAN of association before STA roaming.
In an Alternate embodiments of the present embodiment, as shown in Figure 8, comprised before step 701:
Step 801, the 2nd AP receive the reassociation requests message that STA sends.
Reassociation requests message is sent to AC by step 802, the 2nd AP.
Step 803, the 2nd AP receive the second roaming forwarding information that AC sends according to reassociation requests message, according to second roaming forwarding information generate second roaming forwarding-table item, second roaming forwarding information comprise STA MAC Address, diffuse in mark and the 2nd VLAN ID.
The detailed description of the radio roaming data forwarding method that the present embodiment provides see Fig. 5 and description embodiment illustrated in fig. 6, can not repeat them here.
From above-mentioned, when there is roaming in STA, corresponding roaming forwarding-table item is stored respectively to as the AP diffusing in AP as the AP diffusing out AP, make to send to the downlink message of STA can send to and diffuse in AP by diffusing out the roaming forwarding-table item of AP according to this locality after roaming, according to this locality roaming forwarding-table item, downlink message is sent to STA by diffusing in AP again, because the downlink message of STA after roaming completes forwarding by diffusing in and diffuse out AP, no longer concentrated by AC and be responsible for forwarding, give the scheme of the travelling across VLAN roaming realized under local forward mode, alleviate AC burden.
The network topology schematic diagram of the realization roaming that Fig. 9 provides for one embodiment of the invention.As shown in Figure 9, this network comprises: an AP91, the 2nd AP92, AC93, switch 94 and router 95.Wherein, switch 94 is connected with router 95, router 95 connecting Internet; Switch 94 is also connected with an AP91, the 2nd AP92 and AC93.In the present embodiment, switch 94 and router 95 are combined as the gateway device in above-described embodiment.Suppose, STA96 starts to access an AP91, moves to the coverage of the 2nd AP92 gradually from the coverage of an AP91.In the present embodiment, suppose an AP91 and the 2nd AP92 respectively with AC93 wireless connections, an AP91 and the 2nd AP92 is local forward mode; The VLAN interface that one AP91 is supplied to STA96 is VLANX, and the VLAN interface that the 2nd AP92 is supplied to STA96 is VLANY.As shown in Figure 9, the IP address of STA96 is AAAA, and before and after roaming, the IP address of STA96 does not change.Then roam procedure specifically comprises:
Step 901, STA96 initially access an AP91, obtain the IP address in the network segment of VLANX place by DHCP.
Step 902, STA96 move to the coverage of the 2nd AP92 from the coverage of an AP91, and STA96 sends reassociation requests message to the 2nd AP92.
After step 903, the 2nd AP92 receive reassociation requests message, reassociation requests message is sent to AC93.
Step 904, AC93 and the 2nd AP92 complete the association process of STA96 jointly.
The MAC Address of the MAC Address of STA, the 2nd AP92, VLANX, VLANY and WLAN ID are sent to an AP91 as the first roaming forwarding information by step 905, AC93, and the MAC Address of the MAC Address of STA, an AP91, VLANX, VLANY and WLAN ID are sent to the 2nd AP92 as the second roaming forwarding information.
Wherein, step 904 and step 905 not strict sequencing, can executed in parallel.
Since then, the roam procedure of STA completes, and an AP91 generates the first roaming forwarding-table item according to the first roaming forwarding information, and the 2nd AP92 generates the second roaming forwarding-table item according to the second roaming forwarding information.
Go on to say below, the forwarding process of the uplink message of STA.
Step 906, STA96 send uplink message to the 2nd AP92.
Step 907, the 2nd AP92 inquiry second roaming forwarding-table item, determine oneself be STA diffuse in AP, the target MAC (Media Access Control) address of uplink message is replaced with the MAC Address of an AP91, uplink message is sent to switch 94.
Uplink message is sent to an AP91 by step 908, switch 94.
Step 909, the one AP91 inquiry first roaming forwarding-table item, determine oneself be STA diffuse out AP, the VLANY in uplink message is replaced with VLANX.
Uplink message is sent to switch 94 by step 910, an AP91.
Uplink message is sent to router 95 by step 911, switch 94.
Uplink message is sent to the Internet by step 912, router 95.
Wherein, the forwarding circuit of the uplink message of STA before roaming is as shown in the heavy line with arrow in Fig. 9, and the forward-path of the uplink message after roaming is as shown in the fine line with arrow in Fig. 9.
Go on to say below, the forwarding process of the downlink message of STA.
Step 913, router 95 receive downlink message, according to ARP, downlink message are sent to switch 94.
Downlink message is transmitted to an AP91 by step 914, switch 94.
After step 915, an AP91 receive downlink message, inquiry first roaming forwarding-table item, determine oneself be STA diffuse out AP, the target MAC (Media Access Control) address of downlink message is replaced with the MAC Address of the 2nd AP.
Downlink message is sent to switch 94 by step 916, an AP91.
Downlink message is sent to the 2nd AP92 by step 917, switch 94.
After step 918, the 2nd AP92 receive downlink message, inquiry second roaming forwarding-table item, determine oneself be STA diffuse in AP, the VLANX in downlink message is replaced with VLANY.
Downlink message is sent to STA96 by step 919, the 2nd AP92.
Wherein, the forwarding circuit of the downlink message of STA before roaming is as shown in the thick dashed line with arrow in Fig. 9, and the forward-path of the downlink message after roaming is as shown in the fine dotted line with arrow in Fig. 9.
From above-mentioned, the present embodiment is in roam procedure, sent to by AC diffuse in AP and diffuse out AP by roaming forwarding information accordingly, roaming forwarding-table item is generated according to roaming forwarding information respectively by diffusing in AP and diffusing out AP, and then diffuse in AP and diffuse out AP completes the rear uplink message of STA roaming and downlink message forwarding according to the roaming forwarding-table item that this locality generates, make no longer to need focusing on of AC, give the scheme of the travelling across VLAN roaming realized under local forward mode, alleviate the burden of AC.
The structural representation of the AP that Figure 10 provides for one embodiment of the invention.As shown in Figure 9, the AP of the present embodiment comprises: the first receiver module 1001, first inquires about acquisition module 1002 and the first sending module 1003.
First receiver module 1001, for receiving the uplink message of the STA that gateway device sends, described uplink message comprises the MAC Address of described STA.Wherein, gateway device receives the 2nd AP and roam according to corresponding with the MAC Address of STA second the uplink message that forwarding-table item sends, and described 2nd AP is that STA roams the AP accessed afterwards.First inquiry acquisition module 1002, be connected with the first receiver module 1001, find corresponding with the MAC Address of STA first for the MAC Address of STA in the uplink message that receives according to the first receiver module 1001 and roam forwarding-table item, when according in the first roaming forwarding-table item diffusing out mark determine the AP of the present embodiment be STA diffuse out AP time, obtain from the first roaming forwarding-table item described STA roam before the mark of a VLAN of association.First sending module 1003, inquire about acquisition module 1002 with the first receiver module 1001 and first to be connected, replace with the mark of the VLAN that the first inquiry acquisition module 1002 obtains for the mark of the 2nd VLAN in the uplink message that received by the first receiver module 1001, then uplink message is sent.Wherein, the 2nd VLAN is the VLAN of association after described STA roams.
In an Alternate embodiments of the present embodiment, as shown in figure 11, the AP of the present embodiment also comprises: the second receiver module 1004 and the first generation module 1005.
Second receiver module 1004, be connected with the first receiver module 1001, before receiving described uplink message at the first receiver module 1001, receive the first roaming forwarding information that AC sends, described first roaming forwarding information comprise described STA MAC Address, described in diffuse out mark and the mark of a described VLAN.First generation module 1005, is connected with the second receiver module 1004, for the first roaming forwarding information received according to the second receiver module 1004, generates described first roaming forwarding-table item.First generation module 1005 is also inquired about acquisition module 1002 with first and is connected, for providing the first roaming forwarding-table item to the first inquiry acquisition module 1002.
Each functional module of the AP of the present embodiment can be used for performing the corresponding flow process in embodiment of the method shown in Fig. 1 and Fig. 2, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The AP that the present embodiment provides diffuses out AP as STA, match with the AP that diffuses in of STA, by storing roaming forwarding-table item, complete the forwarding of the uplink message of STA after roaming, the uplink message of STA after roaming is no longer focused on by AC, under local forward mode, achieve travelling across VLAN roaming, alleviate the burden of AC.
The structural representation of the AP that Figure 12 provides for further embodiment of this invention.As shown in figure 12, the AP of the present embodiment comprises: the 3rd receiver module 1201, second inquires about acquisition module 1202 and the second sending module 1203.
Wherein, the 3rd receiver module 1201, for receiving the uplink message that STA sends, described uplink message comprises the MAC Address of described STA.Second inquiry acquisition module 1202, be connected with the 3rd receiver module 1201, find corresponding with the MAC Address of STA second for the MAC Address of STA in the uplink message that receives according to the 3rd receiver module 1201 and roam forwarding-table item, when according in described second roaming forwarding-table item diffusing in mark determine the AP of the present embodiment be described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam before the MAC Address of an AP of access.Second sending module 1203, inquire about acquisition module 1202 with the 3rd receiver module 1201 and second to be connected, target MAC (Media Access Control) address for the uplink message received by the 3rd receiver module 1201 replaces with the MAC Address of the AP that the second inquiry acquisition module 1202 obtains, then described uplink message is sent to a described AP equipment by gateway device, roam forwarding-table item to make a described AP equipment according to corresponding with the MAC Address of STA first and send in described uplink message.
In an Alternate embodiments of the present embodiment, as shown in figure 13, the AP of the present embodiment also comprises: the 4th receiver module 1204, the 3rd sending module 1205, the 5th receiver module 1206 and the second generation module 1207.
4th receiver module 1204, for receiving the reassociation requests message that described STA sends.3rd sending module 1205, is connected with the 4th receiver module 1204, sends to AC for the reassociation requests message received by the 4th receiver module 1204.5th receiver module 1206, for after the 3rd sending module 1205 sends reassociation requests message, receive the second roaming forwarding information that described AC sends according to described reassociation requests message, described second roaming forwarding information comprise described STA MAC Address, described in diffuse in mark and the MAC Address of a described AP.Second generation module 1207, is connected with the 5th receiver module 1206, and the second roaming forwarding information for receiving according to the 5th receiver module 1206 generates described second roaming forwarding-table item.Second generation module 1207 is also inquired about acquisition module 1202 with second and is connected, for providing the second roaming forwarding-table item to the second inquiry acquisition module 1202.
Each functional module of the AP of the present embodiment can be used for performing the corresponding flow process in embodiment of the method shown in Fig. 3 and Fig. 4, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The AP that the present embodiment provides diffuses in AP as STA, match with the AP that diffuses out of STA, by storing roaming forwarding-table item, complete the forwarding of the uplink message of STA after roaming, the uplink message of STA after roaming is no longer focused on by AC, under local forward mode, achieve travelling across VLAN roaming, alleviate the burden of AC.
The structural representation of the AP that Figure 14 provides for further embodiment of this invention.As shown in figure 14, the AP of the present embodiment comprises: the 6th receiver module 1401, the 3rd inquiry acquisition module 1402 and the 4th sending module 1403.
6th receiver module 1401, for receiving the downlink message of the STA that gateway device sends, the MAC Address of STA described in described downlink message.3rd inquiry acquisition module 1402, be connected with the 6th receiver module 1401, find corresponding with the MAC Address of STA first for the MAC Address of STA in the downlink message that receives according to the 6th receiver module 1401 and roam forwarding-table item, when according to the AP of described first roaming forwarding-table item determination the present embodiment be described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam after the MAC Address of the 2nd AP of access.4th sending module 1403, inquire about acquisition module 1402 with the 6th receiver module 1401 and the 3rd to be connected, target MAC (Media Access Control) address for the downlink message received by the 6th receiver module 1401 replaces with the MAC Address of the 2nd AP that the second inquiry acquisition module 1402 obtains, then by described gateway device, downlink message is sent to described 2nd AP, roam forwarding-table item to make described 2nd AP according to corresponding with the MAC Address of STA second and described downlink data is sent to described STA.
In an Alternate embodiments of the present embodiment, as shown in figure 15, the AP of the present embodiment also comprises: the 7th receiver module 1404 and the 3rd generation module 1405.
7th receiver module 1404, be connected with the 6th receiver module 1401, before receiving downlink message at the 6th receiver module 1401, receive the first roaming forwarding information that AC sends, described first roaming forwarding information comprise described STA MAC Address, described in diffuse out mark and the MAC Address of described 2nd AP.3rd generation module 1405, is connected with the 7th receiver module 1404, for the first roaming forwarding information received according to the 7th receiver module 1404, generates described first roaming forwarding-table item.3rd generation module 1405 is also inquired about acquisition module 1402 with the 3rd and is connected, for providing the first roaming forwarding-table item to the 3rd inquiry acquisition module 1402.
Each functional module of the AP of the present embodiment can be used for performing the corresponding flow process in embodiment of the method shown in Fig. 5 and Fig. 6, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
Illustrate at this, the AP that the present embodiment provides, except having above-mentioned functions module, can also have each functional module in Figure 10 and the AP provided embodiment illustrated in fig. 11, for completing the forwarding of the downlink message after STA roaming and uplink message simultaneously.In like manner, Figure 10 and the AP provided embodiment illustrated in fig. 11, also can comprise each functional module of the AP that the present embodiment provides, and completes the forwarding of the uplink message after STA roaming and downlink message simultaneously.
The AP that the present embodiment provides diffuses out AP as STA, match with the AP that diffuses in of STA, by storing roaming forwarding-table item, complete the forwarding of the downlink message of STA after roaming, the downlink message of STA after roaming is no longer focused on by AC, under local forward mode, achieve travelling across VLAN roaming, alleviate the burden of AC.
The structural representation of the AP that Figure 16 provides for further embodiment of this invention.As shown in figure 16, the AP of the present embodiment comprises: the 8th receiver module 1601, the 4th inquiry acquisition module 1602 and the 5th sending module 1603.
Wherein, the 8th receiver module 1601, for receiving the downlink message of the STA that gateway device sends, described downlink message comprises the MAC Address of described STA.Wherein, gateway device receives an AP and roam according to corresponding with the MAC Address of STA first the downlink message that forwarding-table item sends, and a described AP is that STA roams the front AP accessed.4th inquiry acquisition module 1602, be connected with the 8th receiver module 1601, find corresponding with the MAC Address of STA second for the MAC Address of STA in the downlink message that receives according to the 8th receiver module 1601 and roam forwarding-table item, when according in described second roaming forwarding-table item diffusing in mark determine the AP of the present embodiment be described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam after the mark of the 2nd VLAN of association.5th sending module 1603, inquire about acquisition module 1602 with the 8th receiver module 1601 and the 4th to be connected, replace with the mark of the 2nd VLAN that the 4th inquiry acquisition module 1603 gets for the mark of a VLAN in the downlink message that received by the 8th receiver module 1601, then described downlink message is sent to described STA.Wherein, a described VLAN is the VLAN of association before described STA roams.
In an Alternate embodiments of the present embodiment, as shown in figure 17, the AP of the present embodiment also comprises: the 9th receiver module 1604, the 6th sending module 1605, the tenth receiver module 1606 and the 4th generation module 1607.
9th receiver module 1604, for receiving the reassociation requests message that described STA sends.6th sending module 1605, is connected with the 9th receiver module 1604, sends to AC for the reassociation requests message received by the 9th receiver module 1604.Tenth receiver module 1606, for receiving the second roaming forwarding information that described AC sends according to described reassociation requests message, described second roaming forwarding information comprise described STA MAC Address, described in diffuse in mark and the mark of described 2nd VLAN.4th generation module 1607, is connected with the tenth receiver module 1606, for generating described second roaming forwarding-table item according to described second roaming forwarding information.4th generation module 1607 is also inquired about acquisition module 1602 with the 4th and is connected, for providing the second roaming forwarding-table item to the 4th inquiry acquisition module 1602.
Each functional module of the AP of the present embodiment can be used for performing the corresponding flow process in embodiment of the method shown in Fig. 7 and Fig. 8, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
Illustrate at this, the AP that the present embodiment provides, except having above-mentioned functions module, can also have each functional module in Figure 12 and the AP provided embodiment illustrated in fig. 13, for completing the forwarding of the downlink message after STA roaming and uplink message simultaneously.In like manner, Figure 12 and the AP provided embodiment illustrated in fig. 13, also can comprise each functional module of the AP that the present embodiment provides, and completes the forwarding of the uplink message after STA roaming and downlink message simultaneously.
The AP that the present embodiment provides diffuses in AP as STA, match with the AP that diffuses out of STA, by storing roaming forwarding-table item, complete the forwarding of the downlink message of STA after roaming, the downlink message of STA after roaming is no longer focused on by AC, under local forward mode, achieve travelling across VLAN roaming, alleviate the burden of AC.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (16)
1. a radio roaming data forwarding method, is characterized in that, comprising:
First wireless access points AP receives the uplink message of the site STA that gateway device sends, described uplink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives the 2nd AP and roam according to corresponding with the MAC Address of described STA second the described uplink message that forwarding-table item sends, and described 2nd AP is the AP that described STA roaming accesses afterwards; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; The MAC Address of described STA, the roaming state mark of the 2nd AP, the MAC Address of an AP is stored in described second roaming forwarding-table item;
A described AP finds corresponding with the MAC Address of described STA first according to the MAC Address of described STA and roams forwarding-table item, when according in described first roaming forwarding-table item diffusing out mark determine from as described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam before the mark of the first virtual LAN VLAN of association;
The mark of the 2nd VLAN in described uplink message is replaced with the mark of a described VLAN by a described AP, is then sent by described uplink message, and described 2nd VLAN is the VLAN of association after described STA roams.
2. radio roaming data forwarding method according to claim 1, is characterized in that, described first wireless access points AP comprises before receiving the uplink message of the site STA that gateway device sends:
A described AP receives the first roaming forwarding information that wireless controller AC sends, described first roaming forwarding information comprise described STA MAC Address, described in diffuse out the mark of mark and a described VLAN;
A described AP, according to described first roaming forwarding information, generates described first roaming forwarding-table item.
3. a radio roaming data forwarding method, is characterized in that, comprising:
The uplink message that second wireless access points AP receiving station STA sends, described uplink message comprises the medium access control MAC Address of described STA;
Described 2nd AP finds corresponding with the MAC Address of described STA second according to the MAC Address of described STA and roams forwarding-table item, when according in described second roaming forwarding-table item diffusing in mark determine from as described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam before the MAC Address of an AP of access;
The target MAC (Media Access Control) address of described uplink message is replaced with the MAC Address of a described AP by described 2nd AP, then described uplink message is sent to a described AP equipment by gateway device, roam forwarding-table item to make a described AP equipment according to corresponding with the MAC Address of described STA first and described uplink message is sent; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; Store the MAC Address of STA in described first roaming forwarding-table item, diffuse out the mark of mark and a VLAN.
4. radio roaming data forwarding method according to claim 3, is characterized in that, comprises before the uplink message that described second wireless access points AP receiving station SAT sends:
Described 2nd AP receives the reassociation requests message that described STA sends;
Described reassociation requests message is sent to wireless controller AC by described 2nd AP;
Described 2nd AP receives the second roaming forwarding information that described AC sends according to described reassociation requests message, and generate described second roaming forwarding-table item according to described second roaming forwarding information, described second roaming forwarding information comprise described STA MAC Address, described in diffuse in mark and the MAC Address of a described AP.
5. a radio roaming data forwarding method, is characterized in that, comprising:
First wireless access points AP receives the downlink message of the STA that gateway device sends, and described downlink message comprises the medium access control MAC Address of described STA;
A described AP finds corresponding with the MAC Address of described STA first according to the MAC Address of described STA and roams forwarding-table item, when according in described first roaming forwarding-table item diffusing out mark determine from as described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam after the MAC Address of the 2nd AP of access;
The target MAC (Media Access Control) address of described downlink message is replaced with the MAC Address of described 2nd AP by a described AP, then by described gateway device, described downlink message is sent to described 2nd AP, roam forwarding-table item to make described 2nd AP according to corresponding with the MAC Address of described STA second and described downlink message is sent to described STA; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; Store the MAC Address of described STA in described second roaming forwarding-table item, diffuse in the mark of mark, the 2nd VLAN.
6. radio roaming data forwarding method according to claim 5, is characterized in that, described first wireless access points AP comprises before receiving the downlink message of the STA that gateway device sends:
A described AP receives the first roaming forwarding information that wireless controller AC sends, described first roaming forwarding information comprise described STA MAC Address, described in diffuse out the MAC Address of mark and described 2nd AP;
A described AP, according to described first roaming forwarding information, generates described first roaming forwarding-table item.
7. a radio roaming data forwarding method, is characterized in that, comprising:
Second wireless access points AP receives the downlink message of the site STA that gateway device sends, described downlink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives an AP and roam according to corresponding with the MAC Address of described STA first the described downlink message that forwarding-table item sends, and a described AP is the front AP accessed of described STA roaming; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; Store the MAC Address of described STA in described first roaming forwarding-table item, diffuse out the MAC Address of mark and the 2nd AP;
Described 2nd AP finds corresponding with the MAC Address of described STA second according to the MAC Address of described STA and roams forwarding-table item, when according in described second roaming forwarding-table item diffusing in mark determine from as described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam after the mark of the second virtual LAN VLAN of association;
The mark of a VLAN in described downlink message is replaced with the mark of described 2nd VLAN by described 2nd AP, then described downlink message is sent to described STA, and a described VLAN is the VLAN of association before described STA roams.
8. radio roaming data forwarding method according to claim 7, is characterized in that, the second wireless access points AP comprises before receiving the downlink message of the site STA that gateway device sends:
Described 2nd AP receives the reassociation requests message that described STA sends;
Described reassociation requests message is sent to wireless controller AC by described 2nd AP;
Described 2nd AP receives the second roaming forwarding information that described AC sends according to described reassociation requests message, and generate described second roaming forwarding-table item according to described second roaming forwarding information, described second roaming forwarding information comprise described STA MAC Address, described in diffuse in mark and the mark of described 2nd VLAN.
9. a wireless access points AP, is characterized in that, comprising:
First receiver module, for receiving the uplink message of the site STA that gateway device sends, described uplink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives the 2nd AP and roam according to corresponding with the MAC Address of described STA second the described uplink message that forwarding-table item sends, and described 2nd AP is the AP that described STA roaming accesses afterwards; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; The MAC Address of described STA, the roaming state mark of the 2nd AP, the MAC Address of an AP is stored in described second roaming forwarding-table item;
First inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA first according to the MAC Address of described STA, when according in described first roaming forwarding-table item diffusing out mark determine described AP be described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam before the mark of the first virtual LAN VLAN of association;
First sending module, for the mark of the 2nd VLAN in described uplink message is replaced with the mark of a described VLAN, then sends described uplink message, and described 2nd VLAN is the VLAN of association after described STA roams.
10. AP according to claim 9, is characterized in that, also comprises:
Second receiver module, before receiving described uplink message at described first receiver module, receive the first roaming forwarding information that wireless controller AC sends, described first roaming forwarding information comprise described STA MAC Address, described in diffuse out the mark of mark and a described VLAN;
First generation module, for according to described first roaming forwarding information, generates described first roaming forwarding-table item.
11. 1 kinds of wireless access points AP, is characterized in that, comprising:
3rd receiver module, for the uplink message that receiving station STA sends, described uplink message comprises the medium access control MAC Address of described STA;
Second inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA second according to the MAC Address of described STA, when according in described second roaming forwarding-table item diffusing in mark determine described AP be described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam before the MAC Address of an AP of access;
Second sending module, for the target MAC (Media Access Control) address of described uplink message being replaced with the MAC Address of a described AP, then described uplink message is sent to a described AP equipment by gateway device, roam forwarding-table item to make a described AP equipment according to corresponding with the MAC Address of described STA first and described uplink message is sent; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; Store the MAC Address of STA in described first roaming forwarding-table item, diffuse out the mark of mark and a VLAN.
12. AP according to claim 11, is characterized in that, also comprise:
4th receiver module, for receiving the reassociation requests message that described STA sends;
3rd sending module, for sending to wireless controller AC by described reassociation requests message;
5th receiver module, for receiving the second roaming forwarding information that described AC sends according to described reassociation requests message, described second roaming forwarding information comprise described STA MAC Address, described in diffuse in mark and the MAC Address of a described AP;
Second generation module, for generating described second roaming forwarding-table item according to described second roaming forwarding information.
13. 1 kinds of wireless access points AP, is characterized in that, comprising:
6th receiver module, for receiving the downlink message of the site STA that gateway device sends, the medium access control MAC Address of STA described in described downlink message;
3rd inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA first according to the MAC Address of described STA, when determine according to described first roaming forwarding-table item described AP be described STA diffuse out AP time, obtain from described first roaming forwarding-table item described STA roam after the MAC Address of the 2nd AP of access;
4th sending module, for the target MAC (Media Access Control) address of described downlink message being replaced with the MAC Address of described 2nd AP, then by described gateway device, described downlink message is sent to described 2nd AP, roam forwarding-table item to make described 2nd AP according to corresponding with the MAC Address of described STA second and described downlink data is sent to described STA; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; Store the MAC Address of described STA in described second roaming forwarding-table item, diffuse in the mark of mark, the 2nd VLAN.
14. AP according to claim 13, is characterized in that, also comprise:
7th receiver module, before receiving described downlink message at described 6th receiver module, receive the first roaming forwarding information that wireless controller AC sends, described first roaming forwarding information comprise described STA MAC Address, described in diffuse out the MAC Address of mark and described 2nd AP;
3rd generation module, for according to described first roaming forwarding information, generates described first roaming forwarding-table item.
15. 1 kinds of wireless access points AP, is characterized in that, comprising:
8th receiver module, for receiving the downlink message of the site STA that gateway device sends, described downlink message comprises the medium access control MAC Address of described STA, wherein, described gateway device receives an AP and roam according to corresponding with the MAC Address of described STA first the described downlink message that forwarding-table item sends, and a described AP is the front AP accessed of described STA roaming; Wherein, a described AP and described 2nd AP all with same wireless controller AC wireless connections; Store the MAC Address of described STA in described first roaming forwarding-table item, diffuse out the MAC Address of mark and the 2nd AP;
4th inquiry acquisition module, forwarding-table item is roamed for finding corresponding with the MAC Address of described STA second according to the MAC Address of described STA, when according in described second roaming forwarding-table item diffusing in mark determine described AP be described STA diffuse in AP time, obtain from described second roaming forwarding-table item described STA roam after the mark of the second virtual LAN VLAN of association;
5th sending module, for the mark of a VLAN in described downlink message is replaced with the mark of described 2nd VLAN, then sends to described STA by described downlink message, and a described VLAN is the VLAN of association before described STA roams.
16. AP according to claim 15, is characterized in that, also comprise:
9th receiver module, for receiving the reassociation requests message that described STA sends;
6th sending module, for sending to wireless controller AC by described reassociation requests message;
Tenth receiver module, for receiving the second roaming forwarding information that described AC sends according to described reassociation requests message, described second roaming forwarding information comprise described STA MAC Address, described in diffuse in mark and the mark of described 2nd VLAN;
4th generation module, for generating described second roaming forwarding-table item according to described second roaming forwarding information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210277498.7A CN102833721B (en) | 2012-08-06 | 2012-08-06 | Wireless roaming data forwarding method and wireless access point |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210277498.7A CN102833721B (en) | 2012-08-06 | 2012-08-06 | Wireless roaming data forwarding method and wireless access point |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102833721A CN102833721A (en) | 2012-12-19 |
| CN102833721B true CN102833721B (en) | 2015-06-17 |
Family
ID=47336632
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210277498.7A Active CN102833721B (en) | 2012-08-06 | 2012-08-06 | Wireless roaming data forwarding method and wireless access point |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102833721B (en) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103532850B (en) * | 2013-09-29 | 2017-05-24 | 福建星网锐捷网络有限公司 | Uplink message forwarding method, device and AP (access point) equipment |
| CN106211141B (en) * | 2015-04-30 | 2019-08-20 | 华为技术有限公司 | A kind of retransmission method and device of the stream of WLAN roaming stations |
| CN105072605B (en) * | 2015-08-18 | 2018-11-09 | 北京星网锐捷网络技术有限公司 | Terminal roaming method under AP stand-alone modes and AP |
| CN105188047A (en) * | 2015-08-26 | 2015-12-23 | 广东欧珀移动通信有限公司 | Wifi wireless roaming Internet access method and mobile terminal |
| CN105188052B (en) * | 2015-09-02 | 2018-11-06 | 深信服网络科技(深圳)有限公司 | A kind of method, system and the wireless access point of access network |
| CN106412996B (en) * | 2016-09-30 | 2019-09-06 | 杭州迪普科技股份有限公司 | The method and device to E-Packet |
| CN108322389B (en) * | 2017-01-17 | 2021-05-18 | 深圳市万网博通科技有限公司 | Data message forwarding method and system, and wireless access device |
| CN108011742A (en) * | 2017-02-17 | 2018-05-08 | 湖北亘华工科有限公司 | A kind of WLAN data concentrates the device and method that forwarding switching locally forwards |
| CN109089260B (en) * | 2018-09-21 | 2021-10-22 | 锐捷网络股份有限公司 | Method for realizing roaming detection of wireless terminal, AP and AC |
| CN111800777B (en) * | 2019-04-08 | 2021-08-03 | 华为技术有限公司 | A roaming data processing method, device and system |
| CN111787586B (en) * | 2020-07-27 | 2022-10-21 | 新华三信息技术有限公司 | A wireless roaming method and device |
| CN114363879B (en) * | 2022-01-24 | 2023-06-27 | 杭州迪普科技股份有限公司 | Roaming processing method and system for wireless terminal |
| CN118233979B (en) * | 2024-05-22 | 2024-08-27 | 广州通则康威科技股份有限公司 | Method and system for seamless roaming in Mesh network |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1353559A (en) * | 2001-11-13 | 2002-06-12 | 西安西电捷通无线网络通信有限公司 | Cross-IP internet roaming method for mobile terminal |
| CN101204066A (en) * | 2005-04-27 | 2008-06-18 | 讯宝科技公司 | Method, system and device for layer 3 roaming in wireless local area network (WLAN) |
| CN101640882A (en) * | 2009-09-07 | 2010-02-03 | 杭州华三通信技术有限公司 | Method and device for preventing flow from breaking |
| CN101772109A (en) * | 2008-12-30 | 2010-07-07 | 上海贝尔阿尔卡特股份有限公司 | Method for supporting WLAN roaming switching between different subnets, device and system |
| CN102014391A (en) * | 2010-11-29 | 2011-04-13 | 北京星网锐捷网络技术有限公司 | Wireless network safety access method, system and wireless controller |
-
2012
- 2012-08-06 CN CN201210277498.7A patent/CN102833721B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1353559A (en) * | 2001-11-13 | 2002-06-12 | 西安西电捷通无线网络通信有限公司 | Cross-IP internet roaming method for mobile terminal |
| CN101204066A (en) * | 2005-04-27 | 2008-06-18 | 讯宝科技公司 | Method, system and device for layer 3 roaming in wireless local area network (WLAN) |
| CN101772109A (en) * | 2008-12-30 | 2010-07-07 | 上海贝尔阿尔卡特股份有限公司 | Method for supporting WLAN roaming switching between different subnets, device and system |
| CN101640882A (en) * | 2009-09-07 | 2010-02-03 | 杭州华三通信技术有限公司 | Method and device for preventing flow from breaking |
| CN102014391A (en) * | 2010-11-29 | 2011-04-13 | 北京星网锐捷网络技术有限公司 | Wireless network safety access method, system and wireless controller |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102833721A (en) | 2012-12-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102833721B (en) | Wireless roaming data forwarding method and wireless access point | |
| EP2465244B1 (en) | A method and host node for multiple NAT64 environments | |
| TWI500305B (en) | Enabling ipv6 mobility with nat64 | |
| US9882866B2 (en) | Address allocating method, apparatus, and system | |
| US8175102B2 (en) | Neighbor discovery method and apparatus for mobile node in heterogeneous network environment | |
| CN105072038A (en) | Method and device for forwarding data message | |
| KR101163155B1 (en) | Mobile node and data server for providing information on an IP address allocation, and method for providing information on an IP address allocation | |
| CN106412996A (en) | Message forwarding method and device | |
| US10447579B2 (en) | Mobile gateway redundancy with active standby | |
| CN104333467B (en) | A kind of gateway proxy method and apparatus of track traffic wireless network links failure | |
| CN101730166A (en) | System and method for mobile IP | |
| US7852878B2 (en) | Apparatus and method for supporting establishment of network address of communication apparatus | |
| CN104540120A (en) | Route optimization method and system of mobile multicast supported by PMIPv6 | |
| JP5256129B2 (en) | Base station control device and radio packet processing device | |
| CN118102283A (en) | Network node configuration strategy for distributed mobile topology | |
| CN100499544C (en) | Method for mutual positioning between WiMAX cut-in service network gateways | |
| CN108011986B (en) | A method for guiding and forwarding data messages, access point device, and network device | |
| KR100942703B1 (en) | Distributed Address Management Method for Guaranteeing Terminal Mobility in Network | |
| US20060291424A1 (en) | Apparatus and method for performing fast handover | |
| KR101293303B1 (en) | System and method for simultaneously transmitting data in heterogeneous network | |
| CN104427553A (en) | Multicast group optimization method and anchor point | |
| KR101556031B1 (en) | Method and system of distributed mobility control on network | |
| EP1763203B1 (en) | Method for obtaining IP address allocation information in a mobile node. | |
| CN116321325A (en) | Method and device for switching management VLAN, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee after: RUIJIE NETWORKS Co.,Ltd. Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd. |
|
| CP01 | Change in the name or title of a patent holder |