CN108039930A - A kind of channel scanning method and device - Google Patents
A kind of channel scanning method and device Download PDFInfo
- Publication number
- CN108039930A CN108039930A CN201711384821.XA CN201711384821A CN108039930A CN 108039930 A CN108039930 A CN 108039930A CN 201711384821 A CN201711384821 A CN 201711384821A CN 108039930 A CN108039930 A CN 108039930A
- Authority
- CN
- China
- Prior art keywords
- channel
- scanning
- main scanning
- scan
- task
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Abstract
The embodiment of the present application provides a kind of channel scanning method and device, and applied to AC, method includes:The preliminary sweep task for performing scan channel is issued to the associated each AP of AC;Obtain the adjacent AP that the associated each AP of AC carry out collection during scan channel;According to the adjacent AP of each AP of acquisition, an AP is at least selected from the associated AP of AC as main scanning AP;All adjacent AP of selected AP include the quantity that AC is associated, the quantity of all AP in addition to selected AP, selected AP are less than AC associated APs;Determine the scanning channel of each main scanning AP;The first scan task for performing scan channel is issued to each main scanning AP.Using technical solution provided by the embodiments of the present application, the influence to the service experience of wireless network is reduced, avoids the problem of appearance scanning covering is not complete.
Description
Technical field
This application involves field of communication technology, more particularly to a kind of channel scanning method and device.
Background technology
In the nothing by AC (Access Controller, access controller) and AP (Access Point, access point) structures
In line networking, the reality of the business such as the automated power adjustment of AP, the automatic channel adjustment of AP, the attack detecting of wireless network and defence
Now all rely on scan channel.
Specifically, AC issues scan task to the associated AP of the AC, which can serve to indicate that AP penetrates 2.4G
Frequency supports the scanning of channel, or can be used for instruction AP and support 5G radio frequencies the scanning of channel, or may be used to indicate that AP
The scanning of channel is supported the support of 2.4G radio frequencies and 5G radio frequencies.After AP opens scan function, according to predetermined scanning duration, referring to
Determine to realize the scanning to multiple specified channels by switching channel on channel, with collect the AP information of wireless network environment and
Station (website) information.AC is according to the AP AP information collected and Station information handing services.Above-mentioned specified channel is to open
Open the radio-frequency channel specified in scan instruction and open scanning.
For above-mentioned channel scanning method, swept if the associated all AP of AC carry out channel according to predetermined scanning duration
Retouch, sweep time is longer, and scan efficiency is relatively low, to having a great influence for the service experience of wireless network.If in the associated AP of AC
One or several AP of the selection of middle fixation carry out scan channels, reduce the service experience influence on wireless network, if but having an AP
Not in the coverage of the AP of fixed selection, the problem of scanning covering is not complete will appear from.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of channel scanning method and device, to reduce the clothes to wireless network
The influence of business experience, avoids the occurrence of the problem of scanning covering is not complete.Concrete technical scheme is as follows:
On the one hand, the embodiment of the present application discloses a kind of channel scanning method, applied to AC, the described method includes:
The preliminary sweep task for performing scan channel is issued to the associated each AP of the AC;
Obtain the adjacent AP that the associated each AP of the AC carry out collection during scan channel;
According to the adjacent AP of each AP of acquisition, an AP is at least selected from the associated AP of the AC as main scanning
AP;All adjacent AP of selected AP include:The AC is associated, all AP in addition to selected AP, the quantity of selected AP
Less than the quantity of the AC associated APs;
Determine the scanning channel of each main scanning AP;
According to the scanning channel of identified each main scanning AP, issued to each main scanning AP and perform the of scan channel
One scan task.
Two aspects, the embodiment of the present application disclose a kind of channel scanning device, and applied to AC, described device includes:
First issuance unit, the preliminary sweep task of scan channel is performed for being issued to the associated each AP of the AC;
Acquiring unit, for obtaining the adjacent AP of collection when the associated each AP of the AC carry out scan channel;
Selecting unit, for the adjacent AP of each AP according to acquisition, one is at least selected from the associated AP of the AC
AP is as main scanning AP;All adjacent AP of selected AP include:The AC is associated, all AP in addition to selected AP, institute
The quantity of AP is selected to be less than the quantity of the AC associated APs;
Determination unit, for determining the scanning channel of each main scanning AP;
Second issuance unit, for the scanning channel according to identified each main scanning AP, under each main scanning AP
Hair performs the first scan task of scan channel.
Three aspects, the embodiment of the present application disclose a kind of AC, including processor and machinable medium, the machine
Readable storage medium storing program for executing is stored with the machine-executable instruction that can be performed by the processor, and the processor can by the machine
Execute instruction promotes to realize above-mentioned channel scanning method.
Four aspects, the embodiment of the present application disclose a kind of machinable medium, are stored with machine-executable instruction,
When being called and performed by processor, the machine-executable instruction promotes the processor to realize above-mentioned channel scanning method.
In channel scanning method and device provided by the embodiments of the present application, AC issues preliminary sweep to its associated each AP
Task.Each AP carries out scan channel according to preliminary sweep task, obtains adjacent AP, and the adjacent AP of acquisition is sent to AC.
Adjacent APs of the AC based on each AP, selects AP to issue execution to each main scanning AP as main scanning AP from the associated AP of AC
First scan task of scan channel.The quantity of AP selected by AC is less than the quantity of AC associated APs, that is, carries out the AP of scan channel
Quantity be less than the quantity of AC associated APs, all APs associated compared to AC carry out for scan channel, reduce and perform letter
The AP quantity of road scanning, reduces the influence to the service experience of wireless network.In addition, AC is according to the adjacent of each AP of acquisition
AP determines main scanning AP, it is ensured that all adjacent AP of selected AP include that AC is associated, all AP in addition to selected AP,
Avoid the problem of appearance scanning covering is not complete.Implement any product of the application or method must be not necessarily required to reach at the same time with
Upper all advantages.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of channel scanning method provided by the embodiments of the present application;
Fig. 2 is a kind of AP coverages schematic diagram provided by the embodiments of the present application;
Fig. 3 is another kind AP coverage schematic diagrames provided by the embodiments of the present application;
Fig. 4 is a kind of structure diagram of channel scanning device provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of AC provided by the embodiments of the present application.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, shall fall in the protection scope of this application.
In the prior art, AC issues scan task to AP, which is used to indicate that AP carries out scan channel.If AC
Scan task is issued to the associated all AP of the AC, then the associated all AP of the AC are carried out according to predetermined scanning duration
Scan channel, sweep time is longer, and scan efficiency is relatively low, to having a great influence for the service experience of wireless network.If closed in AC
Fixed selection one or several AP, AC have issued scan task to selected AP in the AP of connection, then selected AP is carried out
Scan channel, the AP quantity for performing scan channel tail off, and the service experience influence on wireless network are reduced, if but having AP not exist
In the coverage of selected AP, the problem of scanning covering is not complete will appear from.
In order to reduce the influence to the service experience of wireless network, the problem of scanning covering is not complete, the application are avoided the occurrence of
Embodiment provides a kind of channel scanning method and device applied to AC.
With reference to figure 1, Fig. 1 is a kind of flow diagram of channel scanning method provided by the embodiments of the present application, applied to AC,
This method includes:
Step 101:The preliminary sweep task for performing scan channel is issued to the associated each AP of AC.
Wherein, the AP being connected with AC is the associated AP of the AC.Preliminary sweep task is used to indicate that AP carries out scan channel.Just
The channel that beginning scan task is directed to is the channel that AP is supported, can be included:All or part of channel that 2.4G radio frequencies are supported, and/
Or all or part of channel that 5G radio frequencies are supported.
AP carries out scan channel after preliminary sweep task is received, i.e. AP is scanned on the channel that it is supported.If
The channel that AP is supported is all channels that 2.4G radio frequencies are supported, then AP is scanned on all channels that 2.4G radio frequencies are supported,
Collect AP information etc..If the channel that AP is supported is all channels that 5G radio frequencies are supported, all channels that AP is supported in 5G radio frequencies
On be scanned, collect AP information etc..If the channel that channel and 5G radio frequencies that the channel that AP is supported is supported for 2.4G radio frequencies are supported,
Then AP is scanned on all channels that 2.4G radio frequencies and 5G radio frequencies are supported, collects AP information etc..Here, the AP information of collection
It can include working channel of neighbor AP and neighbor AP etc..
In actual use, the channel that 2.4G radio frequencies are supported can be 1,2,3,4,5,6,7,8,9,10,11,12 including numbering
With 13 channel.The channel that 5G radio frequencies are supported can be 36 including numbering, 40,44,48,52,56,60,64,100,104,149,
153rd, 157,161 and 165 channel.
Step 102:Obtain the adjacent AP that the associated each AP of AC carry out collection during scan channel.
AP informs its adjacent AP to AC after its adjacent AP is collected into.In this way, AC just got it is its associated each
AP carries out the adjacent AP of collection during scan channel.
For example, AP coverage schematic diagrames as shown in Figure 2, a circle represents the coverage of an AP, AP1 with
The coverage of AP2 intersects, then AP01 and AP02 adjacent AP each other.It is, the adjacent AP that AP01 is collected includes AP02, AP02
The adjacent AP collected includes AP01.
Step 103:According to the adjacent AP of each AP of acquisition, an AP is at least selected to be swept as master from the associated AP of AC
Retouch AP.All adjacent AP of selected AP include:AC is associated, all AP in addition to selected AP, and the quantity of selected AP is small
In the quantity of AC associated APs.
In the embodiment of the present application, it is associated, all in addition to selected AP to include AC with all adjacent AP of selected AP
AP, and the quantity of selected AP is less than the quantity of AC associated APs this condition, the selection criterion as main scanning AP.It is a kind of possible
Implementation in, during selection criterion based on above-mentioned main scanning AP selection main scanning AP, selection AP that can be as few as possible makees
For main scanning AP, farthest to reduce the influence to the service experience of wireless network.In alternatively possible implementation,
When selection criterion based on above-mentioned main scanning AP selects main scanning AP, more AP can be selected as main scanning AP, to improve
Wireless network finds network attack in time to the susceptibility of attack.
Step 104:Determine the scanning channel of each main scanning AP.
Step 105:According to the scanning channel of identified each main scanning AP, execution channel is issued to each main scanning AP
First scan task of scanning.
In the embodiment of the present application, the quantity of AP selected by AC, that is, main scanning AP quantity be less than AC associated APs number
Amount, that is, the quantity for carrying out the AP of scan channel are less than the quantity of AC associated APs.This all AP associated compared to AC carries out letter
For road scanning, reduce the AP quantity for performing scan channel, reduce the influence to the service experience of wireless network.In addition,
AC determines main scanning AP according to the adjacent AP of each AP, it is ensured that the adjacent AP for the AP that is allowed a choice is including AC is associated, removes
All AP outside selected AP, avoid the problem of appearance scanning covering is not complete.
In one embodiment of the application, the AP information that AP is collected can also include the working channel of neighbor AP.Also
It is to say, AC can also get the working channel that the associated each AP of AC carry out the adjacent AP of collection during scan channel.
In this case, after definite main scanning AP, for each main scanning AP, AC is by the working channel of main scanning AP
It is determined as the main scanning channel of main scanning AP with the working channel of the adjacent AP of main scanning AP.AC is according to identified each
The main scanning channel of main scanning AP, the first scan task for performing scan channel is issued to each main scanning AP.Wherein, first sweep
The task of retouching is used for:Indicate main scanning AP according to long scan main scanning channel during the first default scanning.First default scanning duration with
Predetermined scanning duration of the prior art is identical.
In practical application, the Station in wireless network may be subject to the network attack from each channel.It is but wireless
Station in network is worked on the working channel of AP, therefore wireless network is subject to the network of the working channel from AP
The possibility of attack is far longer than the possibility for being subject to the network attack for coming from other channels.AC only indicates that main scanning AP is scanned
Main scanning channel, it is, the working channel of AC associated APs is only scanned, in the situation for reducing the influence to wireless network security
Under, reduce the influence to the service experience of wireless network.
In one embodiment of the application, AC is swept after the main scanning channel of main scanning AP is determined for each master
AP is retouched, using the channel in addition to the main scanning channel of main scanning AP as auxiliary scanning channel.AC is swept according to identified each master
The scanning channel of AP and auxiliary scanning channel are retouched, AC issues the first scan task for performing scan channel to each main scanning AP.Its
In, the first scan task is used for:Main scanning AP is indicated according to long scan main scanning channel during the first default scanning, it is pre- according to second
If long scan auxiliary scanning channel during scanning, the second default scanning duration is less than the first default scanning duration.
At this time, AC reduces scanning durations of the AP to auxiliary scanning channel, when making AP progress whole scan channels, reduces whole
The duration that scan channel is consumed, this improves wireless network while the influence to the service experience of wireless network is reduced
Security.
In one embodiment of the application, AC can will remove main scanning after definite main scanning AP in the associated AP of AC
AP outside AP is as auxiliary scanning AP.
AC determines the scanning channel of each auxiliary scanning AP.The scanning channel of identified auxiliary scanning AP can be the auxiliary scanning
All channels that AP is supported.AC is issued to each auxiliary scanning AP and held according to the scanning channel of identified each auxiliary scanning AP
Second scan task of row scan channel.Wherein, the second scan task is used for:When indicating auxiliary scanning AP according to the 3rd default scanning
The scanning channel of the auxiliary scanning AP determined by long scan, the 3rd default scanning duration are less than the first default scanning duration.3rd
Default scanning duration can be identical with the second default scanning duration, can not also be same.The embodiment of the present application is to this without limiting.
Auxiliary scanning AP and main scanning AP carries out scan channel, improves susceptibility of the wireless network to attack, ensure that
AC can have found network attack in time, improve wireless network security.Although in the embodiment of the present application, the associated AP of AC into
Scan channel is gone, it is, main scanning AP and auxiliary scanning AP have carried out scan channel.But the 3rd default scanning duration is small
In the first default scanning duration, it is, the 3rd default scanning duration is less than predetermined scanning duration of the prior art.It is each
The duration that auxiliary scanning AP scan channels are consumed is less than the duration that AP scan channels are consumed in the prior art, reduces to wireless
The influence of the service experience of network.
In one embodiment of the application, if the associated AP increases of AC, or the associated AP of AC are reduced, such as AP goes offline,
Or the working channel of the associated AP of AC changes, then AC is issued to the associated each AP of the AC and is performed the first of scan channel again
Beginning scan task, re-executes step 101-105, to adapt to the change of network, avoids the occurrence of the problem of AP scanning coverings are not complete.
With reference to the AP coverage schematic diagrames shown in Fig. 3, to channel scanning method provided by the embodiments of the present application into
Row describes in detail.In Fig. 3, AP1-AP6 is associated with AC0, the work letter that the channel that AP1-AP6 is supported is supported for 2.4G radio frequencies
Road, including the channel that numbering is 1-11.The working channel of AP1 is 1 channel, and the working channel of AP2 is 6 channels, and the work of AP3 is believed
Road is 11 channels, and the working channel of AP4 is 1 channel, and the working channel of AP5 is 11 channels, and the working channel of AP6 is 1 channel.The
One presets a length of T when scanning, and second presets a length of 0.5T when scanning, and the 3rd presets a length of 0.4T when scanning.
1st, AC0 issues preliminary sweep task to AP1-AP6 respectively.
2nd, AP1-AP6 is respectively scanned 1-11 channels according to scanning duration T, collects respective adjacent AP and adjacent AP
Working channel, and be sent to AC0.
As shown in figure 3, adjacent AP and the working channel of adjacent AP that AP1 is collected:{ AP2, working channel are 6 channels } and
{ AP3, working channel are 11 channels };
The adjacent AP and the working channel of adjacent AP that AP2 is collected:{ AP1, working channel are 1 channel } and { AP3, work letter
Road is 11 channels };
The adjacent AP and the working channel of adjacent AP that AP3 is collected:{ AP1, working channel are 1 channel }, { AP2, working channel
For 6 channels } and { AP4, working channel are 1 channel };
The adjacent AP and the working channel of adjacent AP that AP4 is collected:{ AP3, working channel are 11 channels } and { AP5, work letter
Road is 11 channels };
The adjacent AP and the working channel of adjacent AP that AP5 is collected:{ AP4, working channel are 1 channel } and { AP6, work letter
Road is 2 channels };
The adjacent AP and the working channel of adjacent AP that AP6 is collected:{ AP5, working channel are 11 channels }.
3rd, AC0 obtains the working channel of the adjacent AP and adjacent AP of AP1-AP6 transmissions.
4th, all adjacent AP based on selected AP include that the AC is associated, all AP in addition to selected AP, and institute
The quantity of AP is selected to be less than the selection criterion of this main scanning of the quantity of AC0 associated APs AP, AC0 is adjacent according to each AP's of acquisition
AP, selects main scanning AP.For example, have selected AP3 and AP5 as main scanning AP, then swept using AP1, AP2, AP4 and AP6 as auxiliary
Retouch AP.
5th, the AP3 as main scanning AP, its working channel are 11 channels, the working channel of its adjacent AP is 1 and 6 channels.
Main scanning channels of the AC0 using 1,6 and 11 channels as AP3, believes 2,3,4,5,7,8,9 and 10 channels as the auxiliary scanning of AP3
Road.
As the AP5 of main scanning AP, its working channel is 11 channels, the working channel of its adjacent AP is 1 and 2 channels.AC0
Main scanning channel using 1,2 and 11 channels as AP5, the auxiliary scanning channel using 3,4,5,6,7,8,9 and 10 channels as AP5.
6th, AC0 issues scan task 1 to AP3, and scan task 2 is issued to AP5, and scanning is issued to AP1, AP2, AP4 and AP6
Task 3.
Scan task 1 is used to indicate that AP3 is scanned 1,6 and 11 channels according to scanning duration T, according to scanning duration
0.5T is scanned 2,3,4,5,7,8,9 and 10 channels.
Scan task 2 is used to indicate that AP5 is scanned 1,2 and 11 channels according to scanning duration T, according to scanning duration
0.5T is scanned 3,4,5,6,7,8,9 and 10 channels.
Scan task 3 is used to indicate that AP1, AP2, AP4 and AP6 are scanned 1-11 channels according to scanning duration 0.4T.
7th, after AP1-AP6 receives scan task 1 or scan task 2 or scan task 3, scan channel is carried out, collects AP
Information and Station information, and the information of collection is fed back into AC0.
Here, AP1, AP2, AP4 and AP6 carry out when a length of 0.4T*11=4.4T that scan channel is consumed.4.4T<11*
T, the scan efficiency of auxiliary scanning AP are greatly improved, and reduce the influence to the service experience of wireless network.
AP3 carries out when a length of T*3+0.5T* (11-3)=7T that scan channel is consumed.AP5 carries out scan channel and is disappeared
When a length of T*3+0.5T* (11-3)=7T of consumption.7T<11*T, the scan efficiency of main scanning AP are improved, reduce to nothing
The influence of the service experience of gauze network.
8th, when the associated AP of AC are increased or decreased, or when the working channel of the associated AP of AC changes, step is re-executed
Rapid 1-7.
In the embodiment of the present application, AP information can include:Band interference, message transmissions error rate, radio signal quality etc.
Working channel of AP work state informations, neighbor AP and neighbor AP etc..Station information can include the IP of Station
(Internet Protocol, procotol) address, MAC (Media Access Control, media access control) address,
Working channel etc..
Corresponding with channel scanning method embodiment, the embodiment of the present application additionally provides a kind of channel scanning device.Reference chart
4, Fig. 4 be a kind of structure diagram of channel scanning device provided by the embodiments of the present application, and applied to AC, which includes:
First issuance unit 401, the preliminary sweep task of scan channel is performed for being issued to the associated each AP of AC;
Acquiring unit 402, for obtaining the adjacent AP of collection when the associated each AP of AC carry out scan channel;
Selecting unit 403, for the adjacent AP of each AP according to acquisition, at least selects an AP from the associated AP of AC
As main scanning AP;All adjacent AP of selected AP include:AC is associated, all AP, selected AP in addition to selected AP
Quantity be less than AC associated APs quantity;
Determination unit 404, for determining the scanning channel of each main scanning AP;
Second issuance unit 405, for the scanning channel according to identified each main scanning AP, to each main scanning AP
Issue the first scan task for performing scan channel.
In one embodiment of the application, the first issuance unit 401, specifically can be used for:
It is associated each to AC when the associated AP of AC are increased or decreased or the working channel of the associated AP of AC changes
A AP issues the preliminary sweep task for performing scan channel.
In one embodiment of the application, acquiring unit 402, can be also used for the acquisition associated each AP of AC and carries out letter
The working channel for the adjacent AP that road is collected when scanning;
Determination unit 404, specifically can be used for for each main scanning AP, according to the adjacent AP of the main scanning AP of acquisition
Working channel, the working channel of the working channel of main scanning AP and the adjacent AP of main scanning AP is determined as the main scanning
The main scanning channel of AP;
Second issuance unit 405, specifically can be used for the main scanning channel according to identified each main scanning AP, to each
A main scanning AP issues the first scan task for performing scan channel;Wherein, the first scan task is used for:Instruction main scanning AP is pressed
Long scan main scanning channel during according to the first default scanning.
In one embodiment of the application, determination unit 404, can be also used for for each main scanning AP, and will remove should
Channel outside the main scanning channel of main scanning AP is as auxiliary scanning channel;
Second issuance unit 405, specifically can be used for according to the main scanning channel of identified each main scanning AP and auxiliary
Channel is scanned, the first scan task for performing scan channel is issued to each main scanning AP;Wherein, the first scan task is used for:
Main scanning AP is indicated according to long scan main scanning channel during the first default scanning, according to long scan auxiliary scanning during the second default scanning
Channel, the second default scanning duration are less than the first default scanning duration.
In one embodiment of the application, selecting unit 403, can be also used for that main scanning AP will be removed in the associated AP of AC
Outer AP is as auxiliary scanning AP;
Determination unit 404, can be also used for determining the scanning channel of each auxiliary scanning AP;
Second issuance unit 405, can be also used for the scanning channel according to identified each auxiliary scanning AP, to each auxiliary
Scanning AP issues the second scan task for performing scan channel;Second scan task is used for:Indicate that auxiliary scanning AP is pre- according to the 3rd
If the scanning channel of the auxiliary scanning AP determined by long scan during scanning, when the 3rd default scanning duration is less than the first default scanning
It is long.
During the embodiment of the present application provides, AC issues preliminary sweep task to its associated each AP.Each AP is according to initial
Scan task carries out scan channel, obtains adjacent AP, and the adjacent AP of acquisition is sent to AC.AC is adjacent based on each AP's
AP, selects AP to issue the first scanning for performing scan channel to each main scanning AP as main scanning AP from the associated AP of AC
Task.The quantity of AP selected by AC is less than the quantity of AC associated APs, that is, the quantity for carrying out the AP of scan channel is less than AC associated APs
Quantity, all APs associated compared to AC are carried out for scan channel, reduce the AP quantity for performing scan channel, are reduced
Influence to the service experience of wireless network., can be with addition, AC determines main scanning AP according to the adjacent AP of each AP of acquisition
All adjacent AP of AP selected by guarantee include that AC is associated, all AP in addition to selected AP, avoid appearance scanning covering
The problem of incomplete.
Corresponding with channel scanning method embodiment, the embodiment of the present application additionally provides a kind of AC, including processor and machine
Readable storage medium storing program for executing, machinable medium are stored with the machine-executable instruction that can be executed by processor, processor quilt
Machine-executable instruction promotes to realize above-mentioned channel scanning method.
AC as shown in Figure 5, including processor 501 and machinable medium 502, machinable medium 501 are deposited
Contain the machine-executable instruction that can be performed by processor 502.
In addition, as shown in figure 5, AC can also include:Communication interface 503 and communication bus 504;Wherein, processor 501,
Machinable medium 502, communication interface 503 complete mutual communication by communication bus 504, and communication interface 503 is used
Communication between above-mentioned AC and other equipment.
Wherein, machine-executable instruction includes:The 512, acquisition that sends instructions under first instructs 522, selection instruction 532, determines
Send instructions 552 under instruction 542 and second;
Processor 501, which is sent instructions under first, 512 to be promoted to realize:Issued to the associated each AP of AC and perform scan channel
Preliminary sweep task;
Processor 501 is acquired instruction 522 and promotes to realize:Obtain the associated each AP of AC and carry out collection during scan channel
Adjacent AP;
Processor 501 is chosen instruction 532 and promotes to realize:According to the adjacent AP of each AP of acquisition, from the associated AP of AC
In at least select an AP as main scanning AP;All adjacent AP of selected AP include AC it is associated, in addition to selected AP
The quantity of all AP, selected AP are less than the quantity of AC associated APs;
Processor 501 is determined instruction 552 and promotes to realize:Determine the scanning channel of each main scanning AP;
Processor 501, which is sent instructions under second, 552 to be promoted to realize:Believed according to the scanning of identified each main scanning AP
Road, the first scan task for performing scan channel is issued to each main scanning AP.
In one embodiment of the application, processor 501, which is sent instructions under first, 512 to be promoted specifically realize:
It is associated each to AC when the associated AP of AC are increased or decreased or the working channel of the associated AP of AC changes
A AP issues the preliminary sweep task for performing scan channel.
In one embodiment of the application, processor 501 is acquired instruction 522 and promotes to realize:AC is obtained to close
Each AP of connection carries out the working channel of the adjacent AP of collection during scan channel;
Processor 501 is determined instruction 542 and promotes specifically realize:For each main scanning AP, according to being somebody's turn to do for acquisition
The working channel of the adjacent AP of main scanning AP, the work of the working channel of main scanning AP and the adjacent AP of main scanning AP are believed
Road is determined as the main scanning channel of main scanning AP;
Processor 501, which is sent instructions under second, 552 to be promoted specifically realize:According to identified each main scanning AP's
Main scanning channel, the first scan task for performing scan channel is issued to each main scanning AP;First scan task is used for:Instruction
Main scanning AP is according to long scan main scanning channel during the first default scanning.
In one embodiment of the application, processor 501 is determined instruction 542 and promotes to realize:For each
Main scanning AP, using the channel in addition to the main scanning channel of main scanning AP as auxiliary scanning channel;
Processor 501, which is sent instructions under second, 542 to be promoted specifically realize:According to identified each main scanning AP's
Main scanning channel and auxiliary scanning channel, the first scan task for performing scan channel is issued to each main scanning AP;First scanning
Task is used for:Main scanning AP is indicated according to long scan main scanning channel during the first default scanning, according to the second default scanning duration
Auxiliary scanning channel is scanned, the second default scanning duration is less than the first default scanning duration.
In one embodiment of the application, processor 501 is chosen instruction 532 and promotes to realize:AC is associated
AP in AP in addition to main scanning AP as auxiliary scanning AP;
Processor 501 is determined instruction 542 and promotes to realize:Determine the scanning channel of each auxiliary scanning AP;
Processor 501, which is sent instructions under second, 552 to be promoted to realize:According to sweeping for identified each auxiliary scanning AP
Channel is retouched, the second scan task for performing scan channel is issued to each auxiliary scanning AP;Second scan task is used for:Indicate auxiliary sweep
Scanning channels of the AP according to the auxiliary scanning AP determined by long scan during the 3rd default scanning is retouched, the 3rd default scanning duration is less than
First default scanning duration.
In the embodiment of the present application, AC issues preliminary sweep task to its associated each AP.Each AP is according to preliminary sweep
Task carries out scan channel, obtains adjacent AP, and the adjacent AP of acquisition is sent to AC.Adjacent APs of the AC based on each AP, from
AP is selected to issue the first scan task for performing scan channel to each main scanning AP as main scanning AP in the associated AP of AC.
The quantity of AP selected by AC is less than the quantity of AC associated APs, that is, the quantity for carrying out the AP of scan channel is less than the number of AC associated APs
Amount, all APs associated compared to AC are carried out for scan channel, reduce the AP quantity for performing scan channel, are reduced pair
The influence of the service experience of wireless network.In addition, AC determines main scanning AP according to the adjacent AP of each AP of acquisition, it is ensured that
All adjacent AP of selected AP include that AC is associated, all AP in addition to selected AP, and it is incomplete to avoid appearance scanning covering
The problem of.
Communication bus 504 can be PCI (Peripheral Component Interconnect, Peripheral Component Interconnect mark
It is accurate) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus
Deng.The communication bus 504 can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only with one in Fig. 5
Thick line represents, it is not intended that an only bus or a type of bus.
Machinable medium 502 can include RAM (Random Access Memory, random access memory),
It can also include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Separately
Outside, machinable medium 502 can also be at least one storage device for being located remotely from aforementioned processor.
Processor 501 can be general processor, including CPU (Central Processing Unit, central processing
Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing,
Digital signal processor), ASIC (Application Specific Integrated Circuit, application-specific integrated circuit),
It is FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
Corresponding with channel scanning method embodiment, the embodiment of the present application additionally provides a kind of machinable medium, deposits
Machine-executable instruction is contained, when being called and being performed by processor, machine-executable instruction promotes processor to realize above-mentioned letter
Road scan method.
Wherein, machine-executable instruction includes:Send instructions under first, obtain instruction, selection instruction, determine instruction and second
Under send instructions;
When being called and being performed by processor, send instructions under first and promote processor to realize:To under the associated each AP of AC
Hair performs the preliminary sweep task of scan channel;
When being called and being performed by processor, obtain instruction and promote processor to realize:The associated each AP of AC are obtained to carry out
The adjacent AP collected during scan channel;
When being called and being performed by processor, selection instruction promotes processor to realize:According to the adjacent of each AP of acquisition
AP, at least selects an AP as main scanning AP from the associated AP of AC;All adjacent AP of selected AP include:AC is associated
, the quantity of all AP in addition to selected AP, selected AP be less than the quantity of AC associated APs;
When being called and being performed by processor, determine instruction promotes processor to be implemented:Determine sweeping for each main scanning AP
Retouch channel;
When being called and being performed by processor, send instructions under second and promote processor to be implemented:According to identified each
The scanning channel of main scanning AP, the first scan task for performing scan channel is issued to each main scanning AP.
In one embodiment of the application, when being called and being performed by processor, send instructions under first and promote processor
It can specifically realize:
It is associated each to AC when the associated AP of AC are increased or decreased or the working channel of the associated AP of AC changes
A AP issues the preliminary sweep task for performing scan channel.
In one embodiment of the application, when being called and being performed by processor, obtain instruction and promote processor may be used also
To realize:Obtain the working channel that the associated each AP of AC carry out the adjacent AP of collection during scan channel;
When being called and being performed by processor, determine instruction promotes processing implement body to realize:For each main scanning
AP, according to the working channel of the adjacent AP of the main scanning AP of acquisition, by the working channel of main scanning AP and main scanning AP
The working channel of adjacent AP be determined as the main scanning channel of main scanning AP;
When being called and being performed by processor, send instructions under second and promote processing implement body to realize:According to determining
Each main scanning AP main scanning channel, to each main scanning AP issue perform scan channel the first scan task;First
Scan task is used for:Indicate main scanning AP according to long scan main scanning channel during the first default scanning.
In one embodiment of the application, when being called and being performed by processor, determine instruction promotes processor may be used also
To realize:For each main scanning AP, using the channel in addition to the main scanning channel of main scanning AP as auxiliary scanning channel;
When being called and being performed by processor, send instructions under second and promote processing implement body to realize:According to determining
Each main scanning AP main scanning channel and auxiliary scanning channel, issued to each main scanning AP and perform first sweeping for scan channel
Retouch task;First scan task is used for:Main scanning AP is indicated according to long scan main scanning channel during the first default scanning, according to the
Long scan auxiliary scanning channel during two default scanning, the second default scanning duration are less than the first default scanning duration.
In one embodiment of the application, when being called and being performed by processor, selection instruction promotes processor to be gone back
It can realize:Using the AP in the associated AP of AC in addition to main scanning AP as auxiliary scanning AP;
When being called and being performed by processor, determine instruction promotes processor to be realized:Determine each auxiliary scanning
The scanning channel of AP;
When being called and being performed by processor, send instructions under second and promote processor to realize:According to identified
The scanning channel of each auxiliary scanning AP, the second scan task for performing scan channel is issued to each auxiliary scanning AP;Second scanning
Task is used for:Indicate scanning channels of the auxiliary scanning AP according to the auxiliary scanning AP determined by long scan during the 3rd default scanning, the
Three default scanning durations are less than the first default scanning duration.
In the embodiment of the present application, AC issues preliminary sweep task to its associated each AP.Each AP is according to preliminary sweep
Task carries out scan channel, obtains adjacent AP, and the adjacent AP of acquisition is sent to AC.Adjacent APs of the AC based on each AP, from
AP is selected to issue the first scan task for performing scan channel to each main scanning AP as main scanning AP in the associated AP of AC.
The quantity of AP selected by AC is less than the quantity of AC associated APs, that is, the quantity for carrying out the AP of scan channel is less than the number of AC associated APs
Amount, all APs associated compared to AC are carried out for scan channel, reduce the AP quantity for performing scan channel, are reduced pair
The influence of the service experience of wireless network.In addition, AC determines main scanning AP according to the adjacent AP of each AP of acquisition, it is ensured that
All adjacent AP of selected AP include that AC is associated, all AP in addition to selected AP, and it is incomplete to avoid appearance scanning covering
The problem of.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Swept especially for channel
For imaging apparatus, AC, machinable medium embodiment, since it is substantially similar to channel scanning method embodiment, so
What is described is fairly simple, and related part illustrates referring to the part of channel scanning method embodiment.
The foregoing is merely the preferred embodiment of the application, the protection domain of the application is not intended to limit.It is all
Any modification, equivalent replacement, improvement and so within spirit herein and principle, are all contained in the protection domain of the application
It is interior.
Claims (12)
- A kind of 1. channel scanning method, it is characterised in that applied to access controller AC, the described method includes:The preliminary sweep task for performing scan channel is issued to the associated each access point AP of the AC;Obtain the adjacent AP that the associated each AP of the AC carry out collection during scan channel;According to the adjacent AP of each AP of acquisition, an AP is at least selected from the associated AP of the AC as main scanning AP;Institute All adjacent AP of selection AP include:The AC is associated, the quantity of all AP in addition to selected AP, selected AP are less than institute State the quantity of AC associated APs;Determine the scanning channel of each main scanning AP;According to the scanning channel of identified each main scanning AP, issue execution scan channel to each main scanning AP first is swept Retouch task.
- 2. according to the method described in claim 1, it is characterized in that, described issue execution channel to the associated each AP of the AC The preliminary sweep task of scanning, specifically includes:When the associated AP of the AC are increased or decreased or the working channel of the associated AP of the AC changes, to the AC Associated each AP issues the preliminary sweep task for performing scan channel.
- 3. according to the method described in claim 1, it is characterized in that, the method further includes:Obtain the working channel that the associated each AP of the AC carry out the adjacent AP of collection during scan channel;The scanning channel for determining each main scanning AP, specifically includes:For each main scanning AP, according to the working channel of the adjacent AP of the main scanning AP of acquisition, by the work of main scanning AP The working channel for making the adjacent AP of channel and main scanning AP is determined as the main scanning channel of main scanning AP;The scanning channel of each main scanning AP determined by the basis, issues to each main scanning AP and performs the of scan channel One scan task, specifically includes:According to the main scanning channel of identified each main scanning AP, issued to each main scanning AP and perform the first of scan channel Scan task;First scan task is used for:Indicate main scanning AP according to long scan main scanning channel during the first default scanning.
- 4. according to the method described in claim 3, it is characterized in that, the method further includes:For each main scanning AP, using the channel in addition to the main scanning channel of main scanning AP as auxiliary scanning channel;The main scanning channel of each main scanning AP determined by the basis, issues to each main scanning AP and performs scan channel First scan task, specifically includes:According to the main scanning channel of identified each main scanning AP and auxiliary scanning channel, issued to each main scanning AP and perform letter First scan task of road scanning;First scan task is used for:Instruction main scanning AP is swept according to the first default scanning duration Main scanning channel is retouched, according to long scan auxiliary scanning channel during the second default scanning, the described second default scanning duration is less than described First default scanning duration.
- 5. the method according to claim 3 or 4, it is characterised in that according to the adjacent AP of each AP of acquisition, from the AC After an AP is at least selected in associated AP as main scanning AP, the method further includes:Using the AP in the associated AP of the AC in addition to main scanning AP as auxiliary scanning AP;Determine the scanning channel of each auxiliary scanning AP;According to the scanning channel of identified each auxiliary scanning AP, issue execution scan channel to each auxiliary scanning AP second is swept Retouch task;Second scan task is used for:Indicate that this is auxiliary determined by long scan when auxiliary scanning AP presets scanning according to the 3rd The scanning channel of AP is scanned, the described 3rd default scanning duration is less than the described first default scanning duration.
- 6. a kind of channel scanning device, it is characterised in that applied to access controller AC, described device includes:First issuance unit, the preliminary sweep that scan channel is performed for being issued to the associated each access point AP of the AC are appointed Business;Acquiring unit, for obtaining the adjacent AP of collection when the associated each AP of the AC carry out scan channel;Selecting unit, for the adjacent AP of each AP according to acquisition, at least selects an AP to make from the associated AP of the AC For main scanning AP;All adjacent AP of selected AP include:The AC is associated, all AP in addition to selected AP, selected The quantity of AP is less than the quantity of the AC associated APs;Determination unit, for determining the scanning channel of each main scanning AP;Second issuance unit, for the scanning channel according to identified each main scanning AP, issues to each main scanning AP and holds First scan task of row scan channel.
- 7. device according to claim 6, it is characterised in that first issuance unit, is specifically used for:When the associated AP of the AC are increased or decreased or the working channel of the associated AP of the AC changes, to the AC Associated each AP issues the preliminary sweep task for performing scan channel.
- 8. device according to claim 6, it is characterised in that the acquiring unit, is additionally operable to obtain the AC associated Each AP carries out the working channel of the adjacent AP of collection during scan channel;The determination unit, specifically for for each main scanning AP, according to the work of the adjacent AP of the main scanning AP of acquisition The working channel of the working channel of main scanning AP and the adjacent AP of main scanning AP, is determined as the master of main scanning AP by channel Scan channel;Second issuance unit, specifically for the main scanning channel according to identified each main scanning AP, sweeps to each master Retouch AP and issue the first scan task for performing scan channel;First scan task is used for:Indicate main scanning AP according to first Long scan main scanning channel during default scanning.
- 9. device according to claim 8, it is characterised in that the determination unit, is additionally operable to for each main scanning AP, Using the channel in addition to the main scanning channel of main scanning AP as auxiliary scanning channel;Second issuance unit, believes specifically for the main scanning channel according to identified each main scanning AP and auxiliary scanning Road, the first scan task for performing scan channel is issued to each main scanning AP;First scan task is used for:Instruction master sweeps AP is retouched according to long scan main scanning channel during the first default scanning, according to long scan auxiliary scanning channel during the second default scanning, institute State the second default scanning duration and be less than the described first default scanning duration.
- 10. device according to claim 8 or claim 9, it is characterised in that the selecting unit, is additionally operable to associate the AC AP in AP in addition to main scanning AP as auxiliary scanning AP;The determination unit, is additionally operable to determine the scanning channel of each auxiliary scanning AP;Second issuance unit, is additionally operable to the scanning channel according to identified each auxiliary scanning AP, to each auxiliary scanning AP Issue the second scan task for performing scan channel;Second scan task is used for:Indicate that auxiliary scanning AP is default according to the 3rd The scanning channel of the auxiliary scanning AP determined by long scan during scanning, it is default that the described 3rd default scanning duration is less than described first Scan duration.
- 11. a kind of access controller AC, it is characterised in that described machine readable including processor and machinable medium Storage medium is stored with the machine-executable instruction that can be performed by the processor, and the processor can perform by the machine Instruction promotes:Realize any method and steps of claim 1-5.
- A kind of 12. machinable medium, it is characterised in that be stored with machine-executable instruction, by processor call and During execution, the machine-executable instruction promotes the processor:Realize any method and steps of claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711384821.XA CN108039930B (en) | 2017-12-20 | 2017-12-20 | Channel scanning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711384821.XA CN108039930B (en) | 2017-12-20 | 2017-12-20 | Channel scanning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108039930A true CN108039930A (en) | 2018-05-15 |
CN108039930B CN108039930B (en) | 2020-12-18 |
Family
ID=62100108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711384821.XA Active CN108039930B (en) | 2017-12-20 | 2017-12-20 | Channel scanning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108039930B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924815A (en) * | 2018-06-20 | 2018-11-30 | 普联技术有限公司 | A kind of wireless roaming method and system |
CN109982447A (en) * | 2019-03-07 | 2019-07-05 | 烽火通信科技股份有限公司 | A kind of networking method of wireless network, system and wireless aps |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026670A (en) * | 2006-02-17 | 2007-08-29 | 明基电通股份有限公司 | Prescan device and method |
CN101123552A (en) * | 2007-09-20 | 2008-02-13 | 杭州华三通信技术有限公司 | An access point and wireless scanning method for this access point |
CN102404826A (en) * | 2011-12-13 | 2012-04-04 | 杭州华三通信技术有限公司 | Channel scanning method and equipment |
CN102457942A (en) * | 2010-10-29 | 2012-05-16 | 中兴通讯股份有限公司 | Method and system for scanning channel in wireless network |
-
2017
- 2017-12-20 CN CN201711384821.XA patent/CN108039930B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026670A (en) * | 2006-02-17 | 2007-08-29 | 明基电通股份有限公司 | Prescan device and method |
CN101123552A (en) * | 2007-09-20 | 2008-02-13 | 杭州华三通信技术有限公司 | An access point and wireless scanning method for this access point |
CN102457942A (en) * | 2010-10-29 | 2012-05-16 | 中兴通讯股份有限公司 | Method and system for scanning channel in wireless network |
CN102404826A (en) * | 2011-12-13 | 2012-04-04 | 杭州华三通信技术有限公司 | Channel scanning method and equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924815A (en) * | 2018-06-20 | 2018-11-30 | 普联技术有限公司 | A kind of wireless roaming method and system |
CN109982447A (en) * | 2019-03-07 | 2019-07-05 | 烽火通信科技股份有限公司 | A kind of networking method of wireless network, system and wireless aps |
Also Published As
Publication number | Publication date |
---|---|
CN108039930B (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105282747B (en) | System and method for selecting the radio network information channel of wireless network connection device | |
CN103181209B (en) | Method and apparatus for limiting the report of neighbor cell measurement | |
US10219203B2 (en) | Wireless local area network scanning method and wireless access point | |
CN105357712B (en) | Multinode scan channel and distribution method in a kind of wireless network | |
CN108988979B (en) | Full-band frequency sweeping method and device and small base station | |
CN106455040A (en) | Information transmission method, base station and terminal | |
WO2016110046A1 (en) | Method and apparatus for reducing radar jamming | |
JP6498776B2 (en) | Method and apparatus for indicating base station capability | |
WO2016062094A1 (en) | Terminal measurement event configuration method and apparatus | |
CN104365146B (en) | Cell selecting method, user equipment and base station | |
CN109617637A (en) | A kind of information processing method and device | |
CN108039930A (en) | A kind of channel scanning method and device | |
US20140120837A1 (en) | Wifi direct setup using out of band signaling | |
CN108924815A (en) | A kind of wireless roaming method and system | |
CN109429297A (en) | The control method of wireless communication device, wireless communication device | |
CN104901724B (en) | A kind of data transmission method | |
KR101974765B1 (en) | Method, system and computer program product for managing the operation of a wireless access point | |
CN108243484A (en) | Cut-in method, access point AP and site STA in WLAN | |
CN107580318A (en) | Method and system for selecting communication interface for executing specific function | |
CN109150336B (en) | Method and device for establishing Zigbee network | |
CN103152801B (en) | The method and apparatus being connected is set up with wireless access device | |
CN105813171B (en) | A kind of intersection services set scan method and system and mobile terminal | |
CN105264828A (en) | Channel scan method and apparatus | |
CN103763756B (en) | A kind of Femtocell quick start method | |
CN105636092B (en) | Channel bands selection method, information processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |