Summary of the invention
The methods, devices and systems that the embodiment of the present invention provides a kind of WiFi access point apparatus to combinationally use, can reduce interference each other in closely combinationally using.
The embodiment of the present invention adopts following technical scheme:
The method that WiFi access point apparatus combinationally uses, comprising:
One WiFi access point apparatus, when detecting that communication interface is communicated with the 2nd WiFi access point apparatus, obtains the channel information of described 2nd WiFi access point apparatus;
Oneself current channel is arranged to consistent with the channel of described 2nd WiFi access point apparatus by a described WiFi access point apparatus;
A described WiFi access point apparatus combinationally uses with described 2nd WiFi access point apparatus on the channel of described 2nd WiFi access point apparatus.
A kind of WiFi access point apparatus, comprising:
Whether detecting unit, be communicated with other WiFi access point apparatus for detecting communication interface;
First acquiring unit, during for detecting that communication interface is communicated with other WiFi access point apparatus at described detecting unit, obtains the channel information of other WiFi access point apparatus described;
First setting unit, consistent with the channel of other WiFi access point apparatus described for oneself current channel is arranged to;
Combinationally use unit, combinationally use with other WiFi access point apparatus described on the channel at other WiFi access point apparatus described.
The system that a kind of WiFi access point apparatus combinationally uses, comprise a WiFi access point apparatus and the 2nd WiFi access point apparatus, wherein, a described WiFi access point apparatus is when detecting that communication interface is communicated with described 2nd WiFi access point apparatus, a described WiFi access point apparatus obtains the channel information of described 2nd WiFi access point apparatus, and oneself current channel is arranged to consistent with the channel of described 2nd WiFi access point apparatus, then combinationally use with described 2nd WiFi access point apparatus on the channel of described 2nd WiFi access point apparatus.
The technique scheme provided from the embodiment of the present invention, when two WiFi access point apparatus communication interfaces are communicated with, can think that distance is therebetween less than setpoint distance limit value, due to the interference when interference of WiFi access point apparatus when non-equal channel is obviously greater than cochannel within closely, therefore a WiFi access point apparatus is by the channel information of acquisition the 2nd WiFi access point apparatus, and oneself current channel is arranged to consistent with the channel of described 2nd WiFi access point apparatus, then combinationally use with described 2nd WiFi access point apparatus on the channel of described 2nd WiFi access point apparatus, thus can reduce closely combinationally use in interference each other, reduce data packetloss and re-transmission, improve efficiency of transmission.
Embodiment
As shown in Figure 1, the method that the WiFi access point apparatus that the embodiment of the present invention provides combinationally uses, comprising:
Step 11, a WiFi access point apparatus, when detecting that communication interface is communicated with the 2nd WiFi access point apparatus, obtains the channel information of described 2nd WiFi access point apparatus;
Step 12, oneself current channel is arranged to consistent with the channel of described 2nd WiFi access point apparatus by a described WiFi access point apparatus;
Step 13, a described WiFi access point apparatus combinationally uses with described 2nd WiFi access point apparatus on the channel of described 2nd WiFi access point apparatus.
Under normal circumstances, two WiFi access points with the use of time, we can avoid identical channel as far as possible, to prevent the interference on same channel, but be through testing authentication, find existence Distance l imit, within this Distance l imit, two interference of WiFi access point when non-equal channel uses obviously are greater than situation during same channel; Outside this Distance l imit, two WiFi access points can increase mutual interference when same channel uses, and can reduce mutual interference when non-equal channel uses.
For this reason, when two WiFi access point apparatus need to combinationally use, this two WiFi access point apparatus are connected by communication interface, now can think that the distance between these two WiFi access point apparatus is less than certain setpoint distance limit value, then by the channel of two WiFi access points is arranged to unanimously, two WiFi access points are combinationally used on same channel, thus reduce closely combinationally use in interference each other.
Theoretically, this setpoint distance limit value infinite approach null value, also namely nested against one another or when being superimposed at two WiFi access point apparatus, think that the distance between two WiFi access point apparatus is less than this setpoint distance limit value.
With a WiFi access point for mobile access point, for the 2nd WiFi access point for fixed access point is described.Mobile access point and fixed access point are mutual by the communication interface that predefined is good, and this communication interface can be USB wired communication interface, also can be bluetooth, the wireless communication interface such as infrared.When two WiFi access point USB interface are communicated with, two WiFi access points carry out communication by AT order (ATCommands).
When mobile access point moves into, mobile access point is communicated with fixed access point USB, now can think that both are less than setpoint distance limit value at distance, mobile access point obtains the channel information of fixed access point equipment by AT order, the method obtained can be fixed access point initiatively by the reporting channel information of oneself to mobile access point, also can be that mobile access point sends request to fixed access point, fixed access point replys oneself channel information to mobile access point according to this request.Then mobile access point is according to the channel information of fixed access point obtained, and forces the channel of oneself to be arranged to consistent with the channel of fixed access point, and combinationally uses with fixed access point equipment on fixed access point device channel after restarting or after direct self-inspection.
It should be noted that, mobile access point force the channel of oneself is arranged to consistent with the channel of fixed access point before, intrinsic channel information before mobile access point is necessary to combinationally use oneself stores, so that mobile access point still can get oneself intrinsic channel information when using alone, and carries out work on the channel that oneself is intrinsic.
When mobile access point shifts out, disconnect fixed access point and be communicated with the USB between mobile access point, now can think that both are greater than setpoint distance limit value at distance, in order to not affect effect when using separately after the two separates, the method for the embodiment of the present invention also comprises:
Mobile access point obtains oneself intrinsic channel information from storage, and it is consistent that oneself current channel is arranged to the channel intrinsic with oneself, is then used alone on the channel that oneself is intrinsic.
Due to outside setpoint distance limit value, two interference of WiFi access point when non-equal channel are less than interference during same channel, therefore when mobile access point shifts out fixed access point, mobile access point is by turning back to oneself intrinsic channel, and work alone on a different channel with fixed access point, reduce interference.
It should be noted that, for guaranteeing the effect that WiFi access point apparatus combinationally uses and is used alone separately, reduce interference, WiFi access point can be in due course, whether unanimously with oneself intrinsic channel such as detect oneself current channel at set intervals, if consistent, illustrate and do not carry out with operation frequently, now can by reduce with operation frequently closely combinationally use in interference each other; If detect oneself current channel and oneself intrinsic channel is inconsistent, then illustrate and carried out with operation frequently, be now used alone reduce and other WiFi access point interference each other by returning to oneself intrinsic channel.
As shown in Figure 2, a kind of structural representation of the WiFi access point apparatus that the embodiment of the present invention provides, comprising:
Whether detecting unit 21, be communicated with other WiFi access point apparatus for detecting communication interface;
First acquiring unit 22, during for detecting that communication interface is communicated with between other WiFi access point apparatus at described detecting unit, obtains the channel information of other WiFi access point apparatus described;
First setting unit 23, consistent with the channel of other WiFi access point apparatus described for oneself current channel is arranged to;
Combinationally use unit 24, combinationally use with other WiFi access point apparatus described on the channel at other WiFi access point apparatus described.
Such as, when a WiFi access point detects that USB interface is communicated with the 2nd WiFi access point, the channel information of described 2nd WiFi access point is obtained by AT order.Due to the interference when interference of WiFi access point apparatus when non-equal channel is obviously greater than cochannel within closely, therefore when two WiFi access points are communicated with by communication interface, can think that distance is therebetween less than setpoint distance limit value, now by above-mentioned with frequently operation can reduce closely combinationally use in interference each other, reduce data packetloss and re-transmission, improve efficiency of transmission.
Further, as shown in Figure 3, the another kind of structure chart of the WiFi access point apparatus that the embodiment of the present invention provides, can also comprise:
Memory cell 30, for storing oneself intrinsic channel information.
Due to WiFi access point apparatus with other WiFi access point apparatus separate use time, still need to carry out work on the channel that oneself is intrinsic, to ensure effect during independent use.Therefore, before carrying out with operation frequently, be necessary that the channel information by memory cell 30 is intrinsic to oneself stores, still can know when using alone the channel information that oneself is intrinsic.
Further, still see Fig. 3, the another kind of structure chart of the WiFi access point apparatus that the embodiment of the present invention provides, can also comprise:
Second acquisition unit 31, during for detecting that at described detecting unit 21 communication interface disconnection is communicated with other WiFi access point apparatus described, obtains oneself intrinsic channel information from described memory cell 30;
Second setting unit 32, consistent for oneself current channel is arranged to the channel intrinsic with oneself;
Be used alone unit 33, for being used alone on the channel that oneself is intrinsic.
Due to outside setpoint distance limit value, interference between WiFi access point apparatus when non-equal channel is less than interference during same channel, therefore when by detecting unit 21, WiFi access point apparatus detects that communication interface disconnection is communicated with other WiFi access point apparatus described, can think that distance is therebetween greater than setpoint distance limit value, now from described memory cell 30, obtain oneself intrinsic channel information by second acquisition unit 31, and it is consistent by the second setting unit 32, oneself current channel to be arranged to the channel intrinsic with oneself, thus by turning back to oneself intrinsic operate on channels, be used alone on the channel that oneself is intrinsic reduce interference by being used alone unit 33.
As shown in Figure 4, the system that a kind of WiFi access point apparatus that the embodiment of the present invention provides combinationally uses, comprise a WiFi access point apparatus 100 and the 2nd WiFi access point apparatus 200, wherein, a described WiFi access point apparatus is when detecting that communication interface is communicated with described 2nd WiFi access point apparatus, a described WiFi access point apparatus obtains the channel information of described 2nd WiFi access point apparatus, and oneself current channel is arranged to consistent with the channel of described 2nd WiFi access point apparatus, then combinationally use with described 2nd WiFi access point apparatus on the channel of described 2nd WiFi access point apparatus.
Be understandable that, in the system that the WiFi access point apparatus of the embodiment of the present invention combinationally uses, one WiFi access point apparatus 100 and the 2nd WiFi access point apparatus 200 are the equipment of equity completely, when the two communication is communicated with, being not limited to an only WiFi access point apparatus carries out above-mentioned with operation frequently, 2nd WiFi access point apparatus can carry out above-mentioned with operation frequently equally, oneself current channel is arranged to consistent with the channel of a described WiFi access point apparatus, then at the operate on channels of a described WiFi access point apparatus.Certainly, the WiFi access point apparatus carried out with operation is frequently called mobile WiFi access point by usually in practice, and another WiFi access point apparatus in system is called fixing WiFi access point.
For do not affect the system that combinationally uses separately after WiFi access point apparatus use separately time effect, the system that the WiFi access point apparatus that the embodiment of the present invention provides combinationally uses, also should proceed as follows: a described WiFi access point apparatus is when detecting that communication interface disconnection is communicated with described 2nd WiFi access point apparatus, a described WiFi access point apparatus passes through to obtain oneself intrinsic channel information from storage, and it is consistent that oneself current channel is arranged to the channel intrinsic with oneself, is then used alone on the channel that oneself is intrinsic.
Due within setpoint distance limit value, two interference of WiFi access point when non-equal channel are obviously greater than situation during same channel; And outside this setpoint distance limit value, two interference of WiFi access point when same channel are obviously greater than situation during non-equal channel.Therefore a WiFi access point apparatus to communicate with the 2nd WiFi access point apparatus be communicated with time, now can think that distance is therebetween less than setpoint distance limit value, by carry out with frequently operation can reduce closely combinationally use in interference each other, and a WiFi access point apparatus and the 2nd WiFi access point apparatus disconnect communicate be communicated with time, now can think that distance is therebetween greater than setpoint distance limit value, again by returning to respective intrinsic operate on channels, thus interference when WiFi access point apparatus works alone separately can be reduced.
Above-mentioned specific embodiment is not in order to limit the present invention; for those skilled in the art; under the premise without departing from the principles of the invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.