The content of the invention
The present invention provides a kind of wireless router transmission rate switching method, control method and wireless router, to solve
The problem of transmission rate that certainly there is router in the prior art can not independently switch.
On the one hand, the invention discloses a kind of wireless router transmission rate switching method, including step:
S100 monitors the connection status of wireless router;
S200 obtains the access terminal of the wireless router when the connection status of the wireless router changes
The current transmission rate of information and the wireless router, judges whether the transmission rate for needing to switch the wireless router,
If so, then entering next step, otherwise return to step S100;
S300 switches the transmission rate of the wireless router.
Further, the step S200 includes:
S210 obtains the current transmission speed of the wireless router when the wireless router increases newly and has access terminal
Rate;
S220 judges whether the current transmission rate is the first transmission rate, if so, then return to step S100, otherwise enters
Enter step S230;
S230 obtains the type of newly-increased access terminal;
S240 judges whether the newly-increased access terminal type is wireless terminal, if so, then entering next step, otherwise
Return to step S100;
S250 obtains the wireless mode of the newly-increased access terminal, and whether judge the wireless mode is the first wireless mould
Formula, if so, then entering step S300, otherwise return to step S100.
Further, the step S200 includes:
S260 obtains all and wireless router when there is wireless terminal to disconnect the connection with the wireless router
The current transmission rate of the wireless mode of the wireless terminal of connection and the wireless router;
S270 judges whether the wireless end of the first wireless mode according to the wireless mode of all wireless terminals of acquisition
End, if so, into step S280, otherwise into step S290;
S280 judges whether the current transmission rate of the wireless router is the first transmission rate, if so, then returning to step
Rapid S100, otherwise into step S300;
S290 judges whether the current transmission rate of the wireless router is the second transmission rate, if so, then returning to step
Rapid S100, otherwise into step S300.
Further, the step S250 includes:
S251 obtains the wireless mode of the newly-increased access terminal, and whether judge the wireless mode is the first wireless mould
Formula, if then entering step S252, otherwise return to step S100;
S252 gathers the signal intensity of the newly-increased access terminal, judges whether the signal intensity is less than default letter
Number intensity, if so, then return to step S100, otherwise into step S300.
Further, first transmission rate is PCIE1.1, and first wireless mode is 2.4G frequency Working moulds
Formula.
Further, the step S100 includes:
S110 is according to default time interval, the connection status of periodic monitoring wireless router.
The invention also discloses a kind of wireless router transmission rate control, including:
S10 monitors the connection status of wireless router;
S20 obtains the access terminal of the wireless router when the connection status of the wireless router changes
Information, and according to the transmission rate of the information of access terminal control wireless router.
Further, the step S20 includes:
S21 has been accessed described without circuit when the wireless router increases newly and has wireless access terminal before acquisition is newly-increased
By the wireless mode of all wireless terminals of device;
S22 judges to whether there is the first wireless mode in the wireless mode obtained, if so, into step S23, otherwise
Into step S24;
S23 controls the transmission rate of the wireless router to be the first transmission rate;
S24 obtains the wireless mode of the newly-increased wireless access terminal, and whether judge the wireless mode is the first nothing
Ray mode, if so, then entering step S23, otherwise into step S25;
S25 controls the transmission rate of the wireless router to be the second transmission rate.
Further, the step S20 includes:
S26 is when there is wireless terminal to disconnect the connection with the wireless router, with the wireless routing after acquisition disconnection
The wireless mode of the wireless terminal of device connection;
S27 judges whether the wireless end of the first wireless mode according to the wireless mode of all wireless terminals of acquisition
End, if so, into step S28, otherwise into step S29;
S28 controls the transmission rate of the wireless router to be the first transmission rate;
S29 controls the transmission rate of the wireless router to be the second transmission rate.
Finally, the invention also discloses a kind of wireless router of wireless router transmission rate switching method, this is wireless
Router can perform the above-mentioned transmission rate switching method of the present invention, including:
Monitoring modular, the connection status for monitoring wireless router and terminal;Acquisition module, it is described for obtaining access
The current transmission rate of the information of access terminal of wireless router and the wireless router;Judge module, with the monitoring mould
Block, acquisition module are connected, for coordinating the work of each module, and the information of access terminal that is obtained according to the acquisition module and described
The current transmission rate information of wireless router, judges whether the transmission rate for needing to switch the wireless router;Operate mould
Block;It is connected with the judge module, for the judged result according to the judge module, switches the transmission of the wireless router
Speed.
Further, the wireless router also includes:Signal intensity acquisition module, is connected with the judge module, uses
In the signal intensity of the wireless terminal of the collection access wireless router;Memory module, is connected with the judge module, is used for
Store signal strength threshold.
Further, the wireless router also includes:Display module, is connected with the judge module, for showing
State the current transmission rate of wireless routing.
Further, the transmission rate of the wireless router includes:PCIE1.1、PCIE2.0;The access terminal letter
Breath includes type, the wireless mode of access terminal of access terminal, wherein the type of the access terminal is including wired and wireless,
The wireless mode of the access terminal includes 2.4G, 5G.
Compared with existing best technique, the advantage of the invention is that:The wireless router of the present invention is cut by the present invention's
The method of changing can realize the automatic switchover of transmission rate, and performance and jamproof balance are more preferable.And the router of the present invention is simultaneously
Two kinds of PCIE transmission rates are supported, PCIE switchings are carried out according to terminal type and wireless mode situation, retention property and anti-interference
Optimize.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step it is described in detail, it is clear that described embodiment is only embodiment of the invention a part of, 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 wireless router transmission rate switching method, embodiment one as shown in figure 1, including step
Suddenly:
S100 monitors the connection status of wireless router;
S200 obtains the access terminal of the wireless router when the connection status of the wireless router changes
The current transmission rate of information and the wireless router, judges whether the transmission rate for needing to switch the wireless router,
If so, then entering next step, otherwise return to step S100;
S300 switches the transmission rate of the wireless router.
The connection status of wireless router, generally refers to the connection of wireless router and terminal.Wireless router is needed
When dividing plate design or extending sub- working plate, it can only be transmitted between each point of plate by a kind of speed, if it is desired to change
Transmission rate, then need to go to set manually to switch.And the present embodiment is then the connection state information by obtaining wireless router,
When connection status there occurs change, end message and current transmission rate that the wireless router has currently been accessed are obtained,
Then the judgement for needing to switch is made whether according to these information, the present embodiment can be transmitted automatically according to specific circumstances
The switching of speed a, it is ensured that balance between performance and interference.Specifically, the transmission rate of such as router default is
PCIE1.1, will run after router startup according to PCIE1.1 transmission rates, and if accessing the terminal of wireless router all
It is 5G terminals, due in the absence of 2.4G terminals, therefore is also not in the interference to 2.4G terminals, in no influence transmission performance
In the case of, in order to improve transmission rate, then completely can switch to current PCIE1.1 transmission rates after judgement
PCIE2.0.If but accessing if 2.4G terminals, in order to not influence the transmission performance of the 2.4G, then need for keeping
PCIE1.1 transmission rates are run.
Embodiments of the invention two, as shown in Fig. 2 including:
S100 monitors the connection status of wireless router;
S210 obtains the current transmission speed of the wireless router when the wireless router increases newly and has access terminal
Rate;
S220 judges whether the current transmission rate is the first transmission rate, if so, then return to step S100, otherwise enters
Enter step S230;
S230 obtains the type of newly-increased access terminal;
S240 judges whether the newly-increased access terminal type is wireless terminal, if so, then entering next step, otherwise
Return to step S100;
S250 obtains the wireless mode of the newly-increased access terminal, and whether judge the wireless mode is the first wireless mould
Formula, if so, then entering step S300, otherwise return to step S100;
S300 switches the transmission rate of the wireless router.
Preferably, first transmission rate is PCIE1.1, first wireless mode is 2.4G frequency mode of operations.
First wireless mode of wireless terminal here is that matching is corresponding with the first transmission rate of router.That is, general
If the wireless mode of wireless terminal is the first wireless mode, then the transmission rate of router is generally the first transmission speed
Rate.In turn, if the transmission rate of wireless terminal is the first transmission rate, then just explanation accesses wireless router
Whether there is certainly in terminal ray mode be the first wireless mode wireless terminal (note, be not all of be the first wireless mode nothing
Line terminal).That is, being the preferential performance for ensureing router, as long as when the wireless terminal for accessing the router has 1 terminal
Wireless mode be the first wireless mode (2.4G), then the transmission rate of router just be PCIE1.0;When the access router
Wireless terminal wireless mode all second wireless mode (5G) when, the transmission rate of router can be just PCIE2.0, this
When, transmission performance is unaffected, due to not having 2.4G wireless terminals, therefore interference, and transmission rate will not be also produced to it
It can greatly improve.
Embodiments of the invention three, when there is new terminal to access wireless router, if the biography of current wireless router
Defeated speed is PCIE1.1, then accessed in the terminal of wireless router the wireless end for whetheing there is that ray mode is 2.4G patterns certainly
End, then in order to ensure that transmission performance is unaffected, therefore, the router still can select current transmission rate to run, no
It can switch over.Specifically, switching judging schematic diagram is as shown in Figure 3.
When there is new terminal to access wireless router, if the transmission rate of current wireless router is PCIE2.0, that
Explanation before accessed wireless router terminal wireless mode be 5G patterns wireless terminal, therefore, next I
Just need that this terminal newly accessed is carried out to judge.It is the judgement of terminal type first, if catv terminal, that
Also without switching, if wireless terminal, then the wireless mode of the wireless terminal is determined whether, if 2.4G patterns,
So in order to which the transmission performance for ensureing the terminal is unaffected, then need to cut the current transmission rate PCIE2.0 of router
Change to PCIE1.1;If the wireless terminal is 5G patterns, then avoid the need for switching over.Specific embodiment four, signal
Figure is as shown in Figure 4.
It is worth noting that, above-mentioned wireless router increases access terminal (or new terminal access wireless router) newly
Refer in the case where existing wireless terminal accesses wireless router and have the situation of new terminal access, not including wireless routing
The situation of wireless terminal is accessed on device first.That is a wireless terminal at least accesses without circuit before increasing newly
By this method can be used in the case of device.When wireless router access terminal first, it is necessary to according to wireless router
The default transport speed of setting and the terminal of access are switched accordingly.Specifically, embodiment five as shown in figure 5, set
The default transport speed of wireless router is PCIE2.0, then according to default transport speed PCIE2.0 after wireless router startup
Operation, after the terminal a accesses of first access, first determines whether the terminal a of access terminal type, if terminal a is catv terminal,
The transmission rate of so router is unaffected, and without switching, the current transmission rate of holding is constant.If terminal a is wireless
Terminal, then the wireless mode for being accomplished by obtaining terminal a judges according to its wireless mode, if terminal a wireless mode
2.4G wireless modes (the first wireless mode), and the current transmission rate of our routers be PCIE2.0, then be accomplished by by
The transmission rate of wireless router switches to PCIE1.1 (the first transmission rate, the transmission rate matched with the first wireless mode).
Certainly, if the default transport speed set before is PCIE1.1 (the first transmission rate), then the first nothing of access
After the terminal a of ray mode, because terminal a is 2.4G wireless modes, it is therefore not necessary to switch transmission rate, current transmission speed is kept
Rate is constant can (2.4G wireless modes be matched with PCIE1.1 transmission rates).If accessing the wireless end of wireless router first
End is terminal b, and terminal b is 5G wireless modes, then being accomplished by the transmission rate of switched router, (second passes for PCIE2.0
Defeated speed, the transmission rate matched with 5G wireless modes).
Embodiments of the invention six, as shown in fig. 6, including step:
S100 monitors the connection status of wireless router;
S260 obtains all and wireless router when there is wireless terminal to disconnect the connection with the wireless router
The current transmission rate of the wireless mode of the wireless terminal of connection and the wireless router;
S270 judges whether the wireless end of the first wireless mode according to the wireless mode of all wireless terminals of acquisition
End, if so, into step S280, otherwise into step S290;
S280 judges whether the current transmission rate of the wireless router is the first transmission rate, if it is not, then entering step
Rapid S310;
S290 judges whether the current transmission rate of the wireless router is the second transmission rate, if it is not, then entering step
Rapid S320;
The transmission rate of the wireless router is switched to first transmission rate by S310;
The transmission rate of the wireless router is switched to second transmission rate by S320.
This gives another determination methods independently switched the during change of wireless router connection status, although,
In the present embodiment step S260 point out be when have wireless terminal disconnect and wireless router connection when how to carry out follow-up sentencing
It is disconnected, but the equally applicable newly-increased wireless terminal of actual the present embodiment method accesses the situation of wireless router, that is to say, that work as nothing
, can be by obtaining all wireless terminals being connected with the wireless router when connection status of line router changes
The current transmission rate of wireless mode and the wireless router carries out follow-up judgement.Likewise, the thought of the embodiment
As long as be also around access wireless router wireless terminal in have one be the first wireless mode wireless terminal, then just really
Determining router need to be according to the operation of the first transmission rate (if that is current router transmission rate is not the first transmission speed
Rate, the transmission rate for just needing to switch the router is the first transmission rate).
Specifically, the wireless terminal of such as first couple in router is 2.4G wireless modes, router is operated in transmission
Speed is in the case of PCIE1.0, terminal change is that first terminal is disconnected, and second terminal accesses wireless router, real
The switching judging schematic diagram for applying example six is as shown in Figure 7;Likewise, router is operated in transmission rate in the case of PCIE2.0, eventually
End change (terminal accessed before changing is 5G wireless terminals), the schematic diagram of embodiment seven is as shown in Figure 8.Note the two change feelings
Condition is to access multiple for the router has only accessed a terminal, needs embodiment as described above to be judged
.
Embodiments of the invention eight, as shown in figure 9, including step:
S100 monitors the connection status of wireless router;
S210 obtains the current transmission speed of the wireless router when the wireless router increases newly and has access terminal
Rate;
S220 judges whether the current transmission rate is the first transmission rate, if so, then return to step S100, otherwise enters
Enter step S230;
S230 obtains the type of newly-increased access terminal;
S240 judges whether the newly-increased access terminal type is wireless terminal, if so, then entering next step, otherwise
Return to step S100;
S251 obtains the wireless mode of the newly-increased access terminal, and whether judge the wireless mode is the first wireless mould
Formula, if then entering step S252, otherwise return to step S100;
S252 gathers the signal intensity of the newly-increased access terminal, judges whether the signal intensity is less than default letter
Number intensity, if so, then return to step S100, otherwise into step S310.
The transmission rate that S310 switches the wireless router is the first transmission rate.
Judge whether the terminal is used as wireless router biography in the present embodiment according to the signal intensity of wireless terminal
The Consideration of defeated speed switching.Before the signal intensity collection to increasing terminal newly, likewise, we obtain the wireless routing
The current transmission rate of device, if the wireless router current transmission rate is the first transmission rate (PCIE1.1), then explanation
There are the 2.4G wireless terminals for determining first transmission rate in the wireless terminal for having accessed the wireless router before, then with regard to nothing
Follow-up judgement need to be carried out, returns and continues to monitor.If current transmission rate is not the first transmission rate (PCIE1.1), then
Newly-increased access terminal type and wireless mode are judged as, is wireless terminal only in newly-increased terminal, and the wireless terminal
When wireless mode is the first wireless mode (2.4G), we just need to carry out collection and the switching judging of signal intensity, otherwise
Keep the former transmission rate of router constant.On the signal intensity of newly-increased 2.4G wireless terminals, we gather after by with it is pre-
If signal intensity be compared, if the terminal signaling is very weak, we are without as router transmission rate
Factor of judgment, to ensure the performance and rate equation of other access wireless terminals, be also according to transmission rate operation before
Can.If collection signal intensity be more than default signal intensity, then be accomplished by by the 2.4G wireless terminals include judgement because
Come in element, now, if we do not switch to the first transmission rate (PCIE1.1), then 2.4G that will certainly be newly-increased to this
Wireless terminal performance produces influence, therefore, then current transmission rate can be switched into the first transmission rate.Specifically, on
The signal intensity of wireless terminal, if (distance is not far to such as 2.4G wireless terminals every a wall with wireless router
In the case of), then the signal intensity that wireless router receives the signal that the 2.4G wireless terminals are sent is about -35dBm, if
Every two walls, signal intensity is probably reduced to -45dBm, if every three walls, then signal intensity is probably reduced to -55dBm;
General, general signal is more on the weak side when dropping to -55dBm, now, the shadow of the transmission rate of the router to the terminal
Sound is not very big, and therefore, we can preset a signal intensity for being used for referring to, if less than the default signal intensity,
Then not using the terminal as router transmission rate switching judging foundation.Such as our preset signal strength threshold values for-
55dBm, that is to say, that if we monitor that signal intensity is less than this threshold value, then can just illustrate this 2.4G wirelessly eventually
End farther out or is obstructed more apart from wireless router, then its transmission performance itself will receive shadow greatly because of distance and barrier
Loud, signal intensity is very weak, therefore, if the receiving sensitivity of newly-increased wireless terminal is less than threshold value -75dBm, such as -
85dBm, we can not consider this judgement of 2.4G wireless terminals to router transmission rate, fast still according to transmitting before
Rate, if the signal intensity that router collects the newly-increased wireless terminal is -48dBm, needs to consider first nothing
The transmission performance of the wireless terminal of ray mode, thus be also accomplished by by the current transmission rate of router be switched to this first
The first transmission rate that the wireless terminal of wireless mode matches.
In addition, the collection of signal intensity judges that we can be used for the connection status such as terminal disconnection router and have become
The situation of change.When the connection for monitoring wireless router there occurs change, acquisition is all to remain attached to the wireless routing
The wireless mode of the wireless terminal of device.Then the wireless terminal either with or without the first wireless mode in the wireless terminal of connection is judged,
The transmission rate that the wireless router is controlled if it's not true is the second transmission rate (PCIE2.0);If any then
Further the signal intensity of the wireless terminal of the first wireless mode of collection, judges whether its signal intensity is below default signal
Intensity, the transmission rate for if so then controlling router is the second transmission rate (PCIE2.0);Otherwise control route
The transmission rate of device is the first transmission rate (PCIE1.1).
Preferably, the step S100 in any of the above-described embodiment includes:S110 is according to default time interval, periodically
Monitor the connection status of wireless router.We can be all the time monitoring router connection status, equally, in order to reduce
The workload of system, we can also periodically monitor the connection status of wireless router, periodically triggering monitoring.
In addition, in order to prevent terminal change may caused by frequent switching, and hence it is also possible to be arranged on every time switching after to
The stand-by period (such as 1 minute) of preset time period is given, can not be switched in waiting time section.
The invention also discloses a kind of wireless router transmission rate control, the embodiment of the control method is just like figure
Shown in 10, including:
S10 monitors the connection status of wireless router;
S20 obtains the access terminal of the wireless router when the connection status of the wireless router changes
Information, and according to the transmission rate of the information of access terminal control wireless router.
In the above-described embodiments, the connection status of wireless router changes, and change here includes access without circuit
Have newly-increased by the wireless terminal of device and disconnect two kinds of situations, wherein, wireless router is increased newly when having access terminal, such as Figure 11 institutes
Show, wireless router transmission rate control includes:
S10 monitors the connection status of wireless router;
S21 has been accessed described without circuit when the wireless router increases newly and has wireless access terminal before acquisition is newly-increased
By the wireless mode of all wireless terminals of device;
S22 judges to whether there is the first wireless mode in the wireless mode obtained, if so, into step S23, otherwise
Into step S24;
S23 controls the transmission rate of the wireless router to be the first transmission rate;
S24 obtains the wireless mode of the newly-increased wireless access terminal, and whether judge the wireless mode is the first nothing
Ray mode, if so, then entering step S23, otherwise into step S25;
S25 controls the transmission rate of the wireless router to be the second transmission rate.
For example, having accessed the wireless terminal of wireless router now has tri- terminals of A, B, C, A wireless mode is 2.4G
Wireless mode, B and C are 5G wireless modes;Now and a wireless access terminal D is increased newly and accesses the wireless router, root
According to the control method of the present invention, first obtain it is newly-increased before accessed the wireless terminal pattern of wireless router, get terminal A,
After B, C wireless mode, it is found that there are 2.4G wireless mode (the first wireless mode), therefore, no matter increase newly below
Access terminal is any pattern, and the transmission rate for all controlling router is PCIE1.1 (the first transmission rate).If before newly-increased
The wireless terminal pattern accessed is all 5G wireless modes, then just need further to obtain the wireless mould of newly-increased access terminal
Formula, if the wireless mode of newly-increased access terminal is 2.4G wireless modes, then the transmission rate for controlling router is
PCIE1.1, if the wireless mode of newly-increased access terminal is 5G, then the transmission rate for control router is PCIE2.0 (the
Two transmission rates).
When there is wireless terminal to disconnect the connection with wireless router, as shown in figure 12, the transmission rate of wireless router
Control method includes:
S10 monitors the connection status of wireless router;
S26 is when there is wireless terminal to disconnect the connection with the wireless router, with the wireless routing after acquisition disconnection
The wireless mode of the wireless terminal of device connection;
S27 judges whether the wireless end of the first wireless mode according to the wireless mode of all wireless terminals of acquisition
End, if so, into step S28, otherwise into step S29;
S28 controls the transmission rate of the wireless router to be the first transmission rate;
S29 controls the transmission rate of the wireless router to be the second transmission rate.
Equally, it will be assumed that the wireless terminal of access wireless router has tri- terminals of A, B, C, and A wireless mode is
2.4G wireless modes, B and C are 5G wireless modes;If present wireless terminal A disconnects the connection with wireless router, that breaks
Open the wireless terminal being connected afterwards with wireless router just only have terminal B and C, and due to terminal B and terminal C wireless mode all
It is 5G, is not belonging to the first wireless mode, therefore, the transmission rate for controlling wireless router is PCIE2.0 (the second transmission rate);
Certainly, if off wireless terminal be terminal C, after disconnection only have wireless terminal A and B access the wireless router, due to
Wireless terminal A wireless mode is 2.4G (the first wireless mode), that is to say, that the nothing of remaining access wireless router after disconnection
In line terminal, there is the terminal of 2.4G wireless modes (the first wireless mode), therefore, the transmission rate for controlling wireless router is
PCIE1.1 (the first transmission rate).In the present embodiment by taking the connection of wireless terminal disconnection of wireless router as an example, in fact, this
The method of embodiment is equally applicable the newly-increased situation of access wireless terminal or wireless router wireless terminal access first
Situation, it is only necessary to after being changed by wireless router connection status, obtain change after be still connected with wireless router
Wireless terminal wireless mode, simply by the presence of there is 2.4G wireless modes (the first wireless mode), then just control wireless routing
The transmission rate of device is PCIE1.1 (the first transmission rate is matched with the first wireless mode), if there is no the wireless moulds of 2.4G
Formula, such as be all 5G wireless modes, then it is PCIE2.0 (the second transmission speed just to control the transmission rate of wireless router
Rate).
According to above-mentioned control method embodiment, the present invention can also provide a kind of wireless router, above-mentioned by performing
The control method of transmission rate carrys out controlling transmission speed.Specifically, the wireless router includes monitoring modular, it is wireless for monitoring
The connection status of router and terminal;Acquisition module, the information of access terminal for obtaining the access wireless router;Control
Module, is connected with the monitoring modular, acquisition module, for coordinating each module work, and according to acquisition module acquisition
Information of access terminal controls the transmission rate of router.
Specifically, monitoring module monitors change to the connection status of wireless router may two kinds of situations:
Newly-increased situation:
When the monitoring module monitors of the wireless router have wireless access terminal to wireless router is newly-increased, the acquisition mould
Block obtained under control module control it is newly-increased before accessed the wireless router all wireless terminals wireless mode;
The control module judges to whether there is the first wireless mode in the wireless mode obtained, if then controlling institute
The transmission rate for stating wireless router is the first transmission rate;Otherwise, obtain described newly-increased wireless by the acquisition module
The wireless mode of access terminal, whether be first wireless mode, if so, the then control module control if judging the wireless mode
The transmission rate of the wireless router is the first transmission rate, and otherwise the control module controls the biography of the wireless router
Defeated speed is the second transmission rate.
Disconnection:
When the monitoring module monitors are to when having wireless terminal to disconnect with the connection of the wireless router, the acquisition mould
Block obtains the wireless mode for the wireless terminal being connected after disconnection with the wireless router under the control of the control module;
The wireless mode for all wireless terminals that the control module is obtained according to the acquisition module, is judged whether
The wireless terminal of first wireless mode, if so, then the control module controls the transmission rate of the wireless router to be first
Transmission rate;Otherwise the control module controls the transmission rate of the wireless router to be the second transmission rate.
Based on wireless router transmission rate switching method identical technical concept, the embodiment of the present invention also provides one kind
Wireless router, the wireless router can perform the above-mentioned wireless router transmission rate switching method of the present invention, specifically,
As shown in figure 13, the wireless router includes the first embodiment of the wireless router:Monitoring modular 10, for monitoring no circuit
By device and the connection status of terminal;Acquisition module 20, information of access terminal and institute for obtaining the access wireless router
State the current transmission rate of wireless router;Judge module 30, is connected with the monitoring modular 10, acquisition module 20, for assisting
Each module is adjusted to work, and the information of access terminal and the current transmission of the wireless router obtained according to the acquisition module 20
Rate information, judges whether the transmission rate for needing to switch the wireless router;Operation module 40;With the judge module 30
It is connected, for the judged result according to the judge module 30, switches the transmission rate of the wireless router.
Monitoring modular 10 monitors the connection status of wireless router, when the connection status for monitoring wireless router becomes
During change, the information of access terminal of wireless router and the current transmission rate of the wireless router are obtained by acquisition module 20;
Then judge module 30 is obtained according to acquisition module 20 information of access terminal and current transmission rate information, judge whether needs
Switch the transmission rate of the wireless router.If it is judged that needing switching, then route is switched over by operation module 40
The transmission rate operation of device.
The connection status of wireless router, which changes including accessing the terminal of the wireless router, increase or reduction,
Such as, when the monitoring modular 10, which monitors that wireless router is newly-increased, access terminal, obtain described by acquisition module 20
The current transmission rate of wireless router;The judge module 30 judges whether current transmission rate is the first transmission rate, if
It is then to keep current transmission rate constant, without switching;If it is not, then continuing through acquisition module 20 obtains the newly-increased access eventually
The type at end, judgement is catv terminal or wireless terminal, if catv terminal then keeps original transmission rate constant, if
It is the wireless mode that wireless terminal then further obtains the wireless access terminal by the acquisition module 20, the judge module
30 further determine whether to switch over according to the wireless mode of wireless access terminal, specifically, if the wireless access terminal
Wireless mode be the first wireless mode, then switch the transmission rate of the wireless router by the operation module 40, it is no
Then keep original transmission rate constant.
When the monitoring modular 10 has monitored that wireless terminal is disconnected the wireless router, acquisition module 20 obtains institute
There is the wireless mode for the wireless terminal being connected with the wireless router;The wireless end that judge module 30 is obtained according to acquisition module 20
The wireless mode at end, judges wherein whether there is the wireless terminal of the first wireless mode, if the then control wireless router
Transmission rate be the first transmission rate;If there is no the nothing of the first wireless mode in the wireless terminal for accessing the wireless router
Line terminal, the then transmission rate for controlling the wireless router is the second transmission rate.
The embodiment two of wireless router of the present invention, it is as shown in figure 14, described without circuit on the basis of above-described embodiment
Also included by device:Signal intensity acquisition module 50, is connected with the judge module 30, for gathering the access wireless router
Wireless terminal signal intensity;Memory module 60, is connected with the judge module 30, for storing signal strength threshold.
When monitoring modular 10 monitors that the connection status of wireless router changes, acquisition module 20 obtains all connect
Enter the wireless mode of the wireless terminal of the wireless router;The information that judge module 30 is obtained according to acquisition module 20, judges to obtain
Whether there is the first wireless mode in the wireless mode of all terminals taken, operation module 40 is judging mould if it's not true
It is the second transmission speed that the transmission rate of the wireless router is controlled under control of block 30;If so, then being gathered by signal intensity
Module 50 gathers the signal intensity of the wireless terminal of first wireless mode, and the judge module 30 judges that signal intensity gathers mould
Whether the signal intensity that block 50 is gathered is less than default signal intensity, if so, then controlling the wireless routing by operation module 40
The transmission rate of device is the second transmission rate, if the signal intensity of collection is not less than default signal intensity, operation module 40
The transmission rate that the wireless router is controlled under control of judge module 30 is the first transmission rate.
Preferably, the wireless router also includes:Display module 70, is connected with the judge module 30, for showing
The current transmission rate of the wireless routing.
Preferably, in any of the above-described embodiment, the transmission rate of the wireless router includes:PCIE1.1 (the first transmission
Speed), PCIE2.0 (the second transmission rate);The type of the information of access terminal including access terminal, access terminal it is wireless
Pattern, wherein the type of the access terminal includes wired and wireless, the wireless mode of the access terminal includes 2.4G (first
Wireless mode), 5G (the second wireless mode).
In addition, the wireless router in terms of hardware design, it is necessary to accomplish that 2.4G chips and 5G chips are simultaneously compatible
Two kinds of transmission rates of PCIE1.1/PCIE2.0, therefore transferred and realized by pinboard.Specifically, the hardware of router of the present invention is set
Meter is as shown in figure 11,2.4G and 5G chips are connected by pinboard with CPU, and cutting for speed is completed by the change of the value of register
Change.Using pinboard so that spatially setting more rationally, a point plate design is also more avoided that interference.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include 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.