Nothing Special   »   [go: up one dir, main page]

CN102968174A - Deep sleep awakening method of android device - Google Patents

Deep sleep awakening method of android device Download PDF

Info

Publication number
CN102968174A
CN102968174A CN2012104378034A CN201210437803A CN102968174A CN 102968174 A CN102968174 A CN 102968174A CN 2012104378034 A CN2012104378034 A CN 2012104378034A CN 201210437803 A CN201210437803 A CN 201210437803A CN 102968174 A CN102968174 A CN 102968174A
Authority
CN
China
Prior art keywords
deep sleep
sleep state
state
running status
enters
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
CN2012104378034A
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.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN2012104378034A priority Critical patent/CN102968174A/en
Publication of CN102968174A publication Critical patent/CN102968174A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a deep sleep awakening method of an android device, and the method is characterized in that besides a running state, a shutdown state and a dormant state, the android device is also provided with a deep sleep state, when staying at the running state, the android device can enter the deep sleep state through the operation, when staying at the deep sleep state, the android device can be awakened to the running state through the operation, when the android device enters the deep sleep state, irrelevant hardware, service and application are firstly closed, the android device enters the deep sleep state after the padlock of a power supply lock is forbidden, when the android device is awakened, the padlock of the power supply lock is firstly allowed, and relevant hardware and service are enabled to enter the running state. Under the deep sleep state, the device can really enter a low power consumption mode, a majority of peripheral interrupts are not responded, and a good energy-saving effect is realized; and the shutdown state can be temporarily substituted by the deep sleep state, so that the speed of the device entering a shutdown state is accelerated, and the speed of the device restoring from the shutdown state is fast.

Description

Android equipment deep sleep awakening method
Technical field
The present invention relates to Android device power supply (DPS) administrative skill, be specifically related to a kind of Android equipment deep sleep awakening method.
Background technology
The Android(Android) is the Mobile operating system solution of increasing income based on the Linux platform that google company announced on November 5th, 2007, this platform has linux kernel, dalvik virtual machine, third party's base library of increasing income, application framework, core application forms.Because its existing good exploration and powerful function, current Android uses on electronic equipment for consumption widely.
Tradition Android machine only has shutdown, operation, three kinds of states of dormancy.Switching between above-mentioned three kinds of states as shown in Figure 1.
The start process that starts to running status from shutdown comprises the bootloader guiding, and linux kernel loads, and native service starts, package manager scanning, a plurality of links such as application program launching.Usually all need the startup design about 30s on existing equipment, the slow shortcoming of starting up speed has affected user's experience greatly.
The Android system enters can be introduced into the sub-state of earlysuspend in the sleep procedure, then judge whether to enter the sub-state of suspend according to wakelock lock (power lock) situation, because the situation that the diversity of using causes often having wakelock to be held in the sleep procedure occurs; The earlysuspend power consumption is still higher and suspend state power consumption is very low under the usual condition.
Therefore, it is consuming time longer to normal operation that present Android equipment starts Android system from shutdown, and often can not really enter low-power consumption mode because upper layer application holds the wakelock lock under the park mode, causes system power consumption still very large.
In order to improve defects, existing solution all is usually in the process of shutdown, the ruuning situation of system is write in the non-volatile media, reload startup during start, such shortcoming is exactly that toggle speed is still very slow, the method that the saved system mirror image reloads is not supported the linux kernel of highest version, and the method for simultaneously saved system mirror image loading also can cause external memory storage pressure large, or may cause information-setting by user to be lost.
Summary of the invention
For the problems referred to above, the invention provides a kind of toggle speed fast, save the Android equipment deep sleep awakening method of power consumption.
For this reason, the technical solution adopted in the present invention is:
Android equipment deep sleep awakening method, Android equipment is outside running status, off-mode and dormant state, also set up the deep sleep state, after enabling this function, can wake up to running status by operation in the time of can entering the deep sleep state and be in the deep sleep state by operation when Android equipment is in running status, equipment enters the deep sleep state after closing first irrelevant hardware, service and application and forbidding the power lock padlock when entering, allow first the power lock padlock when waking up, enable that related hardware and service are laggard to enter running status.
From above technical scheme as seen, the present invention is provided with the deep sleep state, and equipment can really enter low-power consumption mode under this state, and most peripheral interrupts are not responded, and realizes good energy-saving effect; This state can replace off-mode temporarily, accelerates so that machine enters the speed of shutdown, and the speed of recovering from shutdown also accelerates.
A preferred technical scheme is, but deep sleep state and off-mode are the state of activation of alternative.Therefore, deep sleep function of the present invention can be configured to optional working method, and the user is flexible and convenient to use.
Description of drawings
Be further detailed below in conjunction with the drawings and specific embodiments:
Fig. 1 is that the state of traditional Android equipment switches synoptic diagram;
Fig. 2 is that state of the present invention switches synoptic diagram;
Fig. 3 is the process flow diagram that running status of the present invention enters the deep sleep state;
Fig. 4 is that deep sleep state of the present invention enters the process flow diagram of running status.
Embodiment
The present invention is by arranging a deep sleep state that is different from dormant state and off-mode in Android equipment, long problem consuming time when the too high and shutdown of power consumption starts when having solved simultaneously device sleeps.Under this deep sleep state, irrelevant hardware, service and application all can be closed, guarantee that power lock can not held, so that equipment can enter real low power consumpting state, the equipment working power can be low to moderate 5mA under this state, 500mA working current under the relatively common dormant state, the power savings under the deep sleep state is obvious.When equipment wakes up from this deep sleep state, only need enable just can enter running status after related hardware and the service, compare with the common normal boot-strap process that comprises a plurality of links such as bootloader guiding, linux kernel loading, native service startup, package manager scanning, application program launching, its speed-raising effect is very obvious, only needs just can wake up to normal operating condition for 5 seconds generally speaking.
This deep sleep state can be configured to the additional option of Android system, but so that deep sleep state and off-mode are the state of activation of alternative.When but the deep sleep state was made as state of activation, equipment can switch between open state-deep sleep state-open state; When but off-mode was made as state of activation, equipment can switch between open state-off-mode-open state.Usually, this additional option can be made as one " starting fast " item, and after " starting fast " was selected, system can not enter off-mode when the user carried out " shutdown " operation to equipment, but entered into the deep sleep state.
As shown in Figure 2, the deep sleep state can be understood as a kind of intermediateness of Jie between dormant state and off-mode.When equipment was in running status, the user can be by operation so that equipment enters into the deep sleep state, by operating so that equipment wakes up to running status from the deep sleep state.As previously mentioned, but when the deep sleep state was state of activation, the user can come so that system enters the deep sleep state and wakes up by the mode of operation identical with tradition shutdown start operation.Consider that tradition shutdown start operation all is long mode by power key, therefore, when the deep sleep state was activated, the user can come so that equipment enters deep sleep and wakes up by long mode by power key.Wherein, equipment enters being operating as of deep sleep state from running status and grows by selecting behind the power key, wakes up to being operating as of running status long by power key from the deep sleep state.
It is pointed out that generally speaking the mode of operation that equipment enters dormancy can not change, also is to switch by power key or mode regularly by short.
As shown in Figure 3, Android equipment from the step that running status enters the deep sleep state is:
S100 detects user's input;
S101 detects corresponding user and operates the rear display reminding dialog box of input (being generally long by power key), and entering when the deep sleep state options is selected in the prompted dialog frame enters S102, otherwise enters S106;
S102 closes related service;
S103 closes the third party and uses;
S104 forbids the power lock padlock;
S105 enters the deep sleep state;
S106 finishes.
With reference to Fig. 4, Android equipment wakes up to the step of running status from the deep sleep state and is:
S200 detects user's input, detects to enter S201 after corresponding user operates input;
S201, sleeping process thaws;
S202 enables power lock;
S203 starts related service;
S204 enters running status;
S205 finishes.
Deep layer awakening method of the present invention can be applied to be equipped with on the equipment such as panel computer, intelligent television set-top box and mobile phone of Android system.Wherein, embodiments of the present invention are not restricted to the described embodiments, as long as it reaches technique effect of the present invention with essentially identical means, all should belong to protection scope of the present invention.

Claims (5)

1. Android equipment deep sleep awakening method, it is characterized in that Android equipment is in running status, outside off-mode and the dormant state, also set up the deep sleep state, after enabling this function, can wake up to running status by operation in the time of can entering the deep sleep state and be in the deep sleep state by operation when Android equipment is in running status, equipment is closed first irrelevant hardware when entering, service and application are also forbidden entering the deep sleep state behind the power lock padlock, allow first the power lock padlock when waking up, enable that related hardware and service are laggard to enter running status.
2. Android equipment deep sleep awakening method according to claim 1, it is characterized in that Android equipment enters being operating as of deep sleep state from running status and grows by selecting behind the power key, wake up to being operating as of running status long by power key from the deep sleep state.
3. Android equipment deep sleep awakening method according to claim 1 is characterized in that Android equipment from the step that running status enters the deep sleep state is:
S100 detects user's input;
S101 detects corresponding user and operates the rear display reminding dialog box of input, and entering when the deep sleep state options is selected in the prompted dialog frame enters S102, otherwise enters S106;
S102 closes related service;
S103 closes the third party and uses;
S104 forbids the power lock padlock;
S105 enters the deep sleep state;
S106 finishes.
4. Android equipment deep sleep awakening method according to claim 1 is characterized in that Android equipment wakes up to the step of running status from the deep sleep state and is:
S200 detects user's input, detects to enter S201 after corresponding user operates input;
S201, sleeping process thaws;
S202 enables power lock;
S203 starts related service;
S204 enters running status;
S205 finishes.
5. Android equipment deep sleep awakening method according to claim 1, but it is characterized in that deep sleep state and off-mode are the state of activation of alternative.
CN2012104378034A 2012-11-06 2012-11-06 Deep sleep awakening method of android device Pending CN102968174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104378034A CN102968174A (en) 2012-11-06 2012-11-06 Deep sleep awakening method of android device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104378034A CN102968174A (en) 2012-11-06 2012-11-06 Deep sleep awakening method of android device

Publications (1)

Publication Number Publication Date
CN102968174A true CN102968174A (en) 2013-03-13

Family

ID=47798355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104378034A Pending CN102968174A (en) 2012-11-06 2012-11-06 Deep sleep awakening method of android device

Country Status (1)

Country Link
CN (1) CN102968174A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
CN103345297A (en) * 2013-06-26 2013-10-09 深圳天珑无线科技有限公司 Method and device for managing power source
CN104020837A (en) * 2014-06-19 2014-09-03 珠海全志科技股份有限公司 Audio playing power management method and power management device
CN105353864A (en) * 2015-10-19 2016-02-24 珠海全志科技股份有限公司 Static power consumption management method and system for electronic device
WO2016041190A1 (en) * 2014-09-19 2016-03-24 华为技术有限公司 Method and apparatus for running application program
CN105898055A (en) * 2016-04-08 2016-08-24 广东欧珀移动通信有限公司 Mobile terminal dormancy method, device and mobile terminal
CN107484022A (en) * 2017-08-07 2017-12-15 四川长虹电器股份有限公司 The method that system overall situation screen protection is realized in Android intelligent television
CN107835360A (en) * 2017-10-27 2018-03-23 深圳市共进电子股份有限公司 A kind of quick start method and system of dormancy low power consumption network camera
CN108649981A (en) * 2018-04-17 2018-10-12 厦门睿洽科技有限公司 A kind of fast starting method based on public network intercom
CN108681467A (en) * 2018-03-27 2018-10-19 维沃移动通信有限公司 A kind of system wake-up method, terminal
CN111782285A (en) * 2020-06-30 2020-10-16 珠海全志科技股份有限公司 Method and medium for dynamically setting wake-up source in user space

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844788B2 (en) * 2005-10-28 2010-11-30 International Business Machines Corporation Mirroring system memory in non-volatile random access memory (NVRAM) for fast power on/off cycling
CN101916201A (en) * 2010-08-06 2010-12-15 中兴通讯股份有限公司 Android-based mobile terminal cold-boot method and device
CN102207881A (en) * 2011-07-07 2011-10-05 电子科技大学 Quick operation system start-up method based on Android
US20120089825A1 (en) * 2010-10-07 2012-04-12 Jung Myung-June Apparatus and method for generating a boot image that is adjustable in size

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844788B2 (en) * 2005-10-28 2010-11-30 International Business Machines Corporation Mirroring system memory in non-volatile random access memory (NVRAM) for fast power on/off cycling
CN101916201A (en) * 2010-08-06 2010-12-15 中兴通讯股份有限公司 Android-based mobile terminal cold-boot method and device
US20120089825A1 (en) * 2010-10-07 2012-04-12 Jung Myung-June Apparatus and method for generating a boot image that is adjustable in size
CN102207881A (en) * 2011-07-07 2011-10-05 电子科技大学 Quick operation system start-up method based on Android

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336572B (en) * 2013-06-26 2016-08-24 深圳天珑无线科技有限公司 Intelligent terminal and power-saving method thereof
CN103345297A (en) * 2013-06-26 2013-10-09 深圳天珑无线科技有限公司 Method and device for managing power source
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
CN103345297B (en) * 2013-06-26 2016-09-07 深圳天珑无线科技有限公司 Method for managing power supply and equipment
CN104020837A (en) * 2014-06-19 2014-09-03 珠海全志科技股份有限公司 Audio playing power management method and power management device
CN104020837B (en) * 2014-06-19 2017-02-01 珠海全志科技股份有限公司 audio playing power management method and power management device
CN105612485B (en) * 2014-09-19 2019-11-29 华为技术有限公司 A kind of method and device running application program
US10386914B2 (en) 2014-09-19 2019-08-20 Huawei Technologies Co., Ltd. Method and apparatus for running application program
CN105612485A (en) * 2014-09-19 2016-05-25 华为技术有限公司 Method and apparatus for running application program
WO2016041190A1 (en) * 2014-09-19 2016-03-24 华为技术有限公司 Method and apparatus for running application program
US11181968B2 (en) 2014-09-19 2021-11-23 Huawei Technologies Co., Ltd. Method and apparatus for running application program
CN105353864A (en) * 2015-10-19 2016-02-24 珠海全志科技股份有限公司 Static power consumption management method and system for electronic device
CN105898055A (en) * 2016-04-08 2016-08-24 广东欧珀移动通信有限公司 Mobile terminal dormancy method, device and mobile terminal
CN107484022B (en) * 2017-08-07 2020-06-30 四川长虹电器股份有限公司 Method for realizing system global screen saver on Android smart television
CN107484022A (en) * 2017-08-07 2017-12-15 四川长虹电器股份有限公司 The method that system overall situation screen protection is realized in Android intelligent television
CN107835360A (en) * 2017-10-27 2018-03-23 深圳市共进电子股份有限公司 A kind of quick start method and system of dormancy low power consumption network camera
CN108681467A (en) * 2018-03-27 2018-10-19 维沃移动通信有限公司 A kind of system wake-up method, terminal
CN108681467B (en) * 2018-03-27 2021-07-06 维沃移动通信有限公司 System awakening method and terminal
CN108649981A (en) * 2018-04-17 2018-10-12 厦门睿洽科技有限公司 A kind of fast starting method based on public network intercom
CN111782285A (en) * 2020-06-30 2020-10-16 珠海全志科技股份有限公司 Method and medium for dynamically setting wake-up source in user space

Similar Documents

Publication Publication Date Title
CN102968174A (en) Deep sleep awakening method of android device
US10775875B2 (en) Devices and methods for switching and communication among multiple operating systems and application management methods thereof
US9894605B2 (en) Low-power wearable devices and methods for switching and communication among multiple operating systems and application management methods thereof
CN102622079B (en) Sleep method, wakening method and mobile terminal device
US8281169B2 (en) Method and system for power management for a handheld mobile electronic device executing-in-place an application kernel from execute-in-place non-volatile memory (XIP NVM)
CN100470450C (en) Information processing apparatus and power supply control method
CN101395584B (en) JTAG power collapse debug
CN107302789B (en) Method and system for improving battery endurance of android device
CN103324549B (en) The implementation method of sleep standby and communication terminal
US8108704B2 (en) Method for automatically switching power states
CN105183137A (en) Mobile terminal and wake lock control method and system thereof
US20140218078A1 (en) Enhanced recovery mechanisms
CN108040292B (en) Television standby starting method, television and computer readable storage medium
CN104221445A (en) Method for waking up terminal system and terminal
CN102880477B (en) A kind of method realizing computer starting and computer
CN103796066A (en) Smart television system and method for turning on and turning off smart television system
CN102289279A (en) Equipment management method and device based on RTC (Real-Time Clock) clock interrupt
US8909911B2 (en) Power-on/off management system and method of communication device
US20120291043A1 (en) Minimizing Resource Latency Between Processor Application States In A Portable Computing Device By Using A Next-Active State Set
CN107493595A (en) A kind of low-power consumption safety certification device and control method
CN104836869A (en) Mobile communication terminal and mobile communication terminal power-on method
CN108628560A (en) A kind of display methods and terminal
JP4910067B1 (en) Electronic device and power saving control method for electronic device
US9395805B2 (en) Device sleep partitioning and keys
WO2014176893A1 (en) Method and device for powering off mobile terminal

Legal Events

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

Application publication date: 20130313