AC / AP centralized management system and method based on MQTT protocol
The AC/AP centralized management system based on the MQTT protocol utilizes DHCP server and MQTT protocol to realize automated management and real-time data reporting of AP access points, solving the problems of complex device access and insufficient monitoring in the existing system, and improving network management efficiency and stability.
Patent Information
- Application Number
- CN202411545433.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2044-11-01
AI Technical Summary
Existing AC/AP centralized management systems rely on the CAPWAP protocol, resulting in complex and inefficient device access and management processes. They also lack flexible real-time monitoring and dynamic adjustment capabilities, making it difficult to adapt to changes and needs in large-scale network environments.
An AC/AP centralized management system based on the MQTT protocol is adopted. The DHCP server assigns IP addresses to AP access points and transmits MQTT server addresses. The AP access points establish connections with the AC access module and periodically report operating data. The AC access module evaluates the data and decides whether to adjust the access status.
It enables automated management of AP access points, simplifies device access and configuration processes, improves network management efficiency, ensures real-time monitoring and dynamic adjustment capabilities of the network, and enhances network performance and stability.
Smart Images

Figure CN119420646B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication systems, in particular to an AC / AP centralized management system and method based on MQTT protocol. BACKGROUND
[0002] With the rapid development and continuous progress of wireless network technology, more and more enterprises and organizations begin to prefer to adopt centralized management solutions, especially through the combination of access controllers (AC) and access points (AP) to achieve efficient management and optimization of network resources. This centralized management approach not only significantly improves the management efficiency of the network, but also greatly improves the user's network experience.
[0003] However, the current AC / AP centralized management system generally relies on the CAPWAP protocol for centralized management and control of devices. Although the CAPWAP protocol provides a certain flexibility in network management, its overly complex and cumbersome nature leads to delays in device access and management, especially in large-scale network environments, the management efficiency is greatly reduced. In addition, the traditional DHCP server is usually only responsible for allocating IP addresses for network devices, and lacks comprehensive support for device management. Further, the management and control of AP access points become more cumbersome, especially when frequent adjustments to network configurations are needed, the traditional system is difficult to adapt to dynamic changes in demand. At the same time, the real-time monitoring capability of the existing AC / AP centralized management system is weak, and it is often unable to obtain the running state and load condition of the AP access point in time. The running data of the device (such as the number of connected terminals, signal strength and load data) is usually reported at fixed time intervals, which lacks flexibility and makes it difficult to achieve dynamic evaluation and adjustment of network conditions. This leads to slow system response in the case of high network load or frequent user requests, and it is difficult to make timely management decisions, thereby affecting the performance and stability of the overall network.
[0004] Therefore, there is an urgent need to invent an AC / AP management system to solve the problem that the existing AC / AP centralized management system relies on the CAPWAP protocol, resulting in complex and inefficient device access and management processes, and lacking flexible real-time monitoring and dynamic adjustment capabilities, making it difficult to adapt to changes and demands in large-scale network environments. SUMMARY
[0005] In view of this, the present application proposes an AC / AP centralized management system and method based on MQTT protocol, aiming to solve the problem that the current AC / AP centralized management system relies on the CAPWAP protocol, resulting in complex and inefficient device access and management processes, and lacking flexible real-time monitoring and dynamic adjustment capabilities, making it difficult to adapt to changes and demands in large-scale network environments.
[0006] This invention proposes an AC / AP centralized management system based on the MQTT protocol, comprising: an AC access module, several AP access points, an MQTT agent, and a DHCP server;
[0007] The DHCP server is configured to assign IP addresses to a plurality of the AP access points, and the DHCP server is further configured to send the MQTT server address of the AC access module to the plurality of the AP access points according to the option fields configured on the DHCP server.
[0008] The AP access point is configured to obtain the MQTT server address and then establish a connection with the MQTT agent based on the MQTT protocol. The AP access point is also configured to send registration information to the AC access module to complete the access registration. The AP access point is further configured to send operation data to the AC access module based on the MQTT server and a preset frequency. The operation data includes: load data, the number of terminals connected to the AP access point, and signal strength.
[0009] The AC access module is configured to issue configuration and management commands to several AP access points based on the MQTT broker; the AC access module is also configured to evaluate the operational data sent by the AP access points, and further configured to determine whether to adjust the access status of the AP access points based on the evaluation results, wherein:
[0010] If the evaluation result is lower than the preset evaluation score configured by the AC access module, the AC access module will determine to adjust the access status of the AP access point.
[0011] Furthermore, the AC access module is also configured to determine a preset frequency for the AP access point to send the operating data based on the signal strength of the AP access point, specifically:
[0012] The AP access point is also used to acquire the network signal strength and determine the preset frequency based on the relationship between the signal strength and the preset signal strength configured in the AP access point;
[0013] When the preset signal strength is greater than or equal to the preset signal strength, the AC access module will set the transmission frequency configured for the AP access point to the preset frequency.
[0014] When the preset signal is less than the preset signal strength, the AC access module obtains the strength difference between the signal strength and the preset signal strength, determines the adjustment coefficient range based on the strength difference, and adjusts the transmission frequency based on the adjustment coefficient range. The AC access module is also used to determine the adjusted transmission frequency as the preset frequency.
[0015] The adjustment coefficient ranges from 1 to 0.
[0016] Furthermore, the AC access module is also configured to perform the evaluation based on the operational data sent by the AP access point, including:
[0017] The AC access module is also configured with a preset transmission frequency;
[0018] The AC access module is also configured to determine whether to evaluate the network status of the AP access point and determine the network score of the AP access point based on the relationship between the transmission frequency of the operation data sent by the AP access point and the preset transmission frequency.
[0019] When the transmission frequency is equal to the preset transmission frequency, the AC access module determines that it will not evaluate the network status of the AP access point.
[0020] When the transmission frequency is less than the preset transmission frequency, the AC access module determines to evaluate the network status of the AP access point and determines the operation score of the AP access point based on the operation data transmitted by the AP access point.
[0021] Furthermore, when the AC access module determines the operational score of the AP access point based on the operational data sent by the AP access point, it includes:
[0022] The AC access module is also used to obtain the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point.
[0023] The AC access module is also used to substitute the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point into a formula, and determine the load score of the AP access point according to the formula, as shown below:
[0024]
[0025] Where P is the load score of the AP access point, q1 is the real-time data processing traffic, and q max w1 represents the maximum data processing traffic, and w1 represents the real-time CPU utilization of the AP access point. max e1 represents the maximum CPU utilization of the AP access point, and e1 represents the real-time memory utilization of the AP access point. maxr1 is the maximum memory utilization rate of the AP access point, r2 is the real-time utilization rate of the wireless channel of the AP access point, and r3 is the maximum memory utilization rate of the AP access point. max a1 is the maximum utilization of the wireless channel of the AP access point, and a1 is the number of real-time service requests. max The maximum number of service requests is represented by z1-z5, where the sum of z1-z5 is 1.
[0026] The AC access module is also used to determine the operating score of the AP access point based on the load score P of the AP access point.
[0027] Furthermore, the AC access module is also used to determine the operating score of the AP access point based on the load score P of the AP access point, including:
[0028] The AC access module is also used to obtain the average load score among the load scores of several AP access points, and the AC access module is also used to determine the average load score as a preset load score.
[0029] The AC access module is also used to obtain the load score difference between the load score P of the AP access point and the preset load score, and to determine the operation score of the AP access point according to the relationship between the load score difference and the first preset load score difference and the second preset load score difference configured by the AC access module.
[0030] When the load score difference is less than or equal to the first preset load score difference, the AC access module determines the operation score of the AP access point to be L1.
[0031] When the load score difference is greater than the first preset load score difference and the load score difference is less than or equal to the second preset load score difference, the AC access module determines the operation score of the AP access point to be L2.
[0032] When the load score difference is greater than the second preset load score difference, the AC access module determines that the operation score of the AP access point is L3;
[0033] Wherein, the first preset load score difference is less than the second preset load score difference, and L1 < L2 < L3.
[0034] Furthermore, when the AC access module determines that the operational score of the AP access point is Li, where i = 1, 2, 3, it includes:
[0035] The AC access module is also used to obtain the average number of terminals connected to each AP access point, and to determine the preset number of terminals based on the average number.
[0036] The AC access module is also used to obtain the real-time number of terminals connected to the AP access point, and determine whether to correct the operation score Li of the AP access point based on the relationship between the real-time number of terminals and the preset number of terminals.
[0037] When the number of real-time terminals is greater than the preset number of terminals, the AC access module will not correct the operation score Li of the AP access point;
[0038] When the number of real-time terminals is less than or equal to the preset number of terminals, the AC access module obtains the difference between the number of real-time terminals and the preset number of terminals, determines the correction coefficient, and corrects the operation score Li of the AP access point according to the correction coefficient.
[0039] Furthermore, the AC access module is also used to determine the correction coefficient based on the difference between the real-time number of terminals and the preset number of terminals, including:
[0040] The AC access module is also configured with a first preset quantity difference and a second preset quantity difference;
[0041] The AC access module is further configured to determine the correction coefficient based on the relationship between the quantity difference and the first preset quantity difference and the second preset quantity difference;
[0042] When the quantity difference is less than the first preset quantity difference, the AC access module determines the correction coefficient to be K3;
[0043] When the quantity difference is greater than or equal to the first preset quantity difference and less than the second preset quantity difference, the AC access module determines the correction coefficient to be K2.
[0044] When the quantity difference is greater than or equal to the second preset quantity difference, the AC access module determines the correction coefficient to be K1;
[0045] Wherein, the first preset quantity difference is less than the second preset quantity difference, and K1 < K2 < K3 < 1.
[0046] Furthermore, when the AC access module determines the correction coefficient to be Ki, where i = 1, 2, 3, it includes:
[0047] The AC access module is also used to obtain the average signal strength of each AP access point, and the AC access module is also used to determine the average signal strength as a preset signal strength.
[0048] The AC access module is also used to determine whether to correct the correction coefficient Ki based on the relationship between the real-time signal strength of the AP access point and the preset signal strength.
[0049] When the real-time signal strength is greater than or equal to the preset signal strength, the AC access module will not correct the correction coefficient Ki.
[0050] When the real-time signal strength is less than the preset signal strength, the AC access module determines a correction coefficient based on the strength difference between the real-time signal strength and the preset signal strength, and corrects the correction coefficient Ki based on the correction coefficient.
[0051] Furthermore, when the AC access module determines the correction coefficient based on the strength difference between the real-time signal strength and the preset signal strength, it includes:
[0052] The AC access module is also configured with a first preset strength difference and a second preset strength difference;
[0053] The AC access module is further configured to determine the correction coefficient based on the relationship between the strength difference and the first preset strength difference and the second preset strength difference;
[0054] When the strength difference is less than the first preset strength difference, the AC access module determines the correction coefficient to be J3;
[0055] When the strength difference is greater than or equal to the first preset strength difference and less than the second preset strength difference, the AC access module determines the correction coefficient to be J2.
[0056] When the strength difference is greater than or equal to the second preset strength difference, the AC access module determines the correction coefficient to be J1;
[0057] Wherein, the first preset strength difference is less than the second preset strength difference, and J1 < J2 < J3 < 1.
[0058] Compared with existing technologies, the advantages of this invention are as follows: Through the integration of a DHCP server, automated management of AP access points is achieved. The DHCP server not only assigns IP addresses to AP access points but also sends the MQTT server address of the AC access module to the access points according to the configured option fields. This mechanism effectively simplifies the complex device access and configuration process in traditional management models. After startup, the device can automatically obtain the required network parameters, thereby reducing the manual configuration workload of network administrators and lowering the risk of human error. This automated management makes network management more efficient, saving administrators a significant amount of time and effort. Secondly, the AP access points establish a connection with the AC access module via the MQTT protocol and periodically send operational data, including load data, the number of connected terminals, and signal strength. This real-time data reporting mechanism allows network administrators to monitor the operational status of each AP access point at any time, thereby dynamically evaluating the overall network performance. Through the analysis of this real-time data, the AC access module can promptly identify potential problems, such as excessive load or signal quality degradation at a particular access point, and take corresponding management measures. This dynamic assessment capability not only improves network reliability but also effectively prevents service interruptions or performance degradation caused by excessive load, thus ensuring a good user experience. Simultaneously, the AC access module evaluates the operational data sent by the AP access points and determines whether to adjust the access status based on the evaluation results. For example, if the evaluation result of an AP access point is lower than a preset score, it can automatically decide to temporarily disconnect it or adjust its service policy to prevent network overload or resource waste. This data-driven management decision-making mechanism ensures efficient utilization of network resources, improves network stability and service quality. Furthermore, the AC access module can flexibly adjust the access status of access points according to real-time demand, automatically optimizing network resource allocation during peak user demand periods to ensure smooth network access for users.
[0059] On the other hand, this application also provides a centralized management method for AC / AP based on the MQTT protocol, including:
[0060] Configure an AC access module, several AP access points, an MQTT agent, and a DHCP server;
[0061] The DHCP server assigns IP addresses to several AP access points, and sends the MQTT server address of the AC access module to several AP access points according to the option fields configured on the DHCP server.
[0062] After obtaining the MQTT server address, the system controls several AP access points to establish a connection with the MQTT agent based on the MQTT protocol, and controls the AP access points to send registration information to the AC access module to complete the access registration;
[0063] The AP access point is controlled to send operational data to the AC access module based on an MQTT server and a preset frequency.
[0064] The AC access module is controlled to issue configuration and management commands to several AP access points based on the MQTT agent.
[0065] The AC access module is controlled to evaluate the operating data sent by the AP access point, and based on the evaluation results, determines whether to adjust the access status of the AP access point.
[0066] It is understood that the AC / AP centralized management system and method based on the MQTT protocol in the above embodiments of the present invention have the same beneficial effects, and will not be described again. Attached Figure Description
[0067] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0068] Figure 1 A functional block diagram of an AC / AP centralized management system based on the MQTT protocol provided in this embodiment of the invention;
[0069] Figure 2 This is a flowchart illustrating a centralized AC / AP management method based on the MQTT protocol, provided as an embodiment of the present invention. Detailed Implementation
[0070] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the disclosure to those skilled in the art. It should be noted that, unless otherwise specified, embodiments and features in the embodiments of the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0071] like Figure 1As shown in some embodiments of this application, this embodiment provides an AC / AP centralized management system based on the MQTT protocol, including: an AC access module, several AP access points, an MQTT agent, and a DHCP server.
[0072] Specifically, the DHCP server is configured to assign IP addresses to several AP access points. The DHCP server is also configured to send the MQTT server address of the AC access module to the AP access points according to the option fields configured in the DHCP server configuration. The AP access points are configured to obtain the MQTT server address and then establish a connection with the MQTT broker based on the MQTT protocol. The AP access points are also configured to send registration information to the AC access module to complete access registration. The AP access points are further configured to send operational data to the AC access module based on the MQTT server and a preset frequency. This operational data includes load data, the number of terminals connected to the AP access point, and signal strength. The AC access module is configured to issue configuration and management commands to the AP access points based on the MQTT broker. The AC access module is also configured to evaluate the operational data sent by the AP access points. Based on the evaluation results, the AC access module determines whether to adjust the access status of the AP access points. Specifically, if the evaluation result is lower than the preset evaluation score configured in the AC access module, the AC access module determines to adjust the access status of the AP access points.
[0073] Understandably, by effectively integrating the functions of the DHCP server, AP access points, and AC access modules, a highly efficient wireless network management architecture is constructed. Specifically, the DHCP server not only assigns IP addresses to the AP access points but also transmits the MQTT server address of the AC access module through option fields, enabling automatic device access. After obtaining the MQTT server address, the AP access point can establish a connection with the MQTT agent and send registration information to the AC access module, thus completing the access registration. The AP access point also periodically reports operational data (including load data, number of connected terminals, and signal strength) to the AC access module at a preset frequency, allowing the AC access module to monitor the network status in real time and perform dynamic evaluation. Based on the received operational data, the AC access module can determine whether to adjust the access status of the AP access points, thereby achieving flexible network management and ensuring network performance and stability. Through this mechanism, it is possible to respond promptly to changes in network load, improve resource utilization, and optimize user experience.
[0074] Understandably, the DHCP server not only performs the basic function of assigning IP addresses to AP access points, but also uses option fields to pass the MQTT server address of the AC access module to these access points. This design optimizes the device access process, avoiding the cumbersome manual configuration of traditional methods, and ensuring that AP access points can quickly connect to the management system while obtaining IP addresses, thereby achieving automated management. Secondly, after obtaining the MQTT server address, the AP access point can establish a stable connection with the AC access module through the MQTT protocol. Subsequently, the AP access point will periodically send operational data to the AC access module, including real-time load status, the number of connected terminals, signal strength, and other key information. This real-time data reporting mechanism allows network administrators to obtain the latest status of each AP access point, thus gaining a comprehensive understanding of the overall network operation. Especially under conditions of high network load or frequent user requests, timely acquisition of this information is crucial, helping network administrators quickly identify potential network problems and take corresponding management measures. In addition, the AP access point's operational data reporting is based on a preset frequency, but the system also allows AP access points to flexibly adjust the reporting frequency according to the real-time network conditions. For example, when network load increases, AP access points can increase the frequency of data reporting to ensure that the management module can obtain the latest operating status more promptly. This dynamic reporting mechanism not only improves the timeliness of data but also enhances the system's ability to respond to sudden network situations, making network management more intelligent and efficient. Simultaneously, the AC access module receives operating data from each AP access point and performs dynamic evaluation. By analyzing this data, the AC access module can monitor the health status and load of each access point in real time. When the evaluation result is lower than a preset threshold, the system can automatically decide whether to adjust the access status of the AP access point. For example, if the load of an AP access point is too high, the system can choose to take it offline or limit the number of terminals connected to it to avoid burdening the entire network. This intelligent evaluation and management capability eliminates the need for network administrators to manually adjust device configurations, greatly improving management efficiency and network stability. Finally, the MQTT protocol-based design gives the system excellent scalability and compatibility, enabling it to adapt to future changing network needs. The system can easily support more AP access points and network devices and seamlessly integrate with other network management tools and platforms to form a unified network management ecosystem. Network administrators can dynamically adjust network configurations based on real-time data to cope with surges in user numbers or changes in the network environment, ensuring that the system always maintains optimal performance.
[0075] Specifically, the AC access module is also configured to determine the preset frequency for the AP access point to send operational data based on the signal strength of the AP access point. Specifically, the AP access point is used to acquire the network signal strength and determine the preset frequency based on the relationship between the signal strength and the preset signal strength configured for the AP access point. When the preset signal strength is greater than or equal to the preset signal strength, the AC access module sets the transmission frequency configured for the AP access point to the preset frequency. When the preset signal strength is less than the preset signal strength, the AC access module acquires the difference between the signal strength and the preset signal strength, determines an adjustment coefficient range based on the difference, and adjusts the transmission frequency according to the adjustment coefficient range. The AC access module is also used to determine the adjusted transmission frequency as the preset frequency; where the adjustment coefficient range is (1-0).
[0076] Understandably, the AP access point continuously monitors its network signal strength during operation. When the actual signal strength is compared with the preset signal strength, the AC access module can make a corresponding judgment. If the signal strength is good (i.e., the actual signal strength is greater than or equal to the preset signal strength), the AP access point's transmission frequency remains unchanged, ensuring data real-time performance and accuracy. However, when the signal strength is weak, the AC access module actively adjusts the AP access point's data transmission frequency. This adaptive adjustment mechanism ensures stable data transmission even when the network environment changes. When the signal strength is lower than the preset value, the AC access module calculates the difference between the actual signal strength and the preset signal strength. This difference not only reflects the degree of signal attenuation but also provides a basis for adjusting the transmission frequency. By setting an adjustment coefficient range (1-0), the transmission frequency can be flexibly reduced to adapt to the current network conditions. For example, when the signal strength drops significantly, the system can significantly reduce the data reporting frequency, thereby reducing network load and lowering the risk of data loss due to poor signal. Furthermore, this dynamic adjustment mechanism based on signal strength feedback not only improves the stability and reliability of the AP access point but also enhances the adaptability of the entire wireless network. This enables the network to automatically identify and address potential problems in complex and ever-changing environments, ensuring efficient network operation.
[0077] Specifically, the AC access module is also configured to evaluate the network status of the AP access point based on the operational data sent by the AP access point, including: the AC access module is also configured with a preset transmission frequency; the AC access module is also configured to determine whether to evaluate the network status of the AP access point and determine the network score of the AP access point based on the relationship between the transmission frequency of the operational data sent by the AP access point and the preset transmission frequency: when the transmission frequency is equal to the preset transmission frequency, the AC access module determines not to evaluate the network status of the AP access point. When the transmission frequency is less than the preset transmission frequency, the AC access module determines to evaluate the network status of the AP access point and determines the operational score of the AP access point based on the operational data sent by the AP access point.
[0078] Specifically, when the AC access module determines the operational score of the AP access point based on the operational data sent by the AP access point, it includes: the AC access module also obtains the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point. The AC access module further substitutes the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point into a formula, and determines the load score of the AP access point according to the formula, as shown below: Where P is the load score of the AP access point, q1 is the real-time data processing traffic, and q max w1 represents the maximum data processing traffic, and w1 represents the real-time CPU utilization of the AP access point. max e1 represents the maximum CPU utilization of the AP access point, and e2 represents the real-time memory utilization of the AP access point. max r is the maximum memory utilization of the AP access point, r1 is the real-time utilization of the AP access point's wireless channel, and r max a1 represents the maximum utilization of the wireless channel at the AP access point, and a1 represents the number of real-time service requests. max The maximum number of service requests is represented by z1-z5, which are weighting coefficients, where the sum of z1-z5 is 1. The AC access module is also used to determine the operating score of the AP access point based on its load score P.
[0079] Specifically, the AC access module is also used to determine the operating score of an AP access point based on its load score P. This includes: obtaining the average load score among several AP access points; and setting this average load score as a preset load score. The AC access module also obtains the load score difference between the AP access point's load score P and the preset load score, and determines the operating score of the AP access point based on the relationship between this difference and a first preset load score difference and a second preset load score difference configured by the AC access module. When the load score difference is less than or equal to the first preset load score difference, the AC access module determines the AP access point's operating score as L1. When the load score difference is greater than the first preset load score difference and less than or equal to the second preset load score difference, the AC access module determines the AP access point's operating score as L2. When the load score difference is greater than the second preset load score difference, the AC access module determines the AP access point's operating score as L3. Wherein, the first preset load score difference is less than the second preset load score difference, and L1 < L2 < L3.
[0080] As can be seen, the AC access module determines whether to assess the network status of the AP access point by comparing the actual data transmission frequency with the preset transmission frequency. When the actual transmission frequency is lower than the preset frequency, it indicates that the AP access point may be facing load or performance issues, thus triggering a deeper analysis of its network status. Secondly, during network status assessment, the AC access module collects several key operational data points from the AP access point, including real-time data processing traffic, CPU and memory utilization, wireless channel utilization, and the number of service requests. By substituting these data into a pre-set load scoring formula, the AC access module can comprehensively assess the load status of the AP access point. The weighting coefficients (z1-z5) in the formula ensure that different parameters receive appropriate attention in the scoring, ensuring more accurate assessment results. Furthermore, by calculating the average load score of multiple AP access points and comparing it with the preset load score, the AC access module can more precisely determine the operational score of each AP access point. Based on the relationship between the load score difference and a preset threshold, the system can subdivide the status of the AP access point into different operational score levels (L1, L2, L3). This mechanism effectively achieves real-time monitoring and response to network load, ensuring network stability and reliability.
[0081] Understandably, the AC access module monitors and evaluates the network status of access points to ensure their performance meets preset standards. By comparing the actual transmission frequency of the AP access point with the preset transmission frequency set by the AC access module, the system can determine whether the access point is operating normally. If the actual transmission frequency is found to be lower than the preset value, it means that the AP access point may have a performance bottleneck or excessive load, thus triggering a comprehensive evaluation of its network status. During this evaluation process, the AC access module collects several key operational indicators of the AP access point. These indicators include real-time data processing traffic, CPU and memory utilization, wireless channel utilization, and the number of service requests. By incorporating this data into a preset load scoring formula, the load situation of the AP access point can be comprehensively evaluated. The weighting coefficients (z1-z5) included in the formula ensure that each parameter receives appropriate attention in the scoring, making the evaluation results more accurate and reliable. For example, if the weights of real-time data processing traffic and CPU utilization are larger, the system will respond more sensitively to changes in these two indicators, thereby identifying potential network bottlenecks more quickly. Furthermore, the AC access module also introduces a dynamic adjustment mechanism based on the average load score. By obtaining the average load scores of multiple access points (APs), a reasonable preset load score can be set as a benchmark for subsequent evaluations. This method helps establish more detailed evaluation standards, making the scores for each access point more fair and reasonable. Once the difference between the load score of a particular AP and the preset load score is calculated, the AP's operating status is further subdivided into different evaluations based on a set threshold, facilitating better fault diagnosis and performance optimization. This dynamic evaluation mechanism not only improves the monitoring capability of the AP network status but also effectively enhances network response speed. When network load is high or user requests are frequent, problems can be identified promptly, and corresponding management measures can be taken to reduce network latency and potential failures.
[0082] Specifically, when the AC access module determines the operating score of the AP access point to be Li, i = 1, 2, 3, the following steps are taken: The AC access module is also used to obtain the average number of terminals connected to each AP access point and determine the preset number of terminals based on the average number. The AC access module is also used to obtain the real-time number of terminals connected to the AP access point and determine whether to correct the operating score Li of the AP access point based on the relationship between the real-time number of terminals and the preset number of terminals. When the real-time number of terminals is greater than the preset number of terminals, the AC access module does not correct the operating score Li of the AP access point. When the real-time number of terminals is less than or equal to the preset number of terminals, the AC access module obtains the difference between the real-time number of terminals and the preset number of terminals, determines the correction coefficient, and corrects the operating score Li of the AP access point based on the correction coefficient.
[0083] Specifically, the AC access module is further configured to determine the correction coefficient based on the difference between the real-time number of terminals and the preset number of terminals. This includes: the AC access module is also configured with a first preset quantity difference and a second preset quantity difference. The AC access module is further configured to determine the correction coefficient based on the relationship between the quantity difference and the first and second preset quantity differences. When the quantity difference is less than the first preset quantity difference, the AC access module determines the correction coefficient to be K3. When the quantity difference is greater than or equal to the first preset quantity difference and less than the second preset quantity difference, the AC access module determines the correction coefficient to be K2. When the quantity difference is greater than or equal to the second preset quantity difference, the AC access module determines the correction coefficient to be K1. Wherein, the first preset quantity difference is less than the second preset quantity difference, and K1 < K2 < K3 < 1.
[0084] Specifically, when the AC access module determines the correction coefficient to be Ki, where i = 1, 2, 3, the following steps are taken: The AC access module is further used to obtain the average signal strength of each AP access point, and the AC access module is further used to determine the average signal strength as the preset signal strength. The AC access module is further used to determine whether to correct the correction coefficient Ki based on the relationship between the real-time signal strength of the AP access point and the preset signal strength. When the real-time signal strength is greater than or equal to the preset signal strength, the AC access module does not correct the correction coefficient Ki. When the real-time signal strength is less than the preset signal strength, the AC access module determines the correction coefficient based on the difference between the real-time signal strength and the preset signal strength, and corrects the correction coefficient Ki based on the correction coefficient.
[0085] Specifically, when the AC access module determines the correction coefficient based on the strength difference between the real-time signal strength and the preset signal strength, it includes the following: The AC access module is also configured with a first preset strength difference and a second preset strength difference. The AC access module is further used to determine the correction coefficient based on the relationship between the strength difference and the first and second preset strength differences. When the strength difference is less than the first preset strength difference, the AC access module determines the correction coefficient as J3. When the strength difference is greater than or equal to the first preset strength difference and less than the second preset strength difference, the AC access module determines the correction coefficient as J2. When the strength difference is greater than or equal to the second preset strength difference, the AC access module determines the correction coefficient as J1. Wherein, the first preset strength difference is less than the second preset strength difference, and J1 < J2 < J3 < 1.
[0086] Understandably, the AC access module determines a preset baseline for the number of terminals by obtaining the average number of terminals connected to each AP access point. Then, it compares the real-time number of connected terminals with this preset number to determine whether the AP access point's performance score needs correction. When the real-time number is less than or equal to the preset number, the AC access module calculates the difference and determines a corresponding correction coefficient based on this difference. This difference-based correction method helps to accurately evaluate the AP access point's performance under high load conditions, thus providing a more reasonable performance score. In further evaluation, the AC access module also considers the AP access point's signal strength, calculating the average signal strength and comparing it with a preset signal strength to determine whether to correct the previously calculated correction coefficient. When the real-time signal strength is lower than the preset value, a correction coefficient is also determined based on the signal strength difference, ensuring that the evaluation results accurately reflect the current network status. This mechanism, through tiered strength difference settings, refines the calculation of correction coefficients, making corrections and adjustments more sensitive and accurate.
[0087] Understandably, the AC access module determines a preset number of terminals by acquiring the number of terminals connected to each AP access point in real time and calculating the average of these numbers. This preset value serves as a benchmark and plays a crucial reference role in network management. By comparing it with the actual number of connections, the system can determine the current load status of the AP access points, especially when the number of users changes frequently, and can promptly identify potential network bottlenecks. When the actual real-time number of terminals is less than or equal to the preset number of terminals, the AC access module calculates the difference between the two and determines a correction coefficient based on this difference. This correction coefficient is set based on multi-level evaluation criteria. Specifically, the AC access module presets a first preset difference and a second preset difference. When the difference is less than the first preset difference, the system sets the correction coefficient to K3; when the difference is between the first and second presets, the correction coefficient is set to K2; finally, when the difference exceeds the second preset value, the correction coefficient is adjusted to K1. This dynamic difference-based correction method not only enhances the flexibility of AP access point performance evaluation but also ensures the system can effectively respond and allocate resources appropriately under high load. Furthermore, when evaluating the signal strength of AP access points, the AC access module also employs a comparison method between real-time data monitoring and preset signal standards. The AC access module calculates the average signal strength of all AP access points and uses it as a benchmark for setting preset signal strength. If the real-time signal strength of an AP access point is lower than this preset value, the module further calculates the signal strength difference and determines a correction coefficient based on this difference. This correction coefficient is also set in stages: when the signal difference is less than the first preset strength difference, the correction coefficient is J3; between the first and second, the correction coefficient is set to J2; and when the strength difference exceeds the second preset, the correction coefficient is J1. This hierarchical correction mechanism ensures the system's sensitivity to network conditions, enabling timely responses to signal quality degradation and further optimizing AP access point performance. In summary, by establishing a multi-level, dynamically adjusted evaluation and correction mechanism, the AC access module ensures real-time response to changes in load and signal strength. Under high load conditions, it can quickly identify and adapt, avoiding potential network bottlenecks and maintaining network stability and reliability. Simultaneously, through refined correction and calibration standards, the AC access module can provide more accurate operational scores, thereby offering effective data support and decision-making basis for network management.
[0088] In the above embodiments, the integration of a DHCP server enables automated management of AP access points. The DHCP server not only assigns IP addresses to AP access points but also sends the MQTT server address of the AC access module to the access points based on configured option fields. This mechanism effectively simplifies the complex device access and configuration process in traditional management models. After startup, the device can automatically acquire the required network parameters, thereby reducing the manual configuration workload of network administrators and lowering the risk of human error. This automated management makes network management more efficient, saving administrators significant time and effort. Secondly, the AP access points establish a connection with the AC access module via the MQTT protocol and periodically send operational data, including load data, the number of connected terminals, and signal strength. This real-time data reporting mechanism allows network administrators to monitor the operational status of each AP access point at any time, enabling dynamic evaluation of the overall network performance. Through analysis of this real-time data, the AC access module can promptly identify potential problems, such as excessive load or signal quality degradation at a particular access point, and take appropriate management measures. This dynamic assessment capability not only improves network reliability but also effectively prevents service interruptions or performance degradation caused by excessive load, thus ensuring a good user experience. Simultaneously, the AC access module evaluates the operational data sent by the AP access points and determines whether to adjust the access status based on the evaluation results. For example, if the evaluation result of an AP access point is lower than a preset score, it can automatically decide to temporarily disconnect it or adjust its service policy to prevent network overload or resource waste. This data-driven management decision-making mechanism ensures efficient utilization of network resources, improves network stability and service quality. Furthermore, the AC access module can flexibly adjust the access status of access points according to real-time demand, automatically optimizing network resource allocation during peak user demand periods to ensure smooth network access for users.
[0089] In another preferred embodiment based on the above embodiments, such as Figure 2 As shown, this embodiment provides a centralized management method for AC / AP based on the MQTT protocol, including:
[0090] Step S100: Configure the AC access module, several AP access points, MQTT agent, and DHCP server.
[0091] Step S200: Assign IP addresses to several AP access points based on the DHCP server, and send the MQTT server address of the AC access module to several AP access points according to the option fields configured on the DHCP server.
[0092] Step S300: After obtaining the MQTT server address, control several AP access points to establish a connection with the MQTT agent based on the MQTT protocol, and control the AP access points to send registration information to the AC access module to complete the access registration.
[0093] Step S400: Control the AP access point to send operating data to the AC access module based on the MQTT server and a preset frequency.
[0094] Step S500: The control AC access module issues configuration and management commands to several AP access points based on the MQTT agent.
[0095] Step S600: The control AC access module evaluates the operation data sent by the AP access point and determines whether to adjust the access status of the AP access point based on the evaluation results.
[0096] It is understood that the AC / AP centralized management system and method based on the MQTT protocol in the above embodiments of the present invention have the same beneficial effects, and will not be described again.
[0097] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program goods. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program goods embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0098] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program goods according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0099] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxesFigure 1 The function specified in one or more boxes.
[0100] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A centralized AC / AP management system based on the MQTT protocol, comprising an AC access module, several AP access points, an MQTT agent, and a DHCP server, characterized in that, include: The DHCP server is configured to assign IP addresses to a plurality of the AP access points, and the DHCP server is further configured to send the MQTT server address of the AC access module to the plurality of the AP access points according to the option fields configured on the DHCP server. The AP access point is configured to obtain the MQTT server address and then establish a connection with the MQTT agent based on the MQTT protocol. The AP access point is also configured to send registration information to the AC access module to complete the access registration. The AP access point is also configured to send operational data to the AC access module based on an MQTT server and a preset frequency. The operational data includes: load data, the number of terminals connected to the AP access point, and signal strength. The AC access module is configured to issue configuration and management commands to several AP access points based on the MQTT broker; the AC access module is also configured to evaluate the operational data sent by the AP access points, and further configured to determine whether to adjust the access status of the AP access points based on the evaluation results, wherein: If the evaluation result is lower than the preset evaluation score configured by the AC access module, the AC access module will determine to adjust the access status of the AP access point. The load score of the AP access point is determined based on the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point. The AC access module is also used to determine the operating score of the AP access point based on the load score P of the AP access point, including: The AC access module is also used to obtain the average load score among the load scores of several AP access points, and the AC access module is also used to determine the average load score as a preset load score. The AC access module is also used to obtain the load score difference between the load score P of the AP access point and the preset load score, and to determine the operation score of the AP access point according to the relationship between the load score difference and the first preset load score difference and the second preset load score difference configured by the AC access module. When the load score difference is less than or equal to the first preset load score difference, the AC access module determines the operation score of the AP access point to be L1. When the load score difference is greater than the first preset load score difference and the load score difference is less than or equal to the second preset load score difference, the AC access module determines the operation score of the AP access point to be L2. When the load score difference is greater than the second preset load score difference, the AC access module determines that the operation score of the AP access point is L3; Wherein, the first preset load score difference is less than the second preset load score difference, and L1 < L2 < L3.
2. The AC / AP centralized management system based on the MQTT protocol as described in claim 1, characterized in that, The AC access module is also configured to determine a preset frequency for the AP access point to send the operating data based on the signal strength of the AP access point, specifically: The AP access point is also used to acquire the network signal strength and determine the preset frequency based on the relationship between the signal strength and the preset signal strength configured in the AP access point; When the preset signal strength is greater than or equal to the preset signal strength, the AC access module will set the transmission frequency configured for the AP access point to the preset frequency. When the preset signal is less than the preset signal strength, the AC access module obtains the strength difference between the signal strength and the preset signal strength, determines the adjustment coefficient range based on the strength difference, and adjusts the transmission frequency based on the adjustment coefficient range. The AC access module is also used to determine the adjusted transmission frequency as the preset frequency. The adjustment coefficient ranges from 1 to 0.
3. The AC / AP centralized management system based on the MQTT protocol as described in claim 1, characterized in that, The AC access module is also configured to perform evaluations based on operational data sent by the AP access point, including: The AC access module is also configured with a preset transmission frequency; The AC access module is also configured to determine whether to evaluate the network status of the AP access point and determine the network score of the AP access point based on the relationship between the transmission frequency of the operation data sent by the AP access point and the preset transmission frequency. When the transmission frequency is equal to the preset transmission frequency, the AC access module determines that it will not evaluate the network status of the AP access point. When the transmission frequency is less than the preset transmission frequency, the AC access module determines to evaluate the network status of the AP access point and determines the operation score of the AP access point based on the operation data transmitted by the AP access point.
4. The AC / AP centralized management system based on the MQTT protocol as described in claim 3, characterized in that, When the AC access module determines the operational score of the AP access point based on the operational data sent by the AP access point, it includes: The AC access module is also used to obtain the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point. The AC access module is also used to substitute the real-time data processing traffic of the AP access point, the real-time CPU and memory utilization of the AP access point, the real-time wireless channel utilization of the AP access point, and the number of real-time service requests of the AP access point into a formula, and determine the load score of the AP access point according to the formula, as shown below: Where P is the load score of the AP access point, q1 is the real-time data processing traffic, and q max Here, w1 is the maximum data processing traffic, wmax is the real-time CPU utilization of the AP access point, and e1 is the real-time memory utilization of the AP access point. max r1 is the maximum memory utilization rate of the AP access point, r2 is the real-time utilization rate of the wireless channel of the AP access point, and r3 is the maximum memory utilization rate of the AP access point. max a1 is the maximum utilization of the wireless channel of the AP access point, and a1 is the number of real-time service requests. max The maximum number of service requests is represented by z1-z5, where the sum of z1-z5 is 1.
5. The AC / AP centralized management system based on the MQTT protocol as described in claim 1, characterized in that, When the AC access module determines that the operational score of the AP access point is Li, i = 1, 2, 3, including: The AC access module is also used to obtain the average number of terminals connected to each AP access point, and to determine the preset number of terminals based on the average number. The AC access module is also used to obtain the real-time number of terminals connected to the AP access point, and determine whether to correct the operation score Li of the AP access point based on the relationship between the real-time number of terminals and the preset number of terminals. When the number of real-time terminals is greater than the preset number of terminals, the AC access module will not correct the operation score Li of the AP access point; When the number of real-time terminals is less than or equal to the preset number of terminals, the AC access module obtains the difference between the number of real-time terminals and the preset number of terminals, determines the correction coefficient, and corrects the operation score Li of the AP access point according to the correction coefficient.
6. The AC / AP centralized management system based on the MQTT protocol as described in claim 5, characterized in that, The AC access module is further configured to determine the correction coefficient based on the difference between the real-time number of terminals and the preset number of terminals, including: The AC access module is also configured with a first preset quantity difference and a second preset quantity difference; The AC access module is further configured to determine the correction coefficient based on the relationship between the quantity difference and the first preset quantity difference and the second preset quantity difference; When the quantity difference is less than the first preset quantity difference, the AC access module determines the correction coefficient to be K3; When the quantity difference is greater than or equal to the first preset quantity difference and less than the second preset quantity difference, the AC access module determines the correction coefficient to be K2. When the quantity difference is greater than or equal to the second preset quantity difference, the AC access module determines the correction coefficient to be K1; Wherein, the first preset quantity difference is less than the second preset quantity difference, and K1 < K2 < K3 < 1.
7. The AC / AP centralized management system based on the MQTT protocol as described in claim 6, characterized in that, When the AC access module determines the correction coefficient to be Ki, i = 1, 2, 3, including: The AC access module is also used to obtain the average signal strength of each AP access point, and the AC access module is also used to determine the average signal strength as a preset signal strength. The AC access module is also used to determine whether to correct the correction coefficient Ki based on the relationship between the real-time signal strength of the AP access point and the preset signal strength. When the real-time signal strength is greater than or equal to the preset signal strength, the AC access module will not correct the correction coefficient Ki. When the real-time signal strength is less than the preset signal strength, the AC access module determines a correction coefficient based on the strength difference between the real-time signal strength and the preset signal strength, and corrects the correction coefficient Ki based on the correction coefficient.
8. The AC / AP centralized management system based on the MQTT protocol as described in claim 7, characterized in that, When the AC access module determines the correction coefficient based on the strength difference between the real-time signal strength and the preset signal strength, it includes: The AC access module is also configured with a first preset strength difference and a second preset strength difference; The AC access module is further configured to determine the correction coefficient based on the relationship between the strength difference and the first preset strength difference and the second preset strength difference; When the strength difference is less than the first preset strength difference, the AC access module determines the correction coefficient to be J3; When the strength difference is greater than or equal to the first preset strength difference and less than the second preset strength difference, the AC access module determines the correction coefficient to be J2. When the strength difference is greater than or equal to the second preset strength difference, the AC access module determines the correction coefficient to be J1; Wherein, the first preset strength difference is less than the second preset strength difference, and J1 < J2 < J3 < 1.
9. A centralized AC / AP management method based on the MQTT protocol, applicable to a centralized AC / AP management system based on the MQTT protocol as described in any one of claims 1-8, characterized in that, include: Configure an AC access module, several AP access points, an MQTT agent, and a DHCP server; The DHCP server assigns IP addresses to several AP access points, and sends the MQTT server address of the AC access module to several AP access points according to the option fields configured on the DHCP server. After obtaining the MQTT server address, the system controls several AP access points to establish a connection with the MQTT agent based on the MQTT protocol, and controls the AP access points to send registration information to the AC access module to complete the access registration; The AP access point is controlled to send operational data to the AC access module based on an MQTT server and a preset frequency. The AC access module is controlled to send configuration and management commands to several AP access points based on the MQTT agent. The AC access module is controlled to evaluate the operating data sent by the AP access point, and based on the evaluation results, determines whether to adjust the access status of the AP access point.
Citation Information
Patent Citations
Network management system and method for accessing multiple access points (AP) to internet (Internet)
CN108123854A
Load balancing method and system based on distributed wireless network
CN112996057A