CN102946358B - Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network - Google Patents

Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network Download PDF

Info

Publication number
CN102946358B
CN102946358B CN201210481142.5A CN201210481142A CN102946358B CN 102946358 B CN102946358 B CN 102946358B CN 201210481142 A CN201210481142 A CN 201210481142A CN 102946358 B CN102946358 B CN 102946358B
Authority
CN
China
Prior art keywords
context
layers
network
message
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210481142.5A
Other languages
Chinese (zh)
Other versions
CN102946358A (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.)
CICT Mobile Communication Technology Co Ltd
Original Assignee
Wuhan Hongxin Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Hongxin Telecommunication Technologies Co Ltd filed Critical Wuhan Hongxin Telecommunication Technologies Co Ltd
Priority to CN201210481142.5A priority Critical patent/CN102946358B/en
Publication of CN102946358A publication Critical patent/CN102946358A/en
Application granted granted Critical
Publication of CN102946358B publication Critical patent/CN102946358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a quick message three-layer transmitting method for an automatic control (AC) device in a wireless local area network (WLAN) network. The quick message three-layer transmitting method is adopted to classify messages and store three-layer transmitted information in contexts based on a network processing module capable of performing complicated network processing and a switching chip having high-performance transmitting capacity. By applying the method, the complicated network processing and tunnel package can be performed, high-performance three-layer transmitting of the messages is further guaranteed, and the system performance is improved finally. The quick message three-layer transmitting method is applied to a network massage packaging and transmitting scene of the AC device in the WLAN network.

Description

For the message fast three-layer retransmission method of AC equipment in wlan network
Technical field
The invention belongs to WLAN mobile communication technology field, be specifically related to a kind of fast three-layer retransmission method being undertaken classifying by context dependence of AC equipment (wireless controller) in wlan network (WLAN).
Background technology
Along with the progressively fusion of WLAN and 3G network, WLAN WLAN (wireless local area network) growth is swift and violent, this just requires must have very strong network processes and data forwarding capability, comprising CAPWAP(control and provisioning of wireless access points as the AC equipment of access control end) tunnel encapsulation forwarding.The common practice of current wlan network AC equipment is: after network message passes to AC equipment, first through network process module, dissection process is carried out to message, context is then searched for user's message and carries out CAPWAP encapsulation, then get the object ip of message, search route, amendment message forwards.This method is simple, but have impact on Message processing and forwarding speed, causes Whole Equipment hydraulic performance decline.
Summary of the invention
The present invention is directed to network message process and three layers of performance issue forwarded of AC equipment in wlan network, message is classified by context dependence according to ip, suitable high-performance three-layer forwarding method is selected for different messages, abundant utilization software and hardware resources, reaches three layers of optimization forwarded while ensureing complicated network processing logic.
Technical scheme of the present invention is a kind of message fast three-layer retransmission method for AC equipment in wlan network, when AP and user reach the standard grade, creates and upgrades with the context of three layers of forwarding information, and irrelevant three layers of synchronous context forward information to exchange chip; When network message arrives AC equipment, classify and fast-forwarding is carried out to network message;
Described classification to the implementation that network message carries out fast-forwarding is, context dependent is judged whether according to object ip, for context-sensitive message, search the context with three layers of forwarding information, complete CAPWAP tunnel encapsulation and realize three layers fast turn simultaneously; For context-free message, issue exchange chip hardware engine and search and forward.
And the described context with three layers of forwarding information, refers to contextual content except comprising the necessary context of network processes, further comprises the three layers of forwarding information be associated with the ip of user and AP.
And, when syntople upgrades, upgrade three layers of forwarding information.
Method of the present invention, has the following advantages:
1. play the flexibility of software, for the CAPWAP tunnel encapsulation that context-sensitive network message adopts network process module to complete hardware to be difficult to, solve again the performance issue that the software three layers that brings thus forwards simultaneously.
2. play the high-performance of hardware, for the method that context-free network message adopts exchange chip hardware consulting table to forward, give full play to hardware performance.
Accompanying drawing explanation
Fig. 1 is the function structure chart of the embodiment of the present invention.
Fig. 2 is the establishment of the embodiment of the present invention and upgrades with the context workflow diagram of three layers of forwarding information.
Fig. 3 is the workflow diagram that the synchronous context of the embodiment of the present invention three layers of haveing nothing to do forward information to exchange chip.
Fig. 4 is fast-forwarding is carried out in the classification of embodiment of the present invention workflow diagram to network message.
Embodiment
Technical solution of the present invention is described in detail below in conjunction with drawings and Examples.
The technical scheme of embodiment is, when AP and user reach the standard grade, creates and upgrades with the context of three layers of forwarding information, and irrelevant three layers of synchronous context forward information to exchange chip; When network message arrives AC equipment, classify and fast-forwarding is carried out to network message.Described classification to the implementation that network message carries out fast-forwarding is, context dependent is judged whether according to object ip, for context-sensitive message, search the context with three layers of forwarding information, complete CAPWAP tunnel encapsulation and realize three layers fast turn simultaneously; For context-free message, issue exchange chip hardware engine and search and forward.
During concrete enforcement, computer software technology can be adopted to realize automatic operational process, software modularity technology also can be adopted to realize in AC system.
The environment that realizes of embodiment is:
A () exchange chip can carry out the forwarding of hardware fast three-layer, but cannot carry out complicated Message processing and tunnel encapsulation; Network processing unit can carry out complicated Message processing and tunnel encapsulation, but three layers of forwarding performance have much room for improvement.
B () context and three layers of forwarding information are all feature with ip, and finally create corresponding relation, and therefore three layers of forwarding information can be deposited within a context.
Fig. 1 describes typical function structure chart.Generally be provided with exchange chip in AC equipment, due to the needs of network processes, network message often needs the network processes of first carrying out some complexity, instead of is directly forwarded by exchange chip.After some messages need encapsulation tunnel, then carry out three layers of forwarding, this part work is completed by network process module.Encapsulation tunnel needs to search contextual, and contextual foundation, upgrades and completed by context management module with searching.Embodiment arranges network process module, context management module, and these three modules of three layer-management modules belong to the module of software view.In order to deposit within a context by three layers of forwarding information, the function of three layer-management modules is management three layers of forwarding information exactly, and is synchronized in context or exchange chip.The effect of exchange chip is three layers of forwarding that the message had nothing to do to partial context carries out hardware view, the form of general employing three layer retransmitting tables+two-layer retransmitting table, two-layer retransmitting table and MAC Address and VLAN and forwarding port corresponding relation, the MAC Address of three layer retransmitting tables and object ip or ip address field and down hop and the corresponding relation of outgoing interface.
Specifically:
When AP and user reach the standard grade, the context management module primarily of AC equipment is responsible for the context creating and upgrade with three layers of forwarding information;
When AC equipment obtains routing iinformation, context-free three layers of three layer-management module synchronization forward information to exchange chip;
When network message arrives AC equipment, primarily of network process module classification, fast-forwarding is carried out to network message.
Embodiment creates and upgrades the context with three layers of forwarding information, focus in context containing three layers of forwarding information, context is except comprising the necessary context of network processes, further comprises the three layers of forwarding information be associated with the ip of user, AP, i.e. routing rule and Adjacent rule; Further, for information such as the next-hop mac address in Adjacent rule, meeting timely notification context administration module when syntople upgrades.Routing rule and object ip or ip address field (specifically referring to the ip of AP and user here) and the ip address of down hop and the corresponding relation of outgoing interface, Adjacent rule is the corresponding relation of the i.e. ip of down hop and the MAC of down hop.
Fig. 2 describes the context workflow diagram creating and upgrade with three layers of forwarding information.
Step 1, correlation module starts initialization.Comprise context management module, three layer-management modules and network process module and carry out initialization respectively.
Step 2, AP(wireless router) to reach the standard grade, message is sent to AC by AP; User reaches the standard grade, and after the message of user is encapsulated by AP, sends to AC.As shown in number in the figure 20.
Step 3, AC obtains the message of reaching the standard grade of AP and user from AP, sets up the context of AP and user, and notifies that three layer-management modules carry out work.As shown in number in the figure 21.
Step 4, three layer-management modules, according to the ip of user in step 3 and AP, are searched routing iinformation and search syntople by ARP message, obtain next-hop mac address, three layers of forwarding information are informed to context management module.As shown in number in the figure 22.Routing iinformation, comprises dynamic routing, static routing etc.ARP and address resolution protocol, by an ICP/IP protocol of ip address acquisition physical address.Namely next-hop mac address searches gained adjacency information.Can start to perform irrelevant three layers of synchronous context after this step completes and forward information to exchange chip.
Step 5, context management module upgrades corresponding user and the contextual three layers of forwarding information of AP after receiving the message of three layers of forwarding informations renewal.As shown in number in the figure 23.When upgrading context, three layers of forwarding information are deposited within a context.
Step 6, because Routing Adjacency relation likely changes, therefore after the context establishment, three layer-management modules also need to monitor syntople.As shown in number in the figure 24.
Step 7, the monitoring result in step 6 is tested by three layer-management modules, if syntople there occurs change, then needs notification context administration module to carry out the renewal of three layers of forwarding information, can return and continue to perform step 5.As shown in number in the figure 25.
Embodiment forwards information to exchange chip by irrelevant for synchronous context three layers, refer to after judging that according to the object ip of routing rule three layers of forwarding information (routing rule and Adjacent rule) are for context-free, three layers of forwarding information are passed in hardware three layer retransmitting table.
Fig. 3 three layers of describing that synchronous context has nothing to do forward information to the workflow diagram of exchange chip.
Step 1, module starts initialization.Refer to three layer-management modules herein.
Step 2, three layer-management modules obtain routing iinformation, comprise dynamic routing, static routing etc.As shown in number in the figure 30.
Step 3, three layer-management modules search syntople according to routing iinformation, can reach, then enter step 4 and carry out context-free judgement if adjacent.As shown in number in the figure 31.If adjacent unreachable, do not descend photos and sending messages.Specifically search and also obtain next-hop mac address realization by ARP message.
Step 4, three layer-management modules judge whether context-free, are to search context according to the object ip in routing iinformation, if search less than context, then prove context-free.As shown in number in the figure 32.
Step 5, in step 4, if the determination result is YES, then three layer-management modules by three layers of forwarding information synchronized update to exchange chip.As shown in number in the figure 33.If judged result is no, be then context-sensitive situation, see the flow processing of accompanying drawing 2.Three layers of forwarding information comprise the routing iinformation of step 2 and the adjacency information of step 3, i.e. routing rule and Adjacent rule.
Step 6, because Routing Adjacency relation likely changes, therefore three layer-management modules also need to monitor syntople.As shown in number in the figure 34.
Step 7, the monitoring result in step 6 is tested by three layer-management modules, if syntople there occurs change, then needs renewal exchange chip being carried out to three layers of forwarding information, can return and continue to perform step 5.As shown in number in the figure 35.
Classification is carried out fast-forwarding to network message and is referred to, judges whether context dependent, for context-sensitive message, search the context with three layers of forwarding information according to object ip, completes CAPWAP tunnel encapsulation and realize three layers simultaneously to turn soon; For context-free message, issue exchange chip hardware engine and search.
Fig. 4 is fast-forwarding is carried out in classification workflow diagram to network message.
Step 1, module starts initialization.Comprise context management module, three layer-management modules and network process module and carry out initialization respectively.
Step 2, network process module receives network message and to go forward side by side row relax, and CAPWAP encapsulation and three layers of forwarding set up contact by the ip of message, judges whether context dependent so first here according to object ip.As shown in number in the figure 40.
Step 3, network process module judges whether context dependent according to object ip, decides to adopt which kind of pass-through mode.As shown in number in the figure 41.
If the determination result is YES, this illustrates that follow-up process needs to use contextual information and carries out CAPWAP tunnel encapsulation and realize three layers simultaneously turning soon, so, network process module is when encapsulating CAPWAP tunnel, search context from context management module, object MAC is directly revised as next-hop MAC etc. by three layers of forwarding information based on context.As shown in number in the figure 42.
If judged result is no, this illustrates that follow-up process does not need to use contextual information and carries out CAPWAP tunnel encapsulation, if it is not good now to look into routing performance with software, therefore message is sent to exchange chip and carries out hardware forwarding by network process module.As shown in number in the figure 43.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.

Claims (2)

1. the message fast three-layer retransmission method for AC equipment in wlan network, it is characterized in that: when AP and user reach the standard grade, create and upgrade the context with three layers of forwarding information, irrelevant three layers of synchronous context forward information to exchange chip, the described context with three layers of forwarding information, refer to contextual content except comprising the necessary context of network processes, further comprises the three layers of forwarding information be associated with the ip of user and AP; When network message arrives AC equipment, classify and fast-forwarding is carried out to network message;
Described classification to the implementation that network message carries out fast-forwarding is, context dependent is judged whether according to object ip, for context-sensitive message, search the context with three layers of forwarding information, complete CAPWAP tunnel encapsulation and realize three layers simultaneously and turn soon, CAPWAP tunnel encapsulation and three layers of forwarding set up contact by the ip of message, when encapsulating CAPWAP tunnel, search context also based on context in three layers of forwarding information directly object MAC is revised as next-hop MAC; For context-free message, issue exchange chip hardware engine and search and forward.
2. according to claim 1 for the message fast three-layer retransmission method of AC equipment in wlan network, it is characterized in that: the described three layers of forwarding information be associated with the ip of user, AP, for routing rule and Adjacent rule, routing rule is the corresponding relation of the ip of AP and user and the ip address of down hop and interface, and Adjacent rule is the corresponding relation of the ip of down hop and the MAC of down hop; For Adjacent rule, when syntople upgrades, upgrade three layers of forwarding information.
CN201210481142.5A 2012-11-23 2012-11-23 Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network Active CN102946358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210481142.5A CN102946358B (en) 2012-11-23 2012-11-23 Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210481142.5A CN102946358B (en) 2012-11-23 2012-11-23 Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network

Publications (2)

Publication Number Publication Date
CN102946358A CN102946358A (en) 2013-02-27
CN102946358B true CN102946358B (en) 2015-07-15

Family

ID=47729266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210481142.5A Active CN102946358B (en) 2012-11-23 2012-11-23 Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network

Country Status (1)

Country Link
CN (1) CN102946358B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865748B (en) * 2020-06-10 2023-10-20 新华三技术有限公司 Communication system and communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179511A (en) * 2007-11-27 2008-05-14 华为技术有限公司 Method of obtaining network address, and access equipment
CN101352003A (en) * 2005-12-30 2009-01-21 极进网络股份有限公司 Method of providing virtual router functionality

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101352003A (en) * 2005-12-30 2009-01-21 极进网络股份有限公司 Method of providing virtual router functionality
CN101179511A (en) * 2007-11-27 2008-05-14 华为技术有限公司 Method of obtaining network address, and access equipment

Also Published As

Publication number Publication date
CN102946358A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
US11252259B2 (en) Service processing method, mobile edge computing device, and network device
CN106790104B (en) IP communication and FC-AE-1553 communication means between multi-protocols emerging system, node
US9948575B2 (en) Issuing method for forwarding adjacency link
CN105072038B (en) A kind of data message forwarding method and device
Guerzoni et al. SDN-based architecture and procedures for 5G networks
CN107925613A (en) It is used for the methods, devices and systems to E-Packet in business function chain SFC
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN102571587B (en) Method and equipment for forwarding messages
US7801080B2 (en) Root mobile router and the operating method thereof in dynamically composed moving network
US20160165506A1 (en) Wireless Local Area Network WLAN User Roaming Method, Apparatus, and System
CN104348757A (en) Flow table interactive method, switch, and system
CN104243265A (en) Gateway control method, device and system based on virtual machine migration
CN103220215B (en) The retransmission method of FCoE message and device in TRILL network
CN102857414A (en) Forwarding table writing method and device and message forwarding method and device
TWI759571B (en) Data transfer method based on flow table
CN104702438A (en) PE apparatus management method and device
CN101052022A (en) System and method for virtual special net user to access public net
CN107318141A (en) A kind of method of data transfer, equipment and system
CN103023773A (en) Method, device and system for forwarding message in multi-topology network
CN103763750A (en) Method for fast achieving packet forwarding in wireless ad hoc network of TDMA protocol
CN102355402B (en) Method, system and router for establishing LSP (Label Switched Path) based on VPN (Virtual Private Network) route
CN102984070A (en) Method for realizing data forwarding through unnumbered interface of Ethernet
CN113556784A (en) Network slice implementation method and device and electronic equipment
CN102946358B (en) Quick message three-layer transmitting method for automatic control (AC) device in wireless local area network (WLAN) network
CN104717640A (en) Realization method for wireless network communication based on positioning

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
CP03 Change of name, title or address

Address after: 430205 Hubei city of Wuhan province Jiangxia Hidden Dragon Island Tan lake two Road No. 1

Patentee after: CITIC Mobile Communication Technology Co., Ltd

Address before: 430073 Hubei province Wuhan Dongxin East Lake high tech Development Zone, Road No. 5

Patentee before: Wuhan Hongxin Telecommunication Technologies Co.,Ltd.

CP03 Change of name, title or address
CP01 Change in the name or title of a patent holder

Address after: 430205 No.1 tanhu 2nd Road, Canglong Island, Jiangxia District, Wuhan City, Hubei Province

Patentee after: CITIC Mobile Communication Technology Co.,Ltd.

Address before: 430205 No.1 tanhu 2nd Road, Canglong Island, Jiangxia District, Wuhan City, Hubei Province

Patentee before: CITIC Mobile Communication Technology Co., Ltd

CP01 Change in the name or title of a patent holder