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
android
running status
Prior art date
Application number
CN2012104378034A
Other languages
Chinese (zh)
Inventor
张旭
余国旭
Original Assignee
珠海全志科技股份有限公司
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 珠海全志科技股份有限公司 filed Critical 珠海全志科技股份有限公司
Priority to CN2012104378034A priority Critical patent/CN102968174A/en
Publication of CN102968174A publication Critical patent/CN102968174A/en

Links

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 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 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 (10)

* 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
CN107484022B (en) * 2017-08-07 2020-06-30 四川长虹电器股份有限公司 Method for realizing system global screen saver on Android smart television

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 (16)

* 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
CN103345297B (en) * 2013-06-26 2016-09-07 深圳天珑无线科技有限公司 Method for managing power supply and equipment
CN103336572A (en) * 2013-06-26 2013-10-02 深圳天珑无线科技有限公司 Intelligent terminal and power saving method thereof
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
WO2016041190A1 (en) * 2014-09-19 2016-03-24 华为技术有限公司 Method and apparatus for running application program
CN105612485A (en) * 2014-09-19 2016-05-25 华为技术有限公司 Method and apparatus for running application program
US10386914B2 (en) 2014-09-19 2019-08-20 Huawei Technologies Co., Ltd. Method and apparatus for running application program
CN105612485B (en) * 2014-09-19 2019-11-29 华为技术有限公司 A kind of method and device 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
CN107484022A (en) * 2017-08-07 2017-12-15 四川长虹电器股份有限公司 The method that system overall situation screen protection is realized in Android intelligent television
CN107484022B (en) * 2017-08-07 2020-06-30 四川长虹电器股份有限公司 Method for realizing system global screen saver on Android smart 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

Similar Documents

Publication Publication Date Title
US8959369B2 (en) Hardware automatic performance state transitions in system on processor sleep and wake events
CN105183137B (en) A kind of mobile terminal and its wake-up lock control method and control system
US8788861B2 (en) Connected standby sleep state for increased power savings
US8954983B2 (en) Conserving power through work load estimation for a portable computing device using scheduled resource set transitions
DE102013224175B4 (en) Low-power states for a computer system with built-in baseband
US9456413B2 (en) Power management in a mobile device
JP3701910B2 (en) Transition to sleep state
JP5893568B2 (en) System and method for controlling central processing unit power based on estimated workload parallelism
JP2015064676A (en) Information processing device, semiconductor device, information processing method, and program
US8762759B2 (en) Responding to interrupts while in a reduced power state
KR101156292B1 (en) System and method for fast platform hibernate and resume
US8407505B2 (en) Power consumption control method in multicore CPU
CN102207881B (en) Quick operation system start-up method based on Android
CN104220985B (en) Use the user's space method and apparatus that synchronously enhancing dormancy and recovery are handled
US7681058B2 (en) Information processing apparatus and power supply control method
US8880914B2 (en) Information processing apparatus and judging method
US9411390B2 (en) Integrated circuit device having power domains and partitions based on use case power optimization
CN101702106B (en) Awakening method and system for touch screen terminal
KR101596222B1 (en) Method and apparatus for controlling operation of booting for video image reproducing apparatus
TWI494857B (en) Method for performing wake-up event management, and associated apparatus and associated computer program product
TWI477957B (en) Apparatus including a processor core, method of operating a processor and non-transitory computer readable medium
TWI556092B (en) Priority based application event control (paec) to reduce power consumption
US7519808B2 (en) Method and apparatus for quickly reanimating devices from hibernation
KR101185614B1 (en) Power Saving Method and Apparatus for Mobile System with Blocking the Power of the Module
US20120191961A1 (en) Computer System and Operating System Switching Method Thereof

Legal Events

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

Application publication date: 20130313

C12 Rejection of a patent application after its publication