CN105099717A - Router, and antenna control system and method - Google Patents

Router, and antenna control system and method Download PDF

Info

Publication number
CN105099717A
CN105099717A CN201510372453.1A CN201510372453A CN105099717A CN 105099717 A CN105099717 A CN 105099717A CN 201510372453 A CN201510372453 A CN 201510372453A CN 105099717 A CN105099717 A CN 105099717A
Authority
CN
China
Prior art keywords
antenna
equal
threshold
output stream
stream value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510372453.1A
Other languages
Chinese (zh)
Inventor
杨新宇
纪宏洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen World Go Technology Co Ltd
Original Assignee
Shenzhen World Go Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen World Go Technology Co Ltd filed Critical Shenzhen World Go Technology Co Ltd
Priority to CN201510372453.1A priority Critical patent/CN105099717A/en
Publication of CN105099717A publication Critical patent/CN105099717A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an antenna control system, comprising a flow detection module, a first judgment module, a second judgment module, and a control module. The flow detection module is used for detecting a current output flow value of the router. The first judgment module is used for judging whether the output flow value is less than a first threshold value. The second judgment module is used for judging whether the quantity of antennas booted at present is equal to first quantity when the output flow value is less than the first threshold value, if yes, the antennas maintain opening, if not, a control signal is output to boot or close the antennas to keep the quantity of the booted antennas to be equal to the first quantity. The control module is used for controlling the antennas to be booted or closed according to the control signals output by the second judgment module and a fourth judgment module.

Description

Router and antenna control system, method
Technical field
The present invention relates to the communications field, particularly relate to a kind of router according to router traffic control antenna usage quantity and antenna control system, method.
Background technology
In the prior art, the antenna amount of router is fixing, such as the router of a 3x3 antenna, in use, can 3x3 antenna all be opened always; Equally, if a router has 2x2 antenna, in use, also can the antenna of 2x2 all be opened always.
In theory, if data traffic is less than 150Mbps, only need 1x1 antenna; Data traffic is greater than 150Mbps and is less than 300Mbps, needs to use 2x2 antenna; Data traffic is greater than 300Mbps and is less than 450Mbps, needs to use 3x3 antenna.Therefore, in the actual use procedure of router, if flow is less, also makes whole antenna be in normally open, then can cause the increase of power consumption.
Summary of the invention
In order to solve the problem, the invention provides a kind of router according to router traffic control antenna usage quantity and antenna control system, method.
One embodiment of the invention provides a kind of antenna control system, and it comprises: flow detection module, for detecting the current output stream value of router; First judge module, for judging whether described output stream value is less than first threshold; Second judge module, for when described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals the first quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the first quantity, then exports control signal and open or close antenna, equal the first quantity to retain the antenna amount be unlocked; 3rd judge module, for when described output stream value is greater than described first threshold, judges whether described output stream value is less than Second Threshold again; 4th judge module, for when described output stream value is less than Second Threshold, continue to judge whether the antenna amount of current unlatching equals the second quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the second quantity, then exports control signal and open or close antenna, equal the second quantity to retain the antenna amount be unlocked; Control module, for the control signal exported according to described second judge module, the 4th judge module, controls unlatching or the closedown of described antenna.
Another embodiment of the present invention provides a kind of router, and it comprises API and above-mentioned router antenna control system, and described router antenna control system reads output stream value by described API.
Further embodiment of this invention provides a kind of method of controlling antenna, comprising: detect the output stream value that router is current; Judge whether described output stream value is less than first threshold; When described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals the first quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the first quantity, then export control signal open or close antenna, equal the first quantity to retain the antenna amount be unlocked; When described output stream value is greater than described first threshold, again judge whether described output stream value is less than Second Threshold; When described output stream value is less than Second Threshold, continue to judge whether the antenna amount of current unlatching equals the second quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the second quantity, then export control signal open or close antenna, equal the second quantity to retain the antenna amount be unlocked; And according to described control signal, control unlatching or the closedown of described antenna.
Antenna control system of the present invention and method, carry out the usage quantity of Dynamic controlling antenna according to router output flow, can reduce power consumption.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of the router that Fig. 1 provides for the embodiment of the present invention;
The functional block diagram of the router antenna control system that Fig. 2 provides for one embodiment of the invention;
The functional block diagram of the router antenna control system that Fig. 3 provides for another embodiment of the present invention;
The flow chart of the router method of controlling antenna that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, more detailed description is further done to technical scheme of the present invention.Obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all should belong to the scope of protection of the invention.
As shown in Figure 1, the structural representation of its router one 00 provided for the embodiment of the present invention.Described router one 00 at least comprises API (ApplicationProgrammingInterface is called for short API) 10, router antenna control system 20 and at least three strip antennas 30.Be understandable that, the quantity of described antenna 30 can be determined according to actual product, and the present invention does not limit more than three antennas.
Refer to Fig. 2, concrete, described router antenna control system 20 comprises flow detection module 21, first judge module 22, second judge module 23, the 3rd judge module 24, the 4th judge module 25, the 5th judge module 26 and control module 27.
Described flow detection module 21 is for detecting the current output stream value of router one 00 in real time.In the present embodiment, described router antenna control system 20 reads described output stream value by described API.
Described first judge module 22 is for judging whether described output stream value is less than first threshold.In the present embodiment, the theoretical value of described first threshold is 150Mbps.In actual applications, described first threshold is less than described theoretical value usually, such as, be 90Mbps, 100Mbps etc.Concrete, described first judge module 22 is previously stored with first threshold, and described first judge module 22 by more described current output stream value and described first threshold, and then judges whether described output stream value is less than first threshold.
Described second judge module 23, for when described first judge module 22 judges that described output stream value is less than described first threshold, judges whether the antenna amount of current unlatching equals the first quantity again.If whether the antenna amount of current unlatching equals the first quantity, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the first quantity, then exports control signal and open or close antenna, equal the first quantity to retain the antenna amount be unlocked.More specifically, in the present embodiment, described first quantity is one, described second judge module 23 is for when described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals three, if equal three, then export control signal and close wherein two strip antennas; If be not equal to three, then continue to judge whether the antenna amount of current unlatching equals two, if equal two, then close a wherein strip antenna, if be not equal to two, then judge that the antenna amount of current unlatching equals the first quantity, namely one.
Described 3rd judge module 24, for when described output stream value is greater than described first threshold, judges whether described output stream value is less than Second Threshold again.In the present embodiment, the theoretical value of described first threshold is 300Mbps.In actual applications, described Second Threshold is less than described theoretical value, such as, be 200Mbps, 230Mbps etc.Described 3rd judge module 24 is previously stored with Second Threshold, and described 3rd judge module 24 by more described current output stream value and described Second Threshold, and then judges whether described output stream value is less than described Second Threshold.
Described 4th judge module 25 is for when described output stream value is less than Second Threshold, continue to judge whether the antenna amount of current unlatching equals the second quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the second quantity, then export control signal open or close antenna, equal the second quantity to retain the antenna amount be unlocked.More specifically, in the present embodiment, described second quantity is two, described 4th judge module 25 is for when described output stream value is less than Second Threshold, judge whether the antenna amount of current unlatching equals three, if equal three, then export control signal and close a wherein strip antenna; If be not equal to three, then continue to judge whether the antenna amount of current unlatching equals two, if equal two, then maintain the opening of antenna, if be not equal to two, then exporting control signal increases unlatching one strip antenna.
Described 5th judge module 26 is for when described output stream value is more than or equal to Second Threshold, judge whether the antenna amount of current unlatching equals described 3rd quantity, if the antenna amount of current unlatching equals the 3rd quantity, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the 3rd quantity, then export control signal open or close antenna, equal the 3rd quantity to retain the antenna amount be unlocked.More specifically, in the present embodiment, described 3rd quantity is three, described 5th judge module 26 is for when described output stream value is more than or equal to Second Threshold, judge whether the antenna amount of current unlatching equals three, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to three, then continue to judge whether the antenna amount of current unlatching equals two, if equal two, then exporting control signal increases unlatching one strip antenna, if be not equal to two, then exporting control signal increases unlatching two strip antenna.
Described control module 27, for the control signal exported according to described second judge module 23, the 4th judge module 25 and the 5th judge module 26, controls unlatching or the closedown of described antenna.In the present embodiment, described control module 27 controls unlatching or the closedown of described antenna 30 by the switching circuit 28 in register.In the present embodiment, described control module 27 is radio frequency (RF) control module.
Be understandable that, in other embodiments, described first quantity, the second quantity, the 3rd quantity, first threshold, Second Threshold all can be changed according to actual conditions, and the present invention is not as limit.
In addition, as shown in Figure 3, in another embodiment, be provided with a diverter switch 29 between each described antenna and described control module 27, the control signal of described control module 27 exports described diverter switch to, to control unlatching or the closedown of described antenna.
Refer to Fig. 4, the present invention also provides a kind of router method of controlling antenna, and it comprises the following steps:
Step S401, detects the current output stream value of router in real time.
Step S402, judges whether described output stream value is less than first threshold.In the present embodiment, the theoretical value of described first threshold is 150Mbps.
When described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals the first quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the first quantity, then export control signal open or close antenna, equal the first quantity to retain the antenna amount be unlocked.More specifically, in the present embodiment, described first quantity is one, when described output stream value is less than described first threshold, performs step S403, judge whether the antenna amount of current unlatching equals three, if equal three, then perform step S404, export control signal and close wherein two strip antennas; If be not equal to three, then perform step S405, continue to judge whether the antenna amount of current unlatching equals two, if equal two, then perform step S406, close a wherein strip antenna, if be not equal to two, then judge that the antenna amount of current unlatching equals the first quantity, namely one, and terminate to judge flow process.
When described output stream value is greater than described first threshold, performs step S408, again judge whether described output stream value is less than Second Threshold.In the present embodiment, the theoretical value of described Second Threshold is 300Mbps.
When described output stream value is less than Second Threshold, continue to judge whether the antenna amount of current unlatching equals the second quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the second quantity, then export control signal open or close antenna, equal the second quantity to retain the antenna amount be unlocked.More specifically, in the present embodiment, described second quantity is two, when described output stream value is less than Second Threshold, performs step S409, judge whether the antenna amount of current unlatching equals three, if equal three, then perform step S410, export control signal and close a wherein strip antenna; If be not equal to three, then perform step S411, continue to judge whether the antenna amount of current unlatching equals two, if equal two, then maintain the opening of antenna, and terminate to judge flow process.If be not equal to two, then perform step S412, exporting control signal increases unlatching one strip antenna.
When described output stream value is more than or equal to Second Threshold, judge whether the antenna amount of current unlatching equals described 3rd quantity, if the antenna amount of current unlatching equals the 3rd quantity, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the 3rd quantity, then export control signal open or close antenna, equal the 3rd quantity to retain the antenna amount be unlocked.More specifically, in the present embodiment, described 3rd quantity is three, when described output stream value is more than or equal to Second Threshold, performs step S413, judge whether the antenna amount of current unlatching equals three, if so, then maintain the opening of antenna, and terminate to judge flow process.If the antenna amount of current unlatching is not equal to three, then perform step S415, continue to judge whether the antenna amount of current unlatching equals two, if equal two, then perform step S416, exporting control signal increases unlatching one strip antenna, if be not equal to two, then perform step S417, exporting control signal increases unlatching two strip antenna.
Step S418, according to described control signal, controls unlatching or the closedown of described antenna.
Router antenna control system of the present invention and method, carry out the usage quantity of Dynamic controlling antenna according to router output flow, can reduce power consumption.
It should be noted that, through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required hardware platform by software and realize, and can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
The above disclosed preferred embodiment be only in the embodiment of the present invention, certainly can not limit the interest field of the present invention, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained with this.

Claims (10)

1. an antenna control system, is characterized in that, comprising:
Flow detection module, for detecting the current output stream value of router;
First judge module, for judging whether described output stream value is less than first threshold;
Second judge module, for when described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals the first quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the first quantity, then exports control signal and open or close antenna, equal the first quantity to retain the antenna amount be unlocked;
3rd judge module, for when described output stream value is greater than described first threshold, judges whether described output stream value is less than Second Threshold again;
4th judge module, for when described output stream value is less than Second Threshold, continue to judge whether the antenna amount of current unlatching equals the second quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the second quantity, then exports control signal and open or close antenna, equal the second quantity to retain the antenna amount be unlocked;
Control module, for the control signal exported according to described second judge module, the 4th judge module, controls unlatching or the closedown of described antenna.
2. antenna control system as claimed in claim 1, it is characterized in that, described first judge module is previously stored with first threshold, and described first judge module by more described current output stream value and described first threshold, and then judges whether described output stream value is less than first threshold.
3. antenna control system as claimed in claim 1, it is characterized in that, the theoretical value of described first threshold is 150Mbps, and the theoretical value of described Second Threshold is 300Mbps.
4. antenna control system as claimed in claim 1, it is characterized in that, described first quantity is one, described second judge module is used for when described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals three, if equal three, then export control signal and close wherein two strip antennas; If be not equal to three, then continue to judge whether the antenna amount of current unlatching equals two, if equal two, then close a wherein strip antenna, if be not equal to two, then judge that the antenna amount of current unlatching equals the first quantity.
5. antenna control system as claimed in claim 1, it is characterized in that, described 3rd judge module is previously stored with Second Threshold, described 3rd judge module by more described current output stream value and described Second Threshold, and then judges whether described output stream value is less than described Second Threshold.
6. antenna control system as claimed in claim 1, it is characterized in that, described second quantity is two, described 4th judge module is used for when described output stream value is less than Second Threshold, judge whether the antenna amount of current unlatching equals three, if equal three, then export control signal and close a wherein strip antenna; If be not equal to three, then continue to judge whether the antenna amount of current unlatching equals two, if equal two, then maintain the opening of antenna, if be not equal to two, then exporting control signal increases unlatching one strip antenna.
7. antenna control system as claimed in claim 1, comprise the 5th judge module further, for when described output stream value is more than or equal to Second Threshold, judge whether the antenna amount of current unlatching equals described 3rd quantity, if the antenna amount of current unlatching equals the 3rd quantity, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the 3rd quantity, then export control signal open or close antenna, equal the 3rd quantity to retain the antenna amount be unlocked.
8. antenna control system as claimed in claim 7, it is characterized in that, described 3rd quantity is three, described 5th judge module is used for when described output stream value is more than or equal to Second Threshold, judge whether the antenna amount of current unlatching equals three, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to three, then continue to judge whether the antenna amount of current unlatching equals two, if equal two, then exporting control signal increases unlatching one strip antenna, if be not equal to two, then exporting control signal increases unlatching two strip antenna.
9. a router, it comprises API and the router antenna control system as described in claim 1 ~ 8 any one, and described router antenna control system reads output stream value by described API.
10. a method of controlling antenna, is characterized in that, comprising:
Detect the output stream value that router is current;
Judge whether described output stream value is less than first threshold;
When described output stream value is less than described first threshold, judge whether the antenna amount of current unlatching equals the first quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the first quantity, then export control signal open or close antenna, equal the first quantity to retain the antenna amount be unlocked;
When described output stream value is greater than described first threshold, again judge whether described output stream value is less than Second Threshold;
When described output stream value is less than Second Threshold, continue to judge whether the antenna amount of current unlatching equals the second quantity, if, then maintain the opening of antenna, if the antenna amount of current unlatching is not equal to the second quantity, then export control signal open or close antenna, equal the second quantity to retain the antenna amount be unlocked; And
According to described control signal, control unlatching or the closedown of described antenna.
CN201510372453.1A 2015-06-30 2015-06-30 Router, and antenna control system and method Pending CN105099717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510372453.1A CN105099717A (en) 2015-06-30 2015-06-30 Router, and antenna control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510372453.1A CN105099717A (en) 2015-06-30 2015-06-30 Router, and antenna control system and method

Publications (1)

Publication Number Publication Date
CN105099717A true CN105099717A (en) 2015-11-25

Family

ID=54579348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510372453.1A Pending CN105099717A (en) 2015-06-30 2015-06-30 Router, and antenna control system and method

Country Status (1)

Country Link
CN (1) CN105099717A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450548A (en) * 2015-12-04 2016-03-30 深圳市掌讯通讯设备有限公司 Router control method, device and system
CN108551685A (en) * 2018-02-27 2018-09-18 广东欧珀移动通信有限公司 Method of controlling antenna, device, storage medium and electronic equipment
CN116436712A (en) * 2023-06-13 2023-07-14 深圳维特智能科技有限公司 Low-power consumption control method, device and equipment for power supply of VPN router system of Internet of things
WO2024032631A1 (en) * 2022-08-11 2024-02-15 中兴通讯股份有限公司 Antenna control method and apparatus, storage medium, and electronic apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689821A (en) * 1993-12-28 1997-11-18 Nec Corporation Device for controlling extension and retraction of an antenna
CN203180925U (en) * 2013-04-19 2013-09-04 青岛海信电器股份有限公司 Data processing apparatus, display apparatus and television set
CN103731911A (en) * 2014-01-21 2014-04-16 英飞特电子(杭州)股份有限公司 Wireless router control method and device and wireless router applying same
CN104038990A (en) * 2013-03-06 2014-09-10 国基电子(上海)有限公司 Antenna control system and antenna control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689821A (en) * 1993-12-28 1997-11-18 Nec Corporation Device for controlling extension and retraction of an antenna
CN104038990A (en) * 2013-03-06 2014-09-10 国基电子(上海)有限公司 Antenna control system and antenna control method
CN203180925U (en) * 2013-04-19 2013-09-04 青岛海信电器股份有限公司 Data processing apparatus, display apparatus and television set
CN103731911A (en) * 2014-01-21 2014-04-16 英飞特电子(杭州)股份有限公司 Wireless router control method and device and wireless router applying same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450548A (en) * 2015-12-04 2016-03-30 深圳市掌讯通讯设备有限公司 Router control method, device and system
CN108551685A (en) * 2018-02-27 2018-09-18 广东欧珀移动通信有限公司 Method of controlling antenna, device, storage medium and electronic equipment
WO2024032631A1 (en) * 2022-08-11 2024-02-15 中兴通讯股份有限公司 Antenna control method and apparatus, storage medium, and electronic apparatus
CN116436712A (en) * 2023-06-13 2023-07-14 深圳维特智能科技有限公司 Low-power consumption control method, device and equipment for power supply of VPN router system of Internet of things
CN116436712B (en) * 2023-06-13 2023-08-22 深圳维特智能科技有限公司 Low-power consumption control method, device and equipment for power supply of VPN router system of Internet of things

Similar Documents

Publication Publication Date Title
CN105099717A (en) Router, and antenna control system and method
CN102204344B (en) Method and terminal for avoiding cell pingpong reselection
CN103166261B (en) A kind of control method, device and battery case realizing battery pack balancing and charge
CN107005264A (en) The antenna switching control method of wireless terminal and wireless terminal
CN102710256B (en) Phase frequency detector capable of reducing loop nonlinearity
CN105791560A (en) Data network access control method and user terminal
CN105357404A (en) Network switching method, device and communication terminal
CN105357728A (en) Network type switching method, device and mobile terminal
CN101547244A (en) Method for displaying signal intensity and signal quality of mobile terminal
CN107277872A (en) Method for switching network, device, mobile terminal and computer-readable recording medium
CN103298051A (en) Switching method and related user equipment and system
CN105517081A (en) Business processing method and device under hybrid network standard and mobile terminal
CN103369639A (en) Base-station control method, device and system
CN108574462A (en) Protect circuit, circuit protection method
CN107911845A (en) Load-balancing method, device, equipment and medium
CN103906205A (en) System for lowering power loss of wireless communication protocol coexisting device and achieving method thereof
CN206674204U (en) A kind of industrial control equipment voluntarily switched according to signal intensity
JP4361934B2 (en) Method and apparatus for parameter re-encoding
TW201513695A (en) Method, system and equipment for reporting mobile information
CN103702369A (en) Method, device and system for balancing dual-carrier networking load
CN105159772A (en) Control method for memory of mobile terminal and mobile terminal
CN106034182A (en) Method, device and terminal for controlling electric quantity loss
CN107135020B (en) Terminal intelligent antenna switching control method and device
EP3285543B1 (en) Multi-mode terminal
CN109769291B (en) Terminal power control method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151125

WD01 Invention patent application deemed withdrawn after publication