CN103346945B - The data transmission method of CAPWAP tunnel, Apparatus and system - Google Patents

The data transmission method of CAPWAP tunnel, Apparatus and system Download PDF

Info

Publication number
CN103346945B
CN103346945B CN201310257039.7A CN201310257039A CN103346945B CN 103346945 B CN103346945 B CN 103346945B CN 201310257039 A CN201310257039 A CN 201310257039A CN 103346945 B CN103346945 B CN 103346945B
Authority
CN
China
Prior art keywords
sta
address information
data packet
wtp
corresponding relation
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.)
Expired - Fee Related
Application number
CN201310257039.7A
Other languages
Chinese (zh)
Other versions
CN103346945A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China 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 Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201310257039.7A priority Critical patent/CN103346945B/en
Publication of CN103346945A publication Critical patent/CN103346945A/en
Application granted granted Critical
Publication of CN103346945B publication Critical patent/CN103346945B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data transmission method of CAPWAP tunnel, Apparatus and system, in order to solve in existing CAPWAP tunnel technology, after subpackage is carried out more than the CAPWAP packet of MTU to data packet length, system processing resources outside CAPWAP packet occupying volume, reduce the problem of device throughput, in the embodiment of the present invention, WTP sets up the corresponding relation that the address information of STA and STA identify, and this corresponding relation is sent to AC, the address information of upstream data packet header is replaced with Agent address Information by WTP, and carry STA mark at upstream data packet header, after AC receives upstream data bag, according to described corresponding relation, determine the address information identifying corresponding STA with STA, the Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag, extra data packet length can not be produced.

Description

The data transmission method of CAPWAP tunnel, Apparatus and system
Technical field
The present invention relates to wireless communication system, particularly, relate to a kind of wireless access point control and data transmission method, the Apparatus and system in agreement (CAPWAP, ControlandProvisionforWirelessAccessPointProtocol) tunnel are provided.
Background technology
CAPWAP is that one is applied in thin WAP (wireless access point) (WTP, and access controller (AC WirelessTerminalPoint), AccessControl) tunnel between, how to communicate between CAPWAP protocol definition WTP and AC, and provide general encapsulation and a transmission mechanism for the interoperability realized between WTP and AC.
Fig. 1 shows the structure of the WLAN (wireless local area network) that thin WTP and AC is formed, and WTP is access website (STA, Station) wirelessly, and the CAPWAP by wired mode between WTP and AC communicates.Particularly, set up CAPWAP between WTP and AC and control tunnel, control tunnel by this CAPWAP and download the configuration parameters such as software version, radio frequency, power from AC, after utilizing these information to carry out corresponding configuration, and between AC, set up CAPWAP data tunnel.During transfer of data, WTP is to from website (STA, Station) after packet encapsulation CAPWAP data packet header, AC is sent to by CAPWAP data tunnel, WTP is received from after the CAPWAP packet of AC by CAPWAP data tunnel, namely decapsulation CAPWAP packet removes the head of CAPWAP packet, and by the Packet Generation after decapsulation to STA.
But current about in the technology of CAPWAP tunnel, the bag that encapsulation CAPWAP data packet header can increase packet is long, length for CAPWAP packet is greater than the MTU (MTU of link license, MaximumTransferUnit) CAPWAP packet, subpackage can be carried out to this CAPWAP packet, packet after subpackage equally also encapsulates CAPWAP data packet header, and the data volume of the head of CAPWAP packet is larger, CAPWAP packet after subpackage will increase a large amount of data volumes due to CAPWAP data packet header compared to former packet, thus the system consumption outside meeting occupying volume, affect device throughput.
Visible, in current CAPWAP tunnel technology, exist and more than the CAPWAP packet of MTU, subpackage is carried out to data packet length, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Summary of the invention
In view of this, embodiments provide a kind of data transmission method of CAPWAP tunnel, Apparatus and system, in order to solve in existing CAPWAP tunnel technology, more than the CAPWAP packet of MTU, subpackage is carried out to data packet length, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Embodiment of the present invention technical scheme is as follows:
A kind of data transmission method of CAPWAP tunnel, comprise: after WAP (wireless access point) WTP establishes CAPWAP tunnel between access controller AC, WTP receives the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel; Address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; Upstream data bag after replacement is sent to AC by CAPWAP tunnel by WTP; Upstream data after described replacement wraps in and is identified and described corresponding relation according to the STA of this upstream data packet header by AC, sends after the Agent address Information of this upstream data packet header being replaced with the address information of corresponding STA.
A kind of data transmission device of CAPWAP tunnel, comprise: corresponding relation module, after establishing CAPWAP tunnel at WAP (wireless access point) WTP belonging to described device between access controller AC, receive the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel; Uplink processing module, replaces with Agent address Information for the address information in the head of the upstream data bag by STA, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; Sending module, sends to AC for the upstream data bag after described uplink processing module being replaced by CAPWAP tunnel; Upstream data after described replacement wraps in and is identified and described corresponding relation according to the STA of this upstream data packet header by AC, sends after the Agent address Information of this upstream data packet header being replaced with the address information of corresponding STA.
A data transmission method for CAPWAP tunnel, comprising: WAP (wireless access point) WTP receives the downlink data packet from access controller AC by CAPWAP tunnel; Wherein, described downlink data packet is AC according to the address information of the STA in downlink data packet header and the address information of pre-recorded STA and the corresponding relation of STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies, the address information of the STA in downlink data packet header is replaced with Agent address Information, after the head of downlink data packet carries STA mark, send to WTP's, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP; The head that WTP resolves downlink data packet obtains site STA mark, according to the address information of each pre-recorded STA and the corresponding relation of STA mark, determines the address information identifying corresponding STA with obtained STA; Wherein, described corresponding relation is after WTP establishes CAPWAP tunnel between AC, and WTP learns that the address information of the upstream data packet header of each STA records; The Agent address Information of downlink data packet header is replaced with the address information of determined STA by WTP, and removes the STA mark be carried in downlink data packet; Downlink data packet after replacement is sent to STA by WTP.
A data transmission device for CAPWAP tunnel, comprising: receiver module, for being received the downlink data packet from access controller AC by CAPWAP tunnel; Wherein, described downlink data packet is AC according to the address information of the STA in downlink data packet header and the address information of pre-recorded STA and the corresponding relation of STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies, the address information of the STA in downlink data packet header is replaced with Agent address Information, after the head of downlink data packet carries STA mark, send to WTP's belonging to described device, in Agent address Information, source address information is the address information of AC, the address information of destination address information WTP belonging to described device; Downlink processing module, the head for resolving downlink data packet obtains site STA mark, according to the address information of each pre-recorded STA and the corresponding relation of STA mark, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet; Wherein, described corresponding relation is after belonging to described device, WTP establishes CAPWAP tunnel between AC, and WTP belonging to described device learns that the address information of the upstream data packet header of each STA records; Sending module, sends to STA for the downlink data packet after described downlink processing module being replaced.
A kind of data transmission method of CAPWAP tunnel, comprise: after access controller AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, AC is received by CAPWAP tunnel and the corresponding relation of the address information recorded from each STA of WTP and STA mark; AC receives the upstream data bag from WTP by CAPWAP tunnel; Wherein, the described upstream data bag from WTP is that the address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carry STA mark at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; The head that AC resolves upstream data bag obtains STA mark, according to described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of upstream data packet header is replaced with the address information of determined STA by AC, and removes the STA mark be carried in upstream data bag; AC sends the upstream data bag after replacing.
A kind of data transmission device of CAPWAP tunnel, comprise: corresponding relation module, for after establishing CAPWAP tunnel between access controller AC and WAP (wireless access point) WTP belonging to described device, received by CAPWAP tunnel and the corresponding relation of the address information recorded from each STA of WTP and STA mark; Uplink processing module, for receiving the upstream data bag from WTP by CAPWAP tunnel; Wherein, the described upstream data bag from WTP is that the address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carry STA mark at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; The head of resolving upstream data bag obtains STA mark, according to described corresponding relation, determine the address information identifying corresponding STA with obtained STA, the Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag; Sending module, for sending the upstream data bag after the replacement of described uplink processing module.
A kind of data transmission method of CAPWAP tunnel, comprise: after access controller AC receives downlink data packet, according to the address information of the STA in downlink data packet header and the corresponding relation of the pre-recorded address information recording each STA and STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; Wherein, described corresponding relation is after AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, and AC to be received from WTP by described CAPWAP and records; The address information of the STA in downlink data packet header is replaced with Agent address Information by AC, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP; Downlink data packet after replacement is sent to WTP by CAPWAP tunnel by AC; Downlink data after described replacement wraps in and is identified and described corresponding relation according to the STA of the head of this downlink data packet by WTP, the Agent address Information of this downlink data packet header is replaced with the address information of corresponding STA, and send to STA after removing the STA mark be carried in downlink data packet.
A data transmission device for CAPWAP tunnel, comprising: receiver module, for downlink data receiving bag; Downlink processing module, for according to the address information of the STA in downlink data packet header and the corresponding relation of the pre-recorded address information recording each STA and STA mark, determines that the STA corresponding with the address information of the STA in downlink data packet identifies; Wherein, described corresponding relation is after belonging to described device, access controller AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, and AC to be received from WTP by described CAPWAP and records; The address information of the STA in downlink data packet header is replaced with Agent address Information, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP; Sending module, for sending to WTP by the downlink data packet after replacement by CAPWAP tunnel; Downlink data after described replacement wraps in and is identified and described corresponding relation according to the STA of the head of this downlink data packet by WTP, the Agent address Information of this downlink data packet header is replaced with the address information of corresponding STA, and send to STA after removing the STA mark be carried in downlink data packet.
A data transmission system for CAPWAP tunnel, comprising: WAP (wireless access point) WTP and access controller AC; WTP, for establish CAPWAP tunnel between AC after, receive the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel; Address information in the head of the upstream data bag of STA is replaced with Agent address Information, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; Upstream data bag after replacing is sent to AC by CAPWAP tunnel; The downlink data packet from access controller AC is received by CAPWAP tunnel; The head of resolving downlink data packet obtains site STA mark, according to pre-recorded described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet; Downlink data packet after replacing is sent to STA; AC, for establish CAPWAP tunnel between WTP after, is received by CAPWAP tunnel and records from corresponding relation described in WTP; The upstream data bag from WTP is received by CAPWAP tunnel; The head of resolving upstream data bag obtains STA mark, according to described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag; Send the upstream data bag after replacing; After receiving downlink data packet, according to address information and the described corresponding relation of the STA in downlink data packet header, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; The address information of the STA in downlink data packet header is replaced with Agent address Information, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP; Downlink data packet after replacing is sent to WTP by CAPWAP tunnel.
In the embodiment of the present invention, WTP is by the address information of upstream data bag study STA, set up the corresponding relation that the address information of STA and STA identify, and this corresponding relation is sent to AC, for upstream data bag, the address information of upstream data packet header is replaced with Agent address Information by WTP, in Agent address Information, source address information is the address information of WTP, destination address information is the address information of AC, and carry STA mark at upstream data packet header, upstream data bag after replacement is sent to AC by CAPWAP tunnel by WTP, after AC receives upstream data bag, resolve the STA mark obtaining upstream data packet header, according to described corresponding relation, determine the address information identifying corresponding STA with obtained STA, the Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag, upstream data bag is sent according to the address information in the upstream data bag after replacement, for downlink data packet, after AC receives downlink data packet, according to the address information in downlink data packet header and described corresponding relation, determine that the STA corresponding with the address information in downlink data packet identifies, address information in downlink data packet header is replaced with Agent address Information, and carry STA mark at the head of downlink data packet, downlink data packet after replacing is sent to WTP by CAPWAP tunnel, the head that WTP resolves downlink data packet obtains STA mark, according to recorded described corresponding relation, determine the address information identifying corresponding STA with obtained STA, the Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet, downlink data packet after replacing is sent to STA, thus, the corresponding relation that can be identified by the address information and STA setting up STA, and sent in the process of uplink/downlink packet by CAPWAP tunnel, the address information of uplink/downlink data packet header is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, need not judge that whether packet is more than MTU, also subpackage is not carried out to uplink/downlink packet, address information by means of only replacement data packet header just can realize the transmission of packet in CAPWAP tunnel, thus do not produce extra data packet length and data volume, data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the WLAN (wireless local area network) that in prior art, thin WTP and AC is formed;
The workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 2 provides for the embodiment of the present invention;
The structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 3 provides for the embodiment of the present invention;
Another workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 4 provides for the embodiment of the present invention;
Another structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 5 provides for the embodiment of the present invention;
Another workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 6 provides for the embodiment of the present invention;
Another structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 7 provides for the embodiment of the present invention;
Another workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 8 provides for the embodiment of the present invention;
Another structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 9 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described, should be appreciated that embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
For in existing CAPWAP tunnel technology, more than the CAPWAP packet of MTU, subpackage is carried out to data packet length, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput, the embodiment of the present invention proposes a kind of data transmission method and device of CAPWAP tunnel, in order to solve this problem.
In embodiments of the present invention, WTP learns the address information of STA, set up the address information of STA and the corresponding relation of STA mark, and this corresponding relation is sent to AC, sent in the process of uplink/downlink packet by CAPWAP tunnel, WTP or AC is according to described corresponding relation, the address information of uplink/downlink data packet header is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, and send the uplink/downlink packet after replacing by CAPWAP tunnel, need not judge that whether packet is more than MTU, also subpackage is not carried out to uplink/downlink packet, address information by means of only replacement data packet header just can realize the transmission of packet in CAPWAP tunnel, thus do not produce extra data packet length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the long occupying volume of CAPWAP data packet header after transmitting subpackage, reduce the problem of device throughput.
Embodiment one
Fig. 2 shows the workflow diagram of the data transmission method of the CAPWAP tunnel that the embodiment of the present invention provides, and the method is applied in WTP, and the method comprises:
After step 201, WTP establish CAPWAP tunnel between AC, WTP receives the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel;
Particularly, in the process of embody rule, for current STA, that triggers at WTP once floods in operation, WTP extracts the address information of the upstream data packet header of current STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel;
Preferably, WTP records in the address information of each STA and the processing procedure of STA mark, and the order of the pointer that can identify according to each STA, is designated index record with STA and stores described corresponding relation;
Preferably, when the address information of STA changes, WTP relearns the address of STA, and is updated in described corresponding relation by the address information relearned, and the corresponding relation after upgrading is sent to AC;
Address information in the head of the upstream data bag of STA is replaced with Agent address Information by step 202, WTP, and carry STA mark at the head of upstream data bag, wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC;
In the process of embody rule, replace in the process of the address information in upstream data packet header, WTP and AC also can arrange a replacement data packet header, the length of this replacement data packet header is identical with the length of upstream data bag, address information in replacement data packet header is Agent address Information, and in this replacement data packet header definition STA flag, other structure of replacement data packet header is identical with upstream data packet header;
Then, before the process of replacing the address information in upstream data packet header, the data packet header of STA is saved in described corresponding relation by WTP, in the processing procedure of replacing the address information in upstream data packet header, directly can replace upstream data packet header with replacement data packet header, and in replacement data packet header, STA flag carries STA mark, stores the head of the packet of this STA; By replacing upstream data packet header, the processing time can be saved, improve treatment effeciency;
Step 203, by replace after upstream data bag send to AC by CAPWAP tunnel.
Further, upstream data bag after this replacement identifies by AC and described corresponding relation according to the STA of this upstream data packet header, the Agent address Information of this upstream data packet header is replaced with the address information of corresponding STA, and send the upstream data bag after this replacement.
By the method shown in Fig. 2, WTP learns the address information of STA, set up the address information of STA and the corresponding relation of STA mark, and this corresponding relation is sent to AC, sent in the process of upstream data bag by CAPWAP tunnel, WTP need not judge that whether upstream data bag is more than MTU, also subpackage need not be carried out to upstream data bag, according to described corresponding relation, the address information of the upstream data packet header of STA is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, thus the address information of only carrying out data packet header on the basis of former upstream data bag is replaced and just can be realized upstream data and wrap in transmission in CAPWAP tunnel, do not produce extra data packet length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP data packet header after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the long occupying volume of CAPWAP packet after transmitting subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the present invention additionally provides a kind of data transmission device of CAPWAP tunnel, and this device is arranged in WTP, and as shown in Figure 3, this device comprises:
Corresponding relation module 31, for after establishing CAPWAP tunnel between WTP and AC belonging to described device, receive the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel;
Particularly, corresponding relation module 31, for current STA, flooding in operation of triggering, extracts the address information of the upstream data packet header of current STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel;
Preferably, the order of the pointer that corresponding relation module 31 identifies according to each STA, is designated index record with STA and stores described corresponding relation;
Uplink processing module 32, is connected to corresponding relation module 31, replaces with Agent address Information for the address information in the head of the upstream data bag by STA, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC;
Sending module 33, is connected to uplink processing module 32, sends to AC for the upstream data bag after uplink processing module 32 being replaced by CAPWAP tunnel.
The operation principle of Fig. 3 shown device as shown in Figure 2, repeats no more here.
By device as shown in Figure 3, the address information of study STA, set up the address information of STA and the corresponding relation of STA mark, and this corresponding relation is sent to AC, sent in the process of upstream data bag by CAPWAP tunnel, WTP is according to described corresponding relation, the address information of the upstream data packet header of STA is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, thus the address information of only carrying out data packet header on the basis of former upstream data bag replaces the transmission that just can realize upstream data bag, do not produce extra data packet length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Embodiment two
Fig. 4 shows the workflow diagram of the data transmission method of the CAPWAP tunnel that the embodiment of the present invention provides, and the method is applied in WTP, and the method comprises:
Step 401, WTP receive the downlink data packet from AC by CAPWAP tunnel; Wherein, described downlink data packet is AC according to the address information of the STA in downlink data packet header and the address information of pre-recorded STA and the corresponding relation of STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies, the address information of the STA in downlink data packet header is replaced with Agent address Information, after the head of downlink data packet carries STA mark, send to WTP's, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP;
The head that step 402, WTP resolve downlink data packet obtains site STA mark, according to the address information of each pre-recorded STA and the corresponding relation of STA mark, determines the address information identifying corresponding STA with obtained STA; Wherein, described corresponding relation is after WTP establishes CAPWAP tunnel between AC, and WTP learns that the address information of the upstream data packet header of each STA records;
Preferably, record is carried out owing to adopting STA to be designated index when recording described corresponding relation, then, determine to identify in the process of the address information of corresponding STA with obtained STA at WTP, pointer according to the STA mark obtained is inquired about and determines to identify with obtained STA the address information of corresponding STA in described corresponding relation, the complexity of query processing can be reduced like this, make the complexity of query processing be O (1);
The Agent address Information of downlink data packet header is replaced with the address information of determined STA by step 403, WTP, and removes the STA mark be carried in downlink data packet;
Preferably, corresponding with above-mentioned steps 202, if adopt the process means of replacement data packet header, then, for downlink data packet, the head of the packet of stored STA can be replaced downlink data packet header;
Downlink data packet after replacement is sent to STA by step 404, WTP.
By the method shown in Fig. 4, WTP is by CAPWAP tunnel downlink data receiving bag, according to the mark of the STA in downlink data packet and the address information of STA set up in advance and the corresponding relation of STA mark, according to determining the address information identifying corresponding STA with STA, and downlink data packet header Agent address Information is replaced with the address information of STA, downlink data packet after replacing is sent to STA, downlink data can be realized by the address information of replacing downlink data packet header and wrap in transmission in CAPWAP tunnel, downlink data packet after replacement does not increase extra length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the long system processing resources caused outside occupying volume of CAPWAP data packet header after subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the present invention additionally provides a kind of data transmission device of CAPWAP tunnel, and this device is arranged in WTP, and as shown in Figure 5, this device comprises:
Receiver module 51, for receiving the downlink data packet from access controller AC by CAPWAP tunnel; Wherein, described downlink data packet is AC according to the address information of the STA in downlink data packet header and the address information of pre-recorded STA and the corresponding relation of STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies, the address information of the STA in downlink data packet header is replaced with Agent address Information, after the head of downlink data packet carries STA mark, send to WTP's belonging to described device, in Agent address Information, source address information is the address information of AC, the address information of destination address information WTP belonging to described device;
Downlink processing module 52, be connected to receiver module 51, head for resolving downlink data packet obtains site STA mark, according to the address information of each pre-recorded STA and the corresponding relation of STA mark, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet; Wherein, described corresponding relation is after belonging to described device, WTP establishes CAPWAP tunnel between AC, and WTP belonging to described device learns that the address information of the upstream data packet header of each STA records;
Preferably, downlink processing module 52 is inquired about according to the pointer of the STA mark obtained and determines to identify with obtained STA the address information of corresponding STA in described corresponding relation; Wherein, described corresponding relation is the order of the pointer identified according to each STA, is designated that index record stores with STA;
Sending module 53, is connected to downlink processing module 52, sends to STA for the downlink data packet after described downlink processing module 52 being replaced.
The operation principle of Fig. 5 shown device as shown in Figure 4, repeats no more here.
By the device shown in Fig. 5, by CAPWAP tunnel downlink data receiving bag, according to the mark of the STA in downlink data packet and the address information of STA set up in advance and the corresponding relation of STA mark, according to determining the address information identifying corresponding STA with STA, and downlink data packet header Agent address Information is replaced with the address information of STA, downlink data packet after replacing is sent to STA, downlink data can be realized by the address information of replacing downlink data packet header and wrap in transmission in CAPWAP tunnel, downlink data packet after replacement does not increase extra length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Embodiment three
Fig. 6 shows the workflow diagram of the data transmission method of the CAPWAP tunnel that the embodiment of the present invention provides, and the method is applied in AC, and the method comprises:
After step 601, AC establish CAPWAP tunnel between WTP, AC is received by CAPWAP tunnel and the corresponding relation of the address information recorded from each STA of WTP and STA mark;
Particularly, in the process of embody rule, after AC receives described corresponding relation, trigger the operation that once floods, flood in operation triggered, record the address information of each STA received and the corresponding relation of STA mark;
Preferably, after AC receives described corresponding relation, according to the order of the pointer of the source IP address in the address information of each STA or object IP address, with the source IP address in the address information of STA or object IP address for index record stores described corresponding relation;
Step 602, AC receive the upstream data bag from WTP by CAPWAP tunnel; Wherein, the described upstream data bag from WTP is that the address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carry STA mark at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC;
The head that step 603, AC resolve upstream data bag obtains STA mark, according to described corresponding relation, determines the address information identifying corresponding STA with obtained STA;
The Agent address Information of upstream data packet header is replaced with the address information of determined STA by step 604, AC, and removes the STA mark be carried in upstream data bag;
Corresponding with above-mentioned steps 202, if WTP constructs replacement data packet header, and adopt replacement data packet header to replace the head of upstream data bag, WTP sends to the header information also comprising the packet of STA in the described corresponding relation of AC, then, the data packet header of the STA preserved in corresponding relation directly can be replaced the head from the packet of WTP by AC;
Step 605, AC send the upstream data bag after replacing;
By method as shown in Figure 6, AC receives the corresponding relation identified from address information and the STA of the STA of WTP, received in the process of upstream data bag by CAPWAP tunnel, AC is according to described corresponding relation, the Agent address Information of the upstream data packet header from WTP is replaced with the address information of STA, Agent address Information comprises WTP address information and AC address information, upstream data can be realized by the address information of replacing upstream data packet header and wrap in transmission in CAPWAP tunnel, upstream data bag after replacement does not increase extra length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the present invention additionally provides a kind of data transmission device of CAPWAP tunnel, and this device is arranged in AC, and as shown in Figure 7, this device comprises:
Corresponding relation module 71, for receiving by CAPWAP tunnel and the corresponding relation of the address information recorded from each STA of WTP and STA mark after establishing CAPWAP tunnel between AC and WTP belonging to described device;
Particularly, corresponding relation module 71 floods in operation what trigger, records the address information of each STA received and the corresponding relation of STA mark;
Preferably, corresponding relation module 71 according to the order of the pointer of the source IP address in the address information of each STA or object IP address, with the source IP address in the address information of STA or object IP address for index record stores described corresponding relation;
Uplink processing module 72, is connected to corresponding relation module 71, for being received the upstream data bag from WTP by CAPWAP tunnel; Wherein, the described upstream data bag from WTP is that the address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carry STA mark at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; The head of resolving upstream data bag obtains STA mark, according to described corresponding relation, determine the address information identifying corresponding STA with obtained STA, the Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag;
Sending module 73, is connected to uplink processing module 72, for sending the upstream data bag after the replacement of described uplink processing module 72.
The operation principle of Fig. 7 shown device as shown in Figure 6, repeats no more here.
Device according to Fig. 7, receive the corresponding relation identified from address information and the STA of the STA of WTP, received in the process of upstream data bag by CAPWAP tunnel, AC is according to described corresponding relation, the Agent address Information of the upstream data packet header from WTP is replaced with the raw address information of STA, Agent address Information comprises WTP address information and AC address information, upstream data can be realized by the address information of replacing upstream data packet header and wrap in transmission in CAPWAP tunnel, upstream data bag after replacement does not increase extra length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Embodiment four
Fig. 8 shows the workflow diagram of the data transmission method of the CAPWAP tunnel that the embodiment of the present invention provides, and the method is applied in AC, and the method comprises:
After step 801, AC receive downlink data packet, according to the address information of the STA in downlink data packet header and the corresponding relation of the pre-recorded address information recording each STA and STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; Wherein, described corresponding relation is after AC establishes CAPWAP tunnel between WTP, and AC to be received from WTP by described CAPWAP and records;
The address information of the STA in downlink data packet header is replaced with Agent address Information by step 802, AC, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP;
Downlink data packet after replacement is sent to WTP by CAPWAP tunnel by step 803, AC;
Further, downlink data packet after described replacement identifies by WTP and described corresponding relation according to the STA of the head of this downlink data packet, the Agent address Information of this downlink data packet header is replaced with the address information of corresponding STA, and remove the STA mark be carried in downlink data packet, the downlink data packet after replacement is sent to STA by WTP;
Preferably, corresponding with above-mentioned steps 601, AC inquires about according to the pointer of the source IP address in the address information of the STA in downlink data packet or object IP address and determines that the STA corresponding with the STA address information in downlink data packet identifies in described corresponding relation;
Preferably, corresponding with above-mentioned steps 604, if adopt the process means of replacement data packet header, then, for downlink data packet, AC adopts the replacement data packet header of arranging with WTP to replace the head of downlink data packet, and the STA flag in replacement data packet header carries the mark of STA.
By method as shown in Figure 8, AC need not judge that whether downlink data packet is more than MTU, also subpackage need not be carried out to downlink data packet, AC is according to the address information of the STA in downlink data packet and described corresponding relation, determine the mark of STA, the address information of the STA in downlink data packet header is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, and send the downlink data packet after replacing by CAPWAP tunnel, thus the address information of only carrying out data packet header on the basis of former downlink data packet is replaced and just can be realized downlink data and wrap in transmission in CAPWAP tunnel, do not produce extra data packet length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the present invention additionally provides a kind of data transmission device of CAPWAP tunnel, and this application of installation is in AC, and as shown in Figure 9, this device comprises:
Receiver module 91, for downlink data receiving bag;
Downlink processing module 92, be connected to receiver module 91, for according to the address information of the STA in downlink data packet header and the corresponding relation of the pre-recorded address information recording each STA and STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; Wherein, described corresponding relation is after belonging to described device, access controller AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, and AC to be received from WTP by described CAPWAP and records; The address information of the STA in downlink data packet header is replaced with Agent address Information, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP;
Preferably, downlink processing module 92 is inquired about according to the pointer of the source IP address in the address information of the STA in downlink data packet or object IP address and determines that the STA corresponding with the STA address information in downlink data packet identifies in described corresponding relation;
Sending module 93, is connected to downlink processing module 92, for the downlink data packet after replacement is sent to WTP by CAPWAP tunnel; Downlink data after described replacement wraps in and is identified and described corresponding relation according to the STA of the head of this downlink data packet by WTP, the Agent address Information of this downlink data packet header is replaced with the address information of corresponding STA, and send to STA after removing the STA mark be carried in downlink data packet.
The operation principle of Fig. 9 shown device as shown in Figure 8, repeats no more here.
By device as shown in Figure 9, need not judge that whether downlink data packet is more than MTU, also subpackage need not be carried out to downlink data packet, according to address information and the described corresponding relation of the STA in downlink data packet, determine the mark of STA, the address information of the STA in downlink data packet header is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, and send the downlink data packet after replacing by CAPWAP tunnel, thus the address information of only carrying out data packet header on the basis of former downlink data packet is replaced and just can be realized downlink data and wrap in transmission in CAPWAP tunnel, do not produce extra data packet length and data volume, CAPWAP data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
Embodiment five
The embodiment of the present invention additionally provides a kind of data transmission system of CAPWAP tunnel, and the structure of this system can as shown in Figure 1, and this system comprises WTP and AC;
WTP, for establish CAPWAP tunnel between AC after, receive the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel; Address information in the head of the upstream data bag of STA is replaced with Agent address Information, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; Upstream data bag after replacing is sent to AC by CAPWAP tunnel; The downlink data packet from access controller AC is received by CAPWAP tunnel; The head of resolving downlink data packet obtains site STA mark, according to pre-recorded described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet; Downlink data packet after replacing is sent to STA;
AC, for establish CAPWAP tunnel between WTP after, is received by CAPWAP tunnel and records from corresponding relation described in WTP; The upstream data bag from WTP is received by CAPWAP tunnel; The head of resolving upstream data bag obtains STA mark, according to described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag; Send the upstream data bag after replacing; After receiving downlink data packet, according to address information and the described corresponding relation of the STA in downlink data packet header, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; The address information of the STA in downlink data packet header is replaced with Agent address Information, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP; Downlink data packet after replacing is sent to WTP by CAPWAP tunnel.
The operation principle of said system, as shown in Fig. 2, Fig. 4, Fig. 6 and Fig. 8, is not repeating here.
Pass through said system, sent in the process of uplink/downlink packet by CAPWAP tunnel, the address information of uplink/downlink data packet header is replaced with Agent address Information, Agent address Information comprises WTP address information and AC address information, need not judge that whether packet is more than MTU, also subpackage is not carried out to uplink/downlink packet, address information by means of only replacement data packet header just can realize the transmission of packet in CAPWAP tunnel, thus do not produce extra data packet length and data volume, data packet length can be avoided to carry out subpackage more than the packet of MTU, the mass data amount that CAPWAP packet after subpackage increases due to CAPWAP data packet header, cause the system processing resources outside the CAPWAP packet occupying volume after transmitting subpackage, reduce the problem of device throughput.
One of ordinary skill in the art will appreciate that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (21)

1. wireless access point control and provide the data transmission method of agreement CAPWAP tunnel, is characterized in that, comprising:
After WAP (wireless access point) WTP establishes CAPWAP tunnel between access controller AC, WTP receives the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel;
Address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC;
Upstream data bag after replacement is sent to AC by CAPWAP tunnel by WTP; Upstream data bag after described replacement is identified and described corresponding relation according to the STA of this upstream data packet header by AC again, sends after the Agent address Information of this upstream data packet header being replaced with the address information of corresponding STA.
2. method according to claim 1, it is characterized in that, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel, specifically comprises:
For current STA, that triggers at WTP once floods in operation, WTP extracts the address information of the upstream data packet header of current STA, records the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel.
3. according to the method for claim 1 or 2, it is characterized in that, record the address information of each STA and the corresponding relation of STA mark, specifically comprise:
The order of the pointer identified according to each STA, is designated index record with STA and stores described corresponding relation.
4. wireless access point control and provide the data transmission device of agreement CAPWAP tunnel, is characterized in that, comprising:
Corresponding relation module, after establishing CAPWAP tunnel at WAP (wireless access point) WTP belonging to described device between access controller AC, receive the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel;
Uplink processing module, replaces with Agent address Information for the address information in the head of the upstream data bag by STA, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC;
Sending module, sends to AC for the upstream data bag after described uplink processing module being replaced by CAPWAP tunnel; Upstream data bag after described replacement is identified and described corresponding relation according to the STA of this upstream data packet header by AC again, sends after the Agent address Information of this upstream data packet header being replaced with the address information of corresponding STA.
5. device according to claim 4, is characterized in that, described corresponding relation module, specifically for:
For current STA, flooding in operation of triggering, extract the address information of the upstream data packet header of current STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel.
6. the device according to claim 4 or 5, is characterized in that, described corresponding relation module, specifically for:
The order of the pointer identified according to each STA, is designated index record with STA and stores described corresponding relation.
7. wireless access point control and provide the data transmission method of agreement CAPWAP tunnel, is characterized in that, comprising:
WAP (wireless access point) WTP receives the downlink data packet from access controller AC by CAPWAP tunnel; Wherein, described downlink data packet is AC according to the address information of the site STA in downlink data packet header and the address information of pre-recorded STA and the corresponding relation of STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies, the address information of the STA in downlink data packet header is replaced with Agent address Information, after the head of downlink data packet carries STA mark, send to WTP's, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP;
The head that WTP resolves downlink data packet obtains site STA mark, according to the address information of each pre-recorded STA and the corresponding relation of STA mark, determines the address information identifying corresponding STA with obtained STA; Wherein, described corresponding relation is after WTP establishes CAPWAP tunnel between AC, and WTP learns that the address information of the upstream data packet header of each STA records;
The Agent address Information of downlink data packet header is replaced with the address information of determined STA by WTP, and removes the STA mark be carried in downlink data packet;
Downlink data packet after replacement is sent to STA by WTP.
8. method according to claim 7, is characterized in that, determines the address information identifying corresponding STA with obtained STA, specifically comprises:
WTP inquires about according to the pointer of the STA mark obtained and determines to identify with obtained STA the address information of corresponding STA in described corresponding relation; Wherein, described corresponding relation is the order of the pointer identified according to each STA, is designated that index record stores with STA.
9. wireless access point control and provide the data transmission device of agreement CAPWAP tunnel, is characterized in that, comprising:
Receiver module, for receiving the downlink data packet from access controller AC by CAPWAP tunnel; Wherein, described downlink data packet is AC according to the address information of the site STA in downlink data packet header and the address information of pre-recorded STA and the corresponding relation of STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies, the address information of the STA in downlink data packet header is replaced with Agent address Information, after the head of downlink data packet carries STA mark, send to WTP's belonging to described device, in Agent address Information, source address information is the address information of AC, the address information of destination address information WTP belonging to described device;
Downlink processing module, the head for resolving downlink data packet obtains site STA mark, according to the address information of each pre-recorded STA and the corresponding relation of STA mark, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet; Wherein, described corresponding relation is after belonging to described device, WTP establishes CAPWAP tunnel between AC, and WTP belonging to described device learns that the address information of the upstream data packet header of each STA records;
Sending module, sends to STA for the downlink data packet after described downlink processing module being replaced.
10. device according to claim 9, is characterized in that, described downlink processing module, specifically for:
Pointer according to the STA mark obtained is inquired about and determines to identify with obtained STA the address information of corresponding STA in described corresponding relation; Wherein, described corresponding relation is the order of the pointer identified according to each STA, is designated that index record stores with STA.
11. 1 kinds of wireless access point control and provide the data transmission method of agreement CAPWAP tunnel, is characterized in that, comprising:
After access controller AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, AC is received by CAPWAP tunnel and the corresponding relation of the address information recorded from each site STA of WTP and STA mark;
AC receives the upstream data bag from WTP by CAPWAP tunnel; Wherein, the described upstream data bag from WTP is that the address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carry STA mark at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC;
The head that AC resolves upstream data bag obtains STA mark, according to described corresponding relation, determines the address information identifying corresponding STA with obtained STA;
The Agent address Information of upstream data packet header is replaced with the address information of determined STA by AC, and removes the STA mark be carried in upstream data bag;
AC sends the upstream data bag after replacing.
12. methods according to claim 11, is characterized in that, the address information of AC record from each STA of WTP and the corresponding relation of STA mark, specifically comprise:
AC floods in operation what trigger, records the address information of each STA received and the corresponding relation of STA mark.
13. methods according to claim 11 or 12, it is characterized in that, described method also comprises:
AC according to the order of the pointer of the source IP address in the address information of each STA or object IP address, with the source IP address in the address information of STA or object IP address for index record stores described corresponding relation.
14. 1 kinds of wireless access point control and provide the data transmission device of agreement CAPWAP tunnel, is characterized in that, comprising:
Corresponding relation module, for after establishing CAPWAP tunnel between access controller AC and WAP (wireless access point) WTP belonging to described device, is received by CAPWAP tunnel and the corresponding relation of the address information recorded from each site STA of WTP and STA mark;
Uplink processing module, for receiving the upstream data bag from WTP by CAPWAP tunnel; Wherein, the described upstream data bag from WTP is that the address information in the head of the upstream data bag of STA is replaced with Agent address Information by WTP, and carry STA mark at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; The head of resolving upstream data bag obtains STA mark, according to described corresponding relation, determine the address information identifying corresponding STA with obtained STA, the Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag;
Sending module, for sending the upstream data bag after the replacement of described uplink processing module.
15. devices according to claim 14, is characterized in that, described corresponding relation module, specifically for:
Flood in operation what trigger, record the address information of each STA received and the corresponding relation of STA mark.
16. devices according to claims 14 or 15, is characterized in that, described corresponding relation module, specifically for:
According to the order of the pointer of the source IP address in the address information of each STA or object IP address, with the source IP address in the address information of STA or object IP address for index record stores described corresponding relation.
17. 1 kinds of wireless access point control and provide the data transmission method of agreement CAPWAP tunnel, is characterized in that, comprising:
After access controller AC receives downlink data packet, according to the address information of the site STA in downlink data packet header and the corresponding relation of the pre-recorded address information recording each STA and STA mark, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; Wherein, described corresponding relation is after AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, and AC to be received from WTP by described CAPWAP and records;
The address information of the STA in downlink data packet header is replaced with Agent address Information by AC, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP;
Downlink data packet after replacement is sent to WTP by CAPWAP tunnel by AC; Downlink data after described replacement wraps in and is identified and described corresponding relation according to the STA of the head of this downlink data packet by WTP, the Agent address Information of this downlink data packet header is replaced with the address information of corresponding STA, and send to STA after removing the STA mark be carried in downlink data packet.
18. methods according to claim 17, is characterized in that, described method also comprises:
AC inquires about according to the pointer of the source IP address in the address information of the STA in downlink data packet or object IP address and determines that the STA corresponding with the STA address information in downlink data packet identifies in described corresponding relation; Wherein, described corresponding relation is the order of the pointer according to the source IP address in the address information of each STA or object IP address, with the source IP address in the address information of STA or object IP address for index record stores.
19. 1 kinds of wireless access point control and provide the data transmission device of agreement CAPWAP tunnel, is characterized in that, comprising:
Receiver module, for downlink data receiving bag;
Downlink processing module, for according to the address information of the site STA in downlink data packet header and the corresponding relation of the pre-recorded address information recording each STA and STA mark, determines that the STA corresponding with the address information of the STA in downlink data packet identifies; Wherein, described corresponding relation is after belonging to described device, access controller AC establishes CAPWAP tunnel between WAP (wireless access point) WTP, and AC to be received from WTP by described CAPWAP and records; The address information of the STA in downlink data packet header is replaced with Agent address Information, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP;
Sending module, for sending to WTP by the downlink data packet after replacement by CAPWAP tunnel; Downlink data after described replacement wraps in and is identified and described corresponding relation according to the STA of the head of this downlink data packet by WTP, the Agent address Information of this downlink data packet header is replaced with the address information of corresponding STA, and send to STA after removing the STA mark be carried in downlink data packet.
20. devices according to claim 19, is characterized in that, described downlink processing module, specifically for:
Pointer according to the source IP address in the address information of the STA in downlink data packet or object IP address is inquired about and determines that the STA corresponding with the STA address information in downlink data packet identifies in described corresponding relation; Wherein, described corresponding relation is the order of the pointer according to the source IP address in the address information of each STA or object IP address, with the source IP address in the address information of STA or object IP address for index record stores.
21. 1 kinds of wireless access point control and provide the data transmission system of agreement CAPWAP tunnel, is characterized in that, comprising: WAP (wireless access point) WTP and access controller AC;
WTP, for establish CAPWAP tunnel between AC after, receive the upstream data bag from each site STA, learn the address information of the upstream data packet header of each STA, record the address information of each STA and the corresponding relation of STA mark, the described corresponding relation of record is sent to AC by CAPWAP tunnel; Address information in the head of the upstream data bag of STA is replaced with Agent address Information, and carries STA mark at the head of upstream data bag; Wherein, in Agent address Information, source address information is the address information of WTP, and destination address information is the address information of AC; Upstream data bag after replacing is sent to AC by CAPWAP tunnel; The downlink data packet from access controller AC is received by CAPWAP tunnel; The head of resolving downlink data packet obtains site STA mark, according to pre-recorded described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of downlink data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in downlink data packet; Downlink data packet after replacing is sent to STA;
AC, for establish CAPWAP tunnel between WTP after, is received by CAPWAP tunnel and records from corresponding relation described in WTP; The upstream data bag from WTP is received by CAPWAP tunnel; The head of resolving upstream data bag obtains STA mark, according to described corresponding relation, determines the address information identifying corresponding STA with obtained STA; The Agent address Information of upstream data packet header is replaced with the address information of determined STA, and remove the STA mark be carried in upstream data bag; Send the upstream data bag after replacing; After receiving downlink data packet, according to address information and the described corresponding relation of the STA in downlink data packet header, determine that the STA corresponding with the address information of the STA in downlink data packet identifies; The address information of the STA in downlink data packet header is replaced with Agent address Information, and carries STA mark at the head of downlink data packet; Wherein, in Agent address Information, source address information is the address information of AC, and destination address information is the address information of WTP; Downlink data packet after replacing is sent to WTP by CAPWAP tunnel.
CN201310257039.7A 2013-06-25 2013-06-25 The data transmission method of CAPWAP tunnel, Apparatus and system Expired - Fee Related CN103346945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310257039.7A CN103346945B (en) 2013-06-25 2013-06-25 The data transmission method of CAPWAP tunnel, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310257039.7A CN103346945B (en) 2013-06-25 2013-06-25 The data transmission method of CAPWAP tunnel, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103346945A CN103346945A (en) 2013-10-09
CN103346945B true CN103346945B (en) 2016-04-13

Family

ID=49281721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310257039.7A Expired - Fee Related CN103346945B (en) 2013-06-25 2013-06-25 The data transmission method of CAPWAP tunnel, Apparatus and system

Country Status (1)

Country Link
CN (1) CN103346945B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917658B (en) * 2014-03-10 2018-06-26 中国移动通信集团内蒙古有限公司 A kind of information acquisition method, equipment and system
CN104168554B (en) * 2014-07-21 2018-08-24 新华三技术有限公司 A kind of method and apparatus that AC is communicated with STA
CN107800758B (en) * 2017-03-28 2020-07-24 平安壹钱包电子商务有限公司 Wind control data processing method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972230A (en) * 2006-11-09 2007-05-30 杭州华为三康技术有限公司 A broadcasting method and access controller for wireless LAN address resolution protocol
CN102088743A (en) * 2009-12-02 2011-06-08 上海贝尔股份有限公司 Method for improving switchover process in wireless local area network, network unit and system
EP2469961A1 (en) * 2010-01-13 2012-06-27 Huawei Technologies Co., Ltd. Method, apparatus and network system for tunnel establishment
CN102946351A (en) * 2012-10-23 2013-02-27 杭州华三通信技术有限公司 Data transmission method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972230A (en) * 2006-11-09 2007-05-30 杭州华为三康技术有限公司 A broadcasting method and access controller for wireless LAN address resolution protocol
CN102088743A (en) * 2009-12-02 2011-06-08 上海贝尔股份有限公司 Method for improving switchover process in wireless local area network, network unit and system
EP2469961A1 (en) * 2010-01-13 2012-06-27 Huawei Technologies Co., Ltd. Method, apparatus and network system for tunnel establishment
CN102946351A (en) * 2012-10-23 2013-02-27 杭州华三通信技术有限公司 Data transmission method and system

Also Published As

Publication number Publication date
CN103346945A (en) 2013-10-09

Similar Documents

Publication Publication Date Title
JP7440562B2 (en) Information transmission method and device
CN111050361B (en) Message transmission method, device and system
CN105122672B (en) small data communication
CN108737124B (en) Information notification method and device
WO2016197804A1 (en) Method and device for compressing data packet
CN108737127B (en) Information notification method and device
US11272337B2 (en) Mobile communication system, MME, terminals and method for communication
JP7100135B6 (en) Data transmission control method and related products
CN105188056A (en) Method and device for connecting WiFi (Wireless Fidelity) equipment with access point
US11665526B2 (en) System and method for managing SoR information in UE
CN107182089A (en) Frame specification for wireless communication
CN111628957B (en) Data transmission method and network equipment
CN103346945B (en) The data transmission method of CAPWAP tunnel, Apparatus and system
CN103297311A (en) Method and device for achieving control and provision for wireless access point protocol (CAPWAP) data tunnels
CN104521220A (en) Method and device for message processing
CN102158899A (en) Data forwarding method in relay network, device and system
CN103686906B (en) Method for switching network, terminal equipment and gateway equipment
CN104079371B (en) A kind of data communications method, equipment and system
CN103533574A (en) Method and device for data transmission between wireless sensor network and internet
EP3289783B1 (en) Session continuity for ipv6 over bluetooth low energy
CN105517020A (en) Configuration parameter updating method and apparatus
CN104754549A (en) Mobility management method, device and system, evolved base station and gateway equipment
EP2477437B1 (en) Method and device for operating and managing memory
CN104284383A (en) Method and device for keeping service continuity
CN107659966A (en) Data transmission method, the network equipment, user terminal, gateway device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160413

Termination date: 20210625

CF01 Termination of patent right due to non-payment of annual fee