CN107548115A - Wireless controlled bandwidth adjusting method, device and wireless device - Google Patents
Wireless controlled bandwidth adjusting method, device and wireless device Download PDFInfo
- Publication number
- CN107548115A CN107548115A CN201710802728.XA CN201710802728A CN107548115A CN 107548115 A CN107548115 A CN 107548115A CN 201710802728 A CN201710802728 A CN 201710802728A CN 107548115 A CN107548115 A CN 107548115A
- Authority
- CN
- China
- Prior art keywords
- wireless
- mode
- channel
- interference
- preset
- 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 52
- 230000002093 peripheral effect Effects 0.000 claims abstract description 22
- 230000007613 environmental effect Effects 0.000 claims description 30
- 239000002131 composite material Substances 0.000 claims description 27
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 abstract description 16
- 230000008859 change Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000002452 interceptive effect Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 108010014173 Factor X Proteins 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
This application provides a kind of wireless controlled bandwidth adjusting method, device and wireless device, it is related to radio network technique field, can not the wireless transmission quality according to caused by the change of network environment selects optimal wireless frequency range and the problem of efficiency step-down to improve wireless router in the prior art, the adjust automatically of wireless frequency range can be realized according to network environment, so as to improve the quality and efficiency that are wirelessly transferred.This method includes:At interval of preset time, scan and obtain peripheral wireless network ambient parameter;According to the ambient parameter of acquisition, judge whether to meet handoff parameter;According to preparatory condition, judge whether to meet switching condition;If handoff parameter and the switching condition are to meet, switch the wireless frequency range pattern of wireless router.
Description
Technical Field
The present disclosure relates to the field of wireless network technologies, and in particular, to a method and an apparatus for adjusting a wireless bandwidth, and a wireless device.
Background
The rapid development of the internet has brought about great changes to the work and life of users, and in recent years, Wireless Local Area Networks (WLANs) based on the IEEE 802.11 standard have been rapidly developed. To meet the ever-increasing demand for high-speed traffic, the Institute of Electrical and Electronics Engineers (IEEE) has established the latest wireless networking standards 802.11n and 802.11ac, among others.
The 802.11n protocol supports a radio bandwidth of 40MHz (hereinafter referred to as HT40) in addition to a radio bandwidth of 20MHz (hereinafter referred to as HT20) defined by the original 802.11abg protocol, allowing two adjacent 20MHz channels to be used as a 40MHz channel, thereby increasing transmission efficiency. The 802.11ac protocol further increases the channel bandwidth from 20MHZ and 40MHZ of 802.11n to 80MHZ and 160MHZ, allowing two adjacent 40MHZ channels to be used as one 80MHZ channel and two adjacent 80MHZ channels to be used as one 160MHZ channel to increase the transmission efficiency.
The actual wireless transmission rate is affected by a combination of multiple factors. Taking the 802.11n protocol as an example, HT40 can be selected for the highest wireless bandwidth, i.e. two 20MHz channels are bundled, however, once HT40 mode is selected, the entire 2.4GHz wireless band only supports one non-overlapping channel, and the 5GHz wireless band only has 4 completely non-overlapping channels available. In practical application environments, co-channel interference and adjacent-channel interference are very easily generated, that is, any wireless signal using 1 to 6 channels will generate wireless interference to communication with a bandwidth of 40 MHz. When the wireless interference is severe, the wireless transmission rate when the device selects HT40 is, on the contrary, greater than that when HT20 is selected.
In order to solve the above problems, most wireless routers can start the function of automatically adjusting the wireless bandwidth. Taking the wireless router supporting 802.11n protocol as an example, the wireless bandwidth can be selected from HT20-HT40 hybrid (automatic) mode, i.e. the wireless router is allowed to automatically select the optimal wireless bandwidth configuration according to the surrounding network environment, so as to achieve the optimal wireless transmission rate.
However, in practical applications, there is a large uncertainty in the wireless network environment due to a variety of factors. The existing wireless bandwidth automatic adjusting function can not adjust and switch again after the wireless router completes the wireless bandwidth selection, and selects the optimal wireless bandwidth. If the user needs to modify the wireless bandwidth again, the user can only choose to restart the wireless router or restart the wireless function of the wireless router, but this will cause interruption of data transmission and affect normal operation of the service.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus and a wireless device for adjusting a wireless bandwidth, which can automatically adjust the wireless bandwidth according to a change of a network environment, so as to improve quality and efficiency of wireless transmission.
In a first aspect, an embodiment of the present application provides a method for adjusting a wireless bandwidth, including:
scanning at least one parameter of a channel, an energy value and a flow of a peripheral interference wireless hotspot at preset time intervals;
calculating a weight value corresponding to each channel as an environmental parameter based on the scanned parameters; judging whether the switching condition is met or not according to the environmental parameters;
judging whether the switching condition is met or not according to a preset condition;
and if the switching condition is in line, switching the wireless bandwidth mode of the wireless equipment.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where the determining, according to the environment parameter, whether a handover condition is met specifically includes:
judging whether the environmental parameters meet a first switching condition or not;
if yes, judging whether the second switching condition is met or not according to the preset condition;
if yes, the switching condition is met.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where the determining whether the environmental parameter meets a first handover condition specifically includes:
calculating a composite weight of a channel where the wireless equipment is located according to a preset formula based on the weight corresponding to each channel;
when the composite weight value is larger than a preset interference constant, the wireless bandwidth mode needs to be adjusted to a first mode; when the composite weight value is less than or equal to a preset interference constant, the wireless bandwidth mode needs to be adjusted to a second mode;
if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, the first switching condition is determined to be satisfied.
With reference to the first aspect, an embodiment of the present application provides a third possible implementation manner of the first aspect, where the determining, according to a preset condition, whether a second handover condition is met specifically includes:
judging whether at least one of the number of clients connected with the wireless equipment, the real-time flow of the wireless equipment and the current time period meets corresponding preset conditions or not;
and if the preset conditions are met, judging that the second switching condition is met.
With reference to the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where the calculating, based on the scanned parameters, a weight corresponding to each channel as an environmental parameter specifically includes:
when the scanned parameters comprise energy value parameters, filtering the interference wireless hot spots according to a preset parameter threshold value to obtain effective interference wireless hot spots;
and calculating the effective interference wireless hot spots to obtain a weight value corresponding to each channel as an environmental parameter.
In a second aspect, an embodiment of the present invention further provides a wireless bandwidth adjusting apparatus, including:
the scanning module is used for scanning at least one parameter of a channel, an energy value and a flow of a peripheral interference wireless hotspot at preset time intervals;
the calculation module is used for calculating the weight corresponding to each channel as an environmental parameter based on the scanned parameters;
the judging module is used for judging whether the switching conditions are met or not according to the environment parameters;
and the switching module is used for switching the wireless bandwidth mode of the wireless equipment if the switching condition is in line.
With reference to the second aspect, an embodiment of the present application provides a first possible implementation manner of the second aspect, where the determining module is specifically configured to:
judging whether the environmental parameters meet a first switching condition or not;
if yes, judging whether the second switching condition is met or not according to the preset condition;
if yes, the switching condition is met.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present application provides a first possible implementation manner of the second aspect, where the determining whether the environmental parameter meets a first handover condition specifically includes:
calculating a composite weight of a channel where the wireless equipment is located according to a preset formula based on the weight corresponding to each channel;
when the composite weight value is larger than a preset interference constant, the wireless bandwidth mode needs to be adjusted to a first mode; when the composite weight value is less than or equal to a preset interference constant, the wireless bandwidth mode needs to be adjusted to a second mode;
if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, the first switching condition is determined to be satisfied.
In a third aspect, an embodiment of the present application further provides a wireless device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present application further provide a computer-readable medium having non-volatile program code executable by a processor, where the program code causes the processor to execute the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
in the method for adjusting a wireless bandwidth provided in the embodiment of the present application, at least one parameter of a channel, an energy value, and a flow rate of a peripheral interference wireless hotspot is scanned at preset time intervals; then, based on the scanned parameters, calculating a weight value corresponding to each channel as an environmental parameter; then judging whether the switching conditions are met or not according to the acquired environmental parameters; if the switching condition is satisfied, the wireless bandwidth mode of the wireless device is switched. Therefore, the technical scheme provided by the embodiment of the application does not need to restart the wireless device, and only needs to automatically switch the wireless bandwidth mode according to the change of the network, thereby avoiding the influence of data transmission interruption caused by restarting on the service, achieving the purpose of automatically adjusting the wireless bandwidth according to the peripheral actual wireless environment, and ensuring the optimal quality and the optimal efficiency of wireless transmission. In addition, the method also allows a user to configure the wireless device through a plurality of strategy mechanisms, and the wireless bandwidth can be automatically adjusted without significant changes to the software or hardware system of the existing product.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a method for adjusting a wireless bandwidth according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating another method for adjusting a wireless bandwidth according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a wireless bandwidth adjusting apparatus according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a wireless device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The wireless automatic adjustment function of the existing wireless router can not adjust and switch again according to the change of the network environment after the wireless router completes the selection of the wireless bandwidth, and selects the optimal wireless bandwidth, thereby causing the problems of poor wireless transmission quality and low efficiency. Based on this, the method, the apparatus and the wireless device for adjusting the wireless bandwidth provided by the embodiments of the present application can achieve automatic adjustment of the wireless bandwidth according to a network environment, thereby improving quality and efficiency of wireless transmission.
The following describes a method for adjusting a wireless bandwidth disclosed in the embodiments of the present application in detail.
In one embodiment:
fig. 1 is a flowchart illustrating a method for adjusting a wireless bandwidth according to an embodiment of the present application, applied to a wireless device (e.g., a wireless router), and referring to fig. 1, the method for adjusting a wireless bandwidth includes the following steps:
s101: at preset time intervals, at least one parameter of the channel, the energy value and the flow of the peripheral interference wireless hot spot is scanned.
In specific implementation, the preset time can be set according to actual requirements.
Considering that the frequent switching of the wireless bandwidth by a stable wireless network causes the waste of a large amount of system resources of wireless equipment, the preset time of the scanning interval cannot be too short; in addition, the preset time cannot be too long, otherwise, enough sample points cannot be collected to analyze the current wireless network environment, and the purpose of automatically switching the wireless bandwidth cannot be achieved.
In order to stabilize the wireless network, save system resources of the wireless device, and adjust the current wireless network environment in time, the preset time is further 30 to 120 minutes.
S102: and calculating a weight value corresponding to each channel as an environmental parameter based on the scanned parameters.
At the time of calculation, the weight values of all the initialized channels are set to 0 here.
Specifically, when the peripheral interference wireless hotspots are scanned to obtain channel parameters where the interference wireless hotspots are located, a weight assignment is performed on each channel according to the current wireless bandwidth mode based on the channel parameters, and a first interference weight corresponding to each channel is calculated. When only the channel parameters exist, the first interference weight value can be used as the weight value corresponding to each channel.
Or,
and when the energy value parameter of the interference wireless hotspot is obtained through scanning, performing secondary weight assignment on each channel according to the wireless mode selected by the user based on the energy value parameter, and calculating a second interference weight corresponding to each channel. When only the energy value parameter exists, the third interference weight can be used as the weight corresponding to each channel.
Or,
and when the flow parameter of the interference wireless hotspot is obtained through scanning, carrying out weight assignment for each channel for three times based on the flow parameter and according to the wireless mode selected by the user, and calculating a third interference weight corresponding to each channel. When only the traffic parameter exists, the third interference weight can be used as the weight corresponding to each channel.
It should be noted that each weight assignment method may be the same or different, and is specifically set according to actual needs; the first interference weight, the second interference weight and the third interference weight may be accumulated, so as to obtain a weight corresponding to each channel.
Considering the stability of the scanned interfering wireless hotspots, for example, the energy value of some wireless hotspots is weak, the entire calculation will cause waste of system resources.
Further, the step S102 may further include a step of determining an effective interference wireless hotspot, and specifically, the step S102 is implemented by the following steps:
(a) and when the scanned parameters comprise energy value parameters, filtering the interference wireless hot spots according to a preset parameter threshold value to obtain effective interference wireless hot spots.
The parameter threshold herein mainly refers to an energy value parameter threshold, and the preset parameter threshold may be set according to actual conditions. It should be noted that, besides the energy value parameter threshold, when the scanned parameters include other parameters of the wireless device that can be referred to and meaningful (e.g. wireless physical parameters such as fields of wireless probe frames), the parameter threshold is also set for precise filtering, so as to improve the accuracy and reliability of the calculation result, and reduce the resources occupied by the system.
In one embodiment, the preset parameter threshold may be set according to a wireless mode selected by a user and the number X of interfering wireless hotspots scanned in the mode, so as to determine the number Y of effective interfering wireless hotspots.
The following describes the selected rule in a wireless mode including a race mode, an equalization mode, and a compatibility mode:
if the number X of the scanned interfering wireless hotspots is small, for example, X <10, the setting rule of the parameter threshold is as follows: when the wireless mode is a racing mode, setting the energy value parameter threshold value to satisfy Y being 3; when the wireless mode is the balanced mode, setting the energy value parameter threshold value according to Y as 5; when the wireless mode is the compatible mode, the energy parameter threshold should satisfy Y ═ 7.
If the number X of the scanned interfering wireless hotspots is large, for example, X > is 10, the parameter threshold is set according to the following rule: when the wireless mode is a racing mode, the energy value parameter threshold value is set to satisfy that Y is 30 percent multiplied by X; when the wireless mode is the balanced mode, the energy value parameter threshold is set according to the condition that Y is 50% multiplied by X; when the wireless mode is the compatible mode, the energy value parameter threshold should satisfy Y ═ 70% × X.
It should be noted that the values of the threshold are merely examples, and do not limit the scope of the present application.
(b) And calculating the effective interference wireless hot spots to obtain the weight corresponding to each channel.
S103: and judging whether the switching condition is met or not according to the environment parameters.
The step S103 is specifically implemented by the following steps:
(a) and judging whether the environmental parameters meet a first switching condition.
Specifically, this step may be performed by the following substeps:
(a1) and calculating the composite weight of the channel where the wireless equipment is located according to a preset formula based on the weight corresponding to each channel.
In specific implementation, the preset formula can be set according to actual conditions, and the influence degree capable of reflecting different parameters is taken as a reference.
In the embodiment, the predetermined formula is configured according to the current wireless bandwidth mode.
When the current High Throughput (HT) mode is the first mode, taking the first mode as HT20 as an example, the predetermined formula may be set as follows:
the composite weight N of the channel where the wireless device is located is equal to the weight of the channel where the wireless device is located multiplied by Y1% + the weight of the channel adjacent to the wireless device multiplied by Y2% + the weight of the channel separated by the wireless device multiplied by Y3%, wherein Y1, Y2 and Y3 are weight coefficients, and Y1> Y2> Y3. Preferably, the value range of Y1 is 90-110, the value range of Y2 is 50-70, and the value range of Y3 is 10-30.
When the current High Throughput (HT) mode is in the second mode, the wireless device may experience more radio interference, and the second mode is for example the HT40 mode, the preset equation may be set as follows:
the composite weight N of the channel where the wireless device is located is the weight of the channel where the wireless device is located multiplied by Z1% + the weight of the adjacent channel of the wireless device multiplied by Z2% + the weight of the one channel spaced by the wireless device multiplied by Z3% + the weight of the two channels spaced by the wireless device multiplied by Z4% + the weight of the three channels spaced by the wireless device multiplied by Z5%, wherein Z1, Z2, Z3, Z4 and Z5 are weight coefficients, and Z1> Z2> Z3> Z4> Z5. Preferably, the value range of Z1 is 90-100, the value range of Z2 is 70-80, the value range of Z3 is 50-60, the value range of Z4 is 30-40, and the value range of Z3 is 10-20.
(a2) And comparing the composite weight value with a preset interference constant to judge whether the wireless bandwidth mode needs to be adjusted or not.
Specifically, when the complex weight is greater than the predetermined interference constant, the wireless bandwidth mode needs to be adjusted to the first mode; when the complex weight is less than or equal to the predetermined interference constant, the wireless bandwidth mode needs to be adjusted to the second mode.
The interference constant is set according to actual needs, for example, after comprehensive consideration is performed according to factors such as wireless hardware structures (e.g., chips, antennas) and wireless radio frequency parameters; therefore, the interference constants of the first pattern (HT20 pattern) and the second pattern (HT40 pattern) may be the same or different. Preferably, the interference constant is set in the range of 80-120.
Considering that different wireless modes have different emphasis points, such as the racing mode pursuit efficiency, the wireless mode is switched to HT40 as much as possible; the compatible mode pursues compatibility and is switched to HT20 as far as possible, so that in practical application, before comparison, an adjustment coefficient can be introduced; the adjustment coefficient is corresponding to the wireless mode selected by the user, the wireless hotspot device sets the corresponding adjustment coefficient according to the wireless mode selected by the user, and then the composite weight of the channel where the wireless device is located is multiplied by the adjustment coefficient and compared with the interference constant to judge whether the wireless bandwidth mode needs to be adjusted.
(a3) If the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and needs to be adjusted, the first switching condition is judged to be met.
To reduce this impact, it is considered that the efficiency of the wireless network is affected if the HT mode is repeatedly switched. In the step (a3), before the first switching sword is determined to be matched, the method further includes a step of counting the mode switching frequency to determine whether the frequency satisfies the mode switching frequency.
Specifically, if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, it is determined that the first switching condition is satisfied.
In this embodiment, an elastic counter is introduced to count the mode switching frequency, and an initial value and an upper limit value of the elastic counter are preset, where the upper limit value is less than or equal to the initial value. It should be noted here that when the count value of the elasticity counter reaches the upper limit value, it is not accumulated. For example: in one scanning period, when the wireless device is about to generate an HT mode switching event, the counting value of the elastic counter is-1; conversely, in a scanning period, when the wireless device does not need to generate an HT mode switching event, the count value of the elasticity counter is + 1. In a scanning period, when the count value of the elastic counter is less than 0, the HT mode needs to be switched, and the elastic counter is restored to the initial value; when the count value of the elasticity counter is ≧ 0, the HT mode is maintained.
When the number of continuous occurrences that the count value of the elastic counter is less than 0 is P times, wherein P is a positive integer greater than 1 and is greater than or equal to the mode switching frequency, it is determined that the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted (i.e., HT mode switching needs to be performed) continuously P times, the mode switching frequency is satisfied, and the first switching condition is determined to be satisfied.
(b) If yes, judging whether the second switching condition is met according to the preset condition.
Temporary interruption of the wireless network may result due to the HT mode switching. Here, preset conditions are adopted to judge whether the current state of the wireless equipment allows the HT mode switching; the preset conditions can be determined according to actual conditions.
The steps may be specifically performed by: judging whether at least one of the number of clients connected with the wireless equipment, the real-time flow of the wireless equipment and the current time period meets corresponding preset conditions or not; and if the first switching condition and the second switching condition are both in accordance with the preset condition, judging that the second switching condition is in accordance with. At this time, the preset condition is at least one of a preset number of clients connected to the wireless device, a traffic threshold of the wireless device, or a set time range.
(c) If yes, the switching condition is met.
If both the first switching condition and the second switching condition are met, i.e. the switching conditions are met, step S104 is executed.
S104: the wireless bandwidth mode of the wireless device is switched.
In the embodiment of the application, at least one parameter of a channel, an energy value and a flow of a peripheral interference wireless hotspot is scanned at each preset interval; then, based on the scanned parameters, calculating a weight value corresponding to each channel as an environmental parameter; then judging whether the switching conditions are met or not according to the acquired environmental parameters; if the switching condition is satisfied, the wireless bandwidth mode of the wireless device is switched. Therefore, the technical scheme provided by the embodiment of the application does not need to restart the wireless device, and only needs to automatically switch the wireless bandwidth mode according to the change of the network, thereby avoiding the influence of data transmission interruption caused by restarting on the service, achieving the purpose of automatically adjusting the wireless bandwidth according to the peripheral actual wireless environment, and ensuring the optimal quality and the optimal efficiency of wireless transmission. In addition, the method also allows a user to configure the wireless device through a plurality of strategy mechanisms, and the wireless bandwidth can be automatically adjusted without significant changes to the software or hardware system of the existing product.
In yet another embodiment:
fig. 2 shows another wireless bandwidth adjustment method provided in the embodiment of the present application, which is applied to an 802.11n wireless router, and the method includes the following specific implementation steps:
s201: and receiving a wireless mode selection signal of a user, and matching the corresponding HT mode according to the selection signal.
Specifically, after the wireless router is powered on, the wireless router receives a wireless mode selection signal of a user, and matches a corresponding wireless bandwidth mode according to the selection signal. There are three wireless modes of the wireless router here: a race mode, an equalization mode, and a compatibility mode; the corresponding relationship between the wireless mode and the wireless bandwidth mode is shown in table 1:
TABLE 1 correspondence between wireless mode and wireless bandwidth mode
In the racing mode, the wireless router pursues efficiency, namely pursuit speed is fastest; in the compatible mode, the wireless router pursues compatibility, namely pursues stability; in the balanced mode, the wireless router gives consideration to efficiency and compatibility.
It should be noted that, after the wireless router is powered on, the wireless mode selection signal of the user is received for the first time, which can be implemented according to the scheme of the prior art, that is, the corresponding wireless bandwidth mode is selected only according to the number of the wireless network hotspots; the selection of the wireless bandwidth mode can also be realized according to the technical scheme of the embodiment; and is not particularly limited herein. After the first selection, the wireless router performs the automatic switching of the wireless bandwidth mode according to the following steps.
S202: and scanning and acquiring the surrounding wireless network environment at preset time intervals.
The preset time used in this example was 60 minutes.
Specifically, the steps are mainly implemented by the following modes:
a, scanning channels, energy values and flow where peripheral interference wireless hot spots (referred to as interference sources in this embodiment) are located every 60 minutes.
And b, calculating a weight value corresponding to each channel as an environmental parameter based on the scanned channel, energy value and flow where the interference source is located.
And b, calculating the weight value through the step b, and acquiring the interference condition of the wireless network environment on the wireless channel.
This calculation process may be carried out by:
i: when the wireless router is initialized, the weight values of all 13 channels are set to be 0.
II: the wireless router scans the channel where the peripheral interference source is located, and performs first round weight assignment on the channel according to the current wireless bandwidth mode.
The wireless router scans that 4 interference sources exist around the wireless router and are respectively located in channels 1, 3, 5 and 10, and aiming at the 4 interference sources, when a weight is added to each channel:
1) if the wireless bandwidth mode is HT20 mode, the interference channel weight of the interference source is +5, the channel weight adjacent to the interference channel is +3, the channel weight of a channel separated from the interference channel is +1, and the other channel weights are 0; the final first interference weights obtained by the first round of channel weight assignment are shown in table 2:
table 2 HT20 mode channel first round weight assignment
Channel with a plurality of channels | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Initialization | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Interference source 1 | +5 | +3 | +1 | ||||||||||
Interference source 2 | +1 | +3 | +5 | +3 | +1 | ||||||||
Interference source 3 | +1 | +3 | +5 | +3 | +1 | ||||||||
Interference source 4 | +1 | +3 | +5 | +3 | +1 | ||||||||
Interference weight |
2) If the wireless router is in an HT40 mode, the weight of an interference channel where an interference source is located is +5, the weight of a channel adjacent to the interference channel is +4, the weight of a channel separated from the interference channel by one channel is +3, the weight of a channel separated from the interference channel by two channels is +2, the weight of a channel separated from the interference channel by three channels is +1, and the weights of other channels are 0; the final channel first round weight assignment is shown in table 3:
table 3 HT40 mode channel first round weight assignment
Channel with a plurality of channels | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Initialization | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Interference source 1 | +5 | +4 | +3 | +2 | +1 | ||||||||
Interference source 2 | +3 | +4 | +5 | +4 | +3 | +2 | +1 | ||||||
Interference source 3 | +1 | +2 | +3 | +4 | +5 | +4 | +3 | +2 | +1 | ||||
Interference source 4 | +1 | +2 | +3 | +4 | +5 | +4 | +3 | +2 | |||||
Interference weight |
And the first round of weight assignment takes the number of the interference wireless hot spots into consideration for calculating the interference degree, if a channel with more concentrated wireless hot spots is selected, the HT20 mode is preferred, and otherwise, the HT40 mode is selected.
III: the wireless router scans the energy value of the peripheral interference source of the wireless router, and adds a round of weight assignment to the interference source n before the energy value ranking, wherein the assignment method is the same as the first round of weight assignment of the channel, and the details are not repeated herein.
Assume here that the user selects the race mode, ranking the interference sources with energy values of the top three: and carrying out channel second round weight assignment on the interference source 1, the interference source 2 and the interference source 3.
1) The result of the second round of channel weight assignment obtained when the wireless router is in the HT20 mode is shown in table 4:
table 4 channel second round weight assignment
Channel with a plurality of channels | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Initialization | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Interference source 1 | +10 | +6 | +2 | ||||||||||
Interference source 2 | +2 | +6 | +10 | +6 | +2 | ||||||||
Interference source 3 | +2 | +6 | +10 | +6 | +2 | ||||||||
Interference source 4 | +1 | +3 | +5 | +3 | +1 | ||||||||
Interference weight |
2) When the wireless router is in the HT40 mode, the obtained second round of channel weight assignment results are shown in table 5:
table 5 channel second round weight assignment
Channel with a plurality of channels | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Initialization | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Interference source 1 | +10 | +8 | +6 | +4 | +2 | ||||||||
Interference source 2 | +6 | +8 | +10 | +8 | +6 | +4 | +2 | ||||||
Interference source 3 | +2 | +4 | +6 | +8 | +10 | +8 | +6 | +4 | +2 | ||||
Interference source 4 | +1 | +2 | +3 | +4 | +5 | +4 | +3 | +2 | |||||
Interference weight |
It should be noted that, since accumulation is required, the table does not directly show the first interference weight corresponding to each channel and the second interference weight corresponding to each channel.
And the second round of weight assignment calculates the interference degree according to the energy value of the interference wireless hot spot, if the channel of the hot spot with high wireless energy value is selected, the HT20 mode is preferred, otherwise, the HT40 mode is selected.
IV: the wireless router is switched to a CPE (Customer Premise Equipment) mode, scans the flow of the peripheral interference sources, and adds a round of weight assignment to the interference source n before the flow value ranking, where the assignment method is the same as the first round of channel weight assignment, and is not described herein again.
Considering that the scanned flow value is an instantaneous rate, for example, a situation where a certain peripheral interference source may generate flow at a certain time, or a situation where a certain peripheral interference source has a small flow value at a certain time and the flow rate suddenly increases at the next time, in order to ensure the accuracy of the result, the flow rate refers to an average value of the flow rate over a period of time.
Assume here that the user selects the race mode, ranking the flow values as the top three interferers: and carrying out third round of weight assignment on the channel by the interference source 1, the interference source 2 and the interference source 3.
1) The third round of channel weight assignment results obtained when the wireless router is in the HT20 mode are shown in table 6:
table 6 channel third round weight assignment
Channel with a plurality of channels | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Initialization | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Interference source 1 | +15 | +9 | +3 | ||||||||||
Interference source 2 | +3 | +9 | +15 | +9 | +3 | ||||||||
Interference source 3 | +3 | +9 | +15 | +9 | +3 | ||||||||
Interference source 4 | +1 | +3 | +5 | +3 | +1 | ||||||||
Interference weight | 18 | 18 | 21 | 18 | 18 | 9 | 3 | 1 | 3 | 5 | 3 | 1 | 0 |
2) When the wireless router is in the HT40 mode, the obtained second round of channel weight assignment results are shown in table 7:
table 7 channel third round weight assignment
Channel with a plurality of channels | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
Initialization | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Interference source 1 | +15 | +12 | +9 | +6 | +3 | ||||||||
Interference source 2 | +9 | +12 | +15 | +12 | +9 | +6 | +3 | ||||||
Interference source 3 | +3 | +6 | +9 | +12 | +15 | +12 | +9 | +6 | +3 | ||||
Interference source 4 | +1 | +2 | +3 | +4 | +5 | +4 | +3 | +2 | |||||
Interference weight | 27 | 30 | 33 | 30 | 27 | 19 | 14 | 9 | 7 | 5 | 4 | 3 | 2 |
And the third round of weight assignment calculates interference according to the flow of the interference wireless hot spot, if the channel of the hot spot with a high wireless flow value is selected, the HT20 mode is preferred, otherwise, the HT40 mode is selected.
It should be noted that the wireless router may select the number of interferers assigned in the second round according to the wireless mode selected by the user, and perform the second round of channel weight assignment or the third round of channel weight assignment. For example, the correspondence between the radio mode and the number of interference source assignments is shown in table 6:
table 8 correspondence between wireless mode and number of interference source assignments
Wireless mode | Number of interference source assignments |
Race mode | Wireless hotspot with energy value ranking 3 above (reducing channel weight as much as possible) |
Equalization mode | Wireless hotspot with energy value ranked top 5 |
Compatible mode | Wireless hotspot with energy value ranking 7 (channel weight is increased as much as possible) |
S203: according to the environment parameters, it is determined whether the HT mode needs to be switched (i.e., whether the first switching condition is satisfied).
In specific implementation, first, based on the weight corresponding to each channel, the composite weight of the channel where the wireless router is located is calculated according to a preset formula.
The preset formula of the embodiment is configured according to the current wireless bandwidth mode.
(1) In the HT20 mode, the default equation can be set as:
the composite weight N of the channel where the wireless router is located is equal to the weight of the channel where the wireless router is located multiplied by 100% + the weight of the channel adjacent to the wireless router multiplied by 60% + the weight of the channel spaced by the wireless router multiplied by 20%.
(2) Considering that the wireless device may experience more wireless interference in the HT40 mode, the predetermined formula may be set as:
the composite weight N of the channel where the wireless router is located is equal to the weight of the channel where the wireless router is located, multiplied by 100% + the weight of the channel adjacent to the wireless router, multiplied by 80% + the weight of one channel spaced by the wireless router, multiplied by 60% + the weight of two channels spaced by the wireless router, multiplied by 40% + the weight of three channels spaced by the wireless router, multiplied by 20%.
For example: in table 6, the wireless router has selected channel 3, as known from (1):
the composite weight N of the channel where the wireless router is located is 21 × 100% + (18+18) × 60% + (18+18) × 20%, 21+21.6+7.2, 49.8.
In table 7, the wireless router has selected channel 3, as known from (2):
the composite weight N of the channel where the wireless router is located is 33 × 100% + (30+30) × 80% + (27+27) × 60% + (0+19) × 40% + (0+14) × 20% >, 33+48+32.4+7.6+2.8 ═ 123.8.
And then, multiplying the composite weight N of the channel where the wireless router is located by the adjustment coefficient X, and comparing the composite weight N with the interference constant M.
Specifically, when the value of nxx is greater than M, it indicates that the interference of the peripheral channel is serious, and it is determined that the wireless bandwidth mode needs to be adjusted to the HT20 mode; when the value of nxx is less than or equal to M, it indicates that the peripheral channel is clean, and it is determined that the wireless bandwidth mode needs to be adjusted to the HT40 mode.
Further, the interference constant M is set to 100 in the present embodiment; the wireless router sets corresponding adjusting coefficients X according to the wireless mode selected by the user as the following table:
TABLE 9
Wireless mode | Adjustment factor X |
Race mode | X is 0.5 (switched as far as possible to HT40) |
Equalization mode | X=1 |
Compatible mode | X ═ 2 (switch to HT20 as far as possible) |
Preferably, since the repeated switching of the HT mode may affect the efficiency of the wireless network, in order to reduce the effect, a switching frequency counting step may be further included: if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, it is determined that the HT mode needs to be switched.
S204: according to the preset condition, whether to allow to switch the HT mode (i.e. whether to accord with the second switching condition) is judged.
Due to the fact that the wireless network is temporarily interrupted during the HT mode switching, normal work of the client side is affected. Therefore, it is necessary to determine whether to allow switching of the HT mode according to preset conditions, where the preset conditions include one or more of the following conditions:
A. the number of the clients currently connected with the wireless router is smaller than the preset number.
For example, whether the number of clients currently connected to the wireless router is less than or equal to 2 is judged, and if yes, the HT mode switching is allowed; if not, the HT mode switching action is postponed to the next time point when HT mode switching is allowed.
B. The real-time flow of the wireless router is smaller than a set flow threshold value.
For example, to determine whether the real-time traffic of the wireless router exceeds a traffic threshold, such as 100 Kbps. When the flow of the wireless router is less than 100Kbps, the HT mode switching is allowed; otherwise, the HT mode switching is postponed until the next time point when HT mode switching is allowed.
C. The current time is within a set time range.
For example, the wireless router acquires the current Time according to a Network Time Protocol (NTP). When the current time is 0: 00 am-7: when the range is within 00am (the wireless network is considered to be idle), the HT mode switching is allowed; otherwise, the HT mode switching is postponed until the next time point when HT mode switching is allowed.
Further, the wireless router may allow HT mode switching only if a preset condition is satisfied in a corresponding wireless mode according to the wireless mode selected by the user.
The relationship between the wireless mode and the preset conditions is shown in table 10.
Watch 10
Wireless mode | Preset conditions |
Race mode | Satisfies one switching condition of ABC |
Equalization mode | Two switching conditions of ABC are satisfied |
Compatible mode | Three switching conditions of ABC are satisfied |
When the conditions of step S203 and step S204 are satisfied at the same time, step S205 is executed; when the condition of step 203 or step 204 is not satisfied, step S206 is executed.
S205: the HT mode is switched.
S206: the current HT mode is maintained.
The method is also suitable for adjusting the wireless bandwidth in the 5G frequency band defined by 802.11 ac.
Example three:
fig. 3 is a schematic structural diagram of a wireless bandwidth adjustment apparatus according to an embodiment of the present application, and as shown in fig. 3, the wireless bandwidth adjustment apparatus includes:
the scanning module 1 is configured to scan at least one parameter of a channel, an energy value, and a flow rate of a peripheral interference wireless hotspot at preset intervals.
And the calculating module 2 is used for calculating a weight value corresponding to each channel as an environmental parameter based on the scanned parameters.
And the judging module 3 is used for judging whether the switching conditions are met or not according to the environment parameters.
And the switching module 4 is used for switching the wireless bandwidth mode of the wireless router if the switching condition is in line.
Further, the determining module is specifically configured to: judging whether the environmental parameters meet a first switching condition or not;
if yes, judging whether the second switching condition is met or not according to the preset condition;
if yes, the switching condition is met.
Preferably, the determining whether the environmental parameter meets the first switching condition specifically includes:
calculating a composite weight of a channel where the wireless router is located according to a preset formula based on the weight corresponding to each channel;
when the composite weight value is larger than a preset interference constant, the wireless bandwidth mode needs to be adjusted to a first mode; when the composite weight value is less than or equal to a preset interference constant, the wireless bandwidth mode needs to be adjusted to a second mode;
if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, the first switching condition is determined to be satisfied.
In the embodiment provided by the application, at least one parameter of a channel, an energy value and a flow of a peripheral interference wireless hotspot is scanned at preset time intervals by a scanning module; then, a calculation module calculates a weight value corresponding to each channel as an environmental parameter based on the scanned parameters; then, judging whether the switching conditions are met or not by a judging module according to the acquired environmental parameters; and finally, switching the wireless bandwidth mode of the wireless router by the switching module if the switching condition is in line. Therefore, the technical scheme provided by the embodiment of the application does not need to restart the wireless router, and only needs to automatically switch the wireless bandwidth mode according to the change of the network, thereby avoiding the influence of data transmission interruption caused by restarting on the service, achieving the purpose of automatically adjusting the wireless bandwidth according to the peripheral actual wireless environment, and ensuring the optimal quality and the optimal efficiency of wireless transmission. In addition, the method also allows a user to configure the wireless router through a plurality of strategy mechanisms, and the wireless bandwidth can be automatically adjusted without significant changes to the software or hardware system of the existing product.
Referring to fig. 4, an embodiment of the present application further provides a wireless device 100, including: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, and the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present application may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
The wireless bandwidth adjusting apparatus and the wireless device provided in the embodiments of the present application have the same technical features as the wireless bandwidth adjusting method provided in the embodiments, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product for performing the wireless bandwidth adjustment method provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the wireless device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method for adjusting a wireless bandwidth, comprising:
scanning at least one parameter of a channel, an energy value and a flow of a peripheral interference wireless hotspot at preset time intervals;
calculating a weight value corresponding to each channel as an environmental parameter based on the scanned parameters;
judging whether the switching condition is met or not according to the environmental parameters;
and if the switching condition is in line, switching the wireless bandwidth mode of the wireless equipment.
2. The method according to claim 1, wherein the determining whether the handover condition is met according to the environment parameter specifically includes:
judging whether the environmental parameters meet a first switching condition or not;
if yes, judging whether the second switching condition is met or not according to the preset condition;
if yes, the switching condition is met.
3. The method according to claim 2, wherein the determining whether the environmental parameter meets a first handover condition specifically comprises:
calculating a composite weight of a channel where the wireless equipment is located according to a preset formula based on the weight corresponding to each channel;
when the composite weight value is larger than a preset interference constant, the wireless bandwidth mode needs to be adjusted to a first mode; when the composite weight value is less than or equal to a preset interference constant, the wireless bandwidth mode needs to be adjusted to a second mode;
if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, the first switching condition is determined to be satisfied.
4. The method according to claim 1, wherein the determining whether the second handover condition is met according to the preset condition specifically includes:
judging whether at least one of the number of clients connected with the wireless equipment, the real-time flow of the wireless equipment and the current time period meets corresponding preset conditions or not;
and if the preset conditions are met, judging that the second switching condition is met.
5. The method according to claim 1, wherein the calculating a weight corresponding to each channel as an environmental parameter based on the scanned parameters specifically includes:
when the scanned parameters comprise energy value parameters, filtering the interference wireless hot spots according to a preset parameter threshold value to obtain effective interference wireless hot spots;
and calculating the effective interference wireless hot spots to obtain a weight value corresponding to each channel as an environmental parameter.
6. A wireless bandwidth adjusting apparatus, comprising:
the scanning module is used for scanning at least one parameter of a channel, an energy value and a flow of a peripheral interference wireless hotspot at preset time intervals;
the calculation module is used for calculating the weight corresponding to each channel as an environmental parameter based on the scanned parameters;
the judging module is used for judging whether the switching conditions are met or not according to the environment parameters;
and the switching module is used for switching the wireless bandwidth mode of the wireless equipment if the switching condition is in line.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
judging whether the environmental parameters meet a first switching condition or not;
if yes, judging whether the second switching condition is met or not according to the preset condition;
if yes, the switching condition is met.
8. The apparatus of claim 7, wherein the determining whether the environmental parameter meets a first handover condition comprises:
calculating a composite weight of a channel where the wireless equipment is located according to a preset formula based on the weight corresponding to each channel;
when the composite weight value is larger than a preset interference constant, the wireless bandwidth mode needs to be adjusted to a first mode; when the composite weight value is less than or equal to a preset interference constant, the wireless bandwidth mode needs to be adjusted to a second mode;
if the current wireless bandwidth mode is different from the wireless bandwidth mode to be adjusted and the mode switching frequency is satisfied, the first switching condition is determined to be satisfied.
9. A wireless device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements the steps of the method of any of claims 1 to 5 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710802728.XA CN107548115A (en) | 2017-09-07 | 2017-09-07 | Wireless controlled bandwidth adjusting method, device and wireless device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710802728.XA CN107548115A (en) | 2017-09-07 | 2017-09-07 | Wireless controlled bandwidth adjusting method, device and wireless device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107548115A true CN107548115A (en) | 2018-01-05 |
Family
ID=60958574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710802728.XA Pending CN107548115A (en) | 2017-09-07 | 2017-09-07 | Wireless controlled bandwidth adjusting method, device and wireless device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107548115A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108848536A (en) * | 2018-06-27 | 2018-11-20 | 新华三技术有限公司 | Method for controlling bandwidth, device and communication equipment |
CN108966351A (en) * | 2018-06-20 | 2018-12-07 | 四川斐讯信息技术有限公司 | A kind of method and apparatus adjusting wireless router bandwidth |
CN109787842A (en) * | 2019-03-13 | 2019-05-21 | 深圳市友华通信技术有限公司 | The configuration method of wireless router |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686869A (en) * | 2012-09-18 | 2014-03-26 | 瑞昱半导体股份有限公司 | Bandwidth selection method |
CN103889011A (en) * | 2014-04-09 | 2014-06-25 | 上海斐讯数据通信技术有限公司 | Wireless bandwidth selecting method and system based on WLAN wireless bandwidth assessment |
CN103974369A (en) * | 2014-05-30 | 2014-08-06 | 上海斐讯数据通信技术有限公司 | Channel selection method and system based on WLAN wireless channel grading mechanism |
CN104144455A (en) * | 2013-05-06 | 2014-11-12 | 华为终端有限公司 | Method and device for improving communication quality in wireless fidelity network environment |
CN104735799A (en) * | 2013-12-24 | 2015-06-24 | 华为技术有限公司 | Channel selection method and device |
CN105744541A (en) * | 2014-12-10 | 2016-07-06 | 乐视致新电子科技(天津)有限公司 | Wireless router channel selection method, wireless router channel selection device and wireless router |
US9392538B2 (en) * | 2014-04-23 | 2016-07-12 | Verizon Patent And Licensing Inc. | Automated wireless channel changing |
-
2017
- 2017-09-07 CN CN201710802728.XA patent/CN107548115A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686869A (en) * | 2012-09-18 | 2014-03-26 | 瑞昱半导体股份有限公司 | Bandwidth selection method |
CN104144455A (en) * | 2013-05-06 | 2014-11-12 | 华为终端有限公司 | Method and device for improving communication quality in wireless fidelity network environment |
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 |
US9392538B2 (en) * | 2014-04-23 | 2016-07-12 | Verizon Patent And Licensing Inc. | Automated wireless channel changing |
CN103974369A (en) * | 2014-05-30 | 2014-08-06 | 上海斐讯数据通信技术有限公司 | Channel selection method and system based on WLAN wireless channel grading mechanism |
CN105744541A (en) * | 2014-12-10 | 2016-07-06 | 乐视致新电子科技(天津)有限公司 | Wireless router channel selection method, wireless router channel selection device and wireless router |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108966351A (en) * | 2018-06-20 | 2018-12-07 | 四川斐讯信息技术有限公司 | A kind of method and apparatus adjusting wireless router bandwidth |
CN108848536A (en) * | 2018-06-27 | 2018-11-20 | 新华三技术有限公司 | Method for controlling bandwidth, device and communication equipment |
CN109787842A (en) * | 2019-03-13 | 2019-05-21 | 深圳市友华通信技术有限公司 | The configuration method of wireless router |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109195170B (en) | Cell capacity expansion method and device and storage medium | |
CN107580345B (en) | Wireless channel switching method and device and wireless channel determining method and device | |
CN103987085B (en) | Minizone moving load method and moving load balancer in a balanced way | |
CN104581887B (en) | WIFI automatic correlation methods and intelligent terminal | |
CN101227698B (en) | Resource regulating method | |
EP2369478A1 (en) | Technique of scheduling tasks in a system | |
WO2008025874A1 (en) | Network configuration | |
US20150281980A1 (en) | Edca adjustment for poor performance nodes | |
CN106797596B (en) | access control method, device and network equipment | |
US10383048B2 (en) | Cell selection method in wireless network, base station, and user equipment | |
CN107548115A (en) | Wireless controlled bandwidth adjusting method, device and wireless device | |
CN111263403A (en) | Method and device for balancing loads among multi-frequency cells in LTE network | |
EP3871443A1 (en) | Method and cloud server for cloud based client steering | |
CN104780614A (en) | Channel distribution and user correlation strategy based on AMAB model | |
CN102934468B (en) | There is provided service to the network entity of user subject and method in a communication network | |
US20130227581A1 (en) | Technique for Providing Task Priority Related Information Intended for Task Scheduling in a System | |
CN106851681B (en) | Method and device for processing auxiliary carrier | |
WO2012075803A1 (en) | Method and system for selecting target cell for handover | |
CN108271184B (en) | VoLTE service processing method and device | |
CN103987079A (en) | Adjacent region interference determination method and device | |
CN108933741B (en) | Wireless communication method and device | |
JP6805368B2 (en) | Scheduling equipment and methods and programs | |
KR101825194B1 (en) | Apparatus and method for allocating frequency | |
CN109413704B (en) | Service migration method, device, equipment and medium for dealing with atmospheric waveguide interference | |
CN106792925B (en) | Method and device for searching ping-pong handover cell pair |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |
|
RJ01 | Rejection of invention patent application after publication |