Summary of the invention
The methods, devices and systems that the embodiment of the invention provides a kind of WiFi access point apparatus to be used in combination can reduce interference each other in closely being used in combination.
The embodiment of the invention adopts following technical scheme:
The method that a kind of WiFi access point apparatus is used in combination comprises:
The one WiFi access point apparatus obtains the channel information of described the 2nd WiFi access point apparatus when detecting communication interface and be communicated with the 2nd WiFi access point apparatus;
A described WiFi access point apparatus is arranged to own current channel consistent with the channel of described the 2nd WiFi access point apparatus;
A described WiFi access point apparatus is used in combination with described the 2nd WiFi access point apparatus on the channel of described the 2nd WiFi access point apparatus.
A kind of WiFi access point apparatus comprises:
Detecting unit is used to detect communication interface and whether is communicated with other WiFi access point apparatus;
First acquiring unit is used for obtaining the channel information of described other WiFi access point apparatus when described detecting unit detects communication interface and is communicated with other WiFi access point apparatus;
First is provided with the unit, is used for being arranged to own current channel consistent with the channel of described other WiFi access point apparatus;
Be used in combination the unit, be used on the channel of described other WiFi access point apparatus, being used in combination with described other WiFi access point apparatus.
The system that a kind of WiFi access point apparatus is used in combination, comprise a WiFi access point apparatus and the 2nd WiFi access point apparatus, wherein, a described WiFi access point apparatus is when detecting communication interface and be communicated with described the 2nd WiFi access point apparatus, a described WiFi access point apparatus obtains the channel information of described the 2nd WiFi access point apparatus, and will own current channel be arranged to consistently with the channel of described the 2nd WiFi access point apparatus, on the channel of described the 2nd WiFi access point apparatus, be used in combination then with described the 2nd WiFi access point apparatus.
The technique scheme that is provided by the embodiment of the invention as can be known, when two WiFi access point apparatus communication interfaces are communicated with, can think that distance between the two is less than the setpoint distance limit value, because the interference the when interference of WiFi access point apparatus when non-same channel is obviously greater than cochannel in closely, therefore a WiFi access point apparatus is by obtaining the channel information of the 2nd WiFi access point apparatus, and be arranged to own current channel consistent with the channel of described the 2nd WiFi access point apparatus, on the channel of described the 2nd WiFi access point apparatus, be used in combination then with described the 2nd WiFi access point apparatus, thereby can reduce interference each other in closely being used in combination, reduce data packet loss 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 invention provides is used in combination comprises:
Step 11, a WiFi access point apparatus are obtained the channel information of described the 2nd WiFi access point apparatus when detecting communication interface and be communicated with the 2nd WiFi access point apparatus;
Step 12, a described WiFi access point apparatus is arranged to own current channel consistent with the channel of described the 2nd WiFi access point apparatus;
Step 13, a described WiFi access point apparatus are used in combination with described the 2nd WiFi access point apparatus on the channel of described the 2nd WiFi access point apparatus.
Generally, when two WiFi access points are used, we can avoid identical channel as far as possible, to prevent the interference on the same channel, but through testing authentication, find there is one apart from limit value, within this is apart from limit value, the situation of two interference of WiFi access point when non-same channel uses during obviously greater than same channel; This apart from limit value outside, two WiFi access points can increase mutual interference when same channel uses, and can reduce mutual interference when non-same channel uses.
For this reason, when two WiFi access point apparatus need be used in combination, connect this two WiFi access point apparatus by communication interface, can think that distance between these two WiFi access point apparatus is less than certain setpoint distance limit value this moment, then by the channel of two WiFi access points is arranged to unanimity, make two WiFi access points on same channel, be used in combination, thus reduce closely be used in combination in each other interference.
Theoretically, this setpoint distance limit value is infinitely near null value, and is also promptly nested against one another or when being superimposed at two WiFi access point apparatus, thinks that distance between two WiFi access point apparatus is less than this setpoint distance limit value.
With a WiFi access point is mobile access point, is that fixed access point is that example describes with the 2nd WiFi access point.Mobile access point and fixed access point are mutual by the good communication interface of predefined, and this communication interface can be the USB wired communication interface, also can be bluetooth, wireless communication interface such as infrared.When two WiFi access point USB interface were communicated with, two WiFi access points carried out communication by AT order (ATCommands).
When mobile access point moves into, mobile access point is communicated with fixed access point USB, can think that both distances are less than the setpoint distance limit value this moment, mobile access point obtains the channel information of fixed access point equipment by the AT order, the method of obtaining can be that fixed access point is initiatively given mobile access point with the reporting channel information of oneself, also can be that mobile access point sends request to fixed access point, the channel information that fixed access point is replied oneself according to this request be given mobile access point.Mobile access point is according to the channel information of the fixed access point that obtains then, and pressure is arranged to the channel of oneself consistent with the channel of fixed access point, and is used in combination with fixed access point equipment on the fixed access point device channel after restarting back or direct self check.
Need to prove, force the channel of oneself is arranged to before the channel of fixed access point is consistent at mobile access point, mobile access point is necessary the intrinsic channel information before oneself being used in combination is stored, so that mobile access point still can get access to own intrinsic channel information when using alone, and on own intrinsic channel, carry out work.
When mobile access point shifts out, disconnect fixed access point and is communicated with USB between the mobile access point, can think both distances this moment greater than the setpoint distance limit value, the effect when using separately after the two separates in order not influence, the method for the embodiment of the invention also comprises:
Mobile access point obtains own intrinsic channel information from storage, and will own current channel be arranged to consistent with own intrinsic channel, use separately on own intrinsic channel then.
Because outside the setpoint distance limit value, the interference of two interference of WiFi access point when non-same channel during less than same channel, therefore when mobile access point shifts out fixed access point, mobile access point is by turning back to own intrinsic channel, and work alone on different channels with fixed access point, reduce interference.
Need to prove, be the effect of guaranteeing that the WiFi access point apparatus is used in combination and using separately separately, reduce interference, the WiFi access point can be in due course, whether for example detect own current channel at set intervals consistent with own intrinsic channel, if unanimity then illustrate was not carried out with operation frequently, this moment can by reduce with operation frequently closely be used in combination in each other interference; If it is inconsistent with own intrinsic channel to detect own current channel, then explanation had been carried out with operation frequently, and can make separately and be used for reducing and other WiFi access point interference each other this moment by returning to own intrinsic channel.
As shown in Figure 2, a kind of structural representation of the WiFi access point apparatus that the embodiment of the invention provides comprises:
Detecting unit 21 is used to detect communication interface and whether is communicated with other WiFi access point apparatus;
First acquiring unit 22 is used for obtaining the channel information of described other WiFi access point apparatus when described detecting unit detects communication interface and is communicated with between other WiFi access point apparatus;
First is provided with unit 23, is used for being arranged to own current channel consistent with the channel of described other WiFi access point apparatus;
Be used in combination unit 24, be used on the channel of described other WiFi access point apparatus, being used in combination with described other WiFi access point apparatus.
For example, when a WiFi access point detects USB interface and is communicated with the 2nd WiFi access point, obtain the channel information of described the 2nd WiFi access point by the AT order.Because the interference the when interference of WiFi access point apparatus when non-same channel is obviously greater than cochannel in closely, therefore when two WiFi access points are communicated with by communication interface, can think that distance between the two is less than the setpoint distance limit value, this moment by above-mentioned with operation frequently can reduce closely be used in combination in each other interference, reduce data packet loss 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 invention provides can also comprise:
Memory cell 30 is used to store own intrinsic channel information.
Because the WiFi access point apparatus is separating when using with other WiFi access point apparatus, still need carry out work on own intrinsic channel, the effect when guaranteeing independent the use.Therefore before carrying out, be necessary to store, so that when using alone, still can know own intrinsic channel information by 30 pairs of own intrinsic channel informations of memory cell with operation frequently.
Further, still referring to Fig. 3, the another kind of structure chart of the WiFi access point apparatus that the embodiment of the invention provides can also comprise:
Second acquisition unit 31 is used for detecting communication interface at described detecting unit 21 and disconnects when being communicated with described other WiFi access point apparatus, obtains oneself intrinsic channel information from described memory cell 30;
Second is provided with unit 32, is used for being arranged to own current channel consistent with own intrinsic channel;
Use unit 33 separately, be used on own intrinsic channel, using separately.
Because outside the setpoint distance limit value, the interference of interference between the WiFi access point apparatus when non-same channel during less than same channel, therefore the WiFi access point apparatus detects communication interface by detecting unit 21 and disconnects when being communicated with described other WiFi access point apparatus, can think that distance between the two is greater than the setpoint distance limit value, from described memory cell 30 obtain own intrinsic channel information by second acquisition unit 31 this moment, and by second unit 32 is set and is arranged to own current channel consistent with oneself intrinsic channel, thereby work by turning back on the own intrinsic channel, make separately on own intrinsic channel by independent use unit 33 to be used for reducing interference.
As shown in Figure 4, the system that a kind of WiFi access point apparatus that the embodiment of the invention provides is used in combination, 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 communication interface and be communicated with described the 2nd WiFi access point apparatus, a described WiFi access point apparatus obtains the channel information of described the 2nd WiFi access point apparatus, and will own current channel be arranged to consistently with the channel of described the 2nd WiFi access point apparatus, on the channel of described the 2nd WiFi access point apparatus, be used in combination then with described the 2nd WiFi access point apparatus.
Be understandable that, in the system that the WiFi of embodiment of the invention access point apparatus is used in combination, the one WiFi access point apparatus 100 and the 2nd WiFi access point apparatus 200 are reciprocity fully equipment, when the two communication is communicated with, only being not limited to, a WiFi access point apparatus carries out above-mentioned with operation frequently, the 2nd WiFi access point apparatus can carry out above-mentioned with operation frequently equally, own current channel is arranged to consistent, on the channel of a described WiFi access point apparatus, is worked then with the channel of a described WiFi access point apparatus.Certainly, we will carry out being called mobile WiFi access point with the WiFi access point apparatus of operation frequently usually in practice, and another WiFi access point apparatus in the system is called fixedly WiFi access point.
Effect when using separately for not influencing the separately back WiFi access point apparatus of the system that is used in combination, the system that the WiFi access point apparatus that the embodiment of the invention provides is used in combination, also should carry out following operation: a described WiFi access point apparatus disconnects when being communicated with described the 2nd WiFi access point apparatus detecting communication interface, a described WiFi access point apparatus from storage by obtaining own intrinsic channel information, and will own current channel be arranged to consistent with own intrinsic channel, use separately on own intrinsic channel then.
Because within the setpoint distance limit value, the situation of two interference of WiFi access point when non-same channel during obviously greater than same channel; And outside this setpoint distance limit value, the situation of two interference of WiFi access point when same channel during obviously greater than non-same channel.Therefore when a WiFi access point apparatus is communicated by letter connection with the 2nd WiFi access point apparatus, can think that distance between the two is less than the setpoint distance limit value this moment, by carry out with operation frequently can reduce closely be used in combination in each other interference, and disconnect when communicate by letter connection at a WiFi access point apparatus and the 2nd WiFi access point apparatus, can think that distance between the two is greater than the setpoint distance limit value this moment, work by returning on the intrinsic channel separately again, thus interference can reduce the WiFi access point apparatus and work alone separately the time.
Above-mentioned specific embodiment is not in order to restriction the present invention; for those skilled in the art; all under the prerequisite that does not break away from the principle of the invention, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.