CN103346945A - Method, device and system for transmitting data of CAPWAP tunnel - Google Patents
Method, device and system for transmitting data of CAPWAP tunnel Download PDFInfo
- Publication number
- CN103346945A CN103346945A CN2013102570397A CN201310257039A CN103346945A CN 103346945 A CN103346945 A CN 103346945A CN 2013102570397 A CN2013102570397 A CN 2013102570397A CN 201310257039 A CN201310257039 A CN 201310257039A CN 103346945 A CN103346945 A CN 103346945A
- 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.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method, device and system for transmitting data of a CAPWAP tunnel. The method, device and system is used for solving the problems that in an existing CAPWAP tunnel technology, after CAPWAP data packages with the data package length larger than that of an MTU are subpackaged, the CAPWAP data packages occupy extra system processing resources, and the throughout capacity of equipment is lowered. According to the method, device and system for transmitting the data of the CAPWAP tunnel, a WTP establishes the corresponding relation of STA address information and an STA identification and sends the corresponding relation to an AC, the WTP replaces the address information of the head portion of an uplink data package by proxy address information, the STA identification is carried on the head portion of the uplink data package, after the AC receives the uplink data package, the STA address information corresponding to the STA identification is determined according to the corresponding relation, the proxy address information of the head portion of the uplink data package is replaced by the determined STA address information, the STA address information carried in the uplink data package is removed, and extra data package length can not be generated.
Description
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, Control and Provision for Wireless Access Point Protocol) tunnel are provided.
Background technology
CAPWAP is a kind of thin WAP (wireless access point) (WTP that is applied in, Wireless Terminal Point) and access controller (AC, Access Control) tunnel between, the CAPWAP protocol definition how to communicate between WTP and the AC, and for realizing that the interoperability between WTP and the AC provides a general encapsulation and transmission mechanism.
Fig. 1 shows the structure of the WLAN (wireless local area network) of thin WTP and AC formation, and WTP inserts website by wireless mode, and (STA, Station), the CAPWAP by wired mode between WTP and the AC communicates.Particularly, set up CAPWAP control tunnel between WTP and AC, download configuration parameters such as software version, radio frequency, power from AC by this CAPWAP control tunnel, utilize these information to carry out corresponding configuration after, and set up the CAPWAP data tunnel between AC.During transfer of data, WTP is to from website (STA, Station) behind the packet encapsulation CAPWAP packet head, send to AC by the CAPWAP data tunnel, after WTP passes through the CAPWAP packet of CAPWAP data tunnel reception from AC, decapsulation CAPWAP packet namely removes the head of CAPWAP packet, and the packet after the decapsulation is sent to STA.
But in present technology about CAPWAP tunnel, it is long that encapsulation CAPWAP packet head can increase the bag of packet, for the MTU (MTU of CAPWAP length of data package greater than the link permission, Maximum Transfer Unit) CAPWAP packet, can carry out subpackage to this CAPWAP packet, packet after the subpackage equally also encapsulates CAPWAP packet head, and the data volume of the head of CAPWAP packet is bigger, CAPWAP packet after the subpackage will increase the lot of data amount owing to CAPWAP packet head than former packet, thereby the outer system consumption of meeting occupying volume influences device throughput.
As seen, in present CAPWAP tunnel technology, existence is carried out subpackage to the CAPWAP packet that the data packet length surpasses MTU, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of data transmission method, Apparatus and system of CAPWAP tunnel, in order to solve in the existing CAPWAP tunnel technology, the CAPWAP packet that the data packet length is surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput.
Embodiment of the invention technical scheme is as follows:
A kind of data transmission method of CAPWAP tunnel, comprise: WAP (wireless access point) WTP and access controller AC between set up CAPWAP tunnel after, 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 corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel; WTP replaces with agent address information with the address information in the head of the upstream data bag of STA, and carries the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; Upstream data bag after WTP will replace sends to AC by CAPWAP tunnel; Upstream data after the described replacement wraps in by AC according to the STA of this upstream data packet header sign and described corresponding relation, sends after the agent address information of this upstream data packet header being replaced with the address information of STA of correspondence.
A kind of data transmission device of CAPWAP tunnel, comprise: the corresponding relation module, be used for WAP (wireless access point) WTP under the described device and access controller AC between set up CAPWAP tunnel after, reception is from the upstream data bag of each site STA, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel; Uplink processing module is used for the address information of the head of the upstream data bag of STA is replaced with agent address information, and carries the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; Sending module is used for the upstream data bag after the described uplink processing module replacement is sent to AC by CAPWAP tunnel; Upstream data after the described replacement wraps in by AC according to the STA of this upstream data packet header sign and described corresponding relation, sends after the agent address information of this upstream data packet header being replaced with the address information of STA of correspondence.
A kind of data transmission method of CAPWAP tunnel comprises: WAP (wireless access point) WTP is by the downlink data packet of CAPWAP tunnel reception from access controller AC; Wherein, described downlink data packet is AC according to the address information of the address information of the STA in the downlink data packet header and pre-recorded STA and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies, the address information of STA in the downlink data packet header is replaced with agent address information, sends to WTP's after the head of downlink data packet carries the STA sign, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP; The head that WTP resolves downlink data packet obtains the site STA sign, according to the corresponding relation of address information and the STA sign of each pre-recorded STA, determines to identify with the STA that obtains the address information of corresponding STA; Wherein, described corresponding relation be WTP and AC between set up CAPWAP tunnel after, WTP learns that the address information of the upstream data packet header of each STA records; WTP replaces with the address information of determined STA with the agent address information of downlink data packet header, and removes the STA sign that is carried in the downlink data packet; Downlink data packet after WTP will replace sends to STA.
A kind of data transmission device of CAPWAP tunnel comprises: receiver module is used for by the downlink data packet of CAPWAP tunnel reception from access controller AC; Wherein, described downlink data packet is AC according to the address information of the address information of the STA in the downlink data packet header and pre-recorded STA and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies, the address information of STA in the downlink data packet header is replaced with agent address information, sends to WTP's under the described device after the head of downlink data packet carries the STA sign, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP under the described device; The downlink processing module, the head of be used for resolving downlink data packet obtains the site STA sign, according to the corresponding relation of address information and the STA sign of each pre-recorded STA, determines to identify with the STA that obtains the address information of corresponding STA; The agent address information of downlink data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the downlink data packet; Wherein, described corresponding relation be under the described device WTP and AC between set up CAPWAP tunnel after, WTP learns that the address information of the upstream data packet header of each STA records under the described device; Sending module is used for the downlink data packet after the described downlink processing module replacement is sent to STA.
A kind of data transmission method of CAPWAP tunnel, comprise: access controller AC and WAP (wireless access point) WTP between set up CAPWAP tunnel after, AC receive by CAPWAP tunnel and record from the corresponding relation of address information and the STA sign of each STA of WTP; AC is by the upstream data bag of CAPWAP tunnel reception from WTP; Wherein, described upstream data bag from WTP is that WTP replaces with agent address information with the address information in the head of the upstream data bag of STA, and carry the STA sign at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; The head that AC resolves the upstream data bag obtains the STA sign, according to described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; AC replaces with the address information of determined STA with the agent address information of upstream data packet header, and removes the STA sign that is carried in the upstream data bag; AC sends the upstream data bag after replacing.
A kind of data transmission device of CAPWAP tunnel, comprise: the corresponding relation module, after being used under described device, having set up CAPWAP tunnel between the access controller AC and WAP (wireless access point) WTP, by the corresponding relation that CAPWAP tunnel receives and record identifies from address information and the STA of each STA of WTP; Uplink processing module is used for by the upstream data bag of CAPWAP tunnel reception from WTP; Wherein, described upstream data bag from WTP is that WTP replaces with agent address information with the address information in the head of the upstream data bag of STA, and carry the STA sign at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; The head of resolving the upstream data bag obtains the STA sign, according to described corresponding relation, the address information of the STA that the STA sign of determining and obtaining is corresponding, the agent address information of upstream data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the upstream data bag; Sending module is used for sending the upstream data bag after described uplink processing module is replaced.
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 address information of the STA in the downlink data packet header and pre-recorded each STA of record and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies; Wherein, described corresponding relation be AC and WAP (wireless access point) WTP between set up CAPWAP tunnel after, AC receives and records from WTP by described CAPWAP; AC replaces with agent address information with the address information of the STA in the downlink data packet header, and carries the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP; Downlink data packet after AC will replace sends to WTP by CAPWAP tunnel; Downlink data after the described replacement wraps in STA sign and the described corresponding relation according to 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 sign that is carried in the downlink data packet.
A kind of data transmission device of CAPWAP tunnel comprises: receiver module is used for the downlink data receiving bag; The downlink processing module is used for according to the address information of the address information of the STA of downlink data packet header and pre-recorded each STA of record and the corresponding relation of STA sign, determines that the STA corresponding with the address information of STA in the downlink data packet identifies; Wherein, described corresponding relation be under the described device access controller AC and WAP (wireless access point) WTP between set up CAPWAP tunnel after, AC receives and records from WTP by described CAPWAP; The address information of STA in the downlink data packet header is replaced with agent address information, and carry the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP; Sending module, the downlink data packet after being used for replacing sends to WTP by CAPWAP tunnel; Downlink data after the described replacement wraps in STA sign and the described corresponding relation according to 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 sign that is carried in the downlink data packet.
A kind of data transmission system of CAPWAP tunnel comprises: WAP (wireless access point) WTP and access controller AC; WTP, be used for and AC between set up CAPWAP tunnel after, reception is from the upstream data bag of each site STA, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records 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 carry the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; Upstream data bag after replacing is sent to AC by CAPWAP tunnel; By the downlink data packet of CAPWAP tunnel reception from access controller AC; The head of resolving downlink data packet obtains the site STA sign, according to pre-recorded described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; The agent address information of downlink data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the downlink data packet; Downlink data packet after replacing is sent to STA; AC, be used for and WTP between set up CAPWAP tunnel after, by CAPWAP tunnel receive and record from the described corresponding relation of WTP; By the upstream data bag of CAPWAP tunnel reception from WTP; The head of resolving the upstream data bag obtains the STA sign, according to described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; The agent address information of upstream data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the 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 the downlink data packet header, determine that the STA corresponding with the address information of STA in the downlink data packet identifies; The address information of STA in the downlink data packet header is replaced with agent address information, and carry the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP; Downlink data packet after replacing is sent to WTP by CAPWAP tunnel.
WTP is by the address information of upstream data bag study STA in the embodiment of the invention, set up the corresponding relation of address information and the STA sign of STA, and this corresponding relation sent to AC, for the upstream data bag, WTP replaces with agent address information with the address information of upstream data packet header, source address information is the address information of WTP in the agent address information, destination address information is the address information of AC, and carry STA sign at the upstream data packet header, upstream data bag after WTP will replace sends to AC by CAPWAP tunnel, after AC receives the upstream data bag, resolve the STA sign that obtains the upstream data packet header, according to described corresponding relation, the address information of the STA that the STA sign of determining and obtaining is corresponding, the agent address information of upstream data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the upstream data bag, send the upstream data bag according to the address information in the upstream data bag after replacing; For downlink data packet, after AC receives downlink data packet, according to the address information in the downlink data packet header and described corresponding relation, determine the STA sign corresponding with the address information in the downlink data packet, address information in the downlink data packet header is replaced with agent address information, and carry the STA sign 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 the STA sign, according to the described corresponding relation that records, the address information of the STA that the STA sign of determining and obtaining is corresponding, the agent address information of downlink data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the downlink data packet, the downlink data packet after replacing is sent to STA; Thereby, address information that can be by setting up STA and the corresponding relation of STA sign, and sending by CAPWAP tunnel in the process of up/downlink data packet, the address information of up/downlink data packet header is replaced with agent address information, comprise WTP address information and AC address information in the agent address information, whether surpass MTU without the judgment data bag, up/downlink data packet is not carried out subpackage yet, only the address information by the replacement data packet header just can realize the transmission of packet in CAPWAP tunnel, thereby do not produce extra data packet length and data volume, the packet that can avoid data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the 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 from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Description of drawings
Fig. 1 is the structured flowchart of the WLAN (wireless local area network) that thin WTP and AC constitute in the prior art;
The workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 2 provides for the embodiment of the invention;
The structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 3 provides for the embodiment of the invention;
Another workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 4 provides for the embodiment of the invention;
Another structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 5 provides for the embodiment of the invention;
Another workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 6 provides for the embodiment of the invention;
Another structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 7 provides for the embodiment of the invention;
Another workflow diagram of the data transmission method of the CAPWAP tunnel that Fig. 8 provides for the embodiment of the invention;
Another structured flowchart of the data transmission device of the CAPWAP tunnel that Fig. 9 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are described, should be appreciated that embodiment described herein only is used for description and interpretation the present invention, and be not used in restriction the present invention.
In existing CAPWAP tunnel technology, the CAPWAP packet that the data packet length is surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput, the embodiment of the invention has proposed a kind of data transmission method and device of CAPWAP tunnel, in order to address this problem.
In embodiments of the present invention, the address information of WTP study STA, set up the corresponding relation of address information and the STA sign of STA, and this corresponding relation is sent to AC, sending by CAPWAP tunnel in the process of up/downlink data packet, WTP or AC are according to described corresponding relation, the address information of up/downlink data packet header is replaced with agent address information, comprise WTP address information and AC address information in the agent address information, and by the up/downlink data packet after the CAPWAP tunnel transmission replacement, whether surpass MTU without the judgment data bag, up/downlink data packet is not carried out subpackage yet, only the address information by the replacement data packet header just can realize the transmission of packet in CAPWAP tunnel, thereby do not produce extra data packet length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of the long occupying volume of CAPWAP packet head after the 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 invention provides, and this method is used in WTP, and this method comprises:
Particularly, in the concrete process of using, for current STA, in the operation that once floods that WTP triggers, WTP extracts the address information of the upstream data packet header of current STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel;
Preferably, WTP records in the processing procedure of the address information of each STA and STA sign, can be designated index record with STA and store described corresponding relation according to the order of the pointer of each STA sign;
Preferably, under the situation that the address information of STA changes, WTP relearns the address of STA, and the address information that will relearn is updated in the described corresponding relation, and the corresponding relation after upgrading is sent to AC;
In the concrete process of using, replace in the processing of the address information in the 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 the replacement data packet header is agent address information, and in this replacement data packet header definition STA sign position, other structure of replacement data packet header is identical with the upstream data packet header;
Then, before the processing of the address information in replacing the upstream data packet header, WTP is saved in the packet head of STA in the described corresponding relation, in the processing procedure of the address information in replacing the upstream data packet header, can directly replace the upstream data packet header with the replacement data packet header, and the STA sign is carried in STA sign position in the replacement data packet header, stores the head of the packet of this STA; By replacing the upstream data packet header, can save the processing time, improve treatment effeciency;
Further, upstream data bag after this is replaced will be by STA sign and the described corresponding relation of AC according to 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 method shown in Figure 2, the address information of WTP study STA, set up the corresponding relation of address information and the STA sign of STA, and this corresponding relation is sent to AC, sending by CAPWAP tunnel in the process of upstream data bag, WTP need not judge whether the upstream data bag surpasses MTU, also need not carry out subpackage to the 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, comprise WTP address information and AC address information in the agent address information, thereby only replace in the address information of the basic enterprising line data packet header of former upstream data bag and just can realize that upstream data wraps in the transmission in the CAPWAP tunnel, do not produce extra data packet length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet head after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of the long occupying volume of CAPWAP packet after the subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the invention also 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, after having set up CAPWAP tunnel between WTP under described device and the AC, reception is from the upstream data bag of each site STA, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel;
Particularly, corresponding relation module 31 in the operation that floods that triggers, is extracted the address information of the upstream data packet header of current STA for current STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel;
Preferably, corresponding relation module 31 is designated index record with STA and stores described corresponding relation according to the order of the pointer of each STA sign;
Uplink processing module 32 is connected to corresponding relation module 31, is used for the address information of the head of the upstream data bag of STA is replaced with agent address information, and carries the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC;
Sending module 33 is connected to uplink processing module 32, is used for the upstream data bag after uplink processing module 32 replacements is sent to AC by CAPWAP tunnel.
The operation principle of device shown in Figure 3 repeats no more as shown in Figure 2 here.
By device as shown in Figure 3, the address information of study STA, set up the corresponding relation of address information and the STA sign of STA, and this corresponding relation is sent to AC, sending by CAPWAP tunnel in the process of upstream data bag, WTP is according to described corresponding relation, the address information of the upstream data packet header of STA is replaced with agent address information, comprise WTP address information and AC address information in the agent address information, thereby only replace the transmission that just can realize the upstream data bag in the address information of the basic enterprising line data packet header of former upstream data bag, do not produce extra data packet length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the 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 invention provides, and this method is used in WTP, and this method comprises:
The head that step 402, WTP are resolved downlink data packet obtains the site STA sign, according to the corresponding relation of address information and the STA sign of each pre-recorded STA, determines to identify with the STA that obtains the address information of corresponding STA; Wherein, described corresponding relation be WTP and AC between set up CAPWAP tunnel after, WTP learns that the address information of the upstream data packet header of each STA records;
Preferably, carry out record owing to adopt STA to be designated index during the described corresponding relation of record, then, determine to identify in the processing of address information of corresponding STA with the STA that obtains at WTP, in described corresponding relation, inquire about and determine the address information of the STA corresponding with the STA sign of obtaining according to the pointer of the STA sign of obtaining, can reduce the complexity of query processing like this, make that the complexity of query processing is O (1);
Preferably, corresponding with above-mentioned steps 202, if adopt the processing means of replacement data packet header, then, for downlink data packet, the head of the packet of the STA that stores can be displaced the line data packet header;
Downlink data packet after step 404, WTP will replace sends to STA.
By method shown in Figure 4, WTP is by CAPWAP tunnel downlink data receiving bag, according to the sign of the STA in the downlink data packet with the corresponding relation of the address information of the STA that sets up in advance and STA sign, according to the address information of determining the STA corresponding with the STA sign, 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, can realize that downlink data wraps in the transmission in the CAPWAP tunnel by the address information of displacing the line data packet header, downlink data packet after the replacement does not increase extra length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, the long outer system handles resource of occupying volume that causes of CAPWAP packet head after the subpackage, the problem of reduction device throughput.
Based on identical inventive concept, the embodiment of the invention also 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:
Preferably, downlink processing module 52 inquires about and determines the address information of the STA corresponding with the STA sign of obtaining in described corresponding relation according to the pointer of the STA sign of obtaining; Wherein, described corresponding relation is the order according to the pointer of each STA sign, is designated the index record storage with STA;
Sending module 53 is connected to downlink processing module 52, is used for the downlink data packet after described downlink processing module 52 replacements is sent to STA.
The operation principle of device shown in Figure 5 repeats no more as shown in Figure 4 here.
By device shown in Figure 5, by CAPWAP tunnel downlink data receiving bag, according to the sign of the STA in the downlink data packet with the corresponding relation of the address information of the STA that sets up in advance and STA sign, according to the address information of determining the STA corresponding with the STA sign, 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, can realize that downlink data wraps in the transmission in the CAPWAP tunnel by the address information of displacing the line data packet header, downlink data packet after the replacement does not increase extra length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the 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 invention provides, and this method is used in AC, and this method comprises:
Particularly, in the concrete process of using, after AC receives described corresponding relation, trigger the operation that once floods, in the operation that floods that triggers, the corresponding relation of the address information of each STA that record receives and STA sign;
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 purpose IP address, be that index record is stored described corresponding relation with the source IP address in the address information of STA or purpose IP address;
The head that step 603, AC resolve the upstream data bag obtains the STA sign, according to described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining;
Corresponding with above-mentioned steps 202, if WTP structure replacement data packet header, and adopt the replacement data packet header to replace the head of upstream data bag, WTP sends to the header information that also comprises the packet of STA in the described corresponding relation of AC, then, AC can be directly replaces head from the packet of WTP with the packet head of the STA that preserves in the corresponding relation;
By method as shown in Figure 6, AC receives the corresponding relation from the address information of the STA of WTP and STA sign, receiving by CAPWAP tunnel in the process of upstream data bag, AC is according to described corresponding relation, to replace with the address information of STA from the agent address information of the upstream data packet header of WTP, comprise WTP address information and AC address information in the agent address information, can realize that upstream data wraps in the transmission in the CAPWAP tunnel by the address information of replacing the upstream data packet header, upstream data bag after the replacement does not increase extra length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the invention also 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:
Particularly, corresponding relation module 71 records the corresponding relation of address information and the STA sign of each STA that receives in the operation that floods that triggers;
Preferably, corresponding relation module 71 is that index record is stored described corresponding relation according to the order of the pointer of the source IP address in the address information of each STA or purpose IP address with the source IP address in the address information of STA or purpose IP address;
Sending module 73 is connected to uplink processing module 72, is used for sending the upstream data bag after described uplink processing module 72 is replaced.
The operation principle of device shown in Figure 7 repeats no more as shown in Figure 6 here.
According to device shown in Figure 7, reception is from the corresponding relation of address information and the STA sign of the STA of WTP, receiving by CAPWAP tunnel in the process of upstream data bag, AC is according to described corresponding relation, to replace with the raw address information of STA from the agent address information of the upstream data packet header of WTP, comprise WTP address information and AC address information in the agent address information, can realize that upstream data wraps in the transmission in the CAPWAP tunnel by the address information of replacing the upstream data packet header, upstream data bag after the replacement does not increase extra length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the 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 invention provides, and this method is used in AC, and this method comprises:
After step 801, AC receive downlink data packet, according to the address information of the address information of the STA in the downlink data packet header and pre-recorded each STA of record and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies; Wherein, described corresponding relation be AC and WTP between set up CAPWAP tunnel after, AC receives and records from WTP by described CAPWAP;
Downlink data packet after step 803, AC will replace sends to WTP by CAPWAP tunnel;
Further, downlink data packet after the described replacement will be by STA sign and the described corresponding relation of WTP according to 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 sign that is carried in the downlink data packet, the downlink data packet after WTP will replace sends to STA;
Preferably, corresponding with above-mentioned steps 601, AC inquires about in described corresponding relation according to the pointer of the source IP address in the address information of the STA in the downlink data packet or purpose IP address and determines that the STA corresponding with the STA address information in the downlink data packet identifies;
Preferably, corresponding with above-mentioned steps 604, if adopt the processing means of replacement data packet header, then, for downlink data packet, AC adopts with the replacement data packet header of WTP agreement and replaces the head of downlink data packet, and the STA in the replacement data packet header identifies the sign that STA is carried in the position.
By method as shown in Figure 8, AC need not judge whether downlink data packet surpasses MTU, also need not carry out subpackage to downlink data packet, AC is according to address information and the described corresponding relation of the STA in the downlink data packet, determine the sign of STA, the address information of STA in the downlink data packet header is replaced with agent address information, comprise WTP address information and AC address information in the agent address information, and by the downlink data packet after the CAPWAP tunnel transmission replacement, thereby only replace in the address information of the basic enterprising line data packet header of former downlink data packet and just can realize that downlink data wraps in the transmission in the CAPWAP tunnel, do not produce extra data packet length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput.
Based on identical inventive concept, the embodiment of the invention also provides a kind of data transmission device of CAPWAP tunnel, and this device is applied among the AC, and as shown in Figure 9, this device comprises:
Preferably, downlink processing module 92 is inquired about in described corresponding relation according to the pointer of the source IP address in the address information of the STA in the downlink data packet or purpose IP address and is determined that the STA corresponding with the STA address information in the downlink data packet identifies;
Sending module 93 is connected to downlink processing module 92, and the downlink data packet after being used for replacing sends to WTP by CAPWAP tunnel; Downlink data after the described replacement wraps in STA sign and the described corresponding relation according to 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 sign that is carried in the downlink data packet.
The operation principle of device shown in Figure 9 repeats no more as shown in Figure 8 here.
By device as shown in Figure 9, need not judge whether downlink data packet surpasses MTU, also need not carry out subpackage to downlink data packet, address information and described corresponding relation according to the STA in the downlink data packet, determine the sign of STA, the address information of STA in the downlink data packet header is replaced with agent address information, comprise WTP address information and AC address information in the agent address information, and by the downlink data packet after the CAPWAP tunnel transmission replacement, thereby only replace in the address information of the basic enterprising line data packet header of former downlink data packet and just can realize that downlink data wraps in the transmission in the CAPWAP tunnel, do not produce extra data packet length and data volume, the packet that can avoid the CAPWAP data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput.
Embodiment five
The embodiment of the invention also provides a kind of data transmission system of CAPWAP tunnel, and the structure of this system can be as shown in Figure 1, and this system comprises WTP and AC;
WTP, be used for and AC between set up CAPWAP tunnel after, reception is from the upstream data bag of each site STA, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records 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 carry the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; Upstream data bag after replacing is sent to AC by CAPWAP tunnel; By the downlink data packet of CAPWAP tunnel reception from access controller AC; The head of resolving downlink data packet obtains the site STA sign, according to pre-recorded described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; The agent address information of downlink data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the downlink data packet; Downlink data packet after replacing is sent to STA;
AC, be used for and WTP between set up CAPWAP tunnel after, by CAPWAP tunnel receive and record from the described corresponding relation of WTP; By the upstream data bag of CAPWAP tunnel reception from WTP; The head of resolving the upstream data bag obtains the STA sign, according to described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; The agent address information of upstream data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the 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 the downlink data packet header, determine that the STA corresponding with the address information of STA in the downlink data packet identifies; The address information of STA in the downlink data packet header is replaced with agent address information, and carry the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, 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 such as Fig. 2, Fig. 4, Fig. 6 and shown in Figure 8 are not giving unnecessary details here.
Pass through said system, sending by CAPWAP tunnel in the process of up/downlink data packet, the address information of up/downlink data packet header is replaced with agent address information, comprise WTP address information and AC address information in the agent address information, whether surpass MTU without the judgment data bag, up/downlink data packet is not carried out subpackage yet, only the address information by the replacement data packet header just can realize the transmission of packet in CAPWAP tunnel, thereby do not produce extra data packet length and data volume, the packet that can avoid data packet length being surpassed MTU carries out subpackage, CAPWAP packet after the subpackage is because the mass data amount that CAPWAP packet head increases, cause transmitting the outer system handles resource of CAPWAP packet occupying volume after the subpackage, reduce the problem of device throughput.
One of ordinary skill in the art will appreciate that and realize that all or part of step that above-described embodiment method is carried is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (21)
1. a wireless access point control and the data transmission method of agreement CAPWAP tunnel is provided is characterized in that, comprising:
WAP (wireless access point) WTP and access controller AC between set up CAPWAP tunnel after, 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 corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel;
WTP replaces with agent address information with the address information in the head of the upstream data bag of STA, and carries the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC;
Upstream data bag after WTP will replace sends to AC by CAPWAP tunnel; Upstream data after the described replacement wraps in by AC according to the STA of this upstream data packet header sign and described corresponding relation, sends after the agent address information of this upstream data packet header being replaced with the address information of STA of correspondence.
2. according to the method for claim 1, it is characterized in that, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation of record is sent to AC by CAPWAP tunnel, specifically comprises:
For current STA, in the operation that once floods that WTP triggers, WTP extracts the address information of the upstream data packet header of current STA, records the corresponding relation of address information and the STA sign of each STA, and the described corresponding relation that records is sent to AC by CAPWAP tunnel.
3. according to the method for claim 1 or 2, it is characterized in that, record the corresponding relation of address information and the STA sign of each STA, specifically comprise:
Order according to the pointer of each STA sign is designated index record with STA and stores described corresponding relation.
4. a wireless access point control and the data transmission device of agreement CAPWAP tunnel is provided is characterized in that, comprising:
The corresponding relation module, be used for WAP (wireless access point) WTP under the described device and access controller AC between set up CAPWAP tunnel after, reception is from the upstream data bag of each site STA, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel;
Uplink processing module is used for the address information of the head of the upstream data bag of STA is replaced with agent address information, and carries the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC;
Sending module is used for the upstream data bag after the described uplink processing module replacement is sent to AC by CAPWAP tunnel; Upstream data after the described replacement wraps in by AC according to the STA of this upstream data packet header sign and described corresponding relation, sends after the agent address information of this upstream data packet header being replaced with the address information of STA of correspondence.
5. device according to claim 4 is characterized in that, described corresponding relation module specifically is used for:
For current STA, in the operation that floods that triggers, extract the address information of the upstream data packet header of current STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records is sent to AC by CAPWAP tunnel.
6. according to claim 4 or 5 described devices, it is characterized in that described corresponding relation module specifically is used for:
Order according to the pointer of each STA sign is designated index record with STA and stores described corresponding relation.
7. a wireless access point control and the data transmission method of agreement CAPWAP tunnel is provided is characterized in that, comprising:
WAP (wireless access point) WTP is by the downlink data packet of CAPWAP tunnel reception from access controller AC; Wherein, described downlink data packet is AC according to the address information of the address information of the STA in the downlink data packet header and pre-recorded STA and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies, the address information of STA in the downlink data packet header is replaced with agent address information, sends to WTP's after the head of downlink data packet carries the STA sign, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP;
The head that WTP resolves downlink data packet obtains the site STA sign, according to the corresponding relation of address information and the STA sign of each pre-recorded STA, determines to identify with the STA that obtains the address information of corresponding STA; Wherein, described corresponding relation be WTP and AC between set up CAPWAP tunnel after, WTP learns that the address information of the upstream data packet header of each STA records;
WTP replaces with the address information of determined STA with the agent address information of downlink data packet header, and removes the STA sign that is carried in the downlink data packet;
Downlink data packet after WTP will replace sends to STA.
8. according to the method for claim 7, it is characterized in that, determine the address information of the STA corresponding with the STA sign of obtaining, specifically comprise:
WTP inquires about and determines the address information of the STA corresponding with the STA sign of obtaining in described corresponding relation according to the pointer of the STA sign of obtaining; Wherein, described corresponding relation is the order according to the pointer of each STA sign, is designated the index record storage with STA.
9. a wireless access point control and the data transmission device of agreement CAPWAP tunnel is provided is characterized in that, comprising:
Receiver module is used for by the downlink data packet of CAPWAP tunnel reception from access controller AC; Wherein, described downlink data packet is AC according to the address information of the address information of the STA in the downlink data packet header and pre-recorded STA and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies, the address information of STA in the downlink data packet header is replaced with agent address information, sends to WTP's under the described device after the head of downlink data packet carries the STA sign, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP under the described device;
The downlink processing module, the head of be used for resolving downlink data packet obtains the site STA sign, according to the corresponding relation of address information and the STA sign of each pre-recorded STA, determines to identify with the STA that obtains the address information of corresponding STA; The agent address information of downlink data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the downlink data packet; Wherein, described corresponding relation be under the described device WTP and AC between set up CAPWAP tunnel after, WTP learns that the address information of the upstream data packet header of each STA records under the described device;
Sending module is used for the downlink data packet after the described downlink processing module replacement is sent to STA.
10. device according to claim 9 is characterized in that, described downlink processing module specifically is used for:
In described corresponding relation, inquire about and determine the address information of the STA corresponding with the STA sign of obtaining according to the pointer of the STA sign of obtaining; Wherein, described corresponding relation is the order according to the pointer of each STA sign, is designated the index record storage with STA.
11. a wireless access point control and the data transmission method of agreement CAPWAP tunnel is provided is characterized in that, comprising:
Access controller AC and WAP (wireless access point) WTP between set up CAPWAP tunnel after, AC receive by CAPWAP tunnel and record from the corresponding relation of address information and the STA sign of each STA of WTP;
AC is by the upstream data bag of CAPWAP tunnel reception from WTP; Wherein, described upstream data bag from WTP is that WTP replaces with agent address information with the address information in the head of the upstream data bag of STA, and carry the STA sign at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC;
The head that AC resolves the upstream data bag obtains the STA sign, according to described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining;
AC replaces with the address information of determined STA with the agent address information of upstream data packet header, and removes the STA sign that is carried in the upstream data bag;
AC sends the upstream data bag after replacing.
12. method according to claim 11 is characterized in that, the AC record specifically comprises from the corresponding relation of address information and the STA sign of each STA of WTP:
AC records the corresponding relation of address information and the STA sign of each STA that receives in the operation that floods that triggers.
13. according to claim 11 or 12 described methods, it is characterized in that described method also comprises:
AC is that index record is stored described corresponding relation according to the order of the pointer of the source IP address in the address information of each STA or purpose IP address with the source IP address in the address information of STA or purpose IP address.
14. a wireless access point control and the data transmission device of agreement CAPWAP tunnel is provided is characterized in that, comprising:
The corresponding relation module is after being used for having set up CAPWAP tunnel between the access controller AC and WAP (wireless access point) WTP under described device, by the corresponding relation that CAPWAP tunnel receives and record identifies from address information and the STA of each STA of WTP;
Uplink processing module is used for by the upstream data bag of CAPWAP tunnel reception from WTP; Wherein, described upstream data bag from WTP is that WTP replaces with agent address information with the address information in the head of the upstream data bag of STA, and carry the STA sign at the head of upstream data bag, upstream data bag after replacing is sent to AC's by CAPWAP tunnel, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; The head of resolving the upstream data bag obtains the STA sign, according to described corresponding relation, the address information of the STA that the STA sign of determining and obtaining is corresponding, the agent address information of upstream data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the upstream data bag;
Sending module is used for sending the upstream data bag after described uplink processing module is replaced.
15. device according to claim 14 is characterized in that, described corresponding relation module specifically is used for:
In the operation that floods that triggers, the corresponding relation of the address information of each STA that record receives and STA sign.
16., it is characterized in that described corresponding relation module specifically is used for according to claim 14 or 15 described devices:
According to the order of the pointer of the source IP address in the address information of each STA or purpose IP address, be that index record is stored described corresponding relation with the source IP address in the address information of STA or purpose IP address.
17. a wireless access point control and the data transmission method of agreement CAPWAP tunnel is provided is characterized in that, comprising:
After access controller AC receives downlink data packet, according to the address information of the address information of the STA in the downlink data packet header and pre-recorded each STA of record and the corresponding relation of STA sign, determine that the STA corresponding with the address information of STA in the downlink data packet identifies; Wherein, described corresponding relation be AC and WAP (wireless access point) WTP between set up CAPWAP tunnel after, AC receives and records from WTP by described CAPWAP;
AC replaces with agent address information with the address information of the STA in the downlink data packet header, and carries the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP;
Downlink data packet after AC will replace sends to WTP by CAPWAP tunnel; Downlink data after the described replacement wraps in STA sign and the described corresponding relation according to 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 sign that is carried in the downlink data packet.
18. method according to claim 17 is characterized in that, described method also comprises:
AC inquires about in described corresponding relation according to the pointer of the source IP address in the address information of the STA in the downlink data packet or purpose IP address and determines that the STA corresponding with the STA address information in the downlink data packet identifies; Wherein, described corresponding relation is the order according to the pointer of the source IP address in the address information of each STA or purpose IP address, is that index record is stored with the source IP address in the address information of STA or purpose IP address.
19. a wireless access point control and the data transmission device of agreement CAPWAP tunnel is provided is characterized in that, comprising:
Receiver module is used for the downlink data receiving bag;
The downlink processing module is used for according to the address information of the address information of the STA of downlink data packet header and pre-recorded each STA of record and the corresponding relation of STA sign, determines that the STA corresponding with the address information of STA in the downlink data packet identifies; Wherein, described corresponding relation be under the described device access controller AC and WAP (wireless access point) WTP between set up CAPWAP tunnel after, AC receives and records from WTP by described CAPWAP; The address information of STA in the downlink data packet header is replaced with agent address information, and carry the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP;
Sending module, the downlink data packet after being used for replacing sends to WTP by CAPWAP tunnel; Downlink data after the described replacement wraps in STA sign and the described corresponding relation according to 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 sign that is carried in the downlink data packet.
20. device according to claim 19 is characterized in that, described downlink processing module specifically is used for:
In described corresponding relation, inquire about and the definite STA corresponding with the STA address information in downlink data packet sign according to the pointer of the source IP address in the address information of the STA in the downlink data packet or purpose IP address; Wherein, described corresponding relation is the order according to the pointer of the source IP address in the address information of each STA or purpose IP address, is that index record is stored with the source IP address in the address information of STA or purpose IP address.
21. a wireless access point control and the data transmission system of agreement CAPWAP tunnel is provided is characterized in that, comprising: WAP (wireless access point) WTP and access controller AC;
WTP, be used for and AC between set up CAPWAP tunnel after, reception is from the upstream data bag of each site STA, learn the address information of the upstream data packet header of each STA, record the corresponding relation of address information and the STA sign of each STA, the described corresponding relation that records 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 carry the STA sign at the head of upstream data bag; Wherein, source address information is the address information of WTP in the agent address information, and destination address information is the address information of AC; Upstream data bag after replacing is sent to AC by CAPWAP tunnel; By the downlink data packet of CAPWAP tunnel reception from access controller AC; The head of resolving downlink data packet obtains the site STA sign, according to pre-recorded described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; The agent address information of downlink data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the downlink data packet; Downlink data packet after replacing is sent to STA;
AC, be used for and WTP between set up CAPWAP tunnel after, by CAPWAP tunnel receive and record from the described corresponding relation of WTP; By the upstream data bag of CAPWAP tunnel reception from WTP; The head of resolving the upstream data bag obtains the STA sign, according to described corresponding relation, determines the address information of the STA corresponding with the STA sign of obtaining; The agent address information of upstream data packet header is replaced with the address information of determined STA, and remove the STA sign that is carried in the 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 the downlink data packet header, determine that the STA corresponding with the address information of STA in the downlink data packet identifies; The address information of STA in the downlink data packet header is replaced with agent address information, and carry the STA sign at the head of downlink data packet; Wherein, source address information is the address information of AC in the agent address information, and destination address information is the address information of WTP; Downlink data packet after replacing is sent to WTP by CAPWAP tunnel.
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 true CN103346945A (en) | 2013-10-09 |
CN103346945B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104168554A (en) * | 2014-07-21 | 2014-11-26 | 杭州华三通信技术有限公司 | Method and device for communication of AC and STA |
CN104917658A (en) * | 2014-03-10 | 2015-09-16 | 中国移动通信集团内蒙古有限公司 | Information acquisition method, equipment and system |
CN107800758A (en) * | 2017-03-28 | 2018-03-13 | 平安壹钱包电子商务有限公司 | Air control data processing method, apparatus and system |
Citations (4)
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 |
-
2013
- 2013-06-25 CN CN201310257039.7A patent/CN103346945B/en not_active Expired - Fee Related
Patent Citations (4)
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917658A (en) * | 2014-03-10 | 2015-09-16 | 中国移动通信集团内蒙古有限公司 | Information acquisition method, equipment and system |
CN104917658B (en) * | 2014-03-10 | 2018-06-26 | 中国移动通信集团内蒙古有限公司 | A kind of information acquisition method, equipment and system |
CN104168554A (en) * | 2014-07-21 | 2014-11-26 | 杭州华三通信技术有限公司 | Method and device for communication of AC and STA |
CN104168554B (en) * | 2014-07-21 | 2018-08-24 | 新华三技术有限公司 | A kind of method and apparatus that AC is communicated with STA |
CN107800758A (en) * | 2017-03-28 | 2018-03-13 | 平安壹钱包电子商务有限公司 | Air control data processing method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN103346945B (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101932128B (en) | Data receiving, transmitting and processing method and equipment for data link layer | |
CN105122672B (en) | small data communication | |
CN111050361B (en) | Message transmission method, device and system | |
GB0303459D0 (en) | Method for relocating SRNS in a mobile communication system | |
CN104754003B (en) | Transmit the method and system of data | |
EP2445250A1 (en) | Data packet sending, receiving and transmission method and device | |
CN104995950A (en) | Data transmission method and apparatus | |
US9877307B2 (en) | Method for implementing radio resource control protocol function, macro base station, and micro cell node | |
CN102769869A (en) | Message rapid forwarding system of control and provisioning of wireless access point | |
JP7100135B6 (en) | Data transmission control method and related products | |
CN101932004A (en) | Data sending and processing method and equipment for data link layer | |
CN101552656A (en) | Method and apparatus of transmission time interval bundling management | |
CN107852596A (en) | GSM, MME, terminal and communication means | |
CN102870490A (en) | Data transmission method, network element equipment and communication system | |
CN103297311A (en) | Method and device for achieving control and provision for wireless access point protocol (CAPWAP) data tunnels | |
KR102315582B1 (en) | Scheduling request transmission control method and related products | |
CN103209185B (en) | A kind of transmitting message at optical interface and device | |
CN102780633B (en) | Device and method for transmitting data based on CAPWAP (control and provisioning of wireless access points) protocol | |
CN103346945A (en) | Method, device and system for transmitting data of CAPWAP tunnel | |
KR100677144B1 (en) | Method and apparatus for transmitting and receiving data via WUSB | |
CN100473237C (en) | Wireless unit-in network, wireless communication method, controlling servo and data servo | |
CN104079371B (en) | A kind of data communications method, equipment and system | |
CN105429910A (en) | Message transmission and processing method and device | |
CN105517020A (en) | Configuration parameter updating method and apparatus | |
CN106416174B (en) | A kind of network protocol configuration method, 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160413 Termination date: 20210625 |