CN108966350A - A kind of method and apparatus selecting wireless router bandwidth - Google Patents
A kind of method and apparatus selecting wireless router bandwidth Download PDFInfo
- Publication number
- CN108966350A CN108966350A CN201810635052.4A CN201810635052A CN108966350A CN 108966350 A CN108966350 A CN 108966350A CN 201810635052 A CN201810635052 A CN 201810635052A CN 108966350 A CN108966350 A CN 108966350A
- Authority
- CN
- China
- Prior art keywords
- wireless
- signal strength
- bandwidth
- value
- working channel
- 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
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000007613 environmental effect Effects 0.000 abstract description 2
- 230000015654 memory Effects 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/53—Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/54—Allocation or scheduling criteria for wireless resources based on quality criteria
- H04W72/542—Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a kind of method for selecting wireless router bandwidth, when wireless router starts for the first time, in wireless module loaded and after select working channel, initially sets bandwidth mode;The wireless router obtains the wireless aps quantity and the corresponding wireless signal strength of each AP that surrounding wireless signal strength is greater than or equal to threshold value within a preset period of time, and counts the operative duty cycles value of the working channel per second;According to the wireless aps quantity, the operative duty cycles value of the corresponding wireless signal strength of each AP and the working channel per second, the Performance Score in the preset time period is calculated;Determined whether to carry out bandwidth switching according to the size relation of the Performance Score and threshold value.Wireless router can be allowed according to the environmental disturbances degree of surrounding, the suitable bandwidth of operation of dynamic select.
Description
Technical field
This application involves the communications field more particularly to a kind of method and apparatus for selecting wireless router bandwidth.
Background technique
Router (Router), be connection internet in each internal network i.e. local area network (Local Area Network,
LAN), the case where equipment of external network, that is, wide area network (Wide Area Network, WAN), router can be according to channel, is automatic
Selection and setting routing send signal by tandem with optimal path.It is each to have been widely used for each row for router at present
Industry, the product of various difference class, which has become, realizes connection, backbone internetworking and backbone network and interconnection inside various backbone networks
Net interconnects the main force of business.
Wireless router is a kind of combination of simple form access point (Access Point, AP) and broadband router, is
Router with wireless coverage function, it is mainly used in user's online and wireless coverage, mobile terminal can be by wireless
Router accesses network.
Wireless router in the home environment, in corporate environment, have in public's environment and be widely applied very much.
Wireless router needs work several bandwidth as defined in IEEE802.11 agreement, for example, wireless router uses
Can be worked when 2.4G frequency range in HT20 or HT40 bandwidth mode, can work when wireless router is using 5G frequency range HT20,
HT40 HT80 bandwidth mode, wherein HT20 refers to that bandwidth is 20MHz, and HT40 refers to that broadband is 40MHz, and HT80 is finger beam
Band is 80MHz.And as the continuous of wireless router is popularized, the environment of wireless router work now is also increasingly sophisticated, wirelessly
Signal interference situation is also increasing, therefore wireless router is during the work time, scientific and reasonable one suitable band of selection
Width seems particularly significant.
By taking 2.4G frequency range as an example, 40MHz (HT40) is the widest bandwidth of operation of 2.4G, by the 2 20MHz bandwidth mutually closed on
Composition, is compared to 20Mhz bandwidth mode, bandwidth it is double, so that 40MHz bandwidth is supported higher wireless transmission rate, but
The double interference for being subject to it with Time Bandwidth is consequently increased, therefore jamproof ability is insufficient, is only applicable to interfere
Less scene.
Currently, the wireless signal around scanning within a preset time period, and count the first work 20Mhz bandwidth and wirelessly connect
The quantity of access point and with second work 20Mhz bandwidth wireless access point quantity, detect primary wireless access points around other
The wireless signal strength of wireless access point output, according to the quantity and wireless signal strength of the surrounding wireless access points scanned
It carries out selecting suitable bandwidth of operation.
But the scheme of above-mentioned selection bandwidth only considers the number and wireless signal strength of surrounding wireless access points, and
Whether the wireless access point that Current ambient can not be assessed is in the state of being busy with one's work, if surrounding wireless access points are in unloaded data
When flow is few, even if wireless access point quantity is more, wireless signal strength is strong, the interference of actual conditions surrounding wireless access points is strong
Number and signal strength very small, therefore that rely solely on statistics surrounding wireless access points are spent, the bandwidth and non-present of selection are most
Excellent bandwidth.
Summary of the invention
The many aspects of the application provide a kind of method and apparatus for selecting wireless router bandwidth, can allow wireless router
According to the environmental disturbances degree of surrounding, the suitable bandwidth of operation of dynamic select.
The first aspect of the application provides a kind of method for selecting wireless router bandwidth, comprising:
When wireless router starts for the first time, in wireless module loaded and after select working channel, initially set
Determine bandwidth mode;
It is wireless more than or equal to threshold value that the wireless router obtains surrounding wireless signal strength within a preset period of time
AP quantity and the corresponding wireless signal strength of each AP, and count the operative duty cycles value of the working channel per second;
According to the wireless aps quantity, the work of the corresponding wireless signal strength of each AP and the working channel per second
Make dutyfactor value, calculates the Performance Score in the preset time period;
Determined whether to carry out bandwidth switching according to the size relation of the Performance Score and threshold value.
Optionally, the calculation formula for calculating the Performance Score in the preset time period are as follows:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;The intensity for receiving signal indicates RSSIiIt is wireless for i-th
The wireless signal strength of AP, BiFor the calculating factor of the wireless signal strength of i-th of wireless aps;KjBelieve for the work of jth second
The operative duty cycles value in road, CjFor the calculating factor of the operative duty cycles value of the working channel of jth second, m is preset time
Section;I and j is the positive integer more than or equal to 1.
Optionally, the calculation formula for calculating the Performance Score in the preset time period are as follows:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;RSSIiFor the wireless signal strength of i-th of wireless aps, B
The calculating factor of the sum of wireless signal strength for all wireless aps;KjFor the operative duty cycles of the working channel of jth second
Value, C are the calculating factor of the sum of operative duty cycles value of the working channel of the preset time period, and m is preset time period;
I and j is the positive integer more than or equal to 1.
Optionally, the sum of all calculating factors are a preset value.
Optionally, the size relation according to the Performance Score and threshold value determines whether that carrying out bandwidth switching includes:
If the Performance Score is more than or equal to the threshold value, the initial setting bandwidth mode is kept;Alternatively,
If the Performance Score is less than the threshold value, it is determined to switch to than the initial bandwidth for setting bandwidth mode more
Low bandwidth mode.
The second aspect of the application provides a kind of device for selecting wireless router bandwidth, comprising:
Setup module, in wireless module loaded and work being selected to believe when wireless router starts for the first time
After road, bandwidth mode is initially set;
Module is obtained, for obtaining around the wireless router wireless signal strength within a preset period of time from high to low
Scheduled wireless aps quantity and the corresponding wireless signal strength of each AP, and the work for counting the working channel per second accounts for
Empty ratio;
Computing module, for according to the wireless aps quantity, the corresponding wireless signal strength of each AP, described per second described
The operative duty cycles value of working channel and at least one reserved parameter, calculate the Performance Score in the preset time period;
Determining module carries out bandwidth switching for determining whether according to the size relation of the Performance Score and threshold value.
Optionally, the computing module is used to calculate the performance in the preset time period according to following calculation formula
Score value:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;The intensity for receiving signal indicates RSSIiIt is wireless for i-th
The wireless signal strength of AP, BiFor the calculating factor of the wireless signal strength of i-th of wireless aps;KjBelieve for the work of jth second
The operative duty cycles value in road, CjFor the calculating factor of the operative duty cycles value of the working channel of jth second, m is preset time
Section;I and j is the positive integer more than or equal to 1.
Optionally, the computing module is used to calculate the performance in the preset time period according to following calculation formula
Score value:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;RSSIiFor the wireless signal strength of i-th of wireless aps, B
The calculating factor of the sum of wireless signal strength for all wireless aps;KjFor the operative duty cycles of the working channel of jth second
Value, C are the calculating factor of the sum of operative duty cycles value of the working channel of the preset time period, and m is preset time period;
I and j is the positive integer more than or equal to 1.
Optionally, the sum of all calculating factors are a preset value.
Optionally, the determining module be used to be determined whether according to the size relation of the Performance Score and the threshold value into
The switching of row bandwidth specifically includes:
The determining module is used for, if the Performance Score is more than or equal to the threshold value, keeps the initial setting band
Wide mode;Alternatively, being determined to switch to the band than the initial setting bandwidth mode if the Performance Score is less than the threshold value
The lower bandwidth mode of width.
The method and apparatus of the selection wireless router bandwidth of foregoing description, can allow wireless router according to the environment of surrounding
Annoyance level, the suitable bandwidth of operation of dynamic select make wireless router select higher bandwidth mode when interfering less, protect
Higher transmission rate is held, makes wireless router that more situation interfered to select lower bandwidth mode, keeps stronger anti-
Interference performance.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for selection wireless router bandwidth of one embodiment of the application;
Fig. 2 is a kind of structural schematic diagram of the device of selection wireless router bandwidth of another embodiment of the application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".In addition, the terms " system " and " network "
It is often used interchangeably herein.
Wireless router herein can be single-frequency wireless router or double-frequency wireless router, and the double frequency routes utensil
There are two frequency ranges, such as 2.4Ghz and 5Ghz.
As shown in Figure 1, the flow diagram of the method for a kind of selection wireless router bandwidth of one embodiment of the application.
Step 101, when wireless router starts for the first time, in wireless module loaded and working channel is selected to finish
Afterwards, bandwidth mode is initially set.
For example, initial bandwidth of operation is selected as HT40 mode, the i.e. bandwidth mode of high performance properties.It is arranged in this way
Purpose is to be preferentially arranged based on high performance tape wide mode, and later step can collect corresponding data to judge under this bandwidth mode
Whether work in this high performance tape wide mode.
Step 102, the wireless router obtains surrounding wireless signal strength more than or equal to threshold within a preset period of time
The wireless aps quantity and the corresponding wireless signal strength of each AP of value, and count the operative duty cycles of the working channel per second
Value.
For example, in 60 seconds, obtains surrounding wireless signal strength and be greater than or equal to the wireless aps quantity of threshold value and each
The corresponding wireless signal strength of AP, wherein the wireless signal strength is the intensity instruction (Received for receiving signal
Signal Strength Indicator, RSSI).
Step 103, the wireless router is according to the wireless aps quantity, the corresponding wireless signal strength of each AP and institute
The operative duty cycles value for stating the working channel per second, calculates the Performance Score in the preset time period.
For example, the calculation formula for calculating the Performance Score in the preset time period are as follows:
Wherein, n is the wireless aps quantity (such as n=10), and A is to calculate the factor;RSSIiFor the nothing of i-th of wireless aps
Line signal strength, BiFor the calculating factor of the wireless signal strength of i-th of wireless aps;KjFor the work of the working channel of jth second
Make dutyfactor value, CjFor the calculating factor of the operative duty cycles value of the working channel of jth second, m be preset time period (such as
M=10 seconds);I and j is the positive integer more than or equal to 1.
The calculating factor of same parameters can be identical, can also be different, can also part it is identical with part it is different, but
To can be set to identical value to the calculating factor of same parameters, for example, the wireless signal strength of each wireless aps convenient for management
The calculating factor be an identical value (such as B=0.03), for example, the meter of the operative duty cycles value of the working channel per second
Calculating the factor is also an identical value (such as C=0.02).
In another embodiment of the application, the sum of all calculating factors be a preset value, for example, all calculating factors it
Be 1 or 100.
The calculation formula 1 of the Performance Score in the above-mentioned calculating preset time period is only a kind of example, may be used also
Other calculation formula are thought, for example, calculating the calculation formula of the Performance Score in the preset time period can be such that
Wherein, n is the wireless aps quantity (such as n=10), and A is to calculate the factor;RSSIiFor the nothing of i-th of wireless aps
Line signal strength, B are the calculating factor of the sum of wireless signal strength of all wireless aps;KjFor the working channel of jth second
Operative duty cycles value, C is the calculating factor of the sum of operative duty cycles value of the working channel of the preset time period, m
For preset time period (such as m=60 seconds);I and j is the positive integer more than or equal to 1.
In another embodiment of the application, the sum of all calculating factors be a preset value, for example, all calculating factors it
With for 1 or 100, such as A=0.5, B=0.3, C=0.2.
Step 104, the wireless router determines whether to carry out band according to the size relation of the Performance Score and threshold value
Width switching.
For example, the Performance Score scoring the low, interfere it is bigger, for example, if the Performance Score be more than or equal to it is described
Threshold value, illustrates to interfere small, then can keep the initial setting bandwidth mode;Alternatively, if the Performance Score is less than described
Threshold value illustrates that interference is big, it is determined that switches to bandwidth mode more lower than the bandwidth of the initial setting bandwidth mode, then institute
It states wireless router and switches to bandwidth mode more lower than the bandwidth of the initial setting bandwidth mode, such as be cut into HT20 band
Wide operating mode.
The scheme of above-described embodiment description, sets out according to currently practical air interference situation, and determines by duty ratio
Actual interference scoring, can accurately react current disturbed condition, and the bandwidth mode of work is determined according to this.Interference compared with
Small situation works in HT40 mode, guarantees higher transmission rate and efficiency;In the case where interfering biggish situation, can be switched to anti-
Stronger HT20 mode is interfered, ensure that the stability of transmission.
As shown in Fig. 2, the structural representation of the device for a kind of selection wireless router bandwidth of another embodiment of the application
Figure, the device for selecting wireless router bandwidth is the wireless router circuit or chip, the selection wireless router
The device of bandwidth includes: setup module 211, obtains module 212, computing module 213, determining module 214 and switching module 215,
Wherein, the setup module 211, the acquisition module 212, the computing module 213, the determining module 214 and the tune
Mould preparation block 215 communicates between each other, such as is in communication with each other by bus.
It is total that the bus can be industry standard architecture (Industry Standard Architecture, ISA)
Line, Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or extension industrial standard
Structure (Extended Industry Standard Architecture, EISA) bus etc..The bus system can be divided into ground
Location bus, data/address bus, control bus etc..
In the present embodiment, the setup module 211, the acquisition module 212, the computing module 213, the determining mould
Block 214 and the switching module 215 are a kind of logical partitioning respectively, and the application does not limit to the logic of division, can be led to respectively
At least one circuit or at least one chip are crossed to realize, also can integrate together by least one circuit or at least one
Chip is realized, for example, the circuit or chip can be realized by processor.
In another embodiment of the application, the processor can be central processing unit (Central
Processing Unit, CPU), the processor can also be other general controls processors, digital signal processor
(Digital Signal Processing, DSP), specific integrated circuit (Application Specific Integrated
Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..The general controls processor can be
Microcontrol processor either any conventional control processor, such as single-chip microcontroller etc..
The setup module 211, in wireless module loaded and selecting when wireless router starts for the first time
After working channel, bandwidth mode is initially set.
For example, the setup module 211 is used to initial bandwidth of operation being selected as HT40 mode, i.e. high performance properties
Bandwidth mode.The purpose being arranged in this way is to be preferentially arranged based on high performance tape wide mode, and later step can be in this bandwidth mode
Lower collection corresponding data is to determine whether work in this high performance tape wide mode.
The acquisition module 212 is greater than or equal to threshold value for obtaining surrounding wireless signal strength within a preset period of time
Wireless aps quantity and the corresponding wireless signal strength of each AP, and count the operative duty cycles of the working channel per second
Value.
For example, the acquisition surrounding wireless signal strength of module 212 that obtains is greater than or equal to the wireless of threshold value in 60 seconds
AP quantity and the corresponding wireless signal strength of each AP, wherein the wireless signal strength is the intensity instruction for receiving signal
(Received Signal Strength Indicator, RSSI).
The computing module 213, for according to the wireless aps quantity, the corresponding wireless signal strength of each AP and described
The operative duty cycles value of the working channel per second, calculates the Performance Score in the preset time period.
For example, the computing module 213 calculates the calculation formula of the Performance Score in the preset time period are as follows:
Wherein, n is the wireless aps quantity (such as n=10), and A is to calculate the factor;RSSIiFor the nothing of i-th of wireless aps
Line signal strength, BiFor the calculating factor of the wireless signal strength of i-th of wireless aps;KjFor the work of the working channel of jth second
Make dutyfactor value, CjFor the calculating factor of the operative duty cycles value of the working channel of jth second, m be preset time period (such as
M=10 seconds);I and j is the positive integer more than or equal to 1.
The calculating factor of same parameters can be identical, can also be different, can also part it is identical with part it is different, but
For convenient for management, the setup module 211 is for can be set to identical value to the calculating factor of same parameters, for example, each
The calculating factor of the wireless signal strength of wireless aps is an identical value (such as B=0.03), for example, the work per second is believed
The calculating factor of the operative duty cycles value in road is also an identical value (such as C=0.02).
In another embodiment of the application, the sum of all calculating factors be a preset value, for example, all calculating factors it
Be 1 or 100.
The calculation formula 1 of the Performance Score in the above-mentioned calculating preset time period is only a kind of example, may be used also
Other calculation formula are thought, for example, the computing module 213 is used to calculate the Performance Score in the preset time period
Calculation formula can be such that
Wherein, n is the wireless aps quantity (such as n=10), and A is to calculate the factor;RSSIiFor the nothing of i-th of wireless aps
Line signal strength, B are the calculating factor of the sum of wireless signal strength of all wireless aps;KjFor the working channel of jth second
Operative duty cycles value, C is the calculating factor of the sum of operative duty cycles value of the working channel of the preset time period, m
For preset time period (such as m=60 seconds);I and j is the positive integer more than or equal to 1.
In another embodiment of the application, the sum of all calculating factors be a preset value, for example, all calculating factors it
With for 1 or 100, such as A=0.5, B=0.3, C=0.2.
The determining module 214 carries out bandwidth for determining whether according to the size relation of the Performance Score and threshold value
Switching.
For example, the Performance Score scoring the low, interfere it is bigger, for example, if the Performance Score be more than or equal to it is described
Threshold value, illustrates to interfere small, then can keep the initial setting bandwidth mode;Alternatively, if the Performance Score is less than described
Threshold value illustrates that interference is big, it is determined that switches to bandwidth mode more lower than the bandwidth of the initial setting bandwidth mode, then institute
It states switching module 215 and is used to switch to bandwidth mode more lower than the bandwidth of the initial setting bandwidth mode, such as be cut into
HT20 bandwidth operation mode.
Another embodiment of the application also provides a kind of computer-readable medium, and computer-readable medium can be computer
Readable signal medium or computer-readable medium.Processor in computer reads the meter of storage in computer-readable medium
Calculation machine readable program code enables a processor to execute in flow chart 1 specified in the combination of each step or each step
Function action;Generate the device for implementing defined function action in each block of the block diagram, or a combination of blocks.
Computer-readable medium is including but not limited to electronics, magnetism, optics, electromagnetism, infrared memory or semiconductor system
System, equipment perhaps device or above-mentioned any appropriately combined, the memory is described for storing program code or instruction
Program code includes computer operation instruction, and the processor is used to execute program code or the instruction of the memory storage.
The memory may include volatile memory, for example, random access memory (random access
Memory, RAM), the RAM may include static RAM or dynamic ram.The memory may also include non-volatile memories
Device (non-volatile memory), such as read-only memory (read-only memory, PROM), may be programmed read-only storage
Device (programmable read-only memory, PROM), Erarable Programmable Read only Memory (erasable
Programmable read-only memory, EPROM), electrically erasable programmable read-only memory (electrically
Erasable programmable read-only memory, EEPROM) or flash memory (flash memory).The memory
It is also possible to be external flash, at least one magnetic disk storage or buffer.
The processor can be CPU, DSP, ASIC, FPGA or other programmable logic device, discrete gate or crystalline substance
Body pipe logical device, discrete hardware components etc..
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product can store in computer-readable medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used
So that a computer equipment (can be personal computer, server or the network equipment etc.) or processor or chip are held
Method described in certain parts of each embodiment of row or embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of method for selecting wireless router bandwidth characterized by comprising
When wireless router starts for the first time, in wireless module loaded and after select working channel, band is initially set
Wide mode;
The wireless router obtains the wireless aps number that surrounding wireless signal strength is greater than or equal to threshold value within a preset period of time
Amount and the corresponding wireless signal strength of each AP, and count the operative duty cycles value of the working channel per second;
It is accounted for according to the work of the wireless aps quantity, the corresponding wireless signal strength of each AP and the working channel per second
Empty ratio calculates the Performance Score in the preset time period;
Determined whether to carry out bandwidth switching according to the size relation of the Performance Score and threshold value.
2. the method according to claim 1, wherein the performance calculated in the preset time period point
The calculation formula of value are as follows:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;The intensity for receiving signal indicates RSSIiFor i-th wireless aps
Wireless signal strength, BiFor the calculating factor of the wireless signal strength of i-th of wireless aps;KjFor the working channel of jth second
Operative duty cycles value, CjFor the calculating factor of the operative duty cycles value of the working channel of jth second, m is preset time period;i
With the positive integer that j is more than or equal to 1.
3. the method according to claim 1, wherein the performance calculated in the preset time period point
The calculation formula of value are as follows:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;RSSIiFor the wireless signal strength of i-th of wireless aps, B is institute
There is the calculating factor of the sum of wireless signal strength of wireless aps;KjFor the operative duty cycles value of the working channel of jth second, C
The calculating factor of the sum of the operative duty cycles value of the working channel for the preset time period, m are preset time period;I and j
For the positive integer more than or equal to 1.
4. according to the method in claim 2 or 3, the sum of all calculating factors are a preset value.
5. method according to claim 1 to 3, which is characterized in that described according to the Performance Score and threshold value
Size relation determine whether carry out bandwidth switching include:
If the Performance Score is more than or equal to the threshold value, the initial setting bandwidth mode is kept;Alternatively,
If the Performance Score is less than the threshold value, it is determined to switch to more lower than the bandwidth of the initial setting bandwidth mode
Bandwidth mode.
6. a kind of device for selecting wireless router bandwidth characterized by comprising
Setup module, in wireless module loaded and selecting working channel complete when wireless router starts for the first time
Bi Hou initially sets bandwidth mode;
Module is obtained, for obtaining from high to low pre- of wireless signal strength around the wireless router within a preset period of time
Fixed wireless aps quantity and the corresponding wireless signal strength of each AP, and count the operative duty cycles of the working channel per second
Value;
Computing module, for according to the wireless aps quantity, the corresponding wireless signal strength of each AP, the work per second
The operative duty cycles value of channel and at least one reserved parameter, calculate the Performance Score in the preset time period;
Determining module carries out bandwidth switching for determining whether according to the size relation of the Performance Score and threshold value.
7. device according to claim 6, which is characterized in that the computing module is used to be calculated according to following calculation formula
The Performance Score in the preset time period:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;The intensity for receiving signal indicates RSSIiFor i-th wireless aps
Wireless signal strength, BiFor the calculating factor of the wireless signal strength of i-th of wireless aps;KjFor the working channel of jth second
Operative duty cycles value, CjFor the calculating factor of the operative duty cycles value of the working channel of jth second, m is preset time period;i
With the positive integer that j is more than or equal to 1.
8. device according to claim 6, which is characterized in that the computing module is used to be calculated according to following calculation formula
The Performance Score in the preset time period:
Wherein, n is the wireless aps quantity, and A is to calculate the factor;RSSIiFor the wireless signal strength of i-th of wireless aps, B is institute
There is the calculating factor of the sum of wireless signal strength of wireless aps;KjFor the operative duty cycles value of the working channel of jth second, C
The calculating factor of the sum of the operative duty cycles value of the working channel for the preset time period, m are preset time period;I and j
For the positive integer more than or equal to 1.
9. device according to claim 7 or 8, which is characterized in that the sum of all calculating factors are a preset value.
10. according to device described in claim 6-8 any one, which is characterized in that the determining module is used for according to
The size relation of Performance Score and the threshold value determines whether that carrying out bandwidth switching specifically includes:
The determining module is used for, if the Performance Score is more than or equal to the threshold value, keeps the initial setting bandwidth mould
Formula;Alternatively, being determined to switch to than the initial bandwidth for setting bandwidth mode more if the Performance Score is less than the threshold value
Low bandwidth mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810635052.4A CN108966350A (en) | 2018-06-20 | 2018-06-20 | A kind of method and apparatus selecting wireless router bandwidth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810635052.4A CN108966350A (en) | 2018-06-20 | 2018-06-20 | A kind of method and apparatus selecting wireless router bandwidth |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108966350A true CN108966350A (en) | 2018-12-07 |
Family
ID=64491842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810635052.4A Pending CN108966350A (en) | 2018-06-20 | 2018-06-20 | A kind of method and apparatus selecting wireless router bandwidth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108966350A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769270A (en) * | 2019-03-29 | 2019-05-17 | 新华三技术有限公司 | Bandwidth of operation method of adjustment and device |
CN110545555A (en) * | 2019-09-09 | 2019-12-06 | Oppo广东移动通信有限公司 | wifi connection establishment method and related equipment |
CN117134847A (en) * | 2023-10-26 | 2023-11-28 | 深圳前海翼联科技有限公司 | Router signal interference detection system based on IOT (internet of things) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103889011A (en) * | 2014-04-09 | 2014-06-25 | 上海斐讯数据通信技术有限公司 | Wireless bandwidth selecting method and system based on WLAN wireless bandwidth assessment |
CN104735799A (en) * | 2013-12-24 | 2015-06-24 | 华为技术有限公司 | Channel selection method and device |
WO2016074473A1 (en) * | 2014-11-10 | 2016-05-19 | 小米科技有限责任公司 | Router signal strength adjustment method and device |
CN106255214A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of channel switching method and device |
CN106412628A (en) * | 2015-07-30 | 2017-02-15 | 华为技术有限公司 | Bandwidth adjusting method and related equipment |
US20170135033A1 (en) * | 2015-11-10 | 2017-05-11 | Red Hat, Inc. | Selection of a Mesh Access Point in a Wireless Mesh Network |
CN107864515A (en) * | 2017-10-17 | 2018-03-30 | 北京算云联科科技有限公司 | A kind of control method and device of AP channels switching |
-
2018
- 2018-06-20 CN CN201810635052.4A patent/CN108966350A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104735799A (en) * | 2013-12-24 | 2015-06-24 | 华为技术有限公司 | Channel selection method and device |
CN103889011A (en) * | 2014-04-09 | 2014-06-25 | 上海斐讯数据通信技术有限公司 | Wireless bandwidth selecting method and system based on WLAN wireless bandwidth assessment |
WO2016074473A1 (en) * | 2014-11-10 | 2016-05-19 | 小米科技有限责任公司 | Router signal strength adjustment method and device |
CN106412628A (en) * | 2015-07-30 | 2017-02-15 | 华为技术有限公司 | Bandwidth adjusting method and related equipment |
US20170135033A1 (en) * | 2015-11-10 | 2017-05-11 | Red Hat, Inc. | Selection of a Mesh Access Point in a Wireless Mesh Network |
CN106255214A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | A kind of channel switching method and device |
CN107864515A (en) * | 2017-10-17 | 2018-03-30 | 北京算云联科科技有限公司 | A kind of control method and device of AP channels switching |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769270A (en) * | 2019-03-29 | 2019-05-17 | 新华三技术有限公司 | Bandwidth of operation method of adjustment and device |
CN109769270B (en) * | 2019-03-29 | 2023-04-25 | 新华三技术有限公司 | Working bandwidth adjusting method and device |
CN110545555A (en) * | 2019-09-09 | 2019-12-06 | Oppo广东移动通信有限公司 | wifi connection establishment method and related equipment |
CN117134847A (en) * | 2023-10-26 | 2023-11-28 | 深圳前海翼联科技有限公司 | Router signal interference detection system based on IOT (internet of things) |
CN117134847B (en) * | 2023-10-26 | 2024-01-05 | 深圳前海翼联科技有限公司 | Router signal interference detection system based on IOT (internet of things) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109195170B (en) | Cell capacity expansion method and device and storage medium | |
CN108966350A (en) | A kind of method and apparatus selecting wireless router bandwidth | |
CN108566660A (en) | Network switching method and device and computer readable storage medium | |
US10237793B2 (en) | Access control method and apparatus, and network device | |
CN105828371B (en) | The measurement method and device of LTE terminal under Idle state | |
CN110505105B (en) | Method, device, equipment and storage medium for controlling network service quality | |
CN110621047A (en) | Operator network switching method and device and computer readable storage medium | |
CN103703800B (en) | Cell interoperation treating method and apparatus | |
CN109362129B (en) | Channel determination method, device, equipment and storage medium | |
CN109617637A (en) | A kind of information processing method and device | |
JP7293502B2 (en) | Detection method, device and system | |
CN108366403A (en) | Method for switching network, device, terminal and storage medium | |
CN107426778A (en) | A kind of system of selection of frequency handover and access device | |
CN103416089B (en) | Load balancing method and apparatus | |
CN112020098A (en) | Load balancing method and device, computing equipment and computer storage medium | |
CN100452926C (en) | A method and apparatus for configuration of 2G neighbor cell for 3G cell | |
CN107820322B (en) | Network access method, terminal and device with storage function | |
CN112672364B (en) | Policy configuration method, device, related equipment and storage medium | |
KR101247817B1 (en) | Network selection system, network selection method and mobile system | |
CN108848536B (en) | Bandwidth control method and device and communication equipment | |
CN104918304A (en) | Traffic management device for terminal and traffic management method | |
CN107548118A (en) | A kind of Wi-Fi (Wireless Internet Access) method and device, equipment | |
CN108966351A (en) | A kind of method and apparatus adjusting wireless router bandwidth | |
CN107911875A (en) | Intelligent base station based on personnel's detection | |
CN104170459B (en) | Switching time collocation method, device, system and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181207 |