CN103365399B - Control method and device for application object of mobile terminal - Google Patents

Control method and device for application object of mobile terminal Download PDF

Info

Publication number
CN103365399B
CN103365399B CN201310257842.0A CN201310257842A CN103365399B CN 103365399 B CN103365399 B CN 103365399B CN 201310257842 A CN201310257842 A CN 201310257842A CN 103365399 B CN103365399 B CN 103365399B
Authority
CN
China
Prior art keywords
application
state
duration
time
threshold value
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
CN201310257842.0A
Other languages
Chinese (zh)
Other versions
CN103365399A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Shell Internet Beijing Security Technology Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Kingsoft Internet Science and Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Shell Internet Beijing Security Technology Co Ltd
Zhuhai Juntian Electronic Technology Co Ltd
Beijing Kingsoft Internet Science and 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 Beijing Kingsoft Internet Security Software Co Ltd, Conew Network Technology Beijing Co Ltd, Shell Internet Beijing Security Technology Co Ltd, Zhuhai Juntian Electronic Technology Co Ltd, Beijing Kingsoft Internet Science and Technology Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201310257842.0A priority Critical patent/CN103365399B/en
Publication of CN103365399A publication Critical patent/CN103365399A/en
Application granted granted Critical
Publication of CN103365399B publication Critical patent/CN103365399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a method and a device for controlling an application object of a mobile terminal. The control method of the application object of the mobile terminal comprises the following steps: acquiring the switch state of a specified application object; when the switch state is judged to be the opening state, obtaining the duration of the application object in the opening state; when the duration time is greater than a preset duration time threshold, judging whether the working state of the application object meets a preset closing condition, and if so, closing the application object; otherwise, the time for which the application object is in the open state is obtained again. Therefore, in the scheme, after the application object is started, the application object is not waited to be manually closed by the user, but is automatically closed when the working state of the application object meets the preset closing condition after a certain time period, and the next detection process is circulated when the working state of the application object does not meet the preset closing condition, so that the normal use of the application object by the user is ensured, and the power consumption of the mobile terminal is reduced.

Description

The control method of mobile terminal application and device
Technical field
The present invention relates to field of mobile terminals, particularly to a kind of control method of mobile terminal application and device.
Background technology
With the development that science and technology is at full speed, various mobile terminals constantly enrich and facilitate popular life.Due to profit With mobile terminal processing information, there is the advantages such as convenient and swift, save resources so that mobile terminal becomes life or the work of people An indispensable part in work.
In prior art, in mobile terminal, it is provided with switchable application, to meet user with regard to application Use demand, for example:Bluetooth applications, wifi application, GPS(Global Positioning System, global positioning system)Should All open/close state can be set according to user's request with, mobile data applications etc..Wherein, when user opens a certain application Afterwards, need actively to close to avoid power consumption;But, user often can be occurred not close the phenomenon of opened application in time, This results in unnecessary power consumption.For example:For bluetooth applications, after user actively opens, if use after having used Family is not closed in time, it will because not stopping search or maintaining pairing state to bring extra power consumption.
Simultaneously as being limited by battery technology, the battery capacity of mobile terminal never has large increase so that moving The cruising time of dynamic terminal can not fully meet the long-time use demand of user.
Therefore, how not affect on the premise of user uses application, the power consumption reducing mobile terminal is one Problem demanding prompt solution.
Content of the invention
Based on the problems referred to above, embodiments provide a kind of control method of mobile terminal application and device, With do not affect user use application on the premise of, reduce mobile terminal power consumption.Technical scheme is as follows:
In a first aspect, embodiments providing a kind of control method of mobile terminal application, including:
Obtain the on off state of the application specified;
When judging that described on off state is opening, it is lasting that the described application of acquisition is in opening Time;
When duration being more than preset durations threshold value, judge whether the working condition of described application is full The default closedown condition of foot, if it is, close described application.
Wherein, methods described also includes:
When the working condition judging described application is unsatisfactory for default closedown condition, regain described application pair As being in opening duration.
In the first embodiment of the provided method of the embodiment of the present invention, the described application of described acquisition is in out Opening state duration includes:
Obtain the first present system time;
When the electric quantity change receiving system transmission notifies, obtain the second present system time;
The difference of described second present system time and described first present system time is in as described application Opening duration.
In the first embodiment of the provided method of the embodiment of the present invention, judging that described on off state is to open After state, before obtaining the first present system time, methods described also includes:
Obtain corresponding first current signal strength of described application;
And when judging that described first current signal strength is less than the first preset strength threshold value, it is current that execution obtains first The step of system time;
Accordingly, after judging that duration is more than preset durations threshold value, the described application of described judgement Before whether the working condition of object meets default closedown condition, methods described also includes:
Obtain corresponding second current signal strength of described application;
Whether the described working condition judging described application meets default closedown condition, including:
Judge whether described second current signal strength is less than the second preset strength threshold value.
Wherein, described application includes:Wifi application or mobile data applications.
Wherein, after closing described wifi application or described mobile data applications, methods described also includes:
After meeting default unlocking condition, reopen described wifi application or described mobile data applications.
In the second embodiment of the provided method of the embodiment of the present invention, the described application of described acquisition is in out Opening state duration includes:
Open default timer;Wherein, described timer sends time alarm after preset time period and notifies, and closes Close;Described preset time period is more than or equal to preset durations threshold value.
In the second embodiment of the provided method of the embodiment of the present invention, judging that described on off state is to open After state, before opening default timer, methods described also includes:
Obtain corresponding first current signal strength of described application;
And when judging that described first current signal strength is less than the first preset strength threshold value, it is default fixed that execution is opened When device step;
Accordingly, after judging that duration is more than preset durations threshold value, judge described application Working condition whether meet default closedown condition before, methods described also includes:
Obtain corresponding second current signal strength of described application;
Whether the described working condition judging described application meets default closedown condition, including:
Judge whether described second current signal strength is less than the second preset strength threshold value.
In the first embodiment or second embodiment of the method that the embodiment of the present invention is provided, described judgement Whether the working condition of described application meets default closedown condition, including:
Judge whether described application is in idle state.
Wherein, described application includes:Bluetooth applications;
Accordingly, judge whether described application is in idle state, including:
Control described bluetooth applications to carry out device scan operation, and obtain scanning result;
Judge described scanning result whether this is indicate that there is not available devices and paired device.
In embodiment of the present invention institute offer method, before obtaining the on off state of the application specified, methods described Also include:
When meeting default mode changeover condition, system is switched to default battery saving mode or normal mode;Cutting After the completion of changing, the step of the on off state of application that the described acquisition of execution is specified.
Second aspect, the embodiment of the present invention additionally provides a kind of control device of mobile terminal application, including:
On off state obtains module, for obtaining the on off state of the application specified;
First processing module, for when judging that described working condition is opening, the triggered time obtains module;
The described time obtains module, is in opening duration for obtaining described application;
Second processing module, for when duration being more than preset durations threshold value, judging described application pair Whether the working condition of elephant meets default closedown condition, if it is, triggering application control module;
Described application control module, for closing described application.
Wherein, described Second processing module is additionally operable to be unsatisfactory for default pass in the working condition judging described application When closing condition, the triggering described time obtains module.
In the first embodiment of embodiment of the present invention institute offer device, the described time obtains module and includes:
The first system time acquisition unit, for obtaining the first present system time;
Second system time acquisition unit, during for notifying when the electric quantity change receiving system transmission, obtaining second and working as Front system time;
Duration acquiring unit, for by the difference of described second present system time and described first present system time It is in opening duration as described application.
In the first embodiment of the device that the embodiment of the present invention is provided, described first processing module includes:
First signal strength signal intensity acquiring unit, for when judging that described working condition is opening, obtaining described answering With corresponding first current signal strength of object;
First signal processing unit, for judging described first current signal strength less than the first preset strength threshold value When, trigger described the first system time acquisition unit;
Accordingly, described Second processing module, including:
Secondary signal intensity acquiring unit, for when duration being more than preset durations threshold value, obtaining institute State corresponding second current signal strength of application;
Secondary signal processing unit, for judging whether described second current signal strength is less than the second preset strength threshold Value, if it is, triggering application control module;Otherwise, trigger described the first system time acquisition unit.
In the second embodiment of embodiment of the present invention institute offer device, the described time obtains module and includes:
Unit opened by timer, for opening default timer;Wherein, described timer sends after preset time period Time alarm notifies, and closes;Described preset time period is more than or equal to preset durations threshold value.
In the second embodiment of embodiment of the present invention institute offer device, described first processing module includes:
First signal strength signal intensity acquiring unit, for when judging that described working condition is opening, obtaining described answering With corresponding first current signal strength of object;
First signal processing unit, for judging described first current signal strength less than the first preset strength threshold value When, unit opened by the described timer of triggering;
Accordingly, described Second processing module, including:
Secondary signal intensity acquiring unit, for when duration being more than preset durations threshold value, obtaining institute State corresponding second current signal strength of application;
Secondary signal processing unit, for judging whether described second current signal strength is less than the second preset strength threshold Value, if it is, triggering application control module;Otherwise, unit opened by the described timer of triggering.
In the first embodiment or second embodiment of embodiment of the present invention institute offer device, at described second Reason module, including:
State processing unit, for when duration being more than preset durations threshold value, judging described application pair As if no be in idle state, if it is, triggering application control module;Otherwise, the triggering described time obtains module.
It can be seen that, in this programme, after application is unlocked, and non-camp user's manual-lock, but certain at interval After time period, the working condition of this application is automatically switched off this application when meeting default closedown condition, ensure that use with this The normal use to application for the family, reduces the power consumption of mobile terminal simultaneously.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
The first flow process of the control method of a kind of mobile terminal application that Fig. 1 is provided by the embodiment of the present invention Figure;
A kind of second flow process of the control method of mobile terminal application that Fig. 2 is provided by the embodiment of the present invention Figure;
The third flow process of the control method of a kind of mobile terminal application that Fig. 3 is provided by the embodiment of the present invention Figure;
A kind of 4th kind of flow process of the control method of mobile terminal application that Fig. 4 is provided by the embodiment of the present invention Figure;
A kind of 5th kind of flow process of the control method of mobile terminal application that Fig. 5 is provided by the embodiment of the present invention Figure;
A kind of 6th kind of flow process of the control method of mobile terminal application that Fig. 6 is provided by the embodiment of the present invention Figure;
A kind of 7th kind of flow process of the control method of mobile terminal application that Fig. 7 is provided by the embodiment of the present invention Figure;
A kind of structural representation of the control device of mobile terminal application that Fig. 8 is provided by the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
In order to do not affect user use application on the premise of, reduce mobile terminal power consumption, the present invention implement Example provides a kind of control method of mobile terminal application and device.
A kind of control method of the mobile terminal the application first below embodiment of the present invention being provided is introduced.
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook.Wherein, be provided with this mobile terminal user can manually opened and close should With object, for example:Wifi application, bluetooth applications, mobile data applications, GPS application etc., are not limited thereto certainly.
As shown in figure 1, a kind of control method of mobile terminal application, can include:
S101, obtains the on off state of the application specified;
After opening application electricity-saving function, mobile terminal can obtain the on off state of the application specified, and enters And carry out follow-up process.Wherein, obtaining the time of the on off state of application specified can be:Opening in application When off status changes, or, during application is in opening or closed mode, this is all rational.
It should be noted that can in advance to system application with regard to the corresponding authority of this application such that it is able to obtain The on off state of this application, control being turned on and off of this application;Wherein, specific authority application mode, can Think the mode writing one section of code in the software code of system, be certainly not limited thereto.
Further, for the on off state obtaining application when the on off state of application changes Speech, in actual applications, the on off state change that can be used for receiving application to the system registry of mobile terminal in advance is led to The message receipt component known, and then when the on off state of this application changes, for example:Manually operated by user Become from closed mode and turn to opening, or, become from opening and turn to closed mode, the system in this mobile terminal can be to The corresponding message receipt component of this application sends the on off state change notification of this application;And work as mobile terminal and receive To this application on off state change notification when, it is possible to obtain the on off state of this application.
It is understood that message can be realized by way of writing one section of program code in the software code to system The registration of receiving unit;And, in actual applications, the message receipt component of the required registration of different applications is different, example As:For bluetooth applications, need the on off state change being used for receiving bluetooth applications to the system registry of mobile terminal logical The bluetooth messages receiving unit known, and for wifi application, need to be used for receiving wifi to the system registry of mobile terminal The wifi message receipt component of the on off state change notification of application.
S102, judges that this on off state is opening;
S103, obtains this application and is in opening duration;
Wherein, when judging that obtained on off state is closed mode, this application does not consume electricity, this When, do not process;And when judging that obtained on off state is opening, because application realizes corresponding work( Can may need certain time, therefore, in order to ensure the normal use to application for the user, this application of acquisition can be executed right As being in the operation of opening duration.
S104, when duration being more than preset durations threshold value, judges that the working condition of this application is No satisfaction presets closedown condition, if it is, execution step S105;Otherwise, execution step S103;
S105, closes this application.
After this application of acquisition is in opening duration, pre- when judging that duration is more than If it can be determined that whether the working condition of this application meets default closedown condition during duration threshold, and then according to not The different operations of same judged result execution.Wherein, when the working condition judging this application meets default closedown condition When, show this application be in idle state or cannot normal operating condition, at this point it is possible to close this application to reduce The consumption of electricity;And when the working condition judging this application is unsatisfactory for default closedown condition, can be regained this Application is in opening duration, to continue to detect next time.Wherein, it is not more than in advance when duration If during duration threshold, this application of acquisition can be executed and be in the part in the operation of opening duration Operation, to continue this detection.It is understood that different application scenarios, preset durations threshold value can be different.
It should be noted that because different application objects can be different with pent situation, therefore, different application Corresponding default closedown condition is different.For example:For bluetooth applications, when being in idle state, you can sweep limits Inside do not exist available devices and paired device when, in order to reduce the consumption of electricity, this bluetooth applications can be closed, therefore, should The corresponding default closedown condition of bluetooth applications can be:This bluetooth applications is in idle state;For GPS application, work as place When idle state, when that is, in certain period of time, the positioning result of GPS does not change, in order to reduce the consumption of electricity, permissible Close this GPS application, therefore, the corresponding default closedown condition of this GPS application can be:This GPS application is in idle state;And For wifi application, when signal is weaker, that is, when cannot be carried out normal wireless data connection, in order to reduce disappearing of electricity Consumption, can close this wifi application, and therefore, the corresponding default closedown condition of this wifi application can be:Signal strength signal intensity is less than letter Number threshold value;For mobile data applications, when signal is weaker, that is, when cannot be carried out normal wireless data connection, in order to Reduce the consumption of electricity, this mobile data applications can be closed, therefore, the corresponding default closedown condition of this mobile data applications can Think:Signal strength signal intensity is less than signal threshold value.
In this programme, after application is unlocked, and non-camp user's manual-lock, but in separated in time section The working condition of this application is automatically switched off this application when meeting default closedown condition afterwards, and is being unsatisfactory for default pass Close circulation detection process next time during condition, the normal use to application for the user be ensure that with this, reduce movement simultaneously The power consumption of terminal.
It should be noted that due to being provided with multiple switchable applications in mobile terminal, for example:Screen locking application, Bluetooth applications, wifi application, mobile data applications etc., in order to reduce the power consumption of mobile terminal further, can preset With regard to the battery saving mode of multiple applications combination, and after selecting battery saving mode, initial time is set so that preset time period Afterwards, automatically it is switched to battery saving mode from normal mode.Wherein, so-called pattern is the combination of multiple applications, for example:Can be Screen intensity is 30%, 1 minute screen locking time, and bluetooth is to open, and wifi opens, and mobile data is closed.It is understood that After normal mode automatically switches to battery saving mode it is also possible to when satisfaction one pattern is pre-conditioned, by system from battery saving mode Switch to normal mode.
Further, due to when meeting default mode changeover condition, system can be switched to default power saving mould Formula or normal mode, therefore, if the on off state of application changes it is also possible to triggering system sends respective application pair The action of the on off state change notification of elephant, at this point it is possible to the step that execution obtains the on off state of application specified.
A kind of controlling party of the mobile terminal application embodiment of the present invention being provided with reference to specific embodiment Method is introduced.
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook.Wherein, be provided with this mobile terminal user can manually opened and close should With object, for example:Wifi application, bluetooth applications, mobile data applications, GPS application etc., are not limited thereto certainly.
As shown in Fig. 2 a kind of control method of mobile terminal application, can include:
S201, obtains the on off state of the application specified;
In the present embodiment, step S201 is similar to step S101 in above-described embodiment, and therefore not to repeat here.
S202, judges whether this on off state is opening, if it is, execution step S203;Otherwise, do not process;
It can be determined that whether this on off state is opening after the on off state obtaining this application, and according to The different operation of different judged result execution.Wherein, when this on off state is opening, because application realizes phase Answer function may need certain time, therefore, in order to ensure the normal use to application for the user, can be with execution step S203;And when this on off state is closed mode, this application does not consume electricity, now, does not process.
S203, obtains the first present system time;
S204, when the electric quantity change receiving system transmission notifies, obtains the second present system time;
S205, the difference of this second present system time and this first present system time is in out as this application Open state duration;
Wherein, in order to ensure the normal use to application for the user, can this application expire after a certain period of time During the default closedown condition of foot, close this application.
To achieve these goals, in this enforcement, when judging that this application is in opening, can be obtained One present system time;And the electric quantity consumption problem brought in order to avoid the time of real-time monitoring system, can work as and receive When the electric quantity change that this system sends notifies, obtain the second present system time, and then by this second present system time and be somebody's turn to do The difference of the first present system time is in opening duration as this application in this detection.
It will be appreciated by persons skilled in the art that often consuming a certain proportion of battery electric quantity, such as:Often consume 1% electricity Pond electricity, system then can send an electric quantity change and notify;And notify to get this electric quantity change, can be in advance to system Register the message receipt component for receiving electric quantity change notice.
It should be noted that this application of above-mentioned acquisition be in the mode of opening duration as just A kind of example, should not constitute the restriction to the embodiment of the present invention.
S206, judges whether duration is more than preset durations threshold value, if it is, execution step S207;No Then, execution step S204;
It can be determined that whether this duration is more than preset durations threshold value after obtaining duration, And different operating is executed according to different judged results.Wherein, when judge this duration be more than preset durations During threshold value, with execution step S207, and then can judge whether this application can be closed;And work as and judge that this is lasting When time is not more than preset durations threshold value, step S204 can be continued executing with, to continue this detection.
It is understood that preset durations threshold value can be set according to practical application scene, such as:This is preset Duration threshold can be 10 minutes, 15 minutes, 30 minutes etc..
S207, judges whether the working condition of this application meets default closedown condition, if it is, execution step S208;Otherwise, execution step S203;
When judging that this duration is more than preset durations threshold value, this application can be determined whether Working condition whether meet default closedown condition, and according to the different operations of different judged result execution.Wherein, work as judgement When going out the working condition of this application and meeting default closedown condition, show that this application is in idle or cannot normally use State, at this point it is possible to the follow-up S208 of execution, to close this application;And work as the working condition judging this application When being unsatisfactory for default closedown condition, can be with execution step S203, to continue detection next time.
It should be noted that because different application objects can be different with pent situation, therefore, different application Corresponding default closedown condition is different.For example:For bluetooth applications, when being in idle state, you can sweep limits Inside do not exist available devices and paired device when, in order to reduce the consumption of electricity, this bluetooth applications can be closed, therefore, should The corresponding default closedown condition of bluetooth applications can be:This bluetooth applications is in idle state;For GPS application, work as place When idle state, when that is, in certain period of time, the positioning result of GPS does not change, in order to reduce the consumption of electricity, can To close this GPS application, therefore, the corresponding default closedown condition of this GPS application can be:This GPS application is in idle state; And for wifi application, when signal is weaker, that is, when cannot be carried out normal wireless data connection, in order to reduce electricity Consume, this wifi application can be closed, therefore, the corresponding default closedown condition of this wifi application can be:Signal strength signal intensity is less than Signal threshold value;For mobile data applications, when signal is weaker, that is, when cannot be carried out normal wireless data connection, it is Reduce the consumption of electricity, this mobile data applications can be closed, therefore, this mobile data applications corresponding default closedown condition Can be:Signal strength signal intensity is less than signal threshold value.
S208, closes this application.
When the working condition judging this application meets default closedown condition, show that this application is in idle Or cannot normal operating condition, this application can be closed, to reduce disappearing of electricity by calling corresponding system interface Consumption.
In this programme, after application is unlocked, and non-camp user's manual-lock, but by certain trigger bar Obtain the mode of system time under part, be separated with certain period of time between detecting whether, and this application is right after separated in time section The working condition of elephant is automatically switched off this application when meeting default closedown condition, and follows when being unsatisfactory for default closedown condition Ring detection process next time, ensure that the normal use to application for the user with this, reduces the power consumption of mobile terminal simultaneously Amount.
Below so that application is as bluetooth applications as a example, the said method that the embodiment of the present invention is provided is introduced. Certainly, this application is not limited to bluetooth applications, can also apply for GPS etc..
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook, wherein, being provided with user in this mobile terminal can the manually opened indigo plant with closing Tooth is applied.
As shown in figure 3, a kind of control method of mobile terminal application, can include:
S301, obtains the on off state of bluetooth applications;
After opening bluetooth applications electricity-saving function, mobile terminal can obtain the on off state of bluetooth applications, and then carries out Follow-up process.For the time of on off state obtaining bluetooth applications can be:Become in the on off state of bluetooth applications During change, or, during bluetooth applications are in opening or closed mode, this is all rational.
It should be noted that can in advance to system application with regard to the corresponding authority of this bluetooth applications such that it is able to obtain The on off state of this bluetooth applications, this bluetooth applications is controlled to carry out device scan operation, control this bluetooth applications to be turned on and off Deng;Wherein, specific authority application mode, can be the mode writing one section of code in the software code of system, certainly simultaneously It is not limited to this.
Further, for the on off state obtaining bluetooth applications when the on off state of bluetooth applications changes Speech, in actual applications, the on off state change that can be used for receiving bluetooth applications to the system registry of mobile terminal in advance is led to The message receipt component known, and then when the on off state of this bluetooth applications changes, for example:Manually operated by user Become from closed mode and turn to opening, or, become from opening and turn to closed mode, the system in this mobile terminal can be to The corresponding message receipt component of this bluetooth applications sends the on off state change notification of this bluetooth applications;And work as mobile terminal and receive To this bluetooth applications on off state change notification when, it is possible to obtain the on off state of this bluetooth applications.It is understood that can The registration of message receipt component is realized in the way of writing one section of program code in by the software code to system.
S302, judges whether this on off state is opening, if it is, execution step S303;Otherwise, do not process;
It can be determined that whether this on off state is opening after the on off state obtaining this bluetooth applications, and according to The different operation of different judged result execution.Wherein, when this on off state is opening, because bluetooth applications are realized setting Standby scanner uni pairing needs certain time, therefore, in order to ensure the normal use to bluetooth applications for the user, can be with execution step S303;And when this on off state is closed mode, this bluetooth applications does not consume electricity, now, does not process.
S303, obtains the first present system time;
S304, when the electric quantity change receiving system transmission notifies, obtains the second present system time;
S305, the difference of this second present system time and this first present system time is in out as this bluetooth applications Open state duration;
Wherein, in order to ensure the normal use to bluetooth applications for the user, can this bluetooth applications expire after a certain period of time During the default closedown condition of foot, close this bluetooth applications.
To achieve these goals, in this enforcement, when judging that this bluetooth applications is in opening, can be obtained One present system time;And the electric quantity consumption problem brought in order to avoid the time of real-time monitoring system, can be received this When the electric quantity change that system sends notifies, obtain the second present system time, so by this second present system time with this The difference of one present system time is in opening duration as this bluetooth applications in this detection.
It will be appreciated by persons skilled in the art that often consuming a certain proportion of battery electric quantity, such as:Often consume 1% electricity Pond electricity, system then can send an electric quantity change and notify;And notify to get this electric quantity change, can be in advance to system Register the message receipt component for receiving electric quantity change notice.
S306, judges whether duration is more than preset durations threshold value, if it is, execution step S307;No Then, execution step S304;
It can be determined that whether this duration is more than preset durations threshold value after obtaining duration, And different operating is executed according to different judged results.Wherein, when judge this duration be more than preset durations During threshold value, with execution step S307, and then can judge whether this bluetooth applications can be closed;And work as and judge that this is lasting When time is not more than preset durations threshold value, step S304 can be continued executing with, to continue this detection.
It is understood that preset durations threshold value can be set according to practical application scene, such as:This is preset Duration threshold can be 10 minutes, 15 minutes, 30 minutes etc..
S307, controls this bluetooth applications to enter device scan operation, and obtains scanning result;
S308, judges this scanning result whether this is indicate that there is not available devices and paired device, if it is, execution step S309;Otherwise, execution step S303;
After judging that this duration is more than preset durations threshold value, this bluetooth applications can be controlled to enter equipment Scan operation, obtains scanning result, and determines whether this scanning result and set whether this is indicate that there are not available devices and matching Standby, and then according to the different operation of different judged result execution.
Wherein, show not exist available devices and paired device when judging this scanning result, show this bluetooth applications It is in idle state, at this point it is possible to the follow-up S309 of execution, to close this bluetooth applications;And work as and judge that this scanning result is deposited In available devices or paired device, can be with execution step S303, to continue detection next time.
S309, closes this bluetooth applications.
When judging that this bluetooth applications is in idle state, this indigo plant can be closed by calling corresponding system interface Tooth is applied, to reduce the consumption of electricity.
In this programme, after bluetooth applications are unlocked, and non-camp user's manual-lock, but by certain trigger bar Obtain the mode of system time under part, between detecting whether, be separated with certain period of time, and this bluetooth should after separated in time section With being automatically switched off this bluetooth applications when meeting default closedown condition, and once examine in circulation when being unsatisfactory for default closedown condition Survey process, ensure that the normal use to bluetooth applications for the user with this, reduces the power consumption of mobile terminal simultaneously.
Below so that application is for wifi application as a example, the said method that the embodiment of the present invention is provided is introduced. Certainly, this application is not limited to wifi application, can also be mobile data applications etc..
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook, wherein, being provided with user in this mobile terminal can be manually opened and closing Wifi applies.
As shown in figure 4, a kind of control method of mobile terminal application, can include:
S401, obtains the on off state of wifi application;
After opening wifi application electricity-saving function, mobile terminal can obtain the on off state of wifi application, and then carries out Follow-up process.For the time obtaining the on off state that wifi applies can be:Become in the on off state of wifi application During change, or, during wifi application is in opening or closed mode, this is all rational.
It should be noted that the corresponding authority that can apply to system application with regard to this wifi in advance is such that it is able to obtain This wifi application on off state, control this wifi application be turned on and off;Wherein, specific authority application mode, can Think the mode writing one section of code in the software code of system, be certainly not limited thereto.
Further, when the on off state applied in wifi being changed obtain wifi application on off state and Speech, in actual applications, the on off state change that can be used for receiving wifi application to the system registry of mobile terminal in advance is led to The message receipt component known, and then when the on off state of this wifi application changes, for example:Manually operated by user Become from closed mode and turn to opening, or, become from opening and turn to closed mode, the system in this mobile terminal can be to This wifi applies corresponding message receipt component to send the on off state change notification of this wifi application;And work as mobile terminal and receive To this wifi application on off state change notification when, it is possible to obtain this wifi application on off state.It is understood that can The registration of message receipt component is realized in the way of writing one section of program code in by the software code to system.
S402, judges whether this on off state is opening, if it is, execution step S403;Otherwise, do not process;
It can be determined that whether this on off state is opening after the on off state obtaining this wifi application, and according to The different operation of different judged result execution.Wherein, when this on off state be opening when, can with execution step S403 with Subsequently judged the whether closable process of wifi;And when this on off state is closed mode, this wifi applies and does not disappear Power consumption, now, does not process.
S403, obtains this wifi and applies corresponding first current signal strength;
S404, judges whether this first current signal strength is less than the first preset strength threshold value, if it is, execution step S405;Otherwise, execution step S403;
When signal due to applying in wifi is weaker, power consumption is higher and cannot be carried out normal data cube computation, therefore, Can continue to close the process of wifi application.Therefore, when determining that this wifi application is in opening, it is possible to obtain should Wifi applies corresponding first current signal strength, and then judges whether this first current signal strength is less than the first preset strength Threshold value, and according to the different operation of different judged result execution.Wherein, it is less than the when judging this first current signal strength One preset strength threshold value, shows that signal is weaker, now can be with execution step S405;Otherwise, execution continues step S403.
S405, obtains the first present system time;
S406, when the electric quantity change receiving system transmission notifies, obtains the second present system time;
S407, the difference of this second present system time and this first present system time is in out as this wifi application Open state duration;
Because at the wifi application unlatching initial stage, the signal potentially unstable being sensed, therefore, in order to ensure user to wifi The normal use of application, can close this wifi application when this wifi application meets default closedown condition after a certain period of time.
To achieve these goals, in this enforcement, judging that this wifi corresponding first current signal strength of application is little In the first preset strength threshold value, the first present system time can be obtained;And in order to avoid the time of real-time monitoring system is carried The electric quantity consumption problem come, when can receive the electric quantity change notice that this system sends, obtains the second present system time, enters And the difference of this second present system time and this first present system time is in out as this wifi application in this detection Open state duration.
It will be appreciated by persons skilled in the art that often consuming a certain proportion of battery electric quantity, such as:Often consume 1% electricity Pond electricity, system then can send an electric quantity change and notify;And notify to get this electric quantity change, can be in advance to system Register the message receipt component for receiving electric quantity change notice.
S408, judges whether duration is more than preset durations threshold value, if it is, execution step S409;No Then, execution step S406;
It can be determined that whether this duration is more than preset durations threshold value after obtaining duration, And different operating is executed according to different judged results.Wherein, when judge this duration be more than preset durations During threshold value, can judge that this wifi application whether can be by with execution step S409, and then after obtaining the second current signal strength Close;And when judging that this duration is not more than preset durations threshold value, step S406 can be continued executing with, with Continue this detection.
It is understood that preset durations threshold value can be set according to practical application scene, such as:This is preset Duration threshold can be 10 minutes, 15 minutes, 30 minutes etc..
S409, obtains this wifi and applies corresponding second current signal strength;
S410, judges whether this second current signal strength is less than the second preset strength threshold value, if it is, execution step S411;Otherwise, execution step S405;
When judging that this duration is more than preset durations threshold value, this wifi corresponding second can be obtained Current signal strength, determines whether whether this second current signal strength is less than the second preset strength threshold value, and according to difference The judged result different operations of execution.Wherein, when judge this second current signal strength be less than the second preset strength threshold value, Show that signal is weaker, follow-up step S411 can be executed, to close this wifi application;And work as and judge this second current demand signal Intensity is not less than the second preset strength threshold value, can be with execution step S405, to continue detection next time.
It should be noted that the first preset strength threshold value and the second preset strength threshold value can be entered according to practical application scene Row sets, and both can be identical or different, and this is all rational.
S411, closes this wifi application.
When judging that this second current signal strength is less than the second preset strength threshold value, show that signal is weaker, Ke Yitong Cross and call corresponding system interface, close this wifi application, to reduce the consumption of electricity.
It should be noted that after closing described wifi application, when meeting default unlocking condition, this application can be opened Wifi applies.In actual applications, default unlocking condition can be separated in time, wherein, the detection side of this certain time Formula can be not limited thereto certainly by mode described in the present embodiment.
In this programme, after wifi application is unlocked, and non-camp user's manual-lock, but by certain trigger bar Obtain the mode of system time under part, between detecting whether, be separated with certain period of time, and this wifi should after separated in time section With being automatically switched off this wifi application when meeting default closedown condition, and once examine in circulation when being unsatisfactory for default closedown condition Survey process, ensure that, with this, the normal use that user applies to wifi, reduces the power consumption of mobile terminal simultaneously.
The control of another kind of mobile terminal application embodiment of the present invention being provided with reference to specific embodiment Method is introduced.
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook.Wherein, be provided with this mobile terminal user can manually opened and close should With object, for example:Wifi application, bluetooth applications, mobile data applications, GPS application etc., are not limited thereto certainly.
As shown in figure 5, a kind of control method of mobile terminal application, can include:
S501, obtains the on off state of the application specified;
In the present embodiment, step S501 is similar to step S101 in above-described embodiment, and therefore not to repeat here.
S502, judges whether this on off state is opening, if it is, execution step S503;Otherwise, do not process;
It can be determined that whether this on off state is opening after the on off state obtaining this application, and according to The different operation of different judged result execution.Wherein, when this on off state is opening, because application realizes phase Answer function may need certain time, therefore, in order to ensure the normal use to application for the user, can be with execution step S503;And when this on off state is closed mode, this application does not consume electricity, now, does not process.
S503, opens default timer;
Wherein, in order to ensure the normal use to application for the user, can this application expire after a certain period of time During the default closedown condition of foot, close this application.
To achieve these goals, in this enforcement, when judging that this application is in opening, can open pre- If timer, wherein, this timer sends time alarm after preset time period and notifies, and closes, to play countdown work( Energy.Wherein, this preset time period is more than or equal to this preset durations threshold value;And, different application scenarios, preset and continue Time threshold can be different.
It should be noted that this application of above-mentioned acquisition be in the mode of opening duration as just A kind of example, should not constitute the restriction to the embodiment of the present invention.
S504, receives the time alarm notice that this timer sends;
It is understood that because this preset time period is more than or equal to this preset durations threshold value, therefore, working as reception After notifying to the time alarm that timer sends, show that duration is more than preset durations threshold value.
S505, judges whether the working condition of this application meets default closedown condition, if it is, execution step S506;Otherwise, execution step S503;
After preset time period, this timer can send corresponding time alarm and notify;And send out receiving this timer It can be determined that whether this application meets closedown condition after the time alarm notice going out, and held according to different judged results Row different operating.Wherein, when the working condition judging this application meets closedown condition, show that this application is in Idle or cannot use state, now can execute follow-up S506;And when the working condition judging this application is discontented with During the default closedown condition of foot, can be with execution step S503, to continue detection next time.
It should be noted that because different application objects can be different with pent situation, therefore, different application Corresponding default closedown condition is different.For example:For bluetooth applications, when being in idle state, you can sweep limits Inside do not exist available devices and paired device when, in order to reduce the consumption of electricity, this bluetooth applications can be closed, therefore, should The corresponding default closedown condition of bluetooth applications can be:This bluetooth applications is in idle state;For GPS application, work as place When idle state, when that is, in certain period of time, the positioning result of GPS does not change, in order to reduce the consumption of electricity, can To close this GPS application, therefore, the corresponding default closedown condition of this GPS application can be:This GPS application is in idle state; And for wifi application, when signal is weaker, that is, when cannot be carried out normal wireless data connection, in order to reduce electricity Consume, this wifi application can be closed, therefore, the corresponding default closedown condition of this wifi application can be:Signal strength signal intensity is less than Signal threshold value;For mobile data applications, when signal is weaker, that is, when cannot be carried out normal wireless data connection, it is Reduce the consumption of electricity, this mobile data applications can be closed, therefore, this mobile data applications corresponding default closedown condition Can be:Signal strength signal intensity is less than signal threshold value.
S506, closes this application.
When the working condition judging this application meets default closedown condition, show that this application is in idle Or cannot normal operating condition, this application can be closed, to reduce disappearing of electricity by calling corresponding system interface Consumption.
In this programme, after application is unlocked, and non-camp user's manual-lock, but pass through timer countdown Mode, is separated with certain period of time, and the working condition of this application meets in advance after separated in time section between detecting whether If being automatically switched off this application during closedown condition, and once detection process in the circulation when being unsatisfactory for default closedown condition, The normal use to application for the user be ensure that with this, reduce the power consumption of mobile terminal simultaneously.
Below so that application is as bluetooth applications as a example, the said method that the embodiment of the present invention is provided is introduced. Certainly, this application is not limited to bluetooth applications, can also apply for GPS etc..
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook, wherein, being provided with user in this mobile terminal can the manually opened indigo plant with closing Tooth is applied.
As shown in fig. 6, a kind of control method of mobile terminal application, can include:
S601, obtains the on off state of bluetooth applications;
After opening bluetooth applications electricity-saving function, mobile terminal can obtain the on off state of bluetooth applications, and then carries out Follow-up process.For the time of on off state obtaining bluetooth applications can be:Become in the on off state of bluetooth applications During change, or, during bluetooth applications are in opening or closed mode, this is all rational.
It should be noted that can in advance to system application with regard to the corresponding authority of this bluetooth applications such that it is able to obtain The on off state of this bluetooth applications, this bluetooth applications is controlled to carry out device scan operation, control this bluetooth applications to be turned on and off Deng;Wherein, specific authority application mode, can be the mode writing one section of code in the software code of system, certainly simultaneously It is not limited to this.
Further, for the on off state obtaining bluetooth applications when the on off state of bluetooth applications changes Speech, in actual applications, the on off state change that can be used for receiving bluetooth applications to the system registry of mobile terminal in advance is led to The message receipt component known, and then when the on off state of this bluetooth applications changes, for example:Manually operated by user Become from closed mode and turn to opening, or, become from opening and turn to closed mode, the system in this mobile terminal can be to The corresponding message receipt component of this bluetooth applications sends the on off state change notification of this bluetooth applications;And work as mobile terminal and receive To this bluetooth applications on off state change notification when, it is possible to obtain the on off state of this bluetooth applications.It is understood that can The registration of message receipt component is realized in the way of writing one section of program code in by the software code to system.
S602, judges whether this on off state is opening, if it is, execution step S603;Otherwise, do not process;
It can be determined that whether this on off state is opening after the on off state obtaining this bluetooth applications, and according to The different operation of different judged result execution.Wherein, when this on off state is opening, because bluetooth applications are realized sweeping Retouching and matching needs certain time, therefore, in order to ensure the normal use to bluetooth applications for the user, can be with execution step S603; And when this on off state is closed mode, this bluetooth applications does not consume electricity, now, does not process.
S603, opens default timer;
Wherein, in order to ensure the normal use to bluetooth applications for the user, can this bluetooth applications expire after a certain period of time During the default closedown condition of foot, close this bluetooth applications.
To achieve these goals, in this enforcement, when judging that this bluetooth applications is in opening, can open pre- If timer, wherein, this timer sends time alarm after preset time period and notifies, and closes, to play countdown Function.Wherein, this preset time period is more than or equal to this preset durations threshold value;And, different application scenarios, preset and hold Continuous time threshold can be different.
S604, receives the time alarm notice that this timer sends;
It is understood that because this preset time period is more than or equal to this preset durations threshold value, therefore, working as reception After notifying to the time alarm that timer sends, show that duration is more than preset durations threshold value.
S605, controls this bluetooth applications to enter device scan operation, and obtains scanning result;
S606, judges this scanning result whether this is indicate that there is not available devices and paired device, if it is, execution step S607;Otherwise, execution step S603;
After preset time period, this timer can send corresponding time alarm and notify;And send out receiving this timer After the time alarm going out notifies, this bluetooth applications can be controlled to enter device scan operation, obtain scanning result, and determine whether Whether this is indicate that there is not available devices and paired device in this scanning result, and then executed different according to different judged results Operation.Wherein, show not exist available devices and paired device when judging this scanning result, show that this bluetooth applications is in Idle state, at this point it is possible to the follow-up S607 of execution, to close this bluetooth applications;And work as and judge that the presence of this scanning result can With equipment or paired device when, can be with execution step S603, to continue detection next time.
S607, closes this bluetooth applications.
When judging that this bluetooth applications is in idle state, this indigo plant can be closed by calling corresponding system interface Tooth is applied, to reduce the consumption of electricity.
In this programme, after bluetooth applications are unlocked, and the manual-lock of non-camp user, but fall to count by timer When mode, be separated with certain period of time between detecting whether, and this bluetooth applications meet and default closes bar after separated in time section It is automatically switched off this bluetooth applications during part, and once detection process in the circulation when being unsatisfactory for default closedown condition, ensured with this The normal use to bluetooth applications for the user, reduces the power consumption of mobile terminal simultaneously.
Below so that application is for wifi application as a example, the said method that the embodiment of the present invention is provided is introduced. Certainly, this application is not limited to wifi application, can also be mobile data applications etc..
It should be noted that the control method of mobile terminal application that the embodiment of the present invention is provided is applied to intelligence In the mobile terminals such as mobile phone, PAD, notebook, wherein, being provided with user in this mobile terminal can be manually opened and closing Wifi applies.
As shown in fig. 7, a kind of control method of mobile terminal application, can include:
S701, obtains the on off state of wifi application;
After opening wifi application electricity-saving function, mobile terminal can obtain the on off state of wifi application, and then carries out Follow-up process.For the time obtaining the on off state that wifi applies can be:Become in the on off state of wifi application During change, or, during wifi application is in opening or closed mode, this is all rational.
It should be noted that the corresponding authority that can apply to system application with regard to this wifi in advance is such that it is able to obtain This wifi application on off state, control this wifi application be turned on and off;Wherein, specific authority application mode, can Think the mode writing one section of code in the software code of system, be certainly not limited thereto.
Further, when the on off state applied in wifi being changed obtain wifi application on off state and Speech, in actual applications, the on off state change that can be used for receiving wifi application to the system registry of mobile terminal in advance is led to The message receipt component known, and then when the on off state of this wifi application changes, for example:Manually operated by user Become from closed mode and turn to opening, or, become from opening and turn to closed mode, the system in this mobile terminal can be to This wifi applies corresponding message receipt component to send the on off state change notification of this wifi application;And work as mobile terminal and receive To this wifi application on off state change notification when, it is possible to obtain this wifi application on off state.It is understood that can The registration of message receipt component is realized in the way of writing one section of program code in by the software code to system.
S702, judges whether this on off state is opening, if it is, execution step S703;Otherwise, do not process;
It can be determined that whether this on off state is opening after the on off state obtaining this wifi application, and according to The different operation of different judged result execution.Wherein, when this on off state be opening when, can with execution step S703 with Continue to judge the whether closable process of wifi;And when this on off state is closed mode, this wifi applies and does not consume electricity Amount, now, does not process.
S703, obtains this wifi and applies corresponding first current signal strength;
S704, judges that this wifi applies whether corresponding first current signal strength is less than the first preset strength threshold value, such as It is really, execution step S705;Otherwise, execution step S703;
When signal due to applying in wifi is weaker, power consumption is higher and cannot be carried out normal data cube computation, therefore, Can continue to close the process of wifi application.Therefore, when determining that this wifi application is in opening, it is possible to obtain should Wifi applies corresponding first current signal strength, and then judges whether this first current signal strength is less than the first preset strength Threshold value, and according to the different operation of different judged result execution.Wherein, it is less than the when judging this first current signal strength One preset strength threshold value, shows that signal is weaker, now can be with execution step S705;Otherwise, execution continues step S703.
S705, opens default timer;
Because at the wifi application unlatching initial stage, the signal potentially unstable being sensed, therefore, in order to ensure user to wifi The normal use of application, can close this wifi application when this wifi application meets default closedown condition after a certain period of time.
To achieve these goals, in this enforcement, when judging that this wifi application is in opening, can open pre- If timer, wherein, this timer sends time alarm after preset time period and notifies, and closes, to play countdown Function.Wherein, this preset time period is more than or equal to this preset durations threshold value;And, different application scenarios, preset and hold Continuous time threshold can be different.
S706, receives the time alarm notice that this timer sends;
It is understood that because this preset time period is more than or equal to this preset durations threshold value, therefore, working as reception After notifying to the time alarm that timer sends, show that duration is more than preset durations threshold value.
S707, obtains this wifi and applies corresponding second current signal strength;
S708, judges whether this second current signal strength is less than the second preset strength threshold value, if it is, execution step S709;Otherwise, execution step S705;
After preset time period, this timer can send corresponding time alarm and notify;And send out receiving this timer After the time alarm that goes out notifies, this wifi can be obtained and apply corresponding second current signal strength, and judge that this is second current Whether signal strength signal intensity is less than the second preset strength threshold value, thus the different step of the different judged result execution of root.Wherein, when Judge that this second current signal strength is less than the second preset strength threshold value, show that signal is weaker, follow-up step can be executed S709, to close this wifi application;And when judging this second current signal strength not less than the second preset strength threshold value, permissible Execution step S705, to continue detection next time.
It should be noted that the first preset strength threshold value and the second preset strength threshold value can be entered according to practical application scene Row sets, and both can be identical or different, and this is all rational.
S709, closes this wifi application.
When judging that this second current signal strength is less than the second preset strength threshold value, show that signal is weaker, Ke Yitong Cross and call corresponding system interface, close this wifi application, to reduce the consumption of electricity.
It should be noted that after closing described wifi application, when meeting default unlocking condition, this application can be opened Wifi applies.In actual applications, default unlocking condition can be separated in time, wherein, the detection side of this certain time Formula can be not limited thereto certainly by mode described in the present embodiment.
In this programme, after wifi application is unlocked, and non-camp user's manual-lock, but pass through timer countdown Mode, is separated with certain period of time between detecting whether, and this wifi application meets default closedown condition after separated in time section When be automatically switched off this wifi application, and once detection process in the circulation when being unsatisfactory for default closedown condition, be ensure that with this The normal use that user applies to wifi, reduces the power consumption of mobile terminal simultaneously.
Based on said method embodiment, the embodiment of the present invention additionally provides a kind of control dress of mobile terminal application Put, as shown in figure 8, can include:
On off state obtains module 810, for obtaining the on off state of the application specified;
First processing module 820, for when judging that described working condition is opening, the triggered time obtains module 830;
The described time obtains module 830, is in opening duration for obtaining described application;
Second processing module 840, for when duration being more than preset durations threshold value, judging described application Whether the working condition of object meets default closedown condition, if it is, triggering application control module 850;
Described application control module 850, for closing described application.
In this programme, after application is unlocked, and non-camp user's manual-lock, but in separated in time section This application is automatically switched off this application when meeting default closedown condition afterwards, ensure that user to application just with this Often use, reduce the power consumption of mobile terminal simultaneously.
Further, described Second processing module 840 is additionally operable in the working condition judging described application not When meeting default closedown condition, the triggering described time obtains module 830.
In the first device embodiment provided by the present invention, the described time obtains module 830 and can include:
The first system time acquisition unit, for obtaining the first present system time;
Second system time acquisition unit, during for notifying when the electric quantity change receiving system transmission, obtaining second and working as Front system time;
Duration acquiring unit, for by the difference of described second present system time and described first present system time It is in opening duration as described application.
Further, for based on the first device embodiment, described first processing module 820 can include:
First signal strength signal intensity acquiring unit, for when judging that described working condition is opening, obtaining described answering With corresponding first current signal strength of object;
First signal processing unit, for judging described first current signal strength less than the first preset strength threshold value When, trigger described the first system time acquisition unit;
Accordingly, described Second processing module 840, can include:
Secondary signal intensity acquiring unit, for when duration being more than preset durations threshold value, obtaining institute State corresponding second current signal strength of application;
Secondary signal processing unit, for judging whether described second current signal strength is less than the second preset strength threshold Value, if it is, triggering application control module 850;Otherwise, trigger described the first system time acquisition unit.
In second device embodiment provided by the present invention, the described time obtains module 830 and can include:
Unit opened by timer, for opening default timer;Wherein, described timer sends after preset time period Time alarm notifies, and closes;Described preset time period is more than or equal to preset durations threshold value.
Further, for based on second device embodiment, described first processing module 820, can include:
First signal strength signal intensity acquiring unit, for when judging that described working condition is opening, obtaining described answering With corresponding first current signal strength of object;
First signal processing unit, for judging described first current signal strength less than the first preset strength threshold value When, unit opened by the described timer of triggering;
Accordingly, described second processing mould 840, can include:
Secondary signal intensity acquiring unit, for when duration being more than preset durations threshold value, obtaining institute State corresponding second current signal strength of application;
Secondary signal processing unit, for judging whether described second current signal strength is less than the second preset strength threshold Value, if it is, triggering application control module;Otherwise, unit opened by the described timer of triggering.
Further, for based on the first device embodiment or second device embodiment, described second processing mould Block 840, can include:
State processing unit, for when duration being more than preset durations threshold value, judging described application pair As if no be in idle state, if it is, triggering application control module 850;Otherwise, the triggering described time obtains module 830.
For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related Part illustrates referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating In any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to Comprising of nonexcludability, wants so that including a series of process of key elements, method, article or equipment and not only including those Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element that limited by sentence "including a ..." it is not excluded that Also there is other identical element including in the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that realizing all or part of step in said method embodiment is can Completed with the hardware instructing correlation by program, described program can be stored in computer read/write memory medium, The storage medium obtaining designated herein, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All Any modification, equivalent substitution and improvement made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention Interior.

Claims (9)

1. a kind of control method of mobile terminal application is it is characterised in that include:
Obtain the on off state of the application specified, wherein, the time obtaining the on off state of application specified is:? When the on off state of application changes, or, during application is in opening or closed mode;
When judge described on off state be opening when, obtain described application be in opening lasting when Between;
Wherein, the described application of described acquisition is in opening duration and includes:
Obtain corresponding first current signal strength of described application;
And when judging that described first current signal strength is less than the first preset strength threshold value, when obtaining the first current system Between;
When the electric quantity change receiving system transmission notifies, obtain the second present system time;
The difference of described second present system time and described first present system time is in unlatching as described application State duration;
When duration being more than preset durations threshold value, judge whether the working condition of described application meets pre- If closedown condition, if it is, closing described application;
After judging that duration is more than preset durations threshold value, the described work shape judging described application Before whether state meets default closedown condition, methods described also includes:
Obtain corresponding second current signal strength of described application;
Whether the described working condition judging described application meets default closedown condition, including:
Judge whether described second current signal strength is less than the second preset strength threshold value.
2. method according to claim 1 is it is characterised in that also include:
When the working condition judging described application is unsatisfactory for default closedown condition, regain at described application In opening duration.
3. method according to claim 1 is it is characterised in that described application includes:Wifi application or mobile data Application.
4. method according to claim 3 is it is characterised in that answer in closing described wifi application or described mobile data With rear, methods described also includes:
After meeting default unlocking condition, reopen described wifi application or described mobile data applications.
5. a kind of control method of mobile terminal application is it is characterised in that include:
Obtain the on off state of the application specified, wherein, described application is bluetooth applications, obtains the application specified right The time of the on off state of elephant is:When the on off state of application changes, or, it is in unlatching shape in application During state or closed mode;
When judge described on off state be opening when, obtain described bluetooth applications be in opening lasting when Between;
Wherein, the described application of described acquisition is in opening duration and includes:
Obtain the first present system time;
When the electric quantity change receiving system transmission notifies, obtain the second present system time;
The difference of described second present system time and described first present system time is in unlatching as described application State duration;
When duration being more than preset durations threshold value, described bluetooth applications are controlled to carry out device scan operation, and Obtain scanning result;
Judge described scanning result whether this is indicate that there is not available devices and paired device, if it is, close described bluetooth should With.
6. method according to claim 5 is it is characterised in that before obtaining the on off state of application specified, Methods described also includes:
When meeting default mode changeover condition, system is switched to default battery saving mode or normal mode;Switching Cheng Hou, the step executing the on off state of application that described acquisition is specified.
7. a kind of control device of mobile terminal application is it is characterised in that include:
On off state obtains module, for obtaining the on off state of the application specified, wherein, obtains the application specified Time of on off state be:When the on off state of application changes, or, it is in opening in application Or during closed mode;
First processing module, for when judging that described on off state is opening, the triggered time obtains module;
The described time obtains module, is in opening duration for obtaining described application;
Second processing module, for when duration being more than preset durations threshold value, judging described application Whether working condition meets default closedown condition, if it is, triggering application control module;
Described application control module, for closing described application;
Wherein, the described time obtains module and includes:
The first system time acquisition unit, for obtaining the first present system time;
Second system time acquisition unit, during for notifying when the electric quantity change receiving system transmission, obtaining second is currently The system time;
Duration acquiring unit, for using the difference of described second present system time and described first present system time as Described application is in opening duration;
Described first processing module includes:
First signal strength signal intensity acquiring unit, for when judging that described working condition is opening, obtaining described application pair As corresponding first current signal strength;
First signal processing unit, for judge described first current signal strength be less than the first preset strength threshold value when, Trigger described the first system time acquisition unit;
Accordingly, described Second processing module, including:
Secondary signal intensity acquiring unit, for when duration being more than preset durations threshold value, obtaining described answering With corresponding second current signal strength of object;
Secondary signal processing unit, for judging whether described second current signal strength is less than the second preset strength threshold value, such as Fruit is to trigger application control module;Otherwise, trigger described the first system time acquisition unit.
8. device according to claim 7 is it is characterised in that described Second processing module is additionally operable to judging described answering When being unsatisfactory for default closedown condition with the working condition of object, the triggering described time obtains module.
9. the device according to claim 7 or 8 is it is characterised in that described Second processing module, including:
State processing unit, for when duration being more than preset durations threshold value, judging that described application is No be in idle state, if it is, triggering application control module;Otherwise, the triggering described time obtains module.
CN201310257842.0A 2013-06-26 2013-06-26 Control method and device for application object of mobile terminal Active CN103365399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310257842.0A CN103365399B (en) 2013-06-26 2013-06-26 Control method and device for application object of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310257842.0A CN103365399B (en) 2013-06-26 2013-06-26 Control method and device for application object of mobile terminal

Publications (2)

Publication Number Publication Date
CN103365399A CN103365399A (en) 2013-10-23
CN103365399B true CN103365399B (en) 2017-02-08

Family

ID=49366930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310257842.0A Active CN103365399B (en) 2013-06-26 2013-06-26 Control method and device for application object of mobile terminal

Country Status (1)

Country Link
CN (1) CN103365399B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699207A (en) * 2013-12-27 2014-04-02 贝壳网际(北京)安全技术有限公司 Electronic equipment control method and device
CN103796333A (en) * 2014-01-21 2014-05-14 深圳市金立通信设备有限公司 Data communication method, terminal and system
CN103927249A (en) * 2014-04-14 2014-07-16 可牛网络技术(北京)有限公司 Power consumption providing method and device of mobile terminal
CN104021068B (en) * 2014-06-13 2017-10-13 珠海市君天电子科技有限公司 Terminal device method for testing performance and device
CN105892613A (en) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 Method and apparatus for clearing background applications
CN105549720A (en) * 2015-12-16 2016-05-04 深圳智能表芯科技有限公司 Power energy-saving control method and system for intelligent wearable device
CN105653006A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN105653007A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN108668292A (en) * 2016-01-06 2018-10-16 广东欧珀移动通信有限公司 A kind of determination method and device of mobile terminal power consumption
CN105700663A (en) * 2016-01-13 2016-06-22 广东小天才科技有限公司 Background program cleaning method and system for mobile terminal
CN105873196A (en) * 2016-03-23 2016-08-17 努比亚技术有限公司 Mobile terminal and method for reducing power consumption of mobile terminal
CN106102143B (en) * 2016-05-31 2020-01-14 Oppo广东移动通信有限公司 Application processing method and device
CN106162848A (en) * 2016-06-27 2016-11-23 广东欧珀移动通信有限公司 Reduce the method and device of equipment power dissipation
CN106131326A (en) * 2016-06-30 2016-11-16 上海摩软通讯技术有限公司 The method of a kind of power consumption prompting and terminal
CN106252752B (en) * 2016-08-01 2018-09-07 广东乐源数字技术有限公司 A kind of Intelligent bracelet manufacture battery protecting method
CN106546999A (en) * 2016-10-20 2017-03-29 宇龙计算机通信科技(深圳)有限公司 The control method of GPS module, control device and terminal
CN106572442A (en) * 2016-10-28 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Positioning method, positioning device and mobile terminal
CN106548555A (en) * 2016-12-28 2017-03-29 北京拜克洛克科技有限公司 A kind of method for unlocking and user terminal of intelligent bicycle lock
CN108170484A (en) * 2016-12-05 2018-06-15 中兴通讯股份有限公司 A kind of control method and device
CN107396398B (en) * 2017-06-02 2021-03-02 台州市吉吉知识产权运营有限公司 Data transmission control method and network supply equipment
CN107318153B (en) * 2017-06-21 2021-04-20 深圳传音通讯有限公司 Bluetooth module management method and device
CN107329559B (en) * 2017-06-30 2021-04-16 宇龙计算机通信科技(深圳)有限公司 Application program control method, device, terminal and storage medium
CN107367743B (en) * 2017-07-18 2020-06-16 成都佳锂科技有限公司 Power consumption control method of electronic positioning equipment
WO2019071522A1 (en) * 2017-10-12 2019-04-18 深圳传音通讯有限公司 Smart terminal-based wireless network control method and wireless network control device
CN107995677B (en) * 2017-11-29 2020-02-07 Oppo广东移动通信有限公司 Mobile terminal, power consumption reduction method thereof and computer readable storage medium
CN110602359B (en) * 2019-09-02 2022-01-18 Oppo广东移动通信有限公司 Image processing method, image processor, photographing device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932044A (en) * 2009-06-26 2010-12-29 华为技术有限公司 Method for acquiring system information of different systems, equipment and communication system thereof
CN102622177A (en) * 2012-03-07 2012-08-01 上海华勤通讯技术有限公司 Mobile terminal and display screen region display method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026344B (en) * 2009-09-21 2014-04-02 联想(北京)有限公司 Method for dynamic power management and mobile terminal
CN102104934A (en) * 2009-12-18 2011-06-22 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and energy saving method thereof
CN102594412A (en) * 2011-12-30 2012-07-18 深圳市车音网科技有限公司 Bluetooth terminal and control method thereof
US8433934B1 (en) * 2012-06-28 2013-04-30 Google Inc. Saving battery on wireless connections on mobile devices using internal motion detection
CN102946630B (en) * 2012-11-06 2015-12-16 东莞宇龙通信科技有限公司 The method for managing power supply of mobile terminal and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101932044A (en) * 2009-06-26 2010-12-29 华为技术有限公司 Method for acquiring system information of different systems, equipment and communication system thereof
CN102622177A (en) * 2012-03-07 2012-08-01 上海华勤通讯技术有限公司 Mobile terminal and display screen region display method thereof

Also Published As

Publication number Publication date
CN103365399A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN103365399B (en) Control method and device for application object of mobile terminal
CN101668350B (en) Mobile-terminal state-switching method and mobile terminal
CN105049923B (en) Wake up the method and device of electronic equipment
CN101577764A (en) Terminal power-saving method and device
CN101794188A (en) Screen locking/ unlocking control method, system and mobile terminal
CN103399768A (en) Method for managing terminal application resources and terminal
CN101893994A (en) Intelligent screen lock method and terminal
CN109164905A (en) Mobile terminal and its power-saving control method
CN105137831B (en) Energy-saving mode open method and device
CN103533166A (en) Mode switching method and device of mobile terminal
CN106055077A (en) Wake-up lock-based processing method and device
CN105700663A (en) Background program cleaning method and system for mobile terminal
CN104834497A (en) On screen display control method and controller
CN107608853A (en) Control method, device, storage medium and the intelligent terminal of terminal usage time
CN105955441B (en) Application management method and device
CN105261191B (en) Operation control method and device
CN102438077B (en) Method and device for switching working state of mobile phone
EP4255054A1 (en) Cell handover method and apparatus
CN103024135A (en) Mobile terminal unlocking device and unlocking method thereof
CN105405189A (en) Door lock and control method thereof
CN102833830B (en) One wakes up mobile intelligent terminal method and mobile intelligent terminal up
CN103870290B (en) A kind of switching method and equipment
CN102711227B (en) The control method of terminal and data communication mode
CN101924830A (en) A kind of closedown method of portable terminal, system and portable terminal
CN106648030A (en) Energy-saving control 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
C14 Grant of patent or utility model
GR01 Patent grant