Summary of the invention
The object of the present invention is to provide a kind of cluster AP channel allocation and power regulating method towards intensive user area, in solution prior art, single channel distribution or power are adjusted the problem that scheme cannot adapt to the cluster AP deployment of intensive user area.
To achieve these goals, the technical solution used in the present invention is as follows:
Towards cluster AP channel allocation and the power regulating method of intensive user area, comprise the following steps:
(1) all RSSI values that are managed AP of initialization are-100;
(2) mode of averaging by Multiple-Scan determines that any two are not determined the final RSSI value between the AP of channel;
(3) determine the interference signal intensity value of each AP according to the final RSSI value between AP, and AP is sorted from heavy extremely light order according to annoyance level;
(4), taking non-interfering channel as basis, according to the sequencing of AP sequence, AP is carried out to channel allocation;
(5) AP of all definite channels carries out website scanning under total power, finds channel identical and can scan from a side the opposing party's AP couple;
(6) any AP of AP centering is adjusted to object as power, choose another AP different from the RSSI value maximum of this AP and channel as the first auxiliary check point, and identical another AP of channel is as the second auxiliary check point;
(7) progressively reduce power and adjust the power of object, and detect in real time the RSSI value of the first auxiliary check point and the second auxiliary check point, until the be not less than-60dbm of RSSI value of the first auxiliary check point, and the RSSI value of the second auxiliary check point is minimum;
(8) judge whether described another AP of AP centering has carried out power adjustment, if, carry out next step, otherwise, certainly to adjust object as power, choose another AP different from the RSSI value maximum of this AP and channel as the first auxiliary check point, and identical another AP of channel is as the second auxiliary check point, and execution step (7);
(9) judge in the AP of all definite channels whether have the AP couple that does not carry out power adjustment, if so, repeating step (6)~(8), on the contrary finish.
Further, the concrete grammar of described step (2) is:
First, allly do not determine that channel AP carries out at least twice website scanning under total power;
Then, the RSSI value of all scannings is averaged;
Finally, set up RSSI relational matrix, from two groups of RSSI of any a pair of AP, select larger mean value as the final RSSI value between two AP.
Again further, in described step (3), the interference signal intensity value of AP is all final RSSI value sum corresponding with this AP.
Further, the concrete grammar of described step (4) is:
(a) judge the current channel that whether has unallocated AP, if so, according to the sequencing of AP sequence, all AP are dispensed in the channel of unallocated AP, otherwise, this AP is dispensed to the channel with the AP place of this AP interference signal intensity value minimum;
(b) judge whether that all AP have all determined channel, if so, execution step (5), on the contrary carry out (a).
Compared with prior art, the present invention has following beneficial effect:
(1) the present invention adjusts principle as basis taking existing channel allocation and power, both are incorporated into one dexterously, mutually merge, mutually support, thereby form a kind of new technology, and simple channel allocation and simple all insurmountable problems of power adjustment are solved, that is: single channel allocation or power are adjusted the cluster AP deployment issue that scheme cannot adapt to intensive user area, make to dispose AP in intensive user area and there is unified allocative decision, and can effectively reduce the interference problem of wireless aps interchannel, ensure channel coverage simultaneously, guarantee the effective rate of utilization of bandwidth.
(2) the technology of the present invention complexity is low, is easy to reality, and can not cause extra hardware cost, can effectively utilize radio spectrum resources, improves throughput of wireless networks, has very high practical value and application value.
(3) channel allocation and power adjustment are combined the new technology forming afterwards by the present invention, its technique effect is far longer than the technique effect sum that single channel distributes and single power is adjusted, there is outstanding substantive distinguishing features and significant progressive, there is very high creativeness.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described, and embodiments of the present invention include but not limited to the following example.
Embodiment
The present embodiment is taking same PE lower four radio reception device AP1, AP2, AP3 and AP4 as example, as shown in Figure 2, as follows for channel allocation and the power regulating method of above-mentioned four radio reception devices:
First, the received signal strength indicator value of four radio reception devices of initialization is-100, as table 1:
RSSI |
AP1 |
AP2 |
AP3 |
AP4 |
AP1 |
-- |
-100 |
-100 |
-100 |
AP2 |
-100 |
-- |
-100 |
-100 |
AP3 |
-100 |
-100 |
-- |
-100 |
AP4 |
-100 |
-100 |
-100 |
-- |
Table 1
In this technology, so-called RSSI refers to received signal strength indicator, and the unit of RSSI value is dbm, in other explanations no longer separately in content everywhere of presents.
Above-mentioned four equal unassigned channel of radio reception device, therefore, for above-mentioned four radio reception devices, every radio reception device carries out respectively the spot scan of three secondarys, each scanning can obtain a RSSI value, then get the mean value of three scanning results, obtain four radio reception devices RSSI value each other, suppose that four radio reception devices RSSI value is each other as shown in table 2:
RSSI |
AP1 |
AP2 |
AP3 |
AP4 |
AP1 |
-- |
-50 |
-49 |
-65 |
AP2 |
--49 |
-- |
-70 |
-50 |
AP3 |
-50 |
-67 |
-- |
-49 |
AP4 |
-70 |
-50 |
-49 |
-- |
Table 2
Set up the relational matrix of above-mentioned RSSI value, from two groups of RSSI of any a pair of radio reception device, select larger average as the final RSSI value between two radio reception devices.For example, in table 2, the RSSI value between AP1 and AP4 is-65, and RSSI value between AP4 and AP1 is-70, selects larger average as the final RSSI value between AP1 and AP4, is-65.
According to the method described above, table 2 is adjusted into table 3:
RSSI |
AP1 |
AP2 |
AP3 |
AP4 |
AP1 |
-- |
-50 |
-49 |
-65 |
AP2 |
-49 |
-- |
-67 |
-50 |
AP3 |
-50 |
-67 |
-- |
-49 |
AP4 |
-65 |
-50 |
-49 |
-- |
Table 3
Taking table 3 as benchmark, according to the height of RSSI value, radio reception device is sorted, before the radio reception device that RSSI value is larger comes, specific as follows:
AP1:AP3[-49dbm],AP2[-50dbm],AP4[-65dbm]
AP2:AP1[-49dbm],AP4[-50dbm],AP3[-67dbm]
AP3:AP4[-49dbm],AP1[-50dbm],AP2[-67dbm]
AP4:AP3[-49dbm],AP2[-50dbm],AP1[-65dbm]
To the RSSI value summation of above-mentioned each radio reception device, obtain each radio reception device interference signal intensity value each other, as follows:
AP1:AP3[-49dbm], AP2[-50dbm], AP4[-65dbm] and interference signal intensity value :-164
AP2:AP1[-49dbm], AP4[-50dbm], AP3[-67dbm] and interference signal intensity value :-166
AP3:AP4[-49dbm], AP1[-50dbm], AP2[-67dbm] and interference signal intensity value :-166
AP4:AP3[-49dbm], AP2[-50dbm], AP1[-65dbm] and interference signal intensity value :-164
Carry out the sequence of radio reception device according to the size of interference signal intensity value, as follows:
AP1:AP3[-49dbm],AP2[-50dbm],AP4[-65dbm]
AP4:AP3[-49dbm],AP2[-50dbm],AP1[-65dbm]
AP2:AP1[-49dbm],AP4[-50dbm],AP3[-67dbm]
AP3:AP4[-49dbm],AP1[-50dbm],AP2[-67dbm]
So far, supposing all unallocated radio reception devices of non-interfering 1,6,11 3 channel in Fig. 1, according to above-mentioned ranking results, is first AP1 channel distribution, because channel 1,6,11 is sky, therefore AP1 is dispensed in channel 1; Then the radio reception device AP3 of a unassigned channel of selection and AP1 annoyance level maximum from the RSSI relational matrix of table 3, carries out channel allocation to AP3, and now, channel 6,11 is still empty, therefore, AP3 is dispensed in channel 6; And then from the RSSI relational matrix of table 3, select and the radio reception device AP4 of a unassigned channel of AP3 annoyance level maximum, AP4 is carried out to channel allocation, now, only remaining channel 11 be sky, directly AP4 is dispensed in channel 11.In like manner, in the RSSI of table 3 relational matrix, a radio reception device AP2 of selection and AP4 annoyance level maximum, carries out channel allocation to it.Because non-interfering channel 1,6,11 now has all been assigned radio reception device, for reducing as much as possible two interference between radio reception device, select the channel at a radio reception device place the most weak with AP2 annoyance level, distribute to AP2.The radio reception device sequence of carrying out according to interference signal intensity value size from above-mentioned, can find out, with AP2 interference signal intensity value minimum be AP3, therefore the channel at AP3 place 6 is distributed to AP2, AP2, AP3 are dispensed in channel 6 simultaneously.
In above-mentioned channel allocation process, the use order of the channel to unallocated radio reception device can change flexibly, for example, and nonessential sequencing according to above-mentioned channel 1,6,11 distributes: also above-mentioned AP1 can be distributed to channel 6, AP3 is distributed to channel 11.As long as this channel is not yet assigned radio reception device, can use arbitrarily.
Now, four radio reception devices have all been dispensed in channel.In order further to reduce four interference between radio reception device, improve signal coverage rate and bandwidth availability ratio, four of above-mentioned channel distribution radio reception devices are carried out to website scanning under total power, find channel identical, and can scan from a radio reception device a pair of AP of another radio reception device, i.e. AP2 and AP3.
Suppose AP2 to adjust object as power, choose RSSI value between AP2 maximum, and the not identical radio reception device AP1 of channel is as the first auxiliary check point, and the radio reception device AP3 identical with AP2 channel is as the second auxiliary check point.Adopt the mode that progressively reduces AP2 power, on the first auxiliary check point and the second auxiliary check point, check corresponding RSSI value, until make the RSSI value of the second auxiliary check point as far as possible little, and till be not less than-60dbm of RSSI value on the first auxiliary check point, so both ensured the effective coverage range of AP2, ensure the utilance of bandwidth, reduced substantially again the interference between AP2 and AP1, AP3.
Then, selecting with AP2 co-channel (adjective) AP3 is that power is adjusted object, choose RSSI value between AP3 maximum, and the not identical radio reception device AP4 of channel is as the first auxiliary check point, and the radio reception device AP2 identical with AP3 channel is as the second auxiliary check point.Adopt the mode that progressively reduces AP3 power, on the first auxiliary check point and the second auxiliary check point, check corresponding RSSI value, until make the RSSI value of the second auxiliary check point as far as possible little, and till be not less than-60dbm of RSSI value on the first auxiliary check point, the effective coverage range that had so both ensured AP3, reduces again the interference between AP3 and AP4, AP2 substantially.
Finally judge whether again also to exist the AP couple that does not carry out power adjustment, if existed, repeat the power adjustment process that above-mentioned AP is right, otherwise finish.In the present embodiment, only have AP2 and AP3 a pair of, therefore, after the power adjustment that completes AP2 and AP3, power adjustment finishes.
Pass through said method, both realized at close quarters and carried out cluster AP deployment, having reduced substantially again the signal between wireless aps in close quarters disturbs, ensure bandwidth availability ratio, for disposing, the cluster AP of close quarters provides a harmonized programme, open up the brand-new road that close quarters AP disposes, for wireless aps provides more excellent applied environment, there is very high practical value and promotional value.
Above-described embodiment is only the preferred embodiments of the present invention, and not limiting the scope of the invention adopts design principle of the present invention in every case, and carries out non-creativeness work on this basis and the variation made, within all should belonging to protection scope of the present invention.