Disclosure of Invention
Aiming at the problems existing in the existing load balancing technical scheme, a load balancing system and method based on resource utilization rate are provided for realizing load balancing by supporting different types of WIFI equipment to be configured in the same wireless local area network.
The specific technical scheme is as follows:
a load balancing system based on resource utilization rate is applied to a wireless local area network and comprises the following components:
each access point is used for accessing a wireless terminal sending an access request into the wireless local area network in a preset coverage area and outputting current resource utilization rate data of the access point at preset time intervals;
a management server, connected to the access points, for providing a set of trigger arrays associated with the access points, and obtaining the current resource utilization data of each access point;
each access point is used for judging whether the current resource utilization rate data exceeds the trigger array, and if the current resource utilization rate data exceeds the trigger array, the access point sends the access request sent by the wireless terminal to the management server;
the management server controls whether the access point associated with the access request accepts the access request of the wireless terminal according to the current resource utilization data of a plurality of the access points.
Preferably, the resource utilization data includes parameters: the utilization rate of a central controller of the access point, and/or the utilization rate of a memory of the access point, and/or the utilization rate of a broadband of the access point, and/or the utilization rate of the capacity of the access point for accessing the wireless terminal.
Preferably, the trigger array includes parameter thresholds as follows: a central controller utilization threshold corresponding to a central controller utilization of the access point, and/or a memory utilization threshold corresponding to a memory utilization of the access point, and/or a broadband utilization threshold corresponding to a broadband utilization of the access point, and/or a capacity utilization threshold corresponding to a capacity utilization of the access point to access the wireless terminal.
Preferably, the management server includes:
a receiving unit, configured to receive current resource utilization data of a plurality of the aps and/or the access request;
a setting unit for setting a set of trigger arrays associated with the access point;
a judging unit, connected to the receiving unit and the trigger array respectively, for judging whether there is any access point in the current resource utilization data that does not exceed the trigger array,
an adjusting unit, connected to the determining unit, for controlling the access point associated with the access request to reject the access of the wireless terminal to the wireless lan, or controlling the access point associated with the access request to access the wireless lan, when there is an access point that does not exceed the trigger array in the current resource utilization data of the plurality of access points
When the resource utilization data of the access points exceed the access points of the trigger array, the adjusting unit is used for controlling the access point associated with the access request to access the wireless terminal to the wireless local area network.
Preferably, when at least one of the parameter values in the current resource utilization data in the access point exceeds the corresponding parameter threshold in the trigger array, the access point sends an access request of the wireless terminal to the management server;
the management server judges whether at least one parameter value in the current resource utilization rate data exceeds the corresponding parameter threshold value in the trigger array or not for a plurality of access points respectively, and when all the parameter values in the current resource utilization rate data in the plurality of access points do not exceed all the parameter threshold values in the trigger array, the management server controls the access points related to the access request to refuse the wireless terminal to access the wireless local area network, or
When the current resource utilization rate data of a plurality of access points exceed the access points of the trigger array, the management server controls the access points related to the access request to accept the wireless terminal to access the wireless local area network.
A load balancing method based on resource utilization rate is applied to the load balancing system based on resource utilization rate, and comprises the following steps:
s1, the access point receives the access request sent by the wireless terminal;
s2, the AP is used to judge whether the current resource utilization rate data exceeds the trigger array, if yes, execute step S4; if not, go to step S3;
s3, the access point accesses the wireless terminal to the wireless local area network, and the process is finished;
s4, the access point sends the access request of the wireless terminal to the management server;
s5, the management server controls whether the access point related to the access request accepts the access request of the wireless terminal according to the current resource utilization data of a plurality of access points.
Preferably, the resource utilization data includes parameters: the utilization rate of a central controller of the access point, and/or the utilization rate of a memory of the access point, and/or the utilization rate of a broadband of the access point, and/or the utilization rate of the capacity of the access point for accessing the wireless terminal.
Preferably, the trigger array includes parameter thresholds as follows: a central controller utilization threshold corresponding to a central controller utilization of the access point, and/or a memory utilization threshold corresponding to a memory utilization of the access point, and/or a broadband utilization threshold corresponding to a broadband utilization of the access point, and/or a capacity utilization threshold corresponding to a capacity utilization of the access point to access the wireless terminal.
Preferably, the step S5 includes:
s51, the management server receiving current resource utilization data of a plurality of the access points, and/or the access request;
s52, the management server judges whether there is the access point which does not exceed the trigger array in the current resource utilization rate data or not respectively for a plurality of access points, if yes, the step S53 is executed; if not, go to step S54;
s53, the management server controls the access point relative to the access request to reject the wireless terminal to access the wireless local area network, and the process is finished;
s54, the management server controls the access point related to the access request to access the wireless terminal to the wireless local area network, and the process is finished.
Preferably, in step S3, when at least one of the parameter values in the current resource utilization data exceeds the corresponding parameter threshold in the trigger array, the access point sends an access request of the wireless terminal to the management server;
in step S5, the management server determines whether at least one parameter value in the current resource utilization data exceeds the corresponding parameter threshold in the trigger array for each of the plurality of access points, and when all the parameter values in the current resource utilization data in the plurality of access points do not exceed all the parameter thresholds in the trigger array, the management server controls the access point associated with the access request to reject the wireless terminal to access the wireless lan, or
When the current resource utilization rate data of a plurality of access points exceed the access points of the trigger array, the management server controls the access points related to the access request to accept the wireless terminal to access the wireless local area network.
The beneficial effects of the above technical scheme are that:
the access point in the load balancing system based on the resource utilization rate compares the current resource utilization rate data with a preset trigger array to judge whether the resource utilization rate exceeds a corresponding threshold value in the trigger array, if so, an access request is sent to a management server for load balancing, and WIFI equipment of different models can be set in the same wireless local area network to achieve the purpose of load balancing;
the load balancing method based on the resource utilization rate is used for supporting the load balancing system based on the resource utilization rate to carry out load balancing.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
As shown in fig. 1, a load balancing system based on resource utilization is applied to a wireless local area network, and includes:
a plurality of access points 1, each access point 1 being configured to access a wireless terminal sending an access request to a wireless local area network within a predetermined coverage area, and to output current resource utilization data of the access point 1 at predetermined time intervals;
a management server 2, which is respectively connected with the plurality of access points 1 and is used for providing a group of trigger arrays associated with the access points 1 and acquiring the current resource utilization rate data of each access point 1;
each access point 1 is used for judging whether the current resource utilization rate data exceeds the trigger array, and if the current resource utilization rate data exceeds the trigger array, the access point 1 sends an access request sent by the wireless terminal to the management server 2;
the management server 2 controls whether the access point 1 associated with the access request accepts the access request of the wireless terminal according to the current resource utilization data of the plurality of access points 1.
In this embodiment, the access point 1 in the load balancing system based on the resource utilization rate compares the current resource utilization rate data with the preset trigger array to determine whether the resource utilization rate exceeds the corresponding threshold value in the trigger array, and if the resource utilization rate exceeds the corresponding threshold value, the access request is sent to the management server 2 for load balancing, so that different types of WIFI devices can be set in the same wireless local area network, and the purpose of load balancing is achieved.
In a preferred embodiment, the resource utilization data includes the parameters: the central controller utilization of the access point 1, and/or the memory utilization of the access point 1, and/or the broadband utilization of the access point 1, and/or the capacity utilization of the access point 1 for accessing wireless terminals.
In a preferred embodiment, the trigger array includes parameter thresholds of: a central controller utilization threshold corresponding to the central controller utilization of the access point 1, and/or a memory utilization threshold corresponding to the memory utilization of the access point 1, and/or a broadband utilization threshold corresponding to the broadband utilization of the access point 1, and/or a capacity utilization threshold corresponding to the capacity utilization of the access point 1 for accessing wireless terminals.
In this embodiment, resource utilization rate data and a trigger array are adopted to flexibly configure threshold values of a load balancing threshold for a central controller utilization rate, a memory utilization rate, a bandwidth utilization rate and a capacity utilization rate of an access wireless terminal respectively, when the resource utilization rate of one resource reaches the configured threshold value of the load balancing threshold, load balancing processing is triggered, that is, the access point 1 sends an access request to the management server 2, and the management server 2 controls whether the access point 1 associated with the access request accepts the access request of the wireless terminal according to current resource utilization rate data of all the access points 1.
In a preferred embodiment, the management server 2 comprises:
a receiving unit 21, configured to receive current resource utilization data of a plurality of aps 1 and/or access requests;
a setting unit 22 for setting a set of trigger arrays associated with the ap 1;
a determining unit 23, connected to the receiving unit 21 and the trigger array respectively, for determining whether there is an access point 1 that does not exceed the trigger array in the current resource utilization data for the plurality of access points 1 respectively,
an adjusting unit 24 connected to the determining unit 23, wherein when there is an access point 1 that does not exceed the trigger array in the current resource utilization data of the plurality of access points 1, the adjusting unit 24 is configured to control the access point 1 associated with the access request to reject the access of the wireless terminal to the wireless local area network, or
When the current resource utilization data of the plurality of access points 1 all exceed the access points 1 of the trigger array, the adjusting unit 24 is configured to control the access point 1 associated with the access request to access the wireless terminal to the wireless lan.
In this embodiment, the management server 2 issues the trigger array set by the setting unit 22 to each access point 1. After the access point 1 operates, the current resource utilization rate data of the management server 2 is reported periodically. When one of the resource utilization rate data of the access point 1 reaches the corresponding parameter threshold, the load balancing function is triggered. When the load balancing function is triggered, all access requests to access the access point 1 are sent to the management server 2, and the adjusting unit 24 determines whether to allow the wireless terminal to access. The adjusting unit 24 comprehensively considers all information in the resource utilization rate data, and if the resource utilization rate of the access point 1 triggering load balancing is the minimum among all the access points 1, the wireless terminal is allowed to access the access point 1; if not, the wireless terminal is denied access to this access point 1, and the wireless terminal will then try to access other less loaded access points 1.
In a preferred embodiment, when at least one parameter value in the current resource utilization data in the access point 1 exceeds a corresponding parameter threshold value in the trigger array, the access point 1 sends an access request of the wireless terminal to the management server 2;
the management server 2 judges whether at least one parameter value in the current resource utilization rate data exceeds a corresponding parameter threshold value in the trigger array or not for the plurality of access points 1 respectively, and when all parameter values in the current resource utilization rate data in the plurality of access points 1 do not exceed all parameter threshold values in the trigger array, the management server 2 controls the access point 1 related to the access request to reject the wireless terminal to access the wireless local area network, or
When the current resource utilization rate data of the plurality of access points 1 exceed the access points 1 of the trigger array, the management server 2 controls the access points 1 related to the access request to accept the wireless terminal to access the wireless local area network.
On the basis of the above technical solution, further, taking the example that the load balancing system includes two access points a1 and a access point a2 of different models, the management server configures a threshold of a trigger array, where a central controller utilization rate threshold is 50%, a memory utilization rate threshold is 60%, a broadband utilization rate threshold is 40%, and a capacity utilization rate threshold is 50%, and issues the trigger array to the access point a1 and the access point a 2. The access point a1 and the access point a2 need to report resource utilization information such as the central controller utilization rate, the memory utilization rate, the broadband utilization rate, the capacity utilization rate and the like of the access point a1 and the access point a2 to the management server at regular time.
When the utilization rate of the central controller of the access point A1 exceeds 50%, a threshold value of load balancing is triggered, and then the user information accessed to the access point A1 needs to be reported to the management server, and the management server decides whether to allow the user to access. If the management server detects that the central controller utilization rate of the access point A2 is 60 percent and exceeds the central controller utilization rate of the access point A1, the management server informs the access point A1 to allow the user to access; if the management server detects that the central controller utilization rate of the access point a2 is 40% and is lower than that of the access point a1, the management server informs the access point a1 to reject the user access, and the user will try to access the access point a2, so as to achieve the purpose of load balancing. When the utilization rate of other resources reaches the threshold value, the processing mode is the same as the principle.
As shown in fig. 2, a load balancing method based on resource utilization, applied in the load balancing system based on resource utilization, includes the following steps:
s1, the access point receives the access request sent by the wireless terminal;
s2, the access point is used to judge whether the current resource utilization rate data exceeds the trigger array, if yes, the step S4 is executed; if not, go to step S3;
s3, the access point accesses the wireless terminal to the wireless local area network, and the process is finished;
s4, the access point sends the access request of the wireless terminal to the management server;
s5, the management server controls whether the access point related to the access request accepts the access request of the wireless terminal according to the current resource utilization data of the plurality of access points.
In this embodiment, the access point in the load balancing method based on resource utilization compares the current resource utilization data with a preset trigger array to determine whether the resource utilization exceeds a corresponding threshold in the trigger array, and if so, sends an access request to the management server for load balancing, which can support setting of different types of WIFI devices in the same wireless local area network to achieve the purpose of load balancing.
In a preferred embodiment, the resource utilization data includes the parameters: the access point central controller utilization rate, and/or the access point memory utilization rate, and/or the access point broadband utilization rate, and/or the access point access wireless terminal capacity utilization rate.
In a preferred embodiment, the trigger array includes parameter thresholds of: a central controller utilization threshold corresponding to a central controller utilization of the access point, and/or a memory utilization threshold corresponding to a memory utilization of the access point, and/or a broadband utilization threshold corresponding to a broadband utilization of the access point, and/or a capacity utilization threshold corresponding to a capacity utilization of the access point for accessing the wireless terminal.
In this embodiment, resource utilization rate data and a trigger array are used to flexibly configure threshold values of a load balancing threshold for a central controller utilization rate, a memory utilization rate, a bandwidth utilization rate, and a capacity utilization rate of an access wireless terminal, respectively, and when the resource utilization rate of one resource reaches the configured threshold value of the load balancing threshold, a load balancing process is triggered, that is, an access point sends an access request to a management server, and the management server controls whether the access point associated with the access request accepts the access request of the wireless terminal according to current resource utilization rate data of all access points.
In a preferred embodiment, step S5 includes:
s51, the management server receives the current resource utilization rate data of a plurality of access points and/or access requests;
s52, the management server judges whether there is an access point which does not exceed the trigger array in the current resource utilization rate data, if yes, the step S53 is executed; if not, go to step S54;
s53, the management server controls the access point relative to the access request to reject the wireless terminal to access the wireless local area network, and the process is finished;
and S54, the management server controls the access point related to the access request to access the wireless terminal to the wireless local area network, and the process is finished.
In this embodiment, the management server issues the set trigger array to each access point. After the access point operates, the current resource utilization rate data of the management server can be reported regularly. And when one of the resource utilization rate data of the access point reaches a corresponding parameter threshold value, triggering a load balancing function. And when the load balancing function is triggered, all access requests for accessing the access point are sent to the management server, and whether the wireless terminal is allowed to access is judged. The management server comprehensively considers all information in the resource utilization rate data, and if the resource utilization rate of the access point triggering load balancing is the minimum in all the access points, the wireless terminal is allowed to access the access point; if not, the wireless terminal is denied access to the access point and the wireless terminal will then attempt to access other less loaded access points.
In a preferred embodiment, in step S3, when at least one parameter value in the current resource utilization data exceeds the corresponding parameter threshold in the trigger array, the access point sends an access request of the wireless terminal to the management server;
in step S5, the management server determines whether at least one parameter value in the current resource utilization data exceeds a corresponding parameter threshold in the trigger array for the plurality of access points, and when all parameter values in the current resource utilization data in the plurality of access points do not exceed all parameter thresholds in the trigger array, the management server controls the access point associated with the access request to reject the wireless terminal to access the wireless lan, or
When the current resource utilization rate data of the plurality of access points exceed the access points of the trigger array, the management server controls the access points related to the access request to accept the wireless terminal to access the wireless local area network.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.