CN105744604A - WIFI module power consumption control device and method based on android system - Google Patents
WIFI module power consumption control device and method based on android system Download PDFInfo
- Publication number
- CN105744604A CN105744604A CN201410748795.4A CN201410748795A CN105744604A CN 105744604 A CN105744604 A CN 105744604A CN 201410748795 A CN201410748795 A CN 201410748795A CN 105744604 A CN105744604 A CN 105744604A
- Authority
- CN
- China
- Prior art keywords
- android system
- wifi module
- gpio
- state
- power consumption
- 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
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a WIFI module power consumption control device and method based on an android system, and the device comprises a detection apparatus which is used for detecting whether the android system enters a sleep state or not; and a control apparatus which is used for cutting the clock of a WIFI module under the condition that the android system enters the sleep state and carrying out the physical power-off of the WIFI module. The device cuts off the clock of the WIFI module when the android system enters the sleep state, and carries out the physical power-off of the WIFI module, so as to reduce the power consumption of the WIFI module and prolonging the standby time of hand-held equipment.
Description
Technical field
The present invention relates to Android system, in particular it relates to a kind of WIFI module power consumption control apparatus based on Android system and method.
Background technology
Android system is a powerful embedded OS in current handheld device, and it has been obtained for the favor of domestic and international lots of manufacturers and user, and it uses scope still in continuous expansion, and market share is very high.In Android system, WIFI module has become as a kind of standard configuration.After opening WIFI function, if user does not operate Android system for a long time, system can be closed screen and be entered resting state, at this moment WIFI module remains in that in working order, may proceed to consume battery electric quantity, reducing the stand-by time of handheld device, especially in the sector application that some are higher to standby time requirement, this situation is unallowed.
Summary of the invention
It is an object of the invention to provide a kind of WIFI module power consumption control apparatus based on Android system and method, it is possible to when Android system enters resting state, reduce the power consumption of WIFI module to extend the stand-by time of handheld device.
To achieve these goals, the present invention provides a kind of WIFI module power consumption control apparatus based on Android system, and this device includes detection device, is used for detecting whether described Android system enters resting state;And control device, for when Android system enters resting state, cutting off the clock of described WIFI module, and described WIFI module performed physics power down.
Preferably, described detection device is additionally operable to detect whether described Android system enters wake-up states from described resting state;And described control device is additionally operable to, when described Android system enters described wake-up states from described resting state, described WIFI module be performed physics and powers on, and provide clock to this WIFI module.
Preferably, by detecting the level of the GPIO of the input state of the master controller of described Android system, described detection device judges whether described Android system enters described resting state or whether described Android system enters described wake-up states from described resting state, wherein when Android system is in described resting state, described master controller unloading DHD driver element, the GPIO of output state is set to high level by this DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this output state;When described Android system is transferred to described wake-up states by described resting state, described master controller loads described DHD driver element, the GPIO of described output state is set to low level by described DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this described output state.
Preferably, this WIFI module power consumption control apparatus is secure digital input and output (SDIO) driver element.
Correspondingly, the present invention also provides for a kind of WIFI module power consumption control method based on Android system, and the method includes: detect whether described Android system enters resting state;And when Android system enters resting state, cut off the clock of described WIFI module, and WIFI module is performed physics power down.
Preferably, the described WIFI module power consumption control method based on Android system also includes: detect whether described Android system enters wake-up states from described resting state;And when Android system enters described wake-up states from described resting state, described WIFI module is performed physics and powers on, and provide clock to this WIFI module.
Preferably, the described WIFI module power consumption control method based on Android system also includes: judge whether described Android system enters resting state or whether described Android system enters described wake-up states from described resting state by detecting the level of the GPIO of the input state of the master controller of described Android system, wherein Android system in a dormant state time, described master controller unloading DHD driver element, the GPIO of output state is set to high level by this DHD driver element, this level is transferred to the GPIO of described input state by the GPIO of this described output state;When described Android system is transferred to wake-up states by resting state, described master controller loads described DHD driver element, the GPIO of described output state is set to low level by described DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this described output state.
Correspondingly, the present invention also provides for a kind of mobile equipment based on Android system, and this moves equipment and includes the above-mentioned WIFI module power consumption control apparatus based on Android system.
By technique scheme, when Android system enters resting state, cut off the clock of WIFI module, and WIFI module is performed physics power down to reduce the power consumption of WIFI module, extend the stand-by time of handheld device.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, is used for explaining the present invention, but is not intended that limitation of the present invention together with detailed description below.In the accompanying drawings:
Fig. 1 illustrates the structural representation of the WIFI module power consumption control apparatus based on Android system provided by the invention;
Fig. 2 illustrates the flow chart of the WIFI module power consumption control method when Android system enters resting state based on Android system;And
Fig. 3 illustrates the flow chart of the WIFI module power consumption control method when Android system is entered wake-up states by resting state based on Android system.
Description of reference numerals
10 master controllers 20 detect device
30 control device
Detailed description of the invention
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.It should be appreciated that detailed description of the invention described herein is merely to illustrate and explains the present invention, it is not limited to the present invention.
Fig. 1 illustrates the structural representation of the WIFI module power consumption control apparatus based on Android system provided by the invention.As it is shown in figure 1, the WIFI module power consumption control apparatus based on Android system may include that detection device 20, it is used for detecting whether Android system enters resting state;And control device 30, for when Android system enters resting state, cutting off the clock of WIFI module, and described WIFI module performed physics power down.
Detection device 20 can be also used for whether detection Android system enters wake-up states from resting state, control device 30 and can be also used for when Android system enters wake-up states from resting state, WIFI module is performed physics power on, and provide clock to this WIFI module.
Wherein, by detecting the level of the GPIO (universal input exports, GeneralPurposeInputOutput) of the input state of the master controller 10 of Android system, detection device 20 judges whether Android system enters resting state or whether Android system enters wake-up states from resting state.
Wherein, can should be secure digital input and output (being referred to as SDIO-SecureDigitalInputandOutput below) driver element based on the WIFI module power consumption control apparatus of Android system.Present invention is generally directed to the WIFI module of SDIO interface and perform the power consumption control of WIFI module, it is possible to add in SDIO driver element and drive interface unit to realize WIFI module is performed power down and power on operation.
nullFig. 2 illustrates the flow chart of the WIFI module power consumption control method when Android system enters resting state based on Android system,As shown in Figure 2,When Android system enters resting state,Master controller 10 unloads the DHD driver element of WIFI module,The level value of the GPIO being in output state on master controller 10 is operated by this DHD driver element,The GPIO level value arranging this output state is height,On master controller 10, the GPIO of output state and the GPIO of input state is connected with each other,This high value is transferred to the GPIO of input state by the GPIO of output state,Detection device 20 detects the level value of GPIO of input state when being high level,May determine that Android system enters resting state,WIFI module is performed power-down operation by this timed unit 30,Including the clock cutting off WIFI module,WIFI module is performed physics power down,Realize Android system in a dormant state time,The lowest power consumption of WIFI module is to reduce the dormancy power consumption of Android system.
nullFig. 3 illustrates the flow chart of the WIFI module power consumption control method when Android system is entered wake-up states by resting state based on Android system,As shown in Figure 3,When Android system is entered wake-up states by resting state,Master controller 10 actively loads the DHD driver element of WIFI module,This DHD driver element operation master controller 10 is in the level value of the GPIO of output state,The GPIO level value arranging this output state is low,This low level value is transferred to the GPIO of input state by the GPIO of output state,Detection device 20 detects the level value of GPIO of input state when being low level,May determine that Android system is entered wake-up states by resting state,Now,Control device 30 and WIFI module is performed power on operation,First WIFI module is performed physically electrically operated,Then the clock of WIFI module is enabled again,Thus not affecting Android system to be entered the properly functioning of WIFI module after wake-up states by resting state.
Additionally, present invention also offers a kind of mobile equipment based on Android system, this moves equipment and includes the above-mentioned WIFI module power consumption control apparatus based on Android system.By by input state GPIO and output state GPIO, DHD driver element when realizing Android system dormancy, the low power consumption control of WIFI module, reduces system dormancy power consumption, extends the device standby time.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing; but; the present invention is not limited to the detail in above-mentioned embodiment; in the technology concept of the present invention; technical scheme can being carried out multiple simple variant, these simple variant belong to protection scope of the present invention.
It is further to note that, each concrete technical characteristic described in above-mentioned detailed description of the invention, in reconcilable situation, it is possible to be combined by any suitable mode, in order to avoid unnecessary repetition, various possible compound modes are no longer illustrated by the present invention separately.
Additionally, can also carry out combination in any between the various different embodiment of the present invention, as long as it is without prejudice to the thought of the present invention, it should be considered as content disclosed in this invention equally.
Claims (8)
1. the WIFI module power consumption control apparatus based on Android system, it is characterised in that this device includes:
Detection device, is used for detecting whether described Android system enters resting state;And
Control device, for when Android system enters resting state, cutting off the clock of described WIFI module, and described WIFI module is performed physics power down.
2. WIFI module power consumption control apparatus according to claim 1, it is characterised in that
Described detection device is additionally operable to detect whether described Android system enters wake-up states from described resting state;And
Described control device is additionally operable to, when described Android system enters described wake-up states from described resting state, described WIFI module be performed physics and powers on, and provide clock to this WIFI module.
3. WIFI module power consumption control apparatus according to claim 1 and 2, it is characterised in that
By detecting the level of the GPIO of the input state of the master controller of described Android system, described detection device judges whether described Android system enters described resting state or whether described Android system enters described wake-up states from described resting state
Wherein when Android system is in described resting state, described master controller unloading DHD driver element, the GPIO of output state is set to high level by this DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this output state;
When described Android system is transferred to described wake-up states by described resting state, described master controller loads described DHD driver element, the GPIO of described output state is set to low level by described DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this described output state.
4. WIFI module power consumption control apparatus according to claim 1, it is characterised in that this WIFI module power consumption control apparatus is secure digital input and output (SDIO) driver element.
5. the WIFI module power consumption control method based on Android system, it is characterised in that the method includes:
Detect whether described Android system enters resting state;And
When Android system enters resting state, cut off the clock of described WIFI module, and described WIFI module is performed physics power down.
6. WIFI module power consumption control method according to claim 5, it is characterised in that the method also includes:
Detect whether described Android system enters wake-up states from described resting state;And
When Android system enters described wake-up states from described resting state, described WIFI module is performed physics and powers on, and provide clock to this WIFI module.
7. the WIFI module power consumption control method according to claim 5 or 6, it is characterised in that the method also includes:
Judge whether described Android system enters resting state or whether described Android system enters described wake-up states from described resting state by detecting the level of the GPIO of the input state of the master controller of described Android system,
Wherein Android system in a dormant state time, described master controller unloading DHD driver element, the GPIO of output state is set to high level by this DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this described output state;
When described Android system is transferred to wake-up states by resting state, described master controller loads described DHD driver element, the GPIO of described output state is set to low level by described DHD driver element, and this level is transferred to the GPIO of described input state by the GPIO of this described output state.
8. the mobile equipment based on Android system, it is characterised in that this moves equipment and includes the WIFI module power consumption control apparatus based on Android system according to any one claim in Claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410748795.4A CN105744604B (en) | 2014-12-09 | 2014-12-09 | WIFI module power consumption control device and method based on android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410748795.4A CN105744604B (en) | 2014-12-09 | 2014-12-09 | WIFI module power consumption control device and method based on android system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105744604A true CN105744604A (en) | 2016-07-06 |
CN105744604B CN105744604B (en) | 2020-03-17 |
Family
ID=56238299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410748795.4A Active CN105744604B (en) | 2014-12-09 | 2014-12-09 | WIFI module power consumption control device and method based on android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105744604B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106376066A (en) * | 2016-08-30 | 2017-02-01 | 广东美的制冷设备有限公司 | WiFi module control method and device |
CN106792463A (en) * | 2016-12-23 | 2017-05-31 | 北京橙鑫数据科技有限公司 | The method for managing power supply and device of a kind of communication module |
CN107396434A (en) * | 2017-08-09 | 2017-11-24 | 维沃移动通信有限公司 | A kind of connection method of wireless network and mobile terminal |
CN108377464A (en) * | 2018-02-11 | 2018-08-07 | 中国联合网络通信集团有限公司 | WLAN connection methods during terminal sleeping and device |
CN113961261A (en) * | 2021-12-22 | 2022-01-21 | 北京鲸鲮信息系统技术有限公司 | Dormancy management method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101790225A (en) * | 2010-03-16 | 2010-07-28 | 华为终端有限公司 | Power management method and device for on-line module |
CN102622079A (en) * | 2012-02-25 | 2012-08-01 | 华为终端有限公司 | Sleep method, wakening method and mobile terminal device |
CN102761946A (en) * | 2012-06-27 | 2012-10-31 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and power supply management method thereof |
US20140350698A1 (en) * | 2013-05-21 | 2014-11-27 | Wistron Corporation | Status Controlling System, Computer System, and Status Detecting Method Thereof |
-
2014
- 2014-12-09 CN CN201410748795.4A patent/CN105744604B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101790225A (en) * | 2010-03-16 | 2010-07-28 | 华为终端有限公司 | Power management method and device for on-line module |
CN102622079A (en) * | 2012-02-25 | 2012-08-01 | 华为终端有限公司 | Sleep method, wakening method and mobile terminal device |
CN102761946A (en) * | 2012-06-27 | 2012-10-31 | 惠州Tcl移动通信有限公司 | Mobile communication terminal and power supply management method thereof |
US20140350698A1 (en) * | 2013-05-21 | 2014-11-27 | Wistron Corporation | Status Controlling System, Computer System, and Status Detecting Method Thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106376066A (en) * | 2016-08-30 | 2017-02-01 | 广东美的制冷设备有限公司 | WiFi module control method and device |
CN106792463A (en) * | 2016-12-23 | 2017-05-31 | 北京橙鑫数据科技有限公司 | The method for managing power supply and device of a kind of communication module |
CN107396434A (en) * | 2017-08-09 | 2017-11-24 | 维沃移动通信有限公司 | A kind of connection method of wireless network and mobile terminal |
CN107396434B (en) * | 2017-08-09 | 2020-03-10 | 维沃移动通信有限公司 | Wireless network connection method and mobile terminal |
CN108377464A (en) * | 2018-02-11 | 2018-08-07 | 中国联合网络通信集团有限公司 | WLAN connection methods during terminal sleeping and device |
CN113961261A (en) * | 2021-12-22 | 2022-01-21 | 北京鲸鲮信息系统技术有限公司 | Dormancy management method and device, electronic equipment and storage medium |
CN113961261B (en) * | 2021-12-22 | 2022-04-19 | 北京鲸鲮信息系统技术有限公司 | Dormancy management method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105744604B (en) | 2020-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105744604A (en) | WIFI module power consumption control device and method based on android system | |
US10508825B2 (en) | Solar air conditioner, method and device for controlling solar air conditioner | |
EP2876944A1 (en) | Network card device, routing device, system and method for realizing dynamic sleep and wakeup | |
WO2007013934A3 (en) | Method and system for reducing power consumption of a wireless transmit/receive unit | |
CN110908719A (en) | Dynamic power consumption management and awakening method and application system thereof | |
WO2005013111A3 (en) | Voltage regulator with bypass for multi-voltage storage system | |
EP2747395A1 (en) | Mobile terminal and power saving method thereof | |
US20150137618A1 (en) | Adaptive battery protection | |
US20160366680A1 (en) | Method for Establishing a Radio Connection, Network Apparatus and Terminal Apparatus | |
US20180242247A1 (en) | Changing method from sleep mode to awake mode in wifi system | |
CN105743167A (en) | Energy-saving control system and method for smart garbage bin | |
CN105487638A (en) | Electronic circuit system and power consumption reducing method thereof | |
CN103533181A (en) | Device and method for awakening external equipment of mobile terminal | |
KR20160121876A (en) | Changing method from sleep mode to awake mode in wifi system | |
CN110320840A (en) | A kind of method and system reducing internet of things product battery power consumption | |
US8115346B2 (en) | Electronic device and external power supply device control method applicable thereto | |
US8667307B2 (en) | Power control circuit and method of computer system | |
WO2006120602A3 (en) | Battery power management in over-discharge situation | |
US8661271B2 (en) | Apparatus and method to control the state of a power supply when a trigger signal is received during a predetermined time period | |
CN104486089A (en) | Computer network awakening method and device | |
CN116513966A (en) | Crane control method and device, electronic equipment and crane | |
CN106463999A (en) | USB energy harvesting | |
KR101544466B1 (en) | Power Control Method and Apparatus for Controlling Power Source Circuit of Portable Terminal | |
CN104362596B (en) | The method and system of vehicle-mounted clarifier protection vehicle-loaded battery electricity quantity | |
CN107168924B (en) | Control method and device of functional chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |