WO2014187247A1 - Disaster recovery method and system of wireless controller - Google Patents

Disaster recovery method and system of wireless controller Download PDF

Info

Publication number
WO2014187247A1
WO2014187247A1 PCT/CN2014/077173 CN2014077173W WO2014187247A1 WO 2014187247 A1 WO2014187247 A1 WO 2014187247A1 CN 2014077173 W CN2014077173 W CN 2014077173W WO 2014187247 A1 WO2014187247 A1 WO 2014187247A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless controller
standby
primary
controller
data
Prior art date
Application number
PCT/CN2014/077173
Other languages
French (fr)
Chinese (zh)
Inventor
张凯
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014187247A1 publication Critical patent/WO2014187247A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Definitions

  • the present invention relates to the field of computer network communication technologies, and in particular, to an efficient and reliable disaster tolerance method and system for a wireless controller.
  • WLAN wireless local area network
  • AP wireless access point
  • AC Access Controller
  • the AP implements “zero configuration”, and the AC completes functions such as authentication, configuration, and data forwarding for wireless users, and plays a centralized control role to support the AP to achieve more value-added. business.
  • the CAPWAP link can be established and communicated between the AC and the AP through the Controlling and Provisioning of Wireless Access Pont (CAPWAP).
  • FIG. 1 is a schematic diagram of a typical wireless network networking structure.
  • an AC is connected to multiple APs through a switch, and the AP communicates with wireless users wirelessly to provide wireless services.
  • the AC stores the service data of the AP and the wireless user registered with it to maintain the wireless service, and the wireless service is interrupted to avoid the link failure or the AC failure.
  • the AC system Disaster tolerance especially efficient and reliable disaster recovery needs are increasingly strong. The more common disaster recovery solution in the prior art is shown in FIG.
  • the AP establishes an active/standby communication channel with the primary wireless controller (active AC) and the standby wireless controller (standby AC) at the same time, and the primary wireless control is used.
  • the device sends the service data to the AP, and the AP sends the service information to the standby wireless controller through the backup channel.
  • the AP detects that the communication with the active wireless controller is interrupted, the AP switches the alternate communication channel to continue as the primary communication channel. Keep wireless business.
  • This solution mainly implements the forwarding of service data through the AP. Although the technical solution is simple, the AP burden is increased, and the active/standby switchover takes place only after the AP detects that the communication with the active AC is interrupted, resulting in the wireless service.
  • the prior art also has a scheme of directly designating the primary AC and the standby AC.
  • the primary and backup ACs have the same configuration, and the primary AC directly sends data to the standby AC, and the standby AC receives the data and stores it. .
  • the primary AC fails, switch to the standby AC to continue to maintain the service.
  • the method is simple to implement, there is still a problem of wireless service interruption.
  • AC as a core control device requires a large amount of synchronous service data, and this solution may impose an excessive burden on the primary AC and affect the processing of the service. .
  • a primary object of the embodiments of the present invention is to provide an efficient and reliable wireless controller disaster tolerance method and system.
  • the present invention provides a wireless controller disaster tolerance method, including: the primary wireless controller synchronizes key service data to the standby wireless controller by using a synchronization channel established in advance with the standby wireless controller; The standby wireless controller constructs other required related service data according to the received key service data; the primary wireless controller and the standby wireless controller detect the primary wireless controller by using a link detection mechanism Whether the side is abnormal, and if so, the standby wireless controller switches to the primary wireless controller to keep the service uninterrupted.
  • the step of the primary wireless controller synchronizing the key service data to the standby wireless controller comprises: the primary wireless controller batch synchronizing all the cached key service data in a predetermined time with the lightest system load ; and real-time synchronization of newly generated small batches of key business data.
  • the method further comprises: the primary wireless controller adjusting the transmission rate according to the load level of the current system in the process of synchronizing data.
  • the key service data includes at least AP information and STA information.
  • the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through a link detection mechanism, and if yes, the standby wireless controller switches to a primary wireless controller.
  • the step of maintaining the service uninterrupted includes: the primary wireless controller and the standby wireless controller performing heartbeat handshake detection through the synchronization channel; when the primary wireless controller fails, the standby wireless controller detects When the heartbeat is interrupted, the standby wireless controller switches to the primary wireless controller to keep the service uninterrupted; Or the primary wireless controller periodically detects whether the uplink is abnormal; if the uplink is abnormal, the primary wireless controller notifies the standby wireless controller to switch to the primary wireless controller, and maintains the service. Interrupted.
  • the primary wireless controller before the step of synchronizing the key service data to the standby wireless controller by using the synchronization channel established in advance with the standby wireless controller, the primary wireless controller further includes: the primary wireless controller and the standby wireless The controller negotiates the active/standby relationship according to the VRRP, and the primary wireless controller acquires the address information of the standby wireless controller, and establishes a synchronization channel with the standby wireless controller.
  • the method further includes: the primary wireless controller periodically attempts to establish a synchronization channel according to a preset time interval when the standby wireless controller is not activated.
  • the embodiment of the present invention further provides a wireless controller disaster tolerance system, including: a primary wireless controller and a standby wireless controller; wherein: the primary wireless controller is configured to establish with the standby wireless controller in advance Synchronizing channel, synchronizing key service data to the standby wireless controller; the standby wireless controller is configured to construct other required related service data according to the received key service data; And the standby wireless controller is further configured to detect, by the link detection mechanism, whether the primary wireless controller side is abnormal, and if so, the standby wireless controller switches to the primary wireless controller to keep the service uninterrupted.
  • the active wireless controller is further configured to batch synchronize all cached key service data within a predetermined time when the system load is lightest; and synchronize the newly generated small batch key service data in real time.
  • the active wireless controller is further configured to adjust the transmission rate according to the load level of the current system in the process of synchronizing data.
  • the standby wireless controller is further configured to perform a heartbeat handshake detection with the primary wireless controller through the synchronization channel; when the primary wireless controller fails, the standby wireless controller detects a heartbeat interruption Switch to the primary wireless controller to keep the service uninterrupted;
  • the primary wireless controller is further configured to periodically detect whether the uplink is abnormal. If the uplink is abnormal, the standby wireless controller is notified to switch to the primary wireless controller, and the service is not interrupted.
  • the active wireless controller is further configured to negotiate a master-slave relationship with the standby wireless controller according to the VRRP, and obtain address information of the standby wireless controller, and establish a synchronization channel with the standby wireless controller.
  • the primary wireless controller is further configured to periodically attempt to establish a synchronization channel according to a preset time interval when the standby wireless controller is not activated.
  • the primary wireless controller synchronizes key service data to the standby wireless controller through a synchronization channel established in advance with the standby wireless controller;
  • the received key service data constructs other required related service data; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller switches to
  • the main wireless controller keeps the service uninterrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, thereby reducing the impact of the AP and obtaining the main
  • the use of the wireless controller does not affect the efficient and reliable synchronization of the data in the processing service, avoids the reconfiguration operation on the standby wireless controller, reduces the possibility of errors, saves labor costs, ensures that the wireless service does not interrupt, and improves System reliability.
  • FIG. 1 is a schematic structural diagram of a conventional wireless network networking
  • FIG. 2 is a schematic structural diagram of AP dual-link disaster tolerance in the prior art
  • FIG. 3 is a schematic diagram of a wireless controller disaster tolerance method according to an embodiment of the present invention
  • 4 is a schematic diagram of a wireless network networking structure according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of another embodiment of a wireless controller disaster tolerance method according to an embodiment of the present invention
  • the solution of the embodiment of the present invention is mainly: negotiating the active/standby relationship between the primary and secondary wireless controllers, establishing a synchronization channel with the standby wireless controller, and synchronizing the key service data to the standby wireless controller through the synchronization channel;
  • the device constructs other required related service data according to the received key service data; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller Switching to the main-purpose wireless controller to keep the service uninterrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, thereby reducing the impact of the AP and avoiding
  • the operation of reconfiguring on the standby wireless controller saves labor costs, ensures that wireless services are not interrupted, and improves system reliability.
  • an embodiment of the present invention provides a method for disaster recovery of a wireless controller, including: Step S101: A primary wireless controller synchronizes key service data to a synchronization channel through a synchronization channel established in advance with a standby wireless controller.
  • the configuration of the wireless network in the method of the embodiment of the present invention is as shown in FIG. 4, in which the primary AC (active wireless controller) and the standby AC (standby wireless control) are used.
  • the switch is connected to multiple APs through the switch.
  • the AP communicates with the wireless user wirelessly to provide wireless services.
  • the active AC and the standby AC are connected through heartbeats to implement heartbeat handshake interaction.
  • a dedicated synchronization channel is pre-established between the active wireless controller and the standby wireless controller, and a primary standby relationship is negotiated, and the primary wireless controller synchronizes key service data to the standby wireless controller through the synchronization channel.
  • the active wireless controller adjusts the transmission rate according to the current system load level, and quickly completes data synchronization to ensure the reliability of disaster recovery.
  • the amount of business data is smaller than the threshold, and the time-distributed small-volume key business data can be sent in real time; for the cached large-volume key business data, the system load is the lightest.
  • the above key service data includes AP information and STA information.
  • the wireless controller manages the AP configuration information, the AP information, the STA (Station) information, the CAPWAP protocol related data, the network processor related data, and the like, and the embodiment of the present invention considers that the primary wireless controller manages a large number of AP and STA information, the amount of business data is very large, if these data are synchronized to
  • the backup wireless controller is not only inefficient, but may also cause data inconsistency in the primary and secondary wireless controllers due to improper processing, and is more likely to cause the primary wireless controller to affect the processing of the wireless service due to synchronization of a large amount of data.
  • Step S102 the standby wireless controller constructs other required related service data according to the received key service data; and the standby wireless controller receives the key service data sent by the active wireless controller and caches the data.
  • the standby wireless controller reconstructs other required information according to the received AP information and STA information, so as to improve synchronization efficiency and ensure data consistency in the primary and secondary wireless controllers. Specifically, the standby wireless controller reconstructs the cached key service data according to the AP information and
  • the STA information constructs all data required for wireless services such as AP configuration information, network processor related data, and CAPWAP protocol related data. Therefore, the same AP configuration only needs to be configured once in the primary wireless controller, avoiding the manual configuration of the standby wireless controller, thereby reducing the possibility of human error and ensuring the wireless service required in the primary and secondary wireless controllers.
  • the business data is consistent, which improves the reliability of disaster recovery.
  • Step S103 the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through a link detection mechanism, and if yes, the standby wireless controller switches to a primary wireless controller. , keep the business uninterrupted.
  • the following two methods are used to detect whether the primary wireless controller side is abnormal through the link detection mechanism: As a detection mode: the primary wireless controller and the standby wireless controller perform heartbeat handshake detection through the established synchronization channel, when When the primary wireless controller fails, the standby wireless controller detects a heartbeat interruption and determines that the primary wireless controller is faulty. Therefore, the standby wireless controller switches to the primary wireless controller in time to maintain the service. Interrupt; As another detection method: The primary wireless controller periodically detects whether its uplink is abnormal; if the uplink is abnormal, the primary wireless controller notifies the standby wireless controller to switch to the primary wireless controller, and the same Keep your business uninterrupted.
  • the embodiment of the present invention reduces the impact of the AP, and obtains the effect that the active wireless controller does not affect the processing data, and the synchronization data is efficient and reliable, and avoids reconfiguration on the standby wireless controller.
  • the operation reduces the possibility of errors, saves labor costs, ensures that wireless services are not interrupted, and improves system reliability.
  • another embodiment of the present invention provides a wireless controller disaster tolerance method.
  • the method further includes: Step S100, the primary wireless controller and the standby wireless control.
  • the device negotiates the active/standby relationship according to the VRRP, and the primary wireless controller acquires the address information of the standby wireless controller, and establishes a synchronization channel with the standby wireless controller.
  • the embodiment of the present invention further includes a scheme for establishing a synchronization channel between the active wireless controller and the standby wireless controller. Specifically, the address information of other wireless controllers is pre-configured in the wireless controller, and according to VRRP
  • the active wireless controller acquires the address information of the standby wireless controller according to the configuration information, and establishes a synchronization channel with the standby wireless controller. If the synchronization channel is successfully established, the primary wireless controller synchronizes the key service data to the standby wireless control through the synchronization channel. If the synchronization channel is not successfully established, the active wireless controller periodically attempts to establish a synchronization channel with the standby wireless controller according to the preset time interval when the standby wireless controller is not activated.
  • the primary wireless controller establishes a synchronization channel with the standby wireless controller, and synchronizes the key service data to the standby wireless controller through the synchronization channel; the standby wireless controller constructs other information according to the received key service data. Relevant service data required; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller switches to the primary wireless controller to maintain the service Uninterrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, reducing the impact of the AP, and obtaining the active wireless controller does not affect the processing service.
  • the synchronous data is efficient and reliable, avoids the reconfiguration operation on the standby wireless controller, reduces the possibility of errors, saves labor costs, ensures that the wireless service is not interrupted, and improves the reliability of the system.
  • an embodiment of the present invention provides a wireless controller disaster tolerance system, including: a primary wireless controller 201 and a standby wireless controller 202;
  • the primary wireless controller 201 is configured to synchronize key service data to the standby wireless controller 202 by using a synchronization channel established in advance with the standby wireless controller 202;
  • the standby wireless controller 202 is configured to Constructing other required related service data according to the received key service data;
  • the primary wireless controller 201 and the standby wireless controller 202 are further configured to detect the primary wireless controller by using a link detection mechanism Whether the 201 side is abnormal, and if so, the standby wireless controller 202 switches to the main wireless controller 201 to keep the service uninterrupted.
  • the structure of the wireless network networking disaster tolerance involved in the method of the embodiment of the present invention is as shown in FIG. 4, in which the primary AC (the primary wireless controller 201) and the standby AC (the standby wireless controller 202) pass.
  • the switch is connected to multiple APs.
  • the AP communicates with the wireless users wirelessly to provide wireless services.
  • the active AC and the standby AC are connected through heartbeats to implement heartbeat handshake.
  • a dedicated synchronization channel is pre-established between the active wireless controller 201 and the standby wireless controller 202, and a primary standby relationship is negotiated.
  • the primary wireless controller 201 synchronizes key service data to the standby wireless controller through the synchronization channel. 202.
  • the active wireless controller 201 adjusts the transmission rate according to the load level of the current system, and quickly completes data synchronization to ensure the reliability of disaster tolerance.
  • it can be sent in real time; for cached large quantities of key business data, within the scheduled time when the system load is the lightest (such as in daily In the morning, send in batches to further ensure the consistency of data in the active and standby wireless controllers.
  • the above key service data includes AP information and STA information.
  • the wireless controller manages the AP configuration information, the AP information, the STA information, the CAPWAP protocol related data, the network processor related data, and the like.
  • the embodiment of the present invention considers that the primary wireless controller 201 manages a large number of AP and STA information.
  • the amount of service data is very large. If the data is synchronized to the standby wireless controller 202, not only is it inefficient, but also the data in the primary and secondary wireless controllers 202 is inconsistent due to improper processing, and the primary wireless controller 201 is more likely to be Synchronize large amounts of data and affect the processing of wireless services. Therefore, when synchronizing service data, the active wireless controller 201 transmits only key data such as AP information and STA information to ensure data synchronization efficiency.
  • the backup wireless controller 202 receives the key service data transmitted by the primary wireless controller 201 and caches it.
  • the standby wireless controller 202 reconstructs other required information according to the received AP information and the STA information, so as to improve the synchronization efficiency and ensure the consistency of the data in the primary standby wireless controller 202.
  • the backup wireless controller 202 reconstructs the cached key service data, and constructs all data required for the wireless service such as the AP configuration information, the network processor related data, and the CAPWAP protocol related data according to the AP information and the STA information. Therefore, the same AP configuration only needs to be configured once in the primary wireless controller 201, thereby avoiding the manual configuration operation of the standby wireless controller 202, thereby reducing the possibility of human error, and ensuring wireless in the primary standby wireless controller 202.
  • the business data required by the business is consistent, which improves the reliability of disaster recovery.
  • the primary wireless controller 201 and the backup wireless controller 202 detect whether the primary wireless controller 201 is abnormal by the link detection mechanism, and if so, the standby wireless controller 202 switches to the primary use.
  • the wireless controller 201 keeps the service uninterrupted.
  • the following two ways are used to detect whether the primary wireless controller 201 is abnormal by the link detection mechanism: As a detection mode: the primary wireless controller 201 and the standby wireless controller 202 perform a heartbeat handshake through the established synchronization channel. Detecting, when the primary wireless controller 201 fails, the standby wireless controller 202 detects a heartbeat interruption, and determines that the primary wireless controller 201 is faulty.
  • the standby wireless controller 202 switches to the primary use in time.
  • the wireless controller 201 keeps the service uninterrupted; as another detection mode: the primary wireless controller 201 periodically detects whether its uplink is abnormal; if the uplink is abnormal, the primary wireless controller 201 notifies the standby wireless controller 202 switches to the primary wireless controller 201, and the service can be kept uninterrupted as well.
  • the embodiment of the present invention reduces the impact of the AP, and obtains the effect that the active wireless controller 201 does not affect the processing data, and the synchronization data is efficient and reliable, and the operation of reconfiguring on the standby wireless controller 202 is avoided. , reducing the possibility of errors, saving labor costs, ensuring that wireless services are not interrupted, and improving system reliability.
  • the active wireless controller 201 is further configured to negotiate a master-slave relationship with the standby wireless controller 202 according to the VRRP, and obtain address information of the standby wireless controller 202, and establish a synchronization channel with the standby wireless controller 202. Specifically, address information of other wireless controllers is pre-configured in the wireless controller, and the active/standby relationship is negotiated according to the VRRP. The active wireless controller 201 acquires the address information of the standby wireless controller 202 according to the configuration information, and establishes a synchronization channel with the standby wireless controller 202. If the synchronization channel is successfully established, the primary wireless controller 201 synchronizes the key service data through the synchronization channel.
  • the primary wireless controller 201 periodically attempts to establish synchronization with the standby wireless controller 202 according to a preset time interval when the standby wireless controller 202 is not activated. aisle.
  • corresponding functional modules such as a synchronization module, a sending module, a receiving module, and a reconfiguration module, may be set in the active wireless controller 201 and the standby wireless controller 202 as needed.
  • the synchronization module is further configured to periodically attempt to establish a synchronization channel with the standby wireless controller 202 at the preset interval on the primary wireless controller 201 when the standby wireless controller 202 is not activated.
  • the sending module is configured to send the key service data buffered by the primary wireless controller 201 to the standby wireless controller 202 through a synchronization channel established by the synchronization module.
  • the receiving module is configured to receive the service data sent by the sending module through the synchronization channel established by the synchronization module, and cache the data.
  • the reconstruction module is configured to reconstruct the service data buffered by the receiving module, and construct the data according to the AP information.
  • AP configuration information can be configured only once in the primary wireless controller 201, reducing the possibility of multiple manual configuration errors; constructing CAPWAP protocol and network processor and other related service data according to AP and STA information, ensuring The consistency of data in the primary and backup wireless controllers 202 improves the reliability of disaster recovery.
  • the control module is configured to control the sending module to adjust the sending rate of the sending module according to the burden degree of the system of the main wireless controller 201, the system burden is light, the sending rate is fast, the system burden is heavy, the sending rate is slow, and the main wireless controller 201 is not affected. Normal business.
  • control module is further configured to control the time of synchronizing the service data, and the data of the newly registered AP and the STA is synchronized in real time.
  • the data in the active and standby wireless controllers are ensured.
  • the disaster tolerance module is configured to detect whether the primary wireless controller 201 is faulty, and perform active/standby switching.
  • the primary and secondary wireless controllers 202 perform heartbeat handshake detection through the synchronization channel established by the synchronization module.
  • the backup wireless controller 202 detects that the primary wireless controller 201 is interrupted, it switches to the primary wireless controller 201 and continues to maintain the wireless service.
  • the active wireless controller 201 periodically detects whether the uplink is normal. If the active/standby switchover is performed in an abnormal manner, the new active wireless controller 201 continues to maintain the wireless service uninterrupted.
  • the primary wireless controller synchronizes key service data to the standby wireless controller through a synchronization channel established in advance with the standby wireless controller;
  • the key business data constructs other required related service data; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller switches to the primary With the wireless controller, the service is not interrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, thereby reducing the impact of the AP and achieving the main use.
  • the wireless controller does not affect the efficient and reliable synchronization data in the processing service situation, avoids the reconfiguration operation on the standby wireless controller, reduces the possibility of errors, saves labor costs, ensures that the wireless service does not interrupt, and improves the system. Reliability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to a disaster recovery method and system of a wireless controller. The method comprises: an active wireless controller synchronizing key service data to a standby wireless controller through a synchronization channel pre-established by the active wireless controller and the standby wireless controller; the standby wireless controller constructing other required related service data according to the received key service data; the active wireless controller and the standby wireless controller detecting whether the active wireless controller side has an exception by using a link detection mechanism, wherein if yes, the standby wireless controller is switched to the active wireless controller to avoid service interruption. The present invention reduces the impact brought by an AP, so that the active wireless controller efficiently and reliably synchronizes data without affecting the service processing, and the standby wireless controller is avoided from being configured again, thereby reducing mistakes, saving the labor cost, avoiding interruption of the wireless service, and improving system reliability.

Description

无线控制器容灾方法及系统 技术领域 本发明涉及计算机网络通信技术领域, 尤其涉及一种无线控制器高效可靠的容灾 方法及系统。 背景技术 现有的无线局域网 (WLAN) 组网中, 一般通过无线接入点 (Access Pont, AP) 和无线控制器 (Access Controller, AC) 实现。 在这种 AC+AP的组网模式中, AP上 实现 "零配置", AC则完成对无线用户的认证、 配置、 数据转发等功能, 起到集中控 制作用, 以配合 AP实现更多的增值业务。 AC与 AP之间可以通过无线接入点控制与 部署协议 (Controlling and Provisioning of Wireless Access Pont, CAPWAP ) 建立 CAPWAP链路并通信。 图 1 为现有典型的无线网络组网结构示意图, 如图 1 所示, 该无线网络中, AC 通过交换机与多台 AP有线连接, AP通过无线方式与无线用户通信,以提供无线业务。 AC中保存了向其注册的 AP及无线用户的业务数据以保持无线业务,为避免链路故障 或 AC发生故障而引起无线业务中断, 同时随着 AP及无线用户的不断增加, 对 AC 系统的容灾, 尤其是高效可靠的容灾需求更是日益强烈。 现有技术中比较通用的容灾解决方案如图 2所示, 即 AP同时与主用无线控制器 (主用 AC)和备用无线控制器 (备用 AC)建立主备通信通道, 主用无线控制器将业 务数据发送到 AP, AP再将该业务信息通过备用通道发送到备用无线控制器, 当 AP 检测到与主用无线控制器通信中断后, AP切换备用通信信道为主用通信信道来继续保 持无线业务。 这种方案主要是通过 AP来实现业务数据的转发, 虽然技术方案简单, 但是增加了 AP负担,而且只有当 AP检测到与主用 AC通信中断后才主动发生主备切 换,造成了无线业务的中断,又由于 AC的容灾受 AP控制而不能对接其它厂商的 AP。 此外, 对于 AC的容灾解决方案, 现有技术也有一种直接指定主用 AC和备用 AC 的方案, 主备用 AC配置相同, 主用 AC直接将数据发送到备用 AC, 备用 AC接收数 据并存储。 在主用 AC发生故障时, 切换到备用 AC继续保持业务。 该方法虽然实现 简单, 但仍然存在无线业务中断的问题, 而且, AC 作为核心控制设备, 需要同步的 业务数据量非常大, 采用这种方案会对主用 AC造成过重负担而影响业务的处理。 发明内容 本发明实施例的主要目的在于提供一种高效可靠的无线控制器容灾方法及系统。 为了达到上述目的, 本发明提出一种无线控制器容灾方法, 包括: 主用无线控制器通过预先与备用无线控制器建立的同步通道, 将关键业务数据同 步到所述备用无线控制器; 所述备用无线控制器根据接收的所述关键业务数据构造出其它所需的相关业务数 据; 所述主用无线控制器与所述备用无线控制器通过链路检测机制检测所述主用无线 控制器侧是否异常, 若是, 则所述备用无线控制器切换为主用无线控制器, 保持业务 不中断。 优选地, 所述主用无线控制器将关键业务数据同步到所述备用无线控制器的步骤 包括: 所述主用无线控制器在系统负荷最轻的预定时间内批量同步所有缓存的关键业务 数据; 以及实时同步新生成的小批量关键业务数据。 优选地, 该方法还包括: 所述主用无线控制器在同步数据的过程中, 根据当前系统的负荷程度调整发送速 率。 优选地, 所述关键业务数据至少包括 AP信息及 STA信息。 优选地, 所述主用无线控制器与所述备用无线控制器通过链路检测机制检测所述 主用无线控制器侧是否异常, 若是, 则所述备用无线控制器切换为主用无线控制器, 保持业务不中断的步骤包括: 所述主用无线控制器与备用无线控制器通过所述同步通道进行心跳握手检测; 当 所述主用无线控制器发生故障时, 所述备用无线控制器检测到心跳中断, 所述备用无 线控制器切换为主用无线控制器, 保持业务不中断; 或者, 所述主用无线控制器定时检测其上行链路是否异常; 若上行链路异常, 则 所述主用无线控制器通知所述备用无线控制器切换为主用无线控制器, 保持业务不中 断。 优选地, 所述主用无线控制器通过预先与备用无线控制器建立的同步通道, 将关 键业务数据同步到所述备用无线控制器的步骤之前还包括: 所述主用无线控制器与备用无线控制器根据 VRRP协商出主备关系, 所述主用无 线控制器获取备用无线控制器的地址信息, 与备用无线控制器建立同步通道。 优选地, 该方法还包括: 所述主用无线控制器在所述备用无线控制器未启动时, 根据预设时间间隔周期性 尝试建立同步通道。 TECHNICAL FIELD The present invention relates to the field of computer network communication technologies, and in particular, to an efficient and reliable disaster tolerance method and system for a wireless controller. BACKGROUND OF THE INVENTION Existing wireless local area network (WLAN) networking is generally implemented by a wireless access point (Access Pont, AP) and a wireless controller (Access Controller, AC). In the AC+AP networking mode, the AP implements “zero configuration”, and the AC completes functions such as authentication, configuration, and data forwarding for wireless users, and plays a centralized control role to support the AP to achieve more value-added. business. The CAPWAP link can be established and communicated between the AC and the AP through the Controlling and Provisioning of Wireless Access Pont (CAPWAP). Figure 1 is a schematic diagram of a typical wireless network networking structure. As shown in Figure 1, in an Ethernet network, an AC is connected to multiple APs through a switch, and the AP communicates with wireless users wirelessly to provide wireless services. The AC stores the service data of the AP and the wireless user registered with it to maintain the wireless service, and the wireless service is interrupted to avoid the link failure or the AC failure. At the same time, as the AP and the wireless user continue to increase, the AC system Disaster tolerance, especially efficient and reliable disaster recovery needs are increasingly strong. The more common disaster recovery solution in the prior art is shown in FIG. 2, that is, the AP establishes an active/standby communication channel with the primary wireless controller (active AC) and the standby wireless controller (standby AC) at the same time, and the primary wireless control is used. The device sends the service data to the AP, and the AP sends the service information to the standby wireless controller through the backup channel. After the AP detects that the communication with the active wireless controller is interrupted, the AP switches the alternate communication channel to continue as the primary communication channel. Keep wireless business. This solution mainly implements the forwarding of service data through the AP. Although the technical solution is simple, the AP burden is increased, and the active/standby switchover takes place only after the AP detects that the communication with the active AC is interrupted, resulting in the wireless service. Interrupted, and the AC's disaster recovery is controlled by the AP and cannot be connected to APs of other vendors. In addition, for the disaster recovery solution of the AC, the prior art also has a scheme of directly designating the primary AC and the standby AC. The primary and backup ACs have the same configuration, and the primary AC directly sends data to the standby AC, and the standby AC receives the data and stores it. . When the primary AC fails, switch to the standby AC to continue to maintain the service. Although the method is simple to implement, there is still a problem of wireless service interruption. Moreover, AC as a core control device requires a large amount of synchronous service data, and this solution may impose an excessive burden on the primary AC and affect the processing of the service. . SUMMARY OF THE INVENTION A primary object of the embodiments of the present invention is to provide an efficient and reliable wireless controller disaster tolerance method and system. In order to achieve the above object, the present invention provides a wireless controller disaster tolerance method, including: the primary wireless controller synchronizes key service data to the standby wireless controller by using a synchronization channel established in advance with the standby wireless controller; The standby wireless controller constructs other required related service data according to the received key service data; the primary wireless controller and the standby wireless controller detect the primary wireless controller by using a link detection mechanism Whether the side is abnormal, and if so, the standby wireless controller switches to the primary wireless controller to keep the service uninterrupted. Preferably, the step of the primary wireless controller synchronizing the key service data to the standby wireless controller comprises: the primary wireless controller batch synchronizing all the cached key service data in a predetermined time with the lightest system load ; and real-time synchronization of newly generated small batches of key business data. Preferably, the method further comprises: the primary wireless controller adjusting the transmission rate according to the load level of the current system in the process of synchronizing data. Preferably, the key service data includes at least AP information and STA information. Preferably, the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through a link detection mechanism, and if yes, the standby wireless controller switches to a primary wireless controller. The step of maintaining the service uninterrupted includes: the primary wireless controller and the standby wireless controller performing heartbeat handshake detection through the synchronization channel; when the primary wireless controller fails, the standby wireless controller detects When the heartbeat is interrupted, the standby wireless controller switches to the primary wireless controller to keep the service uninterrupted; Or the primary wireless controller periodically detects whether the uplink is abnormal; if the uplink is abnormal, the primary wireless controller notifies the standby wireless controller to switch to the primary wireless controller, and maintains the service. Interrupted. Preferably, before the step of synchronizing the key service data to the standby wireless controller by using the synchronization channel established in advance with the standby wireless controller, the primary wireless controller further includes: the primary wireless controller and the standby wireless The controller negotiates the active/standby relationship according to the VRRP, and the primary wireless controller acquires the address information of the standby wireless controller, and establishes a synchronization channel with the standby wireless controller. Preferably, the method further includes: the primary wireless controller periodically attempts to establish a synchronization channel according to a preset time interval when the standby wireless controller is not activated.
本发明实施例还提出一种无线控制器容灾系统, 包括: 主用无线控制器和备用无 线控制器; 其中: 所述主用无线控制器, 设置为通过预先与所述备用无线控制器建立的同步通道, 将关键业务数据同步到所述备用无线控制器; 所述备用无线控制器, 设置为根据接收的所述关键业务数据构造出其它所需的相 关业务数据; 所述主用无线控制器与所述备用无线控制器还设置为通过链路检测机制检测所述 主用无线控制器侧是否异常, 若是, 则所述备用无线控制器切换为主用无线控制器, 保持业务不中断。 优选地, 所述主用无线控制器, 还设置为在系统负荷最轻的预定时间内批量同步 所有缓存的关键业务数据; 以及实时同步新生成的小批量关键业务数据。 优选地, 所述主用无线控制器, 还设置为在同步数据的过程中, 根据当前系统的 负荷程度调整发送速率。 优选地, 备用无线控制器还设置为与所述主用无线控制器通过所述同步通道进行 心跳握手检测; 当所述主用无线控制器发生故障时, 所述备用无线控制器检测到心跳 中断, 切换为主用无线控制器, 保持业务不中断; 或者, 所述主用无线控制器还设置为定时检测其上行链路是否异常; 若上行链路 异常, 则通知所述备用无线控制器切换为主用无线控制器, 保持业务不中断。 优选地, 所述主用无线控制器还设置为与备用无线控制器根据 VRRP协商出主备 关系, 以及获取备用无线控制器的地址信息, 与备用无线控制器建立同步通道。 优选地, 所述主用无线控制器还设置为在所述备用无线控制器未启动时, 根据预 设时间间隔周期性尝试建立同步通道。 The embodiment of the present invention further provides a wireless controller disaster tolerance system, including: a primary wireless controller and a standby wireless controller; wherein: the primary wireless controller is configured to establish with the standby wireless controller in advance Synchronizing channel, synchronizing key service data to the standby wireless controller; the standby wireless controller is configured to construct other required related service data according to the received key service data; And the standby wireless controller is further configured to detect, by the link detection mechanism, whether the primary wireless controller side is abnormal, and if so, the standby wireless controller switches to the primary wireless controller to keep the service uninterrupted. Preferably, the active wireless controller is further configured to batch synchronize all cached key service data within a predetermined time when the system load is lightest; and synchronize the newly generated small batch key service data in real time. Preferably, the active wireless controller is further configured to adjust the transmission rate according to the load level of the current system in the process of synchronizing data. Preferably, the standby wireless controller is further configured to perform a heartbeat handshake detection with the primary wireless controller through the synchronization channel; when the primary wireless controller fails, the standby wireless controller detects a heartbeat interruption Switch to the primary wireless controller to keep the service uninterrupted; Alternatively, the primary wireless controller is further configured to periodically detect whether the uplink is abnormal. If the uplink is abnormal, the standby wireless controller is notified to switch to the primary wireless controller, and the service is not interrupted. Preferably, the active wireless controller is further configured to negotiate a master-slave relationship with the standby wireless controller according to the VRRP, and obtain address information of the standby wireless controller, and establish a synchronization channel with the standby wireless controller. Preferably, the primary wireless controller is further configured to periodically attempt to establish a synchronization channel according to a preset time interval when the standby wireless controller is not activated.
本发明实施例提出的一种无线控制器容灾方法及系统, 主用无线控制器通过预先 与备用无线控制器建立的同步通道, 将关键业务数据同步到备用无线控制器; 备用无 线控制器根据接收的关键业务数据构造出其它所需的相关业务数据; 之后主用无线控 制器与备用无线控制器通过链路检测机制检测主用无线控制器侧是否异常, 若是, 则 备用无线控制器切换为主用无线控制器, 保持业务不中断, 由此, 克服现有技术中存 在的主备无线控制器切换不可靠及同步数据效率低下的问题和缺陷, 减少了 AP带来 的影响, 取得了主用无线控制器不影响处理业务情况下同步数据高效可靠的效果, 避 免了在备用无线控制器上再次配置的操作, 减少了出错可能, 节省了人力成本, 保证 了无线业务不发生中断, 提高了系统的可靠性。 附图说明 图 1是现有的一种无线网络组网结构示意图; 图 2 是现有技术中 AP双链路容灾的结构示意图; 图 3是本发明实施例的无线控制器容灾方法一实施例的流程示意图; 图 4是本发明实施例的无线网络组网结构示意图; 图 5是本发明实施例的无线控制器容灾方法另一实施例的流程示意图; 图 6是本发明实施例的无线控制器容灾系统一实施例的结构示意图。 为了使本发明的技术方案更加清楚、 明了, 下面将结合附图作进一步详述。 具体实施方式 本发明实施例的解决方案主要是: 主备用无线控制器间协商主备关系, 与备用无 线控制器建立同步通道, 通过同步通道将关键业务数据同步到备用无线控制器; 备用 无线控制器根据接收的关键业务数据构造出其它所需的相关业务数据; 之后主用无线 控制器与备用无线控制器通过链路检测机制检测主用无线控制器侧是否异常, 若是, 则备用无线控制器切换为主用无线控制器, 保持业务不中断, 由此, 克服现有技术中 存在的主备无线控制器切换不可靠及同步数据效率低下的问题和缺陷, 减少了 AP带 来的影响, 避免在备用无线控制器上再次配置的操作, 节省人力成本, 保证无线业务 不发生中断, 提高系统的可靠性。 A wireless controller disaster tolerance method and system according to an embodiment of the present invention, the primary wireless controller synchronizes key service data to the standby wireless controller through a synchronization channel established in advance with the standby wireless controller; The received key service data constructs other required related service data; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller switches to The main wireless controller keeps the service uninterrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, thereby reducing the impact of the AP and obtaining the main The use of the wireless controller does not affect the efficient and reliable synchronization of the data in the processing service, avoids the reconfiguration operation on the standby wireless controller, reduces the possibility of errors, saves labor costs, ensures that the wireless service does not interrupt, and improves System reliability. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural diagram of a conventional wireless network networking; FIG. 2 is a schematic structural diagram of AP dual-link disaster tolerance in the prior art; FIG. 3 is a schematic diagram of a wireless controller disaster tolerance method according to an embodiment of the present invention; 4 is a schematic diagram of a wireless network networking structure according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of another embodiment of a wireless controller disaster tolerance method according to an embodiment of the present invention; A schematic diagram of the structure of an embodiment of a wireless controller disaster tolerance system. In order to make the technical solutions of the present invention clearer and clearer, the following will be further described in detail with reference to the accompanying drawings. The solution of the embodiment of the present invention is mainly: negotiating the active/standby relationship between the primary and secondary wireless controllers, establishing a synchronization channel with the standby wireless controller, and synchronizing the key service data to the standby wireless controller through the synchronization channel; The device constructs other required related service data according to the received key service data; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller Switching to the main-purpose wireless controller to keep the service uninterrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, thereby reducing the impact of the AP and avoiding The operation of reconfiguring on the standby wireless controller saves labor costs, ensures that wireless services are not interrupted, and improves system reliability.
如图 3所示, 本发明一实施例提出一种无线控制器容灾方法, 包括: 步骤 S101 , 主用无线控制器通过预先与备用无线控制器建立的同步通道, 将关键 业务数据同步到所述备用无线控制器; 本发明实施例方法所涉及的无线网络组网容灾的结构如图 4所示,该无线网络中, 主用 AC (主用无线控制器) 与备用 AC (备用无线控制器) 均通过交换机与多台 AP 有线连接, AP通过无线方式与无线用户通信, 以提供无线业务; 此外, 主用 AC与备 用 AC之间还通过心跳线连接, 实现心跳握手交互。 其中, 主用无线控制器与备用无线控制器之间预先建立有专用的同步通道, 并协 商出主备用关系, 主用无线控制器通过同步通道将关键业务数据同步到备用无线控制 器。 主用无线控制器在同步数据的过程中, 根据当前系统的负荷程度调整发送速率, 快速完成数据的同步, 保证容灾的可靠性。 此外, 对于新产生的业务数据量较小 (业 务数据量小于阈值), 且时间分散的小批量关键业务数据, 可以实时发送; 对于缓存的 大批量的关键业务数据, 在系统负荷最轻的预定时间内 (比如在每天的凌晨) 批量发 送, 以进一步保证主备无线控制器中数据的一致。 上述关键业务数据包括 AP信息及 STA信息等。 无线控制器为实现业务, 存储了 AP配置信息、 AP信息、 STA ( Station, 站) 信 息、 CAPWAP 协议相关数据、 网络处理器相关数据等, 本发明实施例考虑到主用无 线控制器管理大量的 AP及 STA信息, 其业务数据量非常大, 如果这些数据都同步到 备用无线控制器, 不仅效率低下, 还可能由于处理不当导致主备用无线控制器中数据 不一致, 更可能使主用无线控制器由于同步大量的数据而影响无线业务的处理。因此, 主用无线控制器在同步业务数据时, 仅发送 AP信息及 STA信息等关键数据, 以保证 数据同步效率。 步骤 S102,所述备用无线控制器根据接收的所述关键业务数据构造出其它所需的 相关业务数据; 备用无线控制器接收主用无线控制器发送的关键业务数据并缓存。 同时, 备用无线控制器根据收到的 AP信息及 STA信息重新构造出其它所需的信 息, 以提高同步效率, 且保证主备用无线控制器中数据的一致。 具体地, 备用无线控制器对缓存的关键业务数据进行重新构造, 根据 AP信息及As shown in FIG. 3, an embodiment of the present invention provides a method for disaster recovery of a wireless controller, including: Step S101: A primary wireless controller synchronizes key service data to a synchronization channel through a synchronization channel established in advance with a standby wireless controller. The configuration of the wireless network in the method of the embodiment of the present invention is as shown in FIG. 4, in which the primary AC (active wireless controller) and the standby AC (standby wireless control) are used. The switch is connected to multiple APs through the switch. The AP communicates with the wireless user wirelessly to provide wireless services. In addition, the active AC and the standby AC are connected through heartbeats to implement heartbeat handshake interaction. Wherein, a dedicated synchronization channel is pre-established between the active wireless controller and the standby wireless controller, and a primary standby relationship is negotiated, and the primary wireless controller synchronizes key service data to the standby wireless controller through the synchronization channel. In the process of synchronizing data, the active wireless controller adjusts the transmission rate according to the current system load level, and quickly completes data synchronization to ensure the reliability of disaster recovery. In addition, for newly generated business data, the amount of business data is smaller than the threshold, and the time-distributed small-volume key business data can be sent in real time; for the cached large-volume key business data, the system load is the lightest. Batch delivery (for example, in the early hours of the morning) to further ensure the consistency of data in the active and standby wireless controllers. The above key service data includes AP information and STA information. The wireless controller manages the AP configuration information, the AP information, the STA (Station) information, the CAPWAP protocol related data, the network processor related data, and the like, and the embodiment of the present invention considers that the primary wireless controller manages a large number of AP and STA information, the amount of business data is very large, if these data are synchronized to The backup wireless controller is not only inefficient, but may also cause data inconsistency in the primary and secondary wireless controllers due to improper processing, and is more likely to cause the primary wireless controller to affect the processing of the wireless service due to synchronization of a large amount of data. Therefore, when the primary wireless controller synchronizes the service data, only key data such as AP information and STA information are transmitted to ensure data synchronization efficiency. Step S102, the standby wireless controller constructs other required related service data according to the received key service data; and the standby wireless controller receives the key service data sent by the active wireless controller and caches the data. At the same time, the standby wireless controller reconstructs other required information according to the received AP information and STA information, so as to improve synchronization efficiency and ensure data consistency in the primary and secondary wireless controllers. Specifically, the standby wireless controller reconstructs the cached key service data according to the AP information and
STA信息构造出 AP配置信息、 网络处理器相关数据、 CAPWAP协议相关数据等无线 业务所需的全部数据。 因此, 同样的 AP配置只需在主用无线控制器配置一次即可, 避免了备用无线控 制器也要手工配置的操作, 从而减少人为出错的可能, 保证主备用无线控制器中无线 业务所需的业务数据一致, 提高了容灾的可靠性。 步骤 S103 ,所述主用无线控制器与所述备用无线控制器通过链路检测机制检测所 述主用无线控制器侧是否异常,若是,则所述备用无线控制器切换为主用无线控制器, 保持业务不中断。 其中,通过链路检测机制检测主用无线控制器侧是否异常可以采用以下两种方式: 作为一种检测方式: 主用无线控制器与备用无线控制器通过建立的同步通道进行 心跳握手检测, 当所述主用无线控制器发生故障时, 所述备用无线控制器检测到心跳 中断, 确定主用无线控制器故障, 因此, 所述备用无线控制器及时切换为主用无线控 制器, 保持业务不中断; 作为另一种检测方式: 主用无线控制器定时检测其上行链路是否异常; 若上行链 路异常, 则主用无线控制器通知备用无线控制器切换为主用无线控制器, 同样可以保 持业务不中断。 本发明实施例通过上述方案, 减少了 AP带来的影响, 取得了主用无线控制器不 影响处理业务情况下同步数据高效可靠的效果, 避免了在备用无线控制器上再次配置 的操作, 减少了出错可能, 节省了人力成本, 保证了无线业务不发生中断, 提高了系 统的可靠性。 The STA information constructs all data required for wireless services such as AP configuration information, network processor related data, and CAPWAP protocol related data. Therefore, the same AP configuration only needs to be configured once in the primary wireless controller, avoiding the manual configuration of the standby wireless controller, thereby reducing the possibility of human error and ensuring the wireless service required in the primary and secondary wireless controllers. The business data is consistent, which improves the reliability of disaster recovery. Step S103, the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through a link detection mechanism, and if yes, the standby wireless controller switches to a primary wireless controller. , keep the business uninterrupted. The following two methods are used to detect whether the primary wireless controller side is abnormal through the link detection mechanism: As a detection mode: the primary wireless controller and the standby wireless controller perform heartbeat handshake detection through the established synchronization channel, when When the primary wireless controller fails, the standby wireless controller detects a heartbeat interruption and determines that the primary wireless controller is faulty. Therefore, the standby wireless controller switches to the primary wireless controller in time to maintain the service. Interrupt; As another detection method: The primary wireless controller periodically detects whether its uplink is abnormal; if the uplink is abnormal, the primary wireless controller notifies the standby wireless controller to switch to the primary wireless controller, and the same Keep your business uninterrupted. Through the above solution, the embodiment of the present invention reduces the impact of the AP, and obtains the effect that the active wireless controller does not affect the processing data, and the synchronization data is efficient and reliable, and avoids reconfiguration on the standby wireless controller. The operation reduces the possibility of errors, saves labor costs, ensures that wireless services are not interrupted, and improves system reliability.
如图 5所示, 本发明另一实施例提出一种无线控制器容灾方法, 在上述实施例的 基础上, 在上述步骤 S101之前还包括: 步骤 S100, 主用无线控制器与备用无线控制器根据 VRRP协商出主备关系, 所述 主用无线控制器获取备用无线控制器的地址信息, 与备用无线控制器建立同步通道。 本发明实施例与上述实施例的区别在于, 本发明实施例还包括主用无线控制器与 备用无线控制器建立同步通道的方案。 具体地, 在无线控制器中预先配置其它无线控制器的地址信息, 并根据 VRRPAs shown in FIG. 5, another embodiment of the present invention provides a wireless controller disaster tolerance method. Before the foregoing step S101, the method further includes: Step S100, the primary wireless controller and the standby wireless control. The device negotiates the active/standby relationship according to the VRRP, and the primary wireless controller acquires the address information of the standby wireless controller, and establishes a synchronization channel with the standby wireless controller. The difference between the embodiment of the present invention and the foregoing embodiment is that the embodiment of the present invention further includes a scheme for establishing a synchronization channel between the active wireless controller and the standby wireless controller. Specifically, the address information of other wireless controllers is pre-configured in the wireless controller, and according to VRRP
( Virtual Router Redundancy Protocol, 虚拟路由冗余协议) 协商出主备关系。 主用无线控制器根据配置信息获取备用无线控制器的地址信息, 与备用无线控制 器建立同步通道, 如果同步通道建立成功, 则主用无线控制器通过同步通道将关键业 务数据同步到备用无线控制器; 如果同步通道未建立成功, 则主用无线控制器在备用 无线控制器未启动时, 根据预设时间间隔周期性尝试建立与备用无线控制器之间的同 步通道。 (Virtual Router Redundancy Protocol) Negotiates the active/standby relationship. The active wireless controller acquires the address information of the standby wireless controller according to the configuration information, and establishes a synchronization channel with the standby wireless controller. If the synchronization channel is successfully established, the primary wireless controller synchronizes the key service data to the standby wireless control through the synchronization channel. If the synchronization channel is not successfully established, the active wireless controller periodically attempts to establish a synchronization channel with the standby wireless controller according to the preset time interval when the standby wireless controller is not activated.
本发明实施例通过上述方案, 主用无线控制器与备用无线控制器建立同步通道, 通过该同步通道将关键业务数据同步到备用无线控制器; 备用无线控制器根据接收的 关键业务数据构造出其它所需的相关业务数据; 之后主用无线控制器与备用无线控制 器通过链路检测机制检测主用无线控制器侧是否异常, 若是, 则备用无线控制器切换 为主用无线控制器, 保持业务不中断, 由此, 克服现有技术中存在的主备无线控制器 切换不可靠及同步数据效率低下的问题和缺陷, 减少了 AP带来的影响, 取得了主用 无线控制器不影响处理业务情况下同步数据高效可靠的效果, 避免了在备用无线控制 器上再次配置的操作, 减少了出错可能, 节省了人力成本, 保证了无线业务不发生中 断, 提高了系统的可靠性。 In the embodiment of the present invention, the primary wireless controller establishes a synchronization channel with the standby wireless controller, and synchronizes the key service data to the standby wireless controller through the synchronization channel; the standby wireless controller constructs other information according to the received key service data. Relevant service data required; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller switches to the primary wireless controller to maintain the service Uninterrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, reducing the impact of the AP, and obtaining the active wireless controller does not affect the processing service. In this case, the synchronous data is efficient and reliable, avoids the reconfiguration operation on the standby wireless controller, reduces the possibility of errors, saves labor costs, ensures that the wireless service is not interrupted, and improves the reliability of the system.
如图 6所示, 本发明一实施例提出一种无线控制器容灾系统, 包括: 主用无线控 制器 201和备用无线控制器 202; 其中: 所述主用无线控制器 201, 设置为通过预先与所述备用无线控制器 202建立的同 步通道, 将关键业务数据同步到所述备用无线控制器 202; 所述备用无线控制器 202, 设置为根据接收的所述关键业务数据构造出其它所需 的相关业务数据; 所述主用无线控制器 201与所述备用无线控制器 202还设置为通过链路检测机制 检测所述主用无线控制器 201侧是否异常, 若是, 则所述备用无线控制器 202切换为 主用无线控制器 201, 保持业务不中断。 本发明实施例方法所涉及的无线网络组网容灾的结构如图 4所示,该无线网络中, 主用 AC (主用无线控制器 201 ) 与备用 AC (备用无线控制器 202) 均通过交换机与 多台 AP有线连接, AP通过无线方式与无线用户通信, 以提供无线业务; 此外, 主用 AC与备用 AC之间还通过心跳线连接, 实现心跳握手交互。 其中, 主用无线控制器 201与备用无线控制器 202之间预先建立有专用的同步通 道, 并协商出主备用关系, 主用无线控制器 201通过同步通道将关键业务数据同步到 备用无线控制器 202。 主用无线控制器 201在同步数据的过程中, 根据当前系统的负荷程度调整发送速 率, 快速完成数据的同步, 保证容灾的可靠性。此外, 对于新产生的业务数据量较小, 且时间分散的小批量关键业务数据, 可以实时发送; 对于缓存的大批量的关键业务数 据, 在系统负荷最轻的预定时间内 (比如在每天的凌晨) 批量发送, 以进一步保证主 备无线控制器中数据的一致。 上述关键业务数据包括 AP信息及 STA信息等。 无线控制器为实现业务, 存储了 AP配置信息、 AP信息、 STA信息、 CAPWAP 协议相关数据、 网络处理器相关数据等, 本发明实施例考虑到主用无线控制器 201管 理大量的 AP及 STA信息, 其业务数据量非常大, 如果这些数据都同步到备用无线控 制器 202, 不仅效率低下, 还可能由于处理不当导致主备用无线控制器 202中数据不 一致, 更可能使主用无线控制器 201由于同步大量的数据而影响无线业务的处理。 因 此,主用无线控制器 201在同步业务数据时,仅发送 AP信息及 STA信息等关键数据, 以保证数据同步效率。 备用无线控制器 202接收主用无线控制器 201发送的关键业务数据并缓存。 同时, 备用无线控制器 202根据收到的 AP信息及 STA信息重新构造出其它所需 的信息, 以提高同步效率, 且保证主备用无线控制器 202中数据的一致。 具体地, 备用无线控制器 202对缓存的关键业务数据进行重新构造, 根据 AP信 息及 STA信息构造出 AP配置信息、 网络处理器相关数据、 CAPWAP协议相关数据等 无线业务所需的全部数据。 因此, 同样的 AP配置只需在主用无线控制器 201配置一次即可, 避免了备用无 线控制器 202也要手工配置的操作, 从而减少人为出错的可能, 保证主备用无线控制 器 202中无线业务所需的业务数据一致, 提高了容灾的可靠性。 之后, 所述主用无线控制器 201与所述备用无线控制器 202通过链路检测机制检 测所述主用无线控制器 201侧是否异常, 若是, 则所述备用无线控制器 202切换为主 用无线控制器 201, 保持业务不中断。 其中, 通过链路检测机制检测主用无线控制器 201侧是否异常可以采用以下两种 方式: 作为一种检测方式: 主用无线控制器 201与备用无线控制器 202通过建立的同步 通道进行心跳握手检测, 当所述主用无线控制器 201发生故障时, 所述备用无线控制 器 202检测到心跳中断, 确定主用无线控制器 201故障, 因此, 所述备用无线控制器 202及时切换为主用无线控制器 201, 保持业务不中断; 作为另一种检测方式: 主用无线控制器 201定时检测其上行链路是否异常; 若上 行链路异常, 则主用无线控制器 201通知备用无线控制器 202切换为主用无线控制器 201, 同样可以保持业务不中断。 本发明实施例通过上述方案,减少了 AP带来的影响,取得了主用无线控制器 201 不影响处理业务情况下同步数据高效可靠的效果, 避免了在备用无线控制器 202上再 次配置的操作, 减少了出错可能, 节省了人力成本, 保证了无线业务不发生中断, 提 高了系统的可靠性。 As shown in FIG. 6, an embodiment of the present invention provides a wireless controller disaster tolerance system, including: a primary wireless controller 201 and a standby wireless controller 202; The primary wireless controller 201 is configured to synchronize key service data to the standby wireless controller 202 by using a synchronization channel established in advance with the standby wireless controller 202; the standby wireless controller 202 is configured to Constructing other required related service data according to the received key service data; the primary wireless controller 201 and the standby wireless controller 202 are further configured to detect the primary wireless controller by using a link detection mechanism Whether the 201 side is abnormal, and if so, the standby wireless controller 202 switches to the main wireless controller 201 to keep the service uninterrupted. The structure of the wireless network networking disaster tolerance involved in the method of the embodiment of the present invention is as shown in FIG. 4, in which the primary AC (the primary wireless controller 201) and the standby AC (the standby wireless controller 202) pass. The switch is connected to multiple APs. The AP communicates with the wireless users wirelessly to provide wireless services. In addition, the active AC and the standby AC are connected through heartbeats to implement heartbeat handshake. A dedicated synchronization channel is pre-established between the active wireless controller 201 and the standby wireless controller 202, and a primary standby relationship is negotiated. The primary wireless controller 201 synchronizes key service data to the standby wireless controller through the synchronization channel. 202. In the process of synchronizing data, the active wireless controller 201 adjusts the transmission rate according to the load level of the current system, and quickly completes data synchronization to ensure the reliability of disaster tolerance. In addition, for newly generated small business volume data with small amount of business data and time dispersion, it can be sent in real time; for cached large quantities of key business data, within the scheduled time when the system load is the lightest (such as in daily In the morning, send in batches to further ensure the consistency of data in the active and standby wireless controllers. The above key service data includes AP information and STA information. The wireless controller manages the AP configuration information, the AP information, the STA information, the CAPWAP protocol related data, the network processor related data, and the like. The embodiment of the present invention considers that the primary wireless controller 201 manages a large number of AP and STA information. The amount of service data is very large. If the data is synchronized to the standby wireless controller 202, not only is it inefficient, but also the data in the primary and secondary wireless controllers 202 is inconsistent due to improper processing, and the primary wireless controller 201 is more likely to be Synchronize large amounts of data and affect the processing of wireless services. Therefore, when synchronizing service data, the active wireless controller 201 transmits only key data such as AP information and STA information to ensure data synchronization efficiency. The backup wireless controller 202 receives the key service data transmitted by the primary wireless controller 201 and caches it. At the same time, the standby wireless controller 202 reconstructs other required information according to the received AP information and the STA information, so as to improve the synchronization efficiency and ensure the consistency of the data in the primary standby wireless controller 202. Specifically, the backup wireless controller 202 reconstructs the cached key service data, and constructs all data required for the wireless service such as the AP configuration information, the network processor related data, and the CAPWAP protocol related data according to the AP information and the STA information. Therefore, the same AP configuration only needs to be configured once in the primary wireless controller 201, thereby avoiding the manual configuration operation of the standby wireless controller 202, thereby reducing the possibility of human error, and ensuring wireless in the primary standby wireless controller 202. The business data required by the business is consistent, which improves the reliability of disaster recovery. Thereafter, the primary wireless controller 201 and the backup wireless controller 202 detect whether the primary wireless controller 201 is abnormal by the link detection mechanism, and if so, the standby wireless controller 202 switches to the primary use. The wireless controller 201 keeps the service uninterrupted. The following two ways are used to detect whether the primary wireless controller 201 is abnormal by the link detection mechanism: As a detection mode: the primary wireless controller 201 and the standby wireless controller 202 perform a heartbeat handshake through the established synchronization channel. Detecting, when the primary wireless controller 201 fails, the standby wireless controller 202 detects a heartbeat interruption, and determines that the primary wireless controller 201 is faulty. Therefore, the standby wireless controller 202 switches to the primary use in time. The wireless controller 201 keeps the service uninterrupted; as another detection mode: the primary wireless controller 201 periodically detects whether its uplink is abnormal; if the uplink is abnormal, the primary wireless controller 201 notifies the standby wireless controller 202 switches to the primary wireless controller 201, and the service can be kept uninterrupted as well. Through the foregoing solution, the embodiment of the present invention reduces the impact of the AP, and obtains the effect that the active wireless controller 201 does not affect the processing data, and the synchronization data is efficient and reliable, and the operation of reconfiguring on the standby wireless controller 202 is avoided. , reducing the possibility of errors, saving labor costs, ensuring that wireless services are not interrupted, and improving system reliability.
进一步地, 所述主用无线控制器 201还设置为与备用无线控制器 202根据 VRRP 协商出主备关系, 以及获取备用无线控制器 202的地址信息, 与备用无线控制器 202 建立同步通道。 具体地, 在无线控制器中预先配置其它无线控制器的地址信息, 并根据 VRRP协 商出主备关系。 主用无线控制器 201根据配置信息获取备用无线控制器 202的地址信息, 与备用 无线控制器 202建立同步通道, 如果同步通道建立成功, 则主用无线控制器 201通过 同步通道将关键业务数据同步到备用无线控制器 202; 如果同步通道未建立成功, 则 主用无线控制器 201在备用无线控制器 202未启动时, 根据预设时间间隔周期性尝试 建立与备用无线控制器 202之间的同步通道。 Further, the active wireless controller 201 is further configured to negotiate a master-slave relationship with the standby wireless controller 202 according to the VRRP, and obtain address information of the standby wireless controller 202, and establish a synchronization channel with the standby wireless controller 202. Specifically, address information of other wireless controllers is pre-configured in the wireless controller, and the active/standby relationship is negotiated according to the VRRP. The active wireless controller 201 acquires the address information of the standby wireless controller 202 according to the configuration information, and establishes a synchronization channel with the standby wireless controller 202. If the synchronization channel is successfully established, the primary wireless controller 201 synchronizes the key service data through the synchronization channel. To the standby wireless controller 202; if the synchronization channel is not successfully established, the primary wireless controller 201 periodically attempts to establish synchronization with the standby wireless controller 202 according to a preset time interval when the standby wireless controller 202 is not activated. aisle.
需要说明的是, 作为一种具体的应用方式, 可以根据需要在主用无线控制器 201 和备用无线控制器 202中设置相应的功能模块, 比如同步模块、发送模块、接收模块、 重构模块、 控制模块、 容灾模块等, 其中: 同步模块设置为确定无线控制器的主备关系, 如果协商确定为主用无线控制器 201, 根据配置信息获取所述备用无线控制器 202地址信息, 建立同步通道; 在具体的应用场景中, 同步模块还设置为在备用无线控制器 202未启动时, 在主 用无线控制器 201上按照预设的间隔周期性尝试与备用无线控制器 202建立同步通道。 发送模块设置为通过同步模块建立的同步通道向所述备用无线控制器 202发送主 用无线控制器 201缓存的关键业务数据。 接收模块设置为通过同步模块建立的同步通道接收发送模块发送的业务数据, 并 缓存。 重构模块设置为对接收模块缓存的业务数据进行重新构造, 根据 AP信息构造出It should be noted that, as a specific application manner, corresponding functional modules, such as a synchronization module, a sending module, a receiving module, and a reconfiguration module, may be set in the active wireless controller 201 and the standby wireless controller 202 as needed. The control module, the disaster tolerance module, and the like, wherein: the synchronization module is configured to determine a master/slave relationship of the wireless controller, and if the negotiation determines the master wireless controller 201, obtain the address information of the standby wireless controller 202 according to the configuration information, and establish a synchronization. Channels; In a specific application scenario, the synchronization module is further configured to periodically attempt to establish a synchronization channel with the standby wireless controller 202 at the preset interval on the primary wireless controller 201 when the standby wireless controller 202 is not activated. The sending module is configured to send the key service data buffered by the primary wireless controller 201 to the standby wireless controller 202 through a synchronization channel established by the synchronization module. The receiving module is configured to receive the service data sent by the sending module through the synchronization channel established by the synchronization module, and cache the data. The reconstruction module is configured to reconstruct the service data buffered by the receiving module, and construct the data according to the AP information.
AP配置信息, AP配置信息只需在主用无线控制器 201配置一次即可, 减少多次人工 配置出错的可能; 根据 AP及 STA信息构造出 CAPWAP协议及网络处理器等相关业 务数据, 保证了主备用无线控制器 202中数据的一致性, 提高了容灾的可靠性。 控制模块设置为控制发送模块根据主用无线控制器 201系统的负担程度调整发送 模块的发送速率, 系统负担轻, 发送速率快, 系统负担重, 发送速率慢, 不影响主用 无线控制器 201处理正常业务。 在具体的应用场景中, 控制模块还设置为控制同步业务数据的时间, 对新登录的 AP及 STA信息, 数据实时同步; 为提高容灾的可靠性, 保证主备无线控制器中数据 的一致, 每天凌晨系统负担最轻时, 通知发送模块同步所有缓存的关键业务数据, 进 行批量同步, 进一步保证容灾的可靠性。 容灾模块设置为检测主用无线控制器 201是否发生故障, 进行主备切换。 一方面 主备用无线控制器 202通过同步模块建立的同步通道进行心跳握手检测, 当备用无线 控制器 202检测到主用无线控制器 201心跳中断及时切换为主用无线控制器 201, 继 续保持无线业务, 另一方面, 主用无线控制器 201定时检测其上行链路是否正常, 如 果异常及时进行主备切换, 新的主用无线控制器 201继续保持无线业务不中断。 工业实用性 本发明实施例无线控制器容灾方法及系统, 主用无线控制器通过预先与备用无线 控制器建立的同步通道, 将关键业务数据同步到备用无线控制器; 备用无线控制器根 据接收的关键业务数据构造出其它所需的相关业务数据; 之后主用无线控制器与备用 无线控制器通过链路检测机制检测主用无线控制器侧是否异常, 若是, 则备用无线控 制器切换为主用无线控制器, 保持业务不中断, 由此, 克服现有技术中存在的主备无 线控制器切换不可靠及同步数据效率低下的问题和缺陷, 减少了 AP带来的影响, 取 得了主用无线控制器不影响处理业务情况下同步数据高效可靠的效果, 避免了在备用 无线控制器上再次配置的操作, 减少了出错可能, 节省了人力成本, 保证了无线业务 不发生中断, 提高了系统的可靠性。 AP configuration information, AP configuration information can be configured only once in the primary wireless controller 201, reducing the possibility of multiple manual configuration errors; constructing CAPWAP protocol and network processor and other related service data according to AP and STA information, ensuring The consistency of data in the primary and backup wireless controllers 202 improves the reliability of disaster recovery. The control module is configured to control the sending module to adjust the sending rate of the sending module according to the burden degree of the system of the main wireless controller 201, the system burden is light, the sending rate is fast, the system burden is heavy, the sending rate is slow, and the main wireless controller 201 is not affected. Normal business. In a specific application scenario, the control module is further configured to control the time of synchronizing the service data, and the data of the newly registered AP and the STA is synchronized in real time. To improve the reliability of the disaster recovery, the data in the active and standby wireless controllers are ensured. The same is true. When the system is the lightest in the morning, the notification sending module synchronizes all the cached key service data and performs batch synchronization to further ensure the reliability of the disaster recovery. The disaster tolerance module is configured to detect whether the primary wireless controller 201 is faulty, and perform active/standby switching. On the one hand, the primary and secondary wireless controllers 202 perform heartbeat handshake detection through the synchronization channel established by the synchronization module. When the backup wireless controller 202 detects that the primary wireless controller 201 is interrupted, it switches to the primary wireless controller 201 and continues to maintain the wireless service. On the other hand, the active wireless controller 201 periodically detects whether the uplink is normal. If the active/standby switchover is performed in an abnormal manner, the new active wireless controller 201 continues to maintain the wireless service uninterrupted. INDUSTRIAL APPLICABILITY The wireless controller disaster tolerance method and system according to the embodiment of the present invention, the primary wireless controller synchronizes key service data to the standby wireless controller through a synchronization channel established in advance with the standby wireless controller; The key business data constructs other required related service data; then the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through the link detection mechanism, and if so, the standby wireless controller switches to the primary With the wireless controller, the service is not interrupted, thereby overcoming the problems and defects of the unreliable switching between the active and standby wireless controllers and the inefficient data synchronization in the prior art, thereby reducing the impact of the AP and achieving the main use. The wireless controller does not affect the efficient and reliable synchronization data in the processing service situation, avoids the reconfiguration operation on the standby wireless controller, reduces the possibility of errors, saves labor costs, ensures that the wireless service does not interrupt, and improves the system. Reliability.
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用 本发明说明书及附图内容所作的等效结构或流程变换, 或直接或间接运用在其它相关 的技术领域, 均同理包括在本发明的专利保护范围内。 The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and equivalent structural or process changes made by the present specification and drawings may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims

权 利 要 求 书 、 一种无线控制器容灾方法, 包括: Claims, a wireless controller disaster tolerance method, including:
主用无线控制器通过预先与备用无线控制器建立的同步通道, 将关键业务 数据同步到所述备用无线控制器;  The active wireless controller synchronizes key service data to the standby wireless controller through a synchronization channel established in advance with the standby wireless controller;
所述备用无线控制器根据接收的所述关键业务数据构造出其它所需的相关 业务数据;  The standby wireless controller constructs other required related service data according to the received key service data;
所述主用无线控制器与所述备用无线控制器通过链路检测机制检测所述主 用无线控制器侧是否异常, 若是, 则所述备用无线控制器切换为主用无线控制 器, 保持业务不中断。 、 根据权利要求 1所述的方法, 其中, 所述主用无线控制器将关键业务数据同步 到所述备用无线控制器的步骤包括:  The primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through a link detection mechanism, and if yes, the standby wireless controller switches to the primary wireless controller to maintain the service. Not interrupted. The method according to claim 1, wherein the step of synchronizing the key service data to the standby wireless controller by the active wireless controller comprises:
所述主用无线控制器在系统负荷最轻的预定时间内批量同步所有缓存的关 键业务数据; 和 /或,  The primary wireless controller synchronizes all cached key service data in batches within a predetermined time of system load; and/or,
实时同步新生成的小批量关键业务数据。 、 根据权利要求 2所述的方法, 其中, 还包括: 所述主用无线控制器在同步数据的过程中, 根据当前系统的负荷程度调整 发送速率。 、 根据权利要求 1所述的方法,其中,所述关键业务数据至少包括无线接入点 AP 信息及 STA ( Station, 站) 信息。 、 根据权利要求 1所述的方法, 其特征在于, 所述主用无线控制器与所述备用无 线控制器通过链路检测机制检测所述主用无线控制器侧是否异常, 若是, 则所 述备用无线控制器切换为主用无线控制器, 保持业务不中断的步骤包括:  Synchronize newly generated small batches of key business data in real time. The method according to claim 2, further comprising: the primary wireless controller adjusting the transmission rate according to the load level of the current system in the process of synchronizing data. The method according to claim 1, wherein the key service data includes at least wireless access point AP information and STA (Station) information. The method according to claim 1, wherein the primary wireless controller and the standby wireless controller detect whether the primary wireless controller side is abnormal through a link detection mechanism, and if so, The standby wireless controller switches to the primary wireless controller, and the steps of keeping the service uninterrupted include:
所述主用无线控制器与备用无线控制器通过所述同步通道进行心跳握手检 测; 当所述主用无线控制器发生故障时,所述备用无线控制器检测到心跳中断, 所述备用无线控制器切换为主用无线控制器, 保持业务不中断; 或者, 所述主用无线控制器定时检测其上行链路是否异常; 若上行链路异 常, 则所述主用无线控制器通知所述备用无线控制器切换为主用无线控制器, 保持业务不中断。 、 根据权利要求 1-5中任一项所述的方法, 其中, 所述主用无线控制器通过预先 与备用无线控制器建立的同步通道, 将关键业务数据同步到所述备用无线控制 器的步骤之前还包括: The primary wireless controller and the standby wireless controller perform heartbeat handshake detection through the synchronization channel; when the primary wireless controller fails, the standby wireless controller detects a heartbeat interruption, and the standby wireless control Switch to the main wireless controller to keep the service uninterrupted; Or the primary wireless controller periodically detects whether the uplink is abnormal; if the uplink is abnormal, the primary wireless controller notifies the standby wireless controller to switch to the primary wireless controller, and maintains the service. Interrupted. The method according to any one of claims 1 to 5, wherein the primary wireless controller synchronizes key service data to the standby wireless controller through a synchronization channel established in advance with the standby wireless controller. The steps also include:
所述主用无线控制器与备用无线控制器根据虚拟路由冗余协议 VRRP协商 出主备关系, 所述主用无线控制器获取备用无线控制器的地址信息, 与备用无 线控制器建立同步通道。 、 根据权利要求 6所述的方法, 其中, 还包括: 所述主用无线控制器在所述备用无线控制器未启动时, 根据预设时间间隔 周期性尝试建立同步通道。 、 一种无线控制器容灾系统, 包括: 主用无线控制器和备用无线控制器; 其中: 所述主用无线控制器, 设置为通过预先与所述备用无线控制器建立的同步 通道, 将关键业务数据同步到所述备用无线控制器;  The active wireless controller and the standby wireless controller negotiate an active/standby relationship according to the virtual routing redundancy protocol VRRP, and the primary wireless controller acquires the address information of the standby wireless controller, and establishes a synchronization channel with the standby wireless controller. The method according to claim 6, further comprising: the primary wireless controller periodically attempting to establish a synchronization channel according to a preset time interval when the standby wireless controller is not activated. a wireless controller disaster tolerance system, comprising: an active wireless controller and a standby wireless controller; wherein: the primary wireless controller is configured to pass a synchronization channel established in advance with the standby wireless controller, Key business data is synchronized to the standby wireless controller;
所述备用无线控制器, 设置为根据接收的所述关键业务数据构造出其它所 需的相关业务数据;  The standby wireless controller is configured to construct other required related service data according to the received key service data;
所述主用无线控制器与所述备用无线控制器还设置为通过链路检测机制检 测所述主用无线控制器侧是否异常, 若是, 则所述备用无线控制器切换为主用 无线控制器, 保持业务不中断。 、 根据权利要求 8所述的系统, 其中, 所述主用无线控制器, 还设置为在系统负荷最轻的预定时间内批量同步所 有缓存的关键业务数据; 和 /或,  The primary wireless controller and the standby wireless controller are further configured to detect, by using a link detection mechanism, whether the primary wireless controller side is abnormal, and if yes, the standby wireless controller switches to a primary wireless controller. , keep the business uninterrupted. The system according to claim 8, wherein the active wireless controller is further configured to batch synchronize all cached key service data within a predetermined time when the system load is lightest; and/or,
实时同步新生成的小批量关键业务数据。 0、 根据权利要求 9所述的系统, 其中,  Synchronize newly generated small batches of key business data in real time. 0. The system according to claim 9, wherein
所述主用无线控制器, 还设置为在同步数据的过程中, 根据当前系统的负 荷程度调整发送速率。 根据权利要求 8所述的系统, 其中, 备用无线控制器还设置为与所述主用无线控制器通过所述同步通道进行心 跳握手检测; 当所述主用无线控制器发生故障时, 所述备用无线控制器检测到 心跳中断, 切换为主用无线控制器, 保持业务不中断; The primary wireless controller is further configured to adjust the transmission rate according to the load level of the current system during the process of synchronizing data. The system according to claim 8, wherein The standby wireless controller is further configured to perform heartbeat handshake detection with the primary wireless controller through the synchronization channel; when the primary wireless controller fails, the standby wireless controller detects a heartbeat interruption, and switches to The main wireless controller keeps the business uninterrupted;
或者, 所述主用无线控制器还设置为定时检测其上行链路是否异常; 若上 行链路异常, 则通知所述备用无线控制器切换为主用无线控制器, 保持业务不 中断。 、 根据权利要求 8-11中任一项所述的系统, 其中, 所述主用无线控制器还设置为与备用无线控制器根据 VRRP协商出主备关 系, 以及获取备用无线控制器的地址信息, 与备用无线控制器建立同步通道。 、 根据权利要求 12所述的系统,其中,所述主用无线控制器还设置为在所述备用 无线控制器未启动时, 根据预设时间间隔周期性尝试建立同步通道。  Alternatively, the primary wireless controller is further configured to periodically detect whether the uplink is abnormal. If the uplink is abnormal, the standby wireless controller is notified to switch to the primary wireless controller to keep the service uninterrupted. The system according to any one of claims 8-11, wherein the primary wireless controller is further configured to negotiate a master-slave relationship with the standby wireless controller according to the VRRP, and acquire address information of the standby wireless controller. , establish a synchronization channel with the standby wireless controller. The system of claim 12, wherein the primary wireless controller is further configured to periodically attempt to establish a synchronization channel according to a preset time interval when the backup wireless controller is not activated.
PCT/CN2014/077173 2013-05-20 2014-05-09 Disaster recovery method and system of wireless controller WO2014187247A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310188067.8A CN104185196B (en) 2013-05-20 2013-05-20 wireless controller disaster recovery method and system
CN201310188067.8 2013-05-20

Publications (1)

Publication Number Publication Date
WO2014187247A1 true WO2014187247A1 (en) 2014-11-27

Family

ID=51932825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077173 WO2014187247A1 (en) 2013-05-20 2014-05-09 Disaster recovery method and system of wireless controller

Country Status (2)

Country Link
CN (1) CN104185196B (en)
WO (1) WO2014187247A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105050127B (en) * 2015-06-30 2019-04-26 深圳市信锐网科技术有限公司 The standby starting control method of calamity and system
CN106921503B (en) * 2015-12-24 2020-02-21 华为技术有限公司 Data synchronization method, device and system
CN105577444B (en) * 2015-12-30 2019-02-22 迈普通信技术股份有限公司 A kind of wireless controller management method and wireless controller
CN107888491A (en) * 2017-09-14 2018-04-06 上海博达数据通信有限公司 HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements
CN107872824B (en) * 2017-11-22 2020-12-08 深圳市信锐网科技术有限公司 Wireless service processing method, device, equipment and storage medium
CN107948002B (en) * 2017-12-29 2021-01-26 杭州迪普科技股份有限公司 AP access control method and device
CN108934035B (en) * 2018-06-26 2020-07-07 新华三技术有限公司 Data backup method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101568190A (en) * 2009-06-04 2009-10-28 杭州华三通信技术有限公司 Automatic backup method and apparatus for wireless controller configuration information
CN101583144A (en) * 2009-07-07 2009-11-18 杭州华三通信技术有限公司 Wireless controller service information backup method and equipment
EP2180728A1 (en) * 2007-07-20 2010-04-28 Fujitsu Limited Emergency call number information acquiring system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610533B (en) * 2009-07-13 2011-09-07 杭州华三通信技术有限公司 Method and device for realizing backup switching of access controller
CN102137021B (en) * 2011-03-31 2013-09-18 北京傲天动联技术股份有限公司 Remote redundancy back-up method of access controllers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2180728A1 (en) * 2007-07-20 2010-04-28 Fujitsu Limited Emergency call number information acquiring system
CN101568190A (en) * 2009-06-04 2009-10-28 杭州华三通信技术有限公司 Automatic backup method and apparatus for wireless controller configuration information
CN101583144A (en) * 2009-07-07 2009-11-18 杭州华三通信技术有限公司 Wireless controller service information backup method and equipment

Also Published As

Publication number Publication date
CN104185196B (en) 2018-10-23
CN104185196A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
WO2014187247A1 (en) Disaster recovery method and system of wireless controller
TWI642282B (en) Fail recovery method and internet of things system and charging system using the same
CN102098201B (en) Method for realizing L2TP user access backup and network system
EP2985952B1 (en) Method and device for protecting service reliability, and network virtualization system
WO2017219779A1 (en) Device active/standby switchover method and apparatus based on link protocol, and storage medium
CN106797332B (en) Method and system for managing network traffic
WO2012152094A1 (en) Multi-mode terminal service switchover method and device
US9288140B2 (en) Multichassis failover and recovery for MLPPP wireless backhaul
WO2011009324A1 (en) Main/standby switching interface module, network element system, and link information synchronization detection method
WO2011091696A1 (en) Method, device and system for establishing connection between neighbouring base stations
WO2011143893A1 (en) Multi-rack user backup method and system
JP5604389B2 (en) Communication system, router device, and router switching method
US10097297B2 (en) Apparatus and method for two-way timestamp exchange
WO2009024083A1 (en) Method, device and system for data synchronization of a control session
EP2671348B1 (en) System and method for providing communication connection resilience
JP2019009638A (en) Radio communication device, system, and method
CN105763442A (en) PON system and method avoiding interruption of LACP aggregation link in main-standby switching process
WO2011143888A1 (en) Method and system for backing up protocol state between devices
WO2023125307A1 (en) Network element switching method and apparatus, and storage medium and electronic device
CN101217405B (en) SGSN backup method and communication system, communication device
JP6995974B2 (en) Control method, node and computer storage medium
US10270652B2 (en) Network management
JP2012164222A (en) Time synchronization method and computer system
US8315205B2 (en) Wireless star networks with dual adaptive central nodes
CN109769260B (en) Method, device and system for disaster recovery of LTE (Long term evolution) backhaul link equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14801218

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14801218

Country of ref document: EP

Kind code of ref document: A1