The content of the invention
The present invention provides a kind of router feature collocation method and device, to solve to need user to pass through in the prior art
Page setup to carry out functional configuration, cumbersome, high to technical requirements of users technical problem to router.
On the one hand, the invention discloses a kind of router feature collocation method, including:
S100 monitors wireless signal strength;
S200 obtains change in signal strength data when monitoring that wireless signal strength changes;
Touch sensing data on the antenna of S300 collection routers, judge whether router antenna is touched, if so, entering
Enter next step;
The label for the antenna that S400 is touched according to the touch sensing data acquisition;
S500 carries out corresponding work(according to the label and change in signal strength data of the antenna touched to router
Can configuration.
Further, the step S500 includes:
S510 obtains the function that the antenna touched is used to configure according to the label of the antenna touched;
S520 carries out functional configuration according to the change in signal strength data to the router.
Further, the step S200 includes:S210 obtains signal intensity when monitoring that wireless signal strength reduces
Reduction amplitude and duration.
Further, the step S520 includes:
S521 judges that the signal intensity reduces amplitude whether in the range of default reference amplitude, if entering in next step
Suddenly;
S522 reduces the duration according to the signal intensity, and functional configuration is carried out to router.
Further, the functional configuration includes:Power adjusting, working band selection, mode of operation selection, bandwidth choosing
Select.
On the other hand, the invention also discloses a kind of router feature configuration device, including:Monitoring modular, for monitoring
Wireless signal strength;Acquisition module, for obtaining change in signal strength data and the label by touch antenna;Acquisition module, use
Touch sensing data on the antenna of collection router;Operation module, for entering under the control of control module to router
The corresponding functional configuration of row;Control module, during for being changed according to the monitoring module monitors to wireless signal strength, control
Make the acquisition module and obtain change in signal strength data, then pass through the acquisition module and gather touch on the antenna of router
Sensing data, when the control module judges that router antenna is touched, the day touched is obtained by the acquisition module
The label of line, and the operation module pair is controlled according to the label of the antenna touched and the change in signal strength data
Router carries out corresponding functional configuration.
Further, the control module, the label according to the antenna touched is additionally operable to, and then obtains the quilt
Touch the function that antenna is used to configure;Further according to the change in signal strength data, by the operation module to the route
Device carries out functional configuration.
Further, the acquisition module includes:Label acquisition submodule, for judging the road when the control module
When being touched by device antenna, the label of the antenna touched is obtained;Amplitude acquisition submodule, for when the monitoring modular
When monitoring that wireless signal strength reduces, obtaining signal intensity reduces amplitude;Time acquisition submodule, for when the monitoring mould
When block monitors that wireless signal strength reduces, obtaining signal intensity reduces the duration.
Further, the control module is satisfied the need according to according to the change in signal strength data by the operation module
Carrying out functional configuration by device includes:The control module judges that whether the signal intensity reduces amplitude in default reference amplitude
In the range of, if so, then reducing the duration according to the signal intensity, carrying out function to router by the operation module matches somebody with somebody
Put.
Further, the functional configuration includes:Power adjusting, working band selection, mode of operation selection, bandwidth choosing
Select.
The present invention is completed to router according to the label and change in signal strength data of the antenna touched got
Configuration, it is simple and convenient without by page configuration.And the method for changing signal intensity can change its characteristic using antenna is held
The principle of impedance, return loss etc. changes antenna received signal strength;The present invention by page configuration, user without that can be led to
Cross and hold different antenna realizations to the easy configuration of router, low to the skill set requirements of user and more efficient and convenient, used time
It is less.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into
One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
The invention discloses a kind of router feature collocation method, embodiment as shown in figure 1, including:
S100 monitors wireless signal strength;
S200 obtains change in signal strength data when monitoring that wireless signal strength changes;
Touch sensing data on the antenna of S300 collection routers, judge whether router antenna is touched, if so, entering
Enter next step;
The label for the antenna that S400 is touched according to the touch sensing data acquisition;
S500 carries out corresponding work(according to the label and change in signal strength data of the antenna touched to router
Can configuration.
In the present embodiment, whether touched by the change and router antenna that monitor wireless signal strength, according to being touched
Touch the label of antenna and change in signal strength data to carry out corresponding functional configuration to router.The label of antenna is different, right
The functional configuration answered is also different, such as, antenna 1 is used for the regulation for configuring power, and antenna 2 is used for the selection of configuration work frequency band
Deng.Change in signal strength data include the amplitude of change in signal strength, change in signal strength duration etc..Signal intensity becomes
It is different to change data, then specific regulation and control configuration is also different on the antenna.For example be power adjusting corresponding to antenna 1, signal intensity
5-8db, duration 3-5S are reduced, the corresponding configuration to router is increase power.So, when monitoring router day
Line 1 is touched, and router wireless signal strength reduces amplitude within 5-8db, and the change in signal strength duration is in 3-5S
Within when, increase router power.Again for example, signal intensity reduces 5-8db, duration 10-13S, corresponding router
Configuration be to reduce power, then same, when monitoring that antenna 1 is touched, and router change in signal strength amplitude is in 5-
8db, duration in 10-13S, reduce router power.Because wireless signal is gone out by router aerial radiation, because
This, can be by controlling router antenna come control signal intensity, specifically, for example, stirring router antenna, aerial position is not
Together, signal intensity can also change;Again for example, router antenna is grasped, the characteristic resistance of antenna can be changed by holding antenna
Anti-, return loss etc., so as to change the signal intensity for being held antenna.The present embodiment is according to antenna reference numbers and change in signal strength
Data realize the functional configuration to router, and user also need to only carry out operation accordingly to router antenna and (hold or stir
Antenna) signal intensity can be changed, so as to realize the functional configuration of router, simple and fast.
It is worth noting that, monitoring signals intensity and acquisition change in signal strength data in step of the present invention, with gathering day
The touch sensing data of line and obtain by the label of touch antenna the two steps order in no particular order, monitoring wireless signal and adopt
Touch sensing data on collection antenna are while all done always.
Another embodiment of the present invention, as shown in Fig. 2 including:
S100 monitors wireless signal strength;
S200 obtains change in signal strength data when monitoring that wireless signal strength changes;
Touch sensing data on the antenna of S300 collection routers, judge whether router antenna is touched, if so, entering
Enter next step;
The label for the antenna that S400 is touched according to the touch sensing data acquisition;
S510 obtains the function that the antenna touched is used to configure according to the label of the antenna touched;
S520 carries out functional configuration according to the change in signal strength data to the router.
In the present embodiment, router antenna is provided with sensor, can be used for gathering the touch sensing data on antenna, when
, can be according to the touch sensing data that collect, to judge whether the antenna of router is touched, such as when someone touches antenna
If fruit is, then the label of the antenna touched is obtained again, the antenna of different labels can be used for configuring different router work(
Can, it would therefore be desirable to know which root antenna user has touched, then find the function of configuration corresponding to the antenna.Such as
Antenna 3 selects for mode of operation, and antenna 4 is used for bandwidth selection etc..Then further according to change in signal strength data for being somebody's turn to do
Function select or adjust accordingly.
In any of the above-described embodiment, the step S200 includes:S210 obtains when monitoring that wireless signal strength reduces
Signal intensity reduces amplitude and duration.
Another embodiment of the present invention, as shown in figure 3, including:
S100 monitors wireless signal strength;
For S210 when monitoring that wireless signal strength reduces, obtaining signal intensity reduces amplitude and duration;
Touch sensing data on the antenna of S300 collection routers, judge whether router antenna is touched, if so, entering
Enter next step;
The label for the antenna that S400 is touched according to the touch sensing data acquisition;
S510 obtains the function that the antenna touched is used to configure according to the label of the antenna touched;
S521 judges that the signal intensity reduces amplitude whether in the range of default reference amplitude, if entering in next step
Suddenly;
S522 reduces the duration according to the signal intensity, and corresponding functional configuration is carried out to router.
Specifically, the present embodiment can be realized by holding antenna, such as, user will close 5G wifi, pair of setting
Induction method is to hold antenna 2 more than 5S, and change in signal strength amplitude is that 5-8db (holds the signal of antenna reception before and after antenna
Intensity differs 5-8db), then, in implementation process, user's holding antenna 2 reaches more than 5S and unclamped again, and router can be achieved to close
5G wifi are closed, wherein, specific collocation method is:Wireless signal strength is monitored first, and when user holds antenna 2, signal is strong
Degree is certain to change, and at this moment, then obtains the amplitude of signal intensity reduction and the duration of change in signal strength, meanwhile,
The touch sensing data on router antenna can also be gathered, look at router antenna either with or without being touched, if touch
Words, then explanation is that user needs to configure router, manually controls antenna that signal intensity is reduced to realize.Certainly, such as
Fruit change in signal strength, but judge that router antenna is not touched, then with regard to not carrying out functional configuration to router, because
It is not necessarily for signal intensity unalterable, it is possible to there are other factorses so that its signal intensity is changed, as long as not
It is that user has touched antenna so that signal intensity is changed manually, is all not belonging to carry out router the model of functional configuration
Farmland.Only in the case where signal intensity is changed and detects that router antenna is touched, follow-up function is just carried out
Configuration determination operating procedure.The label of the antenna touched can be got according to the touch sensing data of collection, due to every
Corresponding sensor (can be touch sensor or pressure sensor etc.) is both provided with router antenna, therefore, can be with
According to the touch sensing data which sensor gathers in touch sensing data, you can get the antenna where the sensor
Label, get antenna label may know that user want to router, which function configures, such as get by
The antenna reference numbers of touch be No. 2, that is to say, that detect that antenna 2 is touched, then can obtain user need it is wireless to 5G
Signal carries out switchgear distribution.Then amplitude is reduced according to the signal intensity of acquisition and the duration is judged, specifically, judging
Signal intensity reduces amplitude either with or without in the range of 5-8db, the duration if taking another look at change in signal strength if,
That is the duration that signal intensity reduces, if detect that the duration is 6S, then according to default corresponding relation,
Corresponding control instruction can be obtained, to router close the functional configuration of 5G wireless signals.
Another embodiment of the present invention, as shown in figure 4, including:
S601 monitors wireless signal strength;When monitoring that wireless signal strength changes, change in signal strength is obtained
Data;The change in signal strength data include change in signal strength amplitude and duration;
Touch sensing data on the antenna of S602 collection routers, judge whether router antenna is touched, if so, entering
Enter next step;
The label for the antenna that S603 is touched according to the touch sensing data acquisition and touch duration;
S604 judges whether the change in signal strength duration and the touch duration are consistent, if then entering
Next step;
S605 obtains the function that the antenna touched is used to configure according to the label of the antenna touched;
S606 judges that the signal intensity reduces amplitude whether in the range of default reference amplitude, if entering in next step
Suddenly;
S607 carries out work(according to the change in signal strength duration or the touch duration to the router
Can configuration.
The change in signal strength duration is added in the present embodiment with touching the multilevel iudge of duration, passes through this
Judgment step, further determine that it is that user touches antenna so that signal intensity is changed.It is worth noting that, step
It is described in S604 to judge the change in signal strength duration touches whether the duration is consistent with described, here consistent
It is identical to be not necessarily the two duration, it is contemplated that the presence of error, therefore, the model that both differences allow in error
Can also be considered as in enclosing it is consistent, such as within the error set is as 2S, therefore, as long as change in signal strength duration and touch
Duration is differed within 2S, and it is consistent for can be considered the two duration.
Preferably, in any of the above-described embodiment, the functional configuration includes:Power adjusting, working band selection, Working mould
Formula selection, bandwidth selection etc..
Another embodiment of the present invention, mainly change the characteristic impedance of antenna, return loss etc. by holding antenna, so as to
Change the received signal strength of different antennae, CPU is able to detect that the change in signal strength of each antenna, passes through this change
The functional configuration to router is realized, schematic diagram is as shown in figure 5, operation principle is:Antenna has the characteristic impedance that it is matched,
Hold on antenna, its impedance value, reflection parameters, standing wave etc. can change, and influence the normal signal receiving strength of antenna.
The received signal strength per antenna all the way can be detected inside CPU in real time, when certain all the way antenna signal intensity suddenly change compared with
Greatly, when the signal intensity of other road antennas is constant, it is possible to determine that now user will configure to router.Specifically, assume
User will currently close 2.4G WIFI, and the method to set up set is described as follows to hold antenna 1 more than 10s, implementation process:
(1) under default conditions, antenna normal work, set now state as 0;
(2) user holds antenna 1, the characteristic impedance of antenna 1 etc. and changed, and its received signal strength has been changed 5dB,
Set now state as 1;
(3) signal intensity after real-time change detection, i.e. state one, reach 10 seconds;
(4) now judge that user has the demand for closing 2.4G WIFI, CPU sends order and closed
It is low to the skill set requirements of user without by page configuration using the router feature collocation method of the present embodiment,
And it is more efficient and convenient, the used time is less.
Based on identical technical concept, the invention also discloses a kind of router feature configuration device, the device can be adopted
With the router feature collocation method of above-mentioned any embodiment, specifically, as shown in fig. 6, router feature of the present invention configuration dress
Put including:Monitoring modular 10, for monitoring wireless signal strength;Acquisition module 20, for obtain change in signal strength data and
By the label of touch antenna;Operation module 40, match somebody with somebody for carrying out corresponding function to router under the control of control module 50
Put;Control module 50, during for monitoring that wireless signal strength changes according to the monitoring modular 10, control the acquisition
Module 20 obtains the touch sensing number in change in signal strength data, then the antenna for passing through the acquisition module 30 collection router
According to when the control module 50 judges that router antenna is touched, the antenna touched is obtained by the acquisition module 20
Label, and control the operation module 40 right according to the label of the antenna touched and the change in signal strength data
Router carries out corresponding functional configuration.
In above-described embodiment, acquisition module 30 can be touch sensor or pressure sensor, as long as can adopt
Collect user and touch the sensing data of antenna (for example holding antenna) just.
Preferably, in the above-described embodiments, the control module 50, it is additionally operable to the mark according to the antenna touched
Number, and then obtain the function of being used to configure by touch antenna;Further according to the change in signal strength data, pass through the behaviour
Make module 40 and functional configuration is carried out to the router.Specifically, device progress router feature configuration process is as follows:
Monitoring modular 10 monitors wireless signal strength, when monitoring that wireless signal strength changes, by obtaining mould
Block 20 obtains change in signal strength data;Acquisition module 30 gathers the touch sensing data on the antenna of router, control module
50 judge whether router antenna is touched according to the touch sensing data, if it is determined that if antenna is touched, further according to this
Touch sensing data acquisition is by the label of touch antenna, and then control module 50 is according to by the label and signal intensity of touch antenna
Delta data to carry out corresponding functional configuration to router.
Another embodiment of apparatus of the present invention, as shown in fig. 7, on the basis of above-described embodiment, the acquisition module 20
Including:Label acquisition submodule 21, for when the control module 50 judges that the router antenna is touched, described in acquisition
The label of the antenna touched;Amplitude acquisition submodule 22, for monitoring that wireless signal strength drops when the monitoring modular 10
When low, obtaining signal intensity reduces amplitude;Time acquisition submodule 23, for monitoring wireless signal when the monitoring modular 10
During intensity decreases, obtaining signal intensity reduces the duration.
The control module 50 according to according to the change in signal strength data by the operation module 40 to the road
Carrying out functional configuration by device includes:The control module 50 judges that whether the signal intensity reduces amplitude in default reference frame
In the range of degree, if so, then reducing the duration according to the signal intensity, work(is carried out to router by the operation module 40
Can configuration.
Mentioned in a upper embodiment, when monitoring module monitors to signal intensity change, acquisition module obtains signal
Strength Changes data, and the present embodiment then specifically talks about change in signal strength data, change in signal strength data in the present embodiment
Reducing amplitude and signal intensity including signal intensity reduces the duration.Specifically, when monitoring module monitors to signal intensity drop
When low, amplitude acquisition submodule, which obtains signal intensity, reduces amplitude, when time acquisition submodule acquisition signal intensity reduces lasting
Between;Meanwhile whether acquisition module collection touch sensing data, control module judge router antenna according to the touch sensing data
Touched, if it does, then being obtained by label acquisition submodule by the label of touch antenna, be easy to control module according to this
Configuration feature corresponding to the antenna of the label is determined by the label of touch antenna.Then control module judges amplitude acquisition submodule
The signal intensity of acquisition reduces amplitude whether in the range of default reference amplitude, if it does, obtaining son further according to the time
The duration that module obtains to carry out functional configuration to router.For example the function that antenna 3 is used to configure is bandwidth selection, such as
Fruit detects that antenna 3 is touched, and detects that signal intensity reduces, and reduces amplitude in the range of default reference amplitude
When, then see the duration is how many.If the duration is 20,000,000 bandwidth corresponding in 1-5S, corresponding in 6-10S is 40
It is 80,000,000 bandwidth corresponding to million bandwidth, more than 10S.If that getting signal intensity reduces if the duration is 8S, that
According to corresponding relation, it can be deduced that, it will to the bandwidth of configuration of routers 40,000,000.
Preferably, in any of the above-described embodiment, the functional configuration includes:Power adjusting, working band selection, Working mould
Formula selection, bandwidth selection etc..
Apparatus of the present invention are corresponding with the method for the present invention, and therefore, the ins and outs in embodiment of the method for the invention are also fitted
For apparatus of the present invention embodiment, repeated to reduce, it is no longer superfluous herein to chat.
By the present invention, when carrying out simple daily configuration to router, without by page configuration, only needing manual again
Antenna is operated, for example holds antenna, it is low to the skill set requirements of user and more efficient and convenient, the used time is less.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.