A kind of method and system adjusting router signal cover
Technical field
The present invention relates to wireless communication field more particularly to a kind of method for adjusting router signal cover and it is
System.
Background technique
Router is the equipment for connecting each local area network, wide area network in internet, it can be automatically selected according to the case where channel
It is routed with setting, with optimal path, sends signal by tandem.Router is the hinge of internet, multiple for connecting
Logically separate network, so-called logical network are to represent an individual network or a subnet.When data are from a son
It when net is transferred to another subnet, can be completed by the routing function of router, i.e., wireless router is considered as one turn
Send out device, by the broadband network signal picked out on wall in family by antenna be transmitted near wireless terminal, such as laptop,
Support mobile phone, the ipad etc. of wifi.
With the fast development of wireless communication technique, wireless router has been widely used for each occasion, such as family, public affairs
The occasions such as department, market, every household has the demand to WIFI and wireless router at present, and router has become one must
Palpus product, however, existing wireless router is typically all that collocation omnidirectional antenna (shows as 360 all in the horizontal direction on figure
Even radiation, that is, usually described non-directional, shows as the wave beam of one fixed width on height pattern) carry out it is comprehensive
Signal radiation.However under normal circumstances, wireless router can all be placed on corner location, and the signal of such omnidirectional radiation is one
Determine to be wasted in angular range, and under the scene of part, user does not need wireless router yet and carries out gross radiation, only
It needs signal radiation range to cover up to certain area to be sufficient, although may be implemented to utilize directional aerial and complete at present
Improve wireless router signal strength to the collocation of antenna, but still do not save omnidirectional antenna, under certain scene still
The radiation signal energy that so will cause certain angles is wasted.
The patent of Publication No. CN 104917537A discloses a kind of wireless router sender unit and belongs to without letter road
By device sender unit field, structure mainly by: 1 repacking wireless router, signal transmitting tower two large divisions forms;Signal
Launching tower is by: 2 fixed orientation antennas, 3 directional rotating antennas, 4 omnidirectional antennas letter, 6 telecommunications bars, 5 direction rotating control assemblies, 7 feedbacks
Line composition;Its feature is mainly 2 fixed orientation antennas, 3 spin orientations that 1 repacking passes through 7 feeder lines and launching tower without letter router
Antenna, the connection of 4 omnidirectional antennas, then by the direction of direction rotating control assembly 3 directional rotating antennas of adjusting, it is finally reached raising
Signal covering surface concentrates signal and enhances the effect of signal stabilization.This method combination directional aerial and omnidirectional antenna are certain
Signal can be concentrated in degree and enhances the stability of signal, but still not can avoid the radiation signal energy of certain angles
Waste.
Summary of the invention
It is a kind of based on broad beam antenna adjusting router letter the purpose of the present invention is in view of the drawbacks of the prior art, providing
The method and system of number coverage area, flexibly actively adjust radiation scope according to the actual situation, reduce radiation signal energy
Waste, can also reduce the interference effect to other wireless signals of surrounding, while increasing the intensity of radiation signal.
In order to achieve the goal above, the invention adopts the following technical scheme:
A method of router signal cover is adjusted, comprising steps of
S1. it establishes and is wirelessly connected with terminal device;
S2. the location information of the terminal device is determined and according to described according to the signal strength that the terminal device is fed back
The beam position of the location information adjustment broad beam antenna of terminal location.
Further, the signal strength according to terminal device feedback determines the location information of the terminal device
And the specific steps of the beam position of broad beam antenna are adjusted according to the location information of the terminal location are as follows:
A1. it is strong to detect the signal that the terminal device is fed back between the opposite broad beam antenna of every a pair of of beam position for poll
The difference of degree;
A2. the maximum broad beam antenna pair of signal strength difference is determined;
A3. the terminal device feedback signal strength of the maximum broad beam antenna centering of the signal strength difference is big
Broad beam antenna beam position described in terminal device position.
Further, if the signal strength of the terminal device is less than preset signal strength threshold value, by more broad beams
The position of terminal device described in the beam position of antenna.
Further, it further comprises the steps of:
Record has adjusted the position grouping of the beam position of broad beam antenna every time;
Judge whether the frequency of the position grouping appearance reaches predeterminated frequency and whether duration reaches default
Duration;
If so, the position grouping is set as common combinations.
Further, it further comprises the steps of:
Judgement is presently in whether the period is the User Activity less period;
If so, whether the position grouping of the beam position of detection broad beam antenna is default combination;
If it is not, the position grouping of the beam position of the broad beam antenna is then adjusted to default combination.
Correspondingly, also providing a kind of system for adjusting router signal cover, comprising:
Link block is wirelessly connected for establishing with terminal device;
Adjustment module, the signal strength for being fed back according to the terminal device determine the location information of the terminal device
And the beam position of broad beam antenna is adjusted according to the location information of the terminal location.
Further, the signal strength according to terminal device feedback determines the location information of the terminal device
And the specific steps of the beam position of broad beam antenna are adjusted according to the location information of the terminal location are as follows:
A1. it is strong to detect the signal that the terminal device is fed back between the opposite broad beam antenna of every a pair of of beam position for poll
The difference of degree;
A2. the maximum broad beam antenna pair of signal strength difference is determined;
A3. the terminal device feedback signal strength of the maximum broad beam antenna centering of the signal strength difference is big
Broad beam antenna beam position described in terminal device position.
Further, if the signal strength of the terminal device is less than preset signal strength threshold value, by more broad beams
The position of terminal device described in the beam position of antenna.
Further, further includes:
Logging modle, for recording the position grouping for having adjusted the beam position of broad beam antenna every time;
First judgment module, for judging whether frequency that the position grouping occurs reaches predeterminated frequency and lasting
Whether the time reaches preset duration;
Setting module, by institute when frequency and duration for occurring in the position grouping reach default value
It states position grouping and is set as common combinations.
Further, further includes:
Second judgment module is presently in whether the period is the User Activity less period for judging;
Detection module, for be presently in the period be in the User Activity less period when detection broad beam antenna
Whether the position grouping of beam position is default combination;
Adjust module, for be presently in the period be in the User Activity less period when and broad beam antenna wave
The position grouping of the beam position of the broad beam antenna is adjusted to default by the position grouping of Shu Zhixiang when not being default combination
Combination.
Compared with prior art, the invention has the following advantages that
(1) location information of the terminal device is determined and according to the terminal by the signal strength that terminal device is fed back
The beam position of the location information adjustment broad beam antenna of position realizes flexible active accommodation wireless router according to the actual situation
Radiation scope, reduce radiation signal energy waste.
(2) by the wave of more broad beam antennas when by the signal strength in terminal device less than preset signal strength threshold value
The signal strength in enhancing terminal device present position region is realized in the position of terminal device described in Shu Zhixiang, reduces and other nothings
Line signal interferes with each other, and guarantees user network experience.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram for adjusting router signal cover that embodiment one provides;
Fig. 2 is wireless router broad beam antenna cell schematics of the present invention;
Fig. 3 is wireless router broad beam antenna unit switch combination diagram of the present invention;
Fig. 4 is a kind of system construction drawing for adjusting router signal cover that embodiment one provides;
Fig. 5 is a kind of method flow diagram for adjusting router signal cover that embodiment two provides;
Fig. 6 is a kind of system construction drawing for adjusting router signal cover that embodiment two provides.
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
With the development of internet technology, the terminal device for needing to network is more and more, wireless network due to its have it is larger
Flexibility, also increasingly become the object that people are favored, the purpose of the present invention is in view of the drawbacks of the prior art, provide
A kind of method and system being adjusted router signal cover based on broad beam antenna, are flexibly actively obtained and are adjusted according to the actual situation
Whole radiation scope reduces the waste of radiation signal energy, can also reduce the interference effect to other wireless signals of surrounding, simultaneously
Increase the intensity of radiation signal.
Embodiment one
The present embodiment provides a kind of methods for adjusting router signal cover, comprising steps of
S11. it establishes and is wirelessly connected with terminal device;
S12. the location information of the terminal device is determined and according to institute according to the signal strength that the terminal device is fed back
State the beam position of the location information adjustment broad beam antenna of terminal location.
Optionally, the terminal device be the smart machine with wireless connecting function, as mobile phone, laptop,
IPad etc..
The method executing subject of the adjusting router signal cover of the present embodiment is wireless router.
It should be noted that the antenna arranged in pairs or groups of the wireless router in the present embodiment be can 360 ° that broad beam is freely rotated is complete
To antenna.
Specifically, wireless router is omni directional radiation pattern, terminal device scans to wireless router under original state
Connection is established after signal with wireless router, then wireless router determines the end according to the signal strength that terminal device is fed back
The location information of end equipment, wireless router (are adjusted according to the beam position of the location information adjustment broad beam antenna
The signal cover of wireless router).
Further, the signal strength according to terminal device feedback determines the location information of the terminal device
And the specific steps of the beam position of broad beam antenna are adjusted according to the location information of the terminal location are as follows:
A1. it is strong to detect the signal that the terminal device is fed back between the opposite broad beam antenna of every a pair of of beam position for poll
The difference of degree;
A2. the maximum broad beam antenna pair of signal strength difference is determined;
A3. the terminal device feedback signal strength of the maximum broad beam antenna centering of the signal strength difference is big
Broad beam antenna beam position described in terminal device position.
Specifically, the original wave beam of the omnidirectional antenna in the wireless router of the present embodiment is arranged successively, global radiation area
For the antenna combination of omnidirectional, control switch, power splitter composition.Antenna combination in the present embodiment mainly has a standing wave by 2n
The antenna element of beam width is constituted, as shown in Fig. 2, being wireless router broad beam antenna cell schematics of the present invention, if each
The beam coverage of antenna is Ap, and original covering can achieve 360 ° of coverings.
As shown in Fig. 2, Ap and An+p, coverage area is just opposite, as shown in figure 3, being the wide wave of wireless router of the present invention
Beam antenna unit switch combination diagram.
As shown in figure 3, the just opposite antenna sets of this pair of of coverage area of Ap and An+p are controlled by one group of switch arrays.
Wherein, 0 part indicates where there is power splitters, and when SW1 is connected to 0,0 end of another two can only be assigned to input general power respectively
Half, power splitter is not present in 1 part, and when SW1 is connected to 1, the power at 1 end is all whole power of input.
For the switch state of SW1/SW2/SW3 by chip controls, (SW1, SW2, SW3) represents the switch to inductive switch at this time
State, such as (0,0,0) represent each switch and have been connected to 0 end.
Firstly, wireless router poll detects the terminal device between the opposite broad beam antenna of every a pair of of beam position
The difference of the signal strength of feedback.Detailed process are as follows: detect the first another piece antenna terminal equipment just opposite with it first
The signal strength of feedback.As the switch state of centimetre switch A1, An+1 are set as (0,0,1), A1 carries out signal covering, user at this time
The signal strength of feedback is RSSI (A1);Then switch state is changed to (0,1,0) An+1 progress at this time signal covering, and user is anti-
The signal strength of feedback is RSSI (An+1);Then the difference of RSSI (A1) and RSSI (An+1) will be calculated.And so on poll inspection
Survey the difference of the signal strength between every a pair of of antenna.
After obtaining the signal strength difference between every a pair of of antenna, so that it may determine wherein maximum a pair of of the broad beam of difference
It is directed toward opposite broad beam antenna, and is directed toward in opposite broad beam antenna in this pair of of broad beam and wherein receives terminal device
The region of the big broad beam antenna signal covering of the signal strength of feedback is just closest to region (the i.e. terminal device of terminal device
Position), then by the beam position of the broad beam antenna region, simultaneously switch off wherein receive terminal device feedback letter
Number big broad beam antenna of intensity, the broad beam antenna automatic adjustment wave beam that thus wireless router can be made to be arranged in pairs or groups refer to
To, it is allowed to concentrate on the scope of activities (i.e. region described in terminal device) of user, and without width in the zone of action of non-user
The wave cover of beam antenna.Such as: confirmation broad beam antenna is maximum to Ap, the signal difference of An+p terminal device feedback
, and wherein broad beam antenna Ap receive terminal device feedback signal strength it is big, then the position of terminal device is just deposited
It is the coverage area of Ap, just to Ap, the switch combination of An+p is adjusted, and is (1,1,0), i.e. An+p is no longer attached to radiation
In range, i.e., An+p is no longer attached in radiation scope, and only Ap and input connect, and the radiation energy of Ap is no longer input
The half of power, and it is whole input powers.
Further, if the signal strength of the terminal device is less than preset signal strength threshold value, by more broad beams
The position of terminal device described in the beam position of antenna.The signal strength of position described in terminal device thus can be enhanced, protect
Demonstrate,prove user network experience.
Correspondingly, the present embodiment also provides a kind of system for adjusting router signal cover, as shown in Figure 4, comprising:
Link block 11 is wirelessly connected for establishing with terminal device;
Adjustment module 12, the signal strength for being fed back according to the terminal device determine the position letter of the terminal device
Cease and adjust according to the location information of the terminal location beam position of broad beam antenna.
Further, the signal strength according to terminal device feedback determines the location information of the terminal device
And the specific steps of the beam position of broad beam antenna are adjusted according to the location information of the terminal location are as follows:
A1. it is strong to detect the signal that the terminal device is fed back between the opposite broad beam antenna of every a pair of of beam position for poll
The difference of degree;
A2. the maximum broad beam antenna pair of signal strength difference is determined;
A3. the terminal device feedback signal strength of the maximum broad beam antenna centering of the signal strength difference is big
Broad beam antenna beam position described in terminal device position.
Further, if the signal strength of the terminal device is less than preset signal strength threshold value, by more broad beams
The position of terminal device described in the beam position of antenna.
The present embodiment by the signal strength that terminal device is fed back determines the location information of the terminal device and according to institute
The beam position for stating the location information adjustment broad beam antenna of terminal location realizes that flexible active accommodation is wireless according to the actual situation
The radiation scope of router reduces the waste of radiation signal energy, reduces and interferes with each other with other wireless signals, guarantees to use
Family web experience.
Embodiment two
The present embodiment provides a kind of methods for adjusting router signal cover, as described in Figure 5, comprising steps of
S21. it establishes and is wirelessly connected with terminal device;
S22. the location information of the terminal device is determined and according to institute according to the signal strength that the terminal device is fed back
State the beam position of the location information adjustment broad beam antenna of terminal location.
S23. the position grouping for having adjusted the beam position of broad beam antenna every time is recorded;
S24. judge whether the frequency of the position grouping appearance reaches predeterminated frequency and whether duration reaches
Preset duration, if so, jumping to step S25.
S25. the position grouping is set as common combinations.
Optionally, the terminal device be the smart machine with wireless connecting function, as mobile phone, laptop,
IPad etc..
The method executing subject of the adjusting router signal cover of the present embodiment is wireless router.
It should be noted that the antenna arranged in pairs or groups of the wireless router in the present embodiment be can 360 ° that broad beam is freely rotated is complete
To antenna.
Specifically, wireless router is omni directional radiation pattern, terminal device scans to wireless router under original state
Connection is established after signal with wireless router, then wireless router determines the end according to the signal strength that terminal device is fed back
The location information of end equipment, wireless router (are adjusted according to the beam position of the location information adjustment broad beam antenna
The signal cover of wireless router).
Further, the signal strength according to terminal device feedback determines the location information of the terminal device
And the specific steps of the beam position of broad beam antenna are adjusted according to the location information of the terminal location are as follows:
A1. it is strong to detect the signal that the terminal device is fed back between the opposite broad beam antenna of every a pair of of beam position for poll
The difference of degree;
A2. the maximum broad beam antenna pair of signal strength difference is determined;
A3. the terminal device feedback signal strength of the maximum broad beam antenna centering of the signal strength difference is big
Broad beam antenna beam position described in terminal device position.
Specifically, the original wave beam of the omnidirectional antenna in the wireless router of the present embodiment is arranged successively, global radiation area
For the antenna combination of omnidirectional, control switch, power splitter composition.Antenna combination in the present embodiment mainly has a standing wave by 2n
The antenna element of beam width is constituted, as shown in Fig. 2, being wireless router broad beam antenna cell schematics of the present invention, if each
The beam coverage of antenna is Ap, and original covering can achieve 360 ° of coverings.
As shown in Fig. 2, Ap and An+p, coverage area is just opposite, as shown in figure 3, being the wide wave of wireless router of the present invention
Beam antenna unit switch combination diagram.
As shown in figure 3, the just opposite antenna sets of this pair of of coverage area of Ap and An+p are controlled by one group of switch arrays.
Wherein, 0 part indicates where there is power splitters, and when SW1 is connected to 0,0 end of another two can only be assigned to input general power respectively
Half, power splitter is not present in 1 part, and when SW1 is connected to 1, the power at 1 end is all whole power of input.
For the switch state of SW1/SW2/SW3 by chip controls, (SW1, SW2, SW3) represents the switch to inductive switch at this time
State, such as (0,0,0) represent each switch and have been connected to 0 end.
Firstly, wireless router poll detects the terminal device between the opposite broad beam antenna of every a pair of of beam position
The difference of the signal strength of feedback.Detailed process are as follows: detect the first another piece antenna terminal equipment just opposite with it first
The signal strength of feedback.As the switch state of centimetre switch A1, An+1 are set as (0,0,1), A1 carries out signal covering, user at this time
The signal strength of feedback is RSSI (A1);Then switch state is changed to (0,1,0) An+1 progress at this time signal covering, and user is anti-
The signal strength of feedback is RSSI (An+1);Then the difference of RSSI (A1) and RSSI (An+1) will be calculated.And so on poll inspection
Survey the difference of the signal strength between every a pair of of antenna.
After obtaining the signal strength difference between every a pair of of antenna, so that it may determine wherein maximum a pair of of the broad beam of difference
It is directed toward opposite broad beam antenna, and is directed toward in opposite broad beam antenna in this pair of of broad beam and wherein receives terminal device
The region of the big broad beam antenna signal covering of the signal strength of feedback is just closest to region (the i.e. terminal device of terminal device
Position), then by the beam position of the broad beam antenna region, simultaneously switch off wherein receive terminal device feedback letter
Number big broad beam antenna of intensity, the broad beam antenna automatic adjustment wave beam that thus wireless router can be made to be arranged in pairs or groups refer to
To, it is allowed to concentrate on the scope of activities (i.e. region described in terminal device) of user, and without width in the zone of action of non-user
The wave cover of beam antenna.Such as: confirmation broad beam antenna is maximum to Ap, the signal difference of An+p terminal device feedback
, and wherein broad beam antenna Ap receive terminal device feedback signal strength it is big, then the position of terminal device is just deposited
It is the coverage area of Ap, just to Ap, the switch combination of An+p is adjusted, and is (1,1,0), i.e. An+p is no longer attached to radiation
In range, i.e., An+p is no longer attached in radiation scope, and only Ap and input connect, and the radiation energy of Ap is no longer input
The half of power, and it is whole input powers.
The present embodiment determines the location information and root of the terminal device according to the signal strength that the terminal device is fed back
It also will record after beam position according to the location information adjustment broad beam antenna of the terminal location and adjusted broad beam day every time
The position grouping of the beam position of line records the position of the beam position of all broad beam antennas in wireless router, so
Judge whether the frequency of position grouping appearance reaches predeterminated frequency and whether duration reaches preset duration afterwards, if
The frequency and duration that the position grouping occurs reach preset threshold value (the i.e. position of the broad beam antenna beam position
Combination is exactly the more region of User Activity), then the position grouping is set as common combinations.
Further, it further comprises the steps of:
Judgement is presently in whether the period is the User Activity less period;
If so, whether the position grouping of the beam position of detection broad beam antenna is default combination;
If it is not, the position grouping of the beam position of the broad beam antenna is then adjusted to default combination.
Specifically, wireless router can automatically switch operating mode, in the User Activity more period, such as daytime
The position grouping of the beam position of broad beam antenna will be switched into common combinations mode automatically, and if at current slot
In User Activity less period, such as night, wireless router will be by the set of locations of the beam position of broad beam antenna
Conjunction is adjusted to default combination.
Correspondingly, the present embodiment also provides a kind of system for adjusting router signal cover, as shown in Figure 6, comprising:
Link block 21 is wirelessly connected for establishing with terminal device;
Adjustment module 22, the signal strength for being fed back according to the terminal device determine the position letter of the terminal device
Cease and adjust according to the location information of the terminal location beam position of broad beam antenna.
Logging modle 23, for recording the position grouping for having adjusted the beam position of broad beam antenna every time;
First judgment module 24, for judging whether frequency that the position grouping occurs reaches predeterminated frequency and continue
Time whether reach preset duration;
Setting module 25, will when frequency and duration for occurring in the position grouping reach default value
The position grouping is set as common combinations.
Further, the signal strength according to terminal device feedback determines the location information of the terminal device
And the specific steps of the beam position of broad beam antenna are adjusted according to the location information of the terminal location are as follows:
A1. it is strong to detect the signal that the terminal device is fed back between the opposite broad beam antenna of every a pair of of beam position for poll
The difference of degree;
A2. the maximum broad beam antenna pair of signal strength difference is determined;
A3. the terminal device feedback signal strength of the maximum broad beam antenna centering of the signal strength difference is big
Broad beam antenna beam position described in terminal device position.
Further, if the signal strength of the terminal device is less than preset signal strength threshold value, by more broad beams
The position of terminal device described in the beam position of antenna.
Further, further includes:
Second judgment module is presently in whether the period is the User Activity less period for judging;
Detection module, for be presently in the period be in the User Activity less period when detection broad beam antenna
Whether the position grouping of beam position is default combination;
Adjust module, for be presently in the period be in the User Activity less period when and broad beam antenna wave
The position grouping of the beam position of the broad beam antenna is adjusted to default by the position grouping of Shu Zhixiang when not being default combination
Combination.
The present embodiment by the signal strength that terminal device is fed back determines the location information of the terminal device and according to institute
The beam position for stating the location information adjustment broad beam antenna of terminal location realizes that flexible active accommodation is wireless according to the actual situation
The radiation scope of router reduces the waste of radiation signal energy, reduces and interferes with each other with other wireless signals, guarantees to use
Family web experience promotes user experience.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.