CN108279764A - A kind of application control method, device and mobile terminal - Google Patents

A kind of application control method, device and mobile terminal Download PDF

Info

Publication number
CN108279764A
CN108279764A CN201710005133.1A CN201710005133A CN108279764A CN 108279764 A CN108279764 A CN 108279764A CN 201710005133 A CN201710005133 A CN 201710005133A CN 108279764 A CN108279764 A CN 108279764A
Authority
CN
China
Prior art keywords
mobile terminal
application program
power consumption
stand
period
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.)
Pending
Application number
CN201710005133.1A
Other languages
Chinese (zh)
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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201710005133.1A priority Critical patent/CN108279764A/en
Publication of CN108279764A publication Critical patent/CN108279764A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the present application provides a kind of control method, device and mobile terminal, this method:The currently running application program of mobile terminal is analyzed, determines corresponding power consumption data;According to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration;According to the history charging behavior of mobile terminal, determination is charged the corresponding stand-by period next time apart from the mobile terminal;It is compared according to the duration and the stand-by period, and the operation of application program in the mobile terminal is limited based on comparative result.The application implementation can limit in the operation of application program in remaining capacity is insufficient to mobile terminal, to extend the standby time of mobile terminal, solve the problems, such as to run more application program in mobile terminal and cause power consumption big.

Description

A kind of application control method, device and mobile terminal
Technical field
This application involves fields of communication technology, more particularly to a kind of application control method, a kind of application program control Device processed and a kind of mobile terminal.
Background technology
With the development of mobile communication technology, the mobile terminals such as mobile phone, tablet computer, personal digital assistant are increasingly It is universal, it brings great convenience to people’s lives, study, work.
These mobile devices are all configured with battery substantially, to supply the electric energy needed for mobile device use.User is using When mobile terminal, often shut down because of out of power.Specifically, mobile terminal power consumption is fast, many times with mobile terminal The application program (Application, APP) of middle installation is related.
Invention content
The technical problem to be solved in the embodiments of the present application is that a kind of application control method is provided, it is mobile whole to extend Stand-by time is held, solves the problems, such as to run more application program in existing mobile terminal and cause power consumption big.
Correspondingly, the embodiment of the present application also provides a kind of application program controlling device and a kind of mobile terminals, to protect Demonstrate,prove the realization and application of the above method.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of application control method, including:To mobile whole It holds currently running application program to be analyzed, determines corresponding power consumption data;According to the power consumption data, mobile terminal is predicted The current remaining capacity corresponding duration;According to the history charging behavior of mobile terminal, determine apart from the mobile terminal It charges next time the corresponding stand-by period;It is compared according to the duration and the stand-by period, and is based on comparing knot Fruit limits the operation of application program in the mobile terminal.
Optionally, the currently running application program of mobile terminal is analyzed, determines corresponding power consumption data, including: The operation action of currently running each application program is analyzed, determines the operation power consumption data of each application program;Statistics is each The operation power consumption data of application program, determines the power consumption data.
Optionally, the operation action of each application program currently running to the mobile terminal is analyzed, and is determined The operation power consumption data of each application program, including:The corresponding resource cost parameter of operation action of each application program is obtained respectively; The corresponding resource cost parameter of each application program is calculated, the operation power consumption data of each application program is obtained.
Optionally, according to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration, packet It includes:Obtain the current remaining capacity of the mobile terminal;It is calculated, is predicted using the remaining capacity and the power consumption data Go out the duration.
Optionally, the history charging behavior according to mobile terminal, determination are charged next time apart from the mobile terminal The corresponding stand-by period, including:Based on history charging behavior, when determining the charging that the mobile terminal charges next time Between;Current time and the time interval between the charging time are calculated, and, using the time interval as when the waiting Between.
Optionally, the history charging behavior according to mobile terminal, determination are charged next time apart from the mobile terminal The corresponding stand-by period, including:Obtain the current geographical location of the mobile terminal;History charging behavior is divided Analysis is determined from the geographical location to the specific charge position corresponding stand-by period, wherein the specific charge position is described The position that mobile terminal charges next time.
Optionally, described to be compared according to the duration and the stand-by period, and based on comparative result to institute The operation for stating application program is limited, including:The duration and the stand-by period are compared, determined corresponding Comparison result;When the comparison result is the duration to be less than the stand-by period, closing meets default application and closes The application-specific of rule, wherein the application-specific includes the mobile terminal currently in the application of running background Program;When the duration being not less than the stand-by period, calculate between the duration and the stand-by period Time difference;And when the time difference being less than preset limit threshold value, limit the application program of the running of mobile terminal.
Optionally, the method further includes:After closing the application-specific, it is surplus to redefine the mobile terminal The corresponding total power consumption data of application program of remaining operation, and the duration and the stand-by period are updated, and, Update the comparison result.
Correspondingly, the embodiment of the present application also discloses a kind of application program controlling device, including:Power consumption data determines mould Block determines corresponding power consumption data for analyzing the currently running application program of mobile terminal;Duration Prediction mould Block, for according to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration;Stand-by period determines Module is determined and is charged next time corresponding waiting apart from the mobile terminal for charging behavior according to the history of mobile terminal Time;Application operation limits module, for being compared according to the duration and the stand-by period, and is based on comparing knot Fruit limits the operation of application program in the mobile terminal.
Optionally, power consumption data determining module, including:Submodule is analyzed, for currently running each application program Operation action is analyzed, and determines the operation power consumption data of each application program;Statistic submodule, for counting each application program Power consumption data is run, determines the power consumption data.
Optionally, analysis submodule specifically can be used for obtaining the corresponding resource consumption of operation action of each application program respectively Take parameter;And the corresponding resource cost parameter of each application program is calculated, obtain the operation power consumption number of each application program According to.
Optionally, Duration Prediction module, including:Remaining capacity acquisition submodule, for obtaining the mobile terminal Current remaining capacity;Duration Prediction submodule, for being calculated using the remaining capacity and the power consumption data, Predict the duration.
Optionally, stand-by period determining module, including:Charging time determination sub-module, for being charged based on the history Behavior determines the charging time that the mobile terminal charges next time;Time interval computational submodule, for calculating current time With the time interval between the charging time, and, using the time interval as the stand-by period.
Optionally, stand-by period determining module, including:Geographical location acquisition submodule, for obtaining the mobile terminal Current geographical location;Stand-by period determination sub-module is determined from described for analyzing history charging behavior Manage position to specific charge position corresponding stand-by period, wherein the specific charge position for the mobile terminal next time The position of charging.
Optionally, application operation limits module, including:Time comparison sub-module, for duration and described Stand-by period is compared, and determines corresponding comparison result;It is described hold for working as the comparison result using submodule is closed When the continuous time is less than the stand-by period, closes and meet the default application-specific using shut-off rule, wherein is described specific Application program includes the mobile terminal currently in the application program of running background;Using limitation submodule, for being held when described When the continuous time is not less than the stand-by period, the time difference between the duration and the stand-by period is calculated;And When the time difference is less than preset limit threshold value, the application program of the running of mobile terminal is limited.
Optionally, described device further includes:Update module closes the specific application journey for closing submodule in application After sequence, triggering power consumption data determining module redefines the corresponding power consumption number of application program of the mobile terminal residue operation According to, and trigger Duration Prediction module and be updated and triggered stand-by period determining module the duration to described etc. Wait for that the time is updated, and, triggering application operation limitation module updates the comparison result.
The embodiment of the present application also discloses a kind of mobile terminal, includes memory and one or more than one Program, either more than one program is stored in memory and is configured to by one or more than one processing for one of them It includes the instruction for being operated below that device, which executes the one or more programs,:It is currently running to mobile terminal Application program is analyzed, and determines corresponding power consumption data;According to the power consumption data, the current residue electricity of prediction mobile terminal Measure the corresponding duration;History according to mobile terminal charges behavior, determines and charges next time apart from the mobile terminal pair The stand-by period answered;It is compared according to the duration and the stand-by period, and based on comparative result to the movement The operation of application program is limited in terminal.
Optionally, described that the currently running application program of mobile terminal is analyzed, it determines corresponding power consumption data, wraps It includes:The operation action of currently running each application program is analyzed, determines the operation power consumption data of each application program;Statistics The operation power consumption data of each application program, determines the power consumption data.
Optionally, the operation action of each application program currently running to the mobile terminal is analyzed, and is determined The operation power consumption data of each application program, including:The corresponding resource cost parameter of operation action of each application program is obtained respectively; The corresponding resource cost parameter of each application program is calculated, the operation power consumption data of each application program is obtained.
Optionally, according to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration, packet It includes:Obtain the current remaining capacity of the mobile terminal;It is calculated, is predicted using the remaining capacity and the power consumption data Go out the duration.
Optionally, the history charging behavior according to mobile terminal, determination are charged next time apart from the mobile terminal The corresponding stand-by period, including:Based on history charging behavior, when determining the charging that the mobile terminal charges next time Between;Current time and the time interval between the charging time are calculated, and, using the time interval as when the waiting Between.
Optionally, the history charging behavior according to mobile terminal, determination are charged next time apart from the mobile terminal The corresponding stand-by period, including:Obtain the current geographical location of the mobile terminal;History charging behavior is divided Analysis is determined from the geographical location to the specific charge position corresponding stand-by period, wherein the specific charge position is described The position that mobile terminal charges next time.
Optionally, described to be compared according to the duration and the stand-by period, and based on comparative result to institute The operation for stating application program is limited, including:The duration and the stand-by period are compared, determined corresponding Comparison result;When the comparison result is the duration to be less than the stand-by period, closing meets default application and closes The application-specific of rule, wherein the application-specific includes the mobile terminal currently in the application of running background Program;When the duration being not less than the stand-by period, calculate between the duration and the stand-by period Time difference;And when the time difference being less than preset limit threshold value, limit the application program of the running of mobile terminal.
Optionally, described that the one or more programs are executed comprising also by one or more than one processor Instruction for being operated below:After closing the application-specific, the mobile terminal residue operation is redefined The corresponding total power consumption data of application program, and the duration and the stand-by period are updated, and, update institute State comparison result.
The embodiment of the present application includes the following advantages:
The embodiment of the present application can determine mobile terminal by analyzing the currently running application program of mobile terminal Current corresponding power consumption data, that is, determine total power consumption condition of the currently running application program of mobile terminal, and then can be with base In the power consumption data, the current remaining capacity of the mobile terminal corresponding duration is predicted;And mobile terminal can be based on History charge behavior, determine that current distance mobile terminal charges the corresponding stand-by period next time, and then can be by comparing Duration and stand-by period, it is determined whether need the operation to application program in mobile terminal to limit, that is, determine to move Whether the current remaining capacity of dynamic terminal is sufficient, and can be applied in remaining capacity is insufficient to mobile terminal The operation of program is limited, and to extend the standby time of mobile terminal, solves operation more application program in mobile terminal And the problem for causing power consumption big improves so as to the number of automatic shutdown that reduces mobile terminal due to not enough power supply User experience.
Description of the drawings
Fig. 1 is a kind of step flow chart of application control method embodiment of the application;
Fig. 2 is a kind of step flow chart of application control method alternative embodiment of the application;
Fig. 3 is a kind of structure diagram of application program controlling device embodiment of the application;
Fig. 4 is a kind of structural frames of mobile terminal for application program controlling shown according to an exemplary embodiment Figure.
Specific embodiment mode
In order to make the above objects, features, and advantages of the present application more apparent, below in conjunction with the accompanying drawings and it is specific real Applying a mode, the present application will be further described in detail.
One of the core concepts of the embodiments of the present application is that the power consumption feelings based on the currently running application program of mobile terminal Condition can predict the current remaining capacity of the mobile terminal corresponding duration;And the history charging based on mobile terminal Behavior determines that current distance mobile terminal charges the corresponding stand-by period next time, so can by comparing the duration and Stand-by period, it is determined whether need the operation to application program in mobile terminal to limit, to extend the standby of mobile terminal Time solves the problems, such as to run more application program in existing mobile terminal and cause power consumption big, can reduce shifting Dynamic terminal number of automatic shutdown due to not enough power supply.
Referring to Fig.1, a kind of step flow chart of application control method embodiment of the application is shown, it specifically can be with Include the following steps:
Step 102, the currently running application program of mobile terminal is analyzed, determines corresponding power consumption data.
The embodiment of the present application can be analyzed by the operation action to application program, determine application program in movement Power consumption condition in terminal end.Specifically, the operation of analysis each currently running application program of mobile terminal can be passed through The operation power consumption data of each application program is determined in behavior, which can be used for characterizing application program and exist Power consumption degree in the mobile terminal;It in turn, can be by counting currently running all application programs in the mobile terminal Power consumption data is run, determines corresponding power consumption data.Wherein, power consumption data can be used for characterizing in current mobile terminal and own Run total power consumption condition of application program.
Step 104, according to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration.
In the concrete realization, can be based on the current remaining electricity of mobile terminal, prediction mobile terminal is under current state It is capable of the time of continuous service.Specifically, the residue electricity of power consumption data and mobile terminal currently may be used in the embodiment of the present application Amount is estimated, the current remaining capacity corresponding duration is predicted.Wherein, remaining capacity can be used for characterizing mobile whole Hold remaining electricity;Duration can be used for characterizing the time that mobile terminal is capable of continuous service.
Step 106, it charges behavior according to the history of mobile terminal, determines and charge next time correspondence apart from the mobile terminal Stand-by period.
In the embodiment of the present application, the stand-by period can be used for characterizing mobile terminal from currently to required for charging next time etc. The time waited for, the time such as current point in time apart from charging time point, alternatively, from current geographical location to charging next time The geographical location required time.The history charging behavior of mobile terminal can be used for characterizing user and be filled to the mobile terminal The behavior of electricity specifically can be used for the behavioural habits for reflecting that user charges to mobile terminal, can such as determine user to movement Terminal charge is in which time section and/or in which geographical location etc..
When mobile terminal is charged, the charging behavior that can be directed to mobile terminal is recorded, when such as record charges Between point, charging duration, charge position etc.;And the behavioral parameters that can be charged by the history to record are analyzed, and are determined The time that the current distance mobile terminal waits for charge next time required for, you can charged with the history based on record mobile terminal Behavior determines that the current distance mobile terminal charges the corresponding stand-by period next time.Specifically, the embodiment of the present application can With the historical behavior to charge to mobile terminal based on user, user's filling on specific date (such as working day, festivals or holidays) is determined Electric Behavior law such as determines the time section in specific charge position;And/or determine time, the place etc. charged every time.Example Such as, on Monday to Friday, user would generally in the morning 9 points to can charge the phone after company, and at night 6 points come off duty from It launches company away and strolls, and 9-10 points can get home and charge the phone at night;It, can be with if current time is at 7 points in afternoon Monday Corresponding stand-by period of determining to charge next time apart from the mobile terminal is 2 hours.
Step 108, it is compared according to the duration and the stand-by period, and based on comparative result to the shifting The operation of application program is limited in dynamic terminal.
The embodiment of the present application can determine the current remaining capacity of mobile terminal by comparing duration and stand-by period Whether can support to and charge next time, that is, determine whether mobile terminal is sufficient.Specifically, when the duration being less than waiting Between, you can it is not enough to support to the mobile terminal with the remaining capacity for determining current and charge next time, need to movement end The operation of application program is limited in end, to extend the standby time of the mobile terminal, can such as be transported on backstage with positive closing Some or all of row application program avoids mobile terminal from being forced due to not enough power supply automatically so as to the amount of saving energy The situation of shutdown.It is not less than the stand-by period when the duration, you can be enough to support to the movement with the current remaining capacity of determination Terminal charges next time, can not limit the operation of application program in the mobile terminal, can not such as close and currently exist The application program application program of running background, so that the application program in mobile terminal keeps current state;It can also continue Time is equal to the stand-by period, alternatively, when the time difference between duration and stand-by period is less than preset limit threshold value, it can be right The operation of part application program is limited in the mobile terminal, such as the operation of the limitation bigger application program of power consumption, and/ Or, application program currently bigger in the power consumption of running background is closed, and/or, it closes currently in the browsing of running background The application program etc. that frequency is low and/or the long period is not browsed.
To sum up, the embodiment of the present application can determine and move by analyzing the currently running application program of mobile terminal The current corresponding power consumption data of dynamic terminal, that is, determine total power consumption condition of the currently running application program of mobile terminal, in turn The current remaining capacity of the mobile terminal corresponding duration can be predicted based on total power consumption data;And it can be based on The history of mobile terminal charges behavior, determines that current distance mobile terminal charges the corresponding stand-by period next time, and then can be with By comparing duration and stand-by period, it is determined whether need the operation to application program in mobile terminal to limit, i.e., Determine whether the current remaining capacity of mobile terminal is sufficient, and can be insufficient to mobile whole in remaining capacity The operation of application program is limited in end, to extend the standby time of mobile terminal, solve run in mobile terminal it is more Application program and the problem for causing power consumption big, so as to time of automatic shutdown due to not enough power supply that reduce mobile terminal Number improves user experience.
With reference to Fig. 2, a kind of step flow chart of application control method alternative embodiment of the application is shown, specifically It may include steps of:
Step 202, the operation action of currently running each application program is analyzed, determines the operation of each application program Power consumption data.
In the concrete realization, it can be determined by analyzing the operation action of each application program in the terminal The each power consumption degree of application program in the terminal, that is, determine the operation power consumption data of each application program.For example, can To analyze the operation actions of each APP on mobile terminals by terminal HELPER APPLICATION, so as to get each APP Power consumption degree on mobile phone determines the operation power consumption data of each APP.
In the alternative embodiment of the application, the operation row of each application program currently running to the mobile terminal To be analyzed, determines the operation power consumption data of each application program, can specifically include:The operation of each application program is obtained respectively The corresponding resource cost parameter of behavior;The corresponding resource cost parameter of each application program is calculated, each application program is obtained Operation power consumption data.
Specifically, the power consumption degree of application program in the terminal can be with memory, CPU etc. on mobile terminal The occupancy situation of resource is related.In general, the resource that application program expends mobile terminal is more, power consumption is more.To every When the operation action of a application program is analyzed, it can be obtained by relevant interface in mobile terminal system and each apply journey The corresponding resource cost parameter of operation action of sequence.Wherein, resource cost parameter can be used for characterizing mobile terminal occupancy movement Terminal system resource occupancy situation can specifically include but be not limited only to:Memory source occupancy and/or central processing unit (Central Processing Unit, CPU) resources occupation rate etc..
Optionally, the embodiment of the present application can be based on App operation actions, obtain power consumption degree of each APP on mobile phone, Such as CPU holding times, memory consumption etc.;And power consumption degree can be quantified, such as 1,2,3 are such as quantified as, equivalent Change value, wherein quantized value is bigger can to indicate application program more power consumption.As the specific example of the application, can pass through Relevant interface obtains the resource situations such as the occupied CPU of each APP, memory in mobile terminal system, and, Ke Yiyi Resource situation, which is occupied, according to APP quantifies power consumption degree.If for example, APP1 expend in use CPU be 50%, another APP2 It is 20% to occupy CPU in use, then can determine that the power consumption degree that the power consumption degree of APP1 is 0.5, APP2 is 0.2; Alternatively, the power consumption degree of APP1 can also be expressed as to 5, and by the power consumption degree 2 of APP2, the embodiment of the present application does not make this Limitation.
It should be noted that the resource cost parameter in the embodiment of the present application can also include other parameters, such as in movement When terminal is configured with independent display card, which can also include that video card occupies parameter, which occupies parameter can be with For characterizing the case where APP occupies independent display card, the embodiment of the present application specifically includes which parameter is not made to resource cost parameter Concrete restriction.
Step 204, the operation power consumption data for counting each application program, determines the power consumption data.
It, can be by right in determining mobile terminal after the operation power consumption data of each currently running application program The operation power consumption data of currently running whole application program is counted, and determines that mobile terminal currently runs these and applies journey The corresponding power consumption data of sequence.Include APP1 and APP2 in the currently running application program of mobile terminal for example, in conjunction with above-mentioned example When, it can be summed by the operation power consumption data to APP1 and APP2, obtain the currently running application program of mobile terminal Corresponding power consumption data, wherein the summation of the operation power consumption data for the operation power consumption data and APP2 that the power consumption data is APP1.
Step 206, according to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration.
In the alternative embodiment of the application, according to the power consumption data, the current residue electricity of prediction mobile terminal The corresponding duration is measured, can specifically include:Obtain the current remaining capacity of the mobile terminal;Using the remaining capacity It is calculated with the power consumption data, predicts the duration.Specifically, such as terminal such as application program can lead to The corresponding system interface of remaining capacity is crossed, monitors the current remaining electricity of mobile terminal, you can to get the mobile terminal Current remaining capacity;Current remaining capacity may be used in turn and power consumption data is calculated, obtain current residue electricity Amount can support time of mobile terminal continuous service under current state, that is, predict that current remaining capacity is corresponding to be held The continuous time.
208, according to the history charging behavior of mobile terminal, determination is charged corresponding etc. next time apart from the mobile terminal Wait for the time.
In the alternative embodiment of the application, according to the history charging behavior of mobile terminal, determine apart from the shifting Dynamic terminal charges the corresponding stand-by period next time, can specifically include:Based on history charging behavior, the movement is determined The charging time that terminal charges next time;Current time and the time interval between the charging time are calculated, and, it will be described Time interval is as the stand-by period.Specifically, when user charges to mobile terminal, the corresponding charging time can be recorded Information such as records user and charges to mobile terminal at which at time point;So as to the charging time information based on record, Determine that mobile terminal is typically to charge to mobile terminal at which at time point, you can to determine this under mobile terminal The charging time once charged, and then can be by calculating current time and the time charging time charged next time between Difference calculates current time and the time interval between the charging time, obtain determination and charge next time apart from the mobile terminal The corresponding stand-by period.
In the alternative embodiment of the application, according to the history charging behavior of mobile terminal, determine apart from the shifting Dynamic terminal charges the corresponding stand-by period next time, can specifically include:Obtain the current geographical location of the mobile terminal;It is right The history charging behavior is analyzed, and is determined from the geographical location to the specific charge position corresponding stand-by period, wherein The specific charge position is the position that the mobile terminal charges next time.In the embodiment of the present application, it can be based on mobile whole Current geographical location and history charging behavior are held, when determining to charge corresponding waiting next time apart from the mobile terminal Between.For example, when mobile terminal charges, global positioning system (Global Positioning System, GPS) can be obtained The GPS location of offer, you can to record charge position, and then can determine current distance institute based on the charge position of record Mobile terminal is stated to charge next time the corresponding stand-by period.
As the specific example of the application, user daily it is on and off duty walk identical route.For example, user is at five road junctions Working, and usually required 20 minutes from five road junction subway stations to Back Long View subway station, it gets home from Back Long View subway station and needs 10 points Clock;And user would generally charge to mobile terminal after getting home.Terminal assistance application can be based on the offer of GPS the positions GPS It sets, determines that user is moving, and is current to five road junction subway stations;And it can be based on historical record, it calculates User gets home from current location to be also needed to 30 minutes, you can to determine the stand-by period charged apart from the mobile terminal next time It is 30 minutes.
Step 210, the duration and the stand-by period are compared, determine corresponding comparison result.
As the specific example of the application, at any specific time point, terminal HELPER APPLICATION can monitor The current remaining electricity of mobile terminal, that is, get the current remaining capacity of mobile terminal;Mobile terminal can be analyzed simultaneously to work as The APP of preceding operation determines the total power consumption degree for running these APP;And then it can be estimated mobile whole according to total power consumption degree End under current state can duration T1, while can according to user to the mobile terminal charging historical behavior estimate Go out time T2 of the current point in time apart from charging time point;It and then can be by comparing T1 and T2, it is determined whether need to the shifting The operation of application program is limited in dynamic terminal.If T1 is less than T2, step 212 can be executed;If T1 is not less than T2, can To execute step 214.
Step 212, when the comparison result is the duration to be less than the stand-by period, closing meets default answer With the application-specific of shut-off rule.
Wherein, the application-specific includes the mobile terminal currently in the application program of running background.Specifically, When the duration being less than the stand-by period, it may be determined that if mobile terminal is according to current operating status, remaining capacity Support is not enough to charging next time, needs to close the currently running certain applications program of the mobile terminal, can such as pass through judgement Currently running application program whether meet it is preset apply shut-off rule, to determine application-specific that needs are closed.It should Application-specific is to meet the default application program using shut-off rule.
For example, in conjunction with above-mentioned example, when T1 is less than T2, can will be consumed by the power consumption of the currently running APP of analysis The APP that electricity reaches default power consumption threshold value is determined as application-specific, so can with the positive closing application-specific, with Extend the standby time of mobile terminal, the amount of saving energy, so that current remaining capacity can support under mobile terminal Primary charging.As it can be seen that the embodiment of the present application can be forced by the power consumption of the analysis currently running APP of mobile terminal, selection It closes a part and avoids mobile terminal due to electricity in the APP of running background so as to extend the standby time of mobile terminal Amount is insufficient and the situation of automatic shutdown.Wherein, power consumption threshold value can power consumption condition be configured in the terminal according to APP, It can also be configured according to numerical value input by user, concrete numerical value and set-up mode of the embodiment of the present application to power consumption threshold value It is not specifically limited.
Step 214, when the duration being not less than the stand-by period, the duration and the waiting are calculated Time difference between time;And when the time difference being less than preset limit threshold value, limit answering for the running of mobile terminal Use program.
When the duration being not less than the stand-by period, it may be determined that current remaining capacity can support one under mobile terminal Secondary charging.Specifically, when the time difference between duration and the stand-by period being not less than preset limit threshold value, it can be true Remaining capacity before settled is very sufficient, and then can be decontroled to the APP limitations of running background in mobile terminal so that one A little APP can start on backstage automatically, to promote user experience.For example, can be by the way that duration T 1 be subtracted the duration T2 obtains the time difference (T1-T2) between duration and the stand-by period;And can by the time difference (T1-T2) with it is pre- Restriction threshold value Tx is compared.When (T1-T2) is equal to or more than preset limit threshold value Tx, it may be determined that current residue electricity Amount is very sufficient;When (T1-T2) be less than preset limit threshold value Tx when, it may be determined that current remaining capacity be not it is especially more than needed, And then can determination cannot decontrol limitation to the APP of certain running backgrounds in the movement end, and can keep currently to APP Restrained condition it is constant.Wherein, preset limit threshold value Tx can empirically be worth and be configured, and such as could be provided as zero, this Shen Please embodiment this is not specifically limited.
In actual treatment, when T1 and T2 relatively when, if decontroling the limitation of some APP, the power consumption of mobile terminal Situation will aggravate, and T1 will become smaller at this time, i.e., as power consumption APP becomes more, current electric quantity energy duration will shorten.Example Such as, when T1 is 30, T2 28, and Tx is 10, if decontroling any one APP, T1 can be all caused to be less than T2, then mobile terminal is current Remaining capacity just support less than charging next time, optionally, can be limited by the operation of APP, so that current is surplus Remaining electricity can be supported to and be charged next time.If T1 is 40, T2 28, then it can determine that current remaining capacity is also very more, And then it can suitably decontrol some APP limitations so that user can use more APP, improve user experience.
As it can be seen that the embodiment of the present application can with the corresponding duration T of current residual electricity 1 with current distance next time Dynamic change between the stand-by period T2 of charging, dynamic adjust the management strategy to mobile terminal running background APP, to extend The standby time of mobile terminal.Specifically, if the T1 duration be less than stand-by period T2, it can be said that bright according to current fortune Row state, the remaining capacity of mobile terminal are still not enough to support to charging next time, you can with determination to the limitation of APP also not It is enough, it can be by increasing limitation dynamics, if the APP of the more running backgrounds of positive closing is to extend stand-by time so that current Remaining capacity can support to mobile terminal and charge next time.A power consumption is selected in list for example, can be run from backstage APP Measure big backstage App, positive closing;Then the APP that can be run according to current background, recalculates T1 and T2, if T1 is still Less than T2, this process is just repeated, until T1 is not less than T2, alternatively, until being only left the APP that must run of mobile terminal and it He is not restricted this APP positive closing, the embodiment of the present application.
It should be noted that when T1 is less than T2, the APP closed can also be selected otherwise, can such as be selected The APP that user is not frequently used is closed, the embodiment of the present application is also not specifically limited this.
In the alternative embodiment of the application, which can also include:Closing the spy After determining application program, the corresponding power consumption data of application program of the mobile terminal residue operation is redefined, and is held to described Continuous time and the stand-by period are updated, and, update the comparison result.Specifically, can be according to the preset time Period, APP currently running to mobile terminal are analyzed, and are predicted and are continued corresponding to the current remaining capacity of mobile terminal Time T1, and the stand-by period T2 that current time charges next time apart from mobile terminal can be calculated;And then it can be in T1 When less than T2, the power consumption of currently running each APP is analyzed, selects a positive closing part in the APP of running background, to save Power consumption is saved, the standby time of mobile terminal is extended.If at some specific time point, T1 is more than T2, then can cancel to APP Limitation so that some APP restarted automatically can be with free-running operation.
For example, the time cycle of terminal HELPER APPLICATION dynamic management backstage APP can be preset, and such as 5 minutes, 10 Minute, half an hour, one hour etc., so that terminal HELPER APPLICATION every period at regular intervals, to current The APP of running of mobile terminal is once analyzed, and duration T 1 is predicted, and determines the current corresponding stand-by period T2。
As it can be seen that the embodiment of the present application can be periodically based on the currently running APP of mobile terminal and remaining capacity, estimation Go out mobile terminal can also continuous service time, and estimate out the time that current time charges next time apart from user;If also The time of energy continuous service is less than the time charged next time apart from user at current time, then the big backstage of positive closing power consumption APP;Further, if can also continuous service time have compared with the time that current time charges apart from user next time compared with Big more than needed, then can start some automatically can promote the APP of user experience, to improve user experience.
To sum up, the embodiment of the present application can determine the consumption of APP based on the operating condition of mobile terminal running background APP Electric situation;And it can be in conjunction with the charging behavior of mobile terminal, to the APP of mobile terminal running background into Mobile state management, such as Can be in conjunction with the current GPS position information and history charge position information of user, some backstages of positive closing when necessary Operation APP extends the standby time of mobile terminal, until mobile terminal charges next time, can reduce before user charges The case where mobile terminal automatic shutdown.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and involved action not necessarily the application is implemented Necessary to example.
With reference to Fig. 3, shows a kind of structure diagram of application program controlling device embodiment of the application, can specifically wrap Include following module:
Power consumption data determining module 302 is determined and is corresponded to for analyzing the currently running application program of mobile terminal Power consumption data;
Duration Prediction module 304, for according to the power consumption data, the current remaining capacity pair of prediction mobile terminal The duration answered;
Stand-by period determining module 306 is determined apart from the movement eventually for the history charging behavior according to mobile terminal It charges next time the corresponding stand-by period at end;
Application operation limits module 308, for being compared according to the duration and the stand-by period, and is based on Comparison result limits the operation of application program in the mobile terminal.
In the alternative embodiment of the application, power consumption data determining module 302 can specifically include following submodule:
Submodule is analyzed, is analyzed for the operation action to currently running each application program, is determined each using journey The operation power consumption data of sequence;
Statistic submodule, the operation power consumption data for counting each application program, determines the power consumption data.
In the embodiment of the present application, optionally, analysis submodule specifically can be used for obtaining the fortune of each application program respectively Every trade is corresponding resource cost parameter;And the corresponding resource cost parameter of each application program is calculated, respectively answered With the operation power consumption data of program.
In the alternative embodiment of the application, Duration Prediction module 304 can specifically include following submodule Block:
Remaining capacity acquisition submodule, the remaining capacity current for obtaining the mobile terminal;
Duration Prediction submodule is predicted for being calculated using the remaining capacity and the power consumption data The duration.
In the alternative embodiment of the application, stand-by period determining module 306 can specifically include following submodule:
Charging time determination sub-module, for based on history charging behavior, determining that the mobile terminal fills next time The charging time of electricity;
Time interval computational submodule, for calculating the time interval between current time and the charging time, and, Using the time interval as the stand-by period.
In the alternative embodiment of the application, stand-by period determining module 306 can specifically include following submodule:
Geographical location acquisition submodule, the geographical location current for obtaining the mobile terminal;
Stand-by period determination sub-module is determined for analyzing history charging behavior from the geographical location To the specific charge position corresponding stand-by period next time, wherein the specific charge position mobile terminal charges Position.
In the alternative embodiment of the application, application operation limitation module 308 can specifically include following submodule:
Time comparison sub-module determines corresponding ratio for being compared to the duration and the stand-by period Relatively result;
Using submodule is closed, for when the comparison result is the duration to be less than the stand-by period, closing It closes and meets the default application-specific using shut-off rule, wherein the application-specific includes that the mobile terminal is worked as The preceding application program in running background;
Using limitation submodule, when for when the duration being not less than the stand-by period, calculating described continue Between time difference between the stand-by period;And when the time difference being less than preset limit threshold value, limit the movement The application program of terminal operating.
In the alternative embodiment of the application, the device this may include update module.The update module, Ke Yiyong After closing the submodule closing application-specific in application, triggering power consumption data determining module 302 redefines described The corresponding power consumption data of application program of mobile terminal residue operation, and Duration Prediction module 304 can be triggered to described Duration is updated and triggers stand-by period determining module 306 and is updated to the stand-by period, and, it can trigger Application operation limitation module 308 updates the comparison result.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description Place illustrates referring to the part of embodiment of the method.
Fig. 4 is a kind of structure of mobile terminal 400 for application program controlling shown according to an exemplary embodiment Block diagram.For example, mobile terminal 400 can be mobile phone, and computer, digital broadcasting mobile terminal, messaging devices, game Console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 4, mobile terminal 400 may include following one or more components:Processing component 402, memory 404, Power supply module 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, And communication component 416.
The integrated operation of the usually control mobile terminal 400 of processing component 402, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing element 402 may include one or more processors 420 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more moulds Block, convenient for the interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, with Facilitate the interaction between multimedia component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in equipment 400.These data are shown Example includes the instruction for any application program or method that are operated on mobile terminal 400, contact data, telephone directory number According to, message, picture, video etc..Memory 404 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Electric power assembly 404 provides electric power for the various assemblies of mobile terminal 400.Electric power assembly 404 may include power supply pipe Reason system, one or more power supplys and other generated with for mobile terminal 400, management and the associated component of distribution electric power.
Multimedia component 408 is included in the screen of one output interface of offer between the mobile terminal 400 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 408 includes a front camera and/or rear camera.When mobile terminal 400 is in operation mode, such as clap When taking the photograph pattern or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when mobile terminal 400 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 404 or via logical Believe that component 416 is sent.In some embodiments, audio component 410 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, the state for providing various aspects for mobile terminal 400 Assessment.For example, sensor module 414 can detect the state that opens/closes of equipment 400, the relative positioning of component, such as institute The display and keypad that component is mobile terminal 400 are stated, sensor module 414 can also detect mobile terminal 400 or mobile The position change of 400 1 components of terminal, the existence or non-existence that user contacts with mobile terminal 400,400 orientation of mobile terminal Or the temperature change of acceleration/deceleration and mobile terminal 400.Sensor module 414 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between mobile terminal 400 and other equipment. Mobile terminal 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.Show at one In example property embodiment, communication component 414 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 414 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, mobile terminal 400 can be by one or more application application-specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of mobile terminal 400 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes so that mobile terminal is able to carry out a kind of application control method, the method includes:It is current to mobile terminal The application program of operation is analyzed, and determines corresponding power consumption data;According to the power consumption data, prediction mobile terminal is current The remaining capacity corresponding duration;According to the history charging behavior of mobile terminal, determine apart from the mobile terminal next time It charges the corresponding stand-by period;It is compared according to the duration and the stand-by period, and based on comparative result to institute The operation for stating application program in mobile terminal is limited.
Optionally, the currently running application program of mobile terminal is analyzed, determines corresponding power consumption data, including: The operation action of currently running each application program is analyzed, determines the operation power consumption data of each application program;Statistics is each The operation power consumption data of application program, determines the power consumption data.
Optionally, the operation action of each application program currently running to the mobile terminal is analyzed, and is determined The operation power consumption data of each application program, including:The corresponding resource cost parameter of operation action of each application program is obtained respectively; The corresponding resource cost parameter of each application program is calculated, the operation power consumption data of each application program is obtained.
Optionally, according to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration, packet It includes:Obtain the current remaining capacity of the mobile terminal;It is calculated, is predicted using the remaining capacity and the power consumption data Go out the duration.
Optionally, the history charging behavior according to mobile terminal, determination are charged next time apart from the mobile terminal The corresponding stand-by period, including:Based on history charging behavior, when determining the charging that the mobile terminal charges next time Between;Current time and the time interval between the charging time are calculated, and, using the time interval as when the waiting Between.
Optionally, the history charging behavior according to mobile terminal, determination are charged next time apart from the mobile terminal The corresponding stand-by period, including:Obtain the current geographical location of the mobile terminal;History charging behavior is divided Analysis is determined from the geographical location to the specific charge position corresponding stand-by period, wherein the specific charge position is described The position that mobile terminal charges next time.
Optionally, described to be compared according to the duration and the stand-by period, and based on comparative result to institute The operation for stating application program is limited, including:The duration and the stand-by period are compared, determined corresponding Comparison result;When the comparison result is the duration to be less than the stand-by period, closing meets default application and closes The application-specific of rule, wherein the application-specific includes the mobile terminal currently in the application of running background Program;When the duration being not less than the stand-by period, calculate between the duration and the stand-by period Time difference;And when the time difference being less than preset limit threshold value, limit the application program of the running of mobile terminal.
Optionally, which further includes:After closing the application-specific, redefine described The corresponding total power consumption data of application program of mobile terminal residue operation, and the duration and the stand-by period are carried out Update, and, update the comparison result.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of embodiment.
The embodiment of the present application is with reference to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows And/or in one box of block diagram or multiple boxes specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device including the element.
Above to a kind of application control method provided herein, a kind of application program controlling device and a kind of shifting Dynamic terminal, is described in detail, and specific case used herein explains the principle and way of example of the application It states, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for this field Those skilled in the art, according to the thought of the application, the there will be changes in specific embodiment mode and application range, to sum up Described, the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of application control method, which is characterized in that including:
The currently running application program of mobile terminal is analyzed, determines corresponding power consumption data;
According to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration;
According to the history charging behavior of mobile terminal, determination is charged the corresponding stand-by period next time apart from the mobile terminal;
It is compared according to the duration and the stand-by period, and based on comparative result to being applied in the mobile terminal The operation of program is limited.
2. according to the method described in claim 1, it is characterized in that, dividing the currently running application program of mobile terminal Analysis, determines corresponding power consumption data, including:
The operation action of currently running each application program is analyzed, determines the operation power consumption data of each application program;
The operation power consumption data for counting each application program, determines the power consumption data.
3. according to the method described in claim 2, it is characterized in that, described currently running to the mobile terminal each using journey The operation action of sequence is analyzed, and determines the operation power consumption data of each application program, including:
The corresponding resource cost parameter of operation action of each application program is obtained respectively;
The corresponding resource cost parameter of each application program is calculated, the operation power consumption data of each application program is obtained.
4. according to the method described in claim 1, it is characterized in that, according to the power consumption data, prediction mobile terminal is current The remaining capacity corresponding duration, including:
Obtain the current remaining capacity of the mobile terminal;
It is calculated using the remaining capacity and the power consumption data, predicts the duration.
5. according to the method described in claim 1, the behavior it is characterized in that, the history according to mobile terminal charges, determines It charges next time the corresponding stand-by period apart from the mobile terminal, including:
Based on history charging behavior, the charging time that the mobile terminal charges next time is determined;
Current time and the time interval between the charging time are calculated, and, using the time interval as the waiting Time.
6. according to the method described in claim 1, the behavior it is characterized in that, the history according to mobile terminal charges, determines It charges next time the corresponding stand-by period apart from the mobile terminal, including:
Obtain the current geographical location of the mobile terminal;
History charging behavior is analyzed, when determining waiting corresponding to specific charge position from the geographical location Between, wherein the specific charge position is the position that the mobile terminal charges next time.
7. method according to any one of claims 1 to 6, which is characterized in that described according to the duration and described etc. It waits for that the time is compared, and the operation of the application program is limited based on comparative result, including:
The duration and the stand-by period are compared, determine corresponding comparison result;
When the comparison result is the duration to be less than the stand-by period, closes to meet and preset using shut-off rule Application-specific, wherein the application-specific includes the mobile terminal currently in the application program of running background;
When the duration be not less than the stand-by period when, calculate between the duration and the stand-by period when Between it is poor;And when the time difference being less than preset limit threshold value, limit the application program of the running of mobile terminal.
8. the method according to the description of claim 7 is characterized in that the method further includes:
After closing the application-specific, the corresponding total consumption of application program of the mobile terminal residue operation is redefined Electric data, and the duration and the stand-by period are updated, and, update the comparison result.
9. a kind of application program controlling device, which is characterized in that including:
Power consumption data determining module determines corresponding power consumption for analyzing the currently running application program of mobile terminal Data;
Duration Prediction module, for according to the power consumption data, the current remaining capacity of prediction mobile terminal is corresponding to be held The continuous time;
Stand-by period determining module is determined for the history charging behavior according to mobile terminal one under the mobile terminal It is secondary to charge the corresponding stand-by period;
Application operation limits module, for being compared according to the duration and the stand-by period, and is based on comparing knot Fruit limits the operation of application program in the mobile terminal.
10. a kind of mobile terminal, which is characterized in that include memory and one or more than one program, wherein one A either more than one program is stored in memory and is configured to execute described one by one or more than one processor A or more than one program includes the instruction for being operated below:
The currently running application program of mobile terminal is analyzed, determines corresponding power consumption data;
According to the power consumption data, prediction mobile terminal current remaining capacity corresponding duration;
According to the history charging behavior of mobile terminal, determination is charged the corresponding stand-by period next time apart from the mobile terminal;
It is compared according to the duration and the stand-by period, and based on comparative result to being applied in the mobile terminal The operation of program is limited.
CN201710005133.1A 2017-01-04 2017-01-04 A kind of application control method, device and mobile terminal Pending CN108279764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710005133.1A CN108279764A (en) 2017-01-04 2017-01-04 A kind of application control method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710005133.1A CN108279764A (en) 2017-01-04 2017-01-04 A kind of application control method, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN108279764A true CN108279764A (en) 2018-07-13

Family

ID=62800340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710005133.1A Pending CN108279764A (en) 2017-01-04 2017-01-04 A kind of application control method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108279764A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600825A (en) * 2019-01-16 2019-04-09 深圳市万普拉斯科技有限公司 A kind of mobile terminal electricity operation reserve generation method and its device
CN109768547A (en) * 2018-12-28 2019-05-17 京信通信系统(中国)有限公司 Method for controlling power supply, device, equipment and readable storage medium storing program for executing
CN110366117A (en) * 2019-07-17 2019-10-22 中国联合网络通信集团有限公司 A kind of mobile terminal network switching method and device
WO2021008390A1 (en) * 2019-07-17 2021-01-21 Oppo广东移动通信有限公司 Image layer processing method and apparatus, electronic device, and computer-readable medium
CN112310495A (en) * 2019-07-29 2021-02-02 和硕联合科技股份有限公司 Battery charging method
CN112997159A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Application grouping adjusting method and device, storage medium and electronic equipment
CN113038333A (en) * 2021-04-26 2021-06-25 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN113541262A (en) * 2021-07-23 2021-10-22 天长市盛能电子科技有限公司 Charger capable of detecting battery electric quantity
CN113794256A (en) * 2021-09-15 2021-12-14 深圳市科雷特能源科技股份有限公司 Intelligent management method and device for battery charging and discharging
CN110783970B (en) * 2018-07-31 2024-03-19 中兴通讯股份有限公司 Charging method, device, charging terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010041155A (en) * 2008-08-01 2010-02-18 Nec Corp Wireless mobile terminal, function control method thereof, and function control program
US20130103960A1 (en) * 2011-10-24 2013-04-25 Motorola Mobility, Inc. Method and device with intelligent power management
WO2015000445A1 (en) * 2013-07-05 2015-01-08 贝壳网际(北京)安全技术有限公司 Method and system of obtaining power consumption degree of application, and energy saving method and system
CN104346256A (en) * 2013-07-23 2015-02-11 贝壳网际(北京)安全技术有限公司 Method and device for acquiring power consumption information of application program and mobile terminal
US20160112957A1 (en) * 2014-10-15 2016-04-21 International Business Machines Corporation Method for detecting mobile device charging points
CN106055458A (en) * 2016-05-26 2016-10-26 深圳天珑无线科技有限公司 Charging reminding method, device and mobile device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010041155A (en) * 2008-08-01 2010-02-18 Nec Corp Wireless mobile terminal, function control method thereof, and function control program
US20130103960A1 (en) * 2011-10-24 2013-04-25 Motorola Mobility, Inc. Method and device with intelligent power management
WO2015000445A1 (en) * 2013-07-05 2015-01-08 贝壳网际(北京)安全技术有限公司 Method and system of obtaining power consumption degree of application, and energy saving method and system
CN104346256A (en) * 2013-07-23 2015-02-11 贝壳网际(北京)安全技术有限公司 Method and device for acquiring power consumption information of application program and mobile terminal
US20160112957A1 (en) * 2014-10-15 2016-04-21 International Business Machines Corporation Method for detecting mobile device charging points
CN106055458A (en) * 2016-05-26 2016-10-26 深圳天珑无线科技有限公司 Charging reminding method, device and mobile device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110783970B (en) * 2018-07-31 2024-03-19 中兴通讯股份有限公司 Charging method, device, charging terminal and computer readable storage medium
CN109768547A (en) * 2018-12-28 2019-05-17 京信通信系统(中国)有限公司 Method for controlling power supply, device, equipment and readable storage medium storing program for executing
CN109768547B (en) * 2018-12-28 2021-06-22 京信通信系统(中国)有限公司 Power supply control method, device, equipment and readable storage medium
CN112997159A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Application grouping adjusting method and device, storage medium and electronic equipment
CN109600825A (en) * 2019-01-16 2019-04-09 深圳市万普拉斯科技有限公司 A kind of mobile terminal electricity operation reserve generation method and its device
CN110366117A (en) * 2019-07-17 2019-10-22 中国联合网络通信集团有限公司 A kind of mobile terminal network switching method and device
WO2021008390A1 (en) * 2019-07-17 2021-01-21 Oppo广东移动通信有限公司 Image layer processing method and apparatus, electronic device, and computer-readable medium
CN112310495A (en) * 2019-07-29 2021-02-02 和硕联合科技股份有限公司 Battery charging method
CN113038333A (en) * 2021-04-26 2021-06-25 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN113541262A (en) * 2021-07-23 2021-10-22 天长市盛能电子科技有限公司 Charger capable of detecting battery electric quantity
CN113794256A (en) * 2021-09-15 2021-12-14 深圳市科雷特能源科技股份有限公司 Intelligent management method and device for battery charging and discharging

Similar Documents

Publication Publication Date Title
CN108279764A (en) A kind of application control method, device and mobile terminal
CN106375604B (en) The method and apparatus of controlling terminal electricity
CN105573472B (en) A kind of method and apparatus for closing application program
US20170025874A1 (en) Charging method
CN105677460A (en) Application processing method and apparatus
CN107134823A (en) Charge prompting method and device
RU2643516C2 (en) Method and device for controlling power consumption
CN104219383A (en) Terminal power information prompting method and device
CN106095636B (en) A kind of prompting continues the method, apparatus and mobile device of charging
CN106714213A (en) Report trigger method and device for buffer status report (BSR) as well as user terminal
CN105720644A (en) Charging control method and device and terminal device
RU2648264C2 (en) Method and device (variants) for processing communication messages
CN110300189A (en) A kind of resource downloading method, device and electronic equipment
CN106371831A (en) Awakening control method and device and terminal
CN107783790A (en) terminal awakening method and device
CN105636238B (en) Wireless Fidelity WiFi connection control method and device
CN105653903B (en) The management method and device of application program permission
CN109062625A (en) The method, apparatus and readable storage medium storing program for executing of application program load
CN106774802A (en) The reminding method of terminal power, device and terminal
EP3905159A1 (en) Method and apparatus for scheduling item, and computer-readable storage medium
CN106451670B (en) A kind of charge control method, device and terminal device
CN113867927A (en) Resource allocation method, device, electronic equipment and storage medium
CN107885308A (en) Electricity saving method and device
CN106791089B (en) Method and device for prompting battery electric quantity
CN106227402B (en) Information prompting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination