The content of the invention
In order to solve the above-mentioned technical problem, embodiments of the invention adopt the following technical scheme that:
A kind of method for guiding wireless terminal association wireless access point AP, comprises the following steps:
The message in period 1 affiliated WLAN between all wireless terminals is received,
The type of the message is determined, the interactive relation established according to the type of the message between the wireless terminalTable,
It is wireless when being interacted according to interactive relation table determination with the first wireless terminal in the wireless terminalWhen the quantity of terminal is most, AP centered on the AP associated by first wireless terminal is determined,
Determine the wireless terminal in addition to first wireless terminal in the wireless terminal whether be associated with it is described inHeart AP,
When the wireless terminal in addition to first wireless terminal in the wireless terminal is associated with non-central AP,Then the wireless terminal in addition to first wireless terminal in the wireless terminal is directed to from the non-central AP describedOn the AP of center.
Optionally, the step of type of the determination message specifically includes:
It is multicast message or unicast message to determine the message.
Optionally, the step of interactive relation table that the type according to the message is established between the wireless terminal, hasBody includes:
When the message is multicast message, determine to wrap in multicast group corresponding to multicast message described in the wireless terminalThe member's wireless terminal contained, the interactive relation table established between member's wireless terminal;
What first wireless terminal when in interactive relation table determination and the wireless terminal interactedWhen the quantity of wireless terminal is most, the step of determining AP centered on the AP associated by first wireless terminal, specifically includes:
When the first nothing for determining there was only in the wireless terminal according to the interactive relation table between member's wireless terminalLine terminal during other member's wireless terminals transmission multicast message, determines first wireless terminal into member's wireless terminalAP centered on associated AP.
Optionally, the step of interactive relation table that the type according to the message is established between the wireless terminal, hasBody includes:
When the message is unicast message, the source IP address and purpose IP address in the unicast message are obtained, according toThe interactive relation table that the source IP address and purpose IP address are established between the wireless terminal;
What first wireless terminal when in interactive relation table determination and the wireless terminal interactedWhen the quantity of wireless terminal is most, the step of determining AP centered on the AP associated by first wireless terminal, specifically includes:
When the source IP address in the interactive relation table and the quantity of purpose IP address are determined in the wireless terminalThe first wireless terminal into the wireless terminal other wireless terminals send message number it is most when, determine first nothingAP centered on AP associated by line terminal.
Optionally, the wireless terminal in addition to first wireless terminal by the wireless terminal is from described non-The step that center AP is directed on the center AP specifically includes:
Indicate the non-central AP and the wireless terminal solution in addition to first wireless terminal in the wireless terminalExcept association;
Indicate the non-central AP forbid within the setting cycle in the wireless terminal except first wireless terminal withOuter wireless terminal association;
Indicate that the center AP strengthens signal intensity within the setting cycle, to attract removing in the wireless terminalWireless terminal beyond first wireless terminal is associated with the center AP.
The embodiment of the present invention also provides a kind of wireless controller for guiding wireless terminal association wireless access point AP, including:
Receiving module, for receiving the message in period 1 affiliated WLAN between all wireless terminals,
First determining module, for determining the type of the message,
Module is established, for establishing the interactive relation table between the wireless terminal according to the type of the message,
Second determining module, for wireless eventually with first in the wireless terminal when being determined according to the interactive relation tableWhen holding the quantity of the wireless terminal interacted most, AP centered on the AP associated by first wireless terminal is determined,
3rd determining module, for determining the wireless terminal in addition to first wireless terminal in the wireless terminalWhether the center AP is associated with,
Guiding module, for being associated with when the wireless terminal in addition to first wireless terminal in the wireless terminalWhen on non-central AP, then by the wireless terminal in addition to first wireless terminal in the wireless terminal from described non-centralAP is directed on the center AP.
Optionally, first determining module is specifically used for:
It is multicast message or unicast message to determine the message.
Optionally, the module of establishing is specifically used for:
When the message is multicast message, determine to wrap in multicast group corresponding to multicast message described in the wireless terminalThe member's wireless terminal contained, the interactive relation table established between member's wireless terminal;
Second determining module is specifically used for:
When the first nothing for determining there was only in the wireless terminal according to the interactive relation table between member's wireless terminalLine terminal during other member's wireless terminals transmission multicast message, determines first wireless terminal into member's wireless terminalAP centered on associated AP.
Optionally, the module of establishing is specifically used for:
When the message is unicast message, the source IP address and purpose IP address in the unicast message are obtained, according toThe interactive relation table that the source IP address and purpose IP address are established between the wireless terminal;
Second determining module is specifically used for:
When the source IP address in the interactive relation table and the quantity of purpose IP address are determined in the wireless terminalThe first wireless terminal into the wireless terminal other wireless terminals send message number it is most when, determine first nothingAP centered on AP associated by line terminal.
Optionally, the guiding module is specifically used for:
Indicate the non-central AP and the wireless terminal solution in addition to first wireless terminal in the wireless terminalExcept association;
Indicate the non-central AP forbid within the setting cycle in the wireless terminal except first wireless terminal withOuter wireless terminal association;
Indicate that the center AP strengthens signal intensity within the setting cycle, to attract removing in the wireless terminalWireless terminal beyond first wireless terminal is associated with the center AP.
Message of the embodiment of the present invention by reception in period 1 affiliated WLAN between all wireless terminals,The type of the message is determined, the interactive relation table established according to the type of the message between the wireless terminal, works as basisThe interactive relation table determines that the quantity of the wireless terminal interacted with the first wireless terminal in the wireless terminal is mostWhen, determine AP centered on the AP associated by first wireless terminal, determine in the wireless terminal except described first wirelessWhether the wireless terminal beyond terminal is associated with the center AP, when in the wireless terminal except first wireless terminal withWhen outer wireless terminal is associated with non-central AP, then by the nothing in addition to first wireless terminal in the wireless terminalLine terminal is directed on the center AP from the non-central AP.So as to be asked based on discharge relation to identify, solve distal end associationTopic, it is more accurate by modes such as configuration optimization, power limits compared to existing, it efficiently avoid the network body for distally associating and bringingTest problem.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeSite preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based onEmbodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not madeEmbodiment, belong to the scope of protection of the invention.
First embodiment of the invention provides a kind of method for guiding wireless terminal association wireless access point AP, as shown in figure 3,Comprise the following steps:
S101, the message between all wireless terminals in period 1 affiliated WLAN is received,
S103, the type of the message is determined,
S105, the interactive relation table established according to the type of the message between the wireless terminal,
S107, when what is interacted according to interactive relation table determination with the first wireless terminal in the wireless terminalWhen the quantity of wireless terminal is most, AP centered on the AP associated by first wireless terminal is determined,
S109, determines whether the wireless terminal in addition to first wireless terminal in the wireless terminal is associated with instituteCenter AP is stated,
S111, when the wireless terminal in addition to first wireless terminal in the wireless terminal is associated with non-central APWhen upper, then the wireless terminal in addition to first wireless terminal in the wireless terminal was directed to from the non-central APOn the center AP.
Optionally, on the basis of first embodiment of the invention, in second embodiment of the invention, as shown in figure 4, step S103Specifically include:
It is multicast message or unicast message to determine the message.
Optionally, on the basis of second embodiment of the invention, in third embodiment of the invention, as shown in figure 4, step S105Specifically include:
When the message is multicast message, determine to wrap in multicast group corresponding to multicast message described in the wireless terminalThe member's wireless terminal contained, the interactive relation table established between member's wireless terminal;
Step S107 is specifically included:
When the first nothing for determining there was only in the wireless terminal according to the interactive relation table between member's wireless terminalLine terminal during other member's wireless terminals transmission multicast message, determines first wireless terminal into member's wireless terminalAP centered on associated AP.
For example, if multicast message, then pass through IGMP (Internet igmpinternet Internet GroupManagement Protocol) multicast list can identify it is all addition some multicast group wireless terminal IP,
For example the IP address of wireless terminal 1 is:10.0.0.1 the IP address of wireless terminal 2 is:10.0.0.2, it is wireless wholeEnd 3 IP address be:10.0.0.3 the IP address of wireless terminal 4 is:10.0.0.4 this can be identified by multicast listSeveral wireless terminals all add multicast group A;
Because the multicast traffic stream between wireless terminal can be passed through to multicast by wireless controller AC, wireless controller ACIt can be found that within a time cycle, wireless terminal 1 can send multicast group A multicast data traffic for the analysis of data flow, andOther wireless terminals 2,3,4 are all responsible for reception, can't send multicast data traffic or send the number of multicast data trafficLess than wireless terminal 1, interactive relation table is as shown in table 1:
| Multicast sender | Multicast reception side | Transmission times |
| 10.0.0.1 | 10.0.0.2 | 10 |
| 10.0.0.1 | 10.0.0.3 | 12 |
| 10.0.0.1 | 10.0.0.4 | 15 |
| 10.0.0.2 | 10.0.0.1 | 0 |
| 10.0.0.2 | 10.0.0.3 | 0 |
| 10.0.0.2 | 10.0.0.4 | 0 |
| 10.0.0.3 | 10.0.0.1 | 0 |
| 10.0.0.3 | 10.0.0.2 | 0 |
| 10.0.0.3 | 10.0.0.4 | 0 |
| 10.0.0.4 | 10.0.0.1 | 0 |
| 10.0.0.4 | 10.0.0.2 | 0 |
| 10.0.0.4 | 10.0.0.3 | 0 |
Table 1
As it can be seen from table 1 wireless terminal 1 is to send the most wireless terminal of multicast traffic stream number, nothing can confirm thatLine terminal 1 is teacher's wireless terminal.Thus export, access this multicast group A all member's wireless terminals and thereinTeacher's wireless terminal.At this moment, the AP associated by teacher's wireless terminal is exactly center AP.
Optionally, on the basis of second embodiment of the invention, in fourth embodiment of the invention, as shown in figure 5, step S105Specifically include:
When the message is unicast message, the source IP address and purpose IP address in the unicast message are obtained, according toThe interactive relation table that the source IP address and purpose IP address are established between the wireless terminal;
Step S107 is specifically included:
When the source IP address in the interactive relation table and the quantity of purpose IP address are determined in the wireless terminalThe first wireless terminal into the wireless terminal other wireless terminals send message number it is most when, determine first nothingAP centered on AP associated by line terminal.
For example the IP address of wireless terminal 1 is:10.0.0.1 the IP address of wireless terminal 2 is:10.0.0.2, it is wireless wholeEnd 3 IP address be:10.0.0.3 the IP address of wireless terminal 4 is:10.0.0.4;
Because the unicast data stream between wireless terminal can be passed through to unicast by wireless controller AC, wireless controller ACIt can be found that within a time cycle, wireless terminal 1 sends unicast data stream to other wireless terminals for the analysis of data flowNumber is most, and interactive relation table is as shown in table 2:
| Unicast sender | Unicast reception side | Transmission times |
| 10.0.0.1 | 10.0.0.2 | 10 |
| 10.0.0.1 | 10.0.0.3 | 12 |
| 10.0.0.1 | 10.0.0.4 | 15 |
| 10.0.0.2 | 10.0.0.1 | 1 |
| 10.0.0.2 | 10.0.0.3 | 2 |
| 10.0.0.2 | 10.0.0.4 | 1 |
| 10.0.0.3 | 10.0.0.1 | 2 |
| 10.0.0.3 | 10.0.0.2 | 1 |
| 10.0.0.3 | 10.0.0.4 | 2 |
| 10.0.0.4 | 10.0.0.1 | 1 |
| 10.0.0.4 | 10.0.0.2 | 2 |
| 10.0.0.4 | 10.0.0.3 | 1 |
Table 2
From table 2 it can be seen that wireless terminal 1 is to send unicast data stream number most wireless end to other wireless terminalsEnd, can confirm that wireless terminal 1 is teacher's wireless terminal.At this moment, the AP associated by teacher's wireless terminal is exactly center AP.
Optionally, in step S109, can be determined by the wireless terminal on wireless controller with AP contingency tablesWhether the wireless terminal in addition to first wireless terminal in the wireless terminal is associated with the center AP.
For example the IP address of wireless terminal 1 is:10.0.0.1 the IP address of wireless terminal 2 is:10.0.0.2, it is wireless wholeEnd 3 IP address be:10.0.0.3 the IP address of wireless terminal 4 is:10.0.0.4;Associated by inquiring about wireless terminal with APTable can be found that wireless terminal 1,2,4 is all associated with the AP of center, and only wireless terminal 3 is associated with non-central AP.
Optionally, on the basis of first embodiment of the invention, in fifth embodiment of the invention, step S111 is specifically included:
Indicate the non-central AP and the wireless terminal solution in addition to first wireless terminal in the wireless terminalExcept association;
Indicate the non-central AP forbid within the setting cycle in the wireless terminal except first wireless terminal withOuter wireless terminal association;
Indicate that the center AP strengthens signal intensity within the setting cycle, to attract removing in the wireless terminalWireless terminal beyond first wireless terminal is associated with the center AP.
The beneficial effect of the embodiment of the present invention is, is identified based on discharge relation, is solved distal end related question, compared to existingHave it is more accurate by modes such as configuration optimization, power limits, efficiently avoid distally associate bring network experience problem.
Sixth embodiment of the invention also provides a kind of wireless controller for guiding wireless terminal association wireless access point AP, such asShown in Fig. 6, including:
Receiving module 201, for receiving the message in period 1 affiliated WLAN between all wireless terminals,
First determining module 203, for determining the type of the message,
Module 205 is established, for establishing the interactive relation table between the wireless terminal according to the type of the message,
Second determining module 207, for being determined and the first nothing in the wireless terminal when according to the interactive relation tableWhen the quantity for the wireless terminal that line terminal interacts is most, AP centered on the AP associated by first wireless terminal is determined,
3rd determining module 209, it is wireless in addition to first wireless terminal in the wireless terminal for determiningWhether terminal is associated with the center AP,
Guiding module 211, for being closed when the wireless terminal in addition to first wireless terminal in the wireless terminalWhen being linked on non-central AP, then by the wireless terminal in addition to first wireless terminal in the wireless terminal from described non-Center AP is directed on the center AP.
Optionally, on the basis of sixth embodiment of the invention, in seventh embodiment of the invention, first determining module203 are specifically used for:
It is multicast message or unicast message to determine the message.
Optionally, on the basis of seventh embodiment of the invention, in eighth embodiment of the invention, the module 205 of establishing hasBody is used for:
When the message is multicast message, determine to wrap in multicast group corresponding to multicast message described in the wireless terminalThe member's wireless terminal contained, the interactive relation table established between member's wireless terminal;
Second determining module 207 is specifically used for:
When the first nothing for determining there was only in the wireless terminal according to the interactive relation table between member's wireless terminalLine terminal during other member's wireless terminals transmission multicast message, determines first wireless terminal into member's wireless terminalAP centered on associated AP.
Optionally, on the basis of seventh embodiment of the invention, in ninth embodiment of the invention, the module 205 of establishing hasBody is used for:
When the message is unicast message, the source IP address and purpose IP address in the unicast message are obtained, according toThe interactive relation table that the source IP address and purpose IP address are established between the wireless terminal;
Second determining module 207 is specifically used for:
When the source IP address in the interactive relation table and the quantity of purpose IP address are determined in the wireless terminalThe first wireless terminal into the wireless terminal other wireless terminals send message number it is most when, determine first nothingAP centered on AP associated by line terminal.
Optionally, on the basis of sixth embodiment of the invention, in tenth embodiment of the invention, the guiding module 211 hasBody is used for:
Indicate the non-central AP and the wireless terminal solution in addition to first wireless terminal in the wireless terminalExcept association;
Indicate the non-central AP forbid within the setting cycle in the wireless terminal except first wireless terminal withOuter wireless terminal association;
Indicate that the center AP strengthens signal intensity within the setting cycle, to attract removing in the wireless terminalWireless terminal beyond first wireless terminal is associated with the center AP.
The beneficial effect of the embodiment of the present invention is, is identified based on discharge relation, is solved distal end related question, compared to existingHave it is more accurate by modes such as configuration optimization, power limits, efficiently avoid distally associate bring network experience problem.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagramJourney and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be providedThe processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produceA raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realThe device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring toMake the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram orThe function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that countedSeries of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer orThe instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram oneThe step of function of being specified in individual square frame or multiple square frames.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;AlthoughThe present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be usedTo be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit andScope.