Movatterモバイル変換


[0]ホーム

URL:


CN103336572B - Intelligent terminal and power-saving method thereof - Google Patents

Intelligent terminal and power-saving method thereof
Download PDF

Info

Publication number
CN103336572B
CN103336572BCN201310260051.3ACN201310260051ACN103336572BCN 103336572 BCN103336572 BCN 103336572BCN 201310260051 ACN201310260051 ACN 201310260051ACN 103336572 BCN103336572 BCN 103336572B
Authority
CN
China
Prior art keywords
party application
current
power
application program
intervalometer
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.)
Expired - Fee Related
Application number
CN201310260051.3A
Other languages
Chinese (zh)
Other versions
CN103336572A (en
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.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless 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 Shenzhen Tinno Wireless Technology Co LtdfiledCriticalShenzhen Tinno Wireless Technology Co Ltd
Priority to CN201310260051.3ApriorityCriticalpatent/CN103336572B/en
Publication of CN103336572ApublicationCriticalpatent/CN103336572A/en
Application grantedgrantedCritical
Publication of CN103336572BpublicationCriticalpatent/CN103336572B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

This application discloses a kind of intelligent terminal and power-saving method thereof, third party application upper to intelligent terminal carries out priority assignation in advance, some third party application is allowed to call the authority waking up intervalometer up, some third party application is prohibited to obtain above-mentioned authority, propose when there being third party application to need when waking up the call request of intervalometer up, according to priority assignation situation in advance, it is allowed to or forbid that third party application calls and wake up intervalometer up.So, without closing or deleting third party application, in other words, on reservation intelligent terminal on the premise of the basic function of third party application, the partial function that just can realize affecting it intelligent terminal's running status is managed, thus improves friendliness and the convenience saving electricity operation.

Description

Intelligent terminal and power-saving method thereof
Technical field
The application relates to data processing terminal field, particularly relates to a kind of intelligent terminal and power-saving method thereof.
Background technology
Along with the update of mobile phone operating system, Android (Android) and Fructus Mali pumilae IOS can be held concurrentlyHold more third party application with better function, and make mobile intelligent degree more and more higher.Some is years oldTripartite's application program, when running background, still can call power lock for a long time, make smart mobile phone cannot be introduced intoResting state, smart mobile phone is in significantly power consumption state for a long time, makes smart mobile phone stand-by time shorten, contractingThe short use time of smart mobile phone.
Prior art provides a kind of other detection method of application-level, and which third party it can record shouldIt is in running status and operation time etc. thereof by program, thus user can speculate according to the situation that record is reflectedThe third party application of significantly power consumption may be caused, and then by closing or deleting these third-party application journeysSequence saves electricity.But, long playing third party application is not offered as it and actually makes intelligenceMobile phone is in relative significantly power consumption state for a long time, it is thus possible to the mistake of third party application can be caused to closeClose or delete by mistake;Positive closing third party application is likely to cause sending out of the fortuitous events such as loss of dataRaw, Force Deletion third party application needs root authority, and therefore, positive closing or deletion third party shouldThe most inconvenient by program, it is also possible to problem of data safety can be caused;It addition, positive closing or delete theFor a user, operation friendliness is relatively low, reduces the acceptance of user for tripartite's application program.
Summary of the invention
The application provides a kind of intelligent terminal and power-saving method thereof, to retain third-party application on intelligent terminalOn the premise of the basic function of program, the partial function that it affects intelligent terminal's dormancy is managed, and promotesSave friendliness and the convenience of electricity operation.
According to the first aspect of the application, the application provides the power-saving method of a kind of intelligent terminal, including:
Current third party application program according to configuration initiate for attempt arranging wake up up the first of intervalometer call pleaseAsk, described first call request carries the identification information of current third party application program;
After waking up the first call request described in timer management service acquisition up, described identification information searching obtainFor indicating permission or forbidding that current third party application call wakes up the first presupposed information of intervalometer up;
Described wake up timer management service up, according to the first presupposed information, the first call request is carried out corresponding positionReason.
According to the second aspect of the application, the application provides a kind of intelligent terminal, including:
First acquiring unit, for from current third party application program obtain according to configuration initiate, be used for tastingExamination arranges the first call request waking up intervalometer up, and carrying current third party in described first call request shouldBy the identification information of program;
First searches unit, for being obtained for indicating permission or forbidding current the by described identification information searchingTripartite's application call wakes up the first presupposed information of intervalometer up;
First processing unit, for carrying out alignment processing according to described first presupposed information to the first call request.
The application provides the benefit that:
By providing a kind of intelligent terminal and power-saving method thereof, third party application upper to intelligent terminal in advanceCarrying out priority assignation, some third party application is allowed to call the authority waking up intervalometer up, and some is the 3rd years oldSide's application program is prohibited to obtain above-mentioned authority, proposes waking up intervalometer up when there being third party application to needCall request time, according to priority assignation situation in advance, it is allowed to or forbid that third party application calls and call outAwake intervalometer.So, it is not necessary to close or delete third party application, in other words, intelligent terminal is being retainedOn the premise of the basic function of upper third party application, it is possible to realize that it is affected intelligent terminal and run shapeThe partial function of state is managed, thus improves friendliness and the convenience saving electricity operation.
Accompanying drawing explanation
Fig. 1 is the flow chart of the power-saving method of the intelligent terminal of the embodiment of the present application one;
Fig. 2 is the structure chart of the intelligent terminal of the embodiment of the present application one;
Fig. 3 is the structure chart of the first processing unit 203 in the embodiment of the present application one;
Fig. 4 is the schematic diagram of the user interface of the embodiment of the present application three;
Fig. 5 is the supplementary flow chart of the power-saving method of the intelligent terminal of the embodiment of the present application four;
Fig. 6 is the structure chart of the intelligent terminal of the embodiment of the present application four;
Fig. 7 is the structure chart of the second processing unit 603 in the embodiment of the present application four;
Fig. 8 is the supplementary flow chart of the power-saving method of the intelligent terminal of the embodiment of the present application five;
Fig. 9 is the structure chart of the intelligent terminal of the embodiment of the present application five;
Figure 10 is the structure chart of the 3rd processing unit 902 in the embodiment of the present application six;
Figure 11 is the schematic diagram of the user interface of the embodiment of the present application eight;
Figure 12 is the schematic diagram of the user interface of the embodiment of the present application nine.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the application is described in further detail.
Embodiment one:
In the present embodiment, illustrate as a example by intelligent terminal is as smart mobile phone.
The power-saving method of the intelligent terminal of the present embodiment space based on intelligent terminal's underlying operating system divides,It generally comprises user's space and kernel spacing.In the user space, code operates in relatively low Permission LevelsOn, these codes can only use part system resource to complete part system function, some specific systemic-functionCan not be used by, and these codes can not directly access kernel space and hardware device, third-party applicationProgram constitutes user's space.Kernel spacing is mainly formed by kernel software, comprises board suppot package (BoardSupport Package, BSP), BSP can be that driver provides the function bag accessing hardware register.AndIntelligent terminal is upper to be had and wakes up timer function up, such as real-time clock (Real-Time Clock, RTC), alsoCan have and non-wake up timer function up.In kernel spacing wake up up timer driver may act on wake up up timingDevice chip, thus trigger intelligent terminal from the running status of a low power consumption be switched to one the highestThe running status of power consumption, rather than wake up intervalometer up and do not possess the function of the system of waking up up.Resting state can be divided intoResting state and deep sleep state in early days, under intelligent terminal's resting state in early days, mainly screen is closed,But other hardware (such as central processing unit and the peripheral hardware such as WIFI module or GPS module) do not have power-off and locateIn duty, and under deep sleep state, central processing unit enters low power consumpting state, and outside otherIf wholly or largely power-off, whole system power consumption is minimum, such as, in early days during resting state, wholeSystem power dissipation is 50-100 milliampere, and when deep sleep state, whole system power consumption is 1-2 milliampere.OnState and wake up intervalometer up at the timing arranged then, intelligent terminal can be triggered and be switched to from deep sleep stateResting state in early days, or it is switched to non-sleep state from early stage resting state, or from deep sleep stateIt is switched to non-sleep state etc., so that system power consumption changes from low to high.
Refer to Fig. 1, the power-saving method of the intelligent terminal of the present embodiment mainly includes following flow process:
Step 101, current third party application program is according to self configuration initiation the first call request, this first tuneWith carrying the identification information of current third party application program in request, the first call request is used for attempting arrangingWake up intervalometer up.Specifically, identification information can be title or the feature field etc. of third party application,It addition, the first call request can also include the initiation temporal information of call request;
Step 102, after waking up timer management service acquisition the first call request up, records in the first call requestCurrent third party application program identification information and initiate temporal information;
Step 103, wakes up timer management service up by identifying information, has permission from record or forbids that third party shouldWake up up with routine call in the first instruction information of intervalometer, search and obtain for indicating permission or forbidding currentThird party application calls the first presupposed information waking up intervalometer up, specifically, can be deposited by a memorizerStoring up above-mentioned first instruction information, the first instruction information refers to that third party application upper to intelligent terminal enters in advanceThe information of row priority assignation, user can be entered by human-computer interaction interface third party application upper to intelligent terminalRow priority assignation, some third party application is allowed to setting and wakes up intervalometer up, is i.e. allowed to obtain and triggersIntelligent terminal is switched to the authority of the second running status of high power consumption from the first running status of low power consumption,Some third party application is then prohibited setting and wakes up intervalometer up, is i.e. prohibited to obtain above-mentioned authority.FirstInstruction information set up have each third party application with for indicate allow or forbid that third party application callsWake up the corresponding relation of the presupposed information of intervalometer up, by the identification information of current third party application programAbove-mentioned first presupposed information is found from the first instruction information.So, obtain the first presupposed information by lookup,Wake up timer management service up it is known that be to allow also to be prohibited from the setting of current third party application program to wake up upIntervalometer;
Step 104, wakes up timer management service up, according to the first presupposed information, the first call request is carried out correspondenceProcess, specifically, when the first presupposed information instruction allows current third party application call to wake up intervalometer upTime, wake up timer management service up and allow current third party application program to arrange to wake up intervalometer up, the current 3rdSide's application program wakes up the intervalometer start by set date time up according to self configuration setting, and when the timing arrangedBetween then, wake up timer management service up and send trigger message, trigger intelligent terminal from low power consumption firstRunning status is switched to the second running status of high power consumption, and the running status of intelligent terminal includes non-sleep shapeState, in early days resting state and deep sleep state etc., when the first running status is early stage resting state or the degree of depthDuring resting state, the second running status is non-sleep state;Or, when the first running status is deep-sleepDuring state, the second running status is early stage resting state;
And when the first presupposed information instruction forbids that current third party application call wakes up intervalometer up, wake up upTimer management service forbids that waking up intervalometer up triggers intelligent terminal from low power consumption based on the first call requestFirst running status is switched to the second running status of high power consumption, specifically can include in following processing modeAny one:
One, wakes up timer management service up and is replaced with and non-wake up intervalometer up by the intervalometer that wakes up up attempting arranging,And according to the first call request, the non-intervalometer that wakes up up is configured, return to current third party application program and setPut success message.Wake up intervalometer up set owing to the execution of some third party application is necessarily dependent upon to receivePut success message, therefore for ensureing that the basic function of third party application can completely realize, will attemptArrange wake up up intervalometer replace with non-wake up intervalometer up while, need to third party application return onState and success message is set;
Its two, wake up up timer management service forbid current third party application program arrange wake up intervalometer up, toCurrent third party application program returns and arranges success message, namely ignores current third party application program and this time setThat puts wakes up intervalometer up.Call out similarly, since the execution of some third party application is necessarily dependent upon to receiveAwake intervalometer arranges success message, therefore for ensureing that the basic function of third party application can completely realize,Ignore that current third party application program this time arranges wake up intervalometer up while, need to third-party applicationProgram return is above-mentioned arranges success message;
Its three, wake up up timer management service forbid current third party application program arrange wake up intervalometer up, toCurrent third party application program returns setup failed message.
Above-mentioned processing mode may be provided in the first presupposed information, and waking up timer service up can be according at theseReason mode processes, and certainly, the processing mode arranged in the first presupposed information includes but are not limited to above-mentionedThree kinds.
Correspondingly, the intelligent terminal of the present embodiment mainly includes structure as shown in Figure 2:
First acquiring unit 201, for from current third party application program obtain according to configuration initiate, be used forAttempting arranging the first call request waking up intervalometer up, carrying current third party in this first call request shouldBy the identification information of program;
First searches unit 202, for by identifying that information searching obtains for indicating permission or forbidding the current 3rdSide's application call wakes up the first presupposed information of intervalometer up;
First processing unit 203, for carrying out alignment processing according to the first presupposed information to the first call request.First processing unit 203 can include structure as shown in Figure 3:
First judging unit 301, for judging that the first presupposed information instruction allows or forbids that current third party is appliedRoutine call wakes up intervalometer up;
First performance element 302, for allowing current third party application call when the first presupposed information instructionWhen waking up intervalometer up, it is allowed to current third party application program arranges and wakes up intervalometer up and when the timing arrangedBetween then, trigger intelligent terminal from the first running status of low power consumption be switched to high power consumption second operationState;When the first presupposed information instruction forbids that current third party application call wakes up intervalometer up, forbidWake up intervalometer up and be switched to the second operation shape based on the first call request triggering intelligent terminal from the first running statusState.And the first performance element 302 may particularly include:
First performs subelement, for allowing current third party application call when the first presupposed information instructionWhen waking up intervalometer up, it is allowed to current third party application program arranges and wakes up intervalometer up and when the timing arrangedBetween then, trigger intelligent terminal from the first running status of low power consumption be switched to high power consumption second operationState;
Second performs subelement, for forbidding current third party application call when the first presupposed information instructionWhen waking up intervalometer up, perform one of following steps: the intervalometer that wakes up up attempting arranging is replaced with non-calling outThe non-intervalometer that wakes up up is also configured, to current third party application journey by awake intervalometer according to the first call requestSequence returns and arranges success message;Forbid that current third party application program is arranged and wake up intervalometer up, to the current 3rdSide's application program returns and arranges success message;Forbid that current third party application program is arranged and wake up intervalometer up, toCurrent third party application program returns setup failed message.
Embodiment two:
The present embodiment essentially consists in the difference of embodiment one:
The power-saving method of the intelligent terminal of the present embodiment also includes: according to current third party application program to waking up upSituation is called in the success of intervalometer, and statistics the first execution information, this first execution information includes current third partyThe identification information of application program, success call number information and execution Duration Information etc., or, rootAccording to current third party application program to waking up the malloc failure malloc situation of intervalometer up, statistics the second execution information, shouldSecond execution information includes the identification information of current third party application program and forbids call number information etc..So, by performing the statistics of information to first, user would know that the frequently success of which third party applicationCall and wake up intervalometer up, thus decide whether that forbidding that it calls wakes up intervalometer up and by corresponding user interfaceCarry out quiescing.By performing the statistics of information to second, which third party application user would know thatFrequently attempt calling waking up intervalometer up and being waken up up intervalometer by successfully forbidding calling.So, can retain frequentlyOn the premise of calling the basic function of the third party application waking up intervalometer up, it is achieved to third-party application journeySequence calls the forbidding of function waking up intervalometer up, or can accurately close, delete these and frequently call and wake up upThe third party application of intervalometer, or this third party application supplier can be contacted drawn to solve itThe power consumption problem risen.
Correspondingly, the intelligent terminal of the present embodiment also includes:
First statistical module, for calling feelings according to current third party application program to the success waking up intervalometer upCondition, statistics first execution information, this first execution information include current third party application program identification information,Success call number information and execution Duration Information etc., or, according to current third party application programTo waking up the malloc failure malloc situation of intervalometer up, statistics the second execution information, this second execution information includes currentlyThe identification information of third party application and forbid call number information etc..
Embodiment three:
The present embodiment essentially consists in the difference of embodiment two:
In the power-saving method of the intelligent terminal of the present embodiment, need to add up above-mentioned first execution information and simultaneouslyTwo perform information, and correspondingly, the statistical module in the intelligent terminal of the present embodiment adds up above-mentioned first the most simultaneouslyExecution information and second performs information.Fig. 4 shows and adds up the first execution information and the second execution information simultaneouslyUser interface, this user interface also includes selecting to forbid that it calls after target third party application wakes up upThe quiescing button 401 of intervalometer, and corresponding cancel this and forbid that limit lifts a ban button 402.
Below by a concrete application example supplementary notes present context:
Third party application refers to User space program, and it may be configured with needs and calls the merit waking up intervalometer upCan, such as, message push function can after a certain timing check whether there is new information, now, the 3rdSide's application program may require that to set according to self configuration attempt and wakes up intervalometer up, when third party application is permittedPermitted to call when waking up intervalometer up, then allow third party application to arrange and wake up intervalometer up, wake up intervalometer quilt upAfter arranging, when timing then, will send trigger message after waking up timer management service up, trigger intelligenceTerminal is switched to resting state in early days from deep sleep state, thus the system that triggers receives new by wireless networkMessage, when third party application is prohibited to call and wakes up intervalometer up, will not arrange and wake up intervalometer up or setPut is non-to wake up intervalometer up, then will not be according to the triggering message trigger intelligent terminal of intervalometer from early stage dormancyState or deep sleep state are switched to non-sleep state.Further, in order on intelligent terminal's display screenShowing new information, third party application can set equally and wake up intervalometer up, determining after receiving new informationTime the time arrive time, wake up timer management service up and make intelligent terminal be switched to non-sleep from early stage resting stateState, now display screen switches on power, and screen is lit, thus by message box, new information is presented in intelligenceOn the display screen of energy terminal;The most more New function, ought be at a time when setting in third party applicationWhen being updated, third party application can call and wake up intervalometer up, at timing then, wakes up timing upDevice management service trigger intelligent terminal is switched to resting state in early days, and automatic and net from deep sleep stateThe background system communication of network side to update this third party application etc., if but according to the presupposed information of user,Third party application is prohibited to call and wakes up intervalometer up, then intelligent terminal can be avoided at third party applicationNeed to be waken up when updating.After using the present embodiment, when the first presupposed information instruction forbids that current third party shouldWhen waking up intervalometer up with routine call, current third party application program cannot wake up intervalometer execution up by callingThe functions such as corresponding message propelling movement or renewal, and after intelligent terminal enters non-sleep state, current third partyApplication program correspondence can perform the functions such as message propelling movement or renewal, so, it is not necessary to close or delete third partyApplication program, namely retaining on smart mobile phone on the premise of the basic function of third party application, thusJust can realize it is affected the partial function (function such as message propelling movement or renewal) of intelligent terminal's running statusIt is managed, makes this partial function successfully to call and wake up intervalometer up, thus improve saving electricity operationFriendliness and convenience;It is fixed that first presupposed information instruction allows current third party application call to wake up upTime device time, according to first call request set wake up intervalometer up, when set timing arrive time, wake up upIntervalometer i.e. can trigger smart mobile phone and be switched to the second fortune of high power consumption from the first running status of low power consumptionRow state, and notify that current third party application program smart mobile phone has been switched to a consumption the highestThe running status of electricity, now, third party application i.e. correspondingly can perform based on above-mentioned switching resultSuch as operations such as message propelling movement or renewals.
By implementing the embodiment of the present application, it is allowed to user arranges the power waking up intervalometer up to third party applicationLimit is configured, and the setting of user is stored as the first instruction information, is in low power consumption intelligent terminalRunning status under, when third party application because of self configuration need intelligent terminal to be waken up and be switched to heightWhen the running status of power consumption is to carry out certain operation, by waking up timer management service up based on presupposed informationSend third party application be controlled the first call request waking up intervalometer up, it is to avoid someThe undesirable wake operation of user, so that intelligent terminal decreases the undesirable electric energy of some users and disappearsConsumption, had both saved the power consumption of intelligent terminal, need not again user's Force Deletion or closes third party application.
Embodiment four:
The present embodiment, on the basis of embodiment one, also add following content:
Intelligent terminal is upper has power lock function, and in kernel spacing, power lock is the mechanism of a kind of lock, as long asHaving program to hold power lock, intelligent terminal just cannot be switched to low power consumption from the running status of high power consumptionRunning status, as entered resting state from non-sleep state.Power lock can be by third party application or kernelProgram is held.Power lock typically can be divided into two types, and the first has the power lock of overtime feature,When program is held after power lock exceedes Preset Time, and power lock can be automatically released, thus program is no longer heldPower lock, it two is the power lock without overtime feature, when program holds power lock and completes a certain processAfter, program actively discharges power lock according to self configuration, and program just can no longer hold power lock.When all quiltsAfter the power lock held is released, kernel spacing can start dormancy mechanism and enter resting state.
The power-saving method of the intelligent terminal of the present embodiment also includes flow process as shown in Figure 5:
Step 501, current third party application program initiates the second tune for attempting arranging power lock according to configurationWith request, carrying identification information in this second call request, the second call request arranges power supply for trialLock and make current third party application program hold power lock.Specifically, identification information can be third-party applicationThe title of program or feature field etc., it addition, can also include the second call request in the second call requestInitiate temporal information;
Step 502, after power management services obtains the second call request, record in the second call request is currentThe identification information of third party application and initiation temporal information;
Step 503, power management services, by identifying information, has permission from record or forbids third party applicationArrange in the second instruction information to hold power lock, search and obtain for indicating permission or forbidding the current 3rdSide's application program arranges to hold the second presupposed information of power lock, specifically, can be stored by a memorizerAbove-mentioned second instruction information, the second instruction information refers to that third party application upper to intelligent terminal is carried out in advanceThe information of priority assignation, user can be carried out by human-computer interaction interface third party application upper to intelligent terminalPriority assignation, some third party application is allowed to arrange power lock and hold power lock, is i.e. allowed to obtainIntelligent terminal must be stoped from the second running status of high power consumption to be switched to the first running status of low power consumptionAuthority, some third party application is then prohibited to hold power lock to lock power supply status, is i.e. prohibited to obtainObtain above-mentioned authority.Second instruction information set up have each third party application with for indicating permission or forbidding theThe corresponding relation of the presupposed information of tripartite's application program locking power supply status, by current third party application programIdentification information can find above-mentioned second presupposed information from the second instruction information.So, by searchingTo the second presupposed information, power management services is it is known that be to allow also to be prohibited from current third party application journeySequence locking power supply status;
Step 504, power management services carries out alignment processing according to the second presupposed information to the second call request,Specifically, alignment processing is particularly as follows: allow current third party application program to arrange when the second presupposed information indicatesDuring power lock, power management services allows current third party application program arrange power lock and hold power lock,Until current third party application program actively discharges power lock after completing a certain process, or it is super to hold power lockPower lock is passively released time after, within the time that power lock is held by current third party application program, power lockReceive dormancy and trigger signal even if driving and also will not trigger intelligent terminal and be switched to dormancy shape from non-sleep stateState;
When the second presupposed information instruction forbids that current third party application program arranges power lock, power management takesBusiness forbids that current third party application program locks power supply status, and specifically can include in following processing mode is arbitraryIndividual:
One, power management services forbids that current third party application program arranges power lock, to current third partyApplication program returns and arranges success message.Owing to the execution of some third party application is necessarily dependent upon receptionTo power lock, success message is set, therefore for ensureing that the basic function of third party application can completely realize,While forbidding that current third party application program arranges power lock, need on third party application returnsState and success message is set;
Its two, power management services forbids that current third party application program arranges power lock, to current third partyApplication program returns setup failed message.
Above-mentioned processing mode may be provided in the second presupposed information, and power management services can process according to theseMode processes, and certainly, the processing mode arranged in the second presupposed information includes but are not limited to above-mentioned threeKind.
Correspondingly, as shown in Figure 6, the intelligent terminal of the present embodiment is in addition to including the structure shown in Fig. 2, alsoIncluding:
Second acquisition unit 601, for from current third party application program obtain according to configuration initiate, be used forAttempt arranging the second call request of power lock, this second call request carries identification information;
Second searches unit 602, for by identifying that information searching obtains for indicating permission or forbidding the current 3rdSide's application program is arranged with the second presupposed information holding power lock;
Second processing unit 603, for the second call request being carried out alignment processing according to the second presupposed information,Alignment processing particularly as follows: when second presupposed information instruction allow current third party application program power lock is set time,Allow current third party application program that power lock is set;When the second presupposed information instruction forbids that current third party shouldWhen power lock is set by program, forbid that current third party application program locks power supply status.Second processing unit603 can include structure as shown in Figure 7:
Second judging unit 701, for judging that the second presupposed information instruction allows or forbids that current third party is appliedProgram arranges power lock;
Second performance element 702, for allowing current third party application program to arrange when the second presupposed information instructionDuring power lock, it is allowed to current third party application program arranges power lock;When the second presupposed information instruction is forbidden working asWhen front third party application arranges power lock, forbid that current third party application program arranges power lock, to working asFront third party application returns and arranges successfully or failed message.
Embodiment five:
The present embodiment adds following content on the basis of embodiment four:
In the power-saving method of the intelligent terminal of the present embodiment, when current third party is forbidden in the second presupposed information instructionWhen application program arranges power lock, power management services forbids that current third party application program locks power supply statusFor: power management services allows current third party application program to arrange power lock, and labelling power lock is invalidPower lock, it is also possible to return success message is set, it addition, the method for managing power supply of the present embodiment also include asFlow process shown in Fig. 8:
Step 801, power lock drives and obtains dormancy triggering signal under non-sleep state, specifically, relative toFor the power management services of a user's space part, power lock drives the part as kernel spacing, stopsSleep and trigger the indication signal that signal can be arrival system idle time thresholding, indicating intelligent terminal idle time-outNeed to enter resting state to economize on electricity, or dormancy triggering signal is that user operation intelligent terminal makes intelligent terminalIt is forced into the operation signal etc. of resting state;
Step 802, power lock drives and judges step based on dormancy triggering signal execution dormancy, and this dormancy judges stepSuddenly include: power lock drives the state checking power lock, and whether condition adjudgement based on power lock triggers intelligenceTerminal can be switched to resting state or deep sleep state in early days from non-sleep state.
Specifically, this dormancy judges that step includes:
Step 8021, power lock drives check whether there is third party application to hold power lock, if having, thenPerform step 8022, otherwise perform step 8023;
Step 8022, power lock drives the power lock judging to be held the most all to be marked as inactive power sources lock,The most then perform step 8023, otherwise perform step 8024;
Step 8023;Power lock drive trigger intelligent terminal from non-sleep state be switched in early days resting state orDeep sleep state;
Step 8024, when the power lock part held is not labeled as inactive power sources lock, power lock drivesIntelligent terminal is made to remain non-sleep state.
Correspondingly, as it is shown in figure 9, the intelligent terminal of the present embodiment is in addition to including structure as shown in Figure 6,Also include:
3rd acquiring unit 901, triggers signal for obtaining dormancy under non-sleep state;
3rd processing unit 902, for triggering the state of signal check power lock based on described dormancy, and based onWhether the condition adjudgement of power lock triggers intelligent terminal and is switched to resting state or the degree of depth in early days from non-sleep stateResting state.
Specifically, the second processing unit is for forbidding current third party application program when the second presupposed information instructionWhen arranging power lock, it is allowed to current third party application program arranges power lock, and power lock described in labelling is nothingEffect power lock, and the 3rd processing unit 902 may particularly include:
Based on dormancy, 3rd judging unit, for triggering whether signal check has third party application to hold electricitySource is locked, if having, then judges that the power lock held the most all is marked as inactive power sources lock;
3rd performance element, for when not having third party application to hold power lock, triggers intelligent terminalIt is switched to resting state or deep sleep state in early days from non-sleep state;Hold when there being third party applicationWhen power lock and the power lock held all are marked as inactive power sources lock, trigger intelligent terminal from non-sleepState is switched to resting state or deep sleep state in early days;When have third party application hold power lock andWhen the power lock part held is not labeled as inactive power sources lock, intelligent terminal is made to remain non-sleep state.
Embodiment six:
The present embodiment adds following content on the basis of embodiment five:
The power-saving method of the intelligent terminal of the present embodiment also includes lower flow process:
When based on dormancy trigger signal detection to have power lock to be held and be not labeled as inactive power sources lock time,Power lock drives check whether there is third party application release power lock, if having, then power lock drives and callsDormancy triggers signal and judges step based on dormancy triggering signal execution dormancy.
Correspondingly, as shown in Figure 10, in the intelligent terminal of the present embodiment, the 3rd processing unit 902 wraps furtherInclude:
4th judging unit 1001, for when triggering signal detection to there being power lock quilt based on the dormancy obtainedWhen holding and be not labeled as inactive power sources lock, check whether there is third party application release power lock;;
4th performance element 1002, for when there being third party application release power lock, calling dormancy and touchSignal and also trigger signal based on dormancy and trigger the 3rd judging unit work, thus further checked whether theTripartite's application program holds power lock.
Embodiment seven:
The present embodiment adds following content in embodiment four to embodiment six on the basis of any embodiment:
The power-saving method of the intelligent terminal of the present embodiment also includes following flow process:
According to current third party application program, the success of power lock being called situation, statistics the 3rd performs information,3rd execution information includes identification information and the success call number information etc. of current third party application program,Or, according to the current third party application program malloc failure malloc situation to power lock, statistics the 4th performs information,4th execution information includes identification information and the malloc failure malloc number information etc. of current third party application program.So, by performing the statistics of information to the 3rd, user would know that the frequently success of which third party applicationCall power lock, thus decide whether to forbid that it is called power lock and is forbidden by corresponding user interfaceOperation.By performing the statistics of information to the 4th, user would know which third party application is frequently attemptedCall power lock and successfully forbidden calling power lock.So, the 3rd of power lock can frequently be called retainingOn the premise of the basic function of side's application program, it is achieved third party application is called the function of power lockForbid, or can accurately close, delete these third party applications frequently calling power lock, or canContact this third party application supplier to solve its caused power consumption problem.
Correspondingly, the intelligent terminal of the present embodiment also includes:
Second statistical module, for situation being called in the success of power lock according to current third party application program,Adding up the 3rd execution information, the 3rd execution information includes identification information and the one-tenth of current third party application programMerit call number information etc., or, according to the current third party application program malloc failure malloc situation to power lock,Add up the 4th execution information, described 4th execution information include the identification information of current third party application program withAnd malloc failure malloc number information etc..
Embodiment eight:
The present embodiment essentially consists in the difference of embodiment seven:
In the power-saving method of the intelligent terminal of the present embodiment, need to add up above-mentioned 3rd execution information and simultaneouslyFour perform information, and correspondingly, the second statistical module in the intelligent terminal of the present embodiment adds up above-mentioned the most simultaneously3rd performs information and the 4th performs information.Figure 11 shows statistics the 3rd execution information and the 4th execution simultaneouslyThe user interface of information, forbids that it calls after this user interface also including select target third party applicationWake up the quiescing button 1101 of intervalometer up, and correspondence is cancelled this and forbidden that limit lifts a ban button 1102.
Below by a concrete application example supplementary notes present context:
Third party application may be configured with a function needing to call power lock, such as, have function of searchThird party application, when third party application starts WLAN function of search according to instruction, theTripartite's application program can call power lock, and holds power lock during performing search operation, makes systemKeep non-sleep state or dormancy in early days, stop panel computer to be switched to deeply from non-sleep state or dormancy in early daysDegree dormancy;The most such as there is the third party application of video playback capability, when third party application according toWhen instruction starts video playback capability, third party application can call power lock, and is performing video playbackDuring hold power lock, make system keep non-sleep state, stop panel computer from non-sleep state switchTo dormancy or deep-sleep etc. in early days.Use after the present embodiment, when the second presupposed information instruction forbids current theDuring tripartite's application call power lock, current third party application program cannot continue by calling power lockPerform the functions such as corresponding search or video playback, it is not necessary to close or delete third party application, Ye JiRetain on smart mobile phone on the premise of the basic function of third party application, thus just can realize its shadowThe partial function (function such as search or video playback) ringing intelligent terminal's running status is managed, and makes this portionPoint function cannot successfully call power lock, thus improves friendliness and the convenience saving electricity operation;Or allow current third party application program that power lock is called, power lock described in labelling is that inactive power sources is locked alsoSuccessful information is called in return;When presupposed information instruction allows current third party application program to call power lockTime, power management services arranges power lock according to call request, and the function such as search or video playback is flat by preventionsPlate computer is switched to the running status of low power consumption from the running status of high power consumption, correspondingly continuously carry out asThe functions such as search or video playback.
By implementing the embodiment of the present application, it is allowed to user arranges the authority of power lock and enters third party applicationRow is arranged, and the setting of user is stored as the second instruction information, is in the fortune of high power consumption intelligent terminalUnder row state, intelligent terminal is needed to maintain the operation shape of high power consumption when third party application because of self configurationWhen state is to carry out certain operation, third party application is sent based on presupposed information by power management servicesThe second call request to power lock be controlled, it is to avoid some users high power consumptions of undesirable maintenanceThe operation of amount running status, so that intelligent terminal decreases the undesirable power consumption of some users, bothSave the power consumption of intelligent terminal, need not again user's Force Deletion or close third party application.
Embodiment nine:
The present embodiment mainly provides a kind of user interface, as shown in figure 12, this user interface mainly in combination withEmbodiment three and 8 two kinds of user interfaces of embodiment.
It should be understood that
1, in other embodiments, first running status of intelligent terminal or the second running status be possible not only to beOne in non-sleep state, in early days dormancy or deep-sleep, it is also possible to be a certain brightness degree of display screenRunning status, or other have the running status of certain power consumption.
2, in other embodiments, intelligent terminal can also is that panel computer or notebook computer etc..
Above content is to combine the further description that the application is made by specific embodiment, it is impossible to recognizeDetermine the application be embodied as be confined to these explanations.Ordinary skill for the application artFor personnel, on the premise of conceiving without departing from the application, it is also possible to make some simple deduction or replace.

Claims (19)

Second performs subelement, for forbidding current third party application program when described first presupposed information instructionCall when waking up intervalometer up, perform one of following steps: wake up intervalometer up described in will attempting arranging and replaceBe changed to non-wake up intervalometer up and according to the first call request, the non-intervalometer that wakes up up be configured, to described currentlyThird party application returns and arranges success message;Forbid that described current third party application program arranges to wake up up to determineTime device, to described current third party application program return success message is set;Forbid that described current third party shouldArrange by program and wake up intervalometer up, return setup failed message to described current third party application program.
CN201310260051.3A2013-06-262013-06-26Intelligent terminal and power-saving method thereofExpired - Fee RelatedCN103336572B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310260051.3ACN103336572B (en)2013-06-262013-06-26Intelligent terminal and power-saving method thereof

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310260051.3ACN103336572B (en)2013-06-262013-06-26Intelligent terminal and power-saving method thereof

Publications (2)

Publication NumberPublication Date
CN103336572A CN103336572A (en)2013-10-02
CN103336572Btrue CN103336572B (en)2016-08-24

Family

ID=49244760

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310260051.3AExpired - Fee RelatedCN103336572B (en)2013-06-262013-06-26Intelligent terminal and power-saving method thereof

Country Status (1)

CountryLink
CN (1)CN103336572B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109803359B (en)*2013-11-152022-05-31华为终端有限公司Method for awakening terminal system and terminal
CN104714620B (en)*2013-12-122019-02-15中兴通讯股份有限公司A kind of method and device adjusting intelligent terminal wakeup frequency
WO2015172283A1 (en)*2014-05-122015-11-19华为技术有限公司Method, device and mobile terminal for reducing power consumption
CN104038635A (en)*2014-06-252014-09-10深圳市中兴移动通信有限公司Mobile terminal and prompting method of abnormal standby thereof
CN104267992A (en)*2014-09-292015-01-07广州视源电子科技股份有限公司Method and device for shielding wake-up program of mobile terminal
CN104486823A (en)*2014-12-092015-04-01锤子科技(北京)有限公司Method, device and system for controlling data service awakening source
CN104411004A (en)*2014-12-232015-03-11福州瑞芯微电子有限公司Method and device for processing configurable regular wakeup event
CN105487633B (en)*2015-11-242018-07-24智慧海派科技有限公司A method of power loss is prevented based on intelligent terminal
CN105824392A (en)*2015-11-262016-08-03维沃移动通信有限公司Application program management method and terminal
CN105517132A (en)*2015-11-302016-04-20青岛海信移动通信技术股份有限公司Method and device for managing alarms
CN105867578A (en)*2015-12-072016-08-17乐视移动智能信息技术(北京)有限公司Monitoring method and apparatus of power-consuming application, and user terminal
CN105700662A (en)*2015-12-312016-06-22深圳市金立通信设备有限公司Method for processing data service and terminal
CN106293709A (en)*2016-07-292017-01-04宇龙计算机通信科技(深圳)有限公司The management method of application program, managing device and terminal
CN106502645A (en)*2016-09-232017-03-15宇龙计算机通信科技(深圳)有限公司From the method to set up, setting device and the terminal that wake up authority
CN107066327B (en)*2017-04-242021-07-23努比亚技术有限公司Timing task processing method, mobile terminal and computer readable storage medium
CN108008979B (en)*2017-11-282021-10-22深圳天珑无线科技有限公司Terminal wake-up management method, terminal and storage medium
CN110147156A (en)*2019-05-222019-08-20合肥联宝信息技术有限公司The control method and control device of a kind of electronic equipment
CN112764812B (en)*2021-01-122022-08-16青岛海信移动通信技术股份有限公司Electronic device and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102841672A (en)*2012-07-102012-12-26上海果壳电子有限公司Dormancy interception method and system
CN102968174A (en)*2012-11-062013-03-13珠海全志科技股份有限公司Deep sleep awakening method of android device
CN103002163A (en)*2012-11-152013-03-27深圳市金立通信设备有限公司Mobile terminal background program control method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TWM380697U (en)*2009-10-202010-05-11Wistron CorpSwitching unit and cover-lifting type electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102841672A (en)*2012-07-102012-12-26上海果壳电子有限公司Dormancy interception method and system
CN102968174A (en)*2012-11-062013-03-13珠海全志科技股份有限公司Deep sleep awakening method of android device
CN103002163A (en)*2012-11-152013-03-27深圳市金立通信设备有限公司Mobile terminal background program control method and mobile terminal

Also Published As

Publication numberPublication date
CN103336572A (en)2013-10-02

Similar Documents

PublicationPublication DateTitle
CN103336572B (en)Intelligent terminal and power-saving method thereof
CN104221445B (en) Method and terminal for waking up terminal system
US7360106B2 (en)Power-saving processing unit, power-saving processing method and program record medium
CN107302789B (en)Method and system for improving battery endurance of android device
CN105554316B (en)A kind of realization method and system of reserved intelligent terminal battery capacity
US20190179662A1 (en)Application start method and apparatus
EP3276928B1 (en)Terminal control method, device and terminal
RU2584549C1 (en)Method and mobile terminal for implementation of alarm in off state
US10956316B2 (en)Method and device for processing reclaimable memory pages, and storage medium
CN101951444A (en)Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN103064669B (en)The timing wake-up method and system of smart machine
CN1871869A (en)Power collapse for a wireless terminal
CN106357880A (en)Double-screen mobile terminal and system control method thereof
CN102968174A (en)Deep sleep awakening method of android device
CN105824392A (en)Application program management method and terminal
WO2011017877A1 (en)Mobile terminal and method for displaying key information thereof
CN103885565A (en)Dormancy method and dormancy system for intelligent equipment
CN107844341B (en)Process starting control method and device, storage medium and mobile terminal
CN102833830B (en)One wakes up mobile intelligent terminal method and mobile intelligent terminal up
CN107436672B (en)Application processing method and terminal
CN103345297B (en)Method for managing power supply and equipment
CN106686633A (en)Method for preventing WIFI malicious frequent awakening
CN106293709A (en)The management method of application program, managing device and terminal
CN113766611B (en) Low power consumption control optimization method, device, mobile terminal and storage medium
CN112764812B (en)Electronic device and control method thereof

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20160824

Termination date:20190626


[8]ページ先頭

©2009-2025 Movatter.jp