Background technology
Wireless lan (wlan) mainly is made up of wireless controller (AC) and WAP (wireless access point) (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, carries out data by wireless mode and user and receives and send.Under thin ap mode networking, AP need be unified to be managed for configuration by AC, and AP itself does not have any software and configuration, and AC moves required relevant configuration data with AP and sends to AP, thereby the configuration data that AP sends according to AC carries out the configuration of self parameter.
Fat AP with the physical layer among the WLAN, ciphering user data, user authenticate, the function of QoS, network management and other application layers rolls into one, and the networking of thin AP and AC framework has the characteristic of unified management, and can finish work such as automated radio frequency (RF) planning, access and safety control strategy with flying colors.
Along with the wlan network scale is developed gradually, focus, user increase gradually, large-scale network-estabilishing generally adopts thin ap mode networking, but if the AC fault appears in the thin ap mode networking or link unusual, then will cause in the thin ap mode networking all AP to lose with AC and be connected, AP can't continue as the user service is provided.In the prior art, lose when related when AP detects with AC, ap reboot is also sought the AC that can insert again and is carried out association, yet ap reboot must cause existing customer service to be interrupted, and the user is experienced can't continue.
Summary of the invention
The object of the present invention is to provide the fat or thin mode switching method of a kind of WAP (wireless access point) (AP), comprising: the AP that is in thin pattern sends the related request message that comprises self information to wireless controller (AC); When AC determine to permit AP related according to related request message, send the associated response message to AP, and send the required configuration information of AP operation to AP subsequently; AP preserves the configuration information that receives, and carries out configuration based on configuration information, and carries out related with AC; AP sends detection messages to confirm whether lose related with AC to AC; And lose when related as AP and AC, AP switches to fat pattern, and based on the configuration information of preserving the user that inserts and the data between the Internet is transmitted.
Described self information can comprise forward mode, radio (radio) information of AP support and the facility information of AP that AP supports.
Described configuration information can comprise radio (radio) information and the wireless lan (wlan) information of AP.
Described step based on configuration information execution configuration can comprise: create WLAN and WLAN interface.
After AP carries out configuration based on configuration information, also can indicate whether the configuration result that success is configured to the AC transmission.
Described AP sends detection messages to confirm that whether losing related step with AC can comprise to AC: if AP does not receive response message from AC, then can resend detection messages, when the number of times that resends detection messages reached predetermined value, it was related to think that AP and AC lose.
AP can adopt local forward mode to carry out data and transmit.
The fat or thin mode switching method of described AP also can comprise: the AP that is in fat pattern broadcasting when keeping data between user and the Internet to transmit comprises the related request message of self information, so that find can related AC; When existing AC determine to permit AP related according to related request message, send the associated response message to AP; AP deletes the configuration information of preserving based on the associated response message that receives and switches to thin pattern and sends the required new configuration information of AP operation to wait for AC; AC sends new configuration information to AP; And the new configuration information of AP preservation reception, carry out configuration based on new configuration information, and carry out related with AC.
Will be in ensuing description part set forth the present invention other aspect and/or advantage, some will be clearly by describing, and perhaps can learn through enforcement of the present invention.
Embodiment
Now, describe exemplary embodiment of the present invention in detail, its example represents that in the accompanying drawings wherein, identical label is represented identical parts all the time.
Fig. 1 illustrates WAP (wireless access point) according to an exemplary embodiment of the present invention switches to the method for fat pattern from thin pattern flow chart.
At operation S110, the AP that is in thin pattern sends the related request message that comprises self information to AC.Here, only as example, described message can be followed control and configuration (CAPWAP) protocol specification of WAP (wireless access point), the self information of described AP can comprise forward mode, radio (radio) information of AP support and the facility information of AP etc. that AP supports, described facility information can be unit type, media interviews controls (MAC), sequence number (SN) etc.
At operation S120, AC determines whether to permit the association of AP according to the related request message that receives.Here, AC can determine whether to permit the association of AP based on the unit type that comprises in the related request message, more specifically, can allow the association of the legal AP of unit type, and not allow the association of the illegal AP of unit type.Should understand, AC can determine whether to permit the association of AP fully based on out of Memory, such as, judge that by MAC, SN AP is whether legal etc.
When AC permitted AP related, at operation S130, AC sent the associated response message to AP, and sends the required configuration information of AP operation to AP.Here, only as example, described configuration information can comprise radio information and the WLAN information of AP, and described radio information can comprise channel, speed, power etc., and described WLAN information can comprise WLAN interface ID, WLAN service area alias (ESSID), WLAN encryption policy etc.Subsequently, carry out step S150.
When AC disapproved AP related, at operation S140, AC did not send any message.In addition, when AP did not receive the response message of AC in the given time, AP can resend related request message, and when the number of times that resends related request message reaches predetermined value, can stop sending related request message.
At operation S150, the configuration information that AP preserve to receive is carried out configuration based on configuration information, and carries out relatedly with AC, and subsequently, AP can transmit the user that inserts and the data between the Internet.Here, described configuration information can be used as fat pattern configurations information and is saved.Particularly, carry out the step that disposes and to include but not limited to create WLAN and WLAN interface.Here, the user can send to the WLAN that AP creates based on configuration information and insert request message, after AP receives the access request message, to insert request message and be transmitted to certificate server, certificate server responds to agree to user's access request message or the access request of refusing user's, receives the user to send the DHCP request message to obtain to be used for visiting the IP address of the Internet to Dynamic Host Configuration Protocol server after agreeing to insert response.
In addition, after AP carries out configuration based on configuration information, also can indicate whether the configuration result that success is configured to the AC transmission.Only as example, AP can send configuration result to AC with the form of reason code, such as, reason code " 0 " expression configuration successful, reason code " 1 " expression AP does not support this configuration, reason code " 2 " expression configuration information is imperfect, etc.
At operation S160, AP sends detection messages to confirm whether lose related with AC to AC.Here, if AP does not receive response message from AC then can resend detection messages, when the number of times that resends detection messages reached predetermined value, it was related to think that AP and AC lose.Should understand, those skilled in the art can arrange to the number of times predetermined value that AC sends detection messages AP according to actual needs.
If it is related that AP and AC do not lose, then return step S160.
If it is related that AP and AC lose, then at operation S170, AP switches to fat pattern, and based on the configuration information of preserving the user that inserts and the data between the Internet is transmitted.Should understand, AP can adopt local forward mode to carry out data and transmit, and keeps all WLAN interfaces of local forward mode in operation S170, is not interrupted so the user's data of AP is transmitted, and the user experiences can realize seamless switching.
Fig. 2 illustrates WAP (wireless access point) according to an exemplary embodiment of the present invention switches to the method for thin pattern from fat pattern flow chart.
At operation S210, the AP broadcasting in the data forwarding that keeps between user and the Internet that is in fat pattern comprises the related request message of self information, can related AC with discovery.Here, AP can arrange and whether broadcast related request message.
If there is the AC of the related request message that receives AP, then at operation S220, AC determines whether to permit AP according to related request message and inserts, and sends the associated response message to AP when AC permits the AP access.Subsequently, carry out step S230.Here, it is similar that AC determines whether to permit to operate S120~S140 among concrete steps that AP inserts and Fig. 1, do not repeat them here.
If there is no receive the AC of the related request message of AP, then S210 is returned in operation, and AP broadcasts related request message again.
At operation S230, AP deletes fat pattern configurations information and switches to thin pattern based on the associated response message that receives, and sends the required new configuration information of AP operation to wait for AC.Here, only as example, described new configuration information can comprise radio information and the WLAN information of AP, and described radio information can comprise channel, speed, power etc., and described WLAN information can comprise WLAN interface ID, WLAN service area alias (ESSID), WLAN encryption policy etc.Should understand, AP can adopt local forward mode to carry out data and transmit, and in operation S230 only deletion be kept at the fat pattern configurations information on the AP and do not delete the WLAN interface, therefore adopting local forward mode to carry out can guaranteeing under the situation that data transmit that the user's data of AP transmits unaffected.
At operation S240, AC sends new configuration information to AP.
At operation S250, AP preserves the new configuration information that receives, and carries out configuration based on new configuration information, and carries out related with AC.After this operation, also can continue the operation S160~S170 in the execution graph 1, do not repeat them here.
According to exemplary embodiment of the present invention, lose when being connected at AP and AC, can realize the automatic switchover of the fat or thin pattern of AP, AP continues as the user service is provided, and can under local forward mode, realize the user experience do not interrupt, professional seamless switching.
Though illustrated and described the present invention with reference to certain exemplary embodiments, but it will be apparent to one skilled in the art that the various changes that under the situation that does not break away from the spirit and scope of the present invention that scope limits by claim and equivalent thereof, can make on form and the details.