CN104202248A - Method for realizing rapid intensive transmitting in wireless hotspot controller - Google Patents

Method for realizing rapid intensive transmitting in wireless hotspot controller Download PDF

Info

Publication number
CN104202248A
CN104202248A CN201410347834.XA CN201410347834A CN104202248A CN 104202248 A CN104202248 A CN 104202248A CN 201410347834 A CN201410347834 A CN 201410347834A CN 104202248 A CN104202248 A CN 104202248A
Authority
CN
China
Prior art keywords
capwap
list item
message
flow
address
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
Application number
CN201410347834.XA
Other languages
Chinese (zh)
Other versions
CN104202248B (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.)
Zhejiang new home network technology Co.,Ltd.
Original Assignee
Shanghai Huanchuang Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huanchuang Communication Technology Co Ltd filed Critical Shanghai Huanchuang Communication Technology Co Ltd
Priority to CN201410347834.XA priority Critical patent/CN104202248B/en
Publication of CN104202248A publication Critical patent/CN104202248A/en
Application granted granted Critical
Publication of CN104202248B publication Critical patent/CN104202248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method for realizing rapid intensive transmitting in a wireless hotspot controller. The method comprises a first step of unpacking a control and provisioning of wireless access points (CAPWAP) tunnel, wherein the step comprises sub-steps of establishing a flow table and transmitting the flow table; and a second step of packing the CAPWAP tunnel, wherein the step comprises sub-steps of establishing a flow table and transmitting the flow table. Compared with the prior art, the method has the advantages of improving the efficiency, saving time, having wide range of application and so on.

Description

In hotspot controller, concentrate fast the implementation method forwarding
Technical field
The present invention relates to a kind of method of hotspot controller message repeating, especially relate to the implementation method of concentrating fast forwarding in a kind of hotspot controller.
Background technology
Wlan user data is concentrated forwarding, and hotspot controller is as the convergent point of all data, very high to the requirement of performance, and HardwareUpgring must bring cost to rise.The method of this patent can, in the situation that hardware condition is constant, significantly promote the data forwarding performance of hotspot controller.
In message repeating process, user's message is concentrated forwarding, look into multiple tables such as two-layer retransmitting table, routing table, ARP table, subscriber's meter, just can complete once and forward.
When user's message arrives hotspot controller, with CAPWAP tunnel, a message need to just can complete forwarding through twice protocol stack.
Summary of the invention
Object of the present invention is exactly to provide a kind of in order to overcome the defect that above-mentioned prior art exists and raise the efficiency, save time, concentrate fast the implementation method forwarding in hotspot controller applied widely, can, in the situation that hardware condition is constant, significantly promote the data forwarding performance of hotspot controller.
Object of the present invention can be achieved through the following technical solutions:
In hotspot controller, concentrate fast the implementation method forwarding, it is characterized in that, comprise the following steps:
1) CAPWAP tunnel decapsulation, this step comprises following sub-step:
11) set up stream table, this step comprises:
111) set up imperfect stream list item: receive the message of CAPWAP encapsulation in physical drives after, set up FLOW, and record receives the physical port of message, source and destination MAC Address and source and destination IP address, set up imperfect stream list item;
112) AP FLOW is set: send in the process of CAPWAP driving at CAPWAP, according to the imperfect stream list item of source and destination IP address search, it is AP FLOW that type is set, and records CAPWAP information;
113) the imperfect list item of mark: if the message of receiving is IPv4 message, set up FLOW according to the source of CAPWAP tunnel internal layer message, object IP address, and be labeled as imperfect list item;
114) USER FLOW is set: according to source and destination IP address, search imperfect list item, source and destination MAC Address when record sends, the physical port of transmission, and be labeled as complete list item, type is set to USERFLOW;
12) stream table forwards, and this step comprises:
121) separate CAPWAP encapsulation: physical drives is received the message of CAPWAP encapsulation, searches and is labeled as complete stream table, and be AP FLOW type, directly separate CAPWAP encapsulation;
122) send message: the message after decapsulation is used the complete stream table of source, object IP address search of internal layer again, if found, and be USER FLOW type, revise source, the target MAC (Media Access Control) address in message according to the MAC Address of record in stream table, and send from the physics outbound port of record;
2) CAPWAP tunnel encapsulation, this step comprises following sub-step:
21) set up stream table, this step comprises:
211) set up imperfect stream list item: send message in the process of Ethernet in physical drives, set up FLOW, and record the physical port of receiving message, source, target MAC (Media Access Control) address, source, object IP address, and be labeled as imperfect stream list item;
212) type USER FLOW is set: according to source, object IP address, search imperfect stream list item, record CAPWAP information, type is set to USER FLOW, and this message of mark need to carry out CAPWAP encapsulation;
213) the complete list item of mark: according to the source of message, object IP address, search imperfect stream list item, the outer source, tunnel, the complete list item of object IP address search that in CAPWAP module, obtain as required, if find list item and be AP FLOW type, internal layer USER FLOW list item is carried out associated with outer AP FLOW list item, and record CAPWAP packaging information, after completing, list item is labeled as to complete list item;
22) stream table forwards, and this step comprises:
221) CAPWAP Information encapsulation: drive and receive IPv4 message, first searching and be labeled as complete stream table, if found, and is USER FLOW type, and be labeled as and need CAPWAP encapsulation, according to the CAPWAP Information encapsulation CAPWAP tunnel head recording in USERFLOW;
222) send message: find associated AP FLOW by USER FLOW, according to the IP recording in AP FLOW, MAC, port information, the outer field UDP of encapsulation tunnel, IP, MAC head, and from the inbound port of APFLOW, message is sent.
The method is suitable also for IPv6 network, or IPv6 and IPv4 hybrid network.
Compared with prior art, the present invention has following advantage:
1, fast process has got around the complex process of existing protocol stack, has simplified message repeating flow process, has significantly improved concentrated forwarding performance;
2, multiple list items such as two-layer retransmitting table, routing table, ARP table, NAT table are cached in stream table, only need once table look-up and just can complete forwarding;
3, can configure according to difference, use different keywords, set up different list items.
Brief description of the drawings
Fig. 1 is method flow diagram of the present invention;
Fig. 2 is CAPWAP tunnel decapsulation schematic diagram of the present invention;
Fig. 3 is CAPWAP tunnel encapsulation schematic diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.The present embodiment is implemented as prerequisite taking technical solution of the present invention, provided detailed execution mode and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
Embodiment:
As shown in Figure 1, in a kind of hotspot controller, concentrate fast the implementation method forwarding, comprise the following steps:
1) CAPWAP tunnel decapsulation, this step comprises following sub-step:
11) set up stream table, this step comprises:
111) set up imperfect stream list item: receive in physical drives after the message of CAPWAP encapsulation, in Fig. 2, indicate 1 position and set up FLOW, and recording the physical port of receiving message, source and destination MAC Address and source and destination IP address, set up imperfect stream list item;
112) AP FLOW is set: CAPWAP send to CAPWAP drive process in (in Fig. 2, indicating 4 position), according to the imperfect stream list item of source and destination IP address search, it is AP FLOW that type is set, and records CAPWAP information;
113) the imperfect list item of mark: indicate 5 position in Fig. 2, if the message of receiving is IPv4 message, set up FLOW according to the source of CAPWAP tunnel internal layer message, object IP address, and be labeled as imperfect list item;
114) USER FLOW is set: in Fig. 2, indicate 8 position, according to source and destination IP address, search imperfect list item, source and destination MAC Address when record sends, the physical port of transmission, and be labeled as complete list item, type is set to USER FLOW;
12) stream table forwards, and this step comprises:
121) separate CAPWAP encapsulation: physical drives is received the message of CAPWAP encapsulation, searches and is labeled as complete stream table, and be AP FLOW type, directly separate CAPWAP encapsulation;
122) send message: the message after decapsulation is used the complete stream table of source, object IP address search of internal layer again, if found, and be USER FLOW type, revise source, the target MAC (Media Access Control) address in message according to the MAC Address of record in stream table, and send from the physics outbound port of record;
2) CAPWAP tunnel encapsulation, this step comprises following sub-step:
21) set up stream table, this step comprises:
211) set up imperfect stream list item: send message in physical drives and (in Fig. 3, indicate the position of a1) in the process of Ethernet, set up FLOW, and the physical port of message, source, target MAC (Media Access Control) address received in record, source, object IP address, and be labeled as imperfect stream list item;
212) type USER FLOW is set: in Fig. 3, indicate the position of a4, according to source, object IP address, search imperfect stream list item, record CAPWAP information, type is set to USER FLOW, and this message of mark need to carry out CAPWAP encapsulation;
213) the complete list item of mark: the position that indicates a5 in Fig. 3, according to the source of message, object IP address, search imperfect stream list item, the outer source, tunnel, the complete list item of object IP address search that in CAPWAP module, obtain as required, if find list item and be AP FLOW type, internal layer USER FLOW list item and outer AP FLOW list item are carried out associatedly, and record CAPWAP packaging information, after completing, list item is labeled as to complete list item;
22) stream table forwards, and this step comprises:
221) CAPWAP Information encapsulation: drive and receive IPv4 message, first searching and be labeled as complete stream table, if found, and is USER FLOW type, and be labeled as and need CAPWAP encapsulation, according to the CAPWAP Information encapsulation CAPWAP tunnel head recording in USERFLOW;
222) send message: find associated AP FLOW by USER FLOW, according to the IP recording in AP FLOW, MAC, port information, the outer field UDP of encapsulation tunnel, IP, MAC head, and from the inbound port of AP FLOW, message is sent.
The inventive method is applicable to also for IPv6 network, or IPv6 and IPv4 hybrid network, that is:
1), in IPv6 network, can make to use the same method and carry out fast-forwarding;
2) between AP and AC, be that IPv4, user are IPv6, can use v6 user to flow associated v4AP stream and carry out fast-forwarding;
3) between AP and AC, be that IPv6, user are IPv4, can use v4 user to flow associated v6AP stream and carry out fast-forwarding.

Claims (2)

1. in hotspot controller, concentrate fast the implementation method forwarding, it is characterized in that, comprise the following steps:
1) CAPWAP tunnel decapsulation, this step comprises following sub-step:
11) set up stream table, this step comprises:
111) set up imperfect stream list item: receive the message of CAPWAP encapsulation in physical drives after, set up FLOW, and record receives the physical port of message, source and destination MAC Address and source and destination IP address, set up imperfect stream list item;
112) AP FLOW is set: send in the process of CAPWAP driving at CAPWAP, according to the imperfect stream list item of source and destination IP address search, it is AP FLOW that type is set, and records CAPWAP information;
113) the imperfect list item of mark: if the message of receiving is IPv4 message, set up FLOW according to the source of CAPWAP tunnel internal layer message, object IP address, and be labeled as imperfect list item;
114) USER FLOW is set: according to source and destination IP address, search imperfect list item, source and destination MAC Address when record sends, the physical port of transmission, and be labeled as complete list item, type is set to USERFLOW;
12) stream table forwards, and this step comprises:
121) separate CAPWAP encapsulation: physical drives is received the message of CAPWAP encapsulation, searches and is labeled as complete stream table, and be AP FLOW type, directly separate CAPWAP encapsulation;
122) send message: the message after decapsulation is used the complete stream table of source, object IP address search of internal layer again, if found, and be USER FLOW type, revise source, the target MAC (Media Access Control) address in message according to the MAC Address of record in stream table, and send from the physics outbound port of record;
2) CAPWAP tunnel encapsulation, this step comprises following sub-step:
21) set up stream table, this step comprises:
211) set up imperfect stream list item: send message in the process of Ethernet in physical drives, set up FLOW, and record the physical port of receiving message, source, target MAC (Media Access Control) address, source, object IP address, and be labeled as imperfect stream list item;
212) type USER FLOW is set: according to source, object IP address, search imperfect stream list item, record CAPWAP information, type is set to USER FLOW, and this message of mark need to carry out CAPWAP encapsulation;
213) the complete list item of mark: according to the source of message, object IP address, search imperfect stream list item, the outer source, tunnel, the complete list item of object IP address search that in CAPWAP module, obtain as required, if find list item and be AP FLOW type, internal layer USER FLOW list item is carried out associated with outer AP FLOW list item, and record CAPWAP packaging information, after completing, list item is labeled as to complete list item;
22) stream table forwards, and this step comprises:
221) CAPWAP Information encapsulation: drive and receive IPv4 message, first searching and be labeled as complete stream table, if found, and is USER FLOW type, and be labeled as and need CAPWAP encapsulation, according to the CAPWAP Information encapsulation CAPWAP tunnel head recording in USERFLOW;
222) send message: find associated AP FLOW by USER FLOW, according to the IP recording in AP FLOW, MAC, port information, the outer field UDP of encapsulation tunnel, IP, MAC head, and from the inbound port of AP FLOW, message is sent.
2. in a kind of hotspot controller according to claim 1, concentrate fast the implementation method forwarding, it is characterized in that, the method is suitable also for IPv6 network, or IPv6 and IPv4 hybrid network.
CN201410347834.XA 2014-07-21 2014-07-21 The implementation method of forwarding is quickly concentrated in hotspot controller Active CN104202248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410347834.XA CN104202248B (en) 2014-07-21 2014-07-21 The implementation method of forwarding is quickly concentrated in hotspot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410347834.XA CN104202248B (en) 2014-07-21 2014-07-21 The implementation method of forwarding is quickly concentrated in hotspot controller

Publications (2)

Publication Number Publication Date
CN104202248A true CN104202248A (en) 2014-12-10
CN104202248B CN104202248B (en) 2019-07-05

Family

ID=52087478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410347834.XA Active CN104202248B (en) 2014-07-21 2014-07-21 The implementation method of forwarding is quickly concentrated in hotspot controller

Country Status (1)

Country Link
CN (1) CN104202248B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428697A (en) * 2012-05-22 2013-12-04 华为技术有限公司 Network access method, device and system based on CAPWAP protocol
EP2672669A1 (en) * 2012-06-07 2013-12-11 Broadcom Corporation Tunnel acceleration for wireless access points
CN103532878A (en) * 2013-09-26 2014-01-22 华为技术有限公司 Data packet processing method, and method, device and system for managing network flow
CN103826217A (en) * 2012-11-16 2014-05-28 中国移动通信集团公司 WLAN user service access method and device
CN103916302A (en) * 2013-01-04 2014-07-09 上海贝尔股份有限公司 Method and device for providing SDN stream route for virtual WLAN

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428697A (en) * 2012-05-22 2013-12-04 华为技术有限公司 Network access method, device and system based on CAPWAP protocol
EP2672669A1 (en) * 2012-06-07 2013-12-11 Broadcom Corporation Tunnel acceleration for wireless access points
CN103826217A (en) * 2012-11-16 2014-05-28 中国移动通信集团公司 WLAN user service access method and device
CN103916302A (en) * 2013-01-04 2014-07-09 上海贝尔股份有限公司 Method and device for providing SDN stream route for virtual WLAN
CN103532878A (en) * 2013-09-26 2014-01-22 华为技术有限公司 Data packet processing method, and method, device and system for managing network flow

Also Published As

Publication number Publication date
CN104202248B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN102970227B (en) The method and apparatus of VXLAN message repeating is realized in ASIC
EP3065358B1 (en) Method and device for message forwarding
US9467376B2 (en) Method and device for sending internet protocol packets
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
US20150003463A1 (en) Multiprotocol Label Switching Transport for Supporting a Very Large Number of Virtual Private Networks
WO2016045637A1 (en) Forwarding data packets in software defined network
EP2893676B1 (en) Packet forwarding
CN101488904B (en) Method for GRE tunnel crossing network address translation apparatus and network address translation apparatus
CN109995654B (en) Method and device for transmitting data based on tunnel
US10447593B2 (en) Method and gateway for obtaining route according to requirement
WO2018233588A1 (en) Forwarding entry generation
WO2015021832A1 (en) Method and device for forwarding mpls data packet
US10142223B2 (en) Symmetric intersubnet traffic load balancing in multihomed networks
US9602461B2 (en) Service forwarding method and device
CN103200068B (en) A kind of based on customer service Multiple tunnel transmitting device
CN104125128A (en) Method for supporting VLAN (virtual local area network) by aid of Linux soft bridge
CN102299862B (en) Quick forwarding equipment and method for two-layer tunnel
CN104219149B (en) A kind of message transmitting method and equipment based on virtual connections
WO2014187428A1 (en) Method for realizing message forwarding and switch
CN101286918A (en) Virtual private network system and data processing method thereof
CN102523312B (en) Method for optimal tunnel selection in 4over6 scene
CN102647347B (en) Realize based on the processing method of flow connected and system
CN102882760B (en) Method, module, equipment and system for message processing in virtual private local area network service network
JP2014526855A5 (en)
CN104202248A (en) Method for realizing rapid intensive transmitting in wireless hotspot controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210524

Address after: 314000 North District, 3rd Floor, Building 12, Phase III, 906 Asia-Pacific Road, Nanhu District, Jiaxing City, Zhejiang Province

Patentee after: Zhejiang new home network technology Co.,Ltd.

Address before: 200241 block 02B, 6 / F, jilou, 555 Dongchuan Road, Minhang District, Shanghai

Patentee before: SHANGHAI GBCOM COMMUNICATION TECHNOLOGY Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Implementation of fast centralized forwarding in wireless hotspot controller

Effective date of registration: 20220616

Granted publication date: 20190705

Pledgee: Agricultural Bank of China Limited by Share Ltd. South Lake branch

Pledgor: Zhejiang new home network technology Co.,Ltd.

Registration number: Y2022330000994