CN105744604B - 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
- CN105744604B CN105744604B CN201410748795.4A CN201410748795A CN105744604B CN 105744604 B CN105744604 B CN 105744604B CN 201410748795 A CN201410748795 A CN 201410748795A CN 105744604 B CN105744604 B CN 105744604B
- Authority
- CN
- China
- Prior art keywords
- state
- android system
- wifi module
- gpio
- 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.)
- Active
Links
Images
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
Landscapes
- Power Sources (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a WIFI module power consumption control device and method based on an android system, wherein the device comprises: the detection device is used for detecting whether the android system enters a dormant state or not; and the control device is used for cutting off the clock of the WIFI module and executing physical power failure on the WIFI module under the condition that the android system enters the dormant state. According to the WIFI module power consumption control device based on the android system, when the android system enters a dormant state, a clock of the WIFI module is cut off, and physical power failure is performed on the WIFI module so as to reduce the power consumption of the WIFI module and prolong the standby time of the handheld device.
Description
Technical Field
The invention relates to an android system, in particular to a WIFI module power consumption control device and method based on the android system.
Background
The Android system is a powerful embedded operating system in the current handheld device, is popular with manufacturers and users at home and abroad, has an expanded application range and a high market share. In the android system, a WIFI module becomes a standard configuration. After the WIFI function is started, if a user does not operate the android system for a long time, the system can close the screen to enter a dormant state, the WIFI module still keeps in a working state, the battery power can be continuously consumed, the standby time of the handheld device is reduced, and the situation is not allowed particularly in some industry applications with high standby time requirements.
Disclosure of Invention
The invention aims to provide a WIFI module power consumption control device and method based on an android system, which can reduce the power consumption of a WIFI module to prolong the standby time of a handheld device when the android system enters a dormant state.
In order to achieve the purpose, the invention provides a WIFI module power consumption control device based on an android system, which comprises a detection device, a power consumption control device and a power consumption control device, wherein the detection device is used for detecting whether the android system enters a dormant state; and the control device is used for cutting off the clock of the WIFI module and executing physical power failure on the WIFI module under the condition that the android system enters the dormant state.
Preferably, the detecting means is further configured to detect whether the android system enters an awake state from the sleep state; and the control device is also used for physically electrifying the WIFI module and providing a clock for the WIFI module under the condition that the android system enters the awakening state from the dormant state.
Preferably, the detection device judges whether the android system enters the sleep state or whether the android system enters the wake-up state from the sleep state by detecting the level of a GPIO in the input state of a main controller of the android system, wherein when the android system is in the sleep state, the main controller unloads a DHD driving unit, the DHD driving unit sets a GPIO in an output state to a high level, and the GPIO in the output state transmits the level to the GPIO in the input state; and when the android system is converted into the awakening state from the dormant state, the main controller loads the DHD driving unit, the DHD driving unit sets the GPIO in the output state to be at a low level, and the GPIO in the output state transmits the level to the GPIO in the input state.
Preferably, the WIFI module power consumption control device is a Secure Digital Input Output (SDIO) drive unit.
Correspondingly, the invention also provides a power consumption control method of the WIFI module based on the android system, which comprises the following steps: detecting whether the android system enters a dormant state or not; and cutting off the clock of the WIFI module and executing physical power failure on the WIFI module under the condition that the android system enters the dormant state.
Preferably, the method for controlling power consumption of the WIFI module based on the android system further includes: detecting whether the android system enters an awakened state from the dormant state; and under the condition that the android system enters the awakening state from the dormant state, performing physical electrification on the WIFI module and providing a clock for the WIFI module.
Preferably, the method for controlling power consumption of the WIFI module based on the android system further includes: judging whether the android system enters a sleep state or whether the android system enters the wake-up state from the sleep state by detecting the level of GPIO in the input state of a main controller of the android system, wherein when the android system is in the sleep state, the main controller unloads a DHD driving unit, the DHD driving unit sets the GPIO in the output state to be high level, and the GPIO in the output state transmits the level to the GPIO in the input state; when the android system is converted into an awakening state from a dormant state, the main controller loads the DHD driving unit, the DHD driving unit sets the GPIO in the output state to be at a low level, and the GPIO in the output state transmits the level to the GPIO in the input state.
Correspondingly, the invention also provides mobile equipment based on the android system, and the mobile equipment comprises the WIFI module power consumption control device based on the android system.
Through the technical scheme, when the android system enters the dormant state, the clock of the WIFI module is cut off, the WIFI module is subjected to physical power failure to reduce the power consumption of the WIFI module, and the standby time of the handheld device is prolonged.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 shows a schematic structural diagram of a WIFI module power consumption control device based on an android system provided by the invention;
fig. 2 is a flowchart illustrating a power consumption control method for a WIFI module based on an android system when the android system enters a sleep state; and
fig. 3 shows a flowchart of a power consumption control method of a WIFI module based on an android system when the android system enters an awake state from a sleep state.
Description of the reference numerals
10 main controller 20 detection device
30 control device
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 shows a schematic structural diagram of a WIFI module power consumption control device based on an android system provided by the invention. As shown in fig. 1, the WIFI module power consumption control apparatus based on the android system may include: the detection device 20 is used for detecting whether the android system enters a dormant state or not; and the control device 30 is used for cutting off the clock of the WIFI module and executing physical power failure on the WIFI module under the condition that the android system enters the dormant state.
The detection device 20 may be further configured to detect whether the android system enters the awake state from the sleep state, and the control device 30 may be further configured to physically power on the WIFI module and provide a clock for the WIFI module when the android system enters the awake state from the sleep state.
The detection device 20 detects a level of a GPIO (General Purpose Input Output) in an Input state of the main controller 10 of the android system to determine whether the android system enters a sleep state or whether the android system enters an awake state from the sleep state.
The WIFI module power consumption control device based on the android system can be a safe Digital Input and Output (hereinafter, referred to as SDIO-Secure Digital Input and Output) driving unit. The invention mainly aims at the WIFI module of the SDIO interface to execute power consumption control of the WIFI module, and can add a driving interface unit in the SDIO driving unit to realize the power-down and power-up operations of the WIFI module.
Fig. 2 is a flowchart illustrating a power consumption control method for a WIFI module based on an android system when the android system enters a sleep state, as shown in fig. 2, when the android system enters the sleep state, the main controller 10 unloads the DHD driving unit of the WIFI module, the DHD driving unit operates the level value of the GPIO in the output state on the main controller 10, sets the GPIO level value in the output state to be high, the GPIO in the output state on the main controller 10 is connected with the GPIO in the input state, the GPIO in the output state transmits the high level value to the GPIO in the input state, when the detecting device 20 detects that the level value of the GPIO in the input state is high, it can be judged that the android system enters the sleep state, and at this time, the control device 30 performs a power-down operation on the WIFI module, including turning off a clock of the WIFI module, the WIFI module is subjected to physical power failure, so that when the android system is in a dormant state, and the WIFI module has the lowest power consumption so as to reduce the dormancy power consumption of the android system.
Fig. 3 is a flowchart illustrating a power consumption control method for a WIFI module based on an android system when the android system enters an awake state from a sleep state, as shown in fig. 3, when the android system enters the wake-up state from the sleep state, the main controller 10 actively loads the DHD driving unit of the WIFI module, the DHD driving unit operates the level value of the GPIO in the output state on the main controller 10, sets the GPIO level value in the output state to be low, the GPIO in the output state transmits the low level value to the GPIO in the input state, when the detecting device 20 detects that the level value of the GPIO in the input state is low, it can be determined that the android system enters the wake-up state from the sleep state, at this time, the control device 30 performs a power-on operation on the WIFI module, performs a physical power-on operation on the WIFI module first, and then, enabling a clock of the WIFI module so as not to influence the normal operation of the WIFI module after the android system enters the awakening state from the dormant state.
In addition, the invention also provides mobile equipment based on the android system, and the mobile equipment comprises the WIFI module power consumption control device based on the android system. By means of the input state GPIO and the output state GPIO, the DHD driving unit realizes low power consumption control of the WIFI module during hibernation of the android system, reduces hibernation power consumption of the system, and prolongs standby time of equipment.
The preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, however, the present invention is not limited to the specific details of the above embodiments, and various simple modifications can be made to the technical solution of the present invention within the technical idea of the present invention, and these simple modifications are within the protective scope of the present invention.
It should be noted that the various technical features described in the above embodiments can be combined in any suitable manner without contradiction, and the invention is not described in any way for the possible combinations in order to avoid unnecessary repetition.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the spirit of the present invention.
Claims (8)
1. The utility model provides a WIFI module power consumption controlling means based on android system which characterized in that, the device includes:
the detection device is used for detecting whether the android system enters a dormant state or not; and
a control device for cutting off a clock of the WIFI module and performing a physical power down on the WIFI module after the android system has entered a sleep state,
the detection device judges whether the android system enters the dormant state or not by detecting the level of GPIO of the input state of a main controller of the android system, wherein when the android system is in the dormant state, the main controller unloads a DHD driving unit of the WIFI module, the DHD driving unit sets GPIO of an output state to be high level, and the GPIO of the output state transmits the level to the GPIO of the input state.
2. The WIFI module power consumption control apparatus of claim 1,
the detection device is also used for detecting whether the android system enters an awakening state from the dormant state; and
the control device is further configured to, when the android system enters the awake state from the sleep state, perform physical power-on the WIFI module and provide a clock for the WIFI module.
3. The WIFI module power consumption control apparatus of claim 1 or 2,
the detection device judges whether the android system enters an awakening state from the dormant state by detecting the level of GPIO of the input state of the main controller of the android system,
when the android system is converted from the dormant state to the awakening state, the main controller loads the DHD driving unit, the DHD driving unit sets the GPIO in the output state to be at a low level, and the GPIO in the output state transmits the level to the GPIO in the input state.
4. The WIFI module power consumption control device of claim 1, wherein the WIFI module power consumption control device is a Secure Digital Input Output (SDIO) drive unit.
5. A WIFI module power consumption control method based on an android system is characterized by comprising the following steps:
detecting whether the android system enters a dormant state; and
switching off a clock of the WIFI module after the android system has entered a sleep state, and performing a physical power down on the WIFI module,
the android system is judged whether to enter a sleep state or not by detecting the level of GPIO in the input state of a main controller of the android system, wherein when the android system is in the sleep state, the main controller unloads a DHD driving unit of the WIFI module, the DHD driving unit sets the GPIO in the output state to be high level, and the GPIO in the output state transmits the level to the GPIO in the input state.
6. The WIFI module power consumption control method of claim 5, further comprising:
detecting whether the android system enters an awakened state from the dormant state; and
and under the condition that the android system enters the awakening state from the dormant state, performing physical electrification on the WIFI module and providing a clock for the WIFI module.
7. The WIFI module power consumption control method of claim 5 or 6, further comprising:
judging whether the android system enters an awakening state from the dormant state or not by detecting the level of GPIO of the input state of a main controller of the android system,
when the android system is converted from a sleep state to an awake state, the main controller loads the DHD driving unit, the DHD driving unit sets the GPIO in the output state to be at a low level, and the GPIO in the output state transmits the level to the GPIO in the input state.
8. A mobile device based on an android system, characterized by comprising the WIFI module power consumption control device based on the android system according to any one of claims 1 to 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 CN105744604A (en) | 2016-07-06 |
CN105744604B true 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) |
Families Citing this family (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 |
CN107396434B (en) * | 2017-08-09 | 2020-03-10 | 维沃移动通信有限公司 | Wireless network connection method and mobile terminal |
CN108377464B (en) * | 2018-02-11 | 2020-08-04 | 中国联合网络通信集团有限公司 | W L AN connection method and device during terminal dormancy |
CN113961261B (en) * | 2021-12-22 | 2022-04-19 | 北京鲸鲮信息系统技术有限公司 | Dormancy management method and device, electronic equipment and storage medium |
Citations (2)
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761946B (en) * | 2012-06-27 | 2016-03-30 | 惠州Tcl移动通信有限公司 | A kind of mobile communication terminal and method for managing power supply thereof |
TWI479303B (en) * | 2013-05-21 | 2015-04-01 | Wistron Corp | Sleep status controlling system, computer system, and sleep status detecting method thereof |
-
2014
- 2014-12-09 CN CN201410748795.4A patent/CN105744604B/en active Active
Patent Citations (2)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105744604A (en) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105744604B (en) | WIFI module power consumption control device and method based on android system | |
US7987376B2 (en) | Power supply controller configured to supply power to external device and modules of computer system according to the selected power supply mode | |
CN102622079B (en) | Sleep method, wakening method and mobile terminal device | |
CN110908719A (en) | Dynamic power consumption management and awakening method and application system thereof | |
CN111007781A (en) | Control method and system of environment monitoring device | |
CN104035395A (en) | Low power consumption vehicle-mounted terminal and low power consumption achieving method of vehicle-mounted terminal | |
WO2015062415A1 (en) | Method for controlling power supply and wireless terminal | |
WO2017022169A1 (en) | Battery control device, electronic apparatus, battery pack, and battery control method | |
CN105446916A (en) | USB bus state switching method and apparatus | |
US20180242247A1 (en) | Changing method from sleep mode to awake mode in wifi system | |
CN105487638A (en) | Electronic circuit system and power consumption reducing method thereof | |
WO2014032473A1 (en) | Standby method for set top box, standby control device for set top box, and set top box | |
CN105744474B (en) | Method and terminal for controlling state change of mobile data network of terminal equipment | |
KR20160121876A (en) | Changing method from sleep mode to awake mode in wifi system | |
CN115220557A (en) | Power-on system, power-on method, readable storage medium and electronic device | |
CN108040361B (en) | Power management method of cross-platform Internet of things embedded system | |
CN101887530B (en) | Switching device provided with a battery data card and implementation method of power conservation | |
CN116331231A (en) | Vehicle-mounted terminal, automatic driving vehicle, control method and electronic equipment | |
CN107231038B (en) | Electronic device and power supply control method for electronic device | |
CN116513966A (en) | Crane control method and device, electronic equipment and crane | |
CN106325461B (en) | Information processing method and electronic equipment | |
KR101154241B1 (en) | Battery State Managing Device for a Mobile Terminal | |
CN103593638B (en) | Low-power consumption bar code decoding equipment based on image procossing | |
CN103092317A (en) | Electronic device and operation method thereof | |
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 |