CN105916196A - Power-saving stepped wifi control method - Google Patents

Power-saving stepped wifi control method Download PDF

Info

Publication number
CN105916196A
CN105916196A CN201610435433.9A CN201610435433A CN105916196A CN 105916196 A CN105916196 A CN 105916196A CN 201610435433 A CN201610435433 A CN 201610435433A CN 105916196 A CN105916196 A CN 105916196A
Authority
CN
China
Prior art keywords
wifi
network data
duration
screen
countdown
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
CN201610435433.9A
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.)
Top Technology (shenzhen) Co Ltd
Original Assignee
Top Technology (shenzhen) 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 Top Technology (shenzhen) Co Ltd filed Critical Top Technology (shenzhen) Co Ltd
Priority to CN201610435433.9A priority Critical patent/CN105916196A/en
Publication of CN105916196A publication Critical patent/CN105916196A/en
Pending legal-status Critical Current

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/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • 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/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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)
  • Telephone Function (AREA)

Abstract

The invention discloses a power-saving stepped wifi control method. The method comprises following steps of monitoring a screen state of a mobile phone; judging whether the mobile phone is switched from a bright screen to a dim screen or from the dim screen to the bright screen; starting counting down according to a preset monitoring duration when the mobile phone is switched from the bright screen to the dim screen; starting network data detection after countdown is finished; repeating monitoring countdown until there is no network data for transmission if the network data is being transmitted; closing wifi when there is no network data for transmission; starting counting down according to a first sleep duration and a second sleep duration; judging whether there is wifi data for transmission or not in time of different durations after the countdown is finished; counting down according to the preset monitoring duration if there is the wifi data for transmission; closing the wifi if there is no wifi data for transmission; and always keeping the wifi in a starting state when the mobile phone is switched from the dim screen to the bright screen. The method has the advantages of high operability and high practicability. The power can be effectively reduced.

Description

A kind of staged wifi control method of economize on electricity
Technical field
The present invention relates to carry out intelligently the device of pattern switching according to occasion.
Background technology
Mobile phone is one of necessary of people's routine work, life, due to the mobile communication network of mobile phone own speed with And flow restriction, people can use mobile phone to connect wifi, in the hope of faster network speed the flow of saving Mobile phone card. Therefore, the wifi linkage function of usual mobile phone is all always on state.
But, when the upper mobile phone of band is gone out, the coverage rate of wifi is the highest, causes wifi function to be in unlatching shape State, but and be not connected with WiFi, causes WiFi not real work the most ceaselessly in being attached work, and this is the most also One of factor that under outdoor activities, mobile phone flying power is not enough.
Although additionally, there is the covering of wifi at home, mobile phone can also be connected to wifi after opening wifi, but in sleep Time period substantially connect the demand of wifi and can be substantially reduced, and wifi switch remains unlatching, does not uses WiFi and close the most in time, be the most also one of mobile phone power consumption killer.
In addition to two kinds of situations exemplified above, there is also the situation being much not required to use wifi, these all can Expend the electricity of smart mobile phone so that the most short-life battery power consumption is further exacerbated by, thus affects battery of mobile phone Flying power.
In prior art, the manufacturer also having is in order to improve battery durable ability, in the certain time after mobile phone secretly shields It is shut off wifi, but this method exists a lot of defect, because not considering the currently used situation of mobile phone under dark screen, if under having Load task, directly closes WiFi and file download can be caused to terminate or be changed to GPRS downloading;The offer timing function also having, user Turning off wifi after can arranging a period of time, but the most just can complete the transmission of the packet of network, user is sometimes Cannot learn, and manual operation is cumbersome, wifi might as well be kept on all.And no matter which kind of closes the side of wifi Formula, is required for manually being again turned on wifi afterwards, just in case forgetting, can consume relatively various flow, and online experience is affected, because of This, how providing the stepped automatic wifi control method of a kind of economize on electricity is industry technical problem urgently to be resolved hurrily.
Summary of the invention
The present invention is to solve technical problem present in above-mentioned prior art, propose the staged wifi control of a kind of economize on electricity Method processed, comprises the steps:
Step 1: the screen state of monitoring cell-phone;
Step 2: judge that mobile phone is to transfer dark screen to from bright screen, or dark screen transfers bright screen to;When mobile phone transfers dark screen to from bright screen, then enter Enter step 3;When mobile phone transfers bright screen to from dark screen, then enter step 6;
Step 3: start countdown with default monitor duration, after countdown terminates, opening network Data Detection, if there being network number According to transmitting, then repeat step 3;If transmitting without network data, then after closing wifi, enter step 4;
Step 4: choose the first sleep duration and start countdown, after countdown terminates, open wifi, opens in the first detection duration Opening network data detection, if there being network data transmission, then returning step 3;If transmitting without network data, then enter step 5;
Step 5: choose the second sleep duration and start countdown, after countdown terminates, open wifi, opens in the second detection duration Opening network data detection, if there being network data transmission, then returning step 3;If transmitting without network data, return step 1;
Step 6: detect whether current wifi closes, if closing, then opens wifi.
The present invention has considered the use scene of daily mobile phone, opens irrational situation for current wifi and carries out Stepped wifi running scheme, it is intended to improve the flying power of mobile phone from the angle of WiFi power saving further.The present invention's Method is applicable to the most all intelligent terminals with wifi function, uses the strategy of WiFi staged power saving to carry out system Scheduling, completes in the opening and closing without the intermittency check WiFi in the case of network task, reaches the WiFi under secretly shielding and saves Fulgurite is managed, and is the on-demand mechanism being turned on and off WiFi at bright screen, i.e. facilitates user to forget to close WiFi at night or open air Automatically the mechanism managing WiFi is provided, there is more preferable Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart after one embodiment of the invention is secretly shielded;
Fig. 2 is the flow chart after bright screen of the present invention.
Detailed description of the invention
Principle and structure to the present invention are described in detail below in conjunction with the accompanying drawings.
As shown in Figure 1 and Figure 2, the staged wifi control method of the economize on electricity that first embodiment of the invention provides, for existing User use the frequency of mobile phone and the software of use to carry out many-sided consideration, not only reached the effect of economize on electricity but also do not affected use Family is experienced.
Step 1, the method can the screen state of monitoring cell-phone always, it is judged that mobile phone is to transfer dark screen to or from secretly from bright screen Screen transfers bright screen to, the most first describes mobile phone in detail when bright screen state transfers dark screen state to, the process step that the method is concrete.
Step 2, when mobile phone transfers dark screen to from bright screen, illustrates that user does not has any manual operation within a certain period of time, in order to Economize on electricity, mobile phone is automatically switched off screen.
Now starting step 3, monitor duration is set to 5 minutes carry out countdown, and after countdown terminates, opening network data are examined Surveying, if still there being this time network data to transmit, then continue with monitor duration income countdown, seeing whether consistent Network data is had to transmit, it is intended that when just secretly shielding soon, see whether also network in a relatively short period of time Data have been transmitted without, if not completing, then monitor the most frequently in this relatively short period of time, wait network Data transmission completes.Being set to by monitor duration 5 minutes is the concrete example of the present embodiment, in other embodiments, it is possible to To revise monitor duration the most accordingly.When a certain take turns monitor duration the countdown concluded after, do not have network data passing Send, then close wifi, save electricity.Meanwhile, next countdown period is entered.
Step 4, in next countdown period, chooses the first sleep duration and starts countdown, after countdown terminates, open Wifi, opening network Data Detection in the first detection duration, if now there being network data transmission, then return above step 3, Continue with one the most frequently the time go whether monitoring network completes.First sleep duration is in the present embodiment, selected It is 30 minutes, the scene that this duration is mainly gone out in view of user, such as traffic trip, climb the mountain, in this process, User uses the frequency of mobile phone to reduce, and now setting 30 minutes is a rest period, saves electricity, is then turned on 2 points after 30 minutes The wifi of clock seen whether network connect or whether have data transmission, do not interfere with the most yet this short-term of user without The use of wifi scene.If this countdown period, remain and do not connect wifi, or wifi can be connected, but There is no network data transmission, then close wifi, enter next countdown period yet;
In step 5, choose the second sleep duration and start countdown, after countdown terminates, open wifi, in the second detection duration Opening network Data Detection, if there being network data transmission, then returns step 3;Second sleep duration is set and mainly considers evening Time of having a rest scene, if there being midway unread message to arrive in Shui Mian, in time can obtain data by opening network, lower as far as possible to The interference of family experience property, the effect of simultaneously economize on electricity to be played, in the present embodiment, what second sleep duration was chosen is 120 points Clock, what the second detection duration was chosen is 1 minute, more shorter than 2 minutes of the first detection duration, within this time period, perhaps can There are some network information transfer, but should be few, and so time interval arranges longer, and the set of time opening wifi obtains Shorter, fully save the electric energy of mobile phone.If transmission without network data, now wifi is closed mode, will no longer open, and returns step The state change of rapid 1 monitoring screen.
If in the middle of any one countdown process above-mentioned, monitor mobile phone and now transferred to bright screen, the most immediately by dark screen Stop countdown, if wifi closes, open wifi, if wifi opens, wifi need not be operated, continue to return step 1 and monitor hands Change next time of the state of machine screen.
If as in figure 2 it is shown, during other, monitoring cell-phone is to be transferred to bright screen by dark screen, then whether detect current wifi Closing, if closing, then opening wifi.
In the present embodiment, monitor duration, the first sleep duration, the second sleep duration, the first detection duration, the second detection Duration all gives an example, on the basis of the present invention, according to practical situation, during suitable change corresponding duration concrete Between, also should belong to protection scope of the present invention.Above-mentioned each duration meets following two condition: when the first sleep duration is more than monitoring Long, and less than the second sleep duration.First detection duration is less than monitor duration, and detects duration more than second.
In the present embodiment, opening network Data Detection, main implementation method is first to read current system network data Flow value, then starts countdown with the default waiting time, such as wait 1 minute or x minute can, the most again read Take grid flow value, take 2 network flow difference, if network flow data is more than the threshold values being previously set, indicate net Network data are transmitting use, otherwise judge currently without network access request, do not have network data transmitting.According to test of many times and Observing, general backstage is downloaded or browses the operations such as webpage, and in 1 minute, front and back twice network traffics difference all can be more than 1M threshold Value, therefore in the present embodiment, sets the threshold to 1M, and those skilled in the art can also arrange phase according to concrete applicable cases The threshold value answered.
In order to further illustrate the effect of the present invention, the present invention uses two test machine, within the identical time period, point The method not using the present invention and the method not using the present invention, can the experimental result from following table find out, uses the present invention Method, can effectively promote the flying power of battery of mobile phone 8%-9%, absolutely prove the power savings of the present invention.
Note: test machine is same hardware configuration and the exploitation model machine of software system, mainly for the lower WiFi power consumption of dark screen Contrast test and conversation test, verify the whether power saving of staged WiFi.
Embodiments above is only in order to illustrate the structure of the present invention, and those of ordinary skill in the art is in the present invention Design under can make various deformation and change, these deformation and within change is included in protection scope of the present invention.

Claims (8)

1. the staged wifi control method of an economize on electricity, it is characterised in that comprise the steps:
Step 1: the screen state of monitoring cell-phone;
Step 2: judge that mobile phone is to transfer dark screen to from bright screen, or dark screen transfers bright screen to;When mobile phone transfers dark screen to from bright screen, then enter Enter step 3;When mobile phone transfers bright screen to from dark screen, then enter step 6;
Step 3: start countdown with default monitor duration, after countdown terminates, opening network Data Detection, if there being network number According to transmitting, then repeat step 3;If transmitting without network data, then after closing wifi, enter step 4;
Step 4: choose the first sleep duration and start countdown, after countdown terminates, open wifi, opens in the first detection duration Opening network data detection, if there being network data transmission, then returning step 3;If transmitting without network data, then close wifi, Enter step 5;
Step 5: choose the second sleep duration and start countdown, after countdown terminates, open wifi, opens in the second detection duration Opening network data detection, if there being network data transmission, then returning step 3;If transmitting without network data, then close wifi, Return step 1;
Step 6: detect whether current wifi closes, if closing, then opens wifi.
2. the staged wifi control method of economize on electricity as claimed in claim 1, it is characterised in that grow up during described first sleep In monitor duration, and less than the second sleep duration.
3. the staged wifi control method of economize on electricity as claimed in claim 1, it is characterised in that described first detection duration is little In monitor duration, and more than the second detection duration.
4. the staged wifi control method of economize on electricity as claimed in claim 2, it is characterised in that described monitor duration is 5 points Clock, first sleep time a length of 30 minutes, second sleep time a length of 120 minutes.
5. the staged wifi control method of economize on electricity as claimed in claim 3, it is characterised in that a length of during described first detection 2 minutes, described second detection time a length of 1 minute.
6. the staged wifi control method of economize on electricity as claimed in claim 1, it is characterised in that falling in step 3 to step 5 In timing course, when the screen state of monitoring cell-phone is transferred to bright screen by dark screen, then stop countdown, open when wifi closes Wifi, returns step 1.
7. the staged wifi control method of economize on electricity as claimed in claim 1, it is characterised in that opening network Data Detection has Body comprises the following steps:
Read current system network data flow value;
Countdown is started with the default waiting time;
After countdown terminates, again read off grid flow value;
Take 2 network flow difference, compare with the threshold value pre-set;If being more than, then feedback has network data transmission;If Be less than, then feedback is without network data transmission.
8. the staged wifi control method of economize on electricity as claimed in claim 7, it is characterised in that the described waiting time is 1 point Clock, described threshold value is 1M.
CN201610435433.9A 2016-06-16 2016-06-16 Power-saving stepped wifi control method Pending CN105916196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610435433.9A CN105916196A (en) 2016-06-16 2016-06-16 Power-saving stepped wifi control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610435433.9A CN105916196A (en) 2016-06-16 2016-06-16 Power-saving stepped wifi control method

Publications (1)

Publication Number Publication Date
CN105916196A true CN105916196A (en) 2016-08-31

Family

ID=56750489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610435433.9A Pending CN105916196A (en) 2016-06-16 2016-06-16 Power-saving stepped wifi control method

Country Status (1)

Country Link
CN (1) CN105916196A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412965A (en) * 2016-11-17 2017-02-15 上海斐讯数据通信技术有限公司 Method, network-surfing terminal, and system for automatic off-line realization
CN106686704A (en) * 2016-12-07 2017-05-17 广东欧珀移动通信有限公司 Terminal monitoring method and mobile terminal
CN106937407A (en) * 2017-05-15 2017-07-07 广东虹勤通讯技术有限公司 A kind of wireless network connection management method and device, terminal
CN107172691A (en) * 2017-04-05 2017-09-15 新智数字科技有限公司 A kind of dormancy method and meter of the communication module of meter
CN109302737A (en) * 2018-08-29 2019-02-01 硕诺科技(深圳)有限公司 A kind of method of night network unaware intelligent power saving
WO2019071522A1 (en) * 2017-10-12 2019-04-18 深圳传音通讯有限公司 Smart terminal-based wireless network control method and wireless network control device
CN112449411A (en) * 2019-08-27 2021-03-05 北京君正集成电路股份有限公司 Intelligent equipment working mode switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067938A (en) * 2012-12-04 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal dataflow saving method
CN103200314A (en) * 2013-03-05 2013-07-10 广东欧珀移动通信有限公司 Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal
CN103546951A (en) * 2013-10-31 2014-01-29 惠州Tcl移动通信有限公司 Mobile device and sleeping managing method thereof
CN105245735A (en) * 2015-09-29 2016-01-13 广东欧珀移动通信有限公司 Terminal controlling method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067938A (en) * 2012-12-04 2013-04-24 广东欧珀移动通信有限公司 Mobile terminal dataflow saving method
CN103200314A (en) * 2013-03-05 2013-07-10 广东欧珀移动通信有限公司 Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal
CN103546951A (en) * 2013-10-31 2014-01-29 惠州Tcl移动通信有限公司 Mobile device and sleeping managing method thereof
CN105245735A (en) * 2015-09-29 2016-01-13 广东欧珀移动通信有限公司 Terminal controlling method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412965A (en) * 2016-11-17 2017-02-15 上海斐讯数据通信技术有限公司 Method, network-surfing terminal, and system for automatic off-line realization
CN106686704A (en) * 2016-12-07 2017-05-17 广东欧珀移动通信有限公司 Terminal monitoring method and mobile terminal
CN106686704B (en) * 2016-12-07 2020-03-03 Oppo广东移动通信有限公司 Terminal monitoring method and mobile terminal
CN107172691A (en) * 2017-04-05 2017-09-15 新智数字科技有限公司 A kind of dormancy method and meter of the communication module of meter
CN106937407A (en) * 2017-05-15 2017-07-07 广东虹勤通讯技术有限公司 A kind of wireless network connection management method and device, terminal
WO2019071522A1 (en) * 2017-10-12 2019-04-18 深圳传音通讯有限公司 Smart terminal-based wireless network control method and wireless network control device
CN109302737A (en) * 2018-08-29 2019-02-01 硕诺科技(深圳)有限公司 A kind of method of night network unaware intelligent power saving
CN112449411A (en) * 2019-08-27 2021-03-05 北京君正集成电路股份有限公司 Intelligent equipment working mode switching method and device

Similar Documents

Publication Publication Date Title
CN105916196A (en) Power-saving stepped wifi control method
CN103199311B (en) The battery power saving method of portable type electronic product, equipment and mobile terminal
CN103199310B (en) Battery electric quantity support method, equipment and the mobile terminal of portable type electronic product
CN103167185B (en) Battery energy-saving method and system
CN107197103B (en) Power-saving operation control method and device for intelligent terminal
CN104780269A (en) Method and device for regulating performance of mobile terminal based on electric quantity
CN104166396A (en) Intelligent home control method and system
CN108363343A (en) Household electric appliance control method, system and computer storage media
CN103823400B (en) Socket monitoring system
CN103491262A (en) Intelligent power saving mode switching system of mobile terminal
CN104270520B (en) A kind of network management based on mobile terminal and system
CN103533166A (en) Mode switching method and device of mobile terminal
CN103889037A (en) Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof
CN106790611A (en) The monitoring method of internet of things equipment, supervising device and monitoring system
CN103268260A (en) Electronic equipment capable of automatically switching contextual models and switching method
CN108731185A (en) Control method, device, electrical equipment and the readable storage medium storing program for executing of electrical equipment
CN103593038A (en) Method and device for controlling applications
CN102438077B (en) Method and device for switching working state of mobile phone
CN107132905A (en) Terminal communication control method and terminal
CN110535207A (en) Battery durable ability method for improving and device, intelligent wearable device
CN106412344A (en) Method and device for reducing Bluetooth power consumption of bracelet
CN104457129B (en) A kind of method of APP Intelligent adjustment refrigerator work state
CN106249802A (en) A kind of household electrical appliance anti-tripping operation instruction system
CN106060868A (en) Network traffic monitoring method, device and terminal
CN205450598U (en) Smart home timing control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160831