Summary of the invention
The shortcoming of prior art in view of the above, a kind of probeRequest Frame by detecting handset emissions is the object of the present invention is to provide to wake the technical scheme of router transmitting data (TX) function up, so, not only cater to the policy of national low-carbon environment-friendly, be more reduce router to the time of the radiation of periphery crowd, avoid user to be in the stealthy health problem caused in complicated wireless radiation environment for a long time.
For achieving the above object and other relevant objects, the invention provides a kind of system by detection data frame optimization router amount of radiation, it at least comprises:
Frame detection receiver module, detect and receives probeRequest Frame, and the wireless transmission determining to open or close router device according to result of detection and | or wireless receiving function;
Switch module, the result of detection based on Frame detection receiver module perform router device wireless transmission and | or the unlatching of wireless receiving function or closedown.
In one embodiment of the invention, the described system by detection data frame optimization router amount of radiation, described in it, Frame detection receiver module detects and judges the size of wireless transmission flow, if wireless transmission flows exceed some preset values, then be not related to the wireless transmitting function closing router device, described preset value is set according to the service condition of self by user.
In one embodiment of the invention, the described system by detection data frame optimization router amount of radiation, described in it, Frame detection receiver module detects and judges whether to receive probeRequest Frame, receive then open wireless emission state, if exceed a certain duration do not receive probeRequest Frame, then setting wireless emission function is in closed condition, described a certain duration is set according to actual conditions by user, simultaneously, the probeRequest Frame that the state keeping wireless receiving function to be in opening receiving data frames is launched with the online request received at any time from user.
In one embodiment of the invention, the described system by detection data frame optimization router amount of radiation, Frame detection receiver module described in it is crossed in the some time after terminating in once detection and is again detected, and meanwhile, during detection, wireless receiving function is in opening always.
In one embodiment of the invention, the described system by detection data frame optimization router amount of radiation, it is when there being user to need connecting wireless network, the equipment of wireless network to be connected can launch probeRequest Frame automatically, when router device receives probeRequest Frame, automatic open wireless emission function.
For achieving the above object and other relevant objects, the present invention also provides a kind of method by detection data frame optimization router amount of radiation, and it at least comprises the steps:
Detection receives probeRequest Frame, and according to result of detection determine to open or close router device wireless transmission and | or wireless receiving function;
Based on above-mentioned result of detection perform router device wireless transmission and | or the unlatching of wireless receiving function or closedown.
In one embodiment of the invention, the described method by detection data frame optimization router amount of radiation, it is characterized in that: detect and judge the size of wireless transmission flow, if wireless transmission flows exceed some preset values, then be not related to the wireless transmitting function closing router device, described preset value is set according to the service condition of self by user.
In one embodiment of the invention, the described method by detection data frame optimization router amount of radiation, detection judges whether to receive probeRequest Frame, receive then open wireless emission state, exceed a certain duration and do not receive probeRequest Frame, then setting wireless emission function is in closed condition, described a certain duration is set according to actual conditions by user, meanwhile, the probeRequest Frame that the state keeping wireless receiving function to be in opening receiving data frames is launched with the online request received at any time from user.
In one embodiment of the invention, the described method by detection data frame optimization router amount of radiation, described detection is crossed in the some time after once detecting when receiving probeRequest Frame and terminating and is again detected, and during detection, wireless receiving function is in opening always.
In one embodiment of the invention, the described method by detection data frame optimization router amount of radiation, when user needs connecting wireless network, the equipment of wireless network to be connected can launch probeRequest Frame automatically, when router device receives probeRequest Frame, automatic open wireless emission function.
As mentioned above, a kind of system and method by detection data frame optimization router amount of radiation provided by the invention, has following beneficial effect:
Technical scheme provided by the present invention effectively can reduce router or other wireless devices to the radiation duration of user, fundamentally avoids to the trouble of the manual power-off of wireless device, also solves the inconvenience allowing equipment timed power on/off bring to live and work; Further, effectively can reduce wireless device emitting electromagnetic wave and bring hidden danger to the health of user, allow user can have a cleaner rest environment in without wireless device; This also meets the policy of national low-carbon environment-friendly, energy savings very much.
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Refer to shown in Fig. 1 and Fig. 3, the invention provides a kind of method and system by detection data frame optimization router amount of radiation, with solve prior art after wlan device sets SSID, this SSID can send broadcast packet notice towards periphery needs the user of connecting wireless network to have the existence of this SSID, and continue to launch this kind of broadcast packet, both radiation pollution was caused, the defect wasted energy again.
Technical scheme provided by the present invention effectively can reduce router or other wireless devices to the radiation duration of user, fundamentally avoids to the trouble of the manual power-off of wireless device, also solves the inconvenience allowing equipment timed power on/off bring to live and work; Further, effectively can reduce wireless device emitting electromagnetic wave and bring hidden danger to the health of user, allow user can have a cleaner rest environment in without wireless device; This also meets the policy of national low-carbon environment-friendly, energy savings very much.Current people mainly manually give router (AP) power-off in without router, accomplish energy-conserving and environment-protective and reduce the duration accepting radiation; In addition, some routers can arrange the duration that the mode such as timing switch wireless device or timing switch router avoids accepting radiation as far as possible.
Refer to shown in accompanying drawing 1, the invention provides a kind of system 100 by detection data frame optimization router amount of radiation, it at least comprises: Frame detection receiver module 101, detection receives probeRequest Frame, and according to result of detection determine whether to open or close router device wireless transmission and | or wireless receiving function; Switch module 102, the result of detection based on Frame detection receiver module perform router device wireless transmission and | or the unlatching of wireless receiving function or closedown.
By the creativeness of the system 100 of detection data frame optimization router amount of radiation, the present invention is mainly that wireless transmission (TX) function using the probeRequest Frame can launched when mobile phone or other equipment to carry out intelligent decision router (or other wireless devices) by detecting user is opened or closes, so neither affect the normal use of user, it also avoid user no time wireless device radiation is produced to user.
After wlan device sets SSID, this SSID constantly can send broadcast packet notice towards periphery needs the user of connecting wireless network to have the existence of this SSID, and this process of launching wireless data packet is also being carried out when user has a rest.Technical scheme provided by the present invention is decided unlatching or the closedown of router wireless transmitting function, will describe technical scheme of the present invention in detail as follows with preferred embodiment:
Refer to shown in accompanying drawing 2, that is: in certain hour interval, (such as: 15 minutes) detects less than probeRequest Frame, wireless transmission (TX) function of equipment is just closed automatically, and meanwhile, wireless receiving (RX) function is in opening always.When there being user to need connecting wireless network, his wireless device (as: mobile phone, dull and stereotyped etc.) can launch probeRequest Frame automatically, when router receives probeRequest Frame, automatically will open its wireless transmitting function.
In the use of reality, the execution step concrete by the method for detection data frame optimization router amount of radiation of the present invention is as follows:
Perform step S21, start;
Perform step S22, receive Jiffies value during probeRequest Frame, save as Jiffies_x;
Perform step S23, judge whether it is that 15min (can certainly be other set points) receives probeRequest Frame; If so, then
Perform step S27, reset the value of Jiffies_x, and TX, RX open; Continue
Perform step S29 to terminate; If not, then
Perform step S23, judge whether TX value is less than a certain value, described a certain value can be that user sets according to the price bidding of oneself oneself; If
Perform step S26, close TX and keep RX to open; Continue
Perform step S29 to terminate; If not, then
Perform step S25, Jiffies_x value and add 5 minutes; Continue
Perform step S29 to terminate;
If do not detect and receive probeRequest Frame, then
Perform step S28, again detect after 1 minute, within described 1 minute, be also user oneself setting or default value, can revise as required.
The size of described judgement TX flow, if TX flows exceed some values, is not related to the wireless transmitting function closing router because now probably have user with; Second, judge whether to receive probeRequest Frame, receive Frame then open wireless emission state, exceed a certain duration and do not receive probeRequest Frame, then set TX and be in closed condition, that is: not outside wireless signal emission, simultaneously, keep RX to be in opening, that is: allowing router (or other wireless device) be in can the state of receiving data frames, can receive the probeRequest Frame that the online request from user is launched so at any time; 3rd, cross after one-time detection terminates and again detect for 1 minute, this is done to avoid this process to take too much memory source; Time is as follows:
Refer to as shown in Figure 3, time shaft implements schematic diagram, supposes that the time interval is 5 minutes, router have received probeRequest Frame in the t1 moment, and so within the time of t1 ~ t4, TX, RX open, that is: router can wireless signal emission, also can receive wireless signal; Within the time of t4 time point or t1 ~ t4, have received probeRequest Frame then in units of this time point, pass 3 chronomeres backward, if confiscate probeRequest Frame, then detect the current uninterrupted of TX once, be less than a certain value and then represent do not have user to use wireless network, this time closes TX process automatically, RX is then held open state always, that is: close the function of router wireless signal emission, and the function receiving wireless signal is held open (whether be convenient to detect at any time has user to need access of radio network).After closing TX, RX is held open state, if receive probeRequest Frame, then automatically opens TX function, gives and needs the user of access to provide traffic service.Further, after t5 time point has detected, within t5+1 minute, again detected, run to avoid this sequence lasts and take too much memory source;
Certainly, use in the process of wireless flow user, the transmitting probeRequest Frame of mobile phone (or other wireless terminal) meeting automatic intermittent, the size detecting flow before closing TX is just guaranteed not use wireless data again, and in program diagram the value of Jiffies_x add 5 minutes be meant to again to 5 minutes close TX, because now TX flow is greater than a certain value explanation have user in use, detection TX flow is still greater than a certain value and just adds 5 minutes more again, until be less than a certain value to close TX function, and RX is kept to open; In TX closing process, if RX have received probeRequest Frame, automatically wake up.
In sum, to judge whether have user to use wireless for the mode of the probeRequest Frame of the present invention's detecting wireless terminal transmission; In detecting certain hour, detecting is less than probe frame, judges the service condition of TX, guarantees do not have user to use; When closing TX, RX is held open, and detecting at any time needs to be connected into wireless user; After one-time detection terminates after one minute after again detect, prevent from running always and take too much memory source.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.