Wireless access controller configuration method and device, storage medium and electronic device
By automatically identifying and configuring the control mode of the wireless access controller (AC), the problems of low AC configuration efficiency and network stability in multi-gateway networking environments are solved, and efficient network management is achieved.
Patent Information
- Application Number
- CN202512060913.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-03-03
AI Technical Summary
In a multi-gateway network environment, AC configuration is inefficient, and conflicts arise between IP address allocation and AP management permissions, affecting network stability.
By determining the network status of the networking devices, the control mode of the wireless access controller (AC) is automatically configured, and gateway and AP management functions are identified and assigned, avoiding manual intervention.
It improves AC configuration efficiency, reduces human error, and enhances network stability and manageability.
Smart Images

Figure CN121603993A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of intelligent networking configuration, and more specifically, to a configuration method, apparatus, storage medium, and electronic device for a wireless access controller. Background Technology
[0002] Currently, with the development of wireless communication technology, Wireless Local Area Networks (WLANs) have become an indispensable part of building modern communication networks, and the AC (Wireless Access Point Controller) plays a crucial role as a core management component.
[0003] However, in related technologies, the multi-gateway networking method of AC-AP (Wireless Access Point) still heavily relies on manual operation. This process is not only time-consuming and error-prone, but also introduces conflicts in IP address allocation and AP management permissions. Specifically, since the AC has DHCP Server and AP management functions enabled by default, conflicts in IP address allocation and AP management permissions when multiple gateway devices are present severely affect network stability. Therefore, in related technologies, there is a technical challenge of improving AC configuration efficiency in multi-gateway networking environments.
[0004] Regarding the technical issue of improving AC configuration efficiency in multi-gateway networking environments, no effective solution has yet been proposed. Summary of the Invention
[0005] This application provides a configuration method, apparatus, storage medium, and electronic device for a wireless access controller, to at least solve the technical problem of how to improve AC configuration efficiency in a multi-gateway networking environment in the related art.
[0006] According to one embodiment of this application, a method for configuring a wireless access controller is provided, comprising: determining networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), the networking devices being used to manage wireless access point (AP) devices belonging to the same network; acquiring the network status of the monitored networking devices, wherein the network status includes at least one of the following: a first network status of the gateway device detected by a second AC among the at least one AC, a second network status of the first AC among the at least one AC detected by the second AC; and configuring a control mode of the at least one wireless access controller (AC) according to the network status.
[0007] In one exemplary embodiment, determining a networking device located in the same network includes: setting first broadcast information for the at least one AC according to a networking protocol supported between the at least one AC, wherein the first broadcast information includes at least one of the following: port information, protocol type, response information, and protocol content information; sending the first broadcast information through a third AC that is powered on among the at least one AC; upon receiving first feedback information from the third AC that received the first broadcast information, determining other ACs located in the same network according to the first feedback information, wherein the other ACs are ACs other than the third AC among the at least one ACs; and determining the networking device based on the third AC and the other ACs.
[0008] In an exemplary embodiment, determining other ACs located in the same network based on the first feedback information includes: obtaining the parsing result of the third AC on the first feedback information; and determining that other ACs exist in the same network if the parsing result of the first feedback information indicates that the sending device of the first feedback information is an AC device.
[0009] In one exemplary embodiment, determining a networking device located in the same network includes: sending a second broadcast message through a fourth AC that is powered on among the at least one AC; determining the gateway device located in the same network based on the second feedback message when the fourth AC receives the second broadcast message; and determining the networking device based on the fourth AC and the gateway device.
[0010] In one exemplary embodiment, determining the gateway device located in the same network based on the second feedback information includes: obtaining the parsing result of the second feedback information by the fourth AC; and determining that the gateway device exists in the same network if the parsing result of the second feedback information indicates that the sending device of the second feedback information is the gateway device.
[0011] In one exemplary embodiment, determining network devices located in the same network includes: sending a third broadcast message through the AP device; if the AP device receives a third feedback message from the third broadcast message, determining all ACs and / or the gateway device located in the same network based on the third feedback message; determining the network device based on all ACs, or determining the network device based on all ACs and the gateway device.
[0012] In one exemplary embodiment, determining all ACs located in the same network based on the third feedback information includes: if the sending device of the third feedback information is determined to be an AC device, determining the device serial number and device management mode from the parsing result of the third feedback information; if multiple different device serial numbers are determined, and the device management mode supports the AP device, determining all ACs in the same network based on the multiple sending devices.
[0013] In one exemplary embodiment, after determining all ACs located in the same network based on the third feedback information, the method further includes: when the AP device receives the Internet Protocol (IP) addresses assigned to all the ACs, determining the IP address assigned to the fifth AC among all the ACs from the IP addresses; configuring networking functionality for the AP device using the IP address assigned to the fifth AC, wherein the fifth AC supports network access.
[0014] In one exemplary embodiment, obtaining the network status of the monitored networking device includes: switching the working mode of the second AC to client mode and sending a fourth broadcast message; receiving a fourth feedback message sent by the gateway device based on the fourth broadcast message, and obtaining a first IP address allocated by the gateway device to the second AC from the fourth feedback message; and determining that the first network status of the gateway device is successful network access if it is determined that the second AC has successfully accessed the network based on the first IP address.
[0015] In an exemplary embodiment, obtaining the network status of the monitored networking device includes: determining that the first AC assigns a second IP address to the second AC; if it is determined that the second AC successfully accesses the network based on the second IP address, sending a fifth broadcast message through the second AC, wherein the fifth broadcast message carries an access identifier indicating that the first AC supports accessing the network; and determining that the second network status is successful based on the fifth broadcast message.
[0016] In one exemplary embodiment, configuring the control mode of the at least one wireless access controller (AC) according to the network connection status includes: when the first network connection status is determined to be a successful network connection, configuring the control mode of the second AC to a wireless access control mode; when the second network connection status is determined to be a successful network connection, configuring the control mode of the second AC to a wireless access control mode, and configuring the control mode of the first AC to a gateway configuration mode.
[0017] According to another aspect of the embodiments of this application, a configuration device for a wireless access controller is also provided, comprising: a determining module, configured to determine networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), the networking devices being used to manage wireless access point (AP) devices belonging to the same network; an acquiring module, configured to acquire the network status of the monitored networking devices, wherein the network status includes at least one of the following: a first network status of the gateway device detected by a second AC among the at least one AC, a second network status of the first AC among the at least one AC detected by the second AC; and a configuration module, configured to configure the control mode of the at least one wireless access controller (AC) according to the network status.
[0018] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the configuration method of the wireless access controller described above when it is run.
[0019] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the configuration method of the wireless access controller described above through the computer program.
[0020] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the configuration method of the wireless access controller described above.
[0021] In this embodiment, network devices located in the same network are identified, wherein the network devices include one of the following: a gateway device, at least one wireless access controller (AC), the network devices being used to manage wireless access point (AP) devices belonging to the same network; the network status of the network devices is acquired, wherein the network status includes at least one of the following: a first network status of the gateway device detected by a second AC among the at least one AC, a second network status of the first AC among the at least one AC detected by the second AC; the control mode of the at least one wireless access controller (AC) is configured according to the network status, and by identifying all network devices (including but not limited to gateway devices and at least one AC) located in the same network, the AC and / or gateway device capable of network configuration is identified. The second AC detects the first network status of the gateway device and the second AC detects the second network status of the first AC. Then, based on the first network status and / or the second network status, the control mode of at least one AC is automatically configured. That is, it determines which AC should disable the AP management function while retaining the gateway function, and which AC should disable the gateway function while retaining the AP management function. This solves the technical problem of how to improve AC configuration efficiency in a multi-gateway network environment, improves AC configuration efficiency, improves network operation and maintenance efficiency, reduces errors in manual configuration, and improves network stability and manageability. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a schematic diagram of the hardware environment for a configuration method of a wireless access controller according to an embodiment of this application;
[0025] Figure 2 This is a flowchart of a configuration method for a wireless access controller according to an embodiment of this application;
[0026] Figure 3 This is a schematic diagram of a networking scenario according to an embodiment of this application;
[0027] Figure 4 This is a schematic diagram of another networking scenario according to an embodiment of this application;
[0028] Figure 5 This is a schematic diagram of another networking scenario according to an embodiment of this application;
[0029] Figure 6 This is a structural block diagram of a configuration device for a wireless access controller according to an embodiment of this application. Detailed Implementation
[0030] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] According to one aspect of the embodiments of this application, a method for configuring a wireless access controller is provided. The method embodiments provided in this application can be executed in a backend server or similar computing device. Taking running on a backend server as an example... Figure 1 As shown, the backend server may include one or more ( Figure 1 (Only one is shown in the image) Processor 102 (processor 102 may include, but is not limited to, a microprocessor unit (MPU) or a programmable logic device (PLD) and a memory 104 for storing data.
[0033] In one exemplary embodiment, the aforementioned backend server may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the backend server described above. For example, the backend server may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 Equivalent functions or ratios shown Figure 1 The functions shown have more different configurations.
[0034] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the configuration method of the wireless access controller in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, which is equivalent to implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a backend server via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0035] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the backend server. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0036] This embodiment provides a method for configuring a wireless access controller. Figure 2 This is a flowchart of a configuration method for a wireless access controller according to an embodiment of this application, the process including the following steps:
[0037] Step S202: Determine the networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), and the networking devices are used to manage wireless access point (AP) devices belonging to the same network.
[0038] Optionally, such as Figure 3 As shown, one or more ACs can manage and control multiple APs to implement functions such as AP configuration management, traffic control, and user management, thereby achieving efficient operation and management of the wireless network. As nodes in the wireless network, APs establish connections with wireless devices, converting wired network signals into wireless signals to provide wireless access services.
[0039] Step S204: Obtain the network status of the monitored networking devices, wherein the network status includes at least one of the following: the first network status of the gateway device detected by the second AC among the at least one AC, and the second network status of the first AC among the at least one AC detected by the second AC.
[0040] Step S206: Configure the control mode of the at least one wireless access controller AC according to the network status.
[0041] Through the above steps, network devices located in the same network are identified, wherein the network devices include one of the following: a gateway device, at least one wireless access controller (AC), the network devices being used to manage wireless access point (AP) devices belonging to the same network; the network status of the monitored network devices is obtained, wherein the network status includes at least one of the following: a first network status of the gateway device detected by a second AC among the at least one AC, a second network status of the first AC among the at least one AC detected by the second AC; the control mode of the at least one wireless access controller (AC) is configured according to the network status, and by identifying all network devices (including but not limited to gateway devices and at least one AC) located in the same network, the AC and / or gateway device capable of network configuration is determined. The second AC detects the first network status of the gateway device and the second AC detects the second network status of the first AC. Then, based on the first network status and / or the second network status, the control mode of at least one AC is automatically configured. That is, it determines which AC should disable the AP management function while retaining the gateway function, and which AC should disable the gateway function while retaining the AP management function. This solves the technical problem of how to improve AC configuration efficiency in a multi-gateway network environment, improves AC configuration efficiency, improves network operation and maintenance efficiency, reduces errors in manual configuration, and improves network stability and manageability.
[0042] In an exemplary embodiment, the process of determining network devices located in the same network includes: setting first broadcast information for the at least one AC according to the network protocol supported between the at least one AC, wherein the first broadcast information includes at least one of the following: port information, protocol type, response information, and protocol content information; sending the first broadcast information through a third AC that is powered on among the at least one AC; upon receiving first feedback information of the first broadcast information by the third AC, determining other ACs located in the same network based on the first feedback information, wherein the other ACs are ACs other than the third AC among the at least one ACs; and determining the network device based on the third AC and the other ACs. This embodiment provides an implementation scheme for determining other ACs located in the same network. Specifically, the third AC sends the first broadcast information, and when the third AC receives the first feedback information of the first broadcast information and can parse the information that the sending device is an AC device, it indicates that other ACs exist in the network. This embodiment automatically identifies AC devices in the network through the interaction process of private protocols between ACs, achieving automatic identification of network devices without manual intervention, improving the automation level of network configuration, and reducing operation and maintenance costs.
[0043] The first broadcast information, including port information, protocol type, response information, and protocol content information, forms the basis for probes between ACs.
[0044] In an exemplary embodiment, the scheme for determining other ACs located in the same network group based on the first feedback information includes: obtaining the parsing result of the first feedback information by the third AC; and determining that other ACs exist in the same network group if the parsing result of the first feedback information indicates that the sending device of the first feedback information is an AC device. In this embodiment, the existence of other ACs in the network is further explained by the fact that the third AC can parse the received first feedback information to obtain the device serial number and device management mode of the sending device. If the parsing result shows multiple different device serial numbers, and these devices all support AP device management, then it can be confirmed that multiple ACs exist in the network. This embodiment improves the accuracy and reliability of automatic AC discovery, and enhances the correctness of network configuration and the stability of network operation.
[0045] In one exemplary embodiment, the process of determining a network device located in the same network includes: sending a second broadcast message through a fourth AC that is powered on among the at least one AC; upon receiving second feedback information from the second broadcast message from the fourth AC, determining the gateway device located in the same network based on the second feedback information; and determining the network device based on the fourth AC and the gateway device. This embodiment determines the gateway device in the network by sending a second broadcast message from the fourth AC. Specifically, after receiving the broadcast message, the gateway device sends feedback information, and the fourth AC determines the presence of the gateway device by parsing this feedback information. By automatically detecting gateway devices, this embodiment can automatically identify and configure ACs, and accurately identify gateway devices in the network, improving the integrity of network configuration and the rationality of network architecture.
[0046] In one exemplary embodiment, determining the gateway device located in the same network based on the second feedback information includes: obtaining the parsing result of the second feedback information by the fourth AC; and determining that the gateway device exists in the same network if the parsing result of the second feedback information indicates that the sending device of the second feedback information is the gateway device. This embodiment can determine the existence of a gateway device based on the second feedback information. Specifically, the fourth AC, by parsing the second feedback information, can confirm the existence of a gateway device in the same network once it finds that the sending device is a gateway device. This embodiment enables the network system to autonomously identify and process gateway devices in the network, further enhancing the network's self-management capabilities and improving the flexibility and response speed of network configuration.
[0047] In one exemplary embodiment, the process of determining network devices located in the same network may include: sending a third broadcast message through the AP device; upon receiving third feedback information from the third broadcast message, determining all ACs and / or the gateway devices located in the same network based on the third feedback information; determining the network device based on all ACs, or determining the network device based on all ACs and the gateway devices. This embodiment sends a third broadcast message through the AP device, and when the AP device receives feedback from the third broadcast message, it can determine the location of all ACs and gateway devices in the network based on the feedback information. This embodiment can automatically discover all ACs and / or gateway devices in the network, improving the efficiency of network configuration and providing a solid foundation for subsequent network optimization and management.
[0048] In an exemplary embodiment, the scheme for determining all ACs located in the same network based on the third feedback information includes: if the sending device of the third feedback information is determined to be an AC device, determining the device serial number and device management mode from the parsing result of the third feedback information; if multiple different device serial numbers are determined, and the device management mode supports the AP device, determining all ACs in the same network based on the multiple sending devices. This embodiment illustrates how an AP device determines all ACs in a network based on the third feedback information. Specifically, when parsing the third feedback information, the AP device can identify the device serial number and device management mode of the sending device. If multiple different AC device serial numbers are identified, and these ACs support AP management, then it can be determined that multiple ACs exist in the network. This embodiment enables the AP device to automatically identify the network architecture when the network starts up, providing important information for subsequent automatic AC configuration and AP re-registration, enhancing the network's adaptability and intelligence.
[0049] In one exemplary embodiment, after determining all ACs located in the same network based on the third feedback information, the AP device can, upon receiving the Internet Protocol (IP) addresses assigned by all ACs, determine the IP address assigned to the fifth AC among all ACs. The AP device is then configured with networking functionality using the IP address assigned to the fifth AC, where the fifth AC supports network access. This embodiment further describes how the AP device selects the IP address assigned to the fifth AC from all assigned IP addresses to configure networking functionality. This selection, based on the condition that the fifth AC supports network access, ensures that the AP device can access the network through an AC connected to the external network, improving the flexibility of network configuration and the utilization rate of network resources, making network operation and maintenance more intelligent and efficient.
[0050] In an exemplary embodiment, the process of obtaining the monitored network status of the network device includes: switching the operating mode of the second AC to client mode and sending a fourth broadcast message; receiving a fourth feedback message sent by the gateway device based on the fourth broadcast message, and obtaining a first IP address allocated by the gateway device to the second AC from the fourth feedback message; and determining that the first network status of the gateway device is successful network access if it is determined that the second AC has successfully accessed the network based on the first IP address. This embodiment explains how to obtain the network status of the gateway device by switching the operating mode of the second AC. When the second AC switches to client mode and sends a fourth broadcast message, if it can successfully receive feedback from the gateway device based on this message and obtain a valid IP address, and can access the network through this IP address, then it can be confirmed that the network status of the gateway device is successful network access. This embodiment realizes automatic monitoring of the network status of the gateway device through AC mode switching and interaction with the gateway device, providing an important basis for automatic adjustment of network configuration mode.
[0051] In this context, "client mode" refers to DHCP client mode. DHCP stands for Dynamic Host Configuration Protocol. DHCP client mode allows devices on a network to automatically obtain their network configuration information, including IP address, subnet mask, default gateway, and DNS server address. When a device (such as a computer, printer, or router) starts up or connects to the network, it broadcasts a DHCP Discover message to the network, searching for an available DHCP server. The DHCP server responds to this broadcast, providing the client with an available IP address and other network parameters. After receiving the information from the server, the client device uses this information to configure its network connection, enabling it to communicate with other devices on the network.
[0052] In an exemplary embodiment, the process of obtaining the network status of the monitored networking devices may further include: determining that the first AC assigns a second IP address to the second AC; if it is determined that the second AC successfully accesses the network using the second IP address, sending a fifth broadcast message through the second AC, wherein the fifth broadcast message carries an access identifier indicating that the first AC supports network access; and determining that the second networking status is successful based on the fifth broadcast message. This embodiment provides a scheme for determining the networking status of the first AC. By monitoring whether the second AC can successfully access the network using the IP address assigned by the first AC, if it can, the networking status of the first AC is confirmed as successful. Based on this, the second AC sends a fifth broadcast message carrying a network access identifier indicating that the first AC supports network access, notifying other devices in the network about the networking status of the first AC. This embodiment enables the network system to automatically monitor and confirm the networking status of AC devices, providing real-time network status feedback for subsequent network control and management, and enhancing the network's self-monitoring and self-adjustment capabilities.
[0053] In an exemplary embodiment, the process of configuring the control mode of the at least one wireless access controller (AC) according to the network status includes: if the first network status is determined to be a successful network connection, configuring the control mode of the second AC to a wireless access control mode; if the second network status is determined to be a successful network connection, configuring the control mode of the second AC to a wireless access control mode, and configuring the control mode of the first AC to a gateway configuration mode. This embodiment describes a scheme for automatically configuring the control mode of ACs according to the network status. When the second AC or the first AC is determined to be a successful network connection, this proposal can automatically configure the control mode of the second AC to a wireless access control mode. Simultaneously, if the network status of the first AC is also confirmed to be a successful network connection, then the control mode of the first AC will be configured to a gateway configuration mode, ensuring that only one AC in the network performs gateway functions, while other ACs focus on AP management. This embodiment achieves automatic mode switching of AC devices, intelligently allocates the management responsibilities of ACs according to the actual needs of the network, improves the network's operating efficiency and management effectiveness, and reduces the complexity of network configuration and maintenance costs.
[0054] For a network consisting of a gateway device, a second AC, and an AP, if the first network connection status is confirmed as successful, the control mode of the second AC is configured as wireless access control mode. For a network consisting of a gateway device, AC1, AC2, and an AP, if the first network connection status is confirmed as successful, the control mode of the second AC is configured as gateway configuration mode.
[0055] In the wireless access control mode, the second AC disables the gateway function, which is the pure AC mode. In the gateway configuration mode, the AP management function is disabled, and the DHCP Server gateway function is enabled, which is the gateway mode.
[0056] Optionally, in one embodiment, the implementation process of the above embodiment can be referred to for any one of the plurality of second ACs, and the remaining ACs other than any one of the plurality of second ACs can be used as backup ACs for any one of the ACs.
[0057] Based on the previous embodiment, to address the insufficient performance of the AC, an AC2 is connected alongside AC1. In this case, AC1 acts only as a gateway, assigning IP addresses to devices within the local area network (LAN), while AC2 manages multiple access points (APs) within the LAN. For example... Figure 4 As shown, both ACs are in gateway mode (DHCP Server enabled). Both will assign addresses to AP devices within the local area network. After identifying AC1 (corresponding to the first AC) located on the trunk and AC2 (corresponding to the second AC) located on the branch, the AP management function of AC1 is disabled, and AC2 is switched to pure AC mode. Figure 5 As shown, a gateway device is set up on the network trunk. In the network topology of AC and third-party gateway, after identifying the gateway device located on the trunk and the side-connected AC2 located on the branch, the side-connected AC is switched to pure AC mode.
[0058] Optionally, in one embodiment, if the first network state and the second network state are successful, there is an abnormal scenario where both AC1 and AC2 are connected to the network. The device performance of AC1 and AC2 is further obtained, and the AC with better performance is determined to be the AC located on the trunk. If the performance is similar, a device with a smaller MAC address is randomly selected to be determined as the AC located on the trunk, and the AC located on the trunk is set to the gateway configuration mode.
[0059] To better understand the configuration process of the wireless access controller described above, the implementation flow of the configuration of the wireless access controller will be further explained below with reference to optional embodiments, but this is not intended to limit the technical solution of the embodiments of this application.
[0060] This embodiment provides a method for configuring a wireless access controller, which includes the following steps:
[0061] Step 1: Detect the presence of other ACs or gateway devices.
[0062] Specifically, the process of detecting the presence of other ACs (access controllers) through AC1 is as follows: after AC1 is powered on, the default broadcast information is set through the private protocol supported by different ACs (such as AC1 and AC2), and the broadcast message is parsed to confirm whether there are other ACs.
[0063] The contents of the private protocol are shown in Table 1.
[0064] Table 1
[0065]
[0066] The process of detecting the existence of other gateways using AC1 is as follows: AC1 periodically broadcasts dhcpdiscover messages on the LAN side. If a dhcp offer message is received, it indicates the existence of other gateways. Figure 2 AC1 and AC2 are in the same Layer 2 network, and the switch represents an intermediate forwarding device. An AC in gateway mode (such as AC2) will send back DHCP offer messages. These DHCP offer messages are received from other gateways or ACs in gateway mode.
[0067] Furthermore, AP1 is used to detect the existence of multiple gateways. Specifically, AP1 periodically broadcasts dhcpdiscover messages. Similarly, if multiple dhcp offer messages are received, it indicates the existence of other gateways or an AC in gateway mode. Alternatively, AP1 receives broadcast information from AC1 or AC2 based on its private protocol with other APs to confirm whether there are more than two ACs supporting AP management within the local area network. The process for determining whether there are more than two ACs supporting AP management is as follows: receiving broadcast messages from different ACs, if the broadcast messages carry different serial numbers and all support AP management, it indicates that there are at least two ACs supporting AP management within the local area network.
[0068] Furthermore, both AC1 and AC2 will assign IPs to the AP, but only AC1 has access to the external network, so the AP will prioritize AC1.
[0069] Step 2, detect the network status of the AC or other gateways, specifically including the following steps.
[0070] Step S1: AC1 detects the network connectivity of the WAN port of the local area network and confirms that AC1 has successfully connected to the network.
[0071] Step S2: AC2 probes AC1 or AC2 probes other gateways to see if they are connected to the Internet.
[0072] like Figure 4 As shown, AC1 is connected to the external network, while AC2 is not. AC2 is connected to AC1 via its LAN port. The process by which AC2 detects whether AC1 is connected to the external network is as follows: If AC2 is connected to the external network based on the IP address assigned by AC1 via broadcast, then AC1 is determined to be a trunk node. The broadcast information from AC1 includes an identifier indicating that AC1 is connected to the external network. Therefore, AC2 is either a branch node or in bypass mode.
[0073] like Figure 5 As shown, the gateway device is connected to the external network, while AC2 is not connected. The process by which AC2 detects whether other gateway devices are connected to the external network is as follows:
[0074] If AC2 is switched to DHCP client mode and connects to the external network using the IP address assigned by other gateway devices, it indicates that the other gateways are trunk nodes and AC2 is a branch node or AC2 is in side-by-side mode.
[0075] The process of confirming whether the external network is connected can be as follows: use the IP address assigned to AC2 by other gateway devices to ping the external network address to determine whether other gateway devices can access the external network. Here, the external network address can be 8.8.8.8, etc.
[0076] Furthermore, for the unusual scenario where both AC1 and AC2 have access to the external network, the device performance of the two can be compared, including CPU, memory, and network latency tests, to determine the AC with better performance as the trunk node. If the performance difference is not significant, a device with a smaller MAC address can be randomly selected as the trunk node.
[0077] Step 3: Configure different ACs.
[0078] Step S1: Automatically configure the AC, setting the connected AC to gateway mode (enabling DHCP Server), disabling AP management function, and retaining gateway function. For example... Figure 4 As shown, the AP receives broadcast messages from AC1 and AC2, which carry the IP addresses assigned by AC1 and AC2. The AP selects the IP address assigned by AC1 for registration. Since AC1 has disabled the AP management function, the management connection between the AP and AC1 is disconnected.
[0079] Step S2, as follows Figure 4 As shown, set the adjacent AC (such as AC2) to pure AC mode, disable the gateway function, that is, disable the DHCP server, and retain the AP management function.
[0080] Furthermore, re-registration is performed. The AP obtains broadcast information from AC1 and AC2 via a private protocol, re-registers with the AC based on this information, obtains a new assigned IP address, and registers with the new AC using the newly assigned IP address. Specifically, if the "Supports Managing AP" field in AC1's broadcast information is false, and the "Supports Managing AP" field in AC2's broadcast information is true, then the AP selects AC2's IP address as its new registration IP address, re-registers with AC2, and is thus managed by AC2.
[0081] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0082] Figure 6 This is a structural block diagram of a configuration device for a wireless access controller according to an embodiment of this application; as shown... Figure 6 As shown, it includes:
[0083] The determination module 62 is used to determine the networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), and the networking devices are used to manage wireless access point (AP) devices belonging to the same network.
[0084] The acquisition module 64 is used to acquire the network status of the network devices detected by the network, wherein the network status includes at least one of the following: the first network status of the gateway device detected by the second AC of the at least one AC, and the second network status of the first AC of the at least one AC detected by the second AC.
[0085] Configuration module 66 is used to configure the control mode of the at least one wireless access controller AC according to the network status.
[0086] Using the above-described apparatus, network devices located within the same network are identified, wherein the network devices include one of the following: a gateway device, at least one wireless access controller (AC), the network devices being used to manage wireless access point (AP) devices belonging to the same network; the network status of the monitored network devices is obtained, wherein the network status includes at least one of the following: a first network status of the gateway device detected by a second AC among the at least one AC, a second network status of the first AC among the at least one AC detected by the second AC; the control mode of the at least one wireless access controller (AC) is configured according to the network status, and by identifying all network devices (including but not limited to gateway devices and at least one AC) located within the same network, the AC and / or gateway device capable of network configuration is determined. The second AC detects the first network status of the gateway device and the second AC detects the second network status of the first AC. Then, based on the first network status and / or the second network status, the control mode of at least one AC is automatically configured. That is, it determines which AC should disable the AP management function while retaining the gateway function, and which AC should disable the gateway function while retaining the AP management function. This solves the technical problem of how to improve AC configuration efficiency in a multi-gateway network environment, improves AC configuration efficiency, improves network operation and maintenance efficiency, reduces errors in manual configuration, and improves network stability and manageability.
[0087] In an exemplary embodiment, the determining module is further configured to: set first broadcast information for the at least one AC according to the networking protocol supported between the at least one AC, wherein the first broadcast information includes at least one of the following: port information, protocol type, response information, and protocol content information; send the first broadcast information through a third AC that is powered on among the at least one AC; if the third AC receives first feedback information of the first broadcast information, determine other ACs located in the same networking network according to the first feedback information, wherein the other ACs are ACs other than the third AC among the at least one ACs; and determine the networking device according to the third AC and the other ACs.
[0088] In an exemplary embodiment, the determining module is further configured to: obtain the parsing result of the third AC on the first feedback information; and, if the parsing result of the first feedback information is used to indicate that the sending device of the first feedback information is an AC device, determine that there are other ACs in the same network.
[0089] In one exemplary embodiment, the determining module is further configured to: send a second broadcast message through a fourth AC that is powered on among the at least one AC; if the fourth AC receives second feedback information of the second broadcast message, determine the gateway device located in the same network based on the second feedback information; and determine the network device based on the fourth AC and the gateway device.
[0090] In an exemplary embodiment, the determining module is further configured to: obtain the parsing result of the second feedback information by the fourth AC; and, if the parsing result of the second feedback information is used to indicate that the sending device of the second feedback information is the gateway device, determine that the gateway device exists in the same network.
[0091] In one exemplary embodiment, the determining module is further configured to: send a third broadcast message through the AP device; and, if the AP device receives a third feedback message from the third broadcast message, determine all ACs and / or the gateway device located in the same network based on the third feedback message; determine the network device based on all ACs, or determine the network device based on all ACs and the gateway device.
[0092] In an exemplary embodiment, the determining module is further configured to: determine a device serial number and a device management mode from the parsing result of the third feedback information when the sending device of the third feedback information is determined to be an AC device; and determine all ACs under the same network based on the multiple sending devices when multiple different device serial numbers are determined to exist and the device management mode supports the AP device.
[0093] In an exemplary embodiment, the determining module is further configured to: after determining all ACs located in the same network according to the third feedback information, and when the AP device receives the Internet Protocol (IP) addresses assigned to all ACs, determine the IP address assigned to the fifth AC among all ACs from the IP addresses; configure the AP device with networking functionality using the IP address assigned to the fifth AC, wherein the fifth AC supports network access.
[0094] In one exemplary embodiment, the acquisition module is further configured to: switch the operating mode of the second AC to client mode and send a fourth broadcast message; receive a fourth feedback message sent by the gateway device based on the fourth broadcast message, and obtain a first IP address allocated by the gateway device for the second AC from the fourth feedback message; and determine that the first network status of the gateway device is successful network access if it is determined that the second AC has successfully accessed the network based on the first IP address.
[0095] In one exemplary embodiment, the acquisition module is further configured to: determine a second IP address allocated by the first AC to the second AC; if it is determined that the second AC has successfully accessed the network based on the second IP address, send a fifth broadcast message through the second AC, wherein the fifth broadcast message carries an access identifier indicating that the first AC supports accessing the network; and determine that the second network connection status is successful based on the fifth broadcast message.
[0096] In an exemplary embodiment, the configuration module is further configured to: when the first network connection status is determined to be a successful network connection, configure the control mode of the second AC to a wireless access control mode; and when the second network connection status is determined to be a successful network connection, configure the control mode of the second AC to a wireless access control mode and configure the control mode of the first AC to a gateway configuration mode.
[0097] Embodiments of this application also provide a storage medium including a stored program, wherein the program executes any of the methods described above when it is run.
[0098] Optionally, in this embodiment, the storage medium may be configured to store program code for performing the following steps:
[0099] S1, determine the networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), and the networking devices are used to manage wireless access point (AP) devices belonging to the same network.
[0100] S2, obtain the network status of the monitored networking devices, wherein the network status includes at least one of the following: the first network status of the gateway device detected by the second AC among the at least one AC, and the second network status of the first AC among the at least one AC detected by the second AC;
[0101] S3, Configure the control mode of the at least one wireless access controller AC according to the network status.
[0102] Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0103] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0104] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0105] S1, determine the networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), and the networking devices are used to manage wireless access point (AP) devices belonging to the same network.
[0106] S2, obtain the network status of the monitored networking devices, wherein the network status includes at least one of the following: the first network status of the gateway device detected by the second AC among the at least one AC, and the second network status of the first AC among the at least one AC detected by the second AC;
[0107] S3, Configure the control mode of the at least one wireless access controller AC according to the network status.
[0108] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0109] Optionally, embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0110] Optionally, embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0111] Optionally, embodiments of this application also provide a computer program that includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the above method embodiments.
[0112] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0113] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0114] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A configuration method for a wireless access controller, characterized in that, include: Identify networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), and the networking devices are used to manage wireless access point (AP) devices belonging to the same network. The network status of the network devices is obtained, wherein the network status includes at least one of the following: the first network status of the gateway device detected by the second AC of the at least one AC, and the second network status of the first AC of the at least one AC detected by the second AC. Configure the control mode of the at least one wireless access controller (AC) according to the network status.
2. The configuration method for the wireless access controller according to claim 1, characterized in that, Identify networking devices located in the same network, including: A first broadcast message is set for the at least one AC according to the networking protocol supported between the at least one AC, wherein the first broadcast message includes at least one of the following: port information, protocol type, response information, and protocol content information; The first broadcast information is transmitted through the third AC that is already powered on in at least one of the ACs; When the third AC receives the first feedback information of the first broadcast information, other ACs located in the same network are determined according to the first feedback information, wherein the other ACs are ACs other than the third AC among the at least one AC; The networking devices are determined based on the third AC and the other ACs.
3. The configuration method for the wireless access controller according to claim 2, characterized in that, Based on the first feedback information, other ACs located in the same network group are identified, including: Obtain the parsing result of the third AC on the first feedback information; If the parsing result of the first feedback information is determined to indicate that the sending device of the first feedback information is an AC device, then it is determined that there are other ACs in the same network group.
4. The configuration method for the wireless access controller according to claim 1, characterized in that, Identify networking devices located in the same network, including: The second broadcast information is transmitted through the fourth AC that is already powered on among the at least one AC; If the fourth AC receives the second feedback information of the second broadcast information, the gateway device located in the same network group is determined according to the second feedback information; The networking equipment is determined based on the fourth AC and the gateway device.
5. The configuration method for the wireless access controller according to claim 4, characterized in that, The gateway device located in the same network group is determined based on the second feedback information, including: Obtain the parsing result of the second feedback information by the fourth AC; If the parsing result of the second feedback information is determined to indicate that the sending device of the second feedback information is the gateway device, then it is determined that the gateway device exists in the same network.
6. The configuration method for the wireless access controller according to claim 1, characterized in that, Identify networking devices located in the same network, including: Send a third broadcast message through the AP device; If the AP device receives the third feedback information of the third broadcast information, it determines all ACs and / or the gateway devices located in the same network based on the third feedback information. The networking device is determined based on all the ACs, or the networking device is determined based on all the ACs and the gateway device.
7. The configuration method for the wireless access controller according to claim 6, characterized in that, Based on the third feedback information, all ACs located in the same network group are determined, including: If the sending device of the third feedback information is determined to be an AC device, the device serial number and device management mode are determined from the parsing result of the third feedback information. If it is determined that there are multiple different device serial numbers and the device management mode is to support the AP device, all ACs under the same network are determined based on the multiple transmitting devices.
8. The configuration method for the wireless access controller according to claim 6, characterized in that, After determining all ACs located in the same network group based on the third feedback information, the method further includes: When the AP device receives the Internet Protocol (IP) addresses assigned by all the ACs, it determines the IP address assigned to the fifth AC among all the ACs from the IP addresses. The fifth AC configures the AP device with networking functionality using the IP address assigned by the fifth AC, wherein the fifth AC supports network access.
9. The configuration method for the wireless access controller according to claim 1, characterized in that, Obtaining the network status of the monitored networking devices includes: Switch the second AC to client mode and send the fourth broadcast message; The gateway device receives a fourth feedback message based on the fourth broadcast message, and obtains from the fourth feedback message the first IP address allocated by the gateway device for the second AC. If it is determined that the second AC has successfully accessed the network based on the first IP address, the first network connection status of the gateway device is determined to be successful network connection.
10. The configuration method of the wireless access controller according to claim 1, characterized in that, Obtaining the network status of the monitored networking devices includes: The first AC is determined to be the second IP address assigned to the second AC; If it is determined that the second AC has successfully accessed the network based on the second IP address, the second AC sends a fifth broadcast message, wherein the fifth broadcast message carries an access identifier indicating that the first AC supports accessing the network; Based on the fifth broadcast message, the second network connection status is determined to be a successful connection.
11. The configuration method for the wireless access controller according to claim 1, characterized in that, Configure the control mode of the at least one wireless access controller (AC) according to the network status, including: If the first network connection status is determined to be a successful connection, configure the control mode of the second AC to wireless access control mode; If the second network status is determined to be a successful network connection, configure the control mode of the second AC to wireless access control mode, and configure the control mode of the first AC to gateway configuration mode.
12. A configuration device for a wireless access controller, characterized in that, include: The determination module is used to determine the networking devices located in the same network, wherein the networking devices include one of the following: a gateway device, at least one wireless access controller (AC), and the networking devices are used to manage wireless access point (AP) devices belonging to the same network. The acquisition module is used to acquire the network status of the network devices detected by the network, wherein the network status includes at least one of the following: the first network status of the gateway device detected by the second AC of the at least one AC, and the second network status of the first AC of the at least one AC detected by the second AC. A configuration module is used to configure the control mode of the at least one wireless access controller (AC) according to the network status.