Disclosure of Invention
In view of this, the present invention provides a method for uniformly configuring an AP and an AC, which can improve the working efficiency of the AC in the thin AP architecture and reduce the bandwidth occupied by the AC in the process of issuing configuration parameters.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for uniformly configuring an AP (access point). an AC stores an AP grouping configuration list; the method further comprises the following steps:
after determining that the access request sent by the AP is received, the AC searches a matched AP grouping configuration list according to the access request of the AP, acquires service configuration parameters from the matched AP grouping configuration list, and sends the service configuration parameters to the AP.
In the foregoing solution, before the AC stores the AP group configuration list, the method further includes: establishing and storing a service parameter list by using service configuration parameters consisting of basic service configuration parameters and other service parameters, and establishing and storing a radio frequency parameter list by using radio frequency configuration parameters consisting of basic radio frequency configuration parameters and other radio frequency parameters;
and establishing an AP grouping configuration list by using the service parameter list and the radio frequency parameter list, and storing the device grouping standard set for the AP grouping configuration list.
In the foregoing solution, the establishing an AP packet configuration list by using the service parameter list and the radio frequency parameter list includes: setting and storing the grouping configuration parameters in the AP grouping configuration list; selecting a radio frequency parameter list and one or more service parameter lists, recording the number of the selected radio frequency parameter list and the number of the service parameter list in a wireless network card group, numbering the wireless network card group, and recording the number of the wireless network card group and the number of the wireless network card group in an AP (access point) group configuration list.
In the foregoing solution, the acquiring a service configuration parameter according to a matched AP group configuration list, and sending the service configuration parameter to the AP includes:
the AC searches a matched AP grouping configuration list according to the equipment information in the joining request, extracts the grouping configuration parameters in the service configuration parameters from the AP grouping configuration list and sends the grouping configuration parameters to the AP which is sent to join the request;
and the AC selects a matched wireless network card group from the matched AP group configuration list according to the number of the wireless network card used by the AP in the equipment information in the joining request, and sends the radio frequency configuration parameters and the service configuration parameters in the service configuration parameters corresponding to the wireless network card group to the AP which is sent to join the request.
In the above scheme, the sending the radio frequency configuration parameter and the service configuration parameter in the service configuration parameters corresponding to the wireless network card group to the AP which sends the join request includes:
according to the number of the radio frequency parameter list and the number of the service parameter list recorded in the wireless network card group, searching the corresponding radio frequency parameter list and the corresponding service parameter list;
extracting radio frequency configuration parameters in the service configuration parameters from the radio frequency parameter list and sending the radio frequency configuration parameters to the AP which sends the joining request;
and extracting the service configuration parameters from the service configuration parameters list and sending the service configuration parameters to the AP sending the joining request.
The present invention also provides an AC comprising: the system comprises a control module and an AP management module; wherein,
the control module is used for storing the AP grouping configuration list and providing the AP grouping configuration list for the AP management module;
and the AP management module is used for searching a matched AP grouping configuration list in the control module according to the adding request of the AP after determining that the adding request sent by the AP is received, acquiring service configuration parameters from the matched AP grouping configuration list and sending the service configuration parameters to the AP.
In the foregoing solution, the control module is further configured to store a service parameter list established by using service configuration parameters composed of basic service configuration parameters and other service parameters, store a radio frequency parameter list established by using radio frequency configuration parameters composed of basic radio frequency configuration parameters and other radio frequency parameters, store an AP grouping configuration list established by using the service parameter list and the radio frequency parameter list, and store a device grouping standard of the AP grouping configuration list.
In the above scheme, the control module is further configured to store the group configuration parameters in the AP group configuration list, record the numbers of the selected radio frequency parameter list and the numbers of the service parameter list in the wireless network card group, and record the numbers of the wireless network card group and the numbers of the wireless network card group in the AP group configuration list for the wireless network card group number.
In the above scheme, the AP management module is specifically configured to find a matching AP group configuration list in the control module according to the device information in the join request, extract a group configuration parameter in the service configuration parameter from the AP group configuration list, and send the group configuration parameter to the AP that sends the join request; and selecting a matched wireless network card group from the matched AP group configuration list according to the number of the wireless network card used by the AP in the equipment information in the joining request, and sending the radio frequency configuration parameters and the service configuration parameters in the corresponding service configuration parameters in the wireless network card group to the AP which is sent to join the request.
In the above scheme, the AP management module is specifically configured to find a corresponding radio frequency parameter list and a service parameter list according to the number of the radio frequency parameter list and the number of the service parameter list recorded in the wireless network card packet, extract a radio frequency configuration parameter in the service configuration parameter from the radio frequency parameter list, and send the radio frequency configuration parameter to the AP which sends the join request; and extracting the service configuration parameters from the service configuration parameters list and sending the service configuration parameters to the AP sending the joining request.
The method for uniformly configuring the AP and the AC provided by the invention store some parameters shared by the APs needing the same configuration in the AP grouping configuration list by storing the AP grouping configuration list in the AC; after receiving an adding request of an AP, an AC searches an AP group to which the AP belongs according to equipment information in the adding request, and respectively packs and sends a group configuration parameter, a radio frequency configuration parameter and a service configuration parameter in a corresponding AP group configuration list to the AP which sends the adding request; therefore, the AC does not need to repeatedly configure the AP with the same configuration managed by the AC, so that the working efficiency of the AC in the thin AP framework can be improved, the times of issuing the configuration parameters by the AC can be reduced, and the bandwidth occupied by the process of issuing the configuration parameters by the AC is reduced.
Detailed Description
The basic idea of the invention is: the AC stores an AP grouping configuration list; after determining that the access request sent by the AP is received, the AC searches a matched AP grouping configuration list according to the access request of the AP, acquires service configuration parameters from the matched AP grouping configuration list, and sends the service configuration parameters to the AP.
Wherein the service configuration parameters include: a packet configuration parameter, a radio frequency configuration parameter, and a service configuration parameter.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, the present invention provides a method for uniformly configuring APs, including:
step 101: the AC stores a list of service parameters and a list of radio frequency parameters.
Specifically, all APs managed by the AC are configured in advance, and a plurality of service parameter lists and a plurality of radio frequency parameter lists are established and stored in the AC according to actual conditions.
Here, the service parameter list is a list composed of service configuration parameters including basic service configuration parameters and other service parameters, the parameters in the list are selected and set in advance according to actual situations, and the list may use an established sequence as a list identifier, for example, the number of the first established service parameter list is 1;
the basic service configuration parameters are parameters specified in the WLAN technology, and may include: the SSID interface is enabled or not, the SSID is hidden or not, the service set name, the maximum number of users associated with operation, the priority and the forwarding mode during the Virtual Local Area Network (VLAN) of the service and the quality of service (QOS);
the other service parameters are parameters already specified in the WLAN technology, and may include: flow control, ACL rule, Service Set Identifier (SSID), timing closing time, authentication and encryption related configuration; the flow control includes: flow assurance and flow limitation; the authentication and encryption related configuration comprises: selecting an authentication mode and selecting a Wired Equivalent Privacy (WEP), Wi-Fi network security access (WPA, Wi-FiprotecteddAccess)/WPA 2 or a wireless local area network authentication and privacy infrastructure (WAPI) encryption mode.
The radio frequency parameter list is a list composed of radio frequency configuration parameters including basic radio frequency configuration parameters and other radio frequency parameters, the parameters in the list are selected and set in advance according to actual conditions, and the list can be identified by using an established sequence, for example, the number of the first established radio frequency parameter list is 1;
the basic radio frequency configuration parameters are parameters specified in the WLAN technology, and may include: turning on or off radio frequency, radio frequency power, wireless transmission rate, country or region supported by a radio frequency interface, a working channel, channel bandwidth, channel spectrum spreading and the like;
the other radio frequency parameters are parameters already specified in the WLAN technology, and may include: self-adaptive channel adjustment mode, adjustment period, interference threshold adjustment, interference minimum time adjustment, frame length threshold of frame fragments, and WLAN and Wireless Intrusion Detection (WIDS) AP related parameters; the WLAN and widasap related parameters may include: QOS protocol related parameters, widsa scan mode, scan period, and supervisory channel.
The establishing of the plurality of service parameter lists and the plurality of radio frequency parameter lists comprises the following steps: and determining the number of the service parameter lists and the number of the radio frequency parameter lists according to actual needs.
Step 102: and establishing an AP grouping configuration list by using the service parameter list and the radio frequency parameter list.
Here, the establishing of the AP packet configuration list is: determining how many AP groups are needed according to actual needs, and establishing a corresponding number of AP group configuration lists; in each AP grouping configuration list, firstly setting grouping configuration parameters, and then establishing and storing a plurality of wireless network card groups;
wherein the packet configuration parameters may include: response (echo) time, client idle time, keep-alive time, two-layer isolation, uplink detection, alarm threshold, attack prevention, and the like;
the wireless network card is divided into the following groups: selecting a radio frequency parameter list and one or more service parameter lists from a plurality of radio frequency parameter lists and a plurality of service parameter lists to form a wireless network card group, recording the number of the selected radio frequency parameter list and the number of the service parameter list in the wireless network card group, and numbering and recording the wireless network card group; the number can be determined by a manager, for example, when there are four wireless network card groups, the four wireless network card groups can be numbered as 1, 2, 3 and 4 respectively;
the specific number of the multiple wireless network card groups is determined according to the maximum number of several wireless network cards in each AP in the prior art, for example, in the current technology, each AP can have at most four wireless network cards, and then four wireless network card groups can be established in each AP group configuration list.
Step 103: and setting and storing a device grouping standard for each AP grouping configuration list.
Here, the device grouping criteria are: the corresponding standards when different AP groups are configured to different AP corresponding to the list; the method can comprise the following steps: one or more of a Media Access Control (MAC) address of the AP, a serial number of the AP, or location information of the AP, such as: in the AP grouping configuration list, the MAC address of each AP or the MAC address range of the AP, or the sequence number of the AP or the range of the sequence number of the AP, or the location information of the AP or the range of the location information of the AP covered by the grouping configuration list are set.
Step 104: when the AC determines that the joining request sent by any AP is received, the AC extracts the equipment information in the joining request.
Here, the join request includes: the device information of the AP and the request for joining the network are generated in the prior art, and are not described herein; wherein the device information includes: the number of the wireless network card currently used by the AP, the MAC address of the AP, the serial number of the AP and the position information of the AP;
the number of the wireless network card is specified according to the prior art, and is used for numbering each wireless network card in the AP, for example, when there are four wireless network cards in the AP, the four wireless network cards are respectively numbered as 1, 2, 3 and 4.
Step 105: and the AC searches the matched AP grouping configuration list according to the equipment information in the joining request, extracts the grouping configuration parameters in the service configuration parameters from the AP grouping configuration list and sends the grouping configuration parameters to the AP for joining the request.
Here, the AP packet configuration list for which matching is found is: the AC compares the equipment information with equipment grouping standards in all AP grouping configuration lists stored by the AC one by one, and searches a matched AP grouping configuration list;
the sending may be: and packaging the content to be sent into a data frame according to the frame format of the CAPWAP protocol by the grouping configuration parameters, and sending the grouping configuration parameters to the corresponding AP according to the equipment information in the adding request.
Step 106: and the AC selects a matched wireless network card group from the matched AP group configuration list, and sends the radio frequency configuration parameters and the service configuration parameters in the service configuration parameters corresponding to the wireless network card group to the AP which is sent to join the request.
Specifically, the AC searches, according to the number of the wireless network card currently used by the AP in the device information in the join request, the wireless network card packet number that is the same as the number of the wireless network card currently used by the AP from the matched AP packet configuration list found in step 105; then, according to the serial numbers of the radio frequency parameter lists and the serial numbers of the service parameter lists recorded in the wireless network card grouping, searching the corresponding radio frequency parameter lists and the corresponding service parameter lists; extracting radio frequency configuration parameters in the service configuration parameters from the radio frequency parameter list and sending the radio frequency configuration parameters to the AP which sends the joining request; extracting service configuration parameters in the service configuration parameters from the service parameter list and sending the service configuration parameters to the AP which sends the joining request;
here, the transmission may be: and packaging the content to be sent into a data frame according to the frame format of the CAPWAP protocol, and sending the content to be sent to the corresponding AP according to the equipment information in the joining request.
After the step 106 is completed, the AP performs subsequent configuration according to the received packet configuration parameter, radio frequency configuration parameter, and service configuration parameter sent by the AC, and the operation method is the prior art and is not described herein again.
As shown in fig. 2, the present invention provides an AC comprising: a control module 21 and an AP management module 22; wherein,
a control module 21, configured to store an AP grouping configuration list and provide the AP grouping configuration list for the AP management module 22;
the AP management module 22 is configured to, after determining that the join request sent by the AP is received, find a matching AP group configuration list in the control module 21 according to the join request of the AP, obtain a service configuration parameter from the matching AP group configuration list, and send the service configuration parameter to the AP.
The control module 21 is further configured to store a service parameter list and a radio frequency parameter list.
The control module 21 is specifically configured to establish a plurality of service parameter lists and a plurality of radio frequency parameter lists according to actual situations when all APs managed by the AC need to be configured.
The control module 21 is specifically configured to store a service parameter list and a list number composed of service configuration parameters including basic service configuration parameters and other service parameters, and a radio frequency parameter list and a list number composed of radio frequency configuration parameters including basic radio frequency configuration parameters and other radio frequency parameters.
The control module 21 is further configured to store the established AP grouping configuration list.
The control module 21 is specifically configured to, when establishing the AP grouping configuration list, set the grouping configuration parameters of the AP grouping first, and then establish a plurality of wireless network card groupings.
The control module 21 is specifically configured to, when establishing the wireless network card packet, select one radio frequency parameter list and one or more service parameter lists from the stored multiple radio frequency parameter lists and multiple service parameter lists to form the wireless network card packet, record the number of the selected radio frequency parameter list and the number of the service parameter list in the wireless network card packet, and number the selected radio frequency parameter list and the number of the service parameter list in the wireless network card packet.
The control module 21 is further configured to store a device grouping standard of each AP grouping configuration list.
The AP management module 22 is specifically configured to, when determining that an add request sent by any one AP is received, extract device information in the add request; according to the comparison between the device information in the join request and the device grouping standard information in all the AP grouping configuration lists in the control module 21 one by one, finding and extracting a matched AP grouping configuration list; extracting the grouping configuration parameters in the service configuration parameters from the matched AP grouping configuration list, and sending the grouping configuration parameters to the AP which is sent to join the request; searching a wireless network card packet number which is the same as the number of the wireless network card currently used by the AP from the searched matched AP packet configuration list according to the number of the wireless network card currently used by the AP in the equipment information in the adding request; according to the number of the radio frequency parameter list and the number of the service parameter list recorded in the wireless network card group, searching the corresponding radio frequency parameter list and the corresponding service parameter list; extracting radio frequency configuration parameters in the service configuration parameters from the radio frequency parameter list and sending the radio frequency configuration parameters to the AP which sends the joining request; extracting service configuration parameters in the service configuration parameters from the service parameter list and sending the service configuration parameters to the AP which sends the joining request;
here, the transmission may be: and packaging the content to be sent in a data frame according to the frame format of the CAPWAP protocol, and sending the content to the corresponding AP according to the equipment information in the joining request.
The control module in the AC can provide all functions that the AC in the prior art can provide, except for completing the functions described in the present invention, and the specific implementation and method for using other functions are not described herein again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.