CN109889389B - System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof - Google Patents

System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof Download PDF

Info

Publication number
CN109889389B
CN109889389B CN201910185509.0A CN201910185509A CN109889389B CN 109889389 B CN109889389 B CN 109889389B CN 201910185509 A CN201910185509 A CN 201910185509A CN 109889389 B CN109889389 B CN 109889389B
Authority
CN
China
Prior art keywords
message
terminal
cloud
network
server
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
CN201910185509.0A
Other languages
Chinese (zh)
Other versions
CN109889389A (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.)
SUZHOU HANMING TECHNOLOGY CO LTD
Original Assignee
SUZHOU HANMING 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 SUZHOU HANMING TECHNOLOGY CO LTD filed Critical SUZHOU HANMING TECHNOLOGY CO LTD
Priority to CN201910185509.0A priority Critical patent/CN109889389B/en
Publication of CN109889389A publication Critical patent/CN109889389A/en
Application granted granted Critical
Publication of CN109889389B publication Critical patent/CN109889389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a system for supporting cloud AC to carry out centralized forwarding, which enables the cloud AC to support CAPWAP centralized forwarding, and comprises a cloud AC server and a network card which are in communication connection, wherein the network card comprises a network processor, a Phy chip, a DRAM and a FLASH which are connected with the network processor, the cloud AC server is used for configuring an AP and a terminal, the network card can realize CAPWAP centralized forwarding by matching with the cloud AC server, the network card also comprises a network interface, the network interface is connected with the Phy chip, and the network interface also comprises a PCIE interface which is used for connecting with the cloud AC server.

Description

System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof
Technical Field
The invention relates to the technical field of wireless communication, in particular to a system supporting cloud AC (access control) to carry out centralized forwarding and a method for forwarding a message.
Background
The conventional WLAN network mainly comprises an ac (access controller), an ap (access point), and an STA (Station terminal). The traditional AC is a physical network device and is responsible for managing the AP and the STA in the LAN, in the special WLAN networking, each AP and AC are required to establish a CAPWAP tunnel for transmitting the data of the STA, all the STA internet traffic can be sealed with the CAPWAP tunnel head, and the traffic is gathered to the AC through the CAPWAP tunnel and is forwarded in a centralized way by the AC. The centralized forwarding has the advantages of convenient networking and capability of ensuring the safety of user data because all data pass through the AC.
With the development of wireless network applications, the continuous access of remote APs and the continuous improvement of the manageable number of APs, the operation mode and the management capability of the traditional hardware AC cannot meet the requirement of access of massive wireless users, and for the application mode, a cloud AC deployed in a central machine room is required.
However, the cloud AC is an application program running on the general-purpose server and has the capability of managing massive wireless services, but the cloud AC only supports the configuration of the AP and the STA, cannot support the CAPWAP centralized forwarding characteristic of the conventional hardware AC, and cannot support applications requiring message analysis, such as local fine flow control, user data audit, and the like.
Disclosure of Invention
The invention provides a system supporting cloud AC to carry out centralized forwarding and a method for forwarding a message thereof, so that the cloud AC supports CAPWAP centralized forwarding.
The technical scheme is as follows: a system supporting cloud AC to carry out centralized forwarding is characterized by comprising a cloud AC server and a network card which are in communication connection, wherein the network card comprises a network processor, a Phy chip, a DRAM and a FLASH which are connected with the network processor, the cloud AC server is used for configuring an AP and a terminal, and the network card is matched with the cloud AC server to realize CAPWAP centralized forwarding.
Further, the system also comprises a network interface, wherein the network interface is connected with the Phy chip, and the system also comprises a PCIE interface which is used for connecting the cloud AC server.
A method for forwarding messages through a system supporting cloud AC to perform centralized forwarding is characterized in that: the system implementation for supporting the cloud AC to perform centralized forwarding comprises the following steps:
step S1: the network card receives the message through the network interface;
step S2: the network card sends the received message to the network processor,
step S3: the network processor judges whether the type of the received message is a signaling message for WLAN communication or a user data message, and processes the received message according to different message types;
and step S4, for the message judged to be the user data message in step S3, the network processor judges again whether the user data message type is terminal downlink data or terminal uplink data, and processes differently according to the type of the user data message.
Further, in step S3, for the signaling message, the signaling message is sent to the cloud AC server through the PCIE interface, and the cloud AC server processes the signaling message.
Further, in step S4, for the terminal downlink data, the network processor searches a terminal flow table stored in the DRAM, where the terminal flow table includes an ethernet header, an IP header, a UDP header, and a CAPWAP header for encapsulating the CAPWAP header; the network processor encapsulates the complete Ethernet header, IP header, UDP header and CAPWAP header to form a CAPWAP tunnel message at the head of the terminal downlink message to be sent to the terminal according to the searched terminal flow table corresponding to the terminal downlink data, and sends the encapsulated CAPWAP tunnel message to AP equipment distributed in different areas through a network interface by a PHY chip and then to the terminal;
and for the terminal uploading data, the network processor unlocks a CAPWAP tunnel message header in the terminal uploading data to obtain a tunnel inner layer message of the terminal, and the tunnel inner layer message of the terminal is sent to the superior network equipment through the network interface to finish the centralized forwarding of the message of the terminal uplink data.
Further, after the terminal is online on the cloud AC server and the authentication is passed, the cloud AC server issues a terminal flow table to the network processor of the network card, and the terminal flow table is stored in the DRAM.
The system for supporting the cloud AC to carry out centralized forwarding and the method for forwarding the message through the system can enable the cloud AC server not supporting the centralized forwarding characteristic to support the centralized forwarding characteristic of the traditional hardware AC by adding additional network card equipment while the cloud AC server carries out massive AP and STA management, expand the characteristic of the cloud AC, and have the advantages of simplicity in operation and high forwarding performance.
Drawings
Fig. 1 is a system block diagram of a system supporting a cloud AC for centralized forwarding according to the present invention;
FIG. 2 is a block diagram of the modules of the network card of the present invention;
fig. 3 is a flowchart of a method for forwarding a packet through a system supporting the cloud AC for centralized forwarding according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1 and 2, the system for supporting the cloud AC to perform centralized forwarding includes a cloud AC server 1 and a network card 2 connected in communication, where the network card 2 includes a network processor 21, a Phy chip 22, a DRAM 23, and a FLASH 24 connected to the network processor 21, the network card 2 further includes a network interface 25, the network interface 25 is connected to the Phy chip 22, and further includes a PCIE interface 26 for connecting the cloud AC server 1, the cloud AC server 1 is used for configuring an AP and a terminal, and can implement processing of WLAN services related to wireless configuration management, AP online, terminal authentication and charging, and the like, and the network card 2 and the cloud AC server 1 cooperate to implement CAPWAP centralized forwarding.
The network processor 21 runs an embedded Linux operating system, works in a Slave mode of PCIE, and mutually and interactively configures and runs data with a Linux system application program of the cloud AC server 1 through a Linux network device driver.
Referring to fig. 3, a method for forwarding a packet by the system supporting the cloud AC for centralized forwarding includes the following steps:
step S1: the network card 2 receives the message through the network interface 21, the network interface receives the signaling message sent by the AP and the data message of the terminal, and simultaneously receives the message which needs to be forwarded to the STA by other network equipment;
step S2: the network card 2 sends the received message to the network processor 21, the local network processor 21 analyzes and processes the message,
step S3: the network processor judges whether the type of the received message is a signaling message for WLAN communication or a user data message, processes the received message according to different message types, sends the signaling message to the cloud AC server 1 through the PCIE interface 26 for the signaling message, and processes the signaling message by the cloud AC server 21;
step S4, for the message judged to be the user data message in step S3, the network processor 21 judges again whether the user data message type is terminal downlink data or terminal uplink data, and processes differently according to the type of the user data message;
for terminal downlink data, the network processor 21 searches a terminal flow table stored in the FLASH 24, the terminal flow table is that when the terminal is online on the cloud AC server 1 and the authentication is passed, the cloud AC server 1 issues the terminal flow table to the network processor 21 of the network card, the terminal flow table is stored in the FLASH 24, and the terminal flow table includes an ethernet header, an IP header, a UDP header, and a CAPWAP header for encapsulating the CAPWAP header; according to the found terminal flow table corresponding to the terminal downlink data, the network processor 21 encapsulates the complete Ethernet header, IP header, UDP header and CAPWAP header at the head of the terminal downlink message to be sent to the terminal to form a CAPWAP tunnel message, and the network processor 21 sends the encapsulated CAPWAP tunnel message to the AP equipment distributed in different areas through the PHY chip 22 through the network interface 25 and then sends the CAPWAP tunnel message to the terminal;
for the terminal upload data, the network processor 21 unwraps the header of the CAPWAP tunnel message in the terminal upload data to obtain the tunnel inner layer message of the terminal, and sends the tunnel inner layer message of the terminal to the upper level network device through the network interface 25 to complete the centralized forwarding of the message of the terminal uplink data.
The system for supporting the cloud AC to carry out centralized forwarding and the method for forwarding the message through the system can enable the cloud AC server not supporting the centralized forwarding characteristic to support the centralized forwarding characteristic of the traditional hardware AC by adding additional network card equipment while the cloud AC server carries out massive AP and STA management, expand the characteristic of the cloud AC, and have the advantages of simplicity in operation and high forwarding performance.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (2)

1. A method for forwarding messages through a system supporting cloud AC to perform centralized forwarding is characterized in that: the system supporting the cloud AC to perform centralized forwarding is realized by a system supporting the cloud AC to perform centralized forwarding: the network card comprises a cloud AC server and a network card which are in communication connection, wherein the network card comprises a network processor, a Phy chip, a DRAM and a FLASH which are connected with the network processor, the cloud AC server is used for configuring an AP and a terminal, and the network card is matched with the cloud AC server to realize CAPWAP centralized forwarding; the cloud AC server comprises a Phy chip, a network interface and a PCIE interface, wherein the Phy chip is connected with the network interface, the PCIE interface is used for connecting the cloud AC server, and the method comprises the following steps:
step S1: the network card receives the message through the network interface;
step S2: the network card sends the received message to the network processor,
step S3: the network processor judges whether the type of the received message is a signaling message for WLAN communication or a user data message, and processes the received message according to different message types;
step S4, for the message judged to be the user data message in step S3, the network processor judges the type of the user data message as terminal downlink data or terminal upload data again, and processes the user data message according to different types of the user data message;
in step S3, for a signaling message, sending the signaling message to a cloud AC server through the PCIE interface, where the cloud AC server processes the signaling message;
in step S4, for the terminal downlink data, the network processor searches a terminal flow table stored in the DRAM, the terminal flow table including an ethernet header, an IP header, a UDP header, and a CAPWAP header for encapsulating the CAPWAP header; the network processor encapsulates a complete Ethernet header, an IP header, a UDP header and a CAPWAP header at the head of a terminal downlink message to be sent to the terminal according to the searched terminal flow table corresponding to the terminal downlink data to form a CAPWAP tunnel message, and the network processor sends the encapsulated CAPWAP tunnel message to AP equipment distributed in different areas through a network interface by a PHY chip and then sends the CAPWAP tunnel message to the terminal;
for the terminal uploading data, the network processor unlocks a CAPWAP tunnel message header of the terminal uploading data to obtain a tunnel inner layer message of the terminal; sending out the tunnel inner layer message of the terminal through a network interface to finish the centralized forwarding of the uplink data message of the terminal.
2. The method according to claim 1, wherein the method for forwarding the packet through the system supporting the cloud AC for centralized forwarding is further characterized in that: and when the terminal is on line on the cloud AC server and the authentication is passed, the cloud AC server sends a terminal flow table to the network processor of the network card and stores the terminal flow table in the DRAM.
CN201910185509.0A 2019-03-12 2019-03-12 System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof Active CN109889389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910185509.0A CN109889389B (en) 2019-03-12 2019-03-12 System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910185509.0A CN109889389B (en) 2019-03-12 2019-03-12 System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof

Publications (2)

Publication Number Publication Date
CN109889389A CN109889389A (en) 2019-06-14
CN109889389B true CN109889389B (en) 2022-02-11

Family

ID=66931838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910185509.0A Active CN109889389B (en) 2019-03-12 2019-03-12 System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof

Country Status (1)

Country Link
CN (1) CN109889389B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621802A (en) * 2009-08-13 2010-01-06 杭州华三通信技术有限公司 Method, system and device for authenticating portal in wireless network
CN103200068A (en) * 2013-03-01 2013-07-10 北京傲天动联技术股份有限公司 Multi-tunnel transmission device based on user service
CN103595646A (en) * 2013-11-25 2014-02-19 深圳市华讯方舟科技有限公司 Method and system for processing data packages forwarded intensively in fit AP
CN104618231A (en) * 2015-02-05 2015-05-13 成都西加云杉科技有限公司 Deep packet inspection method, device and system for cloud terminal Wi-fi system
CN106301822A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 A kind of methods, devices and systems that AP is configured
CN107567069A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 Wireless distribution system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621802A (en) * 2009-08-13 2010-01-06 杭州华三通信技术有限公司 Method, system and device for authenticating portal in wireless network
CN103200068A (en) * 2013-03-01 2013-07-10 北京傲天动联技术股份有限公司 Multi-tunnel transmission device based on user service
CN103595646A (en) * 2013-11-25 2014-02-19 深圳市华讯方舟科技有限公司 Method and system for processing data packages forwarded intensively in fit AP
CN104618231A (en) * 2015-02-05 2015-05-13 成都西加云杉科技有限公司 Deep packet inspection method, device and system for cloud terminal Wi-fi system
CN106301822A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 A kind of methods, devices and systems that AP is configured
CN107567069A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 Wireless distribution system

Also Published As

Publication number Publication date
CN109889389A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN104254983B (en) Method and system for providing beacon message
US10554795B2 (en) Uplink transmission method, related device, and system
CN113395214B (en) Industrial equipment networking method, electronic equipment and storage medium
US11336513B2 (en) Network nodes with intelligent integration
WO2009061110A1 (en) Data transmission method in wireless mesh network and a-msdu format
CN106856609A (en) A kind of network collocating method and device
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
WO2019047197A1 (en) Method and system to integrate fixed access into converged 5g core
WO2022134908A1 (en) Communication method, model processing method, and related device
CN107079524B (en) Data forwarding method and controller
CN103095654A (en) Virtual local area network (VLAN) configuration method, wireless access point and network control point
CN104540180B (en) A kind of Android multihop routing implementation method without root authority
WO2011116598A1 (en) Method and system for achieving management of gateway
CN113613274B (en) Intelligent access configuration method based on Mesh networking
CN109842920A (en) A kind of transmission method, access network equipment and terminal device
EP2981105A1 (en) Communication system, relay device and communication method
CN110337103A (en) A kind of connectionless data hided transmission method based on 802.11 agreements
CN102196417B (en) Method for user-side equipment and user-side equipment, control equipment
Haseeb et al. Connectivity, interoperability and manageability challenges in internet of things
CN103763676B (en) Communication means and equipment between AP and AC
CN112104479A (en) Intelligent equipment batch zero allocation method
CN109889389B (en) System supporting cloud AC (access control Unit) to carry out centralized forwarding and message forwarding method thereof
KR20140113241A (en) Method for expedited wireless link setup considering backhaul network
CN113132966A (en) Intelligent terminal fast network access method
CN110839259B (en) Data transmission method between service terminal and service main station

Legal Events

Date Code Title Description
PB01 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