[go: up one dir, main page]

CN101568190B - Automatic backup method and apparatus for wireless controller configuration information - Google Patents

Automatic backup method and apparatus for wireless controller configuration information Download PDF

Info

Publication number
CN101568190B
CN101568190B CN2009102031658A CN200910203165A CN101568190B CN 101568190 B CN101568190 B CN 101568190B CN 2009102031658 A CN2009102031658 A CN 2009102031658A CN 200910203165 A CN200910203165 A CN 200910203165A CN 101568190 B CN101568190 B CN 101568190B
Authority
CN
China
Prior art keywords
wireless controller
wireless
resource allocation
pairing
controllers
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.)
Expired - Fee Related
Application number
CN2009102031658A
Other languages
Chinese (zh)
Other versions
CN101568190A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009102031658A priority Critical patent/CN101568190B/en
Publication of CN101568190A publication Critical patent/CN101568190A/en
Application granted granted Critical
Publication of CN101568190B publication Critical patent/CN101568190B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an automatic backup method and an apparatus for wireless controller configuration information, which is applied in a system including at least two wireless controllers, whereinthe wireless controller at least comprises a primary configuration resource and a standby configuration resource. The dimension of the primary configuration resource is equal to or less than that of the standby configuration resource. By the method, each wireless controller in the system generates a logical ring and backups the configuration information in the primary configuration resource of the wireless controller to the standby configuration resource of the next wireless controller according to the sequence of the logical ring. The wireless controller in the system automatically finds thestandby resource based on the ring-form logic relation, automatically backups the configuration information and recovers the information after fault, thus improving the systematical information secur ity and simplifying the operation process for information backup.

Description

The automatic backup method of wireless controller configuration information and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of automatic backup method of wireless controller configuration information and equipment.
Background technology
(Access Point AP) is equipment commonly used when setting up the micro radio local area network (LAN) at present to WAP (wireless access point).AP is equivalent to a bridge that is connected with gauze and wireless network, and it mainly acts on is that each wireless network clients is connected together, then with the wireless network access network based on ethernet.According to AP itself integrated function difference, prior art is divided into FAT AP networking structure and AC+FIT AP networking structure.
Wherein, FAT AP networking structure is existing common networking structure, and its schematic diagram as shown in Figure 1.
In this FAT AP networking model, AP is connected to cable network by switch, and all correlation functions are all finished on AP self, and therefore, this AP is called as FAT AP, comprises that dynamic key generates, termination etc. is switched, authenticated in the L2 roaming.Disposal ability for AP self requires just than higher like this, need to bear complicated business, and function upgrading is to realize by the software version of upgrading AP itself.
Based on above-mentioned example as can be seen, the network construction characteristic of FAT AP is as follows:
AP self function is more powerful, and functions such as dynamic key generates, the L2 roaming is switched, authentication termination can be at AP from finishing on one's body;
By webmastering software the whole network AP is unified centralized management;
802.1x authentication termination can be finished by AP self, also can be finished by switch, the WEB authentication also can be finished by AP self or by switch, cooperate the authentication and accounting system on backstage to carry out monthly payment and charge, or based on the charging of duration or flow;
Because the principle features of FAT AP self, it is applicable to that usually scale is less, only is that the wlan network of data access service demand is set up, or some topical application wlan networks carry out the project that focus covers.
Along with AP quantity in the prior wireless network increases gradually, also brought a series of problem for wireless network, deployment issue such as wireless network, how numerous AP carries out channel adjustment and power adjustments, how flow on the AP carries out load balancing, how to survey the access of rogue AP etc., these problems have brought new challenge all for the deployment of wireless network.
In order to tackle above-mentioned challenge, solve the corresponding techniques problem, the deployment form of wireless controller is also carried out transition from FAT AP networking structure to AC+FIT AP networking structure.
Wireless controller (Access Controller AC) is a kind of network equipment, can the basic wireless network of Automatic Optimal, and support senior mobile service on this network.
The networking model of AC+FIT AP is to realize networking by FIT AP and AC, and its structural representation as shown in Figure 2.
The networking model of FIT AP is handled by the function on the AP " is peeled off " to come out to focus on the AC, comprises the termination of dynamic key generation, authentication etc., has alleviated burden and the cost of single AP; AC simultaneously, AP managed, so can cooperate FIT AP to realize more value-added service function because increased AC.
In this networking structure, realize on the FIT AP " zero configuration " that all configurations all focus on the AC.This has also facilitated FIT AP solution to be convenient to centralized management more, and has three layers of roaming thus, issues the function that FAT AP such as authority does not possess based on the user.
In carrier network, in order better to realize the networking structure of AC+FIT AP, the quantity of AC also increases along with more and more AP, demand to service backup is strong day by day, so 1 to the 1 Hot Spare technology of AC has been arranged, this technology is mainly simultaneously set up the tunnel chain with active and standby two AC by AP and is fetched realization, thus when realizing single AC fault to the backup of business.
Wireless controller in prior art scheme heat is equipped with that to record and narrate be to be identical two parts with the AP physical arrangements on two AC, and two manual heat of setting up of AC are equipped with relation then.
(Light Access Point Protocol understanding, LWAPP) set up with AC and link, and sets up the backup relation for 1 pair 1 between each AC by the tunnel by Lightweight Access Point Protocol for AP.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
1, existing heat is equipped with networking technology to require the AC number of devices must be even number, thereby has caused networking plan dumb;
2, existing heat is equipped with that equipment disposition needs manual carrying out in the networking structure, safeguard and modification process loaded down with trivial details, and mistake appears easily;
If 3 active and standby two AC go wrong simultaneously, then there is not the AC of reserve to take over business, will influence the operate as normal of whole AP related in this backup relation.
Summary of the invention
The invention provides a kind of automatic backup method and equipment of wireless controller configuration information, can find standby resources automatically according to the logical relation of ring-type with the wireless controller in the realization system, and automatically configuration information is backed up and fault after information recover.
For achieving the above object, one aspect of the present invention provides a kind of automatic backup method of wireless controller configuration information, be applied to comprise in the system of at least two wireless controllers, wherein, resource allocation in the described wireless controller comprises main with resource allocation and standby configuration resource at least, the described size that is equal to or less than described standby configuration resource with the size of resource allocation of leading, described method comprises:
Described wireless controller is determined self ID according to default identify label number ID allocation rule, and according to the order of described ID, generates a logic box with other wireless controller in the described system;
The main of a pairing wireless controller of ID on the described logic box backups in the standby configuration resource of the pairing wireless controller of next ID with the configuration information in the resource allocation, wherein, the main of the pairing wireless controller of maximum ID backups in the standby configuration resource of wireless controller that ID on the described logic box is minimum ID with the configuration information in the resource allocation on the described logic box;
According to described configuration information, all WAP (wireless access point) and the pairing wireless controller of next ID that a pairing wireless controller of ID on the described logic box is connected are set up alternate links.
Preferably, described wireless controller determines that according to default ID allocation rule the idiographic flow of the ID of self is:
After wireless controller started or enables backup functionality, it was that the ID of minimum ID takies request message that the virtual LAN VLAN by special use comprises self ID to other wireless controller broadcast transmissions;
When described wireless controller does not receive ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, described wireless controller determines that the ID of self is minimum ID;
The ID that receives other wireless controllers transmissions when described wireless controller in the default response time takies request message, but when the ID that does not receive other wireless controllers transmissions takies response message, the medium access control MAC Address of described wireless controller comparison self and send the MAC Address that ID takies other wireless controllers of request is handled according to the result of described comparison;
The ID that receives other wireless controllers transmissions when described wireless controller in the default response time takies response message, but do not receive when ID that other wireless controllers send takies request message that described wireless controller determines that the ID of self is the next ID of the maximum ID in all wireless controllers in the current network;
When described wireless controller receives ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, the MAC Address of described wireless controller comparison self and send the MAC Address that ID takies other wireless controllers of request is handled according to the result of described comparison.
Preferably, the ID that receives other wireless controllers transmissions when described wireless controller in the default response time takies request message, but when the ID that does not receive other wireless controllers transmissions takies response message, described wireless controller is handled according to the comparative result of described MAC Address, is specially:
When the MAC Address of described wireless controller sent ID and takies the MAC Address of other wireless controllers of request message greater than all, described wireless controller determined that the ID of self is minimum ID;
When the MAC Address of described wireless controller is not when sending ID and take the MAC Address of other wireless controllers of request message greater than all, described wireless controller resends that to comprise self ID be that the ID of minimum ID takies request message after the described default response time.
Preferably, when described wireless controller receives ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, described wireless controller is handled according to the comparative result of described MAC Address, is specially:
When the MAC Address of described wireless controller sent ID and takies the MAC Address of other wireless controllers of request message greater than all, described wireless controller determined that the ID of self is the next ID of the maximum ID in all wireless controllers in the current network;
When the MAC Address of described wireless controller is not when sending ID and take the MAC Address of other wireless controllers of request message greater than all, described wireless controller resends that to comprise self ID be that the ID of minimum ID takies request message after the described default response time.
Preferably, after described alternate links was set up, when the pairing wireless controller of ID broke down on the described logic box, described method also comprised:
All WAP (wireless access point) that are connected with the wireless controller that breaks down by alternate links and the described wireless controller that breaks down the pairing wireless controller of next ID of corresponding ID communicate;
The described wireless controller that breaks down the last pairing wireless controller of ID of corresponding ID to other wireless controllers broadcasting backup request message;
The described wireless controller that breaks down the last pairing wireless controller of ID of corresponding ID receive the backup response message that other wireless controllers of one or more existence residue resource allocations return, and the main of self backuped in the residue resource allocation of one or more other wireless controllers that return described backup response message with the configuration information in the resource allocation.
Preferably, the residue resource allocation in the described wireless controller is specially:
Main in the described wireless controller with current unappropriated resource allocation in resource allocation and the standby configuration resource; Or,
Resource allocation more than needed in the resource allocation of described wireless controller except that the master uses resource allocation and standby configuration resource.
Preferably, described ID takies also to comprise in the request message and sends wireless controller that described ID takies request message and be used for the IP address of communicating by letter with WAP (wireless access point), the fault recovery of the wireless controller that on described logic box, breaks down, or during the former wireless controller that is replaced breaking down by new wireless controller, described method also comprises:
Wireless controller after the described fault recovery or described new wireless controller send the ID that comprises described IP address and take request message;
When the ID pairing wireless controller adjacent with the pairing ID of the described wireless controller that breaks down took request message and judge that the IP address of described IP address and the pairing former wireless controller of described ID is identical according to described ID, described ID pairing wireless controller wireless controller or the described new wireless controller to described fault recovery after adjacent with the pairing ID of wireless controller that break down sent the recovery message of using former ID;
Wireless controller after the described fault recovery or described new wireless controller recover the resource allocation of described former wireless controller, the configuration information of the last pairing wireless controller of ID of the described pairing ID of wireless controller that breaks down that described one or more other wireless controllers release residue resource allocations are stored.
Preferably, when new wireless controller added described system, described method also comprised:
Described new wireless controller obtains corresponding ID according to default ID allocation rule, and adds described logic box;
On described logic box, the last pairing wireless controller of ID of the described new pairing ID of wireless controller main backups to the configuration information in the resource allocation in the standby configuration resource of described new wireless controller, and leading with the configuration information in the resource of described new wireless controller backups in the standby configuration resource of the pairing wireless controller of next ID of the described new pairing ID of wireless controller.
On the other hand, the present invention also provides a kind of wireless controller, it is characterized in that, be applied to comprise in the system of at least two wireless controllers, wherein, resource allocation in the described wireless controller comprises at least to be led with resource allocation and standby configuration resource, and the described size that is equal to or less than described standby configuration resource with the size of resource allocation of leading comprises:
Logic box is set up module, is used for determining the ID of self according to default identify label number ID allocation rule, and according to the order of described ID, generates a logic box with other wireless controller in the described system;
Backup module, setting up module with described logic box electrically connects, be used for self main configuration information with resource allocation backuped on the described logic box by described logic box and set up in the standby configuration resource of the pairing wireless controller of next ID of the determined ID of module, and the main of a last pairing wireless controller of ID of setting up the determined ID of module by described logic box on the described logic box backuped in the standby configuration resource of self with the configuration information in the resource allocation, wherein, when described logic box when to set up the determined ID of module be maximum ID in the described logic box, the next ID of described ID is minimum ID, when described logic box when to set up the determined ID of module be minimum ID in the described logic box, the last ID of described ID is maximum ID;
Module is set up in link, electrically connects with described spare module, is used for according to described spare module setting up alternate links at the configuration information that self standby configuration resource is backed up with all WAP (wireless access point) that a last pairing wireless controller of ID is connected.
Preferably, described logic box is set up module, specifically comprises:
Send submodule, be used for after described wireless controller starts or enables backup functionality, it is that the ID of minimum ID takies request message that the VLAN by special use comprises self ID to other wireless controller broadcast transmissions;
Receive submodule, be used in the default response time, receiving that ID that described other wireless controllers send takies request message and/or ID takies response message;
ID determines submodule, electrically connects with described reception submodule, is used for receiving ID according to described reception submodule and takies the situation that request message and/or ID take response message, determines the ID of described wireless controller according to predetermined strategy.
Preferably, when the pairing wireless controller of next ID of the ID of described wireless controller breaks down,
Described transmission submodule also is used for to other wireless controller broadcasting backup request message;
Described reception submodule also is used to receive the backup response message that other wireless controllers of one or more existence residue resource allocations return;
Described backup module, also be used for the backup response message that other wireless controllers of the one or more existence residue resource allocations that received according to described reception submodule return, the main of self backuped in the residue resource allocation of one or more other wireless controllers that return described backup response message with the configuration information in the resource allocation.
Preferably, the residue resource allocation in the described wireless controller is specially:
Main in the described wireless controller with current unappropriated resource allocation in resource allocation and the standby configuration resource; Or,
Resource allocation more than needed in the resource allocation of described wireless controller except that the master uses resource allocation and standby configuration resource.
Preferably, described wireless controller also comprises:
Judge module, set up module and the electric connection of described backup module with described logic box, be used for judging at described logic box, whether the last pairing wireless controller of ID that described logic box is set up the determined ID of module changes, if change, then notify described backup module, upgrading the information that is backed up in the described standby configuration resource is the main with the configuration information in the resource allocation of a described described last pairing wireless controller of ID that changes;
After the pairing wireless controller of adjacent ID that described logic box is set up the determined ID of module breaks down, described judge module, also be used to receive the ID that other wireless controllers send and take request message, and judge and other wireless controllers that described ID takies in the request message to be comprised be used for the IP address of communicating by letter with WAP (wireless access point) and the described wireless controller that breaks down whether be used for the IP address of communicating by letter with WAP (wireless access point) identical, if identical, then notify described logic box to set up module sends recovery message from the ID that uses the described wireless controller that breaks down to described other wireless controllers.
Compared with prior art, the present invention has the following advantages:
By the present invention, wireless controller in the system can be found standby resources automatically according to the logical relation of ring-type, and automatically configuration information is backed up and fault after information recover, thereby improved the Information Security of system, simplified the operating process of information back-up.
Description of drawings
Fig. 1 is a FAT AP networking structure schematic diagram of the prior art;
Fig. 2 is an AC+FIT AP networking model schematic diagram of the prior art;
Fig. 3 is the schematic flow sheet of the automatic backup method of a kind of wireless controller configuration information provided by the invention;
Fig. 4 is the schematic flow sheet of the automatic backup method of a kind of wireless controller configuration information provided by the invention;
Fig. 5 is the structural representation of a kind of wireless controller networking provided by the invention;
Fig. 6 is the structural representation of a kind of wireless controller provided by the invention.
Embodiment
As stated in the Background Art, it is to realize that by the wireless controller backup group of setting up 1:1 configuration information each other backs up that existing wireless controller heat is equipped with technology, the basis that such technical scheme realizes is exactly must have the even number wireless controller in the system, when if the backup group integral body of above-mentioned wireless controller breaks down, can't guarantee the business of the WAP (wireless access point) that wireless controller connected in this backup group, influence the fail safe of configuration information in the effect of wireless controller backup and the system.
Technical scheme proposed by the invention is a kind of automatic backup method of wireless controller configuration information, be applied to comprise in the system of at least two wireless controllers, wherein, resource allocation in each wireless controller comprises main with resource allocation and standby configuration resource at least, and the main size that is equal to or less than the standby configuration resource with the size of resource allocation.
As shown in Figure 3, be the schematic flow sheet of the automatic backup method of a kind of wireless controller configuration information proposed by the invention, this method specifically may further comprise the steps:
Step S301, wireless controller determine self ID according to default ID allocation rule, and according to the order of this ID, generate a logic box with other wireless controller in the current system.
Wherein, wireless controller determines that according to default ID allocation rule the idiographic flow of the ID of self is:
After wireless controller started or enables backup functionality, it was that the ID of minimum ID takies request message that the VLAN by special use comprises self ID to other wireless controller broadcast transmissions;
This wireless controller is after the above-mentioned ID of transmission takies solicited message, whether detection receives that in the default response time ID that other wireless controllers return takies request message and/or ID takies response message, and determine the ID of this wireless controller specifically to comprise following several situation according to the message kind of whether receiving above-mentioned message and receive:
Situation one, when described wireless controller does not receive ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, described wireless controller determines that the ID of self is minimum ID.
In this case, show in the current system that other wireless controller is not activated or its backup functionality is not enabled, and also be not assigned with corresponding ID.
Therefore, this wireless controller can think it self is first wireless controller that inserts current system, and confirms that the ID of self is minimum ID.
It is pointed out that in concrete application scenarios, above-mentioned minimum ID be specifically as follows 1 or other the sign, such variation does not influence protection scope of the present invention.
Situation two,, described wireless controller takies request message when receiving the ID that other wireless controllers send in the default response time, but when the ID that does not receive other wireless controllers transmissions takies response message, the MAC Address of described wireless controller comparison self and send the MAC Address that ID takies other wireless controllers of request is handled according to the result of described comparison.
In this case, receive the ID that other wireless controllers send and take request message.Show have other wireless controllers by the mode that starts or enable backup functionality just at connecting system, therefore, the MAC Address of the wireless controller of this wireless controller and other connecting systems need be compared, according to certain rule is that corresponding wireless controller distributes ID, such as, if above-mentioned rule is specially the priority of distribution ID of the big more then pairing wireless controller of this MAC Address of MAC when high more, is preferably the big wireless controller of MAC Address and distributes ID.
On the other hand, do not receive that the ID that other wireless controllers send takies response message, represent not to be assigned with in the current system wireless controller of ID, so, when distributing ID, need not the situation of existing wireless controller in the taking into account system, can directly distribute the ID that begins by minimum ID for this wireless controller and other wireless controllers that transmission ID takies request for wireless controller.
It is pointed out that in concrete application scenarios, above-mentioned minimum ID be specifically as follows 1 or other the sign, such variation does not influence protection scope of the present invention
With above-mentioned be that the priority of distribution ID of the pairing wireless controller of big more then this MAC Address of MAC is high more, and minimum ID is that 1 rule is an example in the current system, the ID under this situation distributes concrete example as follows:
When the MAC Address of this wireless controller sent ID and takies the MAC Address of other wireless controllers of request message greater than all, this wireless controller determined that the ID of self is 1, promptly minimum ID;
When the MAC Address of this wireless controller is not when sending ID and take the MAC Address of other wireless controllers of request message greater than all, this wireless controller is after the described default response time, resend that to comprise self ID be that 1 ID takies request message, and handle accordingly according to the situation that receives message.
Above-mentioned situation is for to carry out MAC Address other wireless controller relatively suitable equally with this wireless controller.
Situation three,, described wireless controller takies response message when receiving the ID that other wireless controllers send in the default response time; but when the ID that does not receive other wireless controllers transmissions takies request message; described wireless controller determines that the ID of self is the next ID of the maximum ID in all wireless controllers in the current network; in concrete application scenarios; the value that can be specially maximum ID of choosing of next ID adds default ID difference; such difference can be 1 or other numerical value, and such variation does not influence protection scope of the present invention.
In this case, receive that the ID that other wireless controllers send takies response message, represent to exist in the current system wireless controller that has been assigned with ID, so, the situation that needs existing wireless controller in the taking into account system when distributing ID for wireless controller promptly can only be distributed already present ID ID afterwards for this wireless controller.
On the other hand, the ID that does not receive other wireless controllers transmissions takies request message, showing does not have other wireless controllers by starting or enable the mode connecting system of backup functionality, therefore, can directly distribute the ID value for this wireless controller, consider that the above-mentioned wireless router that is assigned with ID that existed exists, so, wireless controller determines that the ID of self is the next ID of the maximum ID in all wireless controllers in the current network, identical with afore-mentioned, the generation rule of the next ID here also can be that maximum ID value is added 1.
The ID that is about to this wireless controller is arranged in after the ID of all already present wireless controllers in the current system.
Wherein, it is to be noted, this wireless controller is to take the information that response message obtains the maximum ID in the current network by the ID that receives, concrete acquisition methods can be that other wireless controllers take the id information that carries self in the response message at ID, perhaps, this wireless controller is to be numbered by the quantity that the ID that receives takies response message, calculate the ID of current maximum, just, in this case, need all wireless controllers receiving after ID takies request message, all can return ID to the transmit leg of this message and take response message with ID.Such variation belongs to protection scope of the present invention equally.
Situation four, in the default response time, receive ID that other wireless controllers send when taking request message and ID and taking response message when described wireless controller, the MAC Address of described wireless controller comparison self and send the MAC Address that ID takies other wireless controllers of request is handled according to the result of described comparison.
In this case, receive that the ID that other wireless controllers send takies response message, represent to exist in the current system wireless controller that has been assigned with ID, so, the situation that needs existing wireless controller in the taking into account system when distributing ID for wireless controller promptly can only be distributed already present ID ID afterwards for this wireless controller.
On the other hand, receive the ID that other wireless controllers send and take request message.Show have other wireless controllers by the mode that starts or enable backup functionality just at connecting system, therefore, the MAC Address of the wireless controller of this wireless controller and other connecting systems need be compared, according to certain rule is that corresponding wireless controller distributes ID, such as, if above-mentioned rule is specially the priority of distribution ID of the big more then pairing wireless controller of this MAC Address of MAC when high more, is preferably the big wireless controller of MAC Address and distributes ID.
With above-mentioned be that the priority of distribution ID of the pairing wireless controller of big more then this MAC Address of MAC is high more, and the minimum ID in the current system is 1, the ID difference between the adjacent ID value is that 1 rule is an example, the ID under this situation distributes concrete example as follows:
When the MAC Address of this wireless controller sent ID and takies the MAC Address of other wireless controllers of request message greater than all, this wireless controller determined that the ID of self is that maximum ID value in all wireless controllers in the current network adds 1;
When the MAC Address of this wireless controller is not when sending ID and take the MAC Address of other wireless controllers of request message greater than all, this wireless controller resends that to comprise self ID be that 1 ID takies request message after the described default response time.
Above-mentioned situation is for to carry out MAC Address other wireless controller relatively suitable equally with this wireless controller.
The main of a pairing wireless controller of ID on step S302, the logic box backups in the standby configuration resource of the pairing wireless controller of next ID with the configuration information in the resource allocation.
Wherein, because each wireless controller is positioned on the logic box, be that the logical relation that each wireless controller is formed is a circulus, on this logic box, at first arrange in this logic box according to each wireless controller of big young pathbreaker of ID numerical value, wireless router after being arranged in provides resource backup for previous wireless controller, be that previous wireless controller main backups to the configuration information in the resource allocation in the standby configuration resource of the wireless router after above-mentioned being arranged in, and backup in the standby configuration resource of wireless controller that ID on this logic box is minimum ID (for example, 1) with the configuration information in the resource allocation for the main of the pairing wireless controller of maximum ID on this logic box.
By above-mentioned backup policy, make each wireless controller in the system form a logic box, reached the effect of the backup chain of circulation, this logic box is not subjected to the restriction of the quantity of wireless controller, the quantity of wireless controller greater than two situation under, no matter odd number or even number, the backup of the realization configuration information that can circulate.
After the backup flow process of above-mentioned configuration information is finished, each wireless controller on the logic box all with this logic box on next wireless controller formed main and standby relation, wherein, arrange the preceding wireless controller be in logic box and mainly use wireless controller, the wireless controller after being arranged in is standby wireless controller.
It is to be noted, here said main and standby relation all is comparatively speaking, and for example, ID is that 2 wireless controller is that ID is the standby wireless controller of 1 wireless controller, and be that this ID is 2 wireless controller equally, also be that ID is that the master of 3 wireless controller uses controller.Therefore, choose with reference to the wireless controller difference, also there is corresponding difference in the active and standby role that each wireless controller is played the part of.
Step S303, according to the configuration information that is backed up in the standby configuration resource, pairing wireless controller of ID is connected on the logic box all WAP (wireless access point) and the pairing wireless controller of next ID are set up alternate links.
After the wireless controller main and standby relation foundation of logic-based ring is finished, main backup to self master in the standby configuration resource of standby wireless controller with the configuration information on the resource allocation with wireless controller, and, according to this configuration information, all set up the spare communication link with main all WAP (wireless access point) that are connected with wireless controller, finish alternate links with this standby wireless controller.
Below; under the situation that wireless controller in the above-mentioned logic box of further instruction breaks down; technical scheme proposed by the invention is how to realize the recovery of configuration information and protection; in order to narrate conveniently; in the following description according to above-mentioned main and standby relation rule; adjacent wireless controller on the logic box is described with wireless controller and standby wireless controller with main, such title changes does not influence protection scope of the present invention.
When a wireless controller on the logic box broke down, all WAP (wireless access point) that are connected with this wireless controller communicated by the standby wireless controller of alternate links and this wireless controller, ensured professional proceeding.
Because wireless controller breaks down, with this fault wireless controller is that the main of standby wireless controller do not had standby wireless controller with wireless controller (being to come the preceding wireless controller of fault wireless controller on the logic box), so, this master has initiated to seek the operating process of new wireless controller with wireless controller, and this master sends backup request message with wireless controller other wireless controllers in system in the mode of broadcasting.
Above-mentioned master receives the backup response message that other wireless controllers of one or more existence residue resource allocations return with wireless controller, and the main of self backuped in the residue resource allocation of one or more other wireless controllers that return described backup response message with the configuration information in the resource allocation.Thereby, make the master have new standby wireless controller, and make configuration information obtain protection again with wireless controller.
Need be pointed out that further that the residue resource allocation in the above-mentioned wireless controller is specially following two kinds of situations:
Main in situation one, the wireless controller with current unappropriated resource allocation in resource allocation and the standby configuration resource.
In this case, can be that WAP (wireless access point) shared resource allocation on the Radio Access Controller of correspondence does not reach the upper limit, therefore, understand some resource allocation that was used for store configuration information originally and be in temporary transient idle state, when wireless controller sends backup request message because of lacking standby wireless controller, if conditions permit, the wireless controller of above-mentioned one or more existence residue resource allocations backs up the resource allocation of the free time standby configuration resource as the main usefulness wireless controller that lacks standby wireless controller to configuration information.
It is to be noted, concrete backup mode can be to exist the wireless controller of residue resource allocation to serve as above-mentioned main standby wireless controller with wireless controller fully by one, the configuration information that it is all backs up in the residue resource allocation, just requires enough to satisfy above-mentioned main needs with the wireless controller store configuration information as the residue resource allocation in the wireless controller of standby wireless controller.
On the other hand; above-mentioned backup mode also can be the standby wireless controller that is served as above-mentioned main usefulness wireless controller by the wireless controller of a plurality of existence residue resource allocations jointly; exist the wireless controller of residue resource allocation to back up a part of configuration information of this master respectively by each with wireless controller according to certain rule; here mentioned rule specifically can be adjusted according to actual needs, and such variation does not influence protection scope of the present invention.
Resource allocation more than needed in the resource allocation of situation two, wireless controller except that the master uses resource allocation and standby configuration resource.
In this case, in the initial setting up of wireless controller, just resource allocation is divided into three kinds, main with resource allocation, standby configuration resource and resource allocation more than needed, wherein, the main size that is less than or equal to the standby configuration resource with the size of resource allocation, the size of resource allocation more than needed does not have concrete requirement, one of the purpose that exists of this resource allocation is exactly in the wireless controller that breaks down, and the backup services of configuration information can be provided for the wireless controller that is subjected to fault effects by the resource allocation more than needed in other wireless controllers.
Based on above-mentioned two kinds of situations, technical scheme proposed by the invention has solved the configuration information backup problem when wireless controller breaks down, and the scheme of specifically using above-mentioned the sort of residue resource allocation does not influence protection scope of the present invention.
In the description of above-mentioned technical scheme, the handling process of the configuration information backup when wireless controller breaks down has been described, below, the fault recovery of the former wireless controller that further instruction breaks down on this logic box, or when replacing former wireless controller by new wireless controller, the recovery flow process of technical scheme proposed by the invention:
At first, wireless controller after the fault recovery or new wireless controller send to comprise and self are used for the ID of the IP address of communicating by letter with AP and take request message.
When taking request message according to this ID, wireless controller after the wireless controller failure judgement that has the ID adjacent with the ID of the wireless controller that breaks down on this logic box is recovered or new wireless controller are used for the IP address of communicating by letter with AP when identical with the employed IP of original fault wireless controller address, the wireless controller of the wireless controller of this adjacent ID after fault recovery or the recovery message of the former ID of new wireless controller transmission operational failure wireless controller.
Here it is to be noted, the ID that is sent in obtaining the ID process for wireless controller takies request, wherein comprising this wireless controller employed IP address information of communicating by letter with AP, if in current system, wireless controller only uses an interface, or use a plurality of interfaces of corresponding same IP address to communicate by letter with AP, then the pairing IP of this interface address is exactly that this wireless controller is used for the IP address of communicating by letter with AP, accordingly, if wireless controller uses a plurality of interfaces with different IP addresses to communicate by letter with AP in current system, the set of then above-mentioned a plurality of IP address is exactly that this wireless controller is used for the IP address of communicating by letter with AP.
When judging that whether wireless controller has identical IP address with the wireless controller that breaks down, if the above-mentioned IP address is the set of a plurality of IP address, then need all consistent wiping in each IP address in this set can judge that wireless controller and the wireless controller that breaks down have identical IP address.
Above-mentioned adjacent ID, the last ID on can above logic box also can be the last next ID of logic box, such variation does not influence protection scope of the present invention.
For example, if being 3 wireless controller, ID breaks down, then after the fault recovery of this wireless controller, on the logic box ID be 2 or ID be that 4 wireless controller is found out wireless controller to be used for the IP address of communicating by letter with AP identical with the employed IP of original fault wireless controller address, then send and recover message, confirm the ID=3 of this wireless controller to this wireless controller.
The realization of this process mainly is based on wireless controller after the fault recovery or new wireless controller and can at first sends aforesaid ID take request message when the request connecting system, after receiving such message, this wireless controller that the wireless controller that has the ID adjacent with former ID on this logic box takies in the request message to be comprised according to ID is used for the IP address of communicating by letter with WAP (wireless access point), judge whether this IP address is identical with the IP address of the former wireless controller that breaks down, if it is identical then send to use the recovery message of former ID to it, need to prove, because wireless controller can at first send aforesaid ID and take request message when the request connecting system, so, other wireless controllers in the system can send ID to this wireless controller and take response message, ID takies request message etc., in this process, recover message and have limit priority, when wireless controller is received recovery message, directly determine self ID, ignore other message according to recovering message.By above-mentioned flow process, the former ID that makes wireless controller after the fault recovery or new wireless controller enable the fault wireless controller.
The resource allocation of the former wireless controller that wireless controller after the fault recovery or the recovery of new wireless controller are broken down, simultaneously, above-mentioned one or more other wireless controllers discharge the configuration information of the last pairing wireless controller of ID of the pairing ID of wireless controller that breaks down that residue resource allocations store.
In order to make logic box recover original backup relation, after the wireless controller after the fault recovery or new wireless controller were enabled former ID, original resource allocation also returned on the wireless controller that uses former ID accordingly on the fault wireless controller.
By above-mentioned flow process; the main and standby relation setting of logic-based ring; after making the wireless controller that breaks down in the system, not only original business can continue to be protected, and; after fault is got rid of; original main and standby relation can be restored equally, makes that the main and standby relation in the system can obtain stable maintenance, helps the fail safe of information in the raising system; under the situation of seldom configuration and attended operation, realize the self-healing of system.
Further again, based on above-mentioned technical scheme, the invention allows for when new wireless controller adds current system, the handling process of wireless controller, specific as follows:
New wireless controller obtains corresponding ID according to default ID allocation rule, and adds this logic box.
Concrete ID obtains flow process and obtains the process description of ID, no longer repeat specification herein referring to aforesaid wireless controller according to default ID allocation rule.It is to be noted, because before this wireless controller adds, there has been a logic box in the system, so, this wireless controller need join in this logic box, such adding, need interrupt the backup relation of having set up in original logic box, and reconfigure, concrete compound mode is the ID that obtains according to this wireless controller, this ID main in pairing wireless controller of ID on logic box backuped in the standby configuration resource of this wireless controller with the configuration information in the resource allocation, simultaneously, this wireless controller itself main backuped to the configuration information in the resource allocation in the standby configuration resource of the pairing wireless controller of next ID of this logic box, after such combination is finished, realized the foundation of the main and standby relation between initiate wireless controller and the original wireless controller.
Need further be pointed out that, in concrete application scenarios, can think that the ID in the logic box is a kind of relative dynamic I D, therefore, after definite new wireless controller need add, directly distribute maximum ID for this wireless controller, the wireless controller that this is new joins the end of original logic box, and the backup of upgrading between minimum ID and the pairing wireless controller of original maximum ID concerns, being about to the main of the pairing wireless controller of original maximum ID backups in the new wireless controller with the configuration information in the resource allocation, and the main of new wireless controller backuped in the standby configuration resource of the pairing wireless controller of minimum ID with the configuration information in the resource allocation, because backup has the main with the configuration information in the resource allocation of the pairing wireless controller of original maximum ID in the standby configuration resource of the pairing wireless controller of minimum ID, so, between new wireless controller and the pairing wireless controller of minimum ID, set up in the backup relational process of configuration information, the dispose procedure that can also have original backup information, perhaps directly replace backup information in the standby configuration resource of the pairing wireless controller of minimum ID with the configuration information of new wireless controller, finish the renewal of backup information, before this, need in new wireless controller, back up the configuration information in the pairing wireless controller of original maximum ID, to guarantee in logic box, the being always backup that the pairing wireless controller of each ID maintains at least one configuration information.On this basis, the update mode of original backup information variation do not influence protection scope of the present invention.
By the present invention, wireless controller in the system can be found standby resources automatically according to the logical relation of ring-type, and automatically configuration information is backed up and fault after information recover, thereby improved the Information Security of system, simplified the operating process of information back-up.
Below, in conjunction with concrete application scenarios, technical scheme proposed by the invention is further detailed, specifically as shown in Figure 4.
The resource allocation of step S401, wireless controller is divided.
The WAP (wireless access point) physical quantities that disposes on all wireless controllers is 50% of a maximum specification, and remaining 50% resource is used to other wireless controller that the Hot Spare resource is provided.
Be in the resource allocation of wireless controller, have 50% to be used to serve as the main resource allocation of using at most, and remaining 50% serve as the standby configuration resource, and, the main size that is less than or equal to the standby configuration resource with the size of resource allocation, in concrete enforcement scene, can also there be resource allocation more than needed in the wireless controller, for example, 40% of resource allocation serves as the main resource allocation of using, equal-sized 40% resource allocation or serve as the standby configuration resource greater than 40% resource allocation, remaining 20% or resource allocation still less then serve as resource allocation more than needed.
It is pointed out that resource allocation more than needed only is a kind of possibility in the technical scheme proposed by the invention, whether containing this resource allocation more than needed does not influence protection scope of the present invention.
Step S402, wireless controller broadcast transmission ID take request message.
In the network system of wireless controller place, all wireless controllers use dedicated vlan to carry out two layers of connection.
Wireless controller is after powering up or enabling hot-backup function, and the VLAN by special use sends ID in the mode of broadcasting to all wireless controllers and takies request message, announces the peculiar information of oneself, wherein, includes but not limited to following information:
Because as first wireless controller in the current network, so the tentative ID of this wireless controller is 1, ID=1 is a kind of peculiar information of this wireless controller this wireless controller;
With the WAP (wireless access point) employed IP address that connects.
Step S403, the wireless controller ID that other wireless controllers of detection send in the default response time takies request message and/or ID takies response message, determines self ID.
Wireless controller waits for a period of time and is used for receiving network the ID that sends out is just now taken the response (ID takies response message) of request message, and carries out local ID configuration according to following rule:
If do not receive response message, think that then this wireless controller is first wireless controller in the current network, is provided with the ID=1 of oneself from other wireless controller.
Take request message if receive ID from other wireless controller, and do not receive that ID takies response message, then the MAC Address that takies the request message transmit leg according to all ID is judged, the ID that oneself is set of MAC Address maximum is 1, other wireless controllers in the response time overtime after, resend ID and take request message.
Take response message if receive the ID of wireless controller from other, and do not receive that ID takies request message, then after surpassing the default response time, the ID of this wireless controller configuration oneself is that the ID maximum adds 1 in the current network.
If receive simultaneously from other the ID of wireless controller and take response message and ID takies request message, then all wireless controllers that send MAC Address maximum in the wireless controller that ID take request message are that the ID maximum adds 1 in the current network in local configuration ID, resend ID after other wireless controller wait-for-response times are overtime and take request message.
The explanation of concrete above-mentioned several situations elaborates in the aforementioned embodiment, here repeats no more.Other that make based on the technology of the present invention thought are revised and are belonged to protection scope of the present invention equally.
Step S404, according to the ID formation logic ring of each wireless controller.
After said process was finished, all were enabled the wireless controller of hot-backup function and have lined up a sequence according to ID number, in Fig. 5, are respectively ID=1,2,3......N from left to right.
At this moment, the wireless controller of ID=1 and the wireless controller of ID=2 communicate, with the configuration information automated back-up of the WAP (wireless access point) entity of wireless controller this locality of ID=1 to the wireless controller of ID=2, the wireless controller of ID=2 then communicates with the wireless controller of ID=3, with the configuration information automated back-up of the WAP (wireless access point) entity of wireless controller this locality of ID=2 to the wireless controller of ID=3, so circulation, further, the wireless controller of ID maximum is considered as standby wireless controller with the wireless controller of ID=1 in the logic box, the wireless controller that is the ID maximum then communicates with the wireless controller of ID=1, with the configuration information automated back-up of the WAP (wireless access point) entity of wireless controller this locality of ID maximum to the wireless controller of ID=1.
So, after backup relation is stable, having formed the logical relation ring of 1--N--1 between all wireless controllers, this logic box is used for recovering after the failure judgement relation of backup.
After the backup relation is determined, the WAP (wireless access point) of having reached the standard grade this moment obtains to lead the address of the standby wireless controller of sending with wireless controller, set up standby communication link according to this address and standby wireless controller, and follow-up WAP (wireless access point) of reaching the standard grade is set up active and standby two communication links with main with wireless controller and standby wireless controller simultaneously according to the main configuration information that issues with wireless controller.
After above-mentioned steps is finished, finished backup and set up flow process, and after stablizing in all WAP (wireless access point) and being connected of wireless controller,, changed step S405 over to if wireless controller breaks down.
Step S405, the WAP (wireless access point) that connects on the fault wireless controller being connected on the standby wireless controller, is that the master of standby wireless controller seeks standby resources with the wireless controller request with the fault wireless controller simultaneously.
Wireless controller as ID=2 goes offline, and then according to above-mentioned rule, the WAP (wireless access point) on the wireless controller that goes offline (ID=2) is connected on the wireless controller of ID=3, and the assurance business is not interrupted.
Simultaneously, the wireless controller of ID=1 is owing to lost standby wireless controller, and then broadcasting standby resources request in network is if there is corresponding idling-resource in other many wireless controllers, then set up main and standby relation with the wireless controller of ID=1 respectively, and then redundant backup functionality is provided.
When the fault recovery of fault wireless controller, or when having new wireless controller to replace original fault Wireless Manager, technical scheme proposed by the invention enters the recovery flow process, promptly changes step S406 over to.
Step S406, according to the configuration information and the main and standby relation setting of the original configuration restore wireless controller of fault wireless controller.
Continuation is an example with above-mentioned malfunction, if the fault recovery of the wireless controller of ID=2, the wireless controller of ID=1 is set up main and standby relation with the wireless controller of ID=2 again, and discharges the resource allocation that the wireless controller of ID=1 takies on other wireless controller.
Need further be pointed out that, in above-mentioned step S405 and described troubleshooting process of step S406 and fault recovery flow process, may have following situation: wireless controllers all in the network is all main with resource allocation and standby configuration resource according to 40% configuration of maximum specification respectively, and be resource allocation more than needed with 20% of remainder, for example, the maximum specification of wireless controller configuration WAP (wireless access point) is 1000, then the entity number of actual disposition is 400, there is other 400 resource to be used to other wireless controller to provide heat to be equipped with, 200 resources more than needed simultaneously are used to respond the resource backup request under the malfunction.In this case, wireless controller failure condition with above-mentioned ID=2 is an example, the wireless controller of ID=1 can be set up main and standby relation with other two wireless controllers (as ID=4, ID=5), and oneself WAP (wireless access point) is backuped to respectively on the resource allocation more than needed of two wireless controllers in order.
Corresponding recovery flow process is as follows: when the wireless controller of former ID=2 recovers, the fault that might be original wireless controller obtains repairing, it also may be the wireless controller that upgrades, promptly replace original fault wireless controller with new wireless controller, to be used for the employed IP of the wireless controller address of the IP address that connects with WAP (wireless access point) and former networking identical but this wireless controller disposed.
When this wireless controller transmission ID takies request; inform that by the wireless controller of ID=1 its ID that takies is 2; so just can recover original network stabilization state; the concrete mode of informing can be to send the recovery message of using original ID and other modes that can reach constructed effect to this wireless controller, informs that specifically the variation of mode does not influence protection scope of the present invention.
By the present invention, wireless controller in the system can be found standby resources automatically according to the logical relation of ring-type, and automatically configuration information is backed up and fault after information recover, thereby improved the Information Security of system, simplified the operating process of information back-up.
In order to realize above-mentioned technical scheme, the present invention also provides a kind of wireless controller, be applied to comprise in the system of at least two wireless controllers, wherein, at least comprise main in the resource allocation in this wireless controller with resource allocation and standby configuration resource, and, the main size that is equal to or less than the standby configuration resource with the size of resource allocation.
As shown in Figure 6, above-mentioned controlled in wireless implement body comprises:
Logic box is set up module 61, be used for according to default ID allocation rule, determine the ID of this wireless controller, and according to the ID of other wireless controllers in the ID of this wireless controller of determining and the system, with other logic box of wireless controller generation in this wireless controller and the system.
In concrete enforcement scene, logic box is set up module 61 and is specifically comprised:
Send submodule 611, be used for after this wireless controller starts or enables backup functionality, it is that the ID of minimum ID (for example 1) takies request message that the VLAN by special use comprises self ID to other wireless controller broadcast transmissions;
Receive submodule 612, be used in the default response time, receiving that ID that other wireless controllers send takies request message and/or ID takies response message;
ID determines submodule 613, electrically connects with receiving submodule 612, is used for receiving ID and taking the situation that request message and/or ID take response message according to receiving submodule 612, determines the ID of this wireless controller according to predetermined strategy.
Further, when the pairing wireless controller of next ID of the ID of this wireless controller breaks down,
Sending submodule 611 also is used for to other wireless controller broadcasting backup request message;
Receive the backup response message that other wireless controllers that submodule 612 also is used to receive one or more existence residue resource allocations return.
Backup module 62, setting up module 61 with logic box electrically connects, be used for self main configuration information with resource allocation backuped on the logic box by logic box and set up in the standby configuration resource of the pairing wireless controller of next ID of module 61 determined ID, and the main of a last pairing wireless controller of ID of setting up module 61 determined ID by logic box on this logic box backuped in the standby configuration resource of self with the configuration information in the resource allocation, wherein, when logic box is set up module 61 determined ID for the maximum ID in this logic box, the next ID of described ID is minimum ID, and when described logic box when to set up the determined ID of module be minimum ID in the described logic box, the last ID of described ID is maximum ID.
In concrete enforcement scene, backup module 62 also is used for the backup response message that returns according to other wireless controllers that receive one or more existence residue resource allocations that submodule 612 received, and the main of self backuped in the residue resource allocation that returns one or more other wireless controllers that back up response message with the configuration information in the resource allocation.
Need to prove that in concrete application scenarios, the residue resource allocation in the above-mentioned wireless controller is specially:
Main in the wireless controller with current unappropriated resource allocation in resource allocation and the standby configuration resource; Or,
Resource allocation more than needed in the resource allocation of wireless controller except that the master uses resource allocation and standby configuration resource.
Module 63 is set up in link, electrically connects with spare module 62, is used for according to spare module 62 setting up alternate links at the configuration information that self standby configuration resource is backed up with all WAP (wireless access point) that a last pairing wireless controller of ID is connected.
Foundation by above-mentioned alternate links, the current wireless controller is all set up the spare communication link with corresponding master with all WAP (wireless access point) that wireless controller is connected, when the master is broken down with communication link with the master of wireless controller, directly enable the spare communication link, ensure the professional safety of proceeding with data message.
In concrete application scenarios, above-mentioned wireless controller also comprises judge module 64, set up module 61 and backup module 62 electric connections with logic box, be used for judging at logic box, whether the last pairing wireless controller of ID that logic box is set up module 61 determined ID changes, if change, then notify backup module 62, upgrade the information that is backed up in the standby configuration resource and be the main of the last pairing wireless controller of ID that changes with the configuration information in the resource allocation.
Here the situation that a said last ID changes comprises following two kinds of situations at least:
Situation one, new wireless controller adds, because the ID that distributes for new wireless controller is the maximum ID of logic box, so, the pairing wireless controller of original minimum ID judges whether the pairing wireless controller of a last ID (just maximum ID) changes, because a last pairing wireless controller of ID is initiate, therefore, variation has taken place in the pairing wireless controller of this ID, in the case, the pairing wireless controller notice of original minimum ID backup module, configuration information in the backup configuration resource of self is upgraded, replace with the backup information of new wireless controller by the pairing backup information of original maximum ID.
Situation two, wireless controller change, because wireless controller has backed up the backup information of a last pairing wireless controller of ID, so, if change has taken place a last pairing wireless controller of ID, then this wireless controller replaces with the information that is backed up own the backup information of new wireless controller.When such replacement also can be understood as the information that need back up when a last pairing wireless controller of ID and changes, the renewal of this wireless controller institute backup information.
Certainly, in the application scenarios of reality, can also have other situation to cause a pairing wireless controller of ID to change, such variation is handled according to above-mentioned treatment progress equally, therefore, belongs to protection scope of the present invention equally.
After the pairing wireless controller of adjacent ID that logic box is set up module 61 determined ID breaks down, judge module 64, also be used to receive the ID that other wireless controllers send and take request message, and judge that other wireless controllers that ID takies in the request message to be comprised are used for whether identical with WAP (wireless access point) IP address of communicating by letter and the wireless controller that breaks down if being used for the IP address of communicating by letter with WAP (wireless access point), if identical, then the notification logic ring is set up module 61 sends recovery message from the ID that uses the wireless controller that breaks down to other wireless controllers.
Here it is to be noted, the ID that is sent in obtaining the ID process for wireless controller takies request, wherein comprising this wireless controller employed IP address information of communicating by letter with AP, if in current system, wireless controller only uses an interface, or use a plurality of interfaces of corresponding same IP address to communicate by letter with AP, then the pairing IP of this interface address is exactly that this wireless controller is used for the IP address of communicating by letter with AP, accordingly, if wireless controller uses a plurality of interfaces with different IP addresses to communicate by letter with AP in current system, the set of then above-mentioned a plurality of IP address is exactly that this wireless controller is used for the IP address of communicating by letter with AP.
When judging that whether wireless controller has identical IP address with the wireless controller that breaks down, if the above-mentioned IP address is the set of a plurality of IP address, then need each the IP address in this set all consistent, could judge that wireless controller and the wireless controller that breaks down have identical IP address.
Above-mentioned module can be distributed in a device, also can be distributed in multiple arrangement.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
By the present invention, wireless controller in the system can be found standby resources automatically according to the logical relation of ring-type, and automatically configuration information is backed up and fault after information recover, thereby improved the Information Security of system, simplified the operating process of information back-up.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred schematic diagram of implementing scene, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several concrete enforcement scene of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (13)

1. the automatic backup method of a wireless controller configuration information, it is characterized in that, be applied to comprise in the system of at least two wireless controllers, wherein, resource allocation in the described wireless controller comprises main with resource allocation and standby configuration resource at least, the described size that is equal to or less than described standby configuration resource with the size of resource allocation of leading, described method comprises:
Described wireless controller is determined self ID according to default identify label number ID allocation rule, and according to the order of described ID, generates a logic box with other wireless controller in the described system;
The main of a pairing wireless controller of ID on the described logic box backups in the standby configuration resource of the pairing wireless controller of next ID with the configuration information in the resource allocation, wherein, the main of the pairing wireless controller of maximum ID backups in the standby configuration resource of the pairing wireless controller of minimum ID on the described logic box with the configuration information in the resource allocation on the described logic box;
According to described configuration information, all WAP (wireless access point) and the pairing wireless controller of next ID that a pairing wireless controller of ID on the described logic box is connected are set up alternate links.
2. the method for claim 1 is characterized in that, described wireless controller determines that according to default ID allocation rule the idiographic flow of the ID of self is:
After wireless controller started or enables backup functionality, it was that the ID of minimum ID takies request message that the virtual LAN VLAN by special use comprises self ID to other wireless controller broadcast transmissions;
When described wireless controller does not receive ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, described wireless controller determines that the ID of self is minimum ID;
The ID that receives other wireless controllers transmissions when described wireless controller in the default response time takies request message, but when the ID that does not receive other wireless controllers transmissions takies response message, the medium access control MAC Address of described wireless controller comparison self and send the MAC Address that ID takies other wireless controllers of request is handled according to the result of described comparison;
The ID that receives other wireless controllers transmissions when described wireless controller in the default response time takies response message, but do not receive when ID that other wireless controllers send takies request message that described wireless controller determines that the ID of self is the next ID of the maximum ID in all wireless controllers in the current network;
When described wireless controller receives ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, the MAC Address of described wireless controller comparison self and send the MAC Address that ID takies other wireless controllers of request is handled according to the result of described comparison.
3. method as claimed in claim 2, it is characterized in that, the ID that receives other wireless controllers transmissions when described wireless controller in the default response time takies request message, but when the ID that does not receive other wireless controllers transmissions takies response message, described wireless controller is handled according to the comparative result of described MAC Address, is specially:
When the MAC Address of described wireless controller sent ID and takies the MAC Address of other wireless controllers of request message greater than all, described wireless controller determined that the ID of self is minimum ID;
When the MAC Address of described wireless controller is not when sending ID and take the MAC Address of other wireless controllers of request message greater than all, described wireless controller resends that to comprise self ID be that the ID of minimum ID takies request message after the described default response time.
4. method as claimed in claim 2, it is characterized in that, when described wireless controller receives ID that other wireless controllers send when taking request message and ID and taking response message in the default response time, described wireless controller is handled according to the comparative result of described MAC Address, is specially:
When the MAC Address of described wireless controller sent ID and takies the MAC Address of other wireless controllers of request message greater than all, described wireless controller determined that the ID of self is the next ID of the maximum ID in all wireless controllers in the current network;
When the MAC Address of described wireless controller is not when sending ID and take the MAC Address of other wireless controllers of request message greater than all, described wireless controller resends that to comprise self ID be that the ID of minimum ID takies request message after the described default response time.
5. method as claimed in claim 2 is characterized in that, after described alternate links was set up, when a pairing wireless controller of ID on the described logic box broke down, described method also comprised:
All WAP (wireless access point) that are connected with the wireless controller that breaks down by alternate links and the described wireless controller that breaks down the pairing wireless controller of next ID of corresponding ID communicate;
The described wireless controller that breaks down the last pairing wireless controller of ID of corresponding ID to other wireless controllers broadcasting backup request message;
The described wireless controller that breaks down the last pairing wireless controller of ID of corresponding ID receive the backup response message that other wireless controllers of one or more existence residue resource allocations return, and the main of self backuped in the residue resource allocation of one or more other wireless controllers that return described backup response message with the configuration information in the resource allocation.
6. method as claimed in claim 5 is characterized in that, the residue resource allocation in the described wireless controller is specially:
Main in the described wireless controller with current unappropriated resource allocation in resource allocation and the standby configuration resource; Or,
Resource allocation more than needed in the resource allocation of described wireless controller except that the master uses resource allocation and standby configuration resource.
7. method as claimed in claim 5, it is characterized in that, described ID takies also to comprise in the request message and sends wireless controller that described ID takies request message and be used for the IP address of communicating by letter with WAP (wireless access point), the fault recovery of the wireless controller that on described logic box, breaks down, or during the former wireless controller that is replaced breaking down by new wireless controller, described method also comprises:
Wireless controller after the described fault recovery or described new wireless controller send the ID that comprises described IP address and take request message;
When the ID pairing wireless controller adjacent with the pairing ID of the described wireless controller that breaks down took request message and judge that the IP address of described IP address and the pairing former wireless controller of described ID is identical according to described ID, described ID pairing wireless controller wireless controller or the described new wireless controller to described fault recovery after adjacent with the pairing ID of wireless controller that break down sent the recovery message of using former ID;
Wireless controller after the described fault recovery or described new wireless controller recover the resource allocation of described former wireless controller, the configuration information of the last pairing wireless controller of ID of the described pairing ID of wireless controller that breaks down that described one or more other wireless controllers release residue resource allocations are stored.
8. the method for claim 1 is characterized in that, when new wireless controller added described system, described method also comprised:
Described new wireless controller obtains corresponding ID according to default ID allocation rule, and adds described logic box;
On described logic box, the last pairing wireless controller of ID of the described new pairing ID of wireless controller main backups to the configuration information in the resource allocation in the standby configuration resource of described new wireless controller, and leading with the configuration information in the resource of described new wireless controller backups in the standby configuration resource of the pairing wireless controller of next ID of the described new pairing ID of wireless controller.
9. wireless controller, it is characterized in that, be applied to comprise in the system of at least two wireless controllers, wherein, resource allocation in the described wireless controller comprises main with resource allocation and standby configuration resource at least, the described size that is equal to or less than described standby configuration resource with the size of resource allocation of leading comprises:
Logic box is set up module, is used for determining the ID of self according to default ID allocation rule, and according to the order of described ID, generates a logic box with other wireless controller in the described system;
Backup module, setting up module with described logic box electrically connects, be used for self main configuration information with resource allocation backuped on the described logic box by described logic box and set up in the standby configuration resource of the pairing wireless controller of next ID of the determined ID of module, and the main of a last pairing wireless controller of ID of setting up the determined ID of module by described logic box on the described logic box backuped in the standby configuration resource of self with the configuration information in the resource allocation, wherein, when described logic box when to set up the determined ID of module be maximum ID in the described logic box, the next ID of described ID is minimum ID, when described logic box when to set up the determined ID of module be minimum ID in the described logic box, the last ID of described ID is maximum ID;
Module is set up in link, electrically connects with described backup module, is used for according to described backup module setting up alternate links at the configuration information that self standby configuration resource is backed up with all WAP (wireless access point) that a last pairing wireless controller of ID is connected.
10. wireless controller as claimed in claim 9 is characterized in that, described logic box is set up module, specifically comprises:
Send submodule, be used for after described wireless controller starts or enables backup functionality, it is that the ID of minimum ID takies request message that the VLAN by special use comprises self ID to other wireless controller broadcast transmissions;
Receive submodule, be used in the default response time, receiving that ID that described other wireless controllers send takies request message and/or ID takies response message;
ID determines submodule, electrically connects with described reception submodule, is used for receiving ID according to described reception submodule and takies the situation that request message and/or ID take response message, determines the ID of described wireless controller according to predetermined strategy.
11. wireless controller as claimed in claim 10 is characterized in that, when the pairing wireless controller of next ID of the ID of described wireless controller breaks down,
Described transmission submodule also is used for to other wireless controller broadcasting backup request message;
Described reception submodule also is used to receive the backup response message that other wireless controllers of one or more existence residue resource allocations return;
Described backup module, also be used for the backup response message that other wireless controllers of the one or more existence residue resource allocations that received according to described reception submodule return, the main of self backuped in the residue resource allocation of one or more other wireless controllers that return described backup response message with the configuration information in the resource allocation.
12. wireless controller as claimed in claim 11 is characterized in that, the residue resource allocation in the described wireless controller is specially:
Main in the described wireless controller with current unappropriated resource allocation in resource allocation and the standby configuration resource; Or,
Resource allocation more than needed in the resource allocation of described wireless controller except that the master uses resource allocation and standby configuration resource.
13. wireless controller as claimed in claim 9 is characterized in that, also comprises:
Judge module, set up module and the electric connection of described backup module with described logic box, be used for judging at described logic box, whether the last pairing wireless controller of ID that described logic box is set up the determined ID of module changes, if change, then notify described backup module, upgrading the information that is backed up in the described standby configuration resource is the main with the configuration information in the resource allocation of a described described last pairing wireless controller of ID that changes;
After the pairing wireless controller of adjacent ID that described logic box is set up the determined ID of module breaks down, described judge module, also be used to receive the ID that other wireless controllers send and take request message, and judge and other wireless controllers that described ID takies in the request message to be comprised be used for the IP address of communicating by letter with WAP (wireless access point) and the described wireless controller that breaks down whether be used for the IP address of communicating by letter with WAP (wireless access point) identical, if identical, then notify described logic box to set up module sends recovery message from the ID that uses the described wireless controller that breaks down to described other wireless controllers.
CN2009102031658A 2009-06-04 2009-06-04 Automatic backup method and apparatus for wireless controller configuration information Expired - Fee Related CN101568190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102031658A CN101568190B (en) 2009-06-04 2009-06-04 Automatic backup method and apparatus for wireless controller configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102031658A CN101568190B (en) 2009-06-04 2009-06-04 Automatic backup method and apparatus for wireless controller configuration information

Publications (2)

Publication Number Publication Date
CN101568190A CN101568190A (en) 2009-10-28
CN101568190B true CN101568190B (en) 2010-12-08

Family

ID=41284058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102031658A Expired - Fee Related CN101568190B (en) 2009-06-04 2009-06-04 Automatic backup method and apparatus for wireless controller configuration information

Country Status (1)

Country Link
CN (1) CN101568190B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951616B (en) * 2010-07-06 2013-05-29 北京星网锐捷网络技术有限公司 Switching method, system and device for wireless controller
CN103002441B (en) * 2012-12-28 2015-04-22 成都西加云杉科技有限公司 End-to-end wireless security architecture system and method
CN104185196B (en) * 2013-05-20 2018-10-23 中兴通讯股份有限公司 wireless controller disaster recovery method and system
CN104253705A (en) * 2013-06-28 2014-12-31 杭州东方通信软件技术有限公司 One-click automatic batched AC equipment configuration method
EP3763170A2 (en) * 2018-03-08 2021-01-13 Lutron Technology Company LLC Backing up a load control system
CN108768798B (en) * 2018-04-17 2020-09-08 新华三技术有限公司 Equipment access method and device
CN108881424B (en) * 2018-06-07 2021-06-25 上海海得自动化控制软件有限公司 Interactive storage/acquisition method/system of data, readable storage medium and terminal
CN108934035B (en) * 2018-06-26 2020-07-07 新华三技术有限公司 Data backup method and device
JP7366592B2 (en) * 2019-06-12 2023-10-23 キヤノン株式会社 Communication device, control method and program for communication device
CN110602573B (en) * 2019-08-05 2021-12-21 深圳市双翼科技股份有限公司 Equipment configuration recovery method, HGU (hybrid gas insulated switchgear) end, SFU (Small form factor Unit) end and split optical modem
US20220116283A1 (en) * 2020-03-26 2022-04-14 Arris Enterprises Llc Restoring functionality of a wireless device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6366557B1 (en) * 1997-10-31 2002-04-02 Nortel Networks Limited Method and apparatus for a Gigabit Ethernet MAC (GMAC)
CN1859220A (en) * 2006-06-07 2006-11-08 杭州华为三康技术有限公司 Method for backup of main station point and backup station point
CN101127653A (en) * 2006-08-14 2008-02-20 中兴通讯股份有限公司 Ethernet loop device with backup and implementation method for master device backup

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6366557B1 (en) * 1997-10-31 2002-04-02 Nortel Networks Limited Method and apparatus for a Gigabit Ethernet MAC (GMAC)
CN1859220A (en) * 2006-06-07 2006-11-08 杭州华为三康技术有限公司 Method for backup of main station point and backup station point
CN101127653A (en) * 2006-08-14 2008-02-20 中兴通讯股份有限公司 Ethernet loop device with backup and implementation method for master device backup

Also Published As

Publication number Publication date
CN101568190A (en) 2009-10-28

Similar Documents

Publication Publication Date Title
CN101568190B (en) Automatic backup method and apparatus for wireless controller configuration information
CN109982447B (en) Wireless network networking method and system and wireless AP
CN101977124B (en) Service clustering method and system based on ZooKeeper technology
JP5933689B2 (en) Method and apparatus for supplying electrical energy
CN101795465B (en) Method and equipment for group management of APs
CN101478435B (en) A stacking system topology collection method and dual control board equipment
CN100362482C (en) Dual-machine back-up realizing method and system
RU2495548C2 (en) Method, device and mobile communication system for providing uninterrupted service
EP2887720B1 (en) Resource allocation method and device
WO2012083669A1 (en) Method and apparatus for switching between primary-standby devices based on access gateway
CN103609167A (en) System and method for session restoration at Geo-redundant gateways
CN105515812A (en) Fault processing method of resources and device
EP1146429A1 (en) Modular computer backplane switch with dynamic bus allocation
CN103813340B (en) Method for sharing network load, AP and system based on resource pool
CN101583144A (en) Wireless controller service information backup method and equipment
CN102104893A (en) Method, device and wireless access point equipment for realizing hot backup of wireless controller
CN104782189A (en) Energy saving method for base station, and base station
CN101873237A (en) Method and system for dynamically maintaining member servers in cluster
WO2019128670A1 (en) Method and apparatus for enabling self-recovery of management capability in distributed system
CN103580883A (en) Business disaster recovery method and business disaster recovery system
CN102143604B (en) Method, system and device for recovering control and provisioning for wireless access point (CAPWAP) tunnel
CN103095766A (en) Port level redundancy management method of communication front-end processor
CN107241753A (en) Wireless network method for optimizing stability and system
WO2009115055A1 (en) Method and device for networking of base station control node
CN103476090A (en) Graceful degradation method of clustered system and apparatus thereof

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101208

Termination date: 20200604