CN103402027B - Mobile terminal and method for putting same into sleeping state - Google Patents

Mobile terminal and method for putting same into sleeping state Download PDF

Info

Publication number
CN103402027B
CN103402027B CN201310323281.XA CN201310323281A CN103402027B CN 103402027 B CN103402027 B CN 103402027B CN 201310323281 A CN201310323281 A CN 201310323281A CN 103402027 B CN103402027 B CN 103402027B
Authority
CN
China
Prior art keywords
lock
application program
wake
time
mobile terminal
Prior art date
Application number
CN201310323281.XA
Other languages
Chinese (zh)
Other versions
CN103402027A (en
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 CN201310323281.XA priority Critical patent/CN103402027B/en
Publication of CN103402027A publication Critical patent/CN103402027A/en
Application granted granted Critical
Publication of CN103402027B publication Critical patent/CN103402027B/en

Links

Classifications

    • Y02D70/00

Abstract

The invention relates to a mobile terminal and a method for putting the same into the sleeping state, which are used for preventing third-party software from maliciously operating the wake lock of the Android system on the mobile system, so that the mobile terminal can enter the sleeping state in time, achieving a good power-saving effect. The mobile terminal comprises an Android power management system and a wake lock release system connected with the Android power management system.

Description

A kind of mobile terminal and make mobile terminal enter dormant method

Technical field

The present invention relates to moving communicating field, more particularly, relate to a kind of mobile terminal and make mobile terminal enter dormant method.

Background technology

The usual power consumption of smart mobile phone is very fast, makes smart mobile phone be one of main electricity saving method not needing to enter as early as possible when using sleep state.But present smart mobile phone often can install many third party softwares, these third party softwares in order to maintain the refreshing of its data, or for other unfriendly object, often various timer is frequently set, timing wake-up mobile phone, and refresh data, and do various background process; Each application program is in order to process respective demand simultaneously, just allow system to enter sleep state after meeting mandatory requirement system processes their request.Because different application program quality is very different, particularly some malicious third parties softwares often cause Android system to sleep, and cause mobile phone CPU to be in running status always, cannot enter sleep, thus it is very fast to cause battery power consumption to obtain.

Summary of the invention

The technical problem to be solved in the present invention is, for the deficiencies in the prior art, design a kind of mobile terminal and make mobile terminal enter dormant method, what stop third party software malice operational system wakes lock up, thus make system enter sleep state in time, reach good power saving effect.

The technical solution adopted for the present invention to solve the technical problems is: construct a kind of mobile terminal, comprise power-supply management system, also comprise be connected with described power-supply management system wake lock delivery system up.

Preferably, the lock delivery system that wakes up of the present invention comprises:

Set of time module, for arranging the legal working time length waking lock up of each application program of described mobile terminal and locking the in running order time cycle for detecting whether to have to wake up;

Time logging modle, locks the time point of starting working for waking up of records application program application;

List arranges module, for arranging application program white list;

Operating Interface Module, for providing autonomous setting operation option for user;

Detection module, for detect termly according to the described time cycle whether wake up lock in running order;

Judge module, for whether being in white list according to application program, application program runs the time span waking lock up and whether exceedes its legal working time length and consulting affirmation mechanism and judge whether discharge and wake lock up;

Wake lock release module up, when waking lock up for judging discharge at described judge module, release wakes lock up.

Preferably, described time cycle length is 5 minutes to 10 minutes.

Preferably, described list arranges module and comprises white list list, and described white list list records does not carry out the list that forcible aborting wakes the application program of lock up.

Preferably, described judge module comprises white list fuzzy matching engine, for judging that whether in running order the waking up that described detection module detects locks corresponding application program at described application program white list, the in running order application program list recorded in application program corresponding to lock and described white list list that wakes up that described detection module detects by described white list fuzzy matching engine carries out fuzzy matching, if the match is successful, then described application program is added described white list list, and wake application program corresponding to lock described in thinking up on described application program white list, if it fails to match, application program corresponding to lock is waken up not on described application program white list described in then thinking.

Preferably, described judge module also comprises consulting and confirms submodule, confirms that running the application program waking lock up wakes lock up the need of continuing to run this for seeking advice from;

Preferably, described set of time module also confirms the program response fixed time of submodule for arranging described consulting.

Preferably, the described program response fixed time is the time period between consulting confirms 1 second to 1 after module starts minute.

Preferably, described Operating Interface Module comprise wake up lock legal duration submodule is set, for providing the setting option waking the legal working time length of lock up of each application program of described mobile terminal; Wake lock sense cycle up and submodule is set, for being provided for detecting the setting option whether having and wake the lock in running order time cycle up; White list arranges submodule, for providing the setting option of application program white list; Response time arranges submodule, the setting option of the program response fixed time confirming submodule for providing described consulting.

Preferably, of the present inventionly make mobile terminal enter dormant method to comprise the following steps:

In described mobile terminal, the legal working time length waking lock up of each application program of mobile terminal is set, time cycle that systems axiol-ogy wakes lock up, consulting confirm the modular program response fixed time;

Application program white list is set;

The time point of starting working is locked in waking up of records application program application;

Detect whether to wake lock up in running order the time cycle of waking lock up according to described systems axiol-ogy termly;

Detected wake up lock in running order time, judge describedly in running order to wake application program corresponding to lock up whether on described application program white list;

If described in wake application program corresponding to lock up not on described application program white list, then whether the operating time of waking lock described in judging up exceedes the legal working time length that this wakes lock up;

If described in wake lock up operating time exceeded this wake up lock legal working time length, then start consulting affirmation mechanism, inquire whether this application program also needs to run this and wake lock up, if inquiry result wakes lock up for this application program does not need to continue to run this, or this application program at the appointed time in do not make and clearly replying, then start and wake lock release module up, discharge this and wake lock up.

Mobile terminal of the present invention and make mobile terminal enter dormant method, can judge running the application program waking lock up, some third party softwares are arranged and wakes the legal duration of lock operation up, when detecting that the time of waking lock operation up of these program applications exceeds legal duration, automatic release wakes lock up, what realize prevention third party software malice operational system wakes lock up, thus makes system enter sleep state in time, reaches good power saving effect.

Accompanying drawing explanation

Fig. 1 is the overall construction drawing of the mobile terminal of present pre-ferred embodiments.

Fig. 2 is the functional block diagram waking lock delivery system up of present pre-ferred embodiments.

Fig. 3 is that the mobile terminal that makes of present pre-ferred embodiments enters the flow chart of dormant method.

Embodiment

Below in conjunction with drawings and Examples, the invention will be further described:

As shown in Figure 1, be the overall construction drawing of the mobile terminal of present pre-ferred embodiments.

The mobile terminal of present pre-ferred embodiments comprises: Android power management system 1, wakes lock delivery system 2 up, and Android power management system 1 is locked delivery system 2 and is connected with waking up.

As shown in Figure 2, be the functional block diagram waking lock delivery system up of present pre-ferred embodiments.

The functional block diagram waking lock delivery system 2 up of present pre-ferred embodiments comprises:

Set of time module 21, for arranging the legal working time length waking lock up of each application program of mobile terminal and locking the in running order time cycle for detecting whether to have to wake up; Consulting also for arranging mobile terminal confirms the modular program response fixed time.Preferably, system can arrange suitable wake lock legal working time length up to the lock that wakes up of each application program of mobile terminal according to actual needs, such as can arrange the file of certain .MP3 form and wake lock operating time length up slightly larger than the legal of its reproduction time.As another preferred implementation, mobile terminal detect whether have wake up lock the in running order time cycle can be arranged by system default, time cycle length specifically can be set to any duration between 5 minutes to 10 minutes.As another preferred implementation, consulting confirms that the modular program response fixed time can be arranged by system default, specifically can be set between the time period after consulting affirmation mechanism starts between 1 second to 1 minute.

Time logging modle 22, locks the time point of starting working for waking up of records application program application.

List arranges module 23, for arranging application program white list; Preferably, list arranges module 23 can comprise a white list list (not shown), and this white list list records does not need to carry out the list that forcible aborting wakes the application program of lock up; This white list list can be arranged by system default, and it comprises as system level application program etc. is not suitable for carrying out the application program that forcible aborting wakes lock up.

Operating Interface Module 24, for providing autonomous setting operation option for user; Preferably, application program can be comprised and wake that lock legal working time length arranges submodule, cycle detection time arranges submodule, white list arranges submodule, consulting confirms that the modular program response fixed time arranges submodule to wake lock up up.Each submodule all provides user option, independently arranges as required for user.

Detection module 25, for whether have according to described detection wake up lock the in running order time cycle detect termly whether wake up lock in running order.

Judge module 26, for whether being in white list according to application program, application program runs the time span waking lock up and whether exceedes its legal working time length and consulting affirmation mechanism and judge whether discharge and wake lock up.

Preferably, judge module 26 comprises a white list fuzzy matching engine (not shown), for judging whether the in running order application program waking lock up corresponding that detection module 25 detects is positioned at described application program white list, the described in running order application program list recorded in application program corresponding to lock and described white list list that wakes up arranging logging modle record is carried out fuzzy matching by described white list fuzzy matching engine, if the match is successful, then described application program is added described white list list, and wake application program corresponding to lock described in thinking up on described application program white list, if it fails to match, application program corresponding to lock is waken up not on described application program white list described in then thinking.If wake application program corresponding to lock described in described matching result display up not on described application program white list, whether the operating time length waking lock described in then judging up exceedes the described legal working time length that this wakes lock up, if described in wake lock up operating time length exceeded the legal working time length that this wakes lock up, then start consulting affirmation mechanism, inquire whether this application program also needs to run this and wake lock up, if inquiry result wakes lock up for this application program does not need to continue to run this, or this application program at the appointed time in do not make and clearly replying, then start and wake lock release module up.

As another preferred implementation, judge module 26 also comprises consulting and confirms submodule (not shown), and this consulting confirms that submodule confirms to run the application program waking lock up and runs this need of continuation for seeking advice from and wake lock up; Preferably, consulting confirms that module 24 can comprise an interrogator (not shown), and system to wake the application program inquiry of lock up, and the need of continuation operation, this wakes lock up by this interrogator to operations.

Wake lock release module 27 up, when waking lock up for judging discharge at described judge module, release wakes lock up.

As shown in Figure 3, for the mobile terminal that makes of present pre-ferred embodiments enters the flow chart of dormant method.

Step 31, uses set of time module 21 as shown in Figure 2 arranges the legal working time length waking lock up of each application program of mobile terminal, systems axiol-ogy wakes lock up time cycle, consulting confirms the modular program response fixed time.

Step 32, uses list as shown in Figure 2 to arrange module 23 and arranges application program white list.

Step 33, what use time logging modle 22 records application program application as shown in Figure 2 wakes the time point locked and start working up.

Step 34, uses detection module 25 as shown in Figure 2 in running order according to whether waking lock in described time cycle at set intervals detection system up; Wake lock up if do not detect in running order, then terminate this and judge, wake lock up if detected in running order, then enter step 35.

Step 35, uses judge module 26 as shown in Figure 2 to judge describedly in running order to wake application program corresponding to lock up whether on described application program white list; If described application program is on described application program white list, then terminates this and judge, if described application program is not on described application program white list, then enter step 36.

Step 36, whether the operating time length waking lock described in use judge module 26 as shown in Figure 2 judges up exceedes the described legal working time length that this wakes lock up; If do not exceed, then terminate this and judge, if exceeded, then enter step 37.

Step 37, whether the application program waking lock correspondence described in use judge module 26 as shown in Figure 2 judges up also needs to run this is waken lock up; If desired, then terminate this and judge, if do not need, or at the appointed time this application program interior replies, then enter step 38.

Step 38, uses lock release module 27 release that wakes up as shown in Figure 2 to wake lock up.

Step 31 all independently can be arranged by Operating Interface Module 24 as shown in Figure 2 by user as required with every setting the in step 32.

In step 35, judge module 26 as shown in Figure 2 adopts and the mode that fuzzy matching is carried out in described application program and described white list list is judged described in running order waking up locks corresponding application program whether on described application program white list by described white list fuzzy matching engine.

In step 37, by consulting, judge module as shown in Figure 2 26 confirms that submodule wakes application program corresponding to lock up and whether also needs to run this and wake lock up described in judging, preferably, consulting confirms that submodule can carry out consulting confirmation by the mode comprising the striding course access such as readjustment, inquiry by back-up system.

The mobile terminal of present pre-ferred embodiments and make mobile terminal enter dormant method can stop third-party application software due to a variety of causes cause wake lock up cannot by the problem initiatively discharged, such as program exception etc., thus avoid third-party application to use for a long time waking up locking the terminal CPU caused and cannot enter sleep state in time and the power consumption problem that causes.Particularly, if some third party application does not still maliciously take in a period of time and wakes lock up and do not discharge after closedown, then by the judgement of judge module of the present invention, the decision that forcible aborting wakes lock up can be made, thus start wake up lock release module release wake lock up, make mobile terminal of the present invention enter sleep state in time, thus reach the object of power saving.

Claims (9)

1. a mobile terminal, comprises power-supply management system, it is characterized in that, also comprise be connected with described power-supply management system wake lock delivery system up, described in wake up lock delivery system comprise:
Set of time module, for arranging the legal working time length waking lock up of each application program of described mobile terminal and locking the in running order time cycle for detecting whether to have to wake up;
Time logging modle, locks the time point of starting working for waking up of records application program application;
List arranges module, for arranging application program white list;
Operating Interface Module, for providing autonomous setting operation option for user;
Detection module, for detect termly according to the described time cycle whether wake up lock in running order;
Judge module, for whether being in white list according to application program, application program runs the time span waking lock up and whether exceedes its legal working time length and consulting affirmation mechanism and judge whether discharge and wake lock up;
Wake lock release module up, when waking lock up for judging discharge at described judge module, release wakes lock up.
2. mobile terminal according to claim 1, is characterized in that: described time cycle length is 5 minutes to 10 minutes.
3. mobile terminal according to claim 1, is characterized in that: described list arranges module and comprises white list list, and described white list list records does not carry out the list that forcible aborting wakes the application program of lock up.
4. mobile terminal according to claim 1, it is characterized in that: described judge module comprises white list fuzzy matching engine, for judging that whether in running order the waking up that described detection module detects locks corresponding application program at described application program white list, the in running order application program list recorded in application program corresponding to lock and described white list list that wakes up that described detection module detects by described white list fuzzy matching engine carries out fuzzy matching, if the match is successful, then described application program is added described white list list, and wake application program corresponding to lock described in thinking up on described application program white list, if it fails to match, application program corresponding to lock is waken up not on described application program white list described in then thinking.
5. mobile terminal according to claim 1, is characterized in that: described judge module also comprises consulting and confirms submodule, confirms that running the application program waking lock up wakes lock up the need of continuing to run this for seeking advice from.
6. mobile terminal according to claim 1, is characterized in that: described set of time module also confirms the program response fixed time of submodule for arranging described consulting.
7. mobile terminal according to claim 6, is characterized in that: the described program response fixed time is the time period between consulting confirms 1 second to 1 after module starts minute.
8. mobile terminal according to claim 1, it is characterized in that: described Operating Interface Module comprise wake up lock legal duration submodule is set, for providing the setting option waking the legal working time length of lock up of each application program of described mobile terminal; Wake lock sense cycle up and submodule is set, for being provided for detecting the setting option whether having and wake the lock in running order time cycle up; White list arranges submodule, for providing the setting option of application program white list; Response time arranges submodule, the setting option of the program response fixed time confirming submodule for providing described consulting.
9. make mobile terminal enter a dormant method, it is characterized in that, comprise the following steps:
In mobile terminal in as claim 1-8 as described in any one, the legal working time length waking lock up of each application program of mobile terminal is set, time cycle that systems axiol-ogy wakes lock up, consulting confirm the modular program response fixed time;
Application program white list is set;
The time point of starting working is locked in waking up of records application program application;
Detect whether to wake lock up in running order the time cycle of waking lock up according to described systems axiol-ogy termly;
Detected wake up lock in running order time, judge describedly in running order to wake application program corresponding to lock up whether on described application program white list;
If described in wake application program corresponding to lock up not on described application program white list, then whether the operating time of waking lock described in judging up exceedes the legal working time length that this wakes lock up;
If described in wake lock up operating time exceeded this wake up lock legal working time length, then start consulting affirmation mechanism, inquire whether this application program also needs to run this and wake lock up, if inquiry result wakes lock up for this application program does not need to continue to run this, or this application program at the appointed time in do not make and clearly replying, then start and wake lock release module up, discharge this and wake lock up.
CN201310323281.XA 2013-07-29 2013-07-29 Mobile terminal and method for putting same into sleeping state CN103402027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310323281.XA CN103402027B (en) 2013-07-29 2013-07-29 Mobile terminal and method for putting same into sleeping state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310323281.XA CN103402027B (en) 2013-07-29 2013-07-29 Mobile terminal and method for putting same into sleeping state

Publications (2)

Publication Number Publication Date
CN103402027A CN103402027A (en) 2013-11-20
CN103402027B true CN103402027B (en) 2015-03-04

Family

ID=49565548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310323281.XA CN103402027B (en) 2013-07-29 2013-07-29 Mobile terminal and method for putting same into sleeping state

Country Status (1)

Country Link
CN (1) CN103402027B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9351254B2 (en) 2014-01-22 2016-05-24 Seven Networks, Llc Method for power saving in mobile devices by optimizing wakelocks
US9841802B2 (en) * 2014-02-20 2017-12-12 Qualcomm Incorporated Wake lock management through application monitoring
CN103971050A (en) * 2014-05-21 2014-08-06 深圳市中兴移动通信有限公司 Mobile terminal awakening control method and device and mobile terminal
CN104020837B (en) * 2014-06-19 2017-02-01 珠海全志科技股份有限公司 audio playing power management method and power management device
CN104156053B (en) * 2014-07-29 2015-12-30 努比亚技术有限公司 A kind of control method of abnormal power consumption, device and mobile terminal
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN104808767A (en) * 2015-03-31 2015-07-29 深圳市金立通信设备有限公司 Terminal control method
CN104808766A (en) * 2015-03-31 2015-07-29 深圳市金立通信设备有限公司 Terminal
CN105183137B (en) * 2015-09-09 2018-06-01 厦门美图移动科技有限公司 A kind of mobile terminal and its wake-up lock control method and control system
CN105306743A (en) * 2015-09-30 2016-02-03 小米科技有限责任公司 Screen control method and device
KR102098581B1 (en) 2015-10-29 2020-04-08 후아웨이 테크놀러지 컴퍼니 리미티드 Terminal-based control method, device, and terminal for WAKELOCK
CN105824392A (en) * 2015-11-26 2016-08-03 维沃移动通信有限公司 Application program management method and terminal
CN105530377B (en) * 2015-12-14 2019-03-15 Oppo广东移动通信有限公司 It is a kind of to wake up the processing method locked, apparatus and system
CN105867581A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power optimization method and device and mobile terminal
CN105630132A (en) * 2015-12-23 2016-06-01 深圳市万普拉斯科技有限公司 Power consumption control method and system as well as terminal
CN105807894B (en) * 2016-03-22 2019-06-25 北京小米移动软件有限公司 Using the treating method and apparatus for holding lock
CN106055077A (en) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 Wake-up lock-based processing method and device
CN106372543A (en) * 2016-08-31 2017-02-01 上海摩软通讯技术有限公司 Resource control method and device based on mobile terminal
CN107885308A (en) * 2016-09-30 2018-04-06 北京小米移动软件有限公司 Electricity saving method and device
CN106502687A (en) * 2016-10-24 2017-03-15 深圳市金立通信设备有限公司 A kind of method and terminal for entering resting state
CN106569879B (en) * 2016-10-28 2020-02-11 青岛海信移动通信技术股份有限公司 Method for awakening peripheral and mobile terminal
CN106775685A (en) * 2016-12-01 2017-05-31 北京奇虎科技有限公司 Wake up lock method for releasing and device, mobile terminal
CN107291212A (en) * 2017-06-16 2017-10-24 深圳天珑无线科技有限公司 Power lock processing method and processing device
CN108848417A (en) * 2018-07-20 2018-11-20 晶晨半导体(上海)股份有限公司 Wake up the control method and control system of lock

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250726A1 (en) * 2006-04-24 2007-10-25 Rossetti David A Method of controlling wakeup frequency in a wireless communication system
CN103002163B (en) * 2012-11-15 2015-09-16 深圳市金立通信设备有限公司 A kind of mobile terminal background program control method and mobile terminal
CN103064669B (en) * 2012-12-18 2017-03-08 希姆通信息技术(上海)有限公司 The timing wake-up method and system of smart machine
CN103118188B (en) * 2013-01-25 2014-08-20 华为终端有限公司 Application heartbeat cycle adjusting method and device, and terminal
CN103218033B (en) * 2013-03-28 2015-11-25 小米科技有限责任公司 A kind of method and device waking hardware device up

Also Published As

Publication number Publication date
CN103402027A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN104221445B (en) A kind of method and terminal waking up terminal system
US9116704B1 (en) Delaying the initiation of transitioning to a lower power mode by placing a computer system into an intermediate power mode between a normal power mode and the lower power mode
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
US8839016B2 (en) USB self-idling techniques
US10425303B2 (en) Method and apparatus for a power-efficient framework to maintain data synchronization of a mobile personal computer to simulate a connected scenario
US8230247B2 (en) Transferring architectural functions of a processor to a platform control hub responsive to the processor entering a deep sleep state
WO2014035119A2 (en) An apparatus and method for waking up a processor
US8065546B2 (en) Interrupt/wake-up of an electronic device in a low power sleep mode when detecting a sensor or frequency source activated frequency change
KR100932920B1 (en) Sensor node wake-up device and method
Prayati et al. A modeling approach on the TelosB WSN platform power consumption
CN102938928B (en) Node control method, network controller and network system
CN100573383C (en) Intelligent home control system based on phone and ZigBee technology
CN102090116B (en) Partial power save mode for access points during device discovery
CN102404047B (en) The method and system of power-saving mechanism management are realized between ONU and OLT
Gu et al. Radio-Triggered Wake-Up Capability for Sensor Networks.
KR100881273B1 (en) Sensor node and its operating method
TWI399941B (en) Techniques utilizing a layer-2 proxy for energy-efficient service discovery and connectivity in networks
CN105183137A (en) Mobile terminal and wake lock control method and system thereof
US20150019892A1 (en) Low-power near-field communication authentication
US8490177B2 (en) Apparatus and method for variable authentication requirements
KR101075421B1 (en) Apparatus and control method for energy-aware home gateway based on network
US9268384B2 (en) Conserving power using predictive modelling and signaling
US8095814B2 (en) Computing device power management
CN104244381B (en) Wake-up control method, device and terminal device
Haratcherev et al. Low-power sleep mode and out-of-band wake-up for indoor access points

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder