CN105897600A - Method and device for controlling router load balance - Google Patents
Method and device for controlling router load balance Download PDFInfo
- Publication number
- CN105897600A CN105897600A CN201610425397.8A CN201610425397A CN105897600A CN 105897600 A CN105897600 A CN 105897600A CN 201610425397 A CN201610425397 A CN 201610425397A CN 105897600 A CN105897600 A CN 105897600A
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- frequency link
- devices
- load
- default
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/04—Registration at HLR or HSS [Home Subscriber Server]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
- H04L12/56—Packet switching systems
- H04L12/5601—Transfer mode dependent, e.g. ATM
- H04L2012/5678—Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management
- H04L2012/568—Load balancing, smoothing or shaping
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method and a device for controlling router load balance, and aims to improve connection control of a router and improve load balance of the router. The method comprises the following steps: acquiring numbers of equipment on at least two radio-frequency links; judging whether the numbers of the equipment on the at least two radio-frequency links conform to a preset load balance processing condition or not; and performing load balance processing on a radio-frequency link on which the number of the equipment is largest in the at least two radio-frequency links when the numbers of the equipment on the at least two radio-frequency links conform to the preset load balance processing condition. Through adoption of the method provided by the invention, the load balance processing is performed on the radio-frequency link on which the number of the equipment is largest when the numbers of the equipment on the at least two radio-frequency links conform to the preset load balance processing condition, so that the load balance of the router is improved, and the utilization ratio of network bandwidths is increased.
Description
Technical field
It relates to communication and computer disposal field, particularly relate to control the side of router load equilibrium
Method and device.
Background technology
Along with the development of electronic technology, mobile terminal is the most commonly used.Every day utilizes mobile terminal Internet access,
It it has been a kind of custom of a lot of user.Further, the appearance of Smart Home, a lot of controlling intelligent household appliances are all
There is function of surfing the Net.These online be unable to do without the connection of router.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of and controls router load equilibrium
Method and device.
First aspect according to disclosure embodiment, it is provided that a kind of method controlling router load equilibrium,
Including:
Obtain the number of devices at least two radio frequency link;
Judge whether the number of devices on described at least two radio frequency link meets default load balance process
Condition;
Number of devices on described at least two radio frequency link meets default load balance process condition
Time, the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out at load balancing
Reason.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: when at least two is penetrated
When number of devices on frequency link meets default load balance process condition, to the highest the penetrating of number of devices
Frequency link carries out load balance process, thus improves the load balancing of router, improves the network bandwidth
Utilization rate.
In one embodiment, the load balance process condition preset, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: preset multiple load
Equilibrium treatment condition, thus increase the scope of application of load balancing, due to the treatment conditions of load balancing
Default difference threshold is reached for the difference of the number of devices at least two radio frequency link;Or at least one
Number of devices on individual radio frequency link reaches the first default amount threshold, and at least two radio frequency link
The difference of number of devices reach default difference threshold, thus, by load balance process, can subtract
The difference of the equipment on few a plurality of radio frequency link, improves the utilization rate of Internet resources.
In one embodiment, described method also includes:
Judge in described at least two radio frequency link that the number of devices on a most at least radio frequency link reaches
To the second amount threshold preset, the second amount threshold is less than the first amount threshold;
Whether the described number of devices judged on described at least two radio frequency link meets default load balancing
Treatment conditions, including:
When number of devices at least radio frequency link reaches the second default amount threshold, it is judged that
Whether the number of devices on described at least two radio frequency link meets default load balance process condition.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: owing to penetrating all
When the number of devices of frequency link is the most less, it is not necessary to do load balance process, thus, penetrate at least one
When number of devices on frequency link reaches the second default amount threshold, just judge at least two radio frequency link
On number of devices whether meet default load balance process condition, it is to avoid unnecessary load balancing
Process, decrease the consumption of system resource.
In one embodiment, the described radio frequency the highest to number of devices in described at least two radio frequency link
Link, carries out load balance process, including:
The radio frequency link the highest to number of devices in described at least two radio frequency link, extends transmission wireless extensively
Report the cycle of literary composition;And/or
Stop sending response message.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: pass through extension device
The radio frequency link that quantity is the highest sends the cycle of radio broadcasting message, decreases this radio frequency link broadcasting packet
Number of times, thus it is general to reduce the appearance in being not connected with the scan list of terminal of router of this radio frequency link
Rate, makes the terminal being not connected with router be connected to as far as possible on other radio frequency links.
In one embodiment, described method also includes:
Determine whether that the number of devices at least one radio frequency link reaches default maximum device quantity;
When there being the number of devices at least one radio frequency link to reach default maximum device quantity, reach
The radio broadcasting message that the radio frequency link of the maximum device quantity preset sends is hidden service set.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: when on radio frequency link
Number of devices when reaching default maximum device quantity, in the radio broadcasting message that this radio frequency link sends
Hide service set, so that the radio frequency link reaching default maximum device quantity cannot not connected
The terminal searching connecing router arrives, it is to avoid terminal request is connected to the radio frequency reaching to preset maximum device quantity
Link and cause connection failure or waste the substantial amounts of waiting time.
In one embodiment, described method also includes:
Number of devices on described at least two radio frequency link does not meets default load balance process condition
Time, the radio frequency link the highest to described at least two radio frequency link Central Plains number of devices, stop loading
Equilibrium treatment.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: at number of devices not
When meeting default load balance process condition, stop carrying out load balance process, thus avoid long-time
The waste of system resource keeping load balance process and cause.
Second aspect according to disclosure embodiment, it is provided that a kind of device controlling router load equilibrium,
Including:
Obtain module, for obtaining the number of devices at least two radio frequency link;
First judge module, for judging whether the number of devices on described at least two radio frequency link meets
The load balance process condition preset;
Processing module, meets default load for the number of devices on described at least two radio frequency link
During equilibrium treatment condition, the radio frequency link the highest to number of devices in described at least two radio frequency link, enters
Row load balance process.
In one embodiment, the load balance process condition preset, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
In one embodiment, described device also includes:
Second judge module, is used for judging in described at least two radio frequency link a most at least radio frequency
Number of devices on link reaches the second default amount threshold, and the second amount threshold is less than the first quantity threshold
Value;
Described first judge module, including:
Judging submodule, the number of devices being used at least radio frequency link reaches default second
During amount threshold, it is judged that whether the number of devices on described at least two radio frequency link meets default load
Equilibrium treatment condition.
In one embodiment, described processing module, including:
Extend submodule, for the radio frequency link the highest to number of devices in described at least two radio frequency link,
Extend the cycle sending radio broadcasting message;
Stop submodule, be used for stopping sending response message.
In one embodiment, described device also includes:
3rd judge module, for determining whether that the number of devices at least one radio frequency link reaches pre-
If maximum device quantity;
Hide module, for setting there being the number of devices at least one radio frequency link to reach default maximum
During standby quantity, the radio broadcasting message of the radio frequency link transmission reaching default maximum device quantity is hidden
Service set.
In one embodiment, described device also includes:
Stopping modular, does not meets default bearing for the number of devices on described at least two radio frequency link
When carrying equilibrium treatment condition, the radio frequency link the highest to described at least two radio frequency link Central Plains number of devices,
Stop carrying out load balance process.
Second aspect according to disclosure embodiment, it is provided that a kind of device controlling router load equilibrium,
Including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the number of devices at least two radio frequency link;
Judge whether the number of devices on described at least two radio frequency link meets default load balance process
Condition;
Number of devices on described at least two radio frequency link meets default load balance process condition
Time, the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out at load balancing
Reason.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe
, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet these public affairs
The embodiment opened, and for explaining the principle of the disclosure together with description.
Fig. 1 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu;
Fig. 2 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu;
Fig. 3 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu;
Fig. 4 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu;
Fig. 5 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu;
Fig. 6 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu;
Fig. 7 is the frame according to a kind of device controlling router load equilibrium shown in an exemplary embodiment
Figure;
Fig. 8 is the frame according to a kind of device controlling router load equilibrium shown in an exemplary embodiment
Figure;
Fig. 9 is the frame according to a kind of device controlling router load equilibrium shown in an exemplary embodiment
Figure;
Figure 10 is according to a kind of device controlling router load equilibrium shown in an exemplary embodiment
Block diagram;
Figure 11 is according to a kind of device controlling router load equilibrium shown in an exemplary embodiment
Block diagram;
Figure 12 is according to a kind of dress for controlling router load equilibrium shown in an exemplary embodiment
The block diagram put.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following
When description relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous
Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the disclosure
There is embodiment.On the contrary, they only with as appended claims describes in detail, the one of the disclosure
The example of the apparatus and method that a little aspects are consistent.
Along with the development of electronic technology, increasing controlling intelligent household appliances has possessed couple in router to be carried out
The function of wireless communication, thus, the number of devices accessed in router also gets more and more.Some road
Being had a plurality of radio frequency link by utensil, such as, certain configuration of routers has 2.4G wireless frequency and 5G is wireless
After frequency, 2.4G wireless frequency and the unification of 5G wireless frequency double frequency, externally present identical services set mark
Know.Now, for installing the terminal supporting single-frequency wireless network card, can only connect on the link of 2.4G,
But for having certain randomness from the point of view of supporting the terminal of double frequency, this is possible to there will be two radio frequencies
The unbalanced situation of terminal quantity, thus, how to improve the load balancing of a plurality of radio frequency link in router,
It it is a technical problem urgently to be resolved hurrily.
In the disclosure, it is thus achieved that the number of devices on multiple radio frequency links in router;Judge multiple rf chain
Whether the number of devices on road meets default load balance process condition;When number of devices meets default
During load balance process condition, the radio frequency link that number of devices in above-mentioned multiple radio frequency links is the highest is carried out
Load balance process, improves the load balancing of router.
Fig. 1 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu, as it is shown in figure 1, the method can be realized by router, comprises the following steps S101-S103:
In step S101, it is thus achieved that the number of devices at least two radio frequency link;
In step s 102, it is judged that it is default whether the number of devices at least two radio frequency link meets
Load balance process condition;
In step s 103, to meet default load equal for the number of devices at least two radio frequency link
During weighing apparatus treatment conditions, the radio frequency link the highest to number of devices at least two radio frequency link, load
Equilibrium treatment.
As a example by the router with 2.4G radio frequency link and 5G radio frequency link, this router externally presents
Identical service set.Now, for installing the equipment supporting single-frequency wireless network card, can only connect to
On the link of 2.4G.But it is to be randomly chosen link to be connected from the point of view of the equipment for support double frequency,
This is possible to there will be two unbalanced situations of radio-frequency apparatus quantity.In the present embodiment, for solving this
Individual problem, it is thus achieved that the number of devices on the two radio frequency link, it is judged that the number of devices on two radio frequency links
Whether amount meets default load balance process condition, when the equipment on two radio frequency links meets default
During load balancing condition, the radio frequency link connecting number of devices the highest in these links is carried out load balancing
Process.
Certainly, it should be noted that scheme described in the present embodiment is equally applicable to have more than two
The router of radio frequency link.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: when at least two is penetrated
When number of devices on frequency link meets default load balance process condition, to the highest the penetrating of number of devices
Frequency link carries out load balance process, thus improves the load balancing of router.
In one embodiment, the load balance process condition preset, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
For example, difference threshold and first number of number of devices on multiple radio frequency links in router are preset
Amount threshold value, such as, the difference threshold preset is 8, and the first amount threshold preset is 20.That presets is negative
Load equilibrium treatment condition is that the difference of the number of devices on multiple radio frequency link reaches 8;Or that presets is negative
Carrying equilibrium treatment condition is that the quantity at least one radio frequency link reaches 20, on the most multiple radio frequency links
The difference of number of devices reach 8.
When the difference of the number of devices on multiple radio frequency links reaches 8, carry out load balance process.Or
Person, when the quantity at least one radio frequency link reaches the number of devices on 20, and multiple radio frequency link
When difference reaches 8, carry out load balance process.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: preset multiple load
Equilibrium treatment condition, thus increase the scope of application of load balancing, due to the treatment conditions of load balancing
Default difference threshold is reached for the difference of the number of devices at least two radio frequency link;Or at least one
Number of devices on individual radio frequency link reaches the first default amount threshold, and at least two radio frequency link
The difference of number of devices reach default difference threshold, thus, by load balance process, can subtract
The difference of the equipment on few a plurality of radio frequency link, improves the utilization rate of Internet resources.
In one embodiment, as in figure 2 it is shown, before above-mentioned steps S102, method also can be by reality
Execute as following steps S201:
In step s 201, it is judged that at least two radio frequency link the most at least on a radio frequency link
Number of devices reach default the second amount threshold, the second amount threshold is less than the first amount threshold;
Above-mentioned steps S102 can be implemented as following steps S202:
In step S202, the number of devices at least radio frequency link reaches default second
During amount threshold, it is judged that whether the number of devices at least two radio frequency link meets default load balancing
Treatment conditions.
When on a plurality of radio frequency link, the quantity of equipment is the most less time, such as, on a radio frequency link
Number of devices is 8, and the number of devices on another radio frequency link is 0, now, although two radio frequency links
The difference of upper number of devices has reached the difference threshold preset, but, there are 8 equipment to penetrate for connecting
For frequency link, connect 8 equipment and there is not bandwidth pressure, and also can connect multiple equipment.So
In the case of to carry out load balance process be nonsensical, it is then desired to the equipment on radio frequency link
Just judge when reaching some whether the number of devices on a plurality of radio frequency link meets default load balancing
Treatment conditions.
Thus, in the present embodiment, pre-set rational second amount threshold, judge multiple penetrating
Before whether the number of devices on frequency link meets default load balance process condition, need to judge multiple
In radio frequency link, if at least the number of devices on a radio frequency link reaches the second default quantity threshold
Value, when reaching this second amount threshold, just judges whether the number of devices on a plurality of radio frequency link meets
The load balance process condition preset.
Such as, this second amount threshold is 10, then reach when the number of devices on an at least radio frequency link
During to 10, just judge whether the number of devices on a plurality of radio frequency link meets default load balance process bar
Part.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: owing to penetrating all
When the number of devices of frequency link is the most less, it is not necessary to do load balance process, thus, penetrate at least one
When number of devices on frequency link reaches the second default amount threshold, just judge at least two radio frequency link
On number of devices whether meet default load balance process condition, it is to avoid unnecessary load balancing
Process, decrease the consumption of system resource.
In one embodiment, as it is shown on figure 3, above-mentioned steps S103 can be implemented as following manner S301
And/or S302:
In step S301, the radio frequency link the highest to number of devices at least two radio frequency link, prolongs
The long cycle sending radio broadcasting message;
In step s 302, stop sending response message.
In the present embodiment, load is carried out all for the radio frequency link that number of devices in multiple radio frequency links is the highest
The mode that weighing apparatus processes includes following manner one and/or mode two:
Mode one
When router is in opening, can periodically send Beacon (radio broadcasting message) and be used for
Externally declare the existence of wireless network.
The manner These characteristics based on router, can realize a plurality of chain by could be adjusted to Beacon
The load balancing on road, specific as follows:
Under normal circumstances, the periodic quantity of router radio frequency link is 100, and i.e. every 100ms sends one
Beacon message, when the number of devices in multiple radio frequency link meets default load balance process condition
Time, the cycle of Beacon in the radio frequency link that in a plurality of radio frequency link, number of devices is the highest can be extended, i.e. adjust
The periodic quantity of Beacon in the radio frequency link that finishing equipment quantity is the highest.Such as, by the cycle of this radio frequency link
Value is adjusted to 1000, and the cycle stretch-out being equivalent to the Beacon by radio frequency link the highest for number of devices is
Before 10 times, now, this radio frequency link occurred in the scan list of the equipment of connection route device
Quantity will drastically reduce, then equipment connects the probability increase of the relatively low radio frequency link of number of devices.
Mode two
Wireless device comes detection wireless network, road by sending probe request (probe requests thereby message)
By device after receiving the probe request that equipment sends, respond probe response (response message),
It is that router is connected with equipment foundation by such interactive mode.
When the number of devices in multiple radio frequency link meets default load balance process condition, can make to set
The radio frequency link stopping response response message that standby quantity is most, thus interrupt this radio frequency link and build with equipment
The vertical process connected, to reach the purpose of equally loaded.
Aforesaid way one and mode two can individually be implemented, it is also possible to combine and implement.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: pass through extension device
The radio frequency link that quantity is the highest sends the cycle of radio broadcasting message, decreases this radio frequency link broadcasting packet
Number of times, thus it is general to reduce the appearance in being not connected with the scan list of equipment of router of this radio frequency link
Rate, makes the equipment being not connected with router be connected to as far as possible on other radio frequency links.
In one embodiment, as shown in Figure 4, after above-mentioned steps S102, method also can be by reality
Execute as following steps S401-S402:
In step S401, it may be judged whether have the number of devices at least one radio frequency link to reach default
Maximum device quantity;
In step S402, reach default maximum there being the number of devices at least one radio frequency link
During number of devices, hidden in the radio broadcasting message of the radio frequency link transmission reaching default maximum device quantity
Hide service set.
The number of devices that each bar radio frequency link in router can be supported is fixing, when a radio frequency link
When the equipment of upper connection reaches the maximum number that this link can be supported by, just cannot continue to connect new equipment.
In the present embodiment, when the equipment connected on a radio frequency link reaches the maximum number that this link can be supported by
During mesh, the quantity connecting equipment reaches this radio frequency link of maximum in the radio broadcasting message sent
Automatically the SSID (Service Set Identifier, service set) of this radio frequency link is hidden, thus
The equipment making this radio frequency link cannot be required connection route device searches, to reach to equalize a plurality of radio frequency
The purpose of the load on link.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: when on radio frequency link
Number of devices when reaching default maximum device quantity, in the radio broadcasting message that this radio frequency link sends
Hide service set, so that the radio frequency link reaching default maximum device quantity cannot not connected
The terminal searching connecing router arrives, it is to avoid terminal request is connected to the radio frequency reaching to preset maximum device quantity
Link and cause connection failure or waste the substantial amounts of waiting time.
In one embodiment, after above-mentioned steps S103, method also can be implemented as following steps:
When number of devices at least two radio frequency link does not meets default load balance process condition,
The radio frequency link the highest at least two radio frequency link Central Plains number of devices, stops carrying out load balance process.
After carrying out load balance process, more terminal can be connected to the less rf chain of number of devices
Lu Zhong.It addition, the equipment connected in the more radio frequency link of number of devices is likely to disconnect and penetrates with this
The connection of frequency link.
Above-mentioned situation can make the number of devices difference on two radio frequency links reduce or make number of devices more
Radio frequency link in the number of devices that connected reduce, thus realize the number of devices on multiple radio frequency link
It is no longer complies with the load balance process condition preset.
In the present embodiment, when the number of devices on multiple radio frequency links is no longer complies with at the load balancing preset
During reason condition, stop carrying out load balance process to the radio frequency link that original equipment quantity is the highest, just i.e. recovering
Normal Beacon sends cycle normal response Probe request message.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: at number of devices not
When meeting default load balance process condition, stop carrying out load balance process, thus avoid long-time
The waste of system resource keeping load balance process and cause.
Fig. 5 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu, as it is shown in figure 5, the method can be realized by router, comprises the following steps S501-S505:
In step S501, it is thus achieved that the number of devices at least two radio frequency link;
In step S502, it is judged that whether the difference of the number of devices at least two radio frequency link reaches
The difference threshold preset;
In step S503, the difference of the number of devices at least two radio frequency link reaches default
During difference threshold, the radio frequency link the highest to number of devices at least two radio frequency link, carry out load all
Weighing apparatus processes;
In step S504, the radio frequency link the highest to number of devices at least two radio frequency link, prolongs
The long cycle sending radio broadcasting message;
In step S505, the number of devices difference at least two radio frequency link is less than the difference preset
During value threshold value, the radio frequency link the highest at least two radio frequency link Central Plains number of devices, recovers to send nothing
The cycle of limit broadcasting packet.
Fig. 6 is the stream according to a kind of method controlling router load equilibrium shown in an exemplary embodiment
Cheng Tu, as shown in Figure 6, the method can be realized by router, comprises the following steps S601-S605:
In step s 601, it is thus achieved that the number of devices at least two radio frequency link;
In step S602, it is judged that at least two radio frequency link the most at least on a radio frequency link
Number of devices reach default the second amount threshold;
In step S603, the number of devices at least radio frequency link reaches default second
During amount threshold, it is judged that whether the difference of the number of devices at least two radio frequency link reaches default difference
Value threshold value;
In step s 604, to meet default load equal for the number of devices at least two radio frequency link
During weighing apparatus treatment conditions, the radio frequency link the highest to number of devices at least two radio frequency link, extend and send
Cycle of radio broadcasting message also stops sending response message;
In step s 605, the number of devices difference at least two radio frequency link is less than the difference preset
During value threshold value, the radio frequency link the highest at least two radio frequency link Central Plains number of devices, recovers to send nothing
Limit the cycle of broadcasting packet and continue to send response message.
By described above understood control router load equilibrium realize process, this process is by router
Realizing, internal structure and function below for router are introduced.
Fig. 7 is the frame according to a kind of device controlling router load equilibrium shown in an exemplary embodiment
Figure, as it is shown in fig. 7, this device can be realized by router, including with lower module:
Obtain module 71, for obtaining the number of devices at least two radio frequency link;
First judge module 72, for judging whether the number of devices at least two radio frequency link meets pre-
If load balance process condition;
Processing module 73, meets default load for the number of devices at least two radio frequency link equal
During weighing apparatus treatment conditions, the radio frequency link the highest to number of devices at least two radio frequency link, load
Equilibrium treatment.
In one embodiment, the load balance process condition preset, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
In one embodiment, as shown in Figure 8, device also includes:
Second judge module 81, is used for judging at least two radio frequency link a most at least rf chain
Number of devices on road reaches the second default amount threshold, and the second amount threshold is less than the first amount threshold;
First judge module 72, including:
Judge submodule 82, reach default for number of devices at least radio frequency link
During two amount threshold, it is judged that it is equal whether the number of devices at least two radio frequency link meets default load
Weighing apparatus treatment conditions.
In one embodiment, as it is shown in figure 9, processing module 73, including:
Extend submodule 91, for the radio frequency link the highest to number of devices at least two radio frequency link,
Extend the cycle sending radio broadcasting message;
Stop submodule 92, be used for stopping sending response message.
In one embodiment, as shown in Figure 10, device also includes:
3rd judge module 101, for determining whether that the number of devices at least one radio frequency link reaches
To the maximum device quantity preset;
Hide module 102, for have the number of devices at least one radio frequency link reach default
During big number of devices, in the radio broadcasting message of the radio frequency link transmission reaching default maximum device quantity
Hide service set.
In one embodiment, as shown in figure 11, device also includes:
Stopping modular 111, does not meets default bearing for the number of devices at least two radio frequency link
When carrying equilibrium treatment condition, the radio frequency link the highest at least two radio frequency link Central Plains number of devices, stops
Only carry out load balance process.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate is having
Close in the embodiment of the method and be described in detail, explanation will be not set forth in detail herein.
Figure 12 is according to a kind of dress for controlling router load equilibrium shown in an exemplary embodiment
Put the block diagram of 1200.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal,
Messaging devices, game console, tablet device, armarium, body-building equipment, individual digital helps
Reason etc..
With reference to Figure 12, device 1200 can include following one or more assembly: processes assembly 1202,
Memorizer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, input/output
(I/O) interface 1212, sensor cluster 1214, and communications component 1216.
Process assembly 1202 and generally control the integrated operation of device 1200, such as with display, call,
The operation that data communication, camera operation and record operation are associated.Process assembly 1202 and can include one
Or multiple processor 1220 performs instruction, to complete all or part of step of above-mentioned method.Additionally,
Process assembly 1202 and can include one or more module, it is simple to process assembly 1202 and other assemblies it
Between mutual.Such as, process assembly 1202 and can include multi-media module, to facilitate multimedia groupware
1208 and process between assembly 1202 mutual.
Memorizer 1204 is configured to store various types of data to support the operation at device 1200.
The example of these data includes any application program for operation on device 1200 or the instruction of method,
Contact data, telephone book data, message, picture, video etc..Memorizer 1204 can be by any class
The volatibility of type or non-volatile memory device or combinations thereof realize, such as static random access memory
Device (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is only
Reading memorizer (EPROM), programmable read only memory (PROM), read only memory (ROM),
Magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1206 is device 1200 provide power supply.Power supply module 1206 can wrap
Include power-supply management system, one or more power supplys, and other generate with for device 1200, manage and distribute
The assembly that power supply is associated.
One output interface of offer that multimedia groupware 1208 is included between described device 1200 and user
Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).
If screen includes that touch panel, screen may be implemented as touch screen, to receive the input from user
Signal.Touch panel includes that one or more touch sensor touches with sensing, slides and on touch panel
Gesture.Described touch sensor can not only sense touch or the border of sliding action, but also detects
The persistent period relevant to described touch or slide and pressure.In certain embodiments, multimedia group
Part 1208 includes a front-facing camera and/or post-positioned pick-up head.When device 1200 is in operator scheme,
During such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive many matchmakers of outside
Volume data.Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or tool
There are focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1210
Including a mike (MIC), when device 1200 is in operator scheme, such as call model, record mould
When formula and speech recognition mode, mike is configured to receive external audio signal.The audio frequency letter received
Number can be further stored at memorizer 1204 or send via communications component 1216.Implement at some
In example, audio-frequency assembly 1210 also includes a speaker, is used for exporting audio signal.
I/O interface 1212 is to process to provide interface between assembly 1202 and peripheral interface module, above-mentioned outside
Enclosing interface module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: homepage
Button, volume button, start button and locking press button.
Sensor cluster 1214 includes one or more sensor, for providing each side for device 1200
The state estimation in face.Such as, what sensor cluster 1214 can detect device 1200 beats opening/closing shape
State, the relative localization of assembly, the most described assembly is display and the keypad of device 1200, sensor
Assembly 1214 can also detect the position change of an assembly of device 1200 or device 1200, Yong Huyu
The presence or absence of device 1200 contact, device 1200 orientation or acceleration/deceleration and device 1200
Variations in temperature.Sensor cluster 1214 can include proximity transducer, be configured to do not have any
The existence of object near detection during physical contact.Sensor cluster 1214 can also include optical sensor, as
CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, should
Sensor cluster 1214 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure
Sensor or temperature sensor.
Communications component 1216 is configured to facilitate wired or wireless mode between device 1200 and other equipment
Communication.Device 1200 can access wireless network based on communication standard, such as WiFi, 2G or 3G,
Or combinations thereof.In one exemplary embodiment, communications component 1216 receives via broadcast channel
From broadcast singal or the broadcast related information of external broadcasting management system.In one exemplary embodiment,
Described communications component 1216 also includes near-field communication (NFC) module, to promote junction service.Such as,
Can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology,
Ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits
(ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), can compile
Journey logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro-
Processor or other electronic components realize, and are used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage including instruction is additionally provided
Medium, such as, include the memorizer 1204 of instruction, and above-mentioned instruction can be by the processor 1220 of device 1200
Perform to complete said method.Such as, described non-transitory computer-readable recording medium can be ROM,
Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of device controlling router load equilibrium, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the number of devices at least two radio frequency link;
Judge whether the number of devices on described at least two radio frequency link meets default load balance process
Condition;
Number of devices on described at least two radio frequency link meets default load balance process condition
Time, the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out at load balancing
Reason.
Described processor can be additionally configured to:
The load balance process condition preset, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
Described processor can be additionally configured to:
Judge in described at least two radio frequency link that the number of devices on a most at least radio frequency link reaches
To the second amount threshold preset, the second amount threshold is less than the first amount threshold;
Whether the described number of devices judged on described at least two radio frequency link meets default load balancing
Treatment conditions, including:
When number of devices at least radio frequency link reaches the second default amount threshold, it is judged that
Whether the number of devices on described at least two radio frequency link meets default load balance process condition.
Described processor can be additionally configured to:
The described radio frequency link the highest to number of devices in described at least two radio frequency link, carries out load all
Weighing apparatus processes, including:
The radio frequency link the highest to number of devices in described at least two radio frequency link, extends transmission wireless extensively
Report the cycle of literary composition;And/or
Stop sending response message.
Described processor can be additionally configured to:
Determine whether that the number of devices at least one radio frequency link reaches default maximum device quantity;
When there being the number of devices at least one radio frequency link to reach default maximum device quantity, reach
The radio broadcasting message that the radio frequency link of the maximum device quantity preset sends is hidden service set.
Described processor can be additionally configured to:
Number of devices on described at least two radio frequency link does not meets default load balance process condition
Time, the radio frequency link the highest to described at least two radio frequency link Central Plains number of devices, stop loading
Equilibrium treatment.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by moving end
When the processor of end performs so that mobile terminal is able to carry out a kind of method controlling router load equilibrium,
Described method includes:
Obtain the number of devices at least two radio frequency link;
Judge whether the number of devices on described at least two radio frequency link meets default load balance process
Condition;
Number of devices on described at least two radio frequency link meets default load balance process condition
Time, the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out at load balancing
Reason.
Instruction in described storage medium can also include:
The load balance process condition preset, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
Instruction in described storage medium can also include:
Judge in described at least two radio frequency link that the number of devices on a most at least radio frequency link reaches
To the second amount threshold preset, the second amount threshold is less than the first amount threshold;
Whether the described number of devices judged on described at least two radio frequency link meets default load balancing
Treatment conditions, including:
When number of devices at least radio frequency link reaches the second default amount threshold, it is judged that
Whether the number of devices on described at least two radio frequency link meets default load balance process condition.
Instruction in described storage medium can also include:
The described radio frequency link the highest to number of devices in described at least two radio frequency link, carries out load all
Weighing apparatus processes, including:
The radio frequency link the highest to number of devices in described at least two radio frequency link, extends transmission wireless extensively
Report the cycle of literary composition;And/or
Stop sending response message.
Instruction in described storage medium can also include:
Determine whether that the number of devices at least one radio frequency link reaches default maximum device quantity;
When there being the number of devices at least one radio frequency link to reach default maximum device quantity, reach
The radio broadcasting message that the radio frequency link of the maximum device quantity preset sends is hidden service set.
Instruction in described storage medium can also include:
Number of devices on described at least two radio frequency link does not meets default load balance process condition
Time, the radio frequency link the highest to described at least two radio frequency link Central Plains number of devices, stop loading
Equilibrium treatment.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to this
Other embodiment disclosed.The application is intended to any modification, purposes or the adaptability of the disclosure
Change, these modification, purposes or adaptations are followed the general principle of the disclosure and include these public affairs
Open undocumented common knowledge in the art or conventional techniques means.Description and embodiments only by
Being considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure be not limited to described above and illustrated in the accompanying drawings accurately
Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute
Attached claim limits.
Claims (13)
1. the method controlling router load equilibrium, it is characterised in that including:
Obtain the number of devices at least two radio frequency link;
Judge whether the number of devices on described at least two radio frequency link meets default load balance process
Condition;
Number of devices on described at least two radio frequency link meets default load balance process condition
Time, the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out at load balancing
Reason.
The method of control router load the most according to claim 1 equilibrium, it is characterised in that pre-
If load balance process condition, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
The method of control router load the most according to claim 2 equilibrium, it is characterised in that institute
Method of stating also includes:
Judge in described at least two radio frequency link that the number of devices on a most at least radio frequency link reaches
To the second amount threshold preset, the second amount threshold is less than the first amount threshold;
Whether the described number of devices judged on described at least two radio frequency link meets default load balancing
Treatment conditions, including:
When number of devices at least radio frequency link reaches the second default amount threshold, it is judged that
Whether the number of devices on described at least two radio frequency link meets default load balance process condition.
The method of control router load the most according to claim 1 equilibrium, it is characterised in that institute
State the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out load balance process,
Including:
The radio frequency link the highest to number of devices in described at least two radio frequency link, extends transmission wireless extensively
Report the cycle of literary composition;And/or
Stop sending response message.
The method of control router load the most according to claim 1 equilibrium, it is characterised in that institute
Method of stating also includes:
Determine whether that the number of devices at least one radio frequency link reaches default maximum device quantity;
When there being the number of devices at least one radio frequency link to reach default maximum device quantity, reach
The radio broadcasting message that the radio frequency link of the maximum device quantity preset sends is hidden service set.
The method of control router load the most according to claim 1 equilibrium, it is characterised in that institute
Method of stating also includes:
Number of devices on described at least two radio frequency link does not meets default load balance process condition
Time, the radio frequency link the highest to described at least two radio frequency link Central Plains number of devices, stop loading
Equilibrium treatment.
7. the device controlling router load equilibrium, it is characterised in that including:
Obtain module, for obtaining the number of devices at least two radio frequency link;
First judge module, for judging whether the number of devices on described at least two radio frequency link meets
The load balance process condition preset;
Processing module, meets default load for the number of devices on described at least two radio frequency link
During equilibrium treatment condition, the radio frequency link the highest to number of devices in described at least two radio frequency link, enters
Row load balance process.
The device of control router load the most according to claim 1 equilibrium, it is characterised in that pre-
If load balance process condition, including:
The difference of the number of devices at least two radio frequency link reaches default difference threshold;Or
Number of devices at least one radio frequency link reaches the first default amount threshold, and at least two
The difference of the number of devices on radio frequency link reaches default difference threshold.
The device of control router load the most according to claim 8 equilibrium, it is characterised in that institute
State device also to include:
Second judge module, is used for judging in described at least two radio frequency link a most at least radio frequency
Number of devices on link reaches the second default amount threshold, and the second amount threshold is less than the first quantity threshold
Value;
Described first judge module, including:
Judging submodule, the number of devices being used at least radio frequency link reaches default second
During amount threshold, it is judged that whether the number of devices on described at least two radio frequency link meets default load
Equilibrium treatment condition.
The device of control router load the most according to claim 7 equilibrium, it is characterised in that
Described processing module, including:
Extend submodule, for the radio frequency link the highest to number of devices in described at least two radio frequency link,
Extend the cycle sending radio broadcasting message;
Stop submodule, be used for stopping sending response message.
The device of 11. control router load according to claim 7 equilibriums, it is characterised in that
Described device also includes:
3rd judge module, for determining whether that the number of devices at least one radio frequency link reaches pre-
If maximum device quantity;
Hide module, for setting there being the number of devices at least one radio frequency link to reach default maximum
During standby quantity, the radio broadcasting message of the radio frequency link transmission reaching default maximum device quantity is hidden
Service set.
The device of 12. control router load according to claim 7 equilibriums, it is characterised in that
Described device also includes:
Stopping modular, does not meets default bearing for the number of devices on described at least two radio frequency link
When carrying equilibrium treatment condition, the radio frequency link the highest to described at least two radio frequency link Central Plains number of devices,
Stop carrying out load balance process.
13. 1 kinds of devices controlling router load equilibrium, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the number of devices at least two radio frequency link;
Judge whether the number of devices on described at least two radio frequency link meets default load balance process
Condition;
Number of devices on described at least two radio frequency link meets default load balance process condition
Time, the radio frequency link the highest to number of devices in described at least two radio frequency link, carry out at load balancing
Reason.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610425397.8A CN105897600A (en) | 2016-06-15 | 2016-06-15 | Method and device for controlling router load balance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610425397.8A CN105897600A (en) | 2016-06-15 | 2016-06-15 | Method and device for controlling router load balance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105897600A true CN105897600A (en) | 2016-08-24 |
Family
ID=56730625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610425397.8A Pending CN105897600A (en) | 2016-06-15 | 2016-06-15 | Method and device for controlling router load balance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105897600A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106604309A (en) * | 2017-02-06 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Method and system for hiding SSID of wireless access device |
CN107148035A (en) * | 2017-05-25 | 2017-09-08 | 普联技术有限公司 | Method, device and the wireless device of Frequency Band Selection |
CN108668375A (en) * | 2018-03-23 | 2018-10-16 | 新华三技术有限公司 | A kind of cut-in method and device of wireless terminal |
CN110085234A (en) * | 2019-04-29 | 2019-08-02 | 苏州狗尾草智能科技有限公司 | Access automatic speech recognition system |
CN112565320A (en) * | 2019-09-25 | 2021-03-26 | 大唐移动通信设备有限公司 | Load balancing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404794A (en) * | 2011-11-28 | 2012-04-04 | 福建星网锐捷网络有限公司 | Method, equipment and network for load balancing based on frequency band in wireless local area network |
US20160057803A1 (en) * | 2014-08-21 | 2016-02-25 | Samsung Electronics Co., Ltd. | Method for selecting communication method and electronic device thereof |
-
2016
- 2016-06-15 CN CN201610425397.8A patent/CN105897600A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404794A (en) * | 2011-11-28 | 2012-04-04 | 福建星网锐捷网络有限公司 | Method, equipment and network for load balancing based on frequency band in wireless local area network |
US20160057803A1 (en) * | 2014-08-21 | 2016-02-25 | Samsung Electronics Co., Ltd. | Method for selecting communication method and electronic device thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106604309A (en) * | 2017-02-06 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Method and system for hiding SSID of wireless access device |
CN107148035A (en) * | 2017-05-25 | 2017-09-08 | 普联技术有限公司 | Method, device and the wireless device of Frequency Band Selection |
CN107148035B (en) * | 2017-05-25 | 2020-01-31 | 普联技术有限公司 | Frequency band selection method and device and wireless equipment |
CN108668375A (en) * | 2018-03-23 | 2018-10-16 | 新华三技术有限公司 | A kind of cut-in method and device of wireless terminal |
CN110085234A (en) * | 2019-04-29 | 2019-08-02 | 苏州狗尾草智能科技有限公司 | Access automatic speech recognition system |
CN112565320A (en) * | 2019-09-25 | 2021-03-26 | 大唐移动通信设备有限公司 | Load balancing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10237901B2 (en) | Method and apparatus for connecting with controlled smart device, and storage medium | |
RU2674328C2 (en) | Method and device for acquiring access authority | |
CN105848190A (en) | OTA upgrading method and apparatus | |
CN105897600A (en) | Method and device for controlling router load balance | |
CN105933899A (en) | Access method and device of wireless access point | |
CN104540184A (en) | Equipment networking method and device | |
CN106028375A (en) | Method and device for prompting network switching and terminal device | |
CN104765990A (en) | Setting method and device for management account of intelligent device | |
CN105120505A (en) | Method, apparatus and system for making intelligent equipment accessed to router | |
CN105246135A (en) | Wireless network accessing method and device, and mobile terminal | |
CN104506443A (en) | Router setting interface display method and device | |
CN104125162A (en) | Network source access processing method and device | |
CN107396367A (en) | Reminding method, device, terminal and the computer-readable recording medium of pseudo-base station | |
CN106657645A (en) | Call request processing method and device, calling method and device, and related terminal | |
US9565554B2 (en) | Method, device, and system for transmitting information and storage medium | |
CN106899869A (en) | Adjust method, the apparatus and system of volume of electronic device | |
CN106101600A (en) | The method of attachment of video calling and device | |
US11197192B2 (en) | Network connection management method, device and system | |
CN106507282A (en) | The control method of wireless connection and device | |
CN105657690A (en) | Method and device for processing mobile terminal setting information | |
CN108702689A (en) | Cell accessing method, device and storage medium | |
KR20140118111A (en) | Method for displaying contact information in electronic device | |
CN106358064A (en) | Method and equipment for controlling television | |
CN104539497B (en) | Method for connecting network and device | |
CN106254669A (en) | Data traffic based reminding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160824 |