[go: up one dir, main page]

CN106020415B - Application control method and device under smart machine standby mode - Google Patents

Application control method and device under smart machine standby mode Download PDF

Info

Publication number
CN106020415B
CN106020415B CN201610303725.7A CN201610303725A CN106020415B CN 106020415 B CN106020415 B CN 106020415B CN 201610303725 A CN201610303725 A CN 201610303725A CN 106020415 B CN106020415 B CN 106020415B
Authority
CN
China
Prior art keywords
application
module
preset
operating status
functional module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610303725.7A
Other languages
Chinese (zh)
Other versions
CN106020415A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201610303725.7A priority Critical patent/CN106020415B/en
Publication of CN106020415A publication Critical patent/CN106020415A/en
Application granted granted Critical
Publication of CN106020415B publication Critical patent/CN106020415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

本发明涉及一种智能设备待机状态下的应用控制方法:检测智能设备是否处于待机状态;如果智能设备处于待机状态,获取处于运行状态中的应用;判断所述处于运行状态中的应用是否使用到预设的功能模块且所述应用是否为预设的需要使用对应的功能模块的应用;如果所述处于运行状态中的应用使用到预设的功能模块且所述应用不是预设的需要使用对应的功能模块的应用,则关闭所述应用。上述方法,有效减少智能设备待机状态下的耗电量,延长待机时间,节约能源。此外,本发明还涉及一种智能设备待机状态下的应用控制装置。

The invention relates to an application control method in a standby state of a smart device: detecting whether the smart device is in a standby state; if the smart device is in a standby state, acquiring the application in the running state; and judging whether the application in the running state uses The preset function module and whether the application is a preset application that needs to use the corresponding function module; if the application in the running state uses the preset function module and the application is not preset and needs to use the corresponding function module application of the function module, close the application. The above method effectively reduces the power consumption of the smart device in the standby state, prolongs the standby time, and saves energy. In addition, the present invention also relates to an application control device in a standby state of an intelligent device.

Description

Application control method and device under smart machine standby mode
Technical field
The invention belongs to the application control sides under technical field of mobile terminals more particularly to a kind of smart machine standby mode Method and device.
Background technique
With the development of mobile terminal technology and universal, the mobile terminals such as smart phone are increasingly becomed in people's life not The a part that can or lack.In order to enrich the function of mobile terminal, people usually can install various types of in the terminal Application program (Application, APP), can enrich the various functions of mobile terminal in this way.But in mobile terminal standby shape Under state, these application programs are usually still being run, and can be occupied the CPU of mobile terminal, be increased the power consumption of battery, cause to move The stand-by time of terminal is shorter and shorter.
Problem big for background application power consumption under mobile terminal in standby state at present, industry propose some intelligence Back-stage management scheme, such as alignment can be applied to wake up or enter the processing scheme of journey.The scheme for being wherein aligned wake-up is only reduced The wakeup frequency of background application, itself also results in more power consumption.The scheme for entering journey, by terminating background application Operation achieve the purpose that power saving, but be easy to appear " vacation is killed " phenomenon of background application, i.e., after termination background application, cross one section After time, which still can start automatically, continue to consume electricity in running background.
Therefore, the effect is unsatisfactory for the power save scheme under mobile terminal in standby state at present, very using still power consumption Greatly, stand-by time is shorter.
Summary of the invention
Based on this, it is necessary to for the big problem of power consumption under current mobile terminal in standby state, provide a kind of intelligence and set Application control method under standby standby mode.
In addition, there is a need the problem big for power consumption under current mobile terminal in standby state, a kind of intelligence is provided and is set Application control device under standby standby mode.
A kind of application control method under smart machine standby mode, comprising steps of
Whether detection smart machine is in standby;
If smart machine is in standby, the application in operating status is obtained;
Judge it is described it is in operating status in application whether using to preset functional module and it is described apply whether be The preset application needed using corresponding functional module;
If it is described it is in operating status in using to preset functional module and it is described application be not preset The application using corresponding functional module is needed, then closes the application.
The preset functional module includes GPS module, default sensor module and wake-up in one of the embodiments, At least one of lock.
In one of the embodiments, it is described judge it is described it is in operating status in application whether use preset function It can module and described application the step of whether being the preset application needed using corresponding functional module, comprising:
Judge it is described it is in operating status in application whether hold wake-up lock, if so,
Detect it is described it is in operating status in application hold wake up lock time whether more than the first preset time, if It is then to determine the application or not to need to hold wake-up lock.
If in one of the embodiments, it is described it is in operating status in using arrive preset function Module and described application the step of not being the preset application needed using corresponding functional module, then closing the application it Afterwards, further includes:
Obtain the duration that smart machine is in the standby state;
The duration is detected whether more than the second preset time, if so,
Detect whether the application meets the following conditions: the interfaces windows of the application are shown in foreground, described apply It is not completed using wake-up lock, described apply in transmission flow and the task of the application;
If described apply while being unsatisfactory for above-mentioned condition, the application is closed.
In one of the embodiments, after detecting the step of whether application meets above-mentioned condition, further includes:
If the application meets any one in the condition, freeze the application.
If in one of the embodiments, it is described it is in operating status in using arrive preset function Module and described application the step of not being the preset application needed using corresponding functional module, then closing the application it Afterwards, further includes:
Detect it is described it is in operating status in application whether be common application;
If it is described it is in operating status in application be common application, freeze the application.
A kind of application control device under smart machine standby mode, comprising:
Standby detection module, for detecting whether smart machine is in standby;
Using obtain module, for obtain smart machine under standby mode it is in operating status in application;
Judgment module, for judge it is described it is in operating status in application whether use preset functional module and institute State whether application is the preset application needed using corresponding functional module;
Application control module, for closing not as the preset application needed using corresponding functional module.
The preset functional module includes GPS module, default sensor module and wake-up in one of the embodiments, At least one of lock.
In one of the embodiments, the judgment module be used for judge it is described it is in operating status in application whether hold There is wake-up to lock, if so,
Detect it is described it is in operating status in application hold wake up lock time whether more than the first preset time, if It is then to determine the application or not to need to hold wake-up lock.
Described device in one of the embodiments, further include:
Stand-by time obtains module, the duration being in the standby state for obtaining smart machine;
Stand-by time detection module, for whether detecting the duration more than the second preset time;
Using detection module, for detect the application that the duration is more than the second preset time whether meet with Lower condition: the interfaces windows of the application be shown in foreground, it is described apply using wake up lock, it is described apply transmission flow with And the task of the application does not complete;
The application control module is also used to close while being unsatisfactory for the application of above-mentioned condition.
The application control module is also used to freeze to meet any one in the condition in one of the embodiments, The application.
Described device further includes common application detection module in one of the embodiments, described in fortune for detecting Whether the application in row state is common application;
The application control module is also used to freeze the common application.
Application control method and apparatus under above-mentioned smart machine standby mode, in the standby state, smart machine passes through Judgement obtains: in operating status using arrive preset functional module, and the application be not it is preset need using The application of corresponding functional module, then smart machine determines that the application using the functional module, leads to abnormal power consumption, be extremely The shorter factor of stand-by time.Therefore, for the application for using preset functional module, and the application is not preset needs Using the application of corresponding functional module, smart machine thoroughly closes the application.In this way, effectively reducing smart machine standby mode Under power consumption, extend stand-by time, it is energy saving.
Detailed description of the invention
Fig. 1 is the application control method flow schematic diagram under the smart machine standby mode of an embodiment;
Fig. 2 is the application control method flow schematic diagram under the smart machine standby mode of another embodiment;
Fig. 3 is the application control method flow schematic diagram under the smart machine standby mode of another embodiment;
Fig. 4 is the application control apparatus structure block diagram under the smart machine standby mode of an embodiment;
Fig. 5 is the application control apparatus structure block diagram under the smart machine standby mode of another embodiment;
Fig. 6 is the application control apparatus structure block diagram under the smart machine standby mode of another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, smart machine below is with intelligent end For end, in conjunction with accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that described herein specific Embodiment is only used to explain the present invention, is not intended to limit the present invention.
Fig. 1 is please referred to, for the application control method flow schematic diagram under the smart machine standby mode of an embodiment.Such as figure A kind of application control method shown in 1, under smart machine standby mode, comprising:
Whether step S110, detection smart machine are in standby.
Specifically, for the smart machine in the present embodiment by taking intelligent terminal as an example, which can be smart phone.? Before executing operation relevant to the application control method, whether detection intelligent terminal first is in standby.If it is confirmed that Intelligent terminal is in standby, then continues subsequent step.If intelligent terminal is not in standby mode, will continue It is detected, so that when entering standby mode, control is applied in time.
Step S120 obtains the application in operating status if smart machine is in standby.
Specifically, intelligent terminal can still have the application in operating status in the standby state.Some of them is answered With still executing operation on backstage;Some applications are in idle condition;Also some applications should not use and but use intelligent terminal In certain functional modules, intelligent terminal exception power consumption when will lead to standby in this way.Therefore when intelligent terminal is in standby shape When state, intelligent terminal can obtain the application in operating status, and to these application execution corresponding operation, reach saving electricity The purpose of pond electricity.
Step S130, judge in operating status application whether using to preset functional module and apply whether be The preset application needed using corresponding functional module.
Specifically, intelligent terminal in the standby state, the case where in order to save battery capacity, judge application.Intelligence is eventually After end gets the application in operating status, judging, which whether there is in these applications, uses answering for preset functional module With, and whether the application is the preset application needed using corresponding functional module.If the application in operating status Do not use preset functional module or it is in operating status in using to preset functional module and the application It is the preset application needed using corresponding functional module, then intelligent terminal allows the application to continue to run or execute and be somebody's turn to do Using corresponding operation.
Step S140, if in operating status using to preset functional module and application be not preset It needs then to close application using the application of corresponding functional module.
Specifically, if in operating status using to preset functional module and application be not preset need The application that use corresponding functional module then shows that the application uses corresponding functional module extremely, and intelligent terminal closes immediately Close the application.In the standby state, some third party softwares often frequently call one for the update of data to intelligent terminal Application in a little intelligent terminals, but these softwares are not the preset software needed using the application, so as to cause power consumption Greatly, intelligent terminal can close these softwares to amount immediately.In addition, malicious application, malicious application also can if it exists in intelligent terminal Using preset functional module is arrived, battery power consumption is not only resulted in quickly, and malicious application can also carry out malice to smart machine Operation.If intelligent terminal detects the presence of malicious application, while terminating the malicious application, also this is maliciously answered Use complete deletion.
Application control method under above-mentioned smart machine standby mode, in the standby state, smart machine is by judging Arrive: in operating status using to preset functional module, and the application is not preset needs using corresponding The application of functional module, then smart machine determines that the application using the functional module, leads to abnormal power consumption, when being standby extremely Between shorter factor.Therefore, for the application for using preset functional module, and the application is not preset needs use pair The application for the functional module answered, smart machine thoroughly close the application.In this way, effectively reducing the consumption under smart machine standby mode Electricity extends stand-by time, energy saving.
In one embodiment, preset functional module includes GPS module, default sensor module and wakes up in lock extremely Few one.
Specifically, intelligent terminal in the standby state, if using to GPS module, default sensor module and calling out It wakes up and locks, whether intelligent terminal judges using being the preset application needed using corresponding functional module, if the application is not It is the preset application needed using corresponding functional module, intelligent terminal can close the application.Wherein, sensor module is preset It can be light sensor module, gravity sensor module or distance sensor module etc..Such as navigation type application can accordingly make Use GPS module, screen intensity, which adjusts application, can accordingly use preset light sensor module, video class application and/or Game class application can accordingly use wake-up to lock.
For example, intelligent terminal has determined whether using using lasting if preset functional module is GPS module GPS module.If there is application continues using GPS module, whether it is navigation type application that intelligent terminal is judged and applied.If made It is navigation type application with the application of GPS module, then illustrating that the operation of the application not will cause abnormal power consumption.If using GPS The application of module is not navigation type application, illustrates that the application will cause abnormal power consumption, answers so that intelligent terminal can thoroughly close this With.In this way by judging the service condition of GPS module, judgement obtains whether there is abnormal power consumption, and closing leads to abnormal power consumption Application, reduce electric quantity consumption.
Under normal conditions, the navigation type in intelligent terminal applies the application accordingly to use GPS module, and navigation type, which is applied, is People, which go on a journey, provides accurate information of road surface.But the other application that user installs in an intelligent terminal, it can also call GPS mould Block, the current position data of confirmation user, and some information are provided according to the position data, these are applied in running background, Also GPS module can be constantly called, but the application is not the application that preset needs accordingly use GPS module, and Under standby mode, these applications will cause the abnormal power consumption of intelligent terminal.
In one embodiment, judge whether the application in operating status uses preset functional module and application The step of whether being the preset application needed using corresponding functional module, comprising:
Judge whether the application in operating status holds wake-up lock, if so,
It detects the application in operating status and whether holds the time for waking up lock more than the first preset time, if so, Determine application of the application not to need to hold wake-up lock.
Specifically, waking up lock (wakelock) is to prevent screen dimmed in intelligent terminal or intelligent terminal entrance is prevented to sleep The functional module of sleep mode, thus have using wake up lock when, power consumption is very big.For example, when user is watched with intelligent terminal When video, Video Applications can continue to call to wake up lock, prevent screen dimmed or close, influence to watch.In addition, in standby mode Under, lock is waken up using calling as long as having, then the meeting of intelligent terminal is waken up, screen opening.It is called using long-time and wakes up lock, Battery capacity can be significantly consumed, power consumption increases.
Further, it is provided with the first preset time in an intelligent terminal, the first preset time is using under normal circumstances Call the time threshold for waking up lock.If the time span for waking up and locking is held in the application in operating status is less than first in advance If the value of time, then without the screen that goes out.Behaviour is prevented from applying in the time span of the first preset time twice or is performed a plurality of times in this way Make, frequently opens screen, cause more electric quantity consumption.
It has been more than time threshold that the time span for waking up and locking is held in application in operating status, illustrates that the application is held Lock overlong time is waken up, will lead to intelligent terminal cannot go out screen, lead to abnormal power consumption.So intelligent terminal will close this and answer With achieving the purpose that power saving.
Referring to figure 2., show for the application control method flow under the smart machine standby mode of another embodiment of the present invention It is intended to.In step S140: if in operating status using to preset functional module and application be not preset It needs then to close after application using the application of corresponding functional module, further includes:
Step S150 obtains the duration that smart machine is in the standby state.
Specifically, intelligent terminal is according to the various durations of standby mode, confirms to the application in operating status Whether the processing scheme of subsequent step is executed.
Whether step S160 detects the duration more than the second preset time.
Specifically, the second preset time is provided in intelligent terminal, the second preset time is that intelligent terminal executes this process The time threshold using processing scheme.If the standby mode duration is less than the second preset time, intelligent terminal is to place Application in operating status only carries out the processing scheme in step S140, for being unsatisfactory for executing the processing scheme of step S140 Condition application wouldn't process.Further, in this embodiment the second preset time be 5 minutes.In other embodiments In, the second preset time is not limited to this, or other time length, such as 3 minutes.
Step S170 detects to apply whether meet the following conditions: application if the duration is more than the second preset time Interfaces windows be shown in foreground, apply using wake up lock, apply transmission flow and application task do not complete.
Specifically, it if the time duration of intelligent terminal standby mode alreadys exceed the second preset time, is being in In the application of operating status, the application without any operation is idle application, is necessary application in the application of the task of execution.It is idle Using CPU can be occupied, so as to cause unnecessary electric quantity consumption.If currently running application meets in above four conditions Any one, then the application is necessary application.If currently running apply while being unsatisfactory for above four conditions, the application For free time application.
Step S180 closes application if apply while being unsatisfactory for above-mentioned condition.
Specifically, when determining the application for free time application, intelligent terminal will close the application, to save unnecessary electricity Consumption extends stand-by time.In addition, under intelligent terminal standby mode, in the time span of the second preset time (including second The time span of preset time), the free time is applied, user may reuse the application.Therefore in the second preset time, Even if there is idle application, intelligent terminal will not close the application immediately.
It should be noted that in other embodiments, step S150~S180 can also be carried out after step S120, and It synchronous with step S130~S140 can carry out, as long as the application for leading to unnecessary electric quantity consumption can be handled, reach saving electricity The purpose of pond electricity.
In one embodiment, after detecting the step of whether application meets above-mentioned condition, further includes: if application is full Any one in sufficient above-mentioned condition, then freeze to apply.
Specifically, freeze to carry out freezing to handle by that will apply using referring to, so that application is in torpor, pause fortune Row, is not take up CPU, to save battery capacity.If using any one met in aforementioned four condition, which is Necessity application.Necessity is applied, user only do not need may to need when waking up screen using, user in stand-by time after It is continuous to use these applications.So intelligent terminal can by these application carry out freezing to handle, but these freeze application there are still In backstage, user can at any time restore the application that these freeze, and continue to run these applications, without again Starting, the operation of application can be restored by not needing additionally consumption electricity in this way, and it is convenient to facilitate.
It referring to figure 3., is the application control method flow schematic diagram under the smart machine standby mode of another embodiment.? Step S140: if in operating status using to preset functional module and application be not it is preset need using The application of corresponding functional module, then close after application, further includes:
Step S190, whether the application detected in operating status is common application.
Specifically, the application in operating status in intelligent terminal is divided into system application and common application.System application, That is the system software of intelligent terminal, for managing software and hardware resources, control program executes, and improves man-machine interface, rationalization's intelligence Terminal works process and good running environment can be provided using intelligent terminal for user, be essential most heavy in intelligent terminal The application wanted, therefore, in intelligent terminal booting, no matter whether intelligent terminal is in standby, and system application can all continue Operation.It is to meet user's different field, different problems that common application, the i.e. application software of intelligent terminal, which are in intelligent terminal, Application demand and the application provided, such as game class application, social category application, therefore, intelligent terminal can control according to demand The operating status of common application, to save battery capacity.
Step S200 freezes to apply if the application in operating status is common application.
Specifically, if intelligent terminal in the standby state, detects the common application of operation, then freeze described general Logical application, so that common application is in torpor, operation suspension is not take up CPU, to save battery capacity.And work as user When needing using these common applications, user can restore the common application that these freeze, and make these applications after reforwarding Row, without restarting, the operation of application can be restored by not needing additionally consumption electricity in this way, and it is convenient to facilitate.
In addition, if intelligent terminal, which thaws, to be applied when having the application in freezing to need to be implemented application affairs.When needing to be implemented When application affairs, user wakes up screen, restores to the application that these freeze, and continues to run these applications, prevents again Start these applications and largely consumes battery capacity.Application affairs include that broadcast, service or content provide.Specifically, it answers With event such as short message, phone, quarter-bell etc..
It referring to figure 4., is the application control apparatus structure block diagram under the smart machine standby mode of one embodiment of the invention. A kind of application control device under smart machine standby mode, comprising: standby detection module 110, using obtaining module 120, sentence Disconnected module 130 and application control module 140.
Standby detection module 110, for detecting whether smart machine is in standby.
Using obtain module 120, for obtain smart machine under standby mode it is in operating status in application.
Whether judgment module 130, the application for judging in operating status use preset functional module and answer With whether being the preset application needed using corresponding functional module.
Application control module 140, for closing not as the preset application needed using corresponding functional module.
Above-mentioned application control device, in the standby state, judgment module 130 are obtained by judgement: in operating status Using preset functional module is arrived, and the application is not the preset application needed using corresponding functional module, that Abnormal power consumption should be will lead to using the functional module, and be the factor for causing stand-by time shorter.Therefore, for not being pre- If the application needed using corresponding functional module, application control module 140 thoroughly closes the application.In this way, effectively reducing Power consumption under smart machine standby mode extends stand-by time, energy saving.
In one embodiment, preset functional module includes GPS module, default sensor module and wakes up in lock extremely Few one.
In one embodiment, judgment module is used to judge whether the application in operating status to hold wake-up lock, if It is, then
It detects the application in operating status and whether holds the time for waking up lock more than the first preset time, if so, Determine application of the application not to need to hold wake-up lock.
It referring to figure 5., is the application control apparatus structure frame under the smart machine standby mode of another embodiment of the present invention Figure.The device includes: standby detection module 110, using acquisition module 120, judgment module 130 and application control module 140.Its In, standby detection module 110 is closed using the setting and connection that obtain module 120, judgment module 130 and application control module 140 System referring to figure 3. shown in embodiment.
As shown in figure 5, the device further include: stand-by time obtains module 150, stand-by time detection module 160 and application Detection module 170.
Stand-by time obtains module 150, the duration being in the standby state for obtaining smart machine.
Stand-by time detection module 160, for whether detecting the duration more than the second preset time.
Using detection module 170, for detecting whether the application that the duration is more than the second preset time meets following item Part: the interfaces windows of application are shown in foreground, apply and locked, applied in the task for transmitting flow and application using wake-up It does not complete.
Application control module 140 is also used to close while being unsatisfactory for the application of above-mentioned condition.
In one embodiment, application control module is also used to freeze to meet the application of any one in above-mentioned condition.
Fig. 6 is please referred to, for the application control apparatus structure block diagram under the smart machine standby mode of another embodiment.The dress Set includes: standby detection module 110, using acquisition module 120, judgment module 130 and application control module 140.Wherein, standby Detection module 110 please join using the setting and connection relationship that obtain module 120, judgment module 130 and application control module 140 According to embodiment shown in Fig. 3.
The device further include: common application detection module 190, for detect it is described it is in operating status in application whether For common application.
Application control module 140 is also used to freeze common application.
In one embodiment, when needing to be implemented application affairs if there is the application in freezing, application control module is thawed Using.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (12)

1. a kind of application control method under smart machine standby mode, which is characterized in that comprising steps of
Whether detection smart machine is in standby;
If smart machine is in standby, the application in operating status is obtained;
Judge it is described it is in operating status in application whether using to preset functional module and it is described apply whether be default The application needed using corresponding functional module;
If it is described it is in operating status in using to preset functional module and it is described application be not preset needs Using the application of corresponding functional module, then the application is closed;
Obtain the duration that smart machine is in the standby state;
The duration is detected whether more than the second preset time;If so,
Detect whether the application is idle application;
If the application is idle application, the application is closed.
2. the method according to claim 1, wherein the preset functional module includes GPS module, default biography At least one of sensor module and wake-up lock.
3. the method according to claim 1, wherein it is described judge it is described it is in operating status in application whether Using to preset functional module and it is described application whether be the preset application needed using corresponding functional module the step of, Include:
Judge it is described it is in operating status in application whether hold wake-up lock, if so,
Detect it is described it is in operating status in application hold wake up lock time whether more than the first preset time, if so, Determine the application or not to need to hold wake-up lock.
4. the method according to claim 1, wherein whether the detection application is that idle application includes:
Detect whether the application meets the following conditions: the interfaces windows of the application are shown in foreground, described apply is using Wake up lock, described apply does not complete in transmission flow and the task of the application;
If described apply while being unsatisfactory for above-mentioned condition, the application is idle application.
5. according to the method described in claim 4, it is characterized in that, the step of whether application meets above-mentioned condition detected Later, further includes:
If the application meets any one in the condition, freeze the application.
If 6. the method according to claim 1, wherein it is described it is in operating status in application make Using preset functional module and the application is not the preset application needed using corresponding functional module, then described in closing Using the step of after, further includes:
Detect it is described it is in operating status in application whether be common application;
If it is described it is in operating status in application be common application, freeze the application.
7. the application control device under a kind of smart machine standby mode characterized by comprising
Standby detection module, for detecting whether smart machine is in standby;
Using obtain module, for obtain smart machine under standby mode it is in operating status in application;
Judgment module, for judge it is described it is in operating status in application whether use preset functional module and described answer With whether being the preset application needed using corresponding functional module;
Application control module, for closing not as the preset application needed using corresponding functional module;
Stand-by time obtains module, the duration being in the standby state for obtaining smart machine;
Stand-by time detection module, for whether detecting the duration more than the second preset time;
It is more than the application of the second preset time whether is to answer the free time for detecting the duration using detection module With;
The application control module is also used to close the idle application.
8. device according to claim 7, which is characterized in that the preset functional module includes GPS module, default biography At least one of sensor module and wake-up lock.
9. device according to claim 7, which is characterized in that the judgment module is described in operating status for judging In application whether hold wake-up lock, if so, detection it is described it is in operating status in application hold wake up lock time be It is no more than the first preset time, if so, determining the application to need not holding the application for waking up lock.
10. device according to claim 7, which is characterized in that when the application detection module is for detecting described continue Between the application more than the second preset time whether meet the following conditions: the interfaces windows of the application are shown in foreground, institute It states to apply and not completed using wake-up lock, described apply in transmission flow and the task of the application;
If described apply while being unsatisfactory for above-mentioned condition, the application detection module judges the application for free time application.
11. device according to claim 10, which is characterized in that the application control module is also used to freeze described in satisfaction The application of any one in condition.
12. device according to claim 7, which is characterized in that further include:
Common application detection module, for detect it is described it is in operating status in application whether be common application;
The application control module is also used to freeze the common application.
CN201610303725.7A 2016-05-09 2016-05-09 Application control method and device under smart machine standby mode Active CN106020415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610303725.7A CN106020415B (en) 2016-05-09 2016-05-09 Application control method and device under smart machine standby mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610303725.7A CN106020415B (en) 2016-05-09 2016-05-09 Application control method and device under smart machine standby mode

Publications (2)

Publication Number Publication Date
CN106020415A CN106020415A (en) 2016-10-12
CN106020415B true CN106020415B (en) 2019-01-29

Family

ID=57100134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610303725.7A Active CN106020415B (en) 2016-05-09 2016-05-09 Application control method and device under smart machine standby mode

Country Status (1)

Country Link
CN (1) CN106020415B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484076A (en) * 2016-10-18 2017-03-08 江西博瑞彤芸科技有限公司 The optimization method of user terminal operational mode
CN106572442A (en) * 2016-10-28 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Positioning method, positioning device and mobile terminal
CN110018885B (en) * 2017-12-29 2021-06-01 Oppo广东移动通信有限公司 Application program freezing method and device, storage medium and terminal
CN109144232B (en) * 2018-08-01 2020-12-01 Oppo广东移动通信有限公司 Process processing method and device, electronic equipment and computer readable storage medium
CN110908727A (en) * 2018-09-14 2020-03-24 中兴通讯股份有限公司 Application freezing method and device, storage medium and electronic device
CN109521865B (en) * 2018-10-31 2020-07-03 北京小米移动软件有限公司 Power consumption application detection method and device, storage medium and mobile terminal
CN112997132A (en) * 2018-11-08 2021-06-18 深圳市欢太科技有限公司 Application freezing method and device and electronic equipment
CN112035242B (en) * 2020-11-06 2021-03-09 南京研利科技有限公司 Method for playing push message, computing device and computer-readable storage medium
CN113747552B (en) * 2021-06-18 2024-03-19 荣耀终端有限公司 Power consumption optimization method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8635475B2 (en) * 2010-10-27 2014-01-21 Microsoft Corporation Application-specific power management
CN102014021A (en) * 2010-11-19 2011-04-13 中兴通讯股份有限公司 Method and device for controlling connection/disconnection of data link
CN103324549B (en) * 2012-03-21 2016-04-06 宇龙计算机通信科技(深圳)有限公司 The implementation method of sleep standby and communication terminal
CN104298336B (en) * 2013-07-19 2018-09-14 贝壳网际(北京)安全技术有限公司 Mobile terminal and control method and device of application program of mobile terminal
CN104038635A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and prompting method of abnormal standby thereof
CN105183137B (en) * 2015-09-09 2018-06-01 厦门美图移动科技有限公司 A kind of mobile terminal and its wake-up lock control method and control system

Also Published As

Publication number Publication date
CN106020415A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106020415B (en) Application control method and device under smart machine standby mode
CN104221445B (en) A kind of method and terminal waking up terminal system
CN107302789B (en) Method and system for improving battery endurance of android device
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
CN106055073B (en) A kind for the treatment of method and apparatus based on bright screen lock
CN103402027B (en) Mobile terminal and method for putting same into sleeping state
CN106102141B (en) A kind of processing method and processing device based on packet
CN108536269A (en) A kind of method and its system reducing terminal standby power consumption
CN105323837B (en) Method and system for intermittent networking
CN105183137A (en) Mobile terminal and wake lock control method and system thereof
CN110677899A (en) Data transmission method and device, terminal equipment and storage medium
CN105630132A (en) Power consumption control method and system as well as terminal
CN105824392A (en) Application program management method and terminal
CN104714620A (en) Method and device for adjusting wakeup frequency of intelligent terminal
CN105353864A (en) Static power consumption management method and system for electronic device
CN106897125A (en) Smart machine and its management method of service or application
US20170289075A1 (en) Method and Device for Managing Instant Communication Application Program, and Mobile Terminal thereof
CN110032266B (en) Information processing method, apparatus, computer device, and computer-readable storage medium
CN106484075B (en) Method and device for adjusting application program wake-up time
CN106686633A (en) Method for preventing WIFI malicious frequent awakening
CN104571464A (en) Electricity saving mode control method, device and terminal of a plurality of operation systems
CN106293709A (en) The management method of application program, managing device and terminal
CN107436672A (en) The processing method and terminal of a kind of application
CN115442768B (en) A method for monitoring abnormal wake-up of vehicle-mounted TBOX communication module
CN106231659A (en) A kind of safe and power saving system and method for mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250220

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Country or region after: China

Address before: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Patentee before: ONEPLUS TECHNOLOGY (SHENZHEN) Co.,Ltd.

Country or region before: China