Background technology
WLAN (WLAN) is mainly made up of wireless controller (AC) and WAP (AP), and networking mode can be divided into fat ap mode networking and thin ap mode networking.
Under fat ap mode networking, AP works alone as independent individuality, wirelessly carries out data receiver and transmission with user.Under thin ap mode networking, AP needs to be uniformly carried out configuration management by AC, and AP itself does not have any software and configuration, and AP is run required related configuration data and is sent to AP by AC, thus AP carries out the configuration of inherent parameters according to the AC configuration data sent.
The function of the physical layer in WLAN, ciphering user data, user authentication, QoS, network management and other application layers is rolled into one by fat AP, and the networking of thin AP and AC framework has a characteristic of unified management, and automated radio frequency (RF) planning can be completed with flying colors, access and the work such as safety control strategy.
Along with wlan network scale is developed gradually, focus, user increase gradually, the commonly used thin ap mode networking of large-scale network-estabilishing, but if thin ap mode networking occurring, AC fault or link are abnormal, then causing that in thin ap mode networking, all AP and AC lose connection, AP cannot continue to provide the user service.In the prior art, when AP detect lose with AC associate time, ap reboot is also again found accessible AC and is associated, but, ap reboot necessarily causes that existing customer service is interrupted, and makes Consumer's Experience to continue.
Summary of the invention
It is an object of the invention to provide a kind of WAP (AP) fat or thin mode switching method, including: the AP being in thin pattern sends the association request message including self information to wireless controller (AC);When AC determines, according to association request message, the association permitting AP, send associated response message to AP, and run required configuration information with rear to AP transmission AP;AP preserves the configuration information received, and performs configuration based on configuration information, and is associated with AC;AP sends detection messages to be confirmed whether to lose with AC to associate to AC;And when AP and AC loses association, AP switches to fat pattern, and forward based on the data between the configuration information preserved user and the Internet to accessing.
Described self information can include forward mode that AP supports, AP supports radio (radio) information and the facility information of AP.
Described configuration information can include radio (radio) information and WLAN (WLAN) information of AP.
The described step performing to configure based on configuration information comprises the steps that establishment WLAN and WLAN interface.
After AP performs configuration based on configuration information, also can send, to AC, the configuration result indicating whether successfully to carry out configuring.
Described AP sends detection messages to be confirmed whether that losing the step associated with AC comprises the steps that if AP does not receive response message from AC to AC, then can resend detection messages, when the number of times resending detection messages reaches predetermined value, it is believed that AP and AC loses association.
AP can adopt local forward mode to carry out data forwarding.
The fat or thin mode switching method of described AP may also include that the AP being in fat pattern broadcast while keeping the data between user and the Internet to forward includes the association request message of self information, with the AC that discovery can associate;When there is AC and determining, according to association request message, the association permitting AP, send associated response message to AP;AP deletes, based on the associated response message received, the configuration information preserved and is switched to thin pattern to wait that AC sends AP and runs required new configuration information;AC sends new configuration information to AP;And AP preserves the new configuration information received, perform configuration based on new configuration information, and be associated with AC.
By in following description part set forth the present invention other in and/or advantage, some be will be apparent from by description, or can learn through the enforcement of the present invention.
Detailed description of the invention
Now, the exemplary embodiment of the detailed description present invention, its example represents in the accompanying drawings, and wherein, identical label represents identical parts all the time.
Fig. 1 illustrates that WAP is switched to the flow chart of the method for fat pattern from thin pattern according to an exemplary embodiment of the present invention.
At operation S110, the AP being in thin pattern sends the association request message including self information to AC.Here, it is only used as example, described message can follow control and configuration (CAPWAP) protocol specification of WAP, the self information of described AP can include forward mode that AP supports, AP supports radio (radio) information and the facility information etc. of AP, described facility information can be that unit type, media interviews control (MAC), serial number (SN) etc..
Determine whether the association permitting AP according to the association request message received at operation S120, AC.Here, AC can determine whether the association of permitting AP more specifically, the association of the legal AP of unit type can be allowed, and not allow the association of the illegal AP of unit type based on the unit type that association request message includes.It should be appreciated that AC can determine whether the association of permitting AP such as, to judge that whether AP is legal etc. by MAC, SN based on out of Memory completely.
When AC permits the association of AP, send associated response message at operation S130, AC to AP, and send, to AP, the configuration information that AP operation is required.Here, it is only used as example, described configuration information can include radio information and the WLAN information of AP, and described radio information can include channel, speed, power etc., and described WLAN information can include WLAN interface ID, WLAN service area alias (ESSID), WLAN encryption policy etc..Subsequently, step S150 is carried out.
When AC disapproves the association of AP, do not send any message at operation S140, AC.Additionally, when AP does not receive the response message of AC in the given time, AP can resend association request message, and when the number of times resending association request message reaches predetermined value, can terminate sending association request message.
Preserving, at operation S150, AP, the configuration information received, perform configuration based on configuration information, and be associated with AC, subsequently, the data between the user and the Internet that access can be forwarded by AP.Here, described configuration information can be saved as fat pattern configurations information.Specifically, the step performing configuration may include but be not limited to create WLAN and WLAN interface.Here, user can send access request message to the AP WLAN created based on configuration information, after AP receives access request message, access request message is transmitted to certificate server, the access request message of user is responded to agree to or refuse the access request of user by certificate server, receives user and agrees to that accessing the rear of response sends DHCP request message to obtain the IP address for accessing the Internet to Dynamic Host Configuration Protocol server.
Additionally, after AP performs configuration based on configuration information, also can send, to AC, the configuration result indicating whether successfully to carry out configuring.Being only used as example, AP can send configuration result with the form of reason code to AC, and such as, reason code " 0 " represents configuration successful, and reason code " 1 " represents that AP does not support this configuration, and reason code " 2 " represents that configuration information is imperfect, etc..
Detection messages is sent to be confirmed whether to lose with AC to associate to AC at operation S160, AP.Here, if AP does not receive response message from AC, detection messages can be resend, when the number of times resending detection messages reaches predetermined value, it is believed that AP and AC loses association.It should be appreciated that AP can be configured by those skilled in the art according to actual needs to the AC number of times predetermined value sending detection messages.
If AP and AC does not lose association, then return step S160.
If AP and AC loses association, then switch to fat pattern at operation S170, AP, and forward based on the data between the configuration information preserved user and the Internet to accessing.It should be appreciated that AP can adopt local forward mode to carry out data forwarding, and retaining all WLAN interface of local forward mode in operation S170, therefore the data of user are forwarded and are not disrupted by AP, Consumer's Experience can realize seamless switching.
Fig. 2 illustrates that WAP is switched to the flow chart of the method for thin pattern from fat pattern according to an exemplary embodiment of the present invention.
At operation S210, the AP broadcast while keeping the data between user and the Internet to forward being in fat pattern includes the association request message of self information, with the AC that discovery can associate.Here, AP can arrange and whether broadcast association request message.
If there is the AC of the association request message receiving AP, then determine whether that permitting AP accesses at operation S220, AC according to association request message, when AC permits sending associated response message to AP when AP accesses.Subsequently, step S230 is carried out.Here, it is similar to operation S120~S140 in Fig. 1 that AC determines whether to permit the AP concrete steps accessed, and does not repeat them here.
If there is no receive the AC of the association request message of AP, then operation returns S210, AP and again broadcasts association request message.
Based on the associated response message fat pattern configurations information of deletion received and it is switched to thin pattern, to wait that AC sends AP and runs required new configuration information at operation S230, AP.Here, it is only used as example, described new configuration information can include radio information and the WLAN information of AP, and described radio information can include channel, speed, power etc., and described WLAN information can include WLAN interface ID, WLAN service area alias (ESSID), WLAN encryption policy etc..It should be recognized that, AP can adopt local forward mode to carry out data forwarding, and only deletion is saved in the fat pattern configurations information on AP and does not delete WLAN interface in operation S230, therefore can ensure when adopting local forward mode to carry out data forwarding that the data of user are forwarded unaffected by AP.
New configuration information is sent to AP at operation S240, AC.
Preserve, at operation S250, AP, the new configuration information received, perform configuration based on new configuration information, and be associated with AC.After this operation, can also continue to perform the operation S160~S170 in Fig. 1, do not repeat them here.
Exemplary embodiment according to the present invention, when AP and AC loses connection, it may be achieved the automatic switchover of the fat or thin pattern of AP, and AP continues to provide the user service, and can realize under local forward mode Consumer's Experience do not interrupt, business seamless switching.
Although illustrate and describing the present invention with reference to certain exemplary embodiments, it will be understood by those of skill in the art that the various changes can made when the spirit and scope of the present invention limited by claim and equivalent thereof without departing from scope in form and details.