CN104640147B - A kind of selection method and equipment of working channel - Google Patents

A kind of selection method and equipment of working channel Download PDF

Info

Publication number
CN104640147B
CN104640147B CN201510044387.5A CN201510044387A CN104640147B CN 104640147 B CN104640147 B CN 104640147B CN 201510044387 A CN201510044387 A CN 201510044387A CN 104640147 B CN104640147 B CN 104640147B
Authority
CN
China
Prior art keywords
channel
channel quality
itself
quality reporting
mesh network
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.)
Active
Application number
CN201510044387.5A
Other languages
Chinese (zh)
Other versions
CN104640147A (en
Inventor
李明金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510044387.5A priority Critical patent/CN104640147B/en
Publication of CN104640147A publication Critical patent/CN104640147A/en
Application granted granted Critical
Publication of CN104640147B publication Critical patent/CN104640147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Abstract

The invention discloses a kind of selection method of working channel and equipment, this method comprises: AP generates channel quality reporting according to the equipment of itself information of themselves capture and the channel information monitored of itself eating dishes without rice or wine;Other APs of the AP into MESH network send the channel quality reporting of itself generation, and receive and store the channel quality reporting generated from other AP;The channel quality reporting that AP is generated using the channel quality reporting and the other AP that itself generate, judge itself whether be the MESH network decision AP;If so, the channel quality reporting that AP is generated using the channel quality reporting and other AP that itself generate, selects the working channel of the MESH network.The problem of embodiment of the present invention can not only be decreased obviously to avoid MESH network communication quality can also avoid the problems such as working channel of MESH network is in concussion state, channel can not be stablized.

Description

A kind of selection method and equipment of working channel
Technical field
The present invention relates to fields of communication technology, more particularly, to the selection method and equipment of a kind of working channel.
Background technique
In traditional WLAN (Wireless Local Area Networks, WLAN), AP (Access Point, access point) between by wired connection, this wired connection mode causes AP not have mobility, limits wireless Freedom.In order to solve this problem, MESH (wireless mesh) network has been derived.As shown in Figure 1, being the networking of MESH network Schematic diagram passes through MESH link connection between adjacent AP.
In MESH network, the working channel of MESH network in order to obtain, each AP by the monitoring to periphery wireless environment, Working channel of the preferable channel of communication quality as MESH network is selected, and channel is initiated to entire MESH network and is cut It changes, the channel of MESH network is integrally switched on the working channel.Since each AP is based on itself to periphery wireless environment Monitoring selection MESH network working channel, not consider entire MESH network wireless environment, this is easy for occurring The problems such as MESH network communication quality is decreased obviously, channel is in concussion state, channel can not be stablized.
For example, AP2 nearby has letter as illustrated in fig. 2, it is assumed that AP1 nearby has the interference source of channel 1 and the interference source of channel 6 The interference source in road 1 and the interference source of channel 11.In some channel guard phase time-out, it is dry that AP1 has found that channel 1 and channel 6 exist It disturbs, selects channel 11 as the working channel of MESH network, and the channel of MESH network is integrally switched on the channel 11 (i.e. AP1 and AP2 is switched on channel 11 and works).Subsequent, AP2 has found that channel 1 and channel 11 have interference, select channel 6 as The working channel of MESH network, but lead to handover failure due within next channel guard phase, until next channel is protected Just successfully the channel of MESH network is integrally switched on the channel 6 when shield phase time-out.Like this, the channel of MESH network is not Break and switched between channel 11 and channel 6, so that the working channel of entire MESH network is in concussion state, Wu Fawen It is fixed.Moreover, AP1 will receive strong interference when channel 6 works, AP1's when the working channel of MESH network is channel 6 Communication quality will be decreased obviously.When the working channel of MESH network is channel 11, AP2 will receive strong when channel 11 works Interference, the communication quality of AP2 will be decreased obviously.
Summary of the invention
The embodiment of the present invention provides a kind of selection method of working channel, the described method comprises the following steps: MESH network In AP according to the equipment of itself information of themselves capture and itself eat dishes without rice or wine the channel information monitored generate channel quality reporting;Institute It states other APs of the AP into the MESH network and sends the channel quality reporting of itself generation, and receive and store and come from other AP The channel quality reporting of generation;The channel matter that the AP is generated using the channel quality reporting and other AP that itself generate Amount report, judge itself whether be the MESH network decision AP;If it is, the channel matter that the AP utilizes itself to generate The channel quality reporting that amount report and other AP are generated, selects the working channel of the MESH network.
The method further includes: the AP starts channel quality detection timer after the channel guard phase terminates, Start to collect itself facility information and the channel information monitored of itself eating dishes without rice or wine;
Other APs of the AP into the MESH network send the channel quality reporting of itself generation, specifically include: institute State AP the channel quality detection timer expiry or receive from other AP generate channel quality reporting when, execute to Other AP send the step of channel quality reporting of itself generation;
After other AP of the AP into the MESH network send the channel quality reporting of itself generation, further wrap Include: starting channel reporting summarizes timer;
The channel quality reporting that the AP is generated using the channel quality reporting and other AP that itself generate, judgement Itself whether be the MESH network decision AP, specifically include: the AP the channel reporting summarize timer expiry or When person is received from the channel switch request of other AP, the channel quality reporting and other AP generated using itself is executed The channel quality reporting of generation judges the step of whether itself is the decision AP of the MESH network.
The AP generates channel matter according to the equipment of itself information of themselves capture and the channel information monitored of itself eating dishes without rice or wine Amount report, specifically includes: the AP according to the interference information for the channel for itself eating dishes without rice or wine to monitor, noise information, wrong package informatin and One of in load information or any combination monitors the channel progress channel quality assessment monitored The assessed value of channel;
The AP by itself CPU mean load value of themselves capture, own MAC address, eat dishes without rice or wine the channel monitored and its Content of the assessed value as channel quality reporting.
The channel quality reporting that the AP is generated using the channel quality reporting and other AP that itself generate, judgement Itself whether be the MESH network decision AP, specifically include:
The AP compares the CPU mean load value in the channel quality reporting of itself generation and the channel matter of other AP generation CPU mean load value in amount report;If the AP compares itself CPU mean load value, the CPU less than other AP is average Load value, then determine itself be the MESH network decision AP;It is greater than if the AP compares itself CPU mean load value The CPU mean load value of other AP, then determining itself not is the decision AP of the MESH network;If the AP compares itself CPU mean load value is equal to the CPU mean load value of other AP, then the AP compares in the channel quality reporting of itself generation The MAC Address in channel quality reporting that MAC Address and other AP are generated;If the AP compares own MAC address Greater than the MAC Address of other AP, then determine itself be the MESH network decision AP;If the AP compares self MAC Address is less than the MAC Address of other AP, then determining itself not is the decision AP of the MESH network.
The content for the channel quality reporting that the channel quality reporting and other AP that the AP is generated generate further includes One random factor for being generated and being added when sending the channel quality reporting of each self-generating by respective AP;The AP is utilized The channel quality reporting that the channel quality reporting and other AP that itself is generated generate, judges whether itself is the MESH The decision AP of network, specifically includes:
The AP compares the CPU mean load value in the channel quality reporting of itself generation and the channel matter of other AP generation CPU mean load value in amount report;If the AP compares itself CPU mean load value, the CPU less than other AP is average Load value, then determine itself be the MESH network decision AP;It is greater than if the AP compares itself CPU mean load value The CPU mean load value of other AP, then determining itself not is the decision AP of the MESH network;If the AP compares itself CPU mean load value is equal to the CPU mean load value of other AP, then the AP compares in the channel quality reporting of itself generation The random factor in channel quality reporting that random factor and other AP are generated;If the AP compares the random of itself The factor be greater than other AP random factor, then determine itself be the MESH network decision AP;If the AP relatively comes from The random factor of body is less than the random factor of other AP, then determining itself not is the decision AP of the MESH network;If described The random factor that AP compares itself is equal to the random factor of other AP, then the AP compares the channel quality reporting of itself generation In the channel quality reporting that generates of MAC Address and the other AP in MAC Address;If the AP compares self MAC Address be greater than other AP MAC Address, then determine itself be the MESH network decision AP;If the AP compares itself MAC Address is less than the MAC Address of other AP, then determining itself not is the decision AP of the MESH network.
The channel quality reporting that the AP is generated using the channel quality reporting and other AP that itself generate, selection The working channel of the MESH network, specifically includes:
Step A, the described AP is from the channel quality reporting that the channel quality reporting that itself is generated and other AP are generated The assessed value of each channel is obtained, and calculates the assessment average value of each channel, executes step B;
Step B, the assessment average value of described more each channel of AP;If the AP compares maximum flat with secondary big assessment Difference between mean value is greater than preset calculating threshold values, then the corresponding channel of maximum assessment average value is added to alternative channel List, and execute step F;If the AP compares the difference between maximum and secondary big assessment average value no more than the meter Threshold values is calculated, C is thened follow the steps;
Step C, the difference between the described AP selection assessment average value and maximum assessment average value is not more than the calculating The corresponding channel of threshold values, and execute step D;
Step D, the described AP is according to each channel selected and the assessed value of the corresponding channel of maximum assessment average value, meter The variance yields of each channel and the corresponding channel of maximum assessment average value selected, and execute step E;
Step E, the variance yields of each channel and the corresponding channel of maximum assessment average value that the described AP is relatively selected;Such as There are a smallest variance yields for fruit, then the corresponding channel of the smallest variance yields is added to alternative channel list by the AP, and Execute step F;If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is not Together, then AP selection assessment maximum channel of average value from the corresponding channel of multiple the smallest variance yields is added to alternative letter Road list, and execute step F;If there is multiple the smallest variance yields, and multiple corresponding channels of the smallest variance yields are commented It is identical to estimate average value, then the corresponding channel of multiple the smallest variance yields is added to alternative channel list, and execute step F;
Step F, the described AP obtains the working channel being being currently used;
If the working channel being being currently used described in existing in the alternative channel list, the AP work as by described in Working channel of the preceding working channel currently in use as the MESH network;If institute is not present in the alternative channel list State the working channel being being currently used, then the AP obtain described in the assessment average value of working channel that is being currently used with And variance yields;If the difference between the assessment average value obtained and the assessment average value of the channel in the alternative channel list Respectively less than preset first switching threshold values, and between the variance yields of the variance yields and the channel in the alternative channel list obtained Difference be respectively less than it is preset second switching threshold values, then the AP is using the working channel being being currently used as described in The working channel of MESH network;Otherwise, the AP selects a channel as the MESH net out of described alternative channel list The working channel of network.
The embodiment of the present invention provides the AP in a kind of MESH network, and the AP is specifically included:
Generation module, the AP facility information and the AP for being collected according to the AP eat dishes without rice or wine the channel monitored letter Breath generates channel quality reporting;
Communication module sends the channel quality reporting that the AP is generated for other AP into the MESH network, and Receive and store the channel quality reporting generated from other AP;
Judgment module, the channel quality that channel quality reporting and other AP for being generated using the AP are generated Report, judge the AP whether be the MESH network decision AP;
Selecting module, for when the judgment result is yes, using the AP channel quality reporting generated and it is described its The channel quality reporting that its AP is generated, selects the working channel of the MESH network.
The generation module is also used to after the channel guard phase terminates, and is started channel quality detection timer, is started to receive Collect the AP facility information and the AP eats dishes without rice or wine the channel information monitored;
The communication module, specifically in the channel quality detection timer expiry or receiving raw from other AP At channel quality reporting when, execute the step of sending the channel quality reporting that the AP is generated to other AP;
The communication module is also used to send the channel quality that the AP is generated in other AP into the MESH network After report, starting channel reporting summarizes timer;
The judgment module, specifically for summarizing timer expiry in the channel reporting or receiving from other AP's When channel switch request, the channel quality report generated using the AP channel quality reporting generated and other AP is executed It accuses, the step of whether AP is the decision AP of the MESH network is judged.
The generation module, specifically for the interference information for the channel for eating dishes without rice or wine to monitor according to the AP, noise information, mistake One of in package informatin and load information or any combination obtains the channel progress channel quality assessment monitored The assessed value of the channel monitored;
By the CPU mean load value of the AP AP collected, the MAC Address of the AP, the channel monitored of eating dishes without rice or wine And its content of the assessed value as channel quality reporting.
The judgment module, specifically for the AP generate channel quality reporting in CPU mean load value with The CPU mean load value in channel quality reporting that other AP are generated;If the CPU mean load value for comparing the AP is less than The CPU mean load value of other AP then determines that the AP is the decision AP of the MESH network;If comparing the AP's CPU mean load value is greater than the CPU mean load value of other AP, then determining the AP not is the decision AP of the MESH network; If the CPU mean load value for comparing the AP is equal to the CPU mean load value of other AP, the letter that the AP is generated The MAC Address in channel quality reporting that MAC Address and other AP in road quality report generate;If compared described The MAC Address of AP is greater than the MAC Address of other AP, then determines that the AP is the decision AP of the MESH network;If compared The MAC Address of the AP is less than the MAC Address of other AP, then determining the AP not is the decision AP of the MESH network.
The content for the channel quality reporting that the channel quality reporting and other AP that the AP is generated generate further includes One random factor for being generated and being added when sending the channel quality reporting of each self-generating by respective AP;The judgement mould Block, the channel matter of the CPU mean load value in channel quality reporting generated specifically for the AP and other AP generation CPU mean load value in amount report;If CPU of the CPU mean load value less than other AP for comparing the AP is averagely negative Load value then determines that the AP is the decision AP of the MESH network;If the CPU mean load value for comparing the AP is greater than it The CPU mean load value of its AP, then determining the AP not is the decision AP of the MESH network;Come from the AP's if compared Body CPU mean load value is equal to the CPU mean load value of other AP, then in the channel quality reporting that the AP is generated with The random factor in channel quality reporting that the machine factor and other AP are generated;If the random factor for comparing the AP is big In the random factor of other AP, then determine that the AP is the decision AP of the MESH network;If comparing the random of the AP The factor is less than the random factor of other AP, then determining the AP not is the decision AP of the MESH network;If compared described The random factor of AP is equal to the random factor of other AP, then the AP is generated in channel quality reporting MAC Address and The MAC Address in channel quality reporting that other AP are generated;If comparing the MAC Address of the AP greater than other AP's MAC Address then determines that the AP is the decision AP of the MESH network;If the MAC Address for comparing the AP is less than other The MAC Address of AP, then determining the AP not is the decision AP of the MESH network.
The selecting module, specifically for selecting the working channel of the MESH network as follows:
Step A, it is obtained from the channel quality reporting that the AP channel quality reporting generated and other AP are generated The assessed value of each channel, and the assessment average value of each channel is calculated, execute step B;
Step B, the assessment average value of each channel of comparison;If comparing the difference between maximum and secondary big assessment average value Value is greater than preset calculating threshold values, then the corresponding channel of maximum assessment average value is added to alternative channel list, and execute Step F;If comparing the difference between maximum and secondary big assessment average value no more than the calculating threshold values, then follow the steps C;
Step C, the difference between selection assessment average value and maximum assessment average value is not more than the calculating threshold values pair The channel answered, and execute step D;
Step D, according to the assessed value of each channel and the corresponding channel of maximum assessment average value selected, selection is calculated The variance yields of each channel and the corresponding channel of maximum assessment average value out, and execute step E;
Step E, compare the variance yields of each channel selected and the corresponding channel of maximum assessment average value;If there is The corresponding channel of the smallest variance yields is then added to alternative channel list, and executes step F by one the smallest variance yields;Such as There are multiple the smallest variance yields for fruit, and the assessment average value of the corresponding channel of multiple the smallest variance yields is different, then from multiple The selection assessment maximum channel of average value is added to alternative channel list in the corresponding channel of the smallest variance yields, and executes step F;If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is identical, then will The corresponding channel of multiple the smallest variance yields is added to alternative channel list, and executes step F;
Step F, the working channel being being currently used is obtained;If in the alternative channel list there are it is described it is current just In the working channel used, then using the working channel being being currently used as the working channel of the MESH network;Such as There is no the working channel being being currently used in alternative channel list described in fruit, then it is being currently used described in acquisition The assessment average value and variance yields of working channel;If the channel in the assessment average value obtained and the alternative channel list Assessment average value between difference be respectively less than preset first switching threshold values, and the variance yields obtained and the alternative channel arrange Difference between the variance yields of channel in table is respectively less than preset second switching threshold values, then by the work being being currently used Make working channel of the channel as the MESH network;Otherwise, select a channel as institute out of described alternative channel list State the working channel of MESH network.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, in MESH network, decision AP can comprehensively consider entirely The working channel for the channel quality reporting selection MESH network that each AP of MESH network is generated, can be selected by a decision AP The working channel of MESH network, rather than the work of MESH network is selected based on itself the monitoring of periphery wireless environment by each AP The problem of making channel, being not only decreased obviously to avoid MESH network communication quality can also avoid the work of MESH network from believing The problems such as road is in concussion state, channel can not be stablized, the efficient communication for MESH link provides guaranteed reliability.
Detailed description of the invention
Fig. 1 is the networking schematic diagram of the MESH network proposed in the prior art;
Fig. 2 is the channel disturbance schematic diagram of the MESH network proposed in the prior art;
Fig. 3 is the application scenarios schematic diagram of the MESH network proposed in the embodiment of the present invention;
Fig. 4 is a kind of selection method flow diagram of the working channel proposed in the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the AP proposed in the embodiment of the present invention a kind of.
Specific embodiment
Aiming at the problems existing in the prior art, the embodiment of the present invention provides a kind of selection method of working channel, the party Method is applied in the MESH network including multiple AP, using Fig. 3 as the application scenarios schematic diagram of the embodiment of the present invention, the MESH network In include AP1, AP2, AP3 and AP4.Based on above-mentioned application scenarios, as shown in figure 4, the selection method of the working channel specifically may be used With the following steps are included:
Step 401, AP generates letter according to the equipment of itself information of themselves capture and the channel information monitored of itself eating dishes without rice or wine Road quality report.
Step 402, other APs of the AP into MESH network send the channel quality reporting of itself generation, and receive and store The channel quality reporting generated from other AP.
In the embodiment of the present invention, AP starts channel quality detection timer, starts to collect after the channel guard phase terminates Equipment of itself information and the channel information monitored of itself eating dishes without rice or wine.
Further, other APs of the AP into MESH network send the channel quality reporting of itself generation, specifically include: AP Channel quality detection timer expiry or receive from other AP generate channel quality reporting when, execute to other AP send out The step of channel quality reporting for giving itself to generate.
Further, after other AP of the AP into MESH network send the channel quality reporting of itself generation, starting Channel reporting summarizes timer.
Wherein, it in order to keep the stability of MESH network, improves network quality, whenever MESH network carries out one action letter After the adjustment in road, the channel guard of some cycles will do it, which is known as the channel guard phase.In the channel guard phase Interior, no longer progress channel adjustment can carry out channel adjustment only after being more than the channel guard phase.Based on this, AP exists After the channel guard phase terminates, just start channel quality detection timer, and start to collect itself facility information and itself eats dishes without rice or wine The channel information monitored.
Since the time-out time of the channel quality detection timer of each AP may be inconsistent, each AP can be in channel matter When amount detects timer expiry or receives from the channel quality reporting that other AP are generated, send what itself was generated to other AP Channel quality reporting.Assuming that first time-out of the channel quality detection timer of AP1, then the channel quality report that AP1 generates AP1 It accuses and gives AP2 and AP4, the AP1 channel quality reporting generated is sent to AP3 by AP2.AP2 is being received from other AP generation Channel quality reporting when, by AP2 generate channel quality reporting be sent to AP1 and AP3, the channel quality that AP1 generates AP2 Report is sent to AP4.AP4 is when receiving from the channel quality reporting that other AP are generated, by the channel quality reporting of AP4 generation It is sent to AP1, the AP4 channel quality reporting generated is sent to AP2 by AP1, and the channel quality reporting that AP2 generates AP4 is sent To AP3.The AP3 channel quality reporting generated is sent to by AP3 when receiving from the channel quality reporting that other AP are generated The AP3 channel quality reporting generated is sent to AP1 by AP2, AP2, and the AP3 channel quality reporting generated is sent to AP4 by AP1.
By above-mentioned processing, AP1, AP2, AP3, AP4 can store the channel quality reporting of AP1 generation, AP2 is generated The channel quality reporting of channel quality reporting, AP4 generation that channel quality reporting, AP3 are generated.So far, each AP has MESH net The channel quality reporting that all AP of network are generated.
In the embodiment of the present invention, the content of channel quality reporting is specifically including but not limited to: CPU (Central Processing Unit, central processing unit) mean load value, MAC (Media Access Control, medium access control) Address, the eat dishes without rice or wine channel monitored and its assessed value.Specifically, AP according to the equipment of itself information of themselves capture and itself eats dishes without rice or wine The channel information monitored generates channel quality reporting, specifically includes: AP believes according to the interference for the channel for itself eating dishes without rice or wine to monitor One of in breath, noise information, wrong package informatin and load information or any combination, channel is carried out to the channel monitored Quality evaluation, the assessed value of the channel monitored;AP is by itself CPU mean load value of themselves capture, self MAC The channel monitored is eated dishes without rice or wine and its assessed value (this two parts content can be presented in the form of a list) is used as channel quality report in location The content of announcement.
It should be noted that a communication quality preferably working channel can be selected for MESH network in order to subsequent, AP preferentially select above-mentioned interference information, noise information, wrong package informatin and this four parameters of load information to the channel monitored into Row channel quality assessment.
It obtains for example, AP passes through monitoring of itself eating dishes without rice or wine from the interference information under channel 1, channel 6 and channel 11, noise Information, wrong package informatin, load information;It is then possible to carry out channel to channel 1, channel 6 and channel 11 respectively with reference to following factor Quality evaluation: environment of this AP under channel is better (as very weak in interfered, noise is very low, and mistake packet seldom, loads very low), then and AP pairs The assessed value of the channel is higher;Environment of this AP under channel is poorer, and (as very strong in interfered, noise is very high, and there are many mistake packet, and load is very It is high), then AP is lower to the assessed value of the channel.Finally, it is assumed that the assessed value that AP obtains channel 1 is 95, obtains the assessment of channel 6 Value is 70, and the assessed value for obtaining channel 11 is 20.Certainly, AP can also be to the aforementioned four ginseng of channel 1, channel 6 and channel 11 Number carries out channel quality assessment using existing Weight algorithm etc., will not enumerate herein.
Step 403, the channel quality reporting that AP is generated using the channel quality reporting and other AP that itself generate, judgement Itself whether be MESH network decision AP.If so, thening follow the steps 404;If it is not, then this AP does not select MESH network Working channel, and end processing process.
In the embodiment of the present invention, AP utilizes the channel quality reporting itself generated and the channel quality report of other AP generation Accuse, judge itself whether be MESH network decision AP, specifically include: AP can channel reporting summarize timer expiry or When receiving from the channel switch request of other AP, execution is generated using the channel quality reporting and other AP that itself generate Channel quality reporting judges the step of whether itself is the decision AP of MESH network.
Wherein, when AP is received from the channel switch request of other AP, illustrate there are other AP to select MESH The working channel of network, and notify all AP of MESH network to carry out channel switching by channel switch request.Therefore, this is other AP is the decision AP of MESH network, this AP for receiving the channel switch request from other AP will determine that this AP is not MESH network Decision AP.
In an implementation of the embodiment of the present invention, channel quality reporting and other AP that AP utilizes itself to generate The channel quality reporting of generation, judge itself whether be MESH network decision AP, specifically include: AP compare itself generation letter The CPU mean load value in channel quality reporting that CPU mean load value and other AP in road quality report generate;If AP Compare itself CPU mean load value be less than other AP CPU mean load value, then determine itself be MESH network decision AP;If AP compares the CPU mean load value that itself CPU mean load value is greater than other AP, determine itself not to be MESH The decision AP of network;If AP compares the CPU mean load value that itself CPU mean load value is equal to other AP, AP compares MAC Address in the MAC Address in channel quality reporting that itself is generated and the channel quality reporting of other AP generation;If AP Compare own MAC address be greater than other AP MAC Address, then determine itself be MESH network decision AP;If AP compares Own MAC address is less than the MAC Address of other AP out, then determining itself not is the decision AP of MESH network.
In order to further improve the whole Network Communication Quality of MESH network, another implementation of the embodiment of the present invention In, the content for the channel quality reporting that the channel quality reporting and other AP that AP is generated generate, further includes one by respective AP The random factor for generating and being added when sending the channel quality reporting of each self-generating;Based on this, AP is generated using itself Channel quality reporting and other AP generate channel quality reporting, judge itself whether be MESH network decision AP, tool Body includes: that AP compares the CPU mean load value in the channel quality reporting of itself generation and the channel quality report of other AP generation CPU mean load value in announcement;If AP compares the CPU mean load value that itself CPU mean load value is less than other AP, Determine itself be MESH network decision AP;If AP compares itself CPU mean load value, the CPU greater than other AP is averagely negative Load value, then determining itself not is the decision AP of MESH network;If AP compares itself CPU mean load value equal to other AP's CPU mean load value, then AP compares the random factor in the channel quality reporting of itself generation and the channel matter of other AP generation Random factor in amount report;If the random factor that AP compares itself is greater than the random factor of other AP, itself is determined It is the decision AP of MESH network;If the random factor that AP compares itself is less than the random factor of other AP, itself is determined It is not the decision AP of MESH network;If the random factor that AP compares itself is equal to the random factor of other AP, AP compares MAC Address in the MAC Address in channel quality reporting that itself is generated and the channel quality reporting of other AP generation;If AP Compare own MAC address be greater than other AP MAC Address, then determine itself be MESH network decision AP;If AP compares Own MAC address is less than the MAC Address of other AP out, then determining itself not is the decision AP of MESH network.
Certainly, the embodiment of the present invention be not limited in above two judgement AP whether the mode for being decision AP, can be with benefit Determined with other equipment information of AP etc., will not enumerate herein.
Step 404, the channel quality reporting that AP is generated using the channel quality reporting and other AP that itself generate, selection The working channel of MESH network.
AP sends channel switch request after executing this step, to other AP of MESH network, notifies MESH network All AP carry out channel switching, and each AP of MESH network carries out channel switching, and the channel of MESH network is switched to AP selection Working channel on.Subsequent all AP reenter the channel guard phase, to the channel guard phase after re-execute above-mentioned steps.
In the embodiment of the present invention, AP utilizes the channel quality reporting itself generated and the channel quality report of other AP generation It accuses, selects the working channel of MESH network, specifically include:
Step A, AP obtains each letter from the channel quality reporting that the channel quality reporting and other AP that itself is generated generate The assessed value in road, and the assessment average value of each channel is calculated, execute step B.
For example, it is assumed that the channel quality reporting that channel quality reporting and other AP that AP (i.e. decision AP) itself is generated generate In be related to 3 channels altogether, that is, channel 1, channel 6 and channel 11.Wherein, AP1, AP2 and AP3 assessed to channel 1;AP2 Channel 6 assessed with AP4;AP1, AP3 and AP4 assessed to channel 11;So, for channel 1, decision AP divides Not Huo Qu AP1, AP2 and AP3 to the assessed value of channel 1, and calculate this 3 AP to the assessment average value of the assessed value of channel 1;Needle To channel 6, decision AP obtains AP2 and AP3 to the assessed value of channel 6 respectively, and calculates this 2 AP to the assessed value of channel 6 Assess average value;For channel 11, decision AP obtains AP1, AP3 and AP4 to the assessed value of channel 1 respectively, and calculates this 3 AP To the assessment average value of the assessed value of channel 11.
Step B, the assessment average value of more each channel of AP;If AP is compared between maximum and secondary big assessment average value Difference be greater than preset calculatings threshold values (based on practical experience arbitrarily be arranged), then by the corresponding channel of maximum assessment average value It is added to alternative channel list, and executes step F;If AP compares the difference between maximum and secondary big assessment average value not Greater than threshold values is calculated, C is thened follow the steps.
Step C, the difference between AP selection assessment average value and maximum assessment average value is corresponding no more than threshold values is calculated Channel, and execute step D.
Step D, AP calculates choosing according to each channel selected and the assessed value of the corresponding channel of maximum assessment average value The variance yields of each channel and the corresponding channel of maximum assessment average value selected out, and execute step E.Variance yields is each data Respectively and itself and average difference square and average, in probability theory and mathematical statistics, variance yields be used to measure Departure degree between stochastic variable and its mathematic expectaion.
Step E, the variance yields of AP is relatively selected each channel and the corresponding channel of maximum assessment average value;If deposited In a smallest variance yields, then the corresponding channel of the smallest variance yields is added to alternative channel list by AP, and executes step F;If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is different, then AP The selection assessment maximum channel of average value is added to alternative channel list from multiple the smallest variance yields corresponding channel, and holds Row step F;If there is multiple the smallest variance yields, and the assessment average value phase of the corresponding channel of multiple the smallest variance yields Together, then the corresponding channel of multiple the smallest variance yields is added to alternative channel list by AP, and executes step F.
For example, AP compares the variance yields of the variance yields of channel 1, the variance yields of channel 6, channel 11.If the variance of channel 1 Value is the smallest variance yields, then channel 1 is added in alternative channel list by AP.If the variance yields of channel 1 and the side of channel 6 Difference is the smallest variance yields, and the assessment average value of channel 1 is greater than the assessment average value of channel 6, then AP adds channel 1 Into alternative channel list.If the variance yields of channel 1 and the variance yields of channel 6 be the smallest variance yields, and channel 1 is commented It is identical as the assessment average value of channel 6 to estimate average value, then channel 1 and channel 6 are added in alternative channel list by AP.
Step F, AP obtains the working channel being being currently used.It is being currently used if existed in alternative channel list Working channel, then AP is using the working channel being being currently used as the working channel of MESH network.If alternative channel column There is no the working channel being being currently used in table, then AP further obtains all AP to the working channel being being currently used Assessment average value and variance yields.If the assessment of the channel in the assessment average value obtained and alternative channel list is average Difference between value is respectively less than preset first switching threshold values (based on practical experience any setting), and the variance yields obtained with it is standby The difference between the variance yields of the channel in channel list is selected to be respectively less than preset second switching threshold values (any based on practical experience Setting), then AP is using the working channel being being currently used as the working channel of MESH network;Otherwise, AP is arranged from alternative channel Working channel of the channel as MESH network is selected in table.
Wherein, threshold values, preset first switching threshold values, preset second switching threshold values are calculated, can be identical numerical value, Or different numerical value.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, in MESH network, decision AP can comprehensively consider entirely The working channel for the channel quality reporting selection MESH network that each AP of MESH network is generated, can be selected by a decision AP The working channel of MESH network, rather than the work of MESH network is selected based on itself the monitoring of periphery wireless environment by each AP The problem of making channel, being not only decreased obviously to avoid MESH network communication quality can also avoid the work of MESH network from believing The problems such as road is in concussion state, channel can not be stablized, the efficient communication for MESH link provides guaranteed reliability.Further , in trade-off decision AP, the CPU mean load value of each AP is considered as the first priority, ensure that automatic channel adjusts It is minimum to network service impact itself, achieve the purpose that dynamic load leveling.By the variance yields of the assessed value of channel and comment Estimate average value and select optimal working channel, the optimal working channel made is relatively reliable, and whole Network Communication average quality can reach To optimal.By the way that the channel in alternative channel list to be compared with the working channel being being currently used, in square one Under, it is preferential using the working channel being being currently used, to avoid channel switching as far as possible, maintain the stability of service.
Based on inventive concept same as the above method, additionally provided in the embodiment of the present invention in a kind of MESH network AP, as shown in figure 5, the AP is specifically included:
Generation module 11, the AP facility information and the AP for being collected according to the AP are eated dishes without rice or wine the channel monitored Information generates channel quality reporting;
Communication module 12 sends the channel quality reporting that the AP is generated for other AP into the MESH network, And receive and store the channel quality reporting generated from other AP;
Judgment module 13, the channel matter that channel quality reporting and other AP for being generated using the AP are generated Amount report, judge the AP whether be the MESH network decision AP;
Selecting module 14 utilizes the AP channel quality reporting generated and described for when the judgment result is yes The channel quality reporting that other AP are generated, selects the working channel of the MESH network.
The generation module 11, is also used to after the channel guard phase terminates, and starts channel quality detection timer, starts It collects the AP facility information and the AP eats dishes without rice or wine the channel information monitored;
The communication module 12, specifically in the channel quality detection timer expiry or receiving from other AP When the channel quality reporting of generation, the step of sending the channel quality reporting that the AP is generated to other AP is executed;
The communication module 12 is also used to send the channel matter that the AP is generated in other AP into the MESH network After amount report, starting channel reporting summarizes timer;
The judgment module 13, specifically for summarizing timer expiry in the channel reporting or receiving from other AP Channel switch request when, execute the channel quality generated using the AP channel quality reporting generated and the other AP Report, judges the step of whether AP is the decision AP of the MESH network.
The generation module 11, specifically for the interference information for the channel for eating dishes without rice or wine to monitor according to the AP, noise information, One of in wrong package informatin and load information or any combination obtains the channel progress channel quality assessment monitored To the assessed value of the channel monitored;The CPU mean load value of the AP, the MAC Address of the AP, the sky that the AP is collected Content of the channel and its assessed value that mouth monitors as channel quality reporting.
The judgment module 13, the CPU mean load value in channel quality reporting generated specifically for the AP The CPU mean load value in channel quality reporting generated with other AP;If the CPU mean load value for comparing the AP is small In the CPU mean load value of other AP, then determine that the AP is the decision AP of the MESH network;If comparing the AP's CPU mean load value is greater than the CPU mean load value of other AP, then determining the AP not is the decision AP of the MESH network; If the CPU mean load value for comparing the AP is equal to the CPU mean load value of other AP, the letter that the AP is generated The MAC Address in channel quality reporting that MAC Address and other AP in road quality report generate;If compared described The MAC Address of AP is greater than the MAC Address of other AP, then determines that the AP is the decision AP of the MESH network;If compared The MAC Address of the AP is less than the MAC Address of other AP, then determining the AP not is the decision AP of the MESH network.
The content for the channel quality reporting that the channel quality reporting and other AP that the AP is generated generate further includes One random factor for being generated and being added when sending the channel quality reporting of each self-generating by respective AP;The judgement mould Block 13, the channel of the CPU mean load value in channel quality reporting generated specifically for the AP and other AP generation CPU mean load value in quality report;If CPU of the CPU mean load value less than other AP for comparing the AP is average Load value then determines that the AP is the decision AP of the MESH network;If the CPU mean load value for comparing the AP is greater than The CPU mean load value of other AP, then determining the AP not is the decision AP of the MESH network;Come from the AP if compared Body CPU mean load value be equal to the CPU mean load value of other AP, then in the channel quality reporting that the AP is generated The random factor in channel quality reporting that random factor and other AP are generated;If comparing the random factor of the AP Greater than the random factor of other AP, then determine that the AP is the decision AP of the MESH network;If compare the AP with The machine factor is less than the random factor of other AP, then determining the AP not is the decision AP of the MESH network;If comparing institute The random factor for stating AP is equal to the random factor of other AP, then the MAC Address in channel quality reporting that the AP is generated The MAC Address in channel quality reporting generated with other AP;If the MAC Address for comparing the AP is greater than other AP MAC Address, then determine that the AP is the decision AP of the MESH network;If the MAC Address for comparing the AP is less than it The MAC Address of its AP, then determining the AP not is the decision AP of the MESH network.
The selecting module 14, specifically for selecting the working channel of the MESH network as follows:
Step A, it is obtained from the channel quality reporting that the AP channel quality reporting generated and other AP are generated The assessed value of each channel, and the assessment average value of each channel is calculated, execute step B;
Step B, the assessment average value of each channel of comparison;If comparing the difference between maximum and secondary big assessment average value Value is greater than preset calculating threshold values, then the corresponding channel of maximum assessment average value is added to alternative channel list, and execute Step F;If comparing the difference between maximum and secondary big assessment average value no more than the calculating threshold values, then follow the steps C;
Step C, the difference between selection assessment average value and maximum assessment average value is not more than the calculating threshold values pair The channel answered, and execute step D;
Step D, according to the assessed value of each channel and the corresponding channel of maximum assessment average value selected, selection is calculated The variance yields of each channel and the corresponding channel of maximum assessment average value out, and execute step E;
Step E, compare the variance yields of each channel selected and the corresponding channel of maximum assessment average value;If there is The corresponding channel of the smallest variance yields is then added to alternative channel list, and executes step F by one the smallest variance yields;Such as There are multiple the smallest variance yields for fruit, and the assessment average value of the corresponding channel of multiple the smallest variance yields is different, then from multiple The selection assessment maximum channel of average value is added to alternative channel list in the corresponding channel of the smallest variance yields, and executes step F;If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is identical, then will The corresponding channel of multiple the smallest variance yields is added to alternative channel list, and executes step F;
Step F, the working channel being being currently used is obtained;If in the alternative channel list there are it is described it is current just In the working channel used, then using the working channel being being currently used as the working channel of the MESH network;Such as There is no the working channel being being currently used in alternative channel list described in fruit, then it is being currently used described in acquisition The assessment average value and variance yields of working channel;If the channel in the assessment average value obtained and the alternative channel list Assessment average value between difference be respectively less than preset first switching threshold values, and the variance yields obtained and the alternative channel arrange Difference between the variance yields of channel in table is respectively less than preset second switching threshold values, then by the work being being currently used Make working channel of the channel as the MESH network;Otherwise, select a channel as institute out of described alternative channel list State the working channel of MESH network.
Wherein, the modules of apparatus of the present invention can integrate in one, can also be deployed separately.Above-mentioned module can close And be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which is stored in a storage medium, if including Dry instruction is used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes this hair Method described in bright each embodiment.It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, Module or process in attached drawing are not necessarily implemented necessary to the present invention.It will be appreciated by those skilled in the art that in embodiment Device in module can according to embodiment describe be distributed in the device of embodiment, corresponding change position can also be carried out In the one or more devices for being different from the present embodiment.The module of above-described embodiment can be merged into a module, can also be with It is further split into multiple submodule.The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.With Upper disclosed several specific embodiments only of the invention, still, the present invention is not limited to this, any those skilled in the art Member can think of variation should all fall into protection scope of the present invention.

Claims (12)

1. a kind of selection method of working channel, which is characterized in that the described method comprises the following steps:
What access point AP in wireless mesh MESH network was monitored according to the equipment of itself information of themselves capture and itself eating dishes without rice or wine Channel information generates channel quality reporting;The AP is each of MESH network AP;
Other APs of the AP into the MESH network send the channel quality reporting of itself generation, and receive and store and come from The channel quality reporting that other AP are generated;
The channel quality reporting that the AP is generated using the channel quality reporting and other AP that itself generate, judges itself Whether be the MESH network decision AP;
If it is, the channel quality report that the AP is generated using the channel quality reporting and other AP that itself generate It accuses, selects the working channel of the MESH network.
2. the method as described in claim 1, which is characterized in that the method further includes:
The AP starts channel quality detection timer after the channel guard phase terminates, start to collect itself facility information and It itself eats dishes without rice or wine the channel information monitored;
Other APs of the AP into the MESH network send the channel quality reporting of itself generation, specifically include: the AP The channel quality detection timer expiry or receive from other AP generate channel quality reporting when, execute to other AP sends the step of channel quality reporting of itself generation;
After other AP of the AP into the MESH network send the channel quality reporting of itself generation, further comprise: Starting channel reporting summarizes timer;
The channel quality reporting that the AP is generated using the channel quality reporting and other AP that itself generate, judges itself Whether be the MESH network decision AP, specifically include: the AP summarizes timer expiry or receipts in the channel reporting When to channel switch request from other AP, executes and generated using the channel quality reporting and other AP that itself generate Channel quality reporting, the step of whether itself is the decision AP of the MESH network judged.
3. method according to claim 1 or 2, which is characterized in that the AP according to the equipment of itself information of themselves capture and Itself eat dishes without rice or wine the channel information monitored generate channel quality reporting, specifically include:
The AP is according in the interference information for the channel for itself eating dishes without rice or wine to monitor, noise information, wrong package informatin and load information One of them or any combination carry out channel quality assessment, the assessed value of the channel monitored to the channel monitored;
The AP is by central processor CPU mean load value, itself the medium access control MAC Address, sky of themselves capture Content of the channel and its assessed value that mouth monitors as channel quality reporting.
4. method as claimed in claim 3, which is characterized in that the AP utilizes the channel quality reporting and institute itself generated State the channel quality reporting that other AP are generated, judge itself whether be the MESH network decision AP, specifically include:
The AP compares the CPU mean load value in the channel quality reporting of itself generation and the channel quality report of other AP generation CPU mean load value in announcement;
If the AP compares the CPU mean load value that itself CPU mean load value is less than other AP, determine itself to be institute State the decision AP of MESH network;
If the AP compares the CPU mean load value that itself CPU mean load value is greater than other AP, determine that itself is not The decision AP of the MESH network;
If the AP compares the CPU mean load value that itself CPU mean load value is equal to other AP, the AP compares certainly MAC Address in the MAC Address in channel quality reporting that body generates and the channel quality reporting of other AP generations;
If the AP compares the MAC Address that own MAC address is greater than other AP, determine itself to be the MESH network Decision AP;
If the AP compares the MAC Address that own MAC address is less than other AP, determining itself not is the MESH network Decision AP.
5. method as claimed in claim 3, which is characterized in that the channel quality reporting and other AP that the AP is generated are raw At channel quality reporting content, further include one by respective AP generation when sending the channel quality reporting of each self-generating And the random factor being added;
The channel quality reporting that the AP is generated using the channel quality reporting and other AP that itself generate, judges itself Whether be the MESH network decision AP, specifically include:
The AP compares the CPU mean load value in the channel quality reporting of itself generation and the channel quality report of other AP generation CPU mean load value in announcement;
If the AP compares the CPU mean load value that itself CPU mean load value is less than other AP, determine itself to be institute State the decision AP of MESH network;
If the AP compares the CPU mean load value that itself CPU mean load value is greater than other AP, determine that itself is not The decision AP of the MESH network;
If the AP compares the CPU mean load value that itself CPU mean load value is equal to other AP, the AP compares certainly Random factor in the random factor in channel quality reporting that body generates and the channel quality reporting of other AP generations;
If the random factor that the AP compares itself is greater than the random factor of other AP, determine itself to be the MESH net The decision AP of network;
If the random factor that the AP compares itself is less than the random factor of other AP, determining itself not is the MESH The decision AP of network;
If the random factor that the AP compares itself is equal to the random factor of other AP, the AP compares itself generation The MAC Address in channel quality reporting that MAC Address and other AP in channel quality reporting generate;
If the AP compares the MAC Address that own MAC address is greater than other AP, determine itself to be the MESH network Decision AP;
If the AP compares the MAC Address that own MAC address is less than other AP, determining itself not is the MESH network Decision AP.
6. method as claimed in claim 3, which is characterized in that the AP utilizes the channel quality reporting and institute itself generated The channel quality reporting that other AP are generated is stated, the working channel of the MESH network is selected, specifically includes:
Step A, the described AP is obtained from the channel quality reporting that the channel quality reporting that itself is generated and other AP are generated The assessed value of each channel, and the assessment average value of each channel is calculated, execute step B;
Step B, the assessment average value of described more each channel of AP;
If the difference that the AP is compared between maximum and secondary big assessment average value is greater than preset calculating threshold value, will most The big corresponding channel of assessment average value is added to alternative channel list, and executes step F;
If the AP compares the difference between maximum and secondary big assessment average value no more than the calculating threshold value, execute Step C;
Step C, the difference between the described AP selection assessment average value and maximum assessment average value is not more than the calculating threshold value Corresponding channel, and execute step D;
Step D, the described AP calculates choosing according to each channel selected and the assessed value of the corresponding channel of maximum assessment average value The variance yields of each channel and the corresponding channel of maximum assessment average value selected out, and execute step E;
Step E, the variance yields of each channel and the corresponding channel of maximum assessment average value that the described AP is relatively selected;
If there is a smallest variance yields, then the corresponding channel of the smallest variance yields is added to alternative channel and arranged by the AP Table, and execute step F;
If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is different, then AP selection assessment maximum channel of average value from the corresponding channel of multiple the smallest variance yields is added to alternative channel column Table, and execute step F;
If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is identical, then The corresponding channel of multiple the smallest variance yields is added to alternative channel list, and executes step F;
Step F, the described AP obtains the working channel being being currently used;
If the working channel that is being currently used described in existing in the alternative channel list, the AP will it is described currently just In working channel of the working channel used as the MESH network;
If the working channel being being currently used there is no described in the alternative channel list, work as described in the AP acquisition The assessment average value and variance yields of preceding working channel currently in use;If the assessment average value and the alternative channel that obtain Difference between the assessment average value of channel in list is respectively less than preset first switching threshold, and the variance yields obtained and institute It states the difference between the variance yields of the channel in alternative channel list and is respectively less than preset second switching threshold, then the AP is by institute State working channel of the working channel being being currently used as the MESH network;Otherwise, the AP is from the alternative channel Working channel of the channel as the MESH network is selected in list.
7. the access point AP in a kind of wireless mesh MESH network, which is characterized in that the AP is specifically included:
Generation module, the AP facility information and the AP for being collected according to the AP channel information monitored of eating dishes without rice or wine are raw At channel quality reporting;The AP is each of MESH network AP;
Communication module sends the channel quality reporting that the AP is generated for other AP into the MESH network, and receives And the channel quality reporting that storage is generated from other AP;
Judgment module, the channel quality report that channel quality reporting and other AP for being generated using the AP are generated Accuse, judge the AP whether be the MESH network decision AP;
Selecting module, for when the judgment result is yes, utilizing the channel quality reporting and other AP of AP generation The channel quality reporting of generation selects the working channel of the MESH network.
8. AP as claimed in claim 7, which is characterized in that
The generation module is also used to after the channel guard phase terminates, and starts channel quality detection timer, starts to collect institute It states AP facility information and the AP eats dishes without rice or wine the channel information monitored;
The communication module, specifically for the channel quality detection timer expiry or receive from other AP generate When channel quality reporting, the step of sending the channel quality reporting that the AP is generated to other AP is executed;
The communication module is also used to send the channel quality report that the AP is generated in other AP into the MESH network After reporting to, starting channel reporting summarizes timer;
The judgment module, specifically for summarizing timer expiry in the channel reporting or receiving the channel from other AP When switching request, the channel quality reporting generated using the AP channel quality reporting generated and other AP is executed, The step of whether AP is the decision AP of the MESH network judged.
9. AP as claimed in claim 7 or 8, which is characterized in that
The generation module, specifically for the interference information for the channel for eating dishes without rice or wine to monitor according to the AP, noise information, wrong packet letter One of in breath and load information or any combination monitors the channel progress channel quality assessment monitored The assessed value of the channel arrived;The medium of the central processor CPU mean load value of the AP AP collected, the AP are visited Ask control MAC Address, the content of the channel monitored and its assessed value as channel quality reporting of eating dishes without rice or wine.
10. AP as claimed in claim 9, which is characterized in that
The judgment module, specifically for the AP generate channel quality reporting in CPU mean load value with it is other The CPU mean load value in channel quality reporting that AP is generated;
If the CPU mean load value for comparing the AP is less than the CPU mean load value of other AP, determine that the AP is institute State the decision AP of MESH network;
If the CPU mean load value for comparing the AP is greater than the CPU mean load value of other AP, determine that the AP is not The decision AP of the MESH network;
If the CPU mean load value for comparing the AP is equal to the CPU mean load value of other AP, the AP is generated Channel quality reporting in MAC Address and the channel quality reporting that generates of the other AP in MAC Address;
If the MAC Address for comparing the AP is greater than the MAC Address of other AP, determine that the AP is the MESH network Decision AP;
If the MAC Address for comparing the AP is less than the MAC Address of other AP, determining the AP not is the MESH network Decision AP.
11. AP as claimed in claim 9, which is characterized in that the channel quality reporting and other AP that the AP is generated are raw At channel quality reporting content, further include one by respective AP generation when sending the channel quality reporting of each self-generating And the random factor being added;
The judgment module, specifically for the AP generate channel quality reporting in CPU mean load value with it is other The CPU mean load value in channel quality reporting that AP is generated;
If the CPU mean load value for comparing the AP is less than the CPU mean load value of other AP, determine that the AP is institute State the decision AP of MESH network;
If the CPU mean load value for comparing the AP is greater than the CPU mean load value of other AP, determine that the AP is not The decision AP of the MESH network;
If the CPU mean load value for comparing the AP is equal to the CPU mean load value of other AP, the AP is generated Channel quality reporting in random factor and the channel quality reporting that generates of the other AP in random factor;
If the random factor for comparing the AP is greater than the random factor of other AP, determine that the AP is the MESH network Decision AP;
If the random factor for comparing the AP is less than the random factor of other AP, determining the AP not is the MESH net The decision AP of network;
If the random factor for comparing the AP is equal to the random factor of other AP, the channel quality that the AP is generated The MAC Address in channel quality reporting that MAC Address and other AP in report generate;
If the MAC Address for comparing the AP is greater than the MAC Address of other AP, determine that the AP is the MESH network Decision AP;
If the MAC Address for comparing the AP is less than the MAC Address of other AP, determining the AP not is the MESH network Decision AP.
12. AP as claimed in claim 9, which is characterized in that
The selecting module, specifically for selecting the working channel of the MESH network as follows:
Step A, each letter is obtained from the channel quality reporting that the AP channel quality reporting generated and other AP are generated The assessed value in road, and the assessment average value of each channel is calculated, execute step B;
Step B, the assessment average value of each channel of comparison;
If the difference compared between maximum and secondary big assessment average value is greater than preset calculating threshold value, commented maximum Estimate the corresponding channel of average value and be added to alternative channel list, and executes step F;
If comparing the difference between maximum and secondary big assessment average value no more than the calculating threshold value, C is thened follow the steps;
Step C, the difference between selection assessment average value and maximum assessment average value is corresponding no more than the calculating threshold value Channel, and execute step D;
Step D, it according to the assessed value of each channel for selecting and the corresponding channel of maximum assessment average value, calculates and selects The variance yields of each channel and the corresponding channel of maximum assessment average value, and execute step E;
Step E, compare the variance yields of each channel selected and the corresponding channel of maximum assessment average value;
If there is a smallest variance yields, then the corresponding channel of the smallest variance yields is added to alternative channel list, and Execute step F;
If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is different, then The selection assessment maximum channel of average value is added to alternative channel list from multiple the smallest variance yields corresponding channel, and holds Row step F;
If there is multiple the smallest variance yields, and the assessment average value of the corresponding channel of multiple the smallest variance yields is identical, then The corresponding channel of multiple the smallest variance yields is added to alternative channel list, and executes step F;
Step F, the working channel being being currently used is obtained;
If the working channel being being currently used described in existing in the alternative channel list, is being currently used described Working channel of the working channel as the MESH network;
If there is no the working channel being being currently used in the alternative channel list, obtain it is described it is current The assessment average value and variance yields of the working channel used;If in the assessment average value obtained and the alternative channel list Channel assessment average value between difference be respectively less than preset first switching threshold, and the variance yields that obtains and described alternative Difference between the variance yields of channel in channel list is respectively less than preset second switching threshold, then currently makes described Working channel of the working channel used as the MESH network;Otherwise, a channel is selected out of described alternative channel list Working channel as the MESH network.
CN201510044387.5A 2015-01-28 2015-01-28 A kind of selection method and equipment of working channel Active CN104640147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510044387.5A CN104640147B (en) 2015-01-28 2015-01-28 A kind of selection method and equipment of working channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510044387.5A CN104640147B (en) 2015-01-28 2015-01-28 A kind of selection method and equipment of working channel

Publications (2)

Publication Number Publication Date
CN104640147A CN104640147A (en) 2015-05-20
CN104640147B true CN104640147B (en) 2019-01-22

Family

ID=53218348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510044387.5A Active CN104640147B (en) 2015-01-28 2015-01-28 A kind of selection method and equipment of working channel

Country Status (1)

Country Link
CN (1) CN104640147B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2545697B (en) 2015-12-22 2020-01-08 Airties Kablosuz Iletism Sanayi Ve Disticaret As Dynamic channel selection and DFS re-entry
CN105792295B (en) * 2016-03-02 2019-03-15 南京邮电大学 A kind of wireless Mesh netword virtualization fast switch over method based on Dynamic Cluster
CN105744601B (en) * 2016-04-27 2019-09-20 锐捷网络股份有限公司 A kind of method and system configuring wireless sensing terminal
CN107995686B (en) * 2017-12-07 2020-09-25 锐捷网络股份有限公司 Wireless local area network channel allocation method, device and system
CN112738922B (en) * 2020-11-18 2023-07-21 青岛海尔科技有限公司 Data processing method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026306A (en) * 2010-12-08 2011-04-20 北京星网锐捷网络技术有限公司 Channel selection method, channel selection device and mesh node physical device
CN102291794A (en) * 2011-09-27 2011-12-21 杭州华三通信技术有限公司 Channel switching method and equipment in MESH network
CN104066149A (en) * 2013-03-20 2014-09-24 中国移动通信集团浙江有限公司 WLAN frequency point selection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8654782B2 (en) * 2007-11-05 2014-02-18 Cisco Technology, Inc. Mesh tree formation in wireless networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026306A (en) * 2010-12-08 2011-04-20 北京星网锐捷网络技术有限公司 Channel selection method, channel selection device and mesh node physical device
CN102291794A (en) * 2011-09-27 2011-12-21 杭州华三通信技术有限公司 Channel switching method and equipment in MESH network
CN104066149A (en) * 2013-03-20 2014-09-24 中国移动通信集团浙江有限公司 WLAN frequency point selection method and device

Also Published As

Publication number Publication date
CN104640147A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104640147B (en) A kind of selection method and equipment of working channel
EP3259881B1 (en) Adaptive, anomaly detection based predictor for network time series data
CN106304177B (en) For handling the method and mobile terminal apparatus of radio signal
US10382974B2 (en) Spectrum sharing method and apparatus thereof
KR101235644B1 (en) Apparatus for simultaneously transmitting data in heterogeneous network
EP3163932A1 (en) Interference coordination method and device
CN102291794B (en) Channel switching method and equipment in MESH network
CN105530138B (en) Data monitoring method and device
EP2986048A1 (en) Network optimization method, device and apparatus
JP6591446B2 (en) Method and apparatus for adjusting real-time transmission power in a wireless communication system
CN106973401A (en) A kind of detection suppressing method for being directed to rogue AP in wireless networking environment
CN105792301B (en) A kind of terminal of handover network, method and system
CN104581830B (en) A kind of cut-in method and equipment of terminal device
CN106900010A (en) A kind of method and device that load balancing is carried out based on RRC connections
US9839065B2 (en) Managing radio resource control (RRC) connections based on radio bearer attributes
US20220046499A1 (en) Method and apparatus for determining signal quality information of frequency
EP2931000B1 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
CN109451547A (en) Wireless roaming method and device, storage medium, access point apparatus
CN108200655B (en) Channel selection method and device
CN105791036B (en) A kind of AP access detection method and device
CN208608999U (en) A kind of network application system experience data management system
CN106717064A (en) Data transmission method, device and system of time division duplex wireless data transmission system
CN109803286B (en) Processing method and device after beam failure and terminal
EP2822345A1 (en) Spectrum allocation in a wireless network
CN114040463A (en) Networking method and device, computer readable storage medium and processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant