CN105338603A - Method for adjusting transmission power of wireless router in self-adaptive manner, and wireless router - Google Patents

Method for adjusting transmission power of wireless router in self-adaptive manner, and wireless router Download PDF

Info

Publication number
CN105338603A
CN105338603A CN201510696084.1A CN201510696084A CN105338603A CN 105338603 A CN105338603 A CN 105338603A CN 201510696084 A CN201510696084 A CN 201510696084A CN 105338603 A CN105338603 A CN 105338603A
Authority
CN
China
Prior art keywords
wireless
wireless router
router
power
packet
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.)
Granted
Application number
CN201510696084.1A
Other languages
Chinese (zh)
Other versions
CN105338603B (en
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.)
LILING HENGMAO ELECTRONICS TECHNOLOGY Co Ltd
Original Assignee
LILING HENGMAO ELECTRONICS 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 LILING HENGMAO ELECTRONICS TECHNOLOGY Co Ltd filed Critical LILING HENGMAO ELECTRONICS TECHNOLOGY Co Ltd
Priority to CN201510696084.1A priority Critical patent/CN105338603B/en
Publication of CN105338603A publication Critical patent/CN105338603A/en
Application granted granted Critical
Publication of CN105338603B publication Critical patent/CN105338603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for adjusting transmission power of a wireless router in a self-adaptive manner, and the wireless router. The method comprises the steps that: S1, calculating theoretical total data packets and actual total data packets in real time according to a formula shown in description by means of a microprocessor inside the router, and detecting variation of the data packets every 10 seconds; S2, and controlling working states of the wireless router based on the actual total data packets, adjusting a power module of the wireless router if the actual total data packets are less than or equal to the theoretical total data packets within T time of adjusting wireless power so that the wireless router is in a dormant state, and determining a transmission functional level L of the wireless router according to a piecewise function method if the actual total data packets n is greater than the actual total data packets NO. The method for adjusting transmission power of the wireless router in the self-adaptive manner and the wireless router can significantly reduce energy consumption of the router, and reduce wireless radiation.

Description

A kind of method of Automatic adjusument wireless router transmitting power and wireless router
Technical field
The present invention relates to a kind of method and wireless router of Automatic adjusument wireless router transmitting power, belong to the intelligent field of Wireless Telecom Equipment.
Background technology
Along with the development of the Internet, wireless routing device is popularized in a large number, and nearly all town dweller has one or more wireless router.But the wireless module of these routers all runs with the transmitting power steadily set, and both wastes the energy, and too increases the injury of electromagnetic radiation to human body.Even if other equipment can adjust wireless power on the market, but also need the back-stage management interface by entering into router, or using mobile phone A PP software to carry out connection route carries out complicated setting, complicated operation, and the function not possessing self-adaptative adjustment.。Therefore, the method and the wireless router that design a kind of Automatic adjusument wireless router transmitting power is necessary.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method and wireless router of Automatic adjusument wireless router transmitting power, the method of this Automatic adjusument wireless router transmitting power and wireless router significantly can reduce the energy consumption of router, reduce wireless radiation.
The technical solution of invention is as follows:
A method for Automatic adjusument wireless router transmitting power, comprises the following steps:
Step 1: the microprocessor in router (i.e. Automatic adjusument wireless router) calculates theoretical total data bag and substantial amt as follows in real time according to bag;
Perform in the router, in router, the Power Regulation subprogram of called after wlan_auto, automatically performs after route system has started, according to actual monitoring to wireless interface data bag how much come automatically to adjust wireless power.
Packet threshold value+wireless user's number * packet radio threshold value of theoretical total data bag=wireless zero load;
Substantial amt is according to this stats.tx_packet of bag=last stats.tx_packets-;
Detect the change of a packet every 10 seconds;
As long as wherein the substantial amt of one-shot change is according to bag, be greater than theoretical total data bag number, then think at use network, directly how much be transferred to corresponding power according to packet change.And the detection substantial amt of continuous 5 minutes (namely hereafter T time) does not all exceed theoretical value according to bag, then think that no user uses network, adjustment enters resting state.
The data traffic bag of wireless TX when namely the packet threshold value of wireless zero load does not have user to connect use; TX, refers to wireless transmission, and Transmits, RX represent wireless reception;
Packet radio threshold values, i.e. the packet number of wireless device successful connection still not needed for visit data flow;
Wireless user's number, be namely connected at present wireless router number of users;
Stats.tx_packet is the packet of total transmission of router wave point;
Router wave point refers to router two .4G and 5G wave point.Namely wireless router to other-end wireless device as mobile phone etc. sends the interface of data.Power Regulation subprogram according to router wave point send packet number, promote or reduce the wireless power of equipment, to ensure wireless transmission speed;
Step 2: the operating state controlling wireless router based on substantial amt according to bag;
(1) if within T time scope [T is 3-10 minute, preferably 5 minutes] detect that substantial amt is all less than or equal to theoretical total data bag according to bag, then by Power Regulation subprogram, the power of router is adjusted to park mode.[Power Regulation subprogram when within the scope of T time, be consecutively detected substantial amt when being all less than theoretical value according to bag, then think that equipment enters resting state, therefore by Modulating Power to minimum.And when as long as Power Regulation subprogram one detects that actual usage data bag is larger than theoretical value, namely think use wireless, directly with regard to bring to power, do not need the time period to detect.Power Regulation subprogram, the subprogram adjusting radio transmitted power according to the number of wireless transmission data bag run in router software.
(2) if substantial amt is greater than theoretical total data bag NO according to bag n, then the horizontal L of the emission function of wireless router is determined in the following manner:
Illustrate: it is 1500 bytes that a network packet is calculated by maximum byte, 1KB=1024 byte, therefore actually herein should be: n*1500/1024 (KB), and Tu1Zhong transverse axis unit be KB/10s, namely at interval of the number-of-packet of the transmitting of the equipment of 10 seconds;
If a () NO*1500/1024 < n*1500/1024 < is 32kB, L is 5dBm;
If b () 32kB≤n*1500/1024 < is 64kB, L is 10dBm;
If c () 64kB≤n*1500/1024 < is 128kB, L is 15dBm;
If d () 128kB≤n*1500/1024 < is 256kB, L is 20dBm;
If e unit that () n*1500/1024 >=256kB, L are 25dBm, n*1500/1024 is kB,
Wherein * represents multiplication sign.
Power and P (watt) reduction formula: P ' dBm=30+10lgP (P: watt; P ': unit is dbm);
Wireless router is connected with server, and mobile phone or panel computer are managed wireless router by the APP routine access server installed; Communicated by socket communication mode between wireless router and server.
The user of server end divides firsts and seconds authority, and one-level authority is server administrators, can check all wireless routers registered on the server of configuration; Secondary authority is the personal user having wireless router, corresponding one ID and of each wireless router logs in account number and password, user passes through institute's account number cipher of holding from APP software logon server, the healthy router of ALARA Principle corresponding ID, and the routing state of other users cannot be seen.
There is in wireless router automatic power regulation subsystem [i.e. power model], by monitoring/proc/net/dev, obtain the data on flows of wireless portion tx; In wireless protocols, definition has message, for timing keep-alive [timing keep-alive: the broadcast of wireless messages can allow other-end search, and connected the link maintenance of user] and management STA[STA: the work station in WLAN (wireless local area network), be generally wireless client, as mobile phone or the notebook by wireless connections], and broadcast probe frame; The User Status of current wireless router is judged by the total data flow information of acquisition/proc/net/dev wave point.
The power model of wireless router adopts Lei Xun section LXK6601PA amplifying circuit.
A kind of wireless router, has the power model for regulating radio transmitted power; Also be linked in internet for the server interaction with configuration wireless router; The method of aforesaid Automatic adjusument wireless router transmitting power is adopted to carry out Automatic adjusument to radio transmitted power.
The power model of line router adopts Lei Xun section LXK6601PA amplifying circuit.
Described wireless router is provided with LED;
When the power of wireless router is in the transmitting power scope of 5dbm, LED is bright green;
When the power of wireless router is in the transmitting power scope of 10dbm, 15dbm or 20dbm, LED is bright orange;
When the power of wireless router is in the transmitting power scope of 25dbm, LED is shiny red.
In use, be operated in what pattern after automatic adjustment wireless power subsystem intelligent decision mobile phone or other wireless devices are connected to healthy route, namely dormancy that to be terminal use be or normal use traffic, adjust the watt level of healthy route automatically according to this situation.As mobile phone of sleeping evening do not shut down when, be wirelessly connected to router, but the flow not producing flow or generation is very little, routing device then judges do not have user at use wifi, and automatic power adjustment is to minimal mode.And when user uses mobile phone access webpage or other purposes cause needing use traffic, healthy route detects that this cell phone apparatus has massive dataflow request, therefore automatic power adjustment is to the maximum of setting, allows user normally use wireless network.
Operation interface retains adjustment functional switch function simultaneously, or hardware switch is set on the router, user want to allow equipment steady transmitting power time, only need intelligent control function to close can reach the effect the same with manual Modulating Power on the market, compatibility is good.
Beneficial effect:
The method of Automatic adjusument wireless router transmitting power of the present invention and wireless router, can adjust wireless transmitting power automatically according to the size real-time intelligent of user's usage data flow bag, ensures that wireless router is at any time all with optimum state work
This wireless router can be described as healthy router, intelligence is used automatically to adjust radio function, embedded automatic power adjustment subprogram, can according to the wireless service condition of reality, how many in conjunction with number of users, automated intelligent segmentation Modulating Power, reaches the real wifi of use as required, reduce wireless radiation impact, allow equipment all be operated at any time in wireless coverage that is desirable, safety.Adopt wireless gain PA design, promote wireless power transmission, add large coverage and strengthen ability through walls.User's equipment solves whole family's wireless network and uses, and ensures that wireless coverage is without dead angle.
Accompanying drawing explanation
Fig. 1 is that flow contrasts figure with transmitting power.
Fig. 2 is main flow chart of the present invention.
Fig. 3 is socket connection setup process schematic.
Fig. 4 is receiving data stream journey figure.
Fig. 5 is for sending data flowchart;
Fig. 6 is system construction figure.
Fig. 7 is the flow chart judging whether to exist validated user.
Embodiment
Below with reference to the drawings and specific embodiments, the present invention is described in further details:
Embodiment 1:
As Fig. 1-7, a kind of method of Automatic adjusument wireless router transmitting power, comprises the following steps:
Step 1: the microprocessor in router (i.e. Automatic adjusument wireless router) calculates theoretical total data bag and substantial amt as follows in real time according to bag;
Perform in the router, in router, the Power Regulation subprogram of called after wlan_auto, automatically performs after route system has started, according to actual monitoring to wireless interface data bag how much come automatically to adjust wireless power.
Packet threshold value+wireless user's number * packet radio threshold value of theoretical total data bag=wireless zero load;
Substantial amt is according to this stats.tx_packet of bag=last stats.tx_packets-;
Detect the change of a packet every 10 seconds;
As long as wherein the substantial amt of one-shot change is according to bag, be greater than theoretical total data bag number, then think at use network, directly how much be transferred to corresponding power according to packet change.And the detection substantial amt of continuous 5 minutes (namely hereafter T time) does not all exceed theoretical value according to bag, then think that no user uses network, adjustment enters resting state.
The data traffic bag of wireless TX when namely the packet threshold value of wireless zero load does not have user to connect use; TX, refers to wireless transmission, and Transmits, RX represent wireless reception;
Packet radio threshold values, i.e. the packet number of wireless device successful connection still not needed for visit data flow;
Wireless user's number, be namely connected at present wireless router number of users;
Stats.tx_packet is the packet of total transmission of router wave point;
Router wave point refers to router two .4G and 5G wave point.Namely wireless router to other-end wireless device as mobile phone etc. sends the interface of data.Power Regulation subprogram according to router wave point send packet number, promote or reduce the wireless power of equipment, to ensure wireless transmission speed;
Step 2: the operating state controlling wireless router based on substantial amt according to bag;
(1) if within T time scope [T is 3-10 minute, preferably 5 minutes] detect that substantial amt is all less than or equal to theoretical total data bag according to bag, then by Power Regulation subprogram, the power of router is adjusted to park mode.[Power Regulation subprogram when within the scope of T time, be consecutively detected substantial amt when being all less than theoretical value according to bag, then think that equipment enters resting state, therefore by Modulating Power to minimum.And when as long as Power Regulation subprogram one detects that actual usage data bag is larger than theoretical value, namely think use wireless, directly with regard to bring to power, do not need the time period to detect.Power Regulation subprogram, the subprogram adjusting radio transmitted power according to the number of wireless transmission data bag run in router software.
(2) if substantial amt is greater than theoretical total data bag NO according to bag n, then the horizontal L of the emission function of wireless router is determined in the following manner:
Illustrate: it is 1500 bytes that a network packet is calculated by maximum byte, 1KB=1024 byte, therefore actually herein should be: n*1500/1024 (KB), and Tu1Zhong transverse axis unit be KB/10s, namely at interval of the number-of-packet of the transmitting of the equipment of 10 seconds;
If a () NO*1500/1024 < n*1500/1024 < is 32kB, L is 5dBm;
If b () 32kB≤n*1500/1024 < is 64kB, L is 10dBm;
If c () 64kB≤n*1500/1024 < is 128kB, L is 15dBm;
If d () 128kB≤n*1500/1024 < is 256kB, L is 20dBm;
If e unit that () n*1500/1024 >=256kB, L are 25dBm, n*1500/1024 is kB, wherein * represents multiplication sign.
Power and P (watt) reduction formula: P ' dBm=30+10lgP (P: watt; P ': unit is dbm);
Wireless router is connected with server, and mobile phone or panel computer are managed wireless router by the APP routine access server installed; Communicated by socket communication mode between wireless router and server.
The user of server end divides firsts and seconds authority, and one-level authority is server administrators, can check all wireless routers registered on the server of configuration; Secondary authority is the personal user having wireless router, corresponding one ID and of each wireless router logs in account number and password, user passes through institute's account number cipher of holding from APP software logon server, the healthy router of ALARA Principle corresponding ID, and the routing state of other users cannot be seen.
There is in wireless router automatic power regulation subsystem [i.e. power model], by monitoring/proc/net/dev, obtain the data on flows of wireless portion tx; In wireless protocols, definition has message, for timing keep-alive [timing keep-alive: the broadcast of wireless messages can allow other-end search, and connected the link maintenance of user] and management STA[STA: the work station in WLAN (wireless local area network), be generally wireless client, as mobile phone or the notebook by wireless connections], and broadcast probe frame; The User Status of current wireless router is judged by the total data flow information of acquisition/proe/net/dev wave point.
The power model of wireless router adopts Lei Xun section LXK6601PA amplifying circuit.
A kind of wireless router, has the power model for regulating radio transmitted power; Also be linked in internet for the server interaction with configuration wireless router; The method of aforesaid Automatic adjusument wireless router transmitting power is adopted to carry out Automatic adjusument to radio transmitted power.
The power model of line router adopts Lei Xun section LXK6601PA amplifying circuit.
Described wireless router is provided with LED;
When the power of wireless router is in the transmitting power scope of 5dbm, LED is bright green;
When the power of wireless router is in the transmitting power scope of 10dbm, 15dbm or 20dbm, LED is bright orange;
When the power of wireless router is in the transmitting power scope of 25dbm, LED is shiny red.
The wireless router of Automatic adjusument wireless router transmitting power, has wireless 2.4G/5G automatic power regulation subsystem, by monitoring/proc/net/dev, obtains the data on flows of wireless portion tx.Some messages are defined in wireless protocols; for timing keep-alive [timing keep-alive: the broadcast of wireless messages can allow other-end search; and connected the link maintenance of user] and management sta[STA: the work station in WLAN (wireless local area network); be generally wireless client; as mobile phone or the notebook by wireless connections], and broadcast probe frame.By monitor these messages number [user and application program can by system /proc file system, the total data flow information of acquisition/proc/net/dev wave point] judge the User Status of current AP.
Packet threshold value+wireless user's number * 2.4/5G packet radio threshold value of theoretical total data bag=wireless zero load
Substantial amt is according to bag=last stats.tx_packets-this time stats.tx_packet
[stats.tx_packet is the name variable defined in software, is the bag of total transmission of wave point.The total data flow information of acquisition/proc/net/dev wave point that software is real-time. and in write structure body, go in stats.tx_packet title.】
Wherein:
The packet threshold value of wireless zero load, the data traffic bag of wireless tx when namely not having user to connect use;
Packet radio threshold values, i.e. wireless device successful connection, but do not have visit data flow, and the protocol frame wireless for keep-alive that wireless routing itself sends, as the packet connecting or break whether can be had by detection of handset equipment;
Wireless user's number, the number of users be namely connected at present.In conjunction with connect number of users number, calculate current total wireless flow demand, adjust wireless power transmission in real time in conjunction with actual conditions.
After validated user is connected to healthy route by nothing, if be all less than theoretical packet sum within 5 minutes of adjustment, then by healthy for this AP[routing device] be in resting state, the power of system is adjusted to the resting state of correspondence; And when actual data packet is greater than gross data bag, think that now user is using wireless, wireless power is then adjusted to default transmission power level [presetting transmission power level is 5db, namely can ensure that user can search for and be connected to healthy routing device when every a wall] by Power Regulation subsystem.In conjunction with the size realizing use traffic, real-time segmentation judges, the online not affecting user is shortly experienced, and in turn ensure that the effective of wireless power, safe handling.
1. healthy route and server create socket and communicate;
Mobile phone A PP by Cloud Server managing health route adopt be socket communication.Detailed process is see Fig. 3, server calls socket creates a filec descriptor, function bind by this filec descriptor with server address together with port binding, call listen and port translation is become to monitor socket port wait connection request, then call accept to accept the request of router.In other one end of communication, router call function socket creates a filec descriptor, then calls connect and comes to connect with server.
2. thread is monitored, reasonable distribution server resource;
Server creates watcher thread, when router solicitation connection server, server creates the worker thread of this router corresponding, and join that thread pool is medium to be triggeredly to be called, thread in thread pool is in sleep state, when occurring that user connects and this user is validated user, when this user occurs high amount of traffic amount requirements for access simultaneously, running status just can be triggered; Monitoring part implements at Ali's Cloud Server, and healthy route is connected to Ali's cloud as client, and the essential informations such as some connection status of timing reporting equipment.Mobile phone A PP passes through Ali's Cloud Server, the healthy routing device of indirect control.
Worker thread quantity in thread pool decides according to the operation quantity of healthy router, just new worker thread can be created when router solicitation connects, only need the router managing fixed qty, so determined the quantity of worker thread by router quantity, the wasting of resources creating unnecessary thread can be reduced, be also enough to manage all-router.
3. deposit data chained list, safety is not lost;
As Fig. 4, when healthy route has uploading data such as new user to connect, then socket descriptor there are data readable, then the data received are put into and receive in chained list, and this socket descriptor is added readable task queue, worker thread obtains socket descriptor deal with data again from work queue.
When server end needs to send data to healthy router as setting wireless transmission power level, then socket descriptor there are data to write, data are stored into and send in chained list, and added by socket descriptor can writing task queue, worker thread obtains socket descriptor deal with data again from work queue.
As Fig. 5, server constantly can monitor socket descriptor, and when there being read/write operation, join in task queue by socket descriptor, the task attribute that this socket descriptor is corresponding is labeled as read/write simultaneously.During the worker thread Processing tasks of server calls free time, carry out corresponding read/write operation according to this attribute exactly.Server calls worker thread Processing tasks is concurrent carrying out, and multiple thread is performed by quick poll.
4. user right classification, promotes safety management;
As Fig. 6, the user of server end divides firsts and seconds authority, and one-level authority is server administrators, can check all healthy routers registered on the server of configuration; Secondary authority is the personal user of institute's unsoundness router, corresponding one ID and of each healthy router logs in account number and password, user passes through institute's account number cipher of holding from APP software logon server, the healthy router of ALARA Principle corresponding ID, and the routing state of other users cannot be seen.
5. validated user detects, and prevents other users from rubbing net;
As Fig. 7, user, first after logon server, needs to arrange " validated user " to the healthy router of oneself, i.e. the MAC Address of the mobile device such as mobile phone, can show all MAC Address connected arranging in list, and display is legal or disabled user.When disabled user connects time, can not trigger wireless Power Regulation subprogram, therefore the radio transmitted power of equipment enters resting state, and this user can affect him because transmitting power is lower when use wireless network and rub the experience of net.In addition, also from arranging interface or APP software, online can be carried out to disabled user and controls, even if allow others also cannot rub net in the successful connection.
6. real-time monitoring data flow, adjusts radio transmitted power automatically;
After healthy router normally starts, according to whether there is " validated user " connecting, routers being entered resting state (namely close wireless transmitting function or reduce radio transmitted power to set point) or activating wireless transmitting function (being promoted to set point by radio transmitted power) process.System can be called intelligent Power Regulation software subsystem and monitor the packet forwarding situation connecting user in real time, and when user access data flow amount is lower than setting threshold values time, wireless power is adjusted to value that is minimum or setting by router Power Regulation software subsystem automatically; When data traffic is higher than threshold values, subsystem then automatic activation radio transmitted power by power ascension level set point.
Wireless 2.4G/5G automatic power regulation subsystem, by monitoring/proc/net/dev, obtains the data on flows of wireless portion tx.Some messages are defined in wireless protocols, for timing keep-alive and management sta, and broadcast probe frame.The User Status of current AP is judged by the number monitoring these messages.
Packet threshold value+wireless user's number * 2.4/5G packet radio threshold value of theoretical total packet=wireless zero load
Substantial amt is according to bag=last stats.tx_packets-this time stats.tx_packet
Wherein:
The packet threshold value of wireless zero load, the data traffic bag of wireless tx when namely not having user to connect use;
Packet radio threshold values, i.e. wireless device successful connection, but do not have visit data flow, and the protocol frame that more than the use that wireless routing itself sends, keep-alive is wireless, as the packet connecting or break whether can be had by detection of handset equipment;
Wireless user's number, the number of users be namely connected at present.In conjunction with connect number of users number, calculate current total wireless flow demand, adjust wireless power transmission in real time in conjunction with actual conditions.
See Fig. 1, after validated user is connected to healthy route by nothing, if be all less than theoretical packet sum within 5 minutes of adjustment, this AP is in resting state, the power of system is adjusted to corresponding resting state; And when actual data packet is greater than gross data bag, think that now user is using wireless, wireless power is then adjusted to the performance number set most by Power Regulation subsystem.In conjunction with the size realizing use traffic, real-time segmentation judges, the online not affecting user is shortly experienced, and in turn ensure that the effective of wireless power, safe handling.

Claims (8)

1. a method for Automatic adjusument wireless router transmitting power, is characterized in that, comprises the following steps:
Step 1: the microprocessor in router calculates theoretical total data bag and substantial amt as follows in real time according to bag;
Packet threshold value+wireless user's number * packet radio threshold value of theoretical total data bag=wireless zero load;
Substantial amt is according to this stats.tx_packet of bag=last stats.tx_packets-;
Detect the change of a packet every 10 seconds;
The data traffic bag of wireless TX when namely the packet threshold value of wireless zero load does not have user to connect use;
Packet radio threshold values, i.e. the packet number of wireless device successful connection still not needed for visit data flow;
Wireless user's number, be namely connected at present wireless router number of users;
Stats.tx_packet is the packet of total transmission of router wave point;
Step 2: the operating state controlling wireless router based on substantial amt according to bag;
(1) if detect that substantial amt is all less than or equal to theoretical total data bag according to bag within T time scope, then by Power Regulation subprogram, the power of router is adjusted to park mode;
If substantial amt is greater than theoretical total data bag NO according to bag n, then determine the horizontal L of the emission function of wireless router in the following manner:
If a () NO*1500/1024 < n*1500/1024 < is 32kB, L is 5dBm;
If b () 32kB≤n*1500/1024 < is 64kB, L is 10dBm;
If c () 64kB≤n*1500/1024 < is 128kB, L is 15dBm;
If d () 128kB≤n*1500/1024 < is 256kB, L is 20dBm;
If e unit that () n*1500/1024 >=256kB, L are 25dBm, n*1500/1024 is kB, wherein * represents multiplication sign.
2. the method for Automatic adjusument wireless router transmitting power according to claim 1, it is characterized in that, wireless router is connected with server, and mobile phone or panel computer are managed wireless router by the APP routine access server installed; Communicated by socket communication mode between wireless router and server.
3. the method for Automatic adjusument wireless router transmitting power according to claim 1, it is characterized in that, the user of server end divides firsts and seconds authority, and one-level authority is server administrators, can check all wireless routers registered on the server of configuration; Secondary authority is the personal user having wireless router, corresponding one ID and of each wireless router logs in account number and password, user passes through institute's account number cipher of holding from APP software logon server, the healthy router of ALARA Principle corresponding ID, and the routing state of other users cannot be seen.
4. the method for Automatic adjusument wireless router transmitting power according to claim 1, is characterized in that having automatic power regulation subsystem in wireless router, by monitoring/proc/net/dev, obtains the data on flows of wireless portion tx; In wireless protocols, definition has message, for timing keep-alive and management STA, and broadcast probe frame; The User Status of current wireless router is judged by the total data flow information of acquisition/proc/net/dev wave point.
5. the method for the Automatic adjusument wireless router transmitting power according to any one of claim 1-3, is characterized in that, the power model of wireless router adopts Lei Xun section LXK6601PA amplifying circuit.
6. a wireless router, is characterized in that, has the power model for regulating radio transmitted power; Also be linked in internet for the server interaction with configuration wireless router; The method of the Automatic adjusument wireless router transmitting power described in any one of claim 1-4 is adopted to carry out Automatic adjusument to radio transmitted power.
7. wireless router according to claim 6, is characterized in that, the power model of wireless router adopts Lei Xun section LXK6601PA amplifying circuit.
8. wireless router according to claim 7, is characterized in that, described wireless router is provided with LED;
(1) when the power of wireless router is in the transmitting power scope of 5dbm, LED is bright green;
(2) when the power of wireless router is in the transmitting power scope of 10dbm, 15dbm or 20dbm, LED is bright orange;
(3) when the power of wireless router is in the transmitting power scope of 25dbm, LED is shiny red.
CN201510696084.1A 2015-10-23 2015-10-23 A kind of method and wireless router of automatic adjusument wireless router transmission power Active CN105338603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510696084.1A CN105338603B (en) 2015-10-23 2015-10-23 A kind of method and wireless router of automatic adjusument wireless router transmission power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510696084.1A CN105338603B (en) 2015-10-23 2015-10-23 A kind of method and wireless router of automatic adjusument wireless router transmission power

Publications (2)

Publication Number Publication Date
CN105338603A true CN105338603A (en) 2016-02-17
CN105338603B CN105338603B (en) 2019-04-19

Family

ID=55288789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510696084.1A Active CN105338603B (en) 2015-10-23 2015-10-23 A kind of method and wireless router of automatic adjusument wireless router transmission power

Country Status (1)

Country Link
CN (1) CN105338603B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744615A (en) * 2016-04-11 2016-07-06 上海斐讯数据通信技术有限公司 Method and Device for Dynamically Adjusting Transmission Power of WLAN Access Points
CN106550441A (en) * 2016-10-31 2017-03-29 上海斐讯数据通信技术有限公司 A kind of control method and device of radio transmitted power
CN106851797A (en) * 2016-12-16 2017-06-13 上海斐讯数据通信技术有限公司 Can wireless awakening router, wireless wake-up system and router wireless awakening method
CN106874123A (en) * 2017-03-13 2017-06-20 湖南恒茂高科股份有限公司 The method and system of multiple line distance management WAP
CN107819689A (en) * 2017-10-23 2018-03-20 上海斐讯数据通信技术有限公司 A kind of intelligent energy-saving inter router and its control system
CN108495363A (en) * 2018-03-22 2018-09-04 上海康斐信息技术有限公司 A kind of router control method and system
CN111884938A (en) * 2020-06-30 2020-11-03 海尔优家智能科技(北京)有限公司 Router information acquisition method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1480878A (en) * 2002-09-02 2004-03-10 联想(北京)有限公司 Method for obtaining information of linux operation system
US20080014981A1 (en) * 2006-07-17 2008-01-17 Muthaiah Venkatachalam Methods and apparatus for providing idle mode operations for a platform with a plurality of wireless communication devices
CN103731911A (en) * 2014-01-21 2014-04-16 英飞特电子(杭州)股份有限公司 Wireless router control method and device and wireless router applying same
CN104851274A (en) * 2015-05-22 2015-08-19 侯明鑫 Internet of Things designing scheme of WIFI (Wireless Fidelity), ZigBee and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1480878A (en) * 2002-09-02 2004-03-10 联想(北京)有限公司 Method for obtaining information of linux operation system
US20080014981A1 (en) * 2006-07-17 2008-01-17 Muthaiah Venkatachalam Methods and apparatus for providing idle mode operations for a platform with a plurality of wireless communication devices
CN103731911A (en) * 2014-01-21 2014-04-16 英飞特电子(杭州)股份有限公司 Wireless router control method and device and wireless router applying same
CN104851274A (en) * 2015-05-22 2015-08-19 侯明鑫 Internet of Things designing scheme of WIFI (Wireless Fidelity), ZigBee and server

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744615A (en) * 2016-04-11 2016-07-06 上海斐讯数据通信技术有限公司 Method and Device for Dynamically Adjusting Transmission Power of WLAN Access Points
CN106550441A (en) * 2016-10-31 2017-03-29 上海斐讯数据通信技术有限公司 A kind of control method and device of radio transmitted power
CN106851797A (en) * 2016-12-16 2017-06-13 上海斐讯数据通信技术有限公司 Can wireless awakening router, wireless wake-up system and router wireless awakening method
CN106874123A (en) * 2017-03-13 2017-06-20 湖南恒茂高科股份有限公司 The method and system of multiple line distance management WAP
CN107819689A (en) * 2017-10-23 2018-03-20 上海斐讯数据通信技术有限公司 A kind of intelligent energy-saving inter router and its control system
CN108495363A (en) * 2018-03-22 2018-09-04 上海康斐信息技术有限公司 A kind of router control method and system
CN111884938A (en) * 2020-06-30 2020-11-03 海尔优家智能科技(北京)有限公司 Router information acquisition method and device

Also Published As

Publication number Publication date
CN105338603B (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN105338603A (en) Method for adjusting transmission power of wireless router in self-adaptive manner, and wireless router
CN103379593B (en) A kind of terminal power saving method and terminal power saving device and network side battery saving arrangement
CN102549523B (en) For optimizing the apparatus and method of the power consumption of wireless device
CN101489294B (en) Method, router and network appliance for regulating power
CN102449983B (en) Method and system for no buffered traffic indication for wireless local area network (wlan) power save
CN104885033B (en) The resource management of the optimization in multi-radio access technology device
CN102177697B (en) Method for controlling internet services, and relevant device and system
US20180314314A1 (en) Method and system for for low power internetwork communication with machine devices
EP2744275A1 (en) Method and device for power saving
CN105376845A (en) Router transmitting power regulation method, router transmitting power regulation system and router
CN101742708B (en) Operating methods of wireless access point equipment and wireless access point equipment
US11126241B2 (en) Method and system for low power internetwork communication with machine devices
KR20110083054A (en) Method and appratus for supproting energy saving in a communication system
WO2011017920A1 (en) Method, device and terminal for flow control
WO2007066982A3 (en) Wireless communication system counting mobile terminals using mbms
CN104811965B (en) A kind of method and device of terminal optimized Internet resources
US9655047B2 (en) Reducing power consumption of a wireless terminal
CN101115217B (en) Method, system and device of paging access terminal
CN104660353B (en) A kind of data processing triggering method, apparatus and system
CN101686195A (en) Method and device for saving power of network terminal equipment
CN102710470B (en) A kind of M2M communication means and treatment facility
US9326298B2 (en) Wireless device background uplink small data packet
CN107612705A (en) A kind of method and trunking of the equipment power saving of bulk management internet-of-things terminal
CN104852982B (en) A kind of direct-connected method of WIA-PA network handheld device and field device based on Keep-alive frames
CN104618124B (en) A kind of system and method controlling cable break-make using short message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 412200 Hunan city of Zhuzhou province Liling City Economic Development Zone Hengmao science and Technology Park

Applicant after: Hunan Hengmao tech Limited by Share Ltd

Address before: 412200 Hunan city of Zhuzhou province Liling City Economic Development Zone Hengmao science and Technology Park

Applicant before: Liling Hengmao Electronics Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant