WO2016015343A1 - Load balancing method and apparatus, routing device and user equipment - Google Patents

Load balancing method and apparatus, routing device and user equipment Download PDF

Info

Publication number
WO2016015343A1
WO2016015343A1 PCT/CN2014/083576 CN2014083576W WO2016015343A1 WO 2016015343 A1 WO2016015343 A1 WO 2016015343A1 CN 2014083576 W CN2014083576 W CN 2014083576W WO 2016015343 A1 WO2016015343 A1 WO 2016015343A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
load
user equipment
access
routing device
Prior art date
Application number
PCT/CN2014/083576
Other languages
French (fr)
Chinese (zh)
Inventor
姚新正
桂永林
赵阳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/083576 priority Critical patent/WO2016015343A1/en
Publication of WO2016015343A1 publication Critical patent/WO2016015343A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a load balancing method, device, routing device, and user equipment. Background technique
  • some Wi-Fi routing devices can support two frequency bands, that is, the same Wi-Fi routing device includes Wi-Fi access points (APs) operating in two frequency bands respectively.
  • Wi-Fi access points APs
  • Wi-Fi station Wi-Fi Station
  • the user cannot know that the routing device can also provide other APs with the same available wireless network service, even if other Wi-Fi access points in the routing device have a margin. It cannot be fully utilized. As a result, the Wi-Fi AP resources on the routing device are wasted, and the stability and access speed of the user equipment to access the wireless network cannot be guaranteed.
  • the embodiment of the invention provides a load balancing method, a device, a routing device, and a user equipment, so as to solve the waste of Wi-Fi AP resources on the routing device existing in the prior art, and cannot guarantee the user equipment. Access to wireless network stability and access speed issues.
  • the embodiment of the present invention provides a load balancing method, where the method includes: determining a first Wi-Fi access point of a routing device accessed by a user equipment or requesting access; when determining the first When the load of the Wi-Fi access point reaches the corresponding load threshold, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold;
  • the indication message is used to instruct the user equipment to switch to one of the second Wi-Fi access points; and send the indication message to the user equipment.
  • the method before determining that the at least one second Wi-Fi access point whose load quantity does not reach the corresponding load threshold, determining that the user equipment is connected or After the first Wi-Fi access point of the routing device that requests the access, the method includes: acquiring a load quantity of each Wi-Fi access point of the routing device;
  • determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold includes:
  • the load of each Wi-Fi access point of the routing device is periodically acquired
  • the threshold if the load threshold is reached, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • the indication information is used to indicate the The user equipment switches to a Wi-Fi access point with the smallest load in the second Wi-Fi access point.
  • the method further includes:
  • the user equipment performs access target Wi-Fi access according to the received request message.
  • Point switching pre-processing operations including:
  • the WPS process is set up based on the request message to initiate the wireless protection of the routing device.
  • the determined each of the Wi-Fi access points includes: data traffic of each Wi-Fi access point within a predetermined time period and/or number of access users of each Wi-Fi access point.
  • the present invention also provides a load balancing method, the method comprising:
  • the second Wi-Fi access point including the routing device determining the first Wi- When the load of the Fi access point reaches the corresponding load threshold, it is determined that at least one of the routing devices does not reach the corresponding load threshold Wi-Fi access point.
  • the method includes: feeding back a request message to the routing device, where the request message carries a target Wi-Fi access point The information is used to request the routing device to perform a handover pre-processing operation on the user equipment for the access target Wi-Fi access point.
  • the requesting the message to the routing device includes:
  • the method further includes:
  • determining, according to the received indication message, switching to a target Wi- in the second Wi-Fi access point After the access point is fed back to the routing device the method further includes:
  • the feeding back the request message to the routing device includes:
  • the method further includes:
  • an embodiment of the present invention further provides a load balancing apparatus, where the apparatus includes: a determining module, configured to determine, by a user equipment, a first routing device that is accessed or requested to access
  • a Wi-Fi access point when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold, determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold;
  • a generating module configured to generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points;
  • a sending module configured to send an indication message generated by the generating module to the user equipment.
  • the acquiring module is further included:
  • the load of each Wi-Fi access point of the routing device is obtained. ;
  • the determining module is configured to: determine, according to a load quantity of each Wi-Fi access point acquired by the acquiring module, a load quantity of the first Wi-Fi access point that the user equipment accesses or requests to access Whether the corresponding load threshold is reached, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • the method further includes: acquiring a module, configured to periodically acquire a load quantity of each Wi-Fi access point;
  • the determining module is further configured to: after determining, by the user equipment, the first Wi-Fi access point that is accessed or requested to access, according to the load of each Wi-Fi access point that is acquired by the acquiring module Determining whether the load of the Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, determining that at least one load quantity does not reach the corresponding load threshold. The second Wi-Fi access point.
  • the indication message generated by the generating module is used for Instructing the user equipment to switch to a Wi-Fi access point with the least amount of load in the second Wi-Fi access point.
  • the embodiment of the present invention further provides a load balancing device, where the device includes: a control module, configured to control a first wireless fidelity Wi-Fi connection that the user equipment accesses or requests to access to the routing device. Entry point
  • a receiving module configured to receive an indication message sent by the routing device
  • a determining module configured to determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the routing device Determine When the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined one of the routing devices does not reach the corresponding load threshold Wi-Fi access point.
  • the device further includes: a sending module, configured to determine, by the determining module, to switch to the second Wi-Fi access according to the received indication message After the target Wi-Fi access point of the point, the request message is fed back to the routing device, where the request message carries the information of the target Wi-Fi access point determined by the determining module to request the route.
  • the device performs a handover pre-processing operation on the user equipment to access the target Wi-Fi access point.
  • the embodiment of the present invention further provides a routing device, where the routing device includes: at least two wireless fidelity Wi-Fi access points, each of the Wi-Fi access points having a corresponding load threshold ;
  • a processor configured to determine a first Wi-Fi access point of the routing device that is accessed by the user equipment or requested to access, when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold Determining, by the second Wi-Fi access point that the at least one load does not reach the corresponding load threshold, and generating an indication message, the indication message is used to indicate that the user equipment switches to the second Wi-Fi access point One of them;
  • transceiver configured to send an indication message generated by the processor to the user equipment.
  • the processor is specifically configured to:
  • the load of the Wi-Fi access point determines whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold, and if the load threshold is reached And determining, at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold.
  • the processor is specifically configured to:
  • each Wi-Fi access point Periodically obtaining the load of each Wi-Fi access point, and determining, according to the latest acquired load quantity of each Wi-Fi access point, the first access or requesting access by the user equipment Whether the load of the Wi-Fi access point reaches a corresponding load threshold, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • a third possible implementation manner of the fifth aspect Instructing the user equipment to switch to information of a Wi-Fi access point with the smallest load in the second Wi-Fi access point.
  • the embodiment of the present invention further provides a user equipment, where the user equipment includes: a processor, configured to control a first wireless fidelity Wi-Fi connection that the user equipment accesses or requests to access to the routing device. Entry point
  • a transceiver configured to receive an indication message sent by the routing device
  • the processor is further configured to: determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the When the routing device determines that the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined at least one of the routing devices does not reach the corresponding load-decoding Wi-Fi access point.
  • the transceiver is further configured to:
  • the processor determines to switch to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, feeding back a request message to the routing device, where the request message carries And the information about the target Wi-Fi access point is requested to request the routing device to perform a handover pre-processing operation on the access target Wi-Fi access point of the user equipment.
  • the load balancing method, the device, the routing device, and the user equipment provided by the embodiment of the present invention, the user equipment accesses or requests access to a Wi-Fi access point of the routing device, and the routing device determines that the user equipment is connected by detecting When the load of the incoming or requested Wi-Fi access point reaches its corresponding load threshold, an indication message is sent to the user equipment.
  • the user equipment can know that the current access Wi-Fi access point is overloaded according to the received indication message.
  • the user equipment can learn that the routing device can provide other APs that are equally available wireless network services according to the information of the Wi-Fi access point that is not in the received load threshold and that does not reach the predetermined load threshold.
  • User equipment can be loaded from A Wi-Fi access point that reaches a predetermined load threshold selects a Wi-Fi access point to access, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid the crowded Wi-Fi access. Points can also avoid conflicts with other user equipments, ensure the stability of user equipment access to wireless network resources, prevent the occurrence of dropped calls, thereby improving the speed at which user equipment accesses the wireless network, and making access to wireless network resources unimpeded.
  • FIG. 1 is a schematic diagram of a routing device according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a user equipment according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a load balancing method according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of a load balancing method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of a load balancing apparatus according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic diagram of a load balancing apparatus according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic diagram of another routing device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another user equipment according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a load balancing method according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic diagram of a load balancing method according to Embodiment 4 of the present invention. detailed description
  • the embodiment of the invention provides a load balancing method, a device, a routing device, and a user equipment, which solves the waste of Wi-Fi AP resources on the routing device existing in the prior art, and cannot ensure the stability and access of the user equipment to the wireless network. Speed problem.
  • the routing device includes: at least two wireless fidelity Wi-Fi access points (FIG. 1 only includes two Wi-Fi access points by the routing device) For example, Wi-Fi access points 100a and 100b), each Wi-Fi access point can support the load of the load has a corresponding load threshold;
  • the processor 101 is configured to determine a first Wi-Fi access point of the routing device that is accessed by the user equipment or requested to access, when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold. And determining, by the second Wi-Fi access point that the at least one load does not reach the corresponding load value; and generating an indication message, the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points.
  • the first Wi-Fi access point of the routing device accessed by the user equipment indicates that: the user equipment has accessed the first Wi-Fi access point of the routing device, that is, the user equipment has been connected to the first Wi-Fi.
  • the access point is connected.
  • the first Wi-Fi access point of the routing device that the user equipment requests to access indicates that the user equipment requests access to the first Wi-Fi access point of the routing device, but the routing device has not passed the authentication, and the user equipment has not yet Connected to the first Wi-Fi access point.
  • one Wi-Fi access point of the routing device can correspond to one frequency band.
  • it can also be a frequency band corresponding to multiple Wi-Fi access points.
  • the transceiver 102 is configured to send an indication message generated by the processor 101 to the user equipment.
  • Each of the foregoing access points for the routing device may be configured with different load thresholds, or only one common load threshold may be set for all access points. If multiple Wi-Fi access points are included for one frequency band, the access points corresponding to the frequency band may set a common load threshold.
  • the embodiment of the present invention is not specifically limited.
  • the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points, and the information of the Wi-Fi access point that does not reach the corresponding load threshold may be carried.
  • the information of the Wi-Fi access point that the at least one load quantity does not reach the corresponding load threshold may be, but is not limited to, the name and load quantity of the Wi-Fi access point including the load quantity not reaching the corresponding load threshold. And so on.
  • the above load threshold may be, but is not limited to, a maximum load that the Wi-Fi access point can carry or a predetermined load threshold that is less than the maximum load.
  • the embodiment of the present invention provides a routing device.
  • the routing device determines, by detecting, the Wi that the user equipment accesses or requests to access.
  • the load of the Fi access point reaches the corresponding load threshold, determining that at least one load does not reach the corresponding load threshold Wi-Fi access, and then generating an indication message, and sending an indication message to the user equipment
  • the user equipment may Know the current access according to the indication message received by the user equipment.
  • the Wi-Fi access point requesting access is overloaded.
  • the user equipment can learn, according to the received indication message, the APs of other equally available wireless network services that the routing device can provide.
  • the user equipment can select a Wi-Fi access point from at least one Wi-Fi access point whose load quantity does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can Directly avoiding crowded Wi-Fi access points, it can also avoid conflicts with other user equipments, ensure the stability of user equipment access to wireless network resources, prevent the occurrence of dropped calls, and improve the access of user equipment to wireless networks. Speed, making access to wireless network resources unimpeded.
  • the load quantity of the Wi-Fi access point that the user equipment accesses or requests to access and the load quantity of the Wi-Fi access point that does not reach the corresponding load threshold may be processed by the processor in the routing device.
  • the load of each Wi-Fi access point of the routing device is obtained, and according to each acquired Wi
  • the load of the Fi access point determines whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, at least one load is determined. The second Wi-Fi access point whose amount does not reach the corresponding load threshold.
  • the data traffic of each Wi-Fi access point of the routing device in a predetermined time period and/or the number of access users of each Wi-Fi access point may be obtained by using each Wi-Fi of the routing device respectively.
  • the data traffic of the access point and/or the number of access users determine the corresponding load.
  • the routing device is set up with two Wi-Fi access points.
  • the routing device obtains the data traffic of the two Wi-Fi access points for a predetermined period of time and/or the number of access users of the current time of the two Wi-Fi access points.
  • the amount of load of the Wi-Fi access point is determined according to the acquired data traffic of the Wi-Fi access point and/or the number of access users.
  • the second implementation manner periodically acquires the load of each Wi-Fi access point of the routing device.
  • the processor 101 periodically acquires the load of each Wi-Fi access point, and determines After the first Wi-Fi access point that is accessed by the user equipment or requested to be accessed, the user equipment is determined to access or request access according to the latest acquired capacity of each Wi-Fi access point. Whether the load of the first Wi-Fi access point reaches a corresponding load threshold, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • the load of each Wi-Fi access point of the routing device is obtained every 5 minutes in a 5-minute cycle.
  • the data traffic of the Wi-Fi access point of the routing device in the 5 minutes or the number of access users of each Wi-Fi access point at the current time is counted every 5 minutes, thereby determining each Wi-Fi connection.
  • the amount of load at the moment is obtained every 5 minutes in a 5-minute cycle.
  • the indication message generated by the processor is used to indicate that the user equipment switches to a Wi-Fi access point with the smallest load in the second Wi-Fi access point.
  • the processor 101 in the routing device may select to sort the acquired load of each Wi-Fi access point in the routing device; thereby obtaining information of the Wi-Fi access point with the smallest load.
  • the information of the Wi-Fi access point with the smallest load may be carried in the indication message, where the indication message is used to indicate that the user equipment switches to the Wi-Fi access point with the smallest load in the second Wi-Fi access point. .
  • the transceiver 102 in the routing device is further configured to: after receiving the indication message to the user equipment, receive the user equipment to switch to one of the second Wi-Fi access points. -A request message fed back after the access point, the request message carrying information of the target Wi-Fi access point; the processor 101 accessing the target device Wi-Fi according to the request message received by the transceiver 102 Switching pre-processing operation of the access point.
  • the handover pre-processing operation of the access target wi-Fi access point to the user equipment is a preparation for performing a true access to the target wi-Fi access point. For example, get password information or start WPS process and so on.
  • the processor 101 is configured to:
  • the password information required to access the target Wi-Fi access point is sent to the user equipment. or, The WPS process of setting the wireless protection of the routing device according to the request message is started.
  • the password information may be, but is not limited to, a username and password including the target Wi-Fi access point.
  • the embodiment of the present invention further provides a user equipment. As shown in FIG. 2, the apparatus includes: a processor 201, configured to control a first Wi-Fi access point that the user equipment accesses or requests to access to the routing device. ;
  • the transceiver 202 is configured to receive an indication message sent by the routing device.
  • the processor 201 is further configured to: determine, according to the indication message received by the transceiver 202, whether to switch to a target Wi-Fi access point in the second Wi-Fi access point, where the second Wi-Fi access point includes a route When the device determines that the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined at least one of the routing devices does not reach the Wi-Fi access point of the corresponding load threshold.
  • the user equipment provided by the embodiment of the present invention when accessing or requesting access to a Wi-Fi access point of the routing device, receives an indication message sent by the routing device, and according to the indication message, determines that Wi-Fi needs to be performed.
  • the user equipment may determine, according to the received indication message, that the Wi-Fi access point whose other load quantity does not reach its corresponding load threshold is accessed. That is, the user can know that the current access Wi-Fi access point is overloaded according to the indication message received by the user equipment.
  • the user equipment can learn from the received indication message that the routing device can provide other APs that are equally available wireless network services.
  • the user equipment can select a Wi-Fi access point to access from a Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid Congested Wi-Fi access points can also avoid conflicts with other user equipments, ensure the stability of user equipment access to the wireless network, prevent the occurrence of dropped calls, and improve the speed of user equipment access to the wireless network, enabling access. Wireless network resources are unimpeded.
  • the transceiver 202 feeds back a request message to the routing device, where the request message carries information of the target Wi-Fi access point, to request the routing device to perform handover pre-processing on the access target Wi-Fi access point of the user equipment. operating.
  • the transceiver 202 is specifically configured to feed back, to the routing device, a request message for requesting to obtain the password information of the target Wi-Fi access point; and the transceiver 202 responds to the target according to the routing device after receiving the request message.
  • the password information of the Wi-Fi access point, the processor 201 is based on the transceiver 202.
  • the received password information of the target Wi-Fi access point controls the user equipment to access the target Wi-Fi access point.
  • the transceiver 202 is specifically configured to send, to the routing device, a request message for requesting to initiate a WPS process corresponding to the target Wi-Fi access point; and the processor 201 determines to switch to the second Wi-Fi according to the received indication message.
  • the WPS process of the user equipment is started; and the user is controlled according to the WPS process of the activated user equipment and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device.
  • the device is connected to the target Wi-Fi access point.
  • the functions of the transceiver 201 and the processor 202 may also be implemented by an application (Application, APP) software installed on the user equipment.
  • application Application, APP
  • the embodiment of the present invention further provides a load balancing method. As shown in FIG. 3, the method includes:
  • Step 301 Determine a first Wi-Fi access point of the routing device accessed by the user equipment or requested to access.
  • the first Wi-Fi access point of the routing device accessed by the user equipment indicates that: the user equipment has accessed the first Wi-Fi access point of the routing device, that is, the user equipment has been connected to the first Wi-Fi.
  • the access point is connected.
  • the first Wi-Fi access point of the routing device that the user equipment requests to access indicates that the user equipment requests access to the first Wi-Fi access point of the routing device, but the routing device has not passed the authentication, and the user equipment has not yet Connected to the first Wi-Fi access point.
  • one Wi-Fi access point of the routing device can correspond to one frequency band.
  • it can also be a frequency band corresponding to multiple Wi-Fi access points.
  • Step 302 When it is determined that the load quantity of the first Wi-Fi access point reaches a corresponding load threshold, determine that the at least one second Wi-Fi access point whose load quantity does not reach the corresponding load threshold is determined;
  • each access point for the routing device can set different load thresholds. It is also possible to set only one common load threshold for all access points. If multiple Wi-Fi access points are included for one frequency band, the access points corresponding to the frequency band may have a common load threshold.
  • the embodiment of the present invention is not specifically limited.
  • the indication message is used to indicate that the user equipment switches to the second Wi-Fi access point.
  • the information of the Wi-Fi access point that the at least one load quantity does not reach the corresponding load threshold may be carried in the indication message, where the at least one load quantity does not reach the corresponding load threshold of the Wi-Fi access point.
  • the information may include, but is not limited to, information such as the name of the Wi-Fi access point whose load amount does not reach the corresponding load threshold, the amount of load, and the like.
  • the above load threshold may be, but is not limited to, a maximum load that the Wi-Fi access point can carry or a predetermined load threshold that is less than the maximum load.
  • Step 303 Generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points.
  • Step 304 Send the generated indication message to the user equipment.
  • the load balancing method provided by the embodiment of the present invention may be performed by a routing device.
  • the embodiment of the present invention provides a method, when the user equipment accesses a Wi-Fi access point of the routing device, the routing device determines, by detecting, the Wi-Fi access point that the user equipment accesses or requests to access. When the load reaches its corresponding load threshold, it determines that at least one Wi-Fi access whose load does not reach the corresponding load threshold, and then generates an indication message and sends it to the user equipment.
  • the user can know that the currently accessed or requested Wi-Fi access point is overloaded according to the indication message received by the user equipment.
  • the user equipment can learn, according to the received indication message, that the routing device can provide other APs with the same available wireless network service.
  • the user equipment can select a Wi-Fi access point to access from at least one Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly Avoiding crowded Wi-Fi access points can also avoid conflicts with other user equipments, ensure the stability of wireless network resources, prevent the occurrence of dropped calls, and improve the speed of user equipment access to enhance the wireless network, enabling access. Wireless network resources are unimpeded.
  • the manner of determining the load of the Wi-Fi access point of the routing device may be specifically, but not limited to, implemented in the following manner:
  • step 301 determines the first of the routing devices that the user equipment accesses or requests to access. After the wireless fidelity Wi-Fi access point, the load of each Wi-Fi access point of the routing device is obtained. Then, when it is determined that the load of the first Wi-Fi access point reaches the load threshold, determining that the at least one load does not reach the second Wi-Fi access point corresponding to the load threshold, specifically:
  • the data traffic of each Wi-Fi access point of the routing device in a predetermined time period and/or the number of access users of each Wi-Fi access point may be obtained by using each Wi-Fi of the routing device respectively.
  • the data traffic of the access point and/or the number of access users determine the corresponding amount of load.
  • the routing device is set up with two Wi-Fi access points.
  • the routing device obtains the data traffic of the two Wi-Fi access points for a predetermined period of time and/or the number of access users of the current time of the two Wi-Fi access points.
  • the amount of load of the Wi-Fi access point is determined according to the acquired data traffic of the Wi-Fi access point and/or the number of access users.
  • the second implementation manner periodically acquires the load of each Wi-Fi access point of the routing device. Then, when it is determined that the load of the first Wi-Fi access point reaches the load threshold, determining that the at least one load does not reach the second Wi-Fi access point corresponding to the load threshold, specifically:
  • the threshold determines at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • the data traffic of each Wi-Fi access point of the routing device in a predetermined period of time and/or the number of access users of each Wi-Fi access point are obtained every other cycle; according to each Wi- of the routing device
  • the data traffic of the Fi access point and/or the number of access users determine the amount of load of its corresponding Wi-Fi access point.
  • the load of each Wi-Fi access point of the routing device is obtained every 5 minutes in a 5-minute cycle. Then, every 5 minutes, the data traffic of each Wi-Fi access point of the routing device in the 5 minutes or the number of access users of each Wi-Fi access point at the current time is counted, thereby determining each Wi-Fi access point. The amount of load at this moment.
  • the foregoing indication message is used to indicate a user setting.
  • the switch is switched to the information of the Wi-Fi access point with the smallest load in the second Wi-Fi access point.
  • the load of each Wi-Fi access point of the obtained routing device is sorted, so that the information of the Wi-Fi access point with the smallest load is obtained.
  • the information of the Wi-Fi access point with the smallest load is carried in the indication message, where the indication message is used to indicate that the user equipment switches to the second
  • the Wi-Fi access point with the least amount of load in the Wi-Fi access point.
  • the method further includes:
  • the foregoing according to the foregoing request message, performing a handover pre-processing operation on the access target Wi-Fi access point of the user equipment, specifically:
  • the WPS process is set up based on the request message to initiate the wireless protection of the routing device.
  • the password information may be, but is not limited to, a username and password including the target Wi-Fi access point.
  • the embodiment of the present invention further provides a load balancing method. As shown in FIG. 4, the method includes:
  • Step 401 Accessing or requesting access to the first Wi-Fi access point of the routing device.
  • Step 402 Receive an indication message sent by the routing device.
  • Step 403 Determine, according to the received indication message, whether to switch to a target Wi-Fi access point in the second Wi-Fi access point, where the second Wi-Fi access point includes the foregoing routing device in determining the first Wi When the load of the Fi access point reaches the corresponding load threshold, it is determined that at least one of the routing devices does not reach the corresponding load threshold of the Wi-Fi access point.
  • the load balancing method receives an indication message sent when accessing or requesting access to a Wi-Fi access point of the routing device, and determines that Wi-Fi needs to be performed according to the indication message.
  • the user equipment can determine the access according to the received indication message.
  • Other Wi-Fi access points whose load does not reach their corresponding load threshold. That is, the user can know that the current access Wi-Fi access point is overloaded according to the indication message received by the user equipment.
  • the user equipment can select a target Wi-Fi access point to access from a Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid By opening a crowded Wi-Fi access point, it can also avoid conflicts with other user equipments, ensure the stability of wireless network resources, and prevent the occurrence of dropped calls, thereby improving the speed at which user equipment accesses wireless network resources and enabling wireless access. Network resources are unimpeded.
  • the method Before determining, according to the received indication message, whether to switch to a target Wi-Fi access point of the second Wi-Fi access point, determining to switch to the second Wi-Fi access point according to the received indication message After a target Wi-Fi access point, the method further includes:
  • the request message is fed back to the routing device, where the request message carries information of the target Wi-Fi access point, to request the routing device to perform a handover pre-processing operation on the access target Wi-Fi access point of the user equipment.
  • the request message is fed back to the routing device, including:
  • the method further includes: accessing or requesting access to the target Wi-Fi access point according to the password information of the target Wi-Fi access point delivered by the routing device;
  • the method further includes:
  • the requesting message is sent to the routing device, where the method includes: sending, to the routing device, a request message for requesting to initiate a WPS process corresponding to the target Wi-Fi access point;
  • the method further includes:
  • the embodiment of the present invention further provides a A load balancing device, wherein the device can be implemented by a routing device, as shown in FIG. 5, the device includes:
  • a determining module 501 configured to determine a first Wi-Fi access point that is accessed by the user equipment or requested to access; when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold, determining at least A second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • the generating module 502 is configured to generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points.
  • the sending module 503 is configured to send the indication message generated by the generating module 502 to the user equipment.
  • the device further includes an obtaining module, where the determining the load quantity of each Wi-Fi access point is implemented by acquiring in the device, and specifically, but not limited to, including:
  • the obtaining module obtains the load of each Wi-Fi access point of the routing device;
  • the determining module 501 is specifically configured to determine, according to the load quantity of each Wi-Fi access point acquired by the acquiring module, whether the load quantity of the first Wi-Fi access point that the user equipment accesses or requests to access reaches the corresponding The load threshold, if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
  • the obtaining module periodically acquires the load of each Wi-Fi access point
  • the determining module determines, according to the latest acquired load quantity of each Wi-Fi access point, the user equipment accesses or requests Whether the load of the accessed first Wi-Fi access point reaches a corresponding load threshold. If the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold is determined.
  • the indication message generated by the generating module 502 is used to indicate that the user equipment switches to the Wi-Fi with the smallest load in the second Wi-Fi access point. Access Point.
  • the foregoing apparatus further includes a receiving module and a switching pre-processing module:
  • a receiving module configured to: after the sending module 503 sends an indication message to the user equipment, receive, by the user equipment, a request message that is switched to a target Wi-Fi access point in the second Wi-Fi access point, and the request message carries Information of the target Wi-Fi access point;
  • the switching pre-processing module is configured to perform a handover pre-processing operation on the access target Wi-Fi access point to the user equipment according to the request message received by the receiving module.
  • the foregoing switching pre-processing module is specifically configured to:
  • the sending module 503 instructs the user equipment to send the password information required to access the target Wi-Fi access point;
  • the WPS process is set up based on the request message to initiate the wireless protection of the routing device.
  • the load of each Wi-Fi access point of the routing device acquired by the obtaining module 501 includes: data traffic and/or each of the Wi-Fi access points in a predetermined time period. The number of access users of the Wi-Fi access point.
  • the embodiment of the present invention further provides another load balancing apparatus, wherein the function of the apparatus may be implemented by a user equipment, or by an APP installed on the user equipment.
  • Software to implement, as shown in Figure 6, the device includes:
  • control module 601 configured to control a user equipment to access or request access to a first Wi-Fi access point in the routing device
  • the receiving module 602 is configured to receive an indication message sent by the routing device.
  • the determining module 603 is configured to determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the routing device When the load of a Wi-Fi access point reaches a corresponding load threshold, at least one of the determined routing devices does not reach the Wi-Fi access point of the corresponding load threshold.
  • the apparatus further includes a transmitting module: the determining module 603 cancels according to the received indication
  • the sending module is configured to feed back a request message to the routing device, where the request message carries the information of the target Wi-Fi access point.
  • the switching pre-processing operation of the access target Wi-Fi access point is performed on the user equipment by the request routing device.
  • the sending module is specifically configured to feed back, to the routing device, a request message for requesting to acquire password information of the target Wi-Fi access point;
  • the receiving module 602 is further configured to receive, by the routing device, password information of the target Wi-Fi access point that is fed back after receiving the request message;
  • the control module 601 is further configured to control, according to the password information of the target Wi-Fi access point received by the receiving module 602, the user equipment to access the target Wi-Fi access point.
  • the sending module is specifically configured to send, to the routing device, a request message for requesting to start a wireless protection setting WPS process corresponding to the target Wi-Fi access point;
  • the control module 601 is further configured to: after determining, by the determining module, that the switch to the target Wi-Fi access point of the second Wi-Fi access point is performed according to the received indication message, start the WPS process of the user equipment; The WPS process of the user equipment, and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device, controls the user equipment to access the target Wi-Fi access point.
  • the load balancing system includes: a user equipment (STA) and a routing device.
  • the user equipment and routing equipment support Wi-Fi working capacity in 2.4G and 5G bands.
  • the routing device includes two APs as an example. As shown in Figure 7, the two APs are the Wi-Fi AP corresponding to the 2.4G band and the Wi-Fi AP corresponding to the 5G band.
  • the Wi-Fi management module included in the routing device can implement the functions implemented by the processor and transceiver (or the load balancing device shown in FIG. 5) provided in the embodiment shown in FIG.
  • the user equipment may include a Wi-Fi management module for implementing the functions implemented by the transceiver and the processor (or the load balancing device shown in FIG. 6) in the embodiment shown in FIG.
  • the Wi-Fi management module of the user equipment can also be composed of one It is implemented in software, such as Huawei's Mobile Control software.
  • Step 901 The routing device determines that the Wi-Fi AP of the routing device accessed by the user equipment is a corresponding Wi-Fi AP in the 2.4G frequency band. Go to step 902.
  • a Wi-Fi AP in which the user equipment accesses the routing device is a Wi-Fi AP in the 2.4G frequency band is taken as an example for description.
  • the Wi-Fi AP of the routing device requested by the user equipment may be the corresponding Wi-Fi AP in the 2.4G frequency band.
  • the routing device obtains the load of the Wi-Fi AP in the 2.4G and 5G bands according to the statistics of the data traffic or the number of access users of the Wi-Fi AP in the 2.4G and 5G bands respectively.
  • Step 902 The routing device determines whether the Wi-Fi AP in the 2.4G frequency band that the user equipment is connected to meets the load threshold of the Wi-Fi AP. If yes, go to step 903. If no, go to step 904.
  • Step 903 The routing device determines the Wi-Fi AP in the 5G frequency band, generates an indication message, and sends an indication message to the user equipment.
  • the indication message carries the information of the Wi-Fi access point of the 5G frequency band, and is used to indicate that the user equipment switches to the Wi-Fi AP of the 5G frequency band.
  • the indication message indicates that the Wi-Fi AP of the 2.4G band accessed by the user equipment is overloaded. Go to step 905.
  • Step 904 The user equipment remains connected unchanged.
  • Step 905 After receiving the indication message, the user equipment parses the message, and prompts the parsed information to the user. Go to step 906.
  • Step 906 The user equipment receives an indication of whether the user switches to the Wi-Fi AP in the 2.4G frequency band. If the handover is performed, go to step 907. If not, go to step 904.
  • Step 907 The user equipment sends a request message to the routing device to obtain a user name and password required for switching to the Wi-Fi access point of the 5G frequency band. Go to step 908.
  • Step 908 The routing device sends, to the user equipment, the user name and password required for switching to the Wi-Fi access point of the 5G frequency band according to the received request message. Go to step 909.
  • Step 909 After receiving the username and password, the user equipment actively disconnects the Wi-Fi access point of the currently connected frequency band, and initiates a connection request for accessing the Wi-Fi access point of the 5G frequency band, according to the obtained username and password. Connect to a Wi-Fi access point in the 5G band.
  • the load balancing system includes: a user equipment (STA) and a routing device. Both the user equipment and the routing equipment support Wi-Fi working capacity in the 2.4G and 5G bands.
  • the routing device includes two APs as an example. As shown in Figure 7, the two APs are the Wi-Fi AP corresponding to the 2.4G band and the Wi-Fi AP corresponding to the 5G band.
  • the routing device includes a Wi-Fi management module for implementing the functions implemented by the processor and the transceiver provided in the embodiment shown in FIG. 1 above.
  • the user equipment may include a Wi-Fi management module for implementing the functions implemented by the transceiver and processor in the embodiment shown in FIG. 2.
  • the user equipment also includes a 2.4G band Wi-Fi access module and a 5G band Wi-Fi access module for supporting Wi-Fi in the 2.4G and 5G bands.
  • the Wi-Fi management module of the user equipment can also be implemented by an APP software, such as Huawei's Mobile Control software.
  • Step 1001 The routing device determines that the Wi-Fi AP of the routing device accessed by the user equipment is a corresponding Wi-Fi AP in the 2.4G frequency band. Go to step 1002.
  • a Wi-Fi AP in which the user equipment accesses the routing device is a Wi-Fi AP in the 2.4G frequency band is taken as an example for description.
  • the Wi-Fi AP of the routing device requested by the user equipment may be the corresponding Wi-Fi AP in the 2.4G frequency band.
  • the routing device obtains the load of the Wi-Fi AP in the 2.4G and 5G bands according to the statistics of the data traffic or the number of access users of the Wi-Fi AP in the 2.4G and 5G bands respectively.
  • Step 1002 The routing device determines whether the Wi-Fi AP in the 2.4G band that is connected to the user equipment meets the load threshold corresponding to the Wi-Fi AP. If yes, go to step 1003. If no, go to step 1004.
  • Step 1003 The routing device determines a Wi-Fi AP in the 5G frequency band, generates an indication message, and sends an indication message to the user equipment.
  • the indication message carries information of a Wi-Fi access point in the 5G band.
  • the indication message indicates that the Wi-Fi AP of the 2.4G band accessed by the user equipment is overloaded. Go to step 1005.
  • Step 1004 The user equipment remains connected.
  • Step 1005 After receiving the indication message, the user equipment parses the message, and solves the problem. The information after the analysis is presented to the user. Go to step 1006.
  • Step 1006 The user equipment receives the indication of whether the user switches to the Wi-Fi AP in the 2.4G frequency band. If the handover is performed, go to step 1007. If not, go to step 1004.
  • Step 1007 The user equipment controls to start the WPS process, and sends a request message to the routing device. Go to step 1008.
  • Step 1008 The routing device starts the WPS process corresponding to the Wi-Fi AP in the 5G frequency band according to the received request message.
  • Step 1009 The user equipment completes access by using the WPS process corresponding to the Wi-Fi AP in the 5G frequency band initiated by the routing device by the enabled WPS.
  • the load balancing method, the device, the routing device, and the user equipment provided by the embodiment of the present invention, the user equipment accesses or requests access to a Wi-Fi access point of the routing device, and the routing device determines that the user equipment is connected by detecting When the load of the incoming or requested Wi-Fi access point reaches its corresponding load threshold, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold; and generating an indication message , sending an indication message to the user equipment.
  • the user equipment can know that the current access Wi-Fi access point is overloaded according to the received indication message.
  • the user equipment can learn that the routing device can provide other APs with the same available wireless network service according to the information of the Wi-Fi access point that does not reach the predetermined load threshold in the received indication message.
  • the user equipment can select a Wi-Fi access point to access from a Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid Congested Wi-Fi access points can also avoid conflicts with other user equipments, ensure the stability of user equipment access to wireless network resources, prevent the occurrence of dropped calls, and improve the speed at which user equipment accesses wireless networks. Access to wireless network resources is unimpeded.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • 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 device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

A load balancing method and apparatus, a routing device and a user equipment, which solve the problems in the prior art that Wi-Fi AP resources on the routing device are wasted and the stability and the visiting speed of the user equipment visiting a wireless network cannot be ensured. The method comprises: determining a first Wi-Fi access point of a routing device that a user equipment accesses or requests to access; when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold, determining at least one second Wi-Fi access point, the load of which does not reach the corresponding load threshold; generating an indication message, the indication message being used for instructing the user equipment to switch to one of the second Wi-Fi access points; and sending the indication message to the user equipment.

Description

一种负载均衡方法、 装置及路由设备、 用户设备  Load balancing method, device and routing device, user equipment
技术领域 Technical field
本发明涉及无线通信技术领域, 尤其涉及一种负载均衡方法、 装置及路 由设备、 用户设备。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a load balancing method, device, routing device, and user equipment. Background technique
随着第四代移动通信 (4rd-generation, 4G )技术以及无线路由设备的发 展, 为了接入的便捷性, 具有无线接入功能的移动无线保真(Mobile Wireless Fidelity , Mobile Wi-Fi )路由设备已经开始广泛使用。 当前大部分 Wi-Fi路由 设备以及用户设备还只是工作在 2.4G频段上, 使得 2.4G频段已经非常拥挤, 速率等性能受到影响, 尤其是在人流量多的地铁, 商场, 火车站等公共场所。 为解决拥挤问题, 可以通过增加 Wi-Fi路由设备工作的频段, 例如: 5G频段来 给予解决。  With the development of fourth-generation mobile communication (4rd-generation, 4G) technology and wireless routing equipment, Mobile Wireless Fidelity (Mobile Wi-Fi) routing with wireless access function for convenience of access Equipment has begun to be widely used. At present, most Wi-Fi routing devices and user equipments only work in the 2.4G frequency band, making the 2.4G frequency band very crowded, and the performance of the rate is affected, especially in public places such as subways, shopping malls, railway stations, etc. . In order to solve the congestion problem, it can be solved by increasing the frequency band in which the Wi-Fi routing device operates, for example, the 5G frequency band.
现有的技术中, 有些 Wi-Fi路由设备能够支持两个频段, 即同一台 Wi-Fi 路由设备包括分別工作在两个频段的 Wi-Fi接入点(Access Pomt, AP )。例如: 现有双频段 Wi-Fi路由设备, 具有支持 2.4G和 5G频段的 Wi-Fi接入点。 用户设 备(Wi-Fi Station, Wi-Fi STA )扫描到该 Wi-Fi路由设备的 2.4G和 /或 5G的 Wi-Fi AP后, 通过手工选择接入到扫描到的某个 Wi-Fi AP, 或者自动接入之前接入 时保存的某个 Wi-Fi AP。如果当前所选择的 Wi-Fi AP负载量较大时, 用户无法 获知该路由设备还可以提供其它同等可用无线网络服务的 AP, 即使该路由设 备中的其它 Wi-Fi接入点有余量, 也不能被充分利用。 导致路由设备上的 Wi-Fi AP资源浪费, 也无法保证用户设备访问无线网絡的稳定性及访问速度。 发明内容  In the prior art, some Wi-Fi routing devices can support two frequency bands, that is, the same Wi-Fi routing device includes Wi-Fi access points (APs) operating in two frequency bands respectively. For example: Existing dual-band Wi-Fi routing devices with Wi-Fi access points supporting 2.4G and 5G bands. After the Wi-Fi station (Wi-Fi Station) scans the 2.4G and/or 5G Wi-Fi AP of the Wi-Fi routing device, it manually selects to access the scanned Wi-Fi AP. , or automatically access a Wi-Fi AP that was saved when it was previously accessed. If the current selected Wi-Fi AP load is large, the user cannot know that the routing device can also provide other APs with the same available wireless network service, even if other Wi-Fi access points in the routing device have a margin. It cannot be fully utilized. As a result, the Wi-Fi AP resources on the routing device are wasted, and the stability and access speed of the user equipment to access the wireless network cannot be guaranteed. Summary of the invention
本发明实施例提供了一种负载均衡方法、 装置及路由设备、 用户设备, 以解决现有技术存在的路由设备上的 Wi-Fi AP资源浪费, 无法保证用户设备 访问无线网络的稳定性及访问速度的问题。 The embodiment of the invention provides a load balancing method, a device, a routing device, and a user equipment, so as to solve the waste of Wi-Fi AP resources on the routing device existing in the prior art, and cannot guarantee the user equipment. Access to wireless network stability and access speed issues.
第一方面, 本发明实施例提供了一种负载均衡方法, 该方法包括: 确定用户设备所接入的或者请求接入的路由设备的第一 Wi-Fi接入点; 当确定所述第一 Wi-Fi接入点的负载量达到对应的负载阁值时,确定至少 一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点;  In a first aspect, the embodiment of the present invention provides a load balancing method, where the method includes: determining a first Wi-Fi access point of a routing device accessed by a user equipment or requesting access; when determining the first When the load of the Wi-Fi access point reaches the corresponding load threshold, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold;
生成指示消息, 所述指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点的其中一个; 并发送所述指示消息给所述用户设备。  Generating an indication message, the indication message is used to instruct the user equipment to switch to one of the second Wi-Fi access points; and send the indication message to the user equipment.
结合第一方面, 在第一方面的第一种可能的实现方式中, 在确定至少一 个负载量未达到对应的负载阈值的第二 Wi-Fi接入点之前,确定用户设备所接 入的或者请求接入的路由设备的第一 Wi-Fi接入点之后, 包括: 获取所述路由 设备的各个 Wi-Fi接入点的负载量;  With reference to the first aspect, in a first possible implementation manner of the first aspect, before determining that the at least one second Wi-Fi access point whose load quantity does not reach the corresponding load threshold, determining that the user equipment is connected or After the first Wi-Fi access point of the routing device that requests the access, the method includes: acquiring a load quantity of each Wi-Fi access point of the routing device;
当确定所述第一 Wi-Fi接入点的负载量达到负载阈值时,确定至少一个负 载量未达到对应负载阈值的第二 Wi-Fi接入点, 包括:  When it is determined that the load of the first Wi-Fi access point reaches a load threshold, determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold includes:
根据获取的所述各个 Wi-Fi接入点的负载量,确定所述用户设备所接入的 或者请求接入的所述第一 Wi-Fi接入点的负载量是否达到对应的负载阈值,若 达到所述负载阈值, 则确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  Determining, according to the obtained load quantity of each of the Wi-Fi access points, whether the load quantity of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, it is determined that at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold.
结合第一方面, 在第一方面的第二种可能的实现方式中, 周期性获取所 述路由设备的各个 Wi-Fi接入点的负载量;  With reference to the first aspect, in a second possible implementation manner of the first aspect, the load of each Wi-Fi access point of the routing device is periodically acquired;
当确定所述第一 Wi-Fi接入点的负载量达到负载阈值时,确定至少一个负 载量未达到对应的负载阈值的第二 Wi-Fi接入点, 包括,  Determining, when the load of the first Wi-Fi access point reaches a load threshold, determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold,
根据最近一次获取的所述各个 Wi-Fi接入点的负载量,确定所述用户设备 所接入的或者请求接入的所述第一 Wi-Fi接入点的负载量是否达到对应的负 载阈值, 若达到所述负载阈值, 则确定至少一个负载量未达到对应的负载阈 值的第二 Wi-Fi接入点。  Determining whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load according to the load quantity of each of the Wi-Fi access points that is obtained last time. The threshold, if the load threshold is reached, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
结合第一方面及第一方面的第一种至第二种可能的实现方式中的任意一 种, 在第一方面的第三种可能的实现方式中, 所述指示信息用于指示所述用 户设备切换到所述第二 Wi-Fi接入点中负载量最小的 Wi-Fi接入点。 With reference to the first aspect, and any one of the first to the second possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the indication information is used to indicate the The user equipment switches to a Wi-Fi access point with the smallest load in the second Wi-Fi access point.
结合第一方面和第一方面的第一种至第三种可能的实现方式中的任意一 种, 在第一方面的第四种可能的实现方式中, 向所述用户设备发送指示消息 之后, 所述方法还包括:  With reference to the first aspect, and any one of the first to the third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, after the indication message is sent to the user equipment, The method further includes:
接收所述用户设备确定切换到所述第二 Wi-Fi接入点中的一个目标 Wi-Fi 接入点后反馈的请求消息, 所述请求消息中携带所述目标 Wi-Fi接入点的信 息;  Receiving, by the user equipment, a request message that is sent back to a target Wi-Fi access point of the second Wi-Fi access point, where the request message carries the target Wi-Fi access point Information
根据接收的请求消息,对所述用户设备进行接入目标 Wi-Fi接入点的切换 预处理操作。  And performing, according to the received request message, a handover pre-processing operation of the access target Wi-Fi access point to the user equipment.
结合第一方面的第四种可能的实现方式, 在第一方面的第五种可能的实 现方式中, 所述根据接收到的请求消息, 对所述用户设备进行接入目标 Wi-Fi 接入点的切换预处理操作, 具体包括:  With the fourth possible implementation of the first aspect, in a fifth possible implementation manner of the foregoing aspect, the user equipment performs access target Wi-Fi access according to the received request message. Point switching pre-processing operations, including:
根据接收到的请求消息,向所述用户设备发送接入目标 Wi-Fi接入点所需 的密码信息; 或者  Sending, to the user equipment, password information required to access the target Wi-Fi access point according to the received request message; or
根据请求消息启动路由设备的无线保护设置 WPS过程。  The WPS process is set up based on the request message to initiate the wireless protection of the routing device.
结合第一方面及第一方面的第一种至第五种可能的实现方式中的任意一 种,在第一方面的第六种可能的实现方式中,确定的各个 Wi-Fi接入点的负载 量包括: 各个 Wi-Fi接入点在预定时间段内的数据流量和 /或各个 Wi-Fi接入 点的接入用户数。  With reference to the first aspect and any one of the first to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner of the first aspect, the determined each of the Wi-Fi access points The load includes: data traffic of each Wi-Fi access point within a predetermined time period and/or number of access users of each Wi-Fi access point.
第二方面, 本发明还提供了一种负载均衡方法, 该方法包括:  In a second aspect, the present invention also provides a load balancing method, the method comprising:
接入到或者请求接入到路由设备中的第一 Wi-Fi接入点;  Accessing or requesting access to a first Wi-Fi access point in the routing device;
接收所述路由设备发送的指示消息;  Receiving an indication message sent by the routing device;
根据接收到的指示消息确定是否切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点, 所述第二 Wi-Fi接入点包括所述路由设备在确定第一 Wi-Fi接 入点的负载量达到对应的负载阈值时, 确定的所述路由设备中至少一个负载 量未达到对应的负载阔值的 Wi-Fi接入点。  Determining whether to switch to one of the second Wi-Fi access points according to the received indication message, the second Wi-Fi access point including the routing device determining the first Wi- When the load of the Fi access point reaches the corresponding load threshold, it is determined that at least one of the routing devices does not reach the corresponding load threshold Wi-Fi access point.
结合第二方面, 在第二方面的第一种可能的实现方式中, 根据接收到的 指示消息确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后, 包括: 向所述路由设备反馈请求消息,所述请求消息中携带目标 Wi-Fi接入点的 信息,以请求所述路由设备对所述用户设备进行接入目标 Wi-Fi接入点的切换 预处理操作。 In conjunction with the second aspect, in a first possible implementation of the second aspect, After the indication message determines to switch to a target Wi-Fi access point in the second Wi-Fi access point, the method includes: feeding back a request message to the routing device, where the request message carries a target Wi-Fi access point The information is used to request the routing device to perform a handover pre-processing operation on the user equipment for the access target Wi-Fi access point.
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实 现方式中, 向所述路由设备反馈请求消息, 具体包括:  With reference to the first possible implementation of the second aspect, in a second possible implementation manner of the second aspect, the requesting the message to the routing device includes:
向所述路由设备反馈用以请求获取目标 Wi-Fi接入点的密码信息的请求 消息;  And feeding back, to the routing device, a request message for requesting acquisition of password information of the target Wi-Fi access point;
所述方法还包括:  The method further includes:
根据所述路由设备下发的所述目标 Wi-Fi接入点的密码信息 ,接入到所述 目标 Wi-Fi接入点。  And accessing the target Wi-Fi access point according to the password information of the target Wi-Fi access point delivered by the routing device.
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实 现方式中,根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后, 向所述路由设备反馈请求消息之前, 所述方法还包括:  With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, determining, according to the received indication message, switching to a target Wi- in the second Wi-Fi access point After the access point is fed back to the routing device, the method further includes:
启动用户设备的无线保护设置 WPS过程;  Start the wireless protection setting of the user equipment WPS process;
所述向所述路由设备反馈请求消息, 具体包括:  The feeding back the request message to the routing device includes:
向所述路由设备发送用以请求启动目标 Wi-Fi接入点对应的无线保护设 置 WPS过程的请求消息;  Sending, to the routing device, a request message for requesting to initiate a wireless protection setting WPS process corresponding to the target Wi-Fi access point;
向所述路由设备反馈请求消息之后, 所述方法还包括:  After the request message is fed back to the routing device, the method further includes:
根据启动的所述用户设备的 WPS过程及所述路由设备启动的目标 Wi-Fi 接入点对应的 WPS过程, 接入到目标 Wi-Fi接入点。  And accessing the target Wi-Fi access point according to the initiated WPS process of the user equipment and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device.
第三方面, 本发明实施例还提供了一种负载均衡装置, 该装置包括: 确定模块, 用于确定用户设备所接入的或者请求接入的路由设备的第一 In a third aspect, an embodiment of the present invention further provides a load balancing apparatus, where the apparatus includes: a determining module, configured to determine, by a user equipment, a first routing device that is accessed or requested to access
Wi-Fi接入点;当确定所述第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点; a Wi-Fi access point, when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold, determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold;
生成模块, 用于生成指示消息, 所述指示消息用于指示所述用户设备切 换到所述第二 Wi-Fi接入点的其中一个; 发送模块, 用于将所述生成模块生成的指示消息发送给所述用户设备。 结合第三方面, 在第三方面的第一种可能的实现方式中, 还包括获取模 块: a generating module, configured to generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points; And a sending module, configured to send an indication message generated by the generating module to the user equipment. In conjunction with the third aspect, in a first possible implementation manner of the third aspect, the acquiring module is further included:
在所述确定模块确定至少一个负载量未达到对应的负载阈值的第二 Determining, at the determining module, that the at least one load amount does not reach the second of the corresponding load threshold
Wi-Fi接入点之前, 确定用户设备所接入的或者请求接入的路由设备的第一无 Wi-Fi接入点之后, 获取所述路由设备的各个 Wi-Fi接入点的负载量; Before determining the first Wi-Fi access point of the routing device that is accessed by the user equipment or requested to access the Wi-Fi access point, the load of each Wi-Fi access point of the routing device is obtained. ;
所述确定模块用于: 根据所述获取模块获取的各个 Wi-Fi接入点的负载 量,确定所述用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量是 否达到对应的负载阈值, 若达到所述负载阈值, 则确定至少一个负载量未达 到对应的负载阈值的第二 Wi-Fi接入点。  The determining module is configured to: determine, according to a load quantity of each Wi-Fi access point acquired by the acquiring module, a load quantity of the first Wi-Fi access point that the user equipment accesses or requests to access Whether the corresponding load threshold is reached, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
结合第三方面, 在第三方面的第二种可能的实现方式中, 还包括获取模 块, 用于周期性获取各个 Wi-Fi接入点的负载量;  With reference to the third aspect, in a second possible implementation manner of the third aspect, the method further includes: acquiring a module, configured to periodically acquire a load quantity of each Wi-Fi access point;
所述确定模块, 还用于在确定用户设备所接入的或者请求接入的第一 Wi-Fi接入点后, 根据所述获取模块最近一次获取的各个 Wi-Fi接入点的负载 量,确定所述用户设备所接入的或者请求接入的 Wi-Fi接入点的负载量是否达 到对应的负载阈值, 若达到所述负载阈值, 确定至少一个负载量未达到对应 的负载阈值的第二 Wi-Fi接入点。  The determining module is further configured to: after determining, by the user equipment, the first Wi-Fi access point that is accessed or requested to access, according to the load of each Wi-Fi access point that is acquired by the acquiring module Determining whether the load of the Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, determining that at least one load quantity does not reach the corresponding load threshold. The second Wi-Fi access point.
结合第三方面及第三方面的第一种至第二种可能的实现方式中的任意一 种, 在第三方面的第三种可能的实现方式中, 所述生成模块生成的指示消息 用于指示所述用户设备切换到所述第二 Wi-Fi接入点中负载量最小的 Wi-Fi 接入点。  With reference to the third aspect, and any one of the first to the second possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, the indication message generated by the generating module is used for Instructing the user equipment to switch to a Wi-Fi access point with the least amount of load in the second Wi-Fi access point.
第四方面, 本发明实施例还提供了一种负载均衡装置, 该装置包括: 控制模块, 用于控制用户设备接入到或者请求接入到路由设备中的第一 无线保真 Wi-Fi接入点;  In a fourth aspect, the embodiment of the present invention further provides a load balancing device, where the device includes: a control module, configured to control a first wireless fidelity Wi-Fi connection that the user equipment accesses or requests to access to the routing device. Entry point
接收模块, 用于接收所述路由设备发送的指示消息;  a receiving module, configured to receive an indication message sent by the routing device;
确定模块,用于根据接收到的指示消息确定是否切换到第二 Wi-Fi接入点 中的一个目标 Wi-Fi接入点,所述第二 Wi-Fi接入点包括所述路由设备在确定 第一 Wi-Fi接入点的负载量达到对应的负载阈值时,确定的所述路由设备中至 少一个负载量未达到对应的负载阔值的 Wi-Fi接入点。 a determining module, configured to determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the routing device Determine When the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined one of the routing devices does not reach the corresponding load threshold Wi-Fi access point.
结合第四方面, 在第四方面的第一种可能的实现方式中, 该装置还包括: 发送模块, 用于在所述确定模块根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后, 向所述路由设备反馈请求消息, 所述请求消息中携带所述确定模块确定出的目标 Wi-Fi接入点的信息,以请求 所述路由设备对所述用户设备进行接入目标 Wi-Fi接入点的切换预处理操作。  With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the device further includes: a sending module, configured to determine, by the determining module, to switch to the second Wi-Fi access according to the received indication message After the target Wi-Fi access point of the point, the request message is fed back to the routing device, where the request message carries the information of the target Wi-Fi access point determined by the determining module to request the route. The device performs a handover pre-processing operation on the user equipment to access the target Wi-Fi access point.
第五方面, 本发明实施例还提供了一种路由设备, 该路由设备包括: 至少两个无线保真 Wi-Fi接入点,每个所述 Wi-Fi接入点设有对应的负载 阈值;  In a fifth aspect, the embodiment of the present invention further provides a routing device, where the routing device includes: at least two wireless fidelity Wi-Fi access points, each of the Wi-Fi access points having a corresponding load threshold ;
处理器, 用于确定用户设备所接入的或者请求接入的路由设备的第一 Wi-Fi接入点,当确定所述第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点;并生成指示 消息,所述指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点的其 中一个;  a processor, configured to determine a first Wi-Fi access point of the routing device that is accessed by the user equipment or requested to access, when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold Determining, by the second Wi-Fi access point that the at least one load does not reach the corresponding load threshold, and generating an indication message, the indication message is used to indicate that the user equipment switches to the second Wi-Fi access point One of them;
收发器, 用于发送所述处理器生成的指示消息给所述用户设备。  And a transceiver, configured to send an indication message generated by the processor to the user equipment.
结合第五方面, 在第五方面的第一种可能的实现方式中, 所述处理器, 具体用于:  With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the processor is specifically configured to:
确定用户设备所接入的或者请求接入的路由设备的第一无线保真 Wi-Fi 接入点之后, 获取所述路由设备的各个 Wi-Fi接入点的负载量, 并根据获取的 各个 Wi-Fi接入点的负载量,确定所述用户设备所接入的或者请求接入的所述 第一 Wi-Fi接入点的负载量是否达到对应的负载阈值, 若达到所述负载阈值, 则确定至少一个负载量未达到对应的负载阔值的第二 Wi-Fi接入点。  After determining the first wireless fidelity Wi-Fi access point of the routing device accessed by the user equipment or requesting access, acquiring the load quantity of each Wi-Fi access point of the routing device, and according to each acquired The load of the Wi-Fi access point determines whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold, and if the load threshold is reached And determining, at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold.
结合第五方面, 在第五方面的第二种可能的实现方式中, 所述处理器, 具体用于:  With reference to the fifth aspect, in a second possible implementation manner of the fifth aspect, the processor is specifically configured to:
周期性获取各个 Wi-Fi接入点的负载量,并根据最近一次获取的所述各个 Wi-Fi 接入点的负载量, 确定所述用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阈值, 若达到所述负载阈值, 则确 定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。 Periodically obtaining the load of each Wi-Fi access point, and determining, according to the latest acquired load quantity of each Wi-Fi access point, the first access or requesting access by the user equipment Whether the load of the Wi-Fi access point reaches a corresponding load threshold, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
结合第五方面及第五方面的第一种至第二种可能的实现方式中的任意一 种, 在第五方面的第三种可能的实现方式中, 所述处理器生成的指示消息用 于指示所述用户设备切换到所述第二 Wi-Fi接入点中负载量最小的 Wi-Fi接入 点的信息。  With reference to the fifth aspect, and any one of the first to the second possible implementation manners of the fifth aspect, in a third possible implementation manner of the fifth aspect, Instructing the user equipment to switch to information of a Wi-Fi access point with the smallest load in the second Wi-Fi access point.
第六方面, 本发明实施例还提供了一种用户设备, 该用户设备包括: 处理器, 用于控制用户设备接入到或者请求接入到路由设备中的第一无 线保真 Wi-Fi接入点;  In a sixth aspect, the embodiment of the present invention further provides a user equipment, where the user equipment includes: a processor, configured to control a first wireless fidelity Wi-Fi connection that the user equipment accesses or requests to access to the routing device. Entry point
收发器, 用于接收所述路由设备发送的指示消息;  a transceiver, configured to receive an indication message sent by the routing device;
所述处理器还用于, 根据接收到的指示消息确定是否切换到第二 Wi-Fi 接入点中的一个目标 Wi-Fi接入点,所述第二 Wi-Fi接入点包括所述路由设备 在确定第一 Wi-Fi接入点的负载量达到对应的负载阈值时,确定的所述路由设 备中至少一个负载量未达到对应的负载阐值的 Wi-Fi接入点。  The processor is further configured to: determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the When the routing device determines that the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined at least one of the routing devices does not reach the corresponding load-decoding Wi-Fi access point.
结合第六方面, 在第六方面的第一种可能的实现方式中, 所述收发器, 还用于:  With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the transceiver is further configured to:
在所述处理器根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的 一个目标 Wi-Fi接入点后, 向所述路由设备反馈请求消息, 所述请求消息中携 带所述目标 Wi-Fi接入点的信息,以请求所述路由设备对所述用户设备进行接 入目标 Wi-Fi接入点的切换预处理操作。  After the processor determines to switch to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, feeding back a request message to the routing device, where the request message carries And the information about the target Wi-Fi access point is requested to request the routing device to perform a handover pre-processing operation on the access target Wi-Fi access point of the user equipment.
本发明实施例提供的负载均衡方法、 装置及路由设备、 用户设备, 用户 设备接入到或者请求接入到路由设备的某一个 Wi-Fi接入点,路由设备通过检 测确定该用户设备所接入的或者请求接入的 Wi-Fi接入点的负载量达到其对 应的负载阈值时, 向该用户设备发送指示消息。 用户设备可以根据接收到的 指示消息,知道当前接入 Wi-Fi接入点超载。用户设备可以根据接收到的指示 消息中携带的负载量未达到预定的负载阈值的 Wi-Fi接入点的信息,获知该路 由设备可以提供其它同等可用无线网络服务的 AP。 用户设备可以从负载量未 达到预定的负载阈值的 Wi-Fi接入点选择一个 Wi-Fi接入点来接入,从而避免 了路由设备上的 Wi-Fi AP资源浪费,用户可以直接避开拥挤的 Wi-Fi接入点, 也可以避免与其它用户设备发生冲突, 保证了用户设备访问无线网络资源的 稳定性, 防止掉线现象的发生, 从而提升了用户设备访问无线网络的速度, 使得访问无线网络资源畅通无阻。 附图说明 The load balancing method, the device, the routing device, and the user equipment provided by the embodiment of the present invention, the user equipment accesses or requests access to a Wi-Fi access point of the routing device, and the routing device determines that the user equipment is connected by detecting When the load of the incoming or requested Wi-Fi access point reaches its corresponding load threshold, an indication message is sent to the user equipment. The user equipment can know that the current access Wi-Fi access point is overloaded according to the received indication message. The user equipment can learn that the routing device can provide other APs that are equally available wireless network services according to the information of the Wi-Fi access point that is not in the received load threshold and that does not reach the predetermined load threshold. User equipment can be loaded from A Wi-Fi access point that reaches a predetermined load threshold selects a Wi-Fi access point to access, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid the crowded Wi-Fi access. Points can also avoid conflicts with other user equipments, ensure the stability of user equipment access to wireless network resources, prevent the occurrence of dropped calls, thereby improving the speed at which user equipment accesses the wireless network, and making access to wireless network resources unimpeded. DRAWINGS
图 1为本发明实施例提供的一种路由设备示意图;  FIG. 1 is a schematic diagram of a routing device according to an embodiment of the present disclosure;
图 2为本发明实施例提供的一种用户设备示意图;  2 is a schematic diagram of a user equipment according to an embodiment of the present invention;
图 3为本发明实施例一提供的一种负载均衡方法示意图;  FIG. 3 is a schematic diagram of a load balancing method according to Embodiment 1 of the present invention; FIG.
图 4为本发明实施例二提供的一种负载均衡方法示意图;  4 is a schematic diagram of a load balancing method according to Embodiment 2 of the present invention;
图 5为本发明实施例一提供的一种负载均衡装置示意图;  FIG. 5 is a schematic diagram of a load balancing apparatus according to Embodiment 1 of the present invention; FIG.
图 6为本发明实施例二提供的一种负载均衡装置示意图;  6 is a schematic diagram of a load balancing apparatus according to Embodiment 2 of the present invention;
图 7本发明实施例提供的另一种路由设备示意图;  FIG. 7 is a schematic diagram of another routing device according to an embodiment of the present invention;
图 8本发明实施例提供的另一种用户设备示意图;  FIG. 8 is a schematic diagram of another user equipment according to an embodiment of the present invention;
图 9为本发明实施例三提供的一种负载均衡方法示意图;  FIG. 9 is a schematic diagram of a load balancing method according to Embodiment 3 of the present invention; FIG.
图 10为本发明实施例四提供的一种负载均衡方法示意图。 具体实施方式  FIG. 10 is a schematic diagram of a load balancing method according to Embodiment 4 of the present invention. detailed description
本发明实施例提供了一种负载均衡方法、 装置及路由设备、 用户设备, 解决了现有技术存在的路由设备上的 Wi-Fi AP资源浪费, 无法保证用户设备 访问无线网络的稳定性及访问速度的问题。  The embodiment of the invention provides a load balancing method, a device, a routing device, and a user equipment, which solves the waste of Wi-Fi AP resources on the routing device existing in the prior art, and cannot ensure the stability and access of the user equipment to the wireless network. Speed problem.
下面结合附图对本发明实施例作具体说明。  The embodiments of the present invention will be specifically described below with reference to the accompanying drawings.
本发明实施例提供了一种路由设备, 如图 1所示, 该路由设备包括: 至少两个无线保真 Wi-Fi接入点(图 1仅以路由设备包括两个 Wi-Fi接入 点为例, Wi-Fi接入点 100a及 100b ), 每个 Wi-Fi接入点能够支持接入的负载 均有对应的负载阈值; 处理器 101 ,用于确定用户设备所接入的或者请求接入的路由设备的第一 Wi-Fi接入点, 当确定该第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确定至少一个负载量未达到对应的负载阁值的第二 Wi-Fi接入点;并生成指示 消息, 该指示消息用于指示用户设备切换到第二 Wi-Fi接入点的其中一个。 The embodiment of the present invention provides a routing device. As shown in FIG. 1 , the routing device includes: at least two wireless fidelity Wi-Fi access points (FIG. 1 only includes two Wi-Fi access points by the routing device) For example, Wi-Fi access points 100a and 100b), each Wi-Fi access point can support the load of the load has a corresponding load threshold; The processor 101 is configured to determine a first Wi-Fi access point of the routing device that is accessed by the user equipment or requested to access, when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold. And determining, by the second Wi-Fi access point that the at least one load does not reach the corresponding load value; and generating an indication message, the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points.
其中, 用户设备所接入的路由设备的第一 Wi-Fi接入点表示: 用户设备已 经接入到路由设备的第一 Wi-Fi接入点了,即用户设备已经与第一 Wi-Fi接入 点连接上。用户设备请求接入的路由设备的第一 Wi-Fi接入点表示: 用户设备 请求接入到路由设备的第一 Wi-Fi接入点,但是路由设备还没有认证通过, 该 用户设备还没有与第一 Wi-Fi接入点连接上。  The first Wi-Fi access point of the routing device accessed by the user equipment indicates that: the user equipment has accessed the first Wi-Fi access point of the routing device, that is, the user equipment has been connected to the first Wi-Fi. The access point is connected. The first Wi-Fi access point of the routing device that the user equipment requests to access indicates that the user equipment requests access to the first Wi-Fi access point of the routing device, but the routing device has not passed the authentication, and the user equipment has not yet Connected to the first Wi-Fi access point.
较佳的,路由设备的一个 Wi-Fi接入点可以对应一个频段。 当然还可以是 多个 Wi-Fi接入点对应一个频段。  Preferably, one Wi-Fi access point of the routing device can correspond to one frequency band. Of course, it can also be a frequency band corresponding to multiple Wi-Fi access points.
收发器 102, 用于发送处理器 101生成的指示消息给用户设备。  The transceiver 102 is configured to send an indication message generated by the processor 101 to the user equipment.
其中, 上述针对路由设备的每个接入点均可以设置不同的负载阈值, 也 可以针对所有接入点仅设置一个共同的负载阔值。 若针对一个频段包括多个 Wi-Fi接入点, 可以是该频段对应的接入点设置一个共同的负载阈值。 对此本 发明实施例不作具体限定。  Each of the foregoing access points for the routing device may be configured with different load thresholds, or only one common load threshold may be set for all access points. If multiple Wi-Fi access points are included for one frequency band, the access points corresponding to the frequency band may set a common load threshold. The embodiment of the present invention is not specifically limited.
其中,指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点的其 中一个,可以将上述至少一个负载量未达到对应的负载阈值的 Wi-Fi接入点的 信息携带在指示消息中, 该至少一个负载量未达到对应的负载阈值的 Wi-Fi 接入点的信息可以但不限于包括负载量未达到对应的负载阈值的 Wi-Fi接入 点的名称、 负载量等等信息。上述负载阈值可以但不限于是该 Wi-Fi接入点可 以承载的最大负载量或者是预定的小于该最大负载量的一个负载阈值。  The indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points, and the information of the Wi-Fi access point that does not reach the corresponding load threshold may be carried. In the indication message, the information of the Wi-Fi access point that the at least one load quantity does not reach the corresponding load threshold may be, but is not limited to, the name and load quantity of the Wi-Fi access point including the load quantity not reaching the corresponding load threshold. And so on. The above load threshold may be, but is not limited to, a maximum load that the Wi-Fi access point can carry or a predetermined load threshold that is less than the maximum load.
本发明实施例提供路由设备, 当用户设备接入到或者请求接入到路由设 备的某一个 Wi-Fi接入点时,该路由设备通过检测确定该用户设备接入的或者 请求接入的 Wi-Fi接入点的负载量达到对应的负载阈值时,确定至少一个负载 量未达到对应的负载阔值的 Wi-Fi接入, 然后生成指示消息, 并向用户设备发 送指示消息, 用户设备可以根据用户设备接收到的指示消息, 知道当前接入 或者请求接入的 Wi-Fi接入点超载。用户设备可以根据接收到的指示消息获知 该路由设备可以提供的其它同等可用无线网络服务的 AP。 用户设备可以从至 少一个负载量未达到预定的负载阔值的 Wi-Fi接入点选择一个 Wi-Fi接入点来 接入, 从而避免了路由设备上的 Wi-Fi AP资源浪费, 用户可以直接避开拥挤 的 Wi-Fi接入点,也可以避免与其它用户设备发生冲突,保证了用户设备访问 无线网络资源的稳定性, 防止掉线现象的发生, 从而提升了用户设备访问无 线网络的速度, 使得访问无线网络资源畅通无阻。 The embodiment of the present invention provides a routing device. When the user equipment accesses or requests access to a Wi-Fi access point of the routing device, the routing device determines, by detecting, the Wi that the user equipment accesses or requests to access. When the load of the Fi access point reaches the corresponding load threshold, determining that at least one load does not reach the corresponding load threshold Wi-Fi access, and then generating an indication message, and sending an indication message to the user equipment, the user equipment may Know the current access according to the indication message received by the user equipment. Or the Wi-Fi access point requesting access is overloaded. The user equipment can learn, according to the received indication message, the APs of other equally available wireless network services that the routing device can provide. The user equipment can select a Wi-Fi access point from at least one Wi-Fi access point whose load quantity does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can Directly avoiding crowded Wi-Fi access points, it can also avoid conflicts with other user equipments, ensure the stability of user equipment access to wireless network resources, prevent the occurrence of dropped calls, and improve the access of user equipment to wireless networks. Speed, making access to wireless network resources unimpeded.
可选的,上述用户设备接入的或者请求接入的 Wi-Fi接入点的负载量及未 达到对应的负载阈值的 Wi-Fi接入点的负载量可以通过路由设备中的处理器 第一种实现方式: 在确定用户设备接入到或者请求接入到路由设备的第 一 Wi-Fi 接入点之后, 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点之前, 获取路由设备的各个 Wi-Fi接入点负载量。  Optionally, the load quantity of the Wi-Fi access point that the user equipment accesses or requests to access and the load quantity of the Wi-Fi access point that does not reach the corresponding load threshold may be processed by the processor in the routing device. An implementation manner: after determining that the user equipment accesses or requests access to the first Wi-Fi access point of the routing device, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold Previously, the amount of Wi-Fi access point load of the routing device was obtained.
具体的, 在处理器 101 确定用户设备接入到或者请求接入到路由设备的 Wi-Fi接入点之后, 获取路由设备的各个 Wi-Fi接入点的负载量, 并根据获取 的各个 Wi-Fi接入点的负载量, 确定用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阈值, 若达到该负载阈值, 则确定 至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  Specifically, after the processor 101 determines that the user equipment accesses or requests access to the Wi-Fi access point of the routing device, the load of each Wi-Fi access point of the routing device is obtained, and according to each acquired Wi The load of the Fi access point determines whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, at least one load is determined. The second Wi-Fi access point whose amount does not reach the corresponding load threshold.
具体的,可以通过获取路由设备各个 Wi-Fi接入点在预定时间段内的数据 流量和 /或各个 Wi-Fi接入点的接入用户数; 并分别根据路由设备的每一个 Wi-Fi接入点的数据流量和 /或接入用户数来确定对应的负载量。  Specifically, the data traffic of each Wi-Fi access point of the routing device in a predetermined time period and/or the number of access users of each Wi-Fi access point may be obtained by using each Wi-Fi of the routing device respectively. The data traffic of the access point and/or the number of access users determine the corresponding load.
例如: 路由设备设置有两个 Wi-Fi 接入点。 路由设备获取这两个 Wi-Fi 接入点在预定的时间段内的数据流量和 /或这两个 Wi-Fi接入点的当前时刻的 接入用户数。 针对每一个 Wi-Fi接入点, 根据获取的该 Wi-Fi接入点的数据流 量和 /或接入用户数, 确定该 Wi-Fi接入点的负载量。  For example: The routing device is set up with two Wi-Fi access points. The routing device obtains the data traffic of the two Wi-Fi access points for a predetermined period of time and/or the number of access users of the current time of the two Wi-Fi access points. For each Wi-Fi access point, the amount of load of the Wi-Fi access point is determined according to the acquired data traffic of the Wi-Fi access point and/or the number of access users.
第二种实现方式: 周期性获取路由设备的各个 Wi-Fi接入点的负载量。 具体的, 处理器 101周期性获取各个 Wi-Fi接入点的负载量, 并在确定用 户设备所接入的或者请求接入的第一 Wi-Fi接入点后,根据最近一次获取的各 个 Wi-Fi接入点的负载量, 确定所述用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阈值, 若达到该负载阈值, 确定至 少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。 The second implementation manner: periodically acquires the load of each Wi-Fi access point of the routing device. Specifically, the processor 101 periodically acquires the load of each Wi-Fi access point, and determines After the first Wi-Fi access point that is accessed by the user equipment or requested to be accessed, the user equipment is determined to access or request access according to the latest acquired capacity of each Wi-Fi access point. Whether the load of the first Wi-Fi access point reaches a corresponding load threshold, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
例如, 以 5分钟为周期,每隔 5分钟获取路由设备的各个 Wi-Fi接入点的 负载量。则每隔 5分钟统计路由设备的各个 Wi-Fi接入点的在该 5分钟内的数 据流量或者各个的 Wi-Fi 接入点在当前时刻的接入用户数, 从而确定各个 Wi-Fi接入点在这个时刻的负载量。  For example, the load of each Wi-Fi access point of the routing device is obtained every 5 minutes in a 5-minute cycle. The data traffic of the Wi-Fi access point of the routing device in the 5 minutes or the number of access users of each Wi-Fi access point at the current time is counted every 5 minutes, thereby determining each Wi-Fi connection. The amount of load at the moment.
基于上述任意路由设备实施例, 较佳的, 上述处理器生成的指示消息用 于指示用户设备切换到第二 Wi-Fi接入点中负载量最小的 Wi-Fi接入点的信 Based on any of the foregoing routing device embodiments, preferably, the indication message generated by the processor is used to indicate that the user equipment switches to a Wi-Fi access point with the smallest load in the second Wi-Fi access point.
# #
具体的, 上述路由设备中处理器 101 可以选择对获取到的所述路由设备 中的各个 Wi-Fi接入点的负载量进行排序;从而获取负载量最小的 Wi-Fi接入 点的信息。可以将负载量最小的 Wi-Fi接入点的信息携带在指示消息中,该指 示消息用于指示用户设备切换到该第二 Wi-Fi接入点中负载量最小的 Wi-Fi 接入点。  Specifically, the processor 101 in the routing device may select to sort the acquired load of each Wi-Fi access point in the routing device; thereby obtaining information of the Wi-Fi access point with the smallest load. The information of the Wi-Fi access point with the smallest load may be carried in the indication message, where the indication message is used to indicate that the user equipment switches to the Wi-Fi access point with the smallest load in the second Wi-Fi access point. .
基于上述任意装置实施例, 较佳的, 上述路由设备中的收发器 102还可 以用于在向用户设备发送指示消息之后,接收用户设备切换到第二 Wi-Fi接入 点中的一个目标 Wi-Fi 接入点后反馈的请求消息, 该请求消息中携带目标 Wi-Fi接入点的信息; 处理器 101根据上述收发器 102接收到的请求消息, 对 用户设备进行接入目标 Wi-Fi接入点的切换预处理操作。  Preferably, the transceiver 102 in the routing device is further configured to: after receiving the indication message to the user equipment, receive the user equipment to switch to one of the second Wi-Fi access points. -A request message fed back after the access point, the request message carrying information of the target Wi-Fi access point; the processor 101 accessing the target device Wi-Fi according to the request message received by the transceiver 102 Switching pre-processing operation of the access point.
其中,对用户设备进行接入目标 wi-Fi接入点的切换预处理操作是执行真 正接入到目标 wi-Fi接入点的准备工作。 比如获取密码信息或者启动 WPS过 程等等。  The handover pre-processing operation of the access target wi-Fi access point to the user equipment is a preparation for performing a true access to the target wi-Fi access point. For example, get password information or start WPS process and so on.
具体的, 处理器 101用于:  Specifically, the processor 101 is configured to:
根据接收到的请求消息,向用户设备发送接入目标 Wi-Fi接入点所需的密 码信息。 或者, 根据请求消息启动路由设备的无线保护设置 WPS过程。 According to the received request message, the password information required to access the target Wi-Fi access point is sent to the user equipment. or, The WPS process of setting the wireless protection of the routing device according to the request message is started.
其中, 密码信息可以但不限于包括目标 Wi-Fi接入点的用户名和密码。 本发明实施例还提供了一种用户设备, 如图 2所示, 该装置包括: 处理器 201 , 用于控制用户设备接入到或者请求接入到路由设备的第一 Wi-Fi接入点;  The password information may be, but is not limited to, a username and password including the target Wi-Fi access point. The embodiment of the present invention further provides a user equipment. As shown in FIG. 2, the apparatus includes: a processor 201, configured to control a first Wi-Fi access point that the user equipment accesses or requests to access to the routing device. ;
收发器 202, 用于接收路由设备发送的指示消息;  The transceiver 202 is configured to receive an indication message sent by the routing device.
处理器 201还用于, 根据收发器 202接收到的指示消息确定是否切换到 第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点, 该第二 Wi-Fi接入点包括路由 设备在确定第一 Wi-Fi接入点的负载量达到对应的负载阈值时,确定的所述路 由设备中至少一个负载量未达到对应的负载阈值的 Wi-Fi接入点。  The processor 201 is further configured to: determine, according to the indication message received by the transceiver 202, whether to switch to a target Wi-Fi access point in the second Wi-Fi access point, where the second Wi-Fi access point includes a route When the device determines that the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined at least one of the routing devices does not reach the Wi-Fi access point of the corresponding load threshold.
本发明实施例提供的用户设备, 接入到或者请求接入到路由设备的某一 个 Wi-Fi接入点时, 接收路由设备发送的指示消息, 根据该指示消息, 在确定 需要执行 Wi-Fi接入点的切换时,用户设备可以根据接收到的指示消息确定接 入其它负载量未达到其对应的负载阈值的 Wi-Fi接入点。 即, 用户可以根据用 户设备接收到的指示消息,知道当前接入 Wi-Fi接入点超载。用户设备可以根 据接收到的指示消息获知该路由设备可以提供其它同等可用无线网络服务的 AP。 用户设备可以从负载量未达到预定的负载阈值的 Wi-Fi接入点选择一个 Wi-Fi接入点来接入, 从而避免了路由设备上的 Wi-Fi AP资源浪费, 用户可 以直接避开拥挤的 Wi-Fi接入点,也可以避免与其它用户设备发生冲突,保证 了用户设备访问无线网络的稳定性, 防止掉线现象的发生, 从而提升了用户 设备访问无线网络的速度, 使得访问无线网络资源畅通无阻。  The user equipment provided by the embodiment of the present invention, when accessing or requesting access to a Wi-Fi access point of the routing device, receives an indication message sent by the routing device, and according to the indication message, determines that Wi-Fi needs to be performed. When the access point is switched, the user equipment may determine, according to the received indication message, that the Wi-Fi access point whose other load quantity does not reach its corresponding load threshold is accessed. That is, the user can know that the current access Wi-Fi access point is overloaded according to the indication message received by the user equipment. The user equipment can learn from the received indication message that the routing device can provide other APs that are equally available wireless network services. The user equipment can select a Wi-Fi access point to access from a Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid Congested Wi-Fi access points can also avoid conflicts with other user equipments, ensure the stability of user equipment access to the wireless network, prevent the occurrence of dropped calls, and improve the speed of user equipment access to the wireless network, enabling access. Wireless network resources are unimpeded.
可选的, 收发器 202 向路由设备反馈请求消息, 该请求消息中携带目标 Wi-Fi接入点的信息, 以请求路由设备对用户设备进行接入目标 Wi-Fi接入点 的切换预处理操作。  Optionally, the transceiver 202 feeds back a request message to the routing device, where the request message carries information of the target Wi-Fi access point, to request the routing device to perform handover pre-processing on the access target Wi-Fi access point of the user equipment. operating.
可选的, 收发器 202具体用于向该路由设备反馈用以请求获取目标 Wi-Fi 接入点的密码信息的请求消息; 收发器 202根据该路由设备在接收到上述请 求消息后反馈的目标 Wi-Fi接入点的密码信息, 处理器 201根据收发器 202 接收到的目标 Wi-Fi接入点的密码信息,控制用户设备接入到目标 Wi-Fi接入 点。 Optionally, the transceiver 202 is specifically configured to feed back, to the routing device, a request message for requesting to obtain the password information of the target Wi-Fi access point; and the transceiver 202 responds to the target according to the routing device after receiving the request message. The password information of the Wi-Fi access point, the processor 201 is based on the transceiver 202. The received password information of the target Wi-Fi access point controls the user equipment to access the target Wi-Fi access point.
可选的, 收发器 202 具体用于向路由设备发送用以请求启动目标 Wi-Fi 接入点对应的 WPS过程的请求消息; 处理器 201根据接收到的指示消息确定 切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后,启动用户设备的 WPS 过程; 并根据启动的用户设备的 WPS过程及路由设备启动的目标 Wi-Fi接入 点对应的 WPS过程, 控制用户设备接入到目标 Wi-Fi接入点。  Optionally, the transceiver 202 is specifically configured to send, to the routing device, a request message for requesting to initiate a WPS process corresponding to the target Wi-Fi access point; and the processor 201 determines to switch to the second Wi-Fi according to the received indication message. After a target Wi-Fi access point in the access point, the WPS process of the user equipment is started; and the user is controlled according to the WPS process of the activated user equipment and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device. The device is connected to the target Wi-Fi access point.
其中, 上述收发器 201和处理器 202的功能也可以由一个安装在用户设 备上的应用 (Application , APP )软件来实现。  The functions of the transceiver 201 and the processor 202 may also be implemented by an application (Application, APP) software installed on the user equipment.
基于与图 1 所示的路由设备同样的发明构思, 本发明实施例还提供了一 种负载均衡方法, 如图 3所示, 该方法包括:  Based on the same inventive concept as the routing device shown in FIG. 1, the embodiment of the present invention further provides a load balancing method. As shown in FIG. 3, the method includes:
步骤 301: 确定用户设备所接入的或者请求接入的路由设备的第一 Wi-Fi 接入点。  Step 301: Determine a first Wi-Fi access point of the routing device accessed by the user equipment or requested to access.
其中, 用户设备所接入的路由设备的第一 Wi-Fi接入点表示: 用户设备已 经接入到路由设备的第一 Wi-Fi接入点了,即用户设备已经与第一 Wi-Fi接入 点连接上。用户设备请求接入的路由设备的第一 Wi-Fi接入点表示: 用户设备 请求接入到路由设备的第一 Wi-Fi接入点,但是路由设备还没有认证通过, 该 用户设备还没有与第一 Wi-Fi接入点连接上。  The first Wi-Fi access point of the routing device accessed by the user equipment indicates that: the user equipment has accessed the first Wi-Fi access point of the routing device, that is, the user equipment has been connected to the first Wi-Fi. The access point is connected. The first Wi-Fi access point of the routing device that the user equipment requests to access indicates that the user equipment requests access to the first Wi-Fi access point of the routing device, but the routing device has not passed the authentication, and the user equipment has not yet Connected to the first Wi-Fi access point.
较佳的,路由设备的一个 Wi-Fi接入点可以对应一个频段。 当然还可以是 多个 Wi-Fi接入点对应一个频段。  Preferably, one Wi-Fi access point of the routing device can correspond to one frequency band. Of course, it can also be a frequency band corresponding to multiple Wi-Fi access points.
步骤 302: 当确定第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确 定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点;  Step 302: When it is determined that the load quantity of the first Wi-Fi access point reaches a corresponding load threshold, determine that the at least one second Wi-Fi access point whose load quantity does not reach the corresponding load threshold is determined;
其中, 针对路由设备的每个接入点均可以设置不同的负载阔值。 也可以 针对所有接入点仅设置一个共同的负载阔值。 若针对一个频段包括多个 Wi-Fi 接入点, 可以是该频段对应的接入点设置一个共同的负载阈值。 对此本发明 实施例不作具体限定。  Among them, each access point for the routing device can set different load thresholds. It is also possible to set only one common load threshold for all access points. If multiple Wi-Fi access points are included for one frequency band, the access points corresponding to the frequency band may have a common load threshold. The embodiment of the present invention is not specifically limited.
其中,指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点的其 中一个,可以将上述至少一个负载量未达到对应的负载阈值的 Wi-Fi接入点的 信息携带在指示消息中, 该至少一个负载量未达到对应的负载阈值的 Wi-Fi 接入点的信息可以但不限于包括负载量未达到对应的负载阈值的 Wi-Fi接入 点的名称、 负载量等等信息。上述负载阈值可以但不限于是该 Wi-Fi接入点可 以承载的最大负载量或者是预定的小于该最大负载量的一个负载阈值。 The indication message is used to indicate that the user equipment switches to the second Wi-Fi access point. The information of the Wi-Fi access point that the at least one load quantity does not reach the corresponding load threshold may be carried in the indication message, where the at least one load quantity does not reach the corresponding load threshold of the Wi-Fi access point. The information may include, but is not limited to, information such as the name of the Wi-Fi access point whose load amount does not reach the corresponding load threshold, the amount of load, and the like. The above load threshold may be, but is not limited to, a maximum load that the Wi-Fi access point can carry or a predetermined load threshold that is less than the maximum load.
步骤 303:生成指示消息,该指示消息用于指示用户设备切换到第二 Wi-Fi 接入点的其中一个。  Step 303: Generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points.
步骤 304: 发送生成的指示消息给用户设备。  Step 304: Send the generated indication message to the user equipment.
本发明实施例提供的负载均衡方法可以由路由设备来执行。  The load balancing method provided by the embodiment of the present invention may be performed by a routing device.
本发明实施例提供方法,当用户设备接入到路由设备的某一个 Wi-Fi接入 点时,该路由设备通过检测确定该用户设备接入的或者请求接入的 Wi-Fi接入 点的负载量达到其对应的负载阈值时, 确定至少一个负载量未达到对应的负 载阈值的 Wi-Fi接入, 然后生成指示消息, 并发送给用户设备。 用户可以根据 用户设备接收到的指示消息,知道当前接入的或者请求接入的 Wi-Fi接入点超 载。 用户设备可以根据接收到的指示消息获知该路由设备可以提供其它同等 可用无线网络服务的 AP。 用户设备可以从至少一个负载量未达到预定的负载 阈值的 Wi-Fi接入点选择一个 Wi-Fi接入点来接入,从而避免了路由设备上的 Wi-Fi AP资源浪費, 用户可以直接避开拥挤的 Wi-Fi接入点, 也可以避免与 其它用户设备发生冲突, 保证无线网络资源的稳定性, 防止掉线现象的发生, 从而提升了用户设备访问提升无线网络的速度, 使得访问无线网络资源畅通 无阻。  The embodiment of the present invention provides a method, when the user equipment accesses a Wi-Fi access point of the routing device, the routing device determines, by detecting, the Wi-Fi access point that the user equipment accesses or requests to access. When the load reaches its corresponding load threshold, it determines that at least one Wi-Fi access whose load does not reach the corresponding load threshold, and then generates an indication message and sends it to the user equipment. The user can know that the currently accessed or requested Wi-Fi access point is overloaded according to the indication message received by the user equipment. The user equipment can learn, according to the received indication message, that the routing device can provide other APs with the same available wireless network service. The user equipment can select a Wi-Fi access point to access from at least one Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly Avoiding crowded Wi-Fi access points can also avoid conflicts with other user equipments, ensure the stability of wireless network resources, prevent the occurrence of dropped calls, and improve the speed of user equipment access to enhance the wireless network, enabling access. Wireless network resources are unimpeded.
较佳的,上述确定路由设备的 Wi-Fi接入点的负载量的方式具体可以但不 仅限于通过以下方式来实现:  Preferably, the manner of determining the load of the Wi-Fi access point of the routing device may be specifically, but not limited to, implemented in the following manner:
第一种实现方式: 在步骤 302确定至少一个负载量未达到对应的负载阈 值的第二 Wi-Fi接入点之前,步骤 301确定用户设备所接入的或者请求接入的 路由设备的第一无线保真 Wi-Fi接入点之后,获取路由设备的各个 Wi-Fi接入 点的负载量。 则步骤 302当确定所述第一 Wi-Fi接入点的负载量达到负载阈值时,确定 至少一个负载量未达到对应负载阔值的第二 Wi-Fi接入点, 具体为: The first implementation manner: Before determining at least one second Wi-Fi access point that the load quantity does not reach the corresponding load threshold, step 301 determines the first of the routing devices that the user equipment accesses or requests to access. After the wireless fidelity Wi-Fi access point, the load of each Wi-Fi access point of the routing device is obtained. Then, when it is determined that the load of the first Wi-Fi access point reaches the load threshold, determining that the at least one load does not reach the second Wi-Fi access point corresponding to the load threshold, specifically:
根据获取的各个 Wi-Fi接入点的负载量,确定用户设备所接入的或者请求 接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阐值,若达到该负载阈 值, 则确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  Determining, according to the obtained load quantity of each Wi-Fi access point, whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load value, if the load threshold is reached. And determining, at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold.
具体的,可以通过获取路由设备各个 Wi-Fi接入点在预定时间段内的数据 流量和 /或各个 Wi-Fi接入点的接入用户数; 并分别根据路由设备的每一个 Wi-Fi接入点的数据流量和 /或接入用户数确定对应的负载量。  Specifically, the data traffic of each Wi-Fi access point of the routing device in a predetermined time period and/or the number of access users of each Wi-Fi access point may be obtained by using each Wi-Fi of the routing device respectively. The data traffic of the access point and/or the number of access users determine the corresponding amount of load.
例如: 路由设备设置有两个 Wi-Fi 接入点。 路由设备获取这两个 Wi-Fi 接入点在预定的时间段内的数据流量和 /或这两个 Wi-Fi接入点的当前时刻的 接入用户数。 针对每一个 Wi-Fi接入点, 根据获取的该 Wi-Fi接入点的数据流 量和 /或接入用户数, 确定该 Wi-Fi接入点的负载量。  For example: The routing device is set up with two Wi-Fi access points. The routing device obtains the data traffic of the two Wi-Fi access points for a predetermined period of time and/or the number of access users of the current time of the two Wi-Fi access points. For each Wi-Fi access point, the amount of load of the Wi-Fi access point is determined according to the acquired data traffic of the Wi-Fi access point and/or the number of access users.
第二种实现方式: 周期性获取路由设备的各个 Wi-Fi接入点的负载量。 则步骤 302当确定所述第一 Wi-Fi接入点的负载量达到负载阈值时,确定 至少一个负载量未达到对应负载阔值的第二 Wi-Fi接入点, 具体为:  The second implementation manner: periodically acquires the load of each Wi-Fi access point of the routing device. Then, when it is determined that the load of the first Wi-Fi access point reaches the load threshold, determining that the at least one load does not reach the second Wi-Fi access point corresponding to the load threshold, specifically:
根据最近一次获取的各个 Wi-Fi接入点的负载量,确定用户设备所接入的 或者请求接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阈值,若达到 该负载阈值,则确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入 点。  Determining, according to the load quantity of each Wi-Fi access point that is acquired recently, whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold, if the load is reached. The threshold determines at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
具体的,每隔一周期获取路由设备各个 Wi-Fi接入点在预定的时间段内的 数据流量和 /或各个 Wi-Fi接入点的接入用户数;根据路由设备的每一个 Wi-Fi 接入点的数据流量和 /或接入用户数确定其对应的 Wi-Fi接入点的负载量。  Specifically, the data traffic of each Wi-Fi access point of the routing device in a predetermined period of time and/or the number of access users of each Wi-Fi access point are obtained every other cycle; according to each Wi- of the routing device The data traffic of the Fi access point and/or the number of access users determine the amount of load of its corresponding Wi-Fi access point.
例如, 以 5分钟为周期,每隔 5分钟获取路由设备的各个 Wi-Fi接入点的 负载量。则每隔 5分钟统计路由设备的各个 Wi-Fi接入点在该 5分钟内的数据 流量或者各个 Wi-Fi接入点在当前时刻的接入用户数, 从而确定各个 Wi-Fi 接入点在这个时刻的负载量。  For example, the load of each Wi-Fi access point of the routing device is obtained every 5 minutes in a 5-minute cycle. Then, every 5 minutes, the data traffic of each Wi-Fi access point of the routing device in the 5 minutes or the number of access users of each Wi-Fi access point at the current time is counted, thereby determining each Wi-Fi access point. The amount of load at this moment.
基于上述任意路由设备实施例, 较佳的, 上述指示消息用于指示用户设 备切换到第二 Wi-Fi接入点中负载量最小的 Wi-Fi接入点的信息。 Based on the foregoing any routing device embodiment, preferably, the foregoing indication message is used to indicate a user setting. The switch is switched to the information of the Wi-Fi access point with the smallest load in the second Wi-Fi access point.
具体的, 对上述获取到的路由设备的各个 Wi-Fi接入点的负载量进行排 序, 从而获取负载量最小的 Wi-Fi接入点的信息。 将负载量最小的 Wi-Fi接入 点的信息携带在指示消息中, 上述指示消息用于指示用户设备切换到第二 Specifically, the load of each Wi-Fi access point of the obtained routing device is sorted, so that the information of the Wi-Fi access point with the smallest load is obtained. The information of the Wi-Fi access point with the smallest load is carried in the indication message, where the indication message is used to indicate that the user equipment switches to the second
Wi-Fi接入点中负载量最小的 Wi-Fi接入点。 The Wi-Fi access point with the least amount of load in the Wi-Fi access point.
可选的, 向用户设备发送指示消息之后, 该方法还包括:  Optionally, after sending the indication message to the user equipment, the method further includes:
接收所述用户设备确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入 点后反馈的请求消息, 该请求消息中携带该目标 Wi-Fi接入点的信息;  Receiving, by the user equipment, a request message that is sent back to a target Wi-Fi access point in the second Wi-Fi access point, where the request message carries information of the target Wi-Fi access point;
根据上述请求消息,对用户设备进行接入目标 Wi-Fi接入点的切换预处理 操作。  And performing, according to the foregoing request message, a handover pre-processing operation of the access target Wi-Fi access point to the user equipment.
可选的, 上述根据上述请求消息,对用户设备进行接入目标 Wi-Fi接入点 的切换预处理操作, 具体包括:  Optionally, the foregoing, according to the foregoing request message, performing a handover pre-processing operation on the access target Wi-Fi access point of the user equipment, specifically:
根据接收到的请求消息,向用户设备发送接入目标 Wi-Fi接入点所需的密 码信息; 或者,  Sending, according to the received request message, the password information required to access the target Wi-Fi access point to the user equipment; or
根据请求消息启动路由设备的无线保护设置 WPS过程。  The WPS process is set up based on the request message to initiate the wireless protection of the routing device.
其中, 密码信息可以但不仅限于包括目标 Wi-Fi接入点的用户名和密码。 基于与图 2 所示的用户设备同样的发明构思, 本发明实施例还提供了一 种负载均衡方法, 如图 4所示, 该方法包括:  The password information may be, but is not limited to, a username and password including the target Wi-Fi access point. Based on the same inventive concept as the user equipment shown in FIG. 2, the embodiment of the present invention further provides a load balancing method. As shown in FIG. 4, the method includes:
步骤 401 : 接入到或者请求接入到路由设备的第一 Wi-Fi接入点。  Step 401: Accessing or requesting access to the first Wi-Fi access point of the routing device.
步骤 402: 接收路由设备发送的指示消息。  Step 402: Receive an indication message sent by the routing device.
步骤 403: 根据接收到的指示消息确定是否切换到第二 Wi-Fi接入点中的 一个目标 Wi-Fi接入点, 该第二 Wi-Fi接入点包括上述路由设备在确定第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确定的该路由设备中至少一个 负载量未达到对应的负载阈值的 Wi-Fi接入点。  Step 403: Determine, according to the received indication message, whether to switch to a target Wi-Fi access point in the second Wi-Fi access point, where the second Wi-Fi access point includes the foregoing routing device in determining the first Wi When the load of the Fi access point reaches the corresponding load threshold, it is determined that at least one of the routing devices does not reach the corresponding load threshold of the Wi-Fi access point.
本发明实施例提供的负载均衡方法, 在接入到或者请求接入到路由设备 的某一个 Wi-Fi接入点时, 接收发送的指示消息, 根据该指示消息, 在确定需 要执行 Wi-Fi接入点的切换时,用户设备可以根据接收到的指示消息确定接入 其它负载量未达到其对应的负载阔值的 Wi-Fi接入点。 即,用户可以根据用户 设备接收到的指示消息,知道当前接入 Wi-Fi接入点超载。用户根据接收到的 指示消息, 获知该路由设备可以提供其它同等可用无线网络服务的 AP。 用户 设备可以从负载量未达到预定的负载阈值的 Wi-Fi接入点选择一个目标 Wi-Fi 接入点来接入, 从而避免了路由设备上的 Wi-Fi AP 资源浪费, 用户可以直接 避开拥挤的 Wi-Fi接入点, 也可以避免与其它用户设备发生冲突,保证无线网 络资源的稳定性, 防止掉线现象的发生, 从而提升了用户设备访问无线网络 资源的速度, 使得访问无线网络资源畅通无阻。 The load balancing method provided by the embodiment of the present invention receives an indication message sent when accessing or requesting access to a Wi-Fi access point of the routing device, and determines that Wi-Fi needs to be performed according to the indication message. When the access point is switched, the user equipment can determine the access according to the received indication message. Other Wi-Fi access points whose load does not reach their corresponding load threshold. That is, the user can know that the current access Wi-Fi access point is overloaded according to the indication message received by the user equipment. Based on the received indication message, the user learns that the routing device can provide other APs that are equally available wireless network services. The user equipment can select a target Wi-Fi access point to access from a Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid By opening a crowded Wi-Fi access point, it can also avoid conflicts with other user equipments, ensure the stability of wireless network resources, and prevent the occurrence of dropped calls, thereby improving the speed at which user equipment accesses wireless network resources and enabling wireless access. Network resources are unimpeded.
其中,根据接收到的指示消息确定是否切换到第二 Wi-Fi接入点中的一个 目标 Wi-Fi接入点之前,在根据接收到的指示消息确定切换到第二 Wi-Fi接入 点中的一个目标 Wi-Fi接入点之后, 该方法还包括:  Before determining, according to the received indication message, whether to switch to a target Wi-Fi access point of the second Wi-Fi access point, determining to switch to the second Wi-Fi access point according to the received indication message After a target Wi-Fi access point, the method further includes:
向路由设备反馈请求消息, 该请求消息中携带目标 Wi-Fi接入点的信息, 以请求路由设备对用户设备进行接入目标 Wi-Fi接入点的切换预处理操作。  The request message is fed back to the routing device, where the request message carries information of the target Wi-Fi access point, to request the routing device to perform a handover pre-processing operation on the access target Wi-Fi access point of the user equipment.
具体的, 向所述路由设备反馈请求消息, 包括:  Specifically, the request message is fed back to the routing device, including:
向该路由设备反馈用以请求获取目标 Wi-Fi接入点的密码信息的请求消 息;  And feeding back, to the routing device, a request message for requesting acquisition of password information of the target Wi-Fi access point;
该方法还包括: 根据该路由设备下发的目标 Wi-Fi接入点的密码信息,接 入到或者请求接入到目标 Wi-Fi接入点;  The method further includes: accessing or requesting access to the target Wi-Fi access point according to the password information of the target Wi-Fi access point delivered by the routing device;
较佳的,在根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的一个 目标 Wi-Fi接入点后, 向路由设备反馈请求消息之前, 该方法还包括:  Preferably, after determining to switch to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, before the request message is fed back to the routing device, the method further includes:
启动用户设备的 WPS过程;  Start the WPS process of the user equipment;
向所述路由设备反馈请求消息, 具体包括: 向上述路由设备发送用以请 求启动目标 Wi-Fi接入点对应的 WPS过程的请求消息;  And the requesting message is sent to the routing device, where the method includes: sending, to the routing device, a request message for requesting to initiate a WPS process corresponding to the target Wi-Fi access point;
向路由设备反馈请求消息之后, 该方法还包括:  After the request message is fed back to the routing device, the method further includes:
根据启动的用户设备的 WPS过程及路由设备启动的目标 Wi-Fi接入点对 应的 WPS过程, 接入到目标 Wi-Fi接入点。  According to the WPS process of the activated user equipment and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device, access to the target Wi-Fi access point.
基于与图 1 所示的路由设备同样的发明构思, 本发明实施例还提供了一 种负载均衡装置, 其中, 该装置可以由路由设备来实现, 如图 5 所示, 该装 置包括: Based on the same inventive concept as the routing device shown in FIG. 1, the embodiment of the present invention further provides a A load balancing device, wherein the device can be implemented by a routing device, as shown in FIG. 5, the device includes:
确定模块 501 , 用于确定用户设备所接入的或者请求接入的第一 Wi-Fi接 入点; 当确定第一 Wi-Fi接入点的负载量达到对应的负载阔值时,确定至少一 个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  a determining module 501, configured to determine a first Wi-Fi access point that is accessed by the user equipment or requested to access; when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold, determining at least A second Wi-Fi access point whose load does not reach the corresponding load threshold.
生成模块 502 , 用于生成指示消息, 该指示消息用于指示所述用户设备切 换到所述第二 Wi-Fi接入点的其中一个。  The generating module 502 is configured to generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points.
发送模块 503 , 用于将生成模块 502生成的指示消息发送给用户设备。 较佳的, 该装置还包括获取模块,上述确定各个 Wi-Fi接入点的负载量通 过装置中的获取来实现, 具体但不限于包括:  The sending module 503 is configured to send the indication message generated by the generating module 502 to the user equipment. Preferably, the device further includes an obtaining module, where the determining the load quantity of each Wi-Fi access point is implemented by acquiring in the device, and specifically, but not limited to, including:
第一种实现方式:  The first way to achieve:
在确定模块 501 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点之前, 确定用户设备所接入的或者请求接入的路由设备的第一无 线保真 Wi-Fi接入点之后,获取模块获取路由设备的各个 Wi-Fi接入点的负载 量;  Determining, after the determining module 501 determines that the at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold, determining the first wireless fidelity Wi-Fi connection of the routing device accessed by the user equipment or requesting access After the ingress, the obtaining module obtains the load of each Wi-Fi access point of the routing device;
确定模块 501具体用于, 根据获取模块获取的各个 Wi-Fi接入点的负载 量,确定用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量是否达 到对应的负载阈值, 若达到该负载阈值, 则确定至少一个负载量未达到对应 的负载阈值的第二 Wi-Fi接入点。  The determining module 501 is specifically configured to determine, according to the load quantity of each Wi-Fi access point acquired by the acquiring module, whether the load quantity of the first Wi-Fi access point that the user equipment accesses or requests to access reaches the corresponding The load threshold, if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
第二种实现方式:  The second way to achieve:
获取模块周期性获取各个 Wi-Fi接入点的负载量;  The obtaining module periodically acquires the load of each Wi-Fi access point;
确定模块在确定用户设备所接入的或者请求接入的第一 Wi-Fi接入点后, 根据最近一次获取的各个 Wi-Fi接入点的负载量,确定用户设备所接入的或者 请求接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阈值,若达到该负 载阈值, 则确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  After determining the first Wi-Fi access point that the user equipment accesses or requests to access, the determining module determines, according to the latest acquired load quantity of each Wi-Fi access point, the user equipment accesses or requests Whether the load of the accessed first Wi-Fi access point reaches a corresponding load threshold. If the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold is determined.
基于上述任意装置实施例, 较佳的, 上述生成模块 502 生成的指示消息 用于指示所述用户设备切换到所述第二 Wi-Fi接入点中负载量最小的 Wi-Fi 接入点。 Preferably, the indication message generated by the generating module 502 is used to indicate that the user equipment switches to the Wi-Fi with the smallest load in the second Wi-Fi access point. Access Point.
基于上述任意装置实施例, 较佳的, 上述装置还包括接收模块及切换预 处理模块:  Based on any of the foregoing device embodiments, preferably, the foregoing apparatus further includes a receiving module and a switching pre-processing module:
接收模块, 用于在发送模块 503 向用户设备发送指示消息之后, 接收用 户设备确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点反馈的请求消 息, 请求消息中携带目标 Wi-Fi接入点的信息;  a receiving module, configured to: after the sending module 503 sends an indication message to the user equipment, receive, by the user equipment, a request message that is switched to a target Wi-Fi access point in the second Wi-Fi access point, and the request message carries Information of the target Wi-Fi access point;
切换预处理模块, 用于根据接收模块接收到的请求消息, 对用户设备进 行接入目标 Wi-Fi接入点的切换预处理操作。  The switching pre-processing module is configured to perform a handover pre-processing operation on the access target Wi-Fi access point to the user equipment according to the request message received by the receiving module.
较佳的, 上述切换预处理模块具体用于:  Preferably, the foregoing switching pre-processing module is specifically configured to:
根据接收模块接收到的请求消息, 指示发送模块 503 向用户设备发送接 入目标 Wi-Fi接入点所需的密码信息;  According to the request message received by the receiving module, the sending module 503 instructs the user equipment to send the password information required to access the target Wi-Fi access point;
或者,  Or,
根据请求消息启动路由设备的无线保护设置 WPS过程。  The WPS process is set up based on the request message to initiate the wireless protection of the routing device.
基于上述任意装置实施例, 较佳的, 获取模块 501 获取的路由设备的各 个 Wi-Fi接入点的负载量包括:各个 Wi-Fi接入点在预定时间段内的数据流量 和 /或各个 Wi-Fi接入点的接入用户数。  Based on any of the foregoing device embodiments, preferably, the load of each Wi-Fi access point of the routing device acquired by the obtaining module 501 includes: data traffic and/or each of the Wi-Fi access points in a predetermined time period. The number of access users of the Wi-Fi access point.
基于与图 2 所示的用户设备同样的发明构思, 本发明实施例还提供了另 一种负载均衡装置, 其中, 该装置的功能可以由用户设备来实现, 或者由安 装在用户设备的一个 APP软件来实现, 如图 6所示, 该装置包括:  Based on the same inventive concept as the user equipment shown in FIG. 2, the embodiment of the present invention further provides another load balancing apparatus, wherein the function of the apparatus may be implemented by a user equipment, or by an APP installed on the user equipment. Software to implement, as shown in Figure 6, the device includes:
控制模块 601 ,用于控制用户设备接入到或者请求接入到路由设备中的第 一 Wi-Fi接入点;  a control module 601, configured to control a user equipment to access or request access to a first Wi-Fi access point in the routing device;
接收模块 602, 用于接收路由设备发送的指示消息;  The receiving module 602 is configured to receive an indication message sent by the routing device.
确定模块 603 , 用于根据接收到的指示消息确定是否切换到第二 Wi-Fi接 入点中的一个目标 Wi-Fi接入点,该第二 Wi-Fi接入点包括路由设备在确定第 一 Wi-Fi接入点的负载量达到对应的负载阈值时,确定的路由设备中至少一个 负载量未达到对应的负载阈值的 Wi-Fi接入点。  The determining module 603 is configured to determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the routing device When the load of a Wi-Fi access point reaches a corresponding load threshold, at least one of the determined routing devices does not reach the Wi-Fi access point of the corresponding load threshold.
较佳的, 该装置还包括发送模块: 在确定模块 603 根据接收到的指示消 息确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点时, 发送模块, 用 于向路由设备反馈请求消息, 该请求消息中携带目标 Wi-Fi接入点的信息,以 请求路由设备对用户设备进行接入目标 Wi-Fi接入点的切换预处理操作。 Preferably, the apparatus further includes a transmitting module: the determining module 603 cancels according to the received indication When the information is determined to be switched to one of the second Wi-Fi access points, the sending module is configured to feed back a request message to the routing device, where the request message carries the information of the target Wi-Fi access point. The switching pre-processing operation of the access target Wi-Fi access point is performed on the user equipment by the request routing device.
较佳的, 上述发送模块具体用于向路由设备反馈用以请求获取目标 Wi-Fi 接入点的密码信息的请求消息;  Preferably, the sending module is specifically configured to feed back, to the routing device, a request message for requesting to acquire password information of the target Wi-Fi access point;
接收模块 602 , 还用于接收路由设备在接收到请求消息后反馈的目标 Wi-Fi接入点的密码信息;  The receiving module 602 is further configured to receive, by the routing device, password information of the target Wi-Fi access point that is fed back after receiving the request message;
控制模块 601 , 还用于根据接收模块 602接收到的目标 Wi-Fi接入点的密 码信息, 控制用户设备接入目标 Wi-Fi接入点。  The control module 601 is further configured to control, according to the password information of the target Wi-Fi access point received by the receiving module 602, the user equipment to access the target Wi-Fi access point.
较佳的,发送模块具体用于向路由设备发送用以请求启动目标 Wi-Fi接入 点对应的无线保护设置 WPS过程的请求消息;  Preferably, the sending module is specifically configured to send, to the routing device, a request message for requesting to start a wireless protection setting WPS process corresponding to the target Wi-Fi access point;
控制模块 601,还用于在确定模块根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点之后, 启动用户设备的 WPS过程; 并根据启动的用户设备的 WPS过程, 及路由设备启动的目标 Wi-Fi接入点对 应的 WPS过程, 控制用户设备接入目标 Wi-Fi接入点。  The control module 601 is further configured to: after determining, by the determining module, that the switch to the target Wi-Fi access point of the second Wi-Fi access point is performed according to the received indication message, start the WPS process of the user equipment; The WPS process of the user equipment, and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device, controls the user equipment to access the target Wi-Fi access point.
下面结合具体应用场景对本发明实施例作具体说明。  The embodiments of the present invention are specifically described below in conjunction with specific application scenarios.
应用一:  Application one:
下面结合图 7、 图 8及图 9对本发明实施例提供的方案具体说明。  The scheme provided by the embodiment of the present invention is specifically described below with reference to FIG. 7, FIG. 8, and FIG.
首先负载均衡系统包括: 用户设备 ( STA )及路由设备。 该用户设备及路 由设备均支持 2.4G和 5G频段的 Wi-Fi工作能力。 下面以路由设备包括两个 AP为例, 如图 7所示, 其中, 两个 AP分别为 2.4G频段对应的 Wi-Fi AP及 5G频段对应的 Wi-Fi AP。 路由设备中包括 Wi-Fi管理模块可以实现上述图 1 所示的实施例中提供的处理器及收发器 (或者图 5 所示的负载均衡装置) 实 现的功能。用户设备可以包括 Wi-Fi管理模块用于实现图 2所示的实施例中的 收发器及处理器(或者图 6所示的负载均衡装置) 实现的功能, 如图 8所示, 用户设备还包括用于支持 2.4G和 5G频段的 Wi-Fi的 2.4G频段 Wi-Fi接入模 块及 5G频段 Wi-Fi接入模块。 该用户设备的 Wi-Fi管理模块也可以由一个应 用软件实现, 例如华为的手机控制 ( Mobile Control )软件。 First, the load balancing system includes: a user equipment (STA) and a routing device. The user equipment and routing equipment support Wi-Fi working capacity in 2.4G and 5G bands. The routing device includes two APs as an example. As shown in Figure 7, the two APs are the Wi-Fi AP corresponding to the 2.4G band and the Wi-Fi AP corresponding to the 5G band. The Wi-Fi management module included in the routing device can implement the functions implemented by the processor and transceiver (or the load balancing device shown in FIG. 5) provided in the embodiment shown in FIG. The user equipment may include a Wi-Fi management module for implementing the functions implemented by the transceiver and the processor (or the load balancing device shown in FIG. 6) in the embodiment shown in FIG. 2, as shown in FIG. It includes 2.4G band Wi-Fi access module and 5G band Wi-Fi access module for Wi-Fi supporting 2.4G and 5G bands. The Wi-Fi management module of the user equipment can also be composed of one It is implemented in software, such as Huawei's Mobile Control software.
步骤 901 :路由设备确定用户设备所接入的该路由设备的 Wi-Fi AP为 2.4G 频段的对应 Wi-Fi AP。 执行步骤 902。  Step 901: The routing device determines that the Wi-Fi AP of the routing device accessed by the user equipment is a corresponding Wi-Fi AP in the 2.4G frequency band. Go to step 902.
本发明实施例以用户设备接入到路由设备的 Wi-Fi AP为 2.4G频段的对应 Wi-Fi AP为例进行说明。 也可以是用户设备请求接入的路由设备的 Wi-Fi AP 为 2.4G频段的对应 Wi-Fi AP。  In the embodiment of the present invention, a Wi-Fi AP in which the user equipment accesses the routing device is a Wi-Fi AP in the 2.4G frequency band is taken as an example for description. The Wi-Fi AP of the routing device requested by the user equipment may be the corresponding Wi-Fi AP in the 2.4G frequency band.
此处假设用户设备通过 2.4G频段接入到路由设备的 Wi-Fi AP。 路由设备 根据分别对 2.4G和 5G频段的 Wi-Fi AP的数据流量或者接入用户数的统计结 果, 获取 2.4G和 5G频段的 Wi-Fi AP的负载量。  It is assumed here that the user equipment accesses the Wi-Fi AP of the routing device through the 2.4G band. The routing device obtains the load of the Wi-Fi AP in the 2.4G and 5G bands according to the statistics of the data traffic or the number of access users of the Wi-Fi AP in the 2.4G and 5G bands respectively.
步骤 902: 路由设备确定用户设备所接入的 2.4G频段的 Wi-Fi AP, 是否 达到该 Wi-Fi AP对应的负载阈值, 若是,执行步骤 903 , 若否,执行步骤 904。  Step 902: The routing device determines whether the Wi-Fi AP in the 2.4G frequency band that the user equipment is connected to meets the load threshold of the Wi-Fi AP. If yes, go to step 903. If no, go to step 904.
步骤 903: 路由设备确定 5G频段的 Wi-Fi AP, 生成指示消息, 并向该用 户设备发送指示消息。 该指示消息中携带 5G频段的 Wi-Fi接入点的信息, 用 于指示用户设备切换到 5G频段的 Wi-FiAP。且该指示消息指示用户设备接入 的 2.4G频段的 Wi-Fi AP超载。 执行步骤 905。  Step 903: The routing device determines the Wi-Fi AP in the 5G frequency band, generates an indication message, and sends an indication message to the user equipment. The indication message carries the information of the Wi-Fi access point of the 5G frequency band, and is used to indicate that the user equipment switches to the Wi-Fi AP of the 5G frequency band. And the indication message indicates that the Wi-Fi AP of the 2.4G band accessed by the user equipment is overloaded. Go to step 905.
步骤 904: 用户设备保持接入不变。  Step 904: The user equipment remains connected unchanged.
步骤 905: 用户设备接收到该指示消息后, 对该消息进行解析, 并将解析 后的信息提示给用户。 执行步骤 906。  Step 905: After receiving the indication message, the user equipment parses the message, and prompts the parsed information to the user. Go to step 906.
步骤 906:用户设备接收到用户是否切换到 2.4G频段的 Wi-Fi AP的指示, 若切换, 执行步骤 907, 若不切换, 执行步骤 904。  Step 906: The user equipment receives an indication of whether the user switches to the Wi-Fi AP in the 2.4G frequency band. If the handover is performed, go to step 907. If not, go to step 904.
步骤 907: 用户设备向所述路由设备发送获取切换到该 5G频段的 Wi-Fi 接入点所需的用户名和密码的请求消息。 执行步骤 908。  Step 907: The user equipment sends a request message to the routing device to obtain a user name and password required for switching to the Wi-Fi access point of the 5G frequency band. Go to step 908.
步骤 908: 路由设备根据接收到的请求消息, 向用户设备发送切换到 5G 频段的 Wi-Fi接入点所需的用户名和密码。 执行步骤 909。  Step 908: The routing device sends, to the user equipment, the user name and password required for switching to the Wi-Fi access point of the 5G frequency band according to the received request message. Go to step 909.
步骤 909: 用户设备接收到用户名和密码后, 主动断开当前连接的频段的 Wi-Fi接入点, 发起接入到 5G频段的 Wi-Fi接入点的连接请求, 根据获取的 用户名和密码连接到 5G频段的 Wi-Fi接入点。 应用二: Step 909: After receiving the username and password, the user equipment actively disconnects the Wi-Fi access point of the currently connected frequency band, and initiates a connection request for accessing the Wi-Fi access point of the 5G frequency band, according to the obtained username and password. Connect to a Wi-Fi access point in the 5G band. Application 2:
下面结合图 7、 图 8及图 10对本发明实施例提供的方案具体说明。  The scheme provided by the embodiment of the present invention is specifically described below with reference to FIG. 7, FIG. 8, and FIG.
首先负载均衡系统包括: 用户设备( STA )及路由设备。 该用户设备及路 由设备均支持 2.4G和 5G频段的 Wi-Fi工作能力。 下面以路由设备包括两个 AP为例, 如图 7所示, 其中, 两个 AP分别为 2.4G频段对应的 Wi-Fi AP及 5G频段对应的 Wi-Fi AP。 路由设备中包括 Wi-Fi管理模块用于实现上述图 1 所示的实施例中提供中的处理器及收发器实现的功能。 用户设备可以包括 Wi-Fi管理模块用于实现图 2所示的实施例中的收发器及处理器实现的功能。 如图 8所示, 用户设备还包括用于支持 2.4G和 5G频段的 Wi-Fi的 2.4G频段 Wi-Fi接入模块及 5G频段 Wi-Fi接入模块。 该用户设备的 Wi-Fi管理模块也 可以由一个 APP软件实现, 例如华为的手机控制 ( Mobile Control )软件。  First, the load balancing system includes: a user equipment (STA) and a routing device. Both the user equipment and the routing equipment support Wi-Fi working capacity in the 2.4G and 5G bands. The routing device includes two APs as an example. As shown in Figure 7, the two APs are the Wi-Fi AP corresponding to the 2.4G band and the Wi-Fi AP corresponding to the 5G band. The routing device includes a Wi-Fi management module for implementing the functions implemented by the processor and the transceiver provided in the embodiment shown in FIG. 1 above. The user equipment may include a Wi-Fi management module for implementing the functions implemented by the transceiver and processor in the embodiment shown in FIG. 2. As shown in Figure 8, the user equipment also includes a 2.4G band Wi-Fi access module and a 5G band Wi-Fi access module for supporting Wi-Fi in the 2.4G and 5G bands. The Wi-Fi management module of the user equipment can also be implemented by an APP software, such as Huawei's Mobile Control software.
步骤 1001 : 路由设备确定用户设备所接入的该路由设备的 Wi-Fi AP为 2.4G频段的对应 Wi-Fi AP。 执行步骤 1002。  Step 1001: The routing device determines that the Wi-Fi AP of the routing device accessed by the user equipment is a corresponding Wi-Fi AP in the 2.4G frequency band. Go to step 1002.
本发明实施例以用户设备接入到路由设备的 Wi-Fi AP为 2.4G频段的对应 Wi-Fi AP为例进行说明。 也可以是用户设备请求接入的路由设备的 Wi-Fi AP 为 2.4G频段的对应 Wi-Fi AP。  In the embodiment of the present invention, a Wi-Fi AP in which the user equipment accesses the routing device is a Wi-Fi AP in the 2.4G frequency band is taken as an example for description. The Wi-Fi AP of the routing device requested by the user equipment may be the corresponding Wi-Fi AP in the 2.4G frequency band.
此处假设用户设备通过 2.4G频段接入到路由设备的 Wi-Fi AP。 路由设备 根据分别对 2.4G和 5G频段的 Wi-Fi AP的数据流量或者接入用户数的统计结 果, 获取 2.4G和 5G频段的 Wi-Fi AP的负载量。  It is assumed here that the user equipment accesses the Wi-Fi AP of the routing device through the 2.4G band. The routing device obtains the load of the Wi-Fi AP in the 2.4G and 5G bands according to the statistics of the data traffic or the number of access users of the Wi-Fi AP in the 2.4G and 5G bands respectively.
步骤 1002: 路由设备确定用户设备所接入的 2.4G频段的 Wi-Fi AP, 是否 达到该 Wi-Fi AP对应的负载阈值,若是,执行步骤 1003 ,若否,执行步骤 1004。  Step 1002: The routing device determines whether the Wi-Fi AP in the 2.4G band that is connected to the user equipment meets the load threshold corresponding to the Wi-Fi AP. If yes, go to step 1003. If no, go to step 1004.
步骤 1003: 路由设备确定 5G频段的 Wi-Fi AP, 生成指示消息, 并向该 用户设备发送指示消息。 该指示消息中携带 5G频段的 Wi-Fi接入点的信息。 且该指示消息指示用户设备接入的 2.4G 频段的 Wi-Fi AP 超载。 执行步骤 1005。  Step 1003: The routing device determines a Wi-Fi AP in the 5G frequency band, generates an indication message, and sends an indication message to the user equipment. The indication message carries information of a Wi-Fi access point in the 5G band. And the indication message indicates that the Wi-Fi AP of the 2.4G band accessed by the user equipment is overloaded. Go to step 1005.
步骤 1004: 用户设备保持接入不变。  Step 1004: The user equipment remains connected.
步骤 1005: 用户设备接收到该指示消息后, 对该消息进行解析, 并将解 析后的信息提示给用户。 执行步骤 1006。 Step 1005: After receiving the indication message, the user equipment parses the message, and solves the problem. The information after the analysis is presented to the user. Go to step 1006.
步骤 1006: 用户设备接收到用户是否切换到 2.4G频段的 Wi-Fi AP的指 示, 若切换, 执行步骤 1007 , 若不切换, 执行步骤 1004。  Step 1006: The user equipment receives the indication of whether the user switches to the Wi-Fi AP in the 2.4G frequency band. If the handover is performed, go to step 1007. If not, go to step 1004.
步骤 1007: 用户设备控制启动 WPS过程, 并向路由设备发送请求消息。 执行步骤 1008。  Step 1007: The user equipment controls to start the WPS process, and sends a request message to the routing device. Go to step 1008.
步骤 1008: 路由设备根据接收到的请求消息, 启动 5G频段的 Wi-Fi AP 对应的 WPS过程。  Step 1008: The routing device starts the WPS process corresponding to the Wi-Fi AP in the 5G frequency band according to the received request message.
步骤 1009:用户设备通过启动的 WPS与路由设备启动的 5G频段的 Wi-Fi AP对应的 WPS过程完成接入。  Step 1009: The user equipment completes access by using the WPS process corresponding to the Wi-Fi AP in the 5G frequency band initiated by the routing device by the enabled WPS.
本发明实施例提供的负载均衡方法、 装置及路由设备、 用户设备, 用户 设备接入到或者请求接入到路由设备的某一个 Wi-Fi接入点,路由设备通过检 测确定该用户设备所接入的或者请求接入的 Wi-Fi接入点的负载量达到其对 应的负载阔值时, 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi 接入点; 并生成指示消息, 向该用户设备发送指示消息。 用户设备可以根据 接收到的指示消息,知道当前接入 Wi-Fi接入点超载。用户设备可以根据接收 到的指示消息中携带的负载量未达到预定的负载阈值的 Wi-Fi接入点的信息, 获知该路由设备可以提供其它同等可用无线网络服务的 AP。 用户设备可以从 负载量未达到预定的负载阈值的 Wi-Fi接入点选择一个 Wi-Fi接入点来接入, 从而避免了路由设备上的 Wi-Fi AP资源浪费,用户可以直接避开拥挤的 Wi-Fi 接入点, 也可以避免与其它用户设备发生冲突, 保证了用户设备访问无线网 络资源的稳定性, 防止掉线现象的发生, 从而提升了用户设备访问无线网络 的速度, 使得访问无线网络资源畅通无阻。  The load balancing method, the device, the routing device, and the user equipment provided by the embodiment of the present invention, the user equipment accesses or requests access to a Wi-Fi access point of the routing device, and the routing device determines that the user equipment is connected by detecting When the load of the incoming or requested Wi-Fi access point reaches its corresponding load threshold, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold; and generating an indication message , sending an indication message to the user equipment. The user equipment can know that the current access Wi-Fi access point is overloaded according to the received indication message. The user equipment can learn that the routing device can provide other APs with the same available wireless network service according to the information of the Wi-Fi access point that does not reach the predetermined load threshold in the received indication message. The user equipment can select a Wi-Fi access point to access from a Wi-Fi access point whose load does not reach a predetermined load threshold, thereby avoiding waste of Wi-Fi AP resources on the routing device, and the user can directly avoid Congested Wi-Fi access points can also avoid conflicts with other user equipments, ensure the stability of user equipment access to wireless network resources, prevent the occurrence of dropped calls, and improve the speed at which user equipment accesses wireless networks. Access to wireless network resources is unimpeded.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可采用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等) 上实施的计算机程序产品的形式。 本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。 Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code. The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. 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 device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。  Although the preferred embodiment of the invention has been described, it will be apparent to those skilled in the < Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and modifications
显然, 本领域的技术人员可以对本发明实施例进行各种改动和变型而不 脱离本发明实施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变 型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些 改动和变型在内。  It is apparent that those skilled in the art can make various modifications and changes to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, it is intended that the present invention cover the modifications and modifications of the embodiments of the invention.

Claims

权 利 要 求 Rights request
1、 一种负载均衡方法, 其特征在于, 包括:  A load balancing method, comprising:
确定用户设备所接入的或者请求接入的路由设备的第一无线保真 Wi-Fi 接入点;  Determining a first wireless fidelity Wi-Fi access point of the routing device accessed by the user equipment or requesting access;
当确定所述第一 Wi-Fi接入点的负载量达到对应所述第一 Wi-Fi接入点的 负载阈值时, 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入 点;  When it is determined that the load of the first Wi-Fi access point reaches a load threshold corresponding to the first Wi-Fi access point, determining that the at least one second Wi-Fi connection that does not reach the corresponding load threshold Entry point
生成指示消息, 所述指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点的其中一个;  Generating an indication message, the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points;
发送所述指示消息给所述用户设备。  Sending the indication message to the user equipment.
2、 如权利要求 1所述的负载均衡方法, 其特征在于, 在确定至少一个负 载量未达到对应的负载阈值的第二 Wi-Fi接入点之前,确定用户设备所接入的 或者请求接入的路由设备的第一 Wi-Fi接入点之后, 包括: 获取所述路由设备 的各个 Wi-Fi接入点的负载量;  2. The load balancing method according to claim 1, wherein before determining that the at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold, determining that the user equipment is accessed or requested to connect After the first Wi-Fi access point of the incoming routing device, the method includes: acquiring a load quantity of each Wi-Fi access point of the routing device;
当确定所述第一 Wi-Fi接入点的负载量达到负载阈值时,确定至少一个负 载量未达到对应负载阈值的第二 Wi-Fi接入点 , 包括:  When it is determined that the load of the first Wi-Fi access point reaches a load threshold, determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold includes:
根据获取的所述各个 Wi-Fi接入点的负载量,确定所述用户设备所接入的 或者请求接入的所述第一 Wi-Fi接入点的负载量是否达到对应的负载阈值,若 达到所述负载阈值, 则确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  Determining, according to the obtained load quantity of each of the Wi-Fi access points, whether the load quantity of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, it is determined that at least one second Wi-Fi access point whose load amount does not reach the corresponding load threshold.
3、 如权利要求 1所述的负载均衡方法, 其特征在于, 包括:  3. The load balancing method according to claim 1, comprising:
周期性获取所述路由设备的各个 Wi-Fi接入点的负载量;  Periodically acquiring the load of each Wi-Fi access point of the routing device;
当确定所述第一 Wi-Fi接入点的负载量达到负载阈值时,确定至少一个负 载量未达到对应的负载阈值的第二 Wi-Fi接入点, 包括,  Determining, when the load of the first Wi-Fi access point reaches a load threshold, determining that the at least one second Wi-Fi access point that does not reach the corresponding load threshold,
根据最近一次获取的所述各个 Wi-Fi接入点的负载量,确定所述用户设备 所接入的或者请求接入的所述第一 Wi-Fi接入点的负载量是否达到对应的负 载阈值, 若达到所述负载阈值, 则确定至少一个负载量未达到对应的负载阈 值的第二 Wi-Fi接入点。 Determining, according to the last acquired load quantity of each Wi-Fi access point, whether the load of the first Wi-Fi access point accessed by the user equipment or requested to access reaches a corresponding negative And carrying a threshold, if the load threshold is reached, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
4、 如权利要求 1~3任一项所述的负载均衡方法, 其特征在于, 所述指示 信息用于指示所述用户设备切换到所述第二 Wi-Fi 接入点中负载量最小的 Wi-Fi接入点。  The load balancing method according to any one of claims 1 to 3, wherein the indication information is used to indicate that the user equipment switches to the second Wi-Fi access point with a minimum load amount. Wi-Fi access point.
5、 如权利要求 1~4任一项所述的负载均衡方法, 其特征在于, 向所述用 户设备发送指示消息之后, 所述方法还包括:  The load balancing method according to any one of claims 1 to 4, wherein after the sending the indication message to the user equipment, the method further includes:
接收所述用户设备确定切换到所述第二 Wi-Fi接入点中的一个目标 Wi-Fi 接入点后反馈的请求消息, 所述请求消息中携带所述目标 Wi-Fi接入点的信 息;  Receiving, by the user equipment, a request message that is sent back to a target Wi-Fi access point of the second Wi-Fi access point, where the request message carries the target Wi-Fi access point Information
根据接收的请求消息,对所述用户设备进行接入目标 Wi-Fi接入点的切换 预处理操作。  And performing, according to the received request message, a handover pre-processing operation of the access target Wi-Fi access point to the user equipment.
6、 如权利要求 5所述的负载均衡方法, 其特征在于, 所述根据接收到的 请求消息,对所述用户设备进行接入目标 Wi-Fi接入点的切换预处理操作, 具 体包括:  The load balancing method according to claim 5, wherein the performing a handover pre-processing operation on the access target Wi-Fi access point to the user equipment according to the received request message includes:
根据接收到的请求消息,向所述用户设备发送接入目标 Wi-Fi接入点所需 的密码信息; 或者  Sending, to the user equipment, password information required to access the target Wi-Fi access point according to the received request message; or
根据请求消息启动路由设备的无线保护设置 WPS过程。  The WPS process is set up based on the request message to initiate the wireless protection of the routing device.
7、 如权利要求 1~6任一项所述的负载均衡方法, 其特征在于, 确定的各 个 Wi-Fi接入点的负载量包括:各个 Wi-Fi接入点在预定时间段内的数据流量 和 /或各个 Wi-Fi接入点的接入用户数。  The load balancing method according to any one of claims 1 to 6, wherein the determined load amount of each Wi-Fi access point includes: data of each Wi-Fi access point within a predetermined time period. Traffic and/or number of access users for each Wi-Fi access point.
8、 一种负载均衡方法, 其特征在于, 包括:  8. A load balancing method, comprising:
接入到或者请求接入到路由设备中的第一无线保真 Wi-Fi接入点; 接收所述路由设备发送的指示消息, 所述指示消息指示所述用户设备切 换到第二 Wi-Fi接入点的其中一个;  Receiving or requesting access to the first wireless fidelity Wi-Fi access point in the routing device; receiving an indication message sent by the routing device, the indication message instructing the user equipment to switch to the second Wi-Fi One of the access points;
根据接收到的指示消息切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入 点,所述第二 Wi-Fi接入点包括所述路由设备在确定第一 Wi-Fi接入点的负载 量达到对应的负载阈值时, 确定的所述路由设备中至少一个负载量未达到对 应的负载阈值的 Wi-Fi接入点。 Switching to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, the second Wi-Fi access point including the routing device determining the first Wi-Fi connection Incoming load When the amount reaches the corresponding load threshold, it is determined that at least one of the routing devices does not reach the corresponding load threshold of the Wi-Fi access point.
9、 如权利要求 8所述的负载均衡方法, 其特征在于, 根据接收到的指示 消息切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后, 包括:  The load balancing method according to claim 8, wherein after switching to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, the method includes:
向所述路由设备反馈请求消息,所述请求消息中携带目标 Wi-Fi接入点的 信息,以请求所述路由设备对所述用户设备进行接入目标 Wi-Fi接入点的切换 预处理操作。  And transmitting, to the routing device, a request message, where the request message carries information of a target Wi-Fi access point, to request the routing device to perform handover pre-processing on the access target Wi-Fi access point of the user equipment. operating.
10、 如权利要求 9 所述的负载均衡方法, 其特征在于, 向所述路由设备 反馈请求消息, 具体包括:  The load balancing method according to claim 9, wherein the feeding back the request message to the routing device includes:
向所述路由设备反馈用以请求获取目标 Wi-Fi接入点的密码信息的请求 消息;  And feeding back, to the routing device, a request message for requesting acquisition of password information of the target Wi-Fi access point;
所述方法还包括:  The method further includes:
根据所述路由设备下发的所述目标 Wi-Fi接入点的密码信息,接入到所述 目标 Wi-Fi接入点。  And accessing the target Wi-Fi access point according to the password information of the target Wi-Fi access point delivered by the routing device.
11、 如权利要求 9 所述的负载均衡方法, 其特征在于, 根据接收到的指 示消息切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后,向所述路由设 备反馈请求消息之前, 所述方法还包括:  The load balancing method according to claim 9, wherein after switching to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, the routing device is Before the request message is fed back, the method further includes:
启动用户设备的无线保护设置 WPS过程;  Start the wireless protection setting of the user equipment WPS process;
所述向所述路由设备反馈请求消息, 具体包括:  The feeding back the request message to the routing device includes:
向所述路由设备发送用以请求启动目标 Wi-Fi接入点对应的无线保护设 置 WPS过程的请求消息;  Sending, to the routing device, a request message for requesting to initiate a wireless protection setting WPS process corresponding to the target Wi-Fi access point;
向所述路由设备反馈请求消息之后, 所述方法还包括:  After the request message is fed back to the routing device, the method further includes:
根据启动的所述用户设备的 WPS过程及所述路由设备启动的目标 Wi-Fi 接入点对应的 WPS过程, 接入到目标 Wi-Fi接入点。  And accessing the target Wi-Fi access point according to the initiated WPS process of the user equipment and the WPS process corresponding to the target Wi-Fi access point initiated by the routing device.
12、 一种负载均衡装置, 其特征在于, 包括:  12. A load balancing device, comprising:
确定模块, 用于确定用户设备所接入的或者请求接入的路由设备的第一 Wi-Fi接入点;当确定所述第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点; a determining module, configured to determine a first Wi-Fi access point of the routing device accessed by the user equipment or requested to access; when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold , Determining at least one second Wi-Fi access point whose load amount does not reach a corresponding load threshold;
生成模块, 用于生成指示消息, 所述指示消息用于指示所述用户设备切 换到所述第二 Wi-Fi接入点的其中一个;  a generating module, configured to generate an indication message, where the indication message is used to indicate that the user equipment switches to one of the second Wi-Fi access points;
发送模块, 用于发送所述生成模块生成的指示消息给所述用户设备。  And a sending module, configured to send an indication message generated by the generating module to the user equipment.
13、 如权利要求 12所述的装置, 其特征在于, 还包括获取模块用于: 在所述确定模块确定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点之前, 确定用户设备所接入的或者请求接入的路由设备的第一无 线保真 Wi-Fi接入点之后, 获取所述路由设备的各个 Wi-Fi接入点的负载量; 所述确定模块还用于: 根据所述获取模块获取的各个 Wi-Fi接入点的负 载量,确定所述用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量 是否达到对应的负载阈值, 若达到所述负载阈值, 则确定至少一个负载量未 达到对应的负载阈值的第二 Wi-Fi接入点。  13. The apparatus according to claim 12, further comprising: an obtaining module, configured to: determine, before the determining module determines that the at least one second Wi-Fi access point whose load amount does not reach a corresponding load threshold After the first wireless fidelity Wi-Fi access point of the routing device that is accessed by the user equipment or requested to be accessed, the load of each Wi-Fi access point of the routing device is obtained; And determining, according to the load quantity of each Wi-Fi access point acquired by the acquiring module, whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load. The threshold, if the load threshold is reached, determining that the at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
14、 如权利要求 12所述的装置, 其特征在于, 还包括获取模块, 用于周 期性获取各个 Wi-Fi接入点的负载量;  The device according to claim 12, further comprising an obtaining module, configured to periodically acquire the load of each Wi-Fi access point;
所述确定模块还用于, 在确定用户设备所接入的或者请求接入的第一 Wi-Fi接入点后, 根据所述获取模块最近一次获取的各个 Wi-Fi接入点的负载 量,确定所述用户设备所接入的或者请求接入的 Wi-Fi接入点的负载量是否达 到对应的负载阈值, 若达到所述负载阈值, 确定至少一个负载量未达到对应 的负载阈值的第二 Wi-Fi接入点。  The determining module is further configured to: after determining, by the user equipment, the first Wi-Fi access point that is accessed or requested to access, according to the load of each Wi-Fi access point acquired by the acquiring module Determining whether the load of the Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold. If the load threshold is reached, determining that at least one load quantity does not reach the corresponding load threshold. The second Wi-Fi access point.
15、 如权利要求 12~14任一项所述的装置, 其特征在于, 所述生成模块 生成的指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点中负载 量最小的 Wi-Fi接入点。  The device according to any one of claims 12 to 14, wherein the indication message generated by the generating module is used to indicate that the user equipment switches to the load in the second Wi-Fi access point. The smallest Wi-Fi access point.
16、 一种负载均衡装置, 其特征在于, 包括:  16. A load balancing device, comprising:
控制模块, 用于控制用户设备接入到或者请求接入到路由设备中的第一 无线保真 Wi-Fi接入点;  a control module, configured to control a first wireless fidelity Wi-Fi access point that the user equipment accesses or requests to access to the routing device;
接收模块, 用于接收所述路由设备发送的指示消息;  a receiving module, configured to receive an indication message sent by the routing device;
确定模块,用于根据接收到的指示消息确定是否切换到第二 Wi-Fi接入点 中的一个目标 Wi-Fi接入点,所述第二 Wi-Fi接入点包括所述路由设备在确定 第一 Wi-Fi接入点的负载量达到对应的负载阈值时,确定的所述路由设备中至 少一个负载量未达到对应的负载阔值的 Wi-Fi接入点。 a determining module, configured to determine, according to the received indication message, whether to switch to the second Wi-Fi access point a target Wi-Fi access point, the second Wi-Fi access point including the determining, when the routing device determines that the load of the first Wi-Fi access point reaches a corresponding load threshold At least one of the routing devices does not reach the corresponding load threshold Wi-Fi access point.
17、 如权利要求 16所述的装置, 其特征在于, 还包括:  17. The device of claim 16, further comprising:
发送模块, 用于在所述确定模块根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的一个目标 Wi-Fi接入点后, 向所述路由设备反馈请求消息, 所述请求消息中携带所述确定模块确定出的目标 Wi-Fi接入点的信息,以请求 所述路由设备对所述用户设备进行接入目标 Wi-Fi接入点的切换预处理操作。  a sending module, configured to: after the determining module determines to switch to a target Wi-Fi access point in the second Wi-Fi access point according to the received indication message, feed back a request message to the routing device, where The request message carries the information of the target Wi-Fi access point determined by the determining module, to request the routing device to perform a handover pre-processing operation on the access target Wi-Fi access point of the user equipment.
18、 一种路由设备, 其特征在于, 包括:  18. A routing device, comprising:
至少两个无线保真 Wi-Fi接入点 ,每个所述 Wi-Fi接入点设有对应的负载 阈值;  At least two wireless fidelity Wi-Fi access points, each of the Wi-Fi access points having a corresponding load threshold;
处理器, 用于确定用户设备所接入的或者请求接入的路由设备的第一 Wi-Fi接入点,当确定所述第一 Wi-Fi接入点的负载量达到对应的负载阈值时, 确定至少一个负载量未达到对应的负载阐值的第二 Wi-Fi接入点;并生成指示 消息,所述指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点的其 中一个;  a processor, configured to determine a first Wi-Fi access point of the routing device that is accessed by the user equipment or requested to access, when determining that the load of the first Wi-Fi access point reaches a corresponding load threshold Determining, by the second Wi-Fi access point, that the at least one load does not reach the corresponding load resolution; and generating an indication message, the indication message is used to indicate that the user equipment switches to the second Wi-Fi access One of the points;
收发器, 用于发送所述处理器生成的指示消息给所述用户设备。  And a transceiver, configured to send an indication message generated by the processor to the user equipment.
19、 如权利要求 18所述的路由设备, 其特征在于, 所述处理器, 具体用 于:  The routing device according to claim 18, wherein the processor is specifically configured to:
确定用户设备所接入或者请求接入的路由设备的第一 Wi-Fi接入点之后, 获取所述路由设备的各个 Wi-Fi 接入点的负载量, 并根据获取的各个 Wi-Fi 接入点的负载量, 确定所述用户设备所接入的或者请求接入的所述第一 Wi-Fi 接入点的负载量是否达到对应的负载阈值, 若达到所述负载阈值, 则确定至 少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。  After determining the first Wi-Fi access point of the routing device that the user equipment accesses or requests to access, acquiring the load quantity of each Wi-Fi access point of the routing device, and according to each obtained Wi-Fi connection The load of the ingress, determining whether the load of the first Wi-Fi access point that the user equipment accesses or requests to access reaches a corresponding load threshold, and if the load threshold is reached, determining at least A second Wi-Fi access point whose load does not reach the corresponding load threshold.
20、 如权利要求 18所述的路由设备, 其特征在于, 所述处理器, 具体用 于:  The routing device according to claim 18, wherein the processor is specifically configured to:
周期性获取各个 Wi-Fi接入点的负载量,确定用户设备所接入的或者请求 接入的路由设备的第一 Wi-Fi 接入点之后, 根据最近一次获取的所述各个 Wi-Fi 接入点的负载量, 确定所述用户设备所接入的或者请求接入的第一 Wi-Fi接入点的负载量是否达到对应的负载阈值, 若达到所述负载阈值, 则确 定至少一个负载量未达到对应的负载阈值的第二 Wi-Fi接入点。 Periodically obtain the load of each Wi-Fi access point to determine whether the user equipment is connected or requested. After the first Wi-Fi access point of the accessed routing device, determining, according to the last acquired load quantity of each Wi-Fi access point, the first accessed by the user equipment or requested to access Whether the load of the Wi-Fi access point reaches a corresponding load threshold, and if the load threshold is reached, determining that at least one second Wi-Fi access point whose load does not reach the corresponding load threshold.
21、 如权利要求 18~20任一项所述的路由设备, 其特征在于, 所述处理 器生成的指示消息用于指示所述用户设备切换到所述第二 Wi-Fi接入点中负 载量最小的 Wi-Fi接入点的信息。  The routing device according to any one of claims 18 to 20, wherein the indication message generated by the processor is used to indicate that the user equipment switches to a load in the second Wi-Fi access point. The smallest amount of Wi-Fi access point information.
22、 一种用户设备, 其特征在于, 包括:  22. A user equipment, comprising:
处理器, 用于控制用户设备接入到或者请求接入到路由设备中的第一无 线保真 Wi-Fi接入点;  a processor, configured to control a first wireless fidelity Wi-Fi access point that the user equipment accesses or requests to access to the routing device;
收发器, 用于接收所述路由设备发送的指示消息;  a transceiver, configured to receive an indication message sent by the routing device;
所述处理器还用于, 根据接收到的指示消息确定是否切换到第二 Wi-Fi 接入点中的一个目标 Wi-Fi接入点,所述第二 Wi-Fi接入点包括所述路由设备 在确定第一 Wi-Fi接入点的负载量达到对应的负载阈值时,确定的所述路由设 备中至少一个负载量未达到对应的负载阈值的 Wi-Fi接入点。  The processor is further configured to: determine, according to the received indication message, whether to switch to one of the second Wi-Fi access points, where the second Wi-Fi access point includes the When the routing device determines that the load of the first Wi-Fi access point reaches the corresponding load threshold, the determined at least one of the routing devices does not reach the Wi-Fi access point of the corresponding load threshold.
23、 如权利要求 22所述的用户设备, 其特征在于, 所述收发器, 还用于: 在所述处理器根据接收到的指示消息确定切换到第二 Wi-Fi接入点中的 一个目标 Wi-Fi接入点后, 向所述路由设备反馈请求消息, 所述请求消息中携 带所述目标 Wi-Fi接入点的信息,以请求所述路由设备对所述用户设备进行接 入目标 Wi-Fi接入点的切换预处理操作。  The user equipment according to claim 22, wherein the transceiver is further configured to: determine, according to the received indication message, that the processor switches to one of the second Wi-Fi access points After the target Wi-Fi access point, the request message is fed back to the routing device, where the request message carries the information of the target Wi-Fi access point, to request the routing device to access the user equipment. Switching pre-processing operation of the target Wi-Fi access point.
PCT/CN2014/083576 2014-08-01 2014-08-01 Load balancing method and apparatus, routing device and user equipment WO2016015343A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083576 WO2016015343A1 (en) 2014-08-01 2014-08-01 Load balancing method and apparatus, routing device and user equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083576 WO2016015343A1 (en) 2014-08-01 2014-08-01 Load balancing method and apparatus, routing device and user equipment

Publications (1)

Publication Number Publication Date
WO2016015343A1 true WO2016015343A1 (en) 2016-02-04

Family

ID=55216695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083576 WO2016015343A1 (en) 2014-08-01 2014-08-01 Load balancing method and apparatus, routing device and user equipment

Country Status (1)

Country Link
WO (1) WO2016015343A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049570A1 (en) * 2002-09-17 2004-03-11 Frank Ed H. Method and system for network management in a hybrid wired/wireless network
CN1913467A (en) * 2005-08-12 2007-02-14 中兴通讯股份有限公司 Load balancing method of radio local network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049570A1 (en) * 2002-09-17 2004-03-11 Frank Ed H. Method and system for network management in a hybrid wired/wireless network
CN1913467A (en) * 2005-08-12 2007-02-14 中兴通讯股份有限公司 Load balancing method of radio local network

Similar Documents

Publication Publication Date Title
KR101147067B1 (en) Method, apparatus and system for key derivation
US10674363B2 (en) Access control method, user equipment, and network device
US8874710B2 (en) Access network discovery
KR102022874B1 (en) Method and apparatus for scanning and selecting wlan network accessing a user equipment in a cell in mobile communication system
KR101886748B1 (en) Mme reselection method and mme
WO2019033796A1 (en) Session processing method and related device
RU2680086C2 (en) Method of reliable handover of specialized network, method of notification of specialized network type and device
EP3758312B1 (en) Method and system for the creation of a multicast group
CN111510922B (en) Wireless network access control method, device and system
US20170086186A1 (en) Method and apparatus for providing network access to a user equipment requesting voice service
WO2014163648A1 (en) Method, apparatus and computer program for handling overlapping interworking information
CN105165068A (en) Entity and a method of operating an entity of a wireless local area network
CN105451274A (en) Network convergence preprocessing method, device and system
WO2012162976A1 (en) Method and device for acquiring wifi access point information
WO2013053327A1 (en) Network selection method, mobile terminal and base station
US10091719B2 (en) Methods and apparatus for enabling traffic steering between heterogeneous telecommunication networks
WO2014047887A1 (en) Wireless local area network access method, base station controller and user equipment
WO2015143763A1 (en) Load information transfer method, system, network elements and computer storage medium
WO2015143655A1 (en) Data distribution method and base station
WO2013037222A1 (en) Dynamic management method and device for wireless broadband hotspot device user access
JP2016504831A (en) Method and apparatus for controlling association between station and WLAN
EP2437546B1 (en) Method for controlling communication transfers of mobile equipments between wireless access networks having different access technologies, based on a load- balancing
WO2016015343A1 (en) Load balancing method and apparatus, routing device and user equipment
WO2015113263A1 (en) Service transfer method, user device and access network device
US10342000B2 (en) Control information sending method and apparatus

Legal Events

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

Ref document number: 14898747

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14898747

Country of ref document: EP

Kind code of ref document: A1