CN107357620A - A kind of method of adjustment of application program, device, mobile terminal and storage medium - Google Patents

A kind of method of adjustment of application program, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN107357620A
CN107357620A CN201710575952.XA CN201710575952A CN107357620A CN 107357620 A CN107357620 A CN 107357620A CN 201710575952 A CN201710575952 A CN 201710575952A CN 107357620 A CN107357620 A CN 107357620A
Authority
CN
China
Prior art keywords
mobile terminal
application program
run
predetermined number
temperature environment
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
CN201710575952.XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710575952.XA priority Critical patent/CN107357620A/en
Publication of CN107357620A publication Critical patent/CN107357620A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of method of adjustment of application program, device, mobile terminal and storage medium.This method includes:Obtain the Mean Speed of mobile terminal electric quantity consumption in the unit interval of voltameter detection;When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;When mobile terminal is in low temperature environment, limits the application program number run in the mobile terminal and be no more than predetermined number.Pass through above-mentioned technical proposal, judge whether mobile terminal is in low temperature environment according to the average efficiency that mobile terminal consumes, when mobile terminal is in low temperature environment, the number of the application program of operation is limited, avoid power consumption increase influence to caused by the use of user under low temperature environment, extend the usage time of mobile terminal, preferably meet the use demand of user.

Description

A kind of method of adjustment of application program, device, mobile terminal and storage medium
Technical field
The present embodiments relate to intelligent terminal applied technical field, more particularly to a kind of method of adjustment of application program, Device, mobile terminal and storage medium.
Background technology
With the development of science and technology daily life be unable to do without intelligent terminal, intelligent terminal is carried with into greatly The life normality of majority.But current intelligent terminal can't ensure that user can be very with the conditions of in any environment Use well, for example, at low ambient temperatures, because lithium ion liveness is not high in battery, the both positive and negative polarity electrolysis liquid resistent value of lithium battery Becoming big, cause chemical reaction rate to reduce, generation electric current is relatively reduced, causes available power to reduce, so that intelligent terminal Power consumption increases.Related experiment shows that the power consumption rate of mobile phone is 1.7 times under 20 degree of environment under subzero 5 degree of environment.Power consumption Increase the use to user and cause very big influence, seriously shortened the usage time of intelligent terminal, making for user can not be met Use demand.
The content of the invention
The embodiment of the present invention provides a kind of method of adjustment of application program, device, mobile terminal and storage medium, Ke Yishi The now environment adjustment application program according to residing for intelligent terminal.
In a first aspect, the embodiments of the invention provide a kind of method of adjustment of application program, this method includes:
Obtain the Mean Speed of mobile terminal electric quantity consumption in the unit interval of voltameter detection;
When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;
When mobile terminal is in low temperature environment, limits the application program number run in the mobile terminal and be no more than in advance If number.
Second aspect, the embodiment of the present invention additionally provide a kind of adjusting apparatus of application program, and the device includes:
Speed detection module, the average speed of mobile terminal electric quantity consumption in the unit interval for obtaining voltameter detection Rate;
Environment judge module, for when the Mean Speed is more than the first reference rate, judging that mobile terminal is in low Warm environment;
Application program adjusting module, for when mobile terminal is in low temperature environment, limiting and being run in the mobile terminal Application program number be no more than predetermined number.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including first memory, first processor and The computer program that can be run on the first memory and on the first processor is stored in, the first processor is held The method of adjustment of any described application program in the embodiment of the present invention is realized during the row computer program.
Fourth aspect, the embodiment of the present invention also provide a kind of storage medium, are stored thereon with computer program, the program quilt The method of adjustment of the application program as described in any in the embodiment of the present invention is realized during computing device.
The Mean Speed of mobile terminal electric quantity consumption in the unit interval that the embodiment of the present invention is detected by obtaining voltameter; When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;Low temperature is in mobile terminal During environment, limit the application program number run in the mobile terminal and be no more than predetermined number.Pass through above-mentioned technical proposal, root The average efficiency consumed according to mobile terminal judges whether mobile terminal is in low temperature environment, and low temperature environment is in mobile terminal When, the number of the application program of operation is limited, use of the power consumption increase to user under low temperature environment is avoided and causes Influence, extend the usage time of mobile terminal, preferably meet the use demand of user.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for adjustment of application program provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for adjustment of another application program provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for adjustment of another application program provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the method for adjustment of another application program provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of the adjusting apparatus of application program provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of flow chart of the method for adjustment of application program provided in an embodiment of the present invention, and the present embodiment is applicable Situation about being adjusted under low temperature condition to application program, this method can be performed by the adjusting apparatus of application program, should Device can be realized by software and/or hardware, can typically integrate in the terminal, this method includes:
Step 110, the Mean Speed for obtaining mobile terminal electric quantity consumption in the unit interval of voltameter detection.
Wherein, battery management can be considered a part for power management.In battery management, voltameter is responsible for estimating that battery holds Amount, its basic function is monitoring voltage, charge/discharge current and battery temperature.Voltameter can be used for detecting in the unit interval The Mean Speed of mobile terminal electric quantity consumption, the unit of Mean Speed can be specifically degree/min.
Step 120, when the Mean Speed is more than the first reference rate, judge mobile terminal be in low temperature environment.
Wherein, the number of application program of the speed of the electric quantity consumption of mobile terminal with being run in mobile terminal it is relevant and Environment residing for mobile terminal is relevant.Under low temperature environment, even if running small number of application program, electric quantity consumption is also resulted in Speed it is larger.First reference rate can be under normal temperature environment, to run the electric quantity consumption during application program of predetermined number Speed is standard, it is determined that a reference rate, such as can be refer to normal temperature environment under run mobile terminal in all applications Speed during program, it is determined that reference rate.For characterizing when Mean Speed exceeds this numerical value, then judge at mobile terminal In low temperature environment.Specific determination mode can be that the first reference rate is all in mobile terminal slightly larger than being run under normal temperature environment Speed during application program, the occurrence of can so preventing from judging by accident.The foundation of the judgment mode of this local environment is , then can be with when electric quantity consumption speed when running whole application programs under the size of electric quantity consumption speed is than normal temperature environment is also big It is low temperature environment to determine the environment residing for mobile terminal.
Step 130, when mobile terminal is in low temperature environment, limit the application program number run in the mobile terminal No more than predetermined number.
Wherein, because at low ambient temperatures, the electric quantity consumption speed of mobile terminal is excessive, influenceing the normal of mobile terminal makes With therefore, being defined to the application program number run in mobile terminal, it is no more than predetermined number, predetermined number can To be adjusted according to the actual requirements, such as it can be 1 or 2 etc..To slow down the power consumption speed of mobile terminal, extend movement The usage time of terminal.
On the basis of above-mentioned technical proposal, the mobile terminal electric quantity consumption within the unit interval for obtaining voltameter detection Before Mean Speed, in addition to:
When the mobile terminal is fully charged, the mobile terminal electric quantity consumption speed of voltameter detection is obtained;
The speed is contrasted with preset standard value;
When comparing result exceeds allowable error scope, the voltameter is calibrated.
Wherein, it is however generally that, the electricity surplus that electricity surplus and the voltameter shown on mobile terminal detects is Identical, but after usage time is long, it may appear that the actual electricity surplus of battery of mobile terminal detects with voltameter The inconsistent situation of electricity surplus, exemplarily, the battery actual consumption electricity of mobile terminal is 10%, and normal movement is whole The dump energy shown on end should be 90%, and the electricity surplus that voltameter detects may be 95%, due to mobile whole The electricity surplus and the measurement result of voltameter shown on end is consistent, therefore can be shown as 95%.So it may result in Certain deviation be present in the battery electric quantity situation and actual conditions of display.And in this programme, the Mean Speed of electric quantity consumption is logical Cross what voltameter was detected, therefore, the testing result order of accuarcy of voltameter affects follow-up all processes.Therefore, moving When dynamic terminal is fully charged, the mobile terminal electric quantity consumption speed of voltameter detection is obtained, the speed and preset standard value are carried out Contrast, if the difference of the two is in the error range of permission, then it is assumed that the testing result of voltameter is accurate, otherwise, to voltameter Calibrated, calibration process for example can be the deviation compensation by the two into testing result, for example, the battery of mobile terminal exists Power consumption is the 5% of total electricity in 10 minutes, and the power consumption obtained according to voltameter testing result is the 2% of total electricity, then 3% will be increased in the testing result of voltameter, to ensure that measurement situation is consistent with actual power consumption situation.Wherein, preset standard value Can be directed to normal cell electric quantity consumption rate value as defined in brand, model of mobile terminal etc..
The technical scheme of the present embodiment, mobile terminal electric quantity consumption is flat in the unit interval detected by obtaining voltameter Equal speed;When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;At mobile terminal When low temperature environment, limit the application program number run in the mobile terminal and be no more than predetermined number.Pass through above-mentioned technology Scheme, judge whether mobile terminal is in low temperature environment according to the average efficiency that mobile terminal consumes, be in low in mobile terminal During warm environment, the number of the application program of operation is limited, avoid power consumption increase under low temperature environment makes to user The influence caused by, extend the usage time of mobile terminal, preferably meet the use demand of user.
Fig. 2 is the flow chart of the method for adjustment of another application program provided in an embodiment of the present invention, and this method includes:
Step 210, the Mean Speed for obtaining mobile terminal electric quantity consumption in the unit interval of voltameter detection.
Step 220, when the Mean Speed is more than the first reference rate, judge mobile terminal be in low temperature environment.
Step 230, when mobile terminal is in low temperature environment, limit the application program number run in the mobile terminal No more than predetermined number.
Step 240, continue to obtain the Mean Speed of mobile terminal electric quantity consumption in the unit interval of voltameter detection.
Step 250, when the Mean Speed is less than the second reference rate, judge mobile terminal be in normal temperature environment.
Wherein, the second reference rate can be under low temperature environment, be disappeared with electricity when running the application program of predetermined number Consumption speed is standard, it is determined that a reference rate.Predetermined number can be the numerical value of a very little, e.g. one or two It is individual.At low ambient temperatures, using run an application program when electric quantity consumption speed as standard, it is determined that reference rate.For protecting Card then judges that mobile terminal is in normal temperature environment when Mean Speed is less than this numerical value.Specific determination mode can be the Two reference rates are slightly less than speed when some application program in mobile terminal is run under low temperature environment, can so prevent from missing The occurrence of sentencing.The judgment mode of this local environment is reason for this is that when the size of electric quantity consumption speed under low temperature environment than transporting Electric quantity consumption speed also hour during the minimal amount of application program of row, then it is normal temperature ring that can determine the environment residing for mobile terminal Border.
Step 260, cancel to the limitation for the application program number run in the mobile terminal.
Wherein, when it is determined that the environment residing for mobile terminal is normal temperature environment, then mobile terminal is in normal operating conditions, It is not necessary to limit the application program number run in mobile terminal, therefore limitation is cancelled, allow user Each application program of normal operation.
The technical scheme of the embodiment of the present invention, after the application program number run in mobile terminal limits, Continue the environment according to residing for Mean Speed judges mobile terminal, when it is determined that mobile terminal is in normal temperature environment, cancel to moving The limitation for the application program number run in dynamic terminal, is adjusted to mobile terminal, makes mobile terminal in time in normal temperature environment Recover normal operating conditions, so that user can run each application program according to self-demand, provide the user facility.
On the basis of above-mentioned technical proposal, in addition to:
Under normal temperature environment, electric quantity consumption when whole application programs in the mobile terminal are in running status is measured Standard speed;
By the standard speed and the first multiplication, the first reference rate is obtained, wherein, first coefficient is more than 1.
Wherein, standard speed can be under normal temperature environment, and whole application programs in the terminal are in running shape The speed of electric quantity consumption during state, it can be understood as in the case of being in current equivalent to mobile terminal, the maximum of electric quantity consumption Value.By standard speed and the first multiplication, the first reference rate is obtained.First coefficient is greater than 1 numerical value, such as can be 1.2 wait.The setting of first coefficient is in order that certain deviation between the first reference rate and standard speed be present, is avoided the occurrence of The problem of environmental condition is judged by accident.
Preferably, in addition to:
At low ambient temperatures, electric quantity consumption when measuring the application program of the reference of operation first quantity in the mobile terminal Minimum reference rate, wherein, described first is less than the total quantity of application program in mobile terminal with reference to quantity;
By the minimum reference rate and the second multiplication, second reference rate is obtained, wherein, second system Number is less than 1.
Wherein, the first reference quantity is less than the total quantity of application program in mobile terminal, can be less numerical value, such as Can be one or two etc..The speed of mobile terminal electric quantity consumption is now measured as minimum reference rate, it is minimum with reference to speed Rate is as a critical point, when speed is less than minimum reference rate, then it is considered that mobile terminal is in normal temperature environment.Will most Low reference rate and the second multiplication, obtain the second reference rate, the second coefficient is less than 1 numerical value, such as can be 0.8 Deng.The setting of second coefficient is in order that certain deviation between the second reference rate and minimum reference rate be present, is avoided out The problem of existing environmental condition erroneous judgement.
Fig. 3 is the flow chart of the method for adjustment of another application program provided in an embodiment of the present invention, and this method includes:
Step 310, the Mean Speed for obtaining mobile terminal electric quantity consumption in the unit interval of voltameter detection.
Step 320, when the Mean Speed is more than the first reference rate, judge mobile terminal be in low temperature environment.
Step 330, when mobile terminal is in low temperature environment, count the application program run in the mobile terminal Number.
Wherein, the number of the application program in the state that is currently running in mobile terminal is counted, such as can be according to user The record of operation application program counts to the number of the application program of operation, or is entered according to what is run in process manager Journey number determines the number of the application program of operation.
Step 340, when the number is less than predetermined number, it is allowed to increase operation application program number is to predetermined number.
Wherein, when the number for the application program being currently running is less than predetermined number, then user is allowed to continue increase operation Application program, predetermined number for example can be 2, and when number is less than 2, increase that can be to user runs application program pair The operation answered is responded, and untill the number of the application program of operation reaches 2, then no longer responds the increase operation of user Operated corresponding to application program.
Step 350, when the number is equal to predetermined number, forbid increase operation application program number.
Wherein, when the number for running application program is equal to predetermined number, then the increase operation application of user is no longer responded Operated corresponding to program, forbid the number of increase operation application program.
Step 360, when the number is more than predetermined number, select at least one application for running in turning-off mobile terminal Program, the number for the application program for making to run in mobile terminal are no more than predetermined number.
Wherein, when the number for running application program is more than predetermined number, then need suitably to reduce and run in mobile terminal Application program number, with realize reduce mobile terminal electric quantity consumption speed.Exemplary, predetermined number can be 2, when The number of the application program of preceding operation is 5, then can make movement with least three application program run in turning-off mobile terminal The number for the application program run in terminal is no more than 2.Selecting the mode of application program to be closed has a lot, such as can be with It is to be selected according to the sequencing of user's operation application program or selected according to the frequency of use of application program Select.
The technical scheme of the embodiment of the present invention, it is default whether the number by judging running of mobile terminal application program exceedes Number, when number is less than predetermined number, it is allowed to increase operation application program number is to predetermined number, during equal to predetermined number, Forbid the number of increase operation application program, during more than predetermined number, then part application program is suitably closed, so that as full as possible While sufficient user's use demand, the electric quantity consumption speed of mobile terminal is reduced, improves the usage time of mobile terminal.
Fig. 4 is the flow chart of the method for adjustment of another application program provided in an embodiment of the present invention, and this method includes:
Step 410, the Mean Speed for obtaining mobile terminal electric quantity consumption in the unit interval of voltameter detection.
Step 420, when the Mean Speed is more than the first reference rate, judge mobile terminal be in low temperature environment.
Step 430, when mobile terminal is in low temperature environment, driving layer detect user triggering touch operation when, Trigger inner nuclear layer to perform according to the process number currently run in process manager, count the application run in the mobile terminal The operation of program number.
Wherein, the references such as the driving layer, inner nuclear layer and the application layer that are related in the embodiment of the present invention are Android operations Protocol layer in system architecture.Wherein, driving layer is mainly used in thread distribution and driven by program etc..Inner nuclear layer is Android system Basis, realize the Core Features such as hardware device drivers, process and memory management, network protocol stack, power management, radio communication. Include each class and the application program of user's direct interaction in Android system in application layer.
Wherein, when driving layer to detect the touch operation of user's triggering, illustrate that user has and run new application program Demand, now, the operation of application program number run in triggering inner nuclear layer statistics mobile terminal, according to of application program Number determines whether that the touch operation to user's triggering responds.
If step 440, the number are less than predetermined number, layer coordinate position according to corresponding to the touch operation is driven It is determined that application program to be run, triggering inner nuclear layer opens process corresponding with the application program.
Wherein, when the number of the application program of operation is less than predetermined number, then illustrate that mobile terminal possesses increase and opened Certain applications program bears space.The touch operation that driving layer can trigger to user responds.It can be touched according to user Application icon corresponding to the touch operation of hair corresponding to coordinate position, it is determined that application program to be run, triggers kernel Layer opens process corresponding with the application program, to realize the normal operation of the application program.
If step 450, the number are equal to predetermined number, abandon responding the touch operation.
Wherein, when the number of the application program of operation is equal to predetermined number, then illustrate that mobile terminal can not increase unlatching New application program, electric quantity consumption speed otherwise can be caused excessive.Now, then the response of the touch operation to user is abandoned, is driven Dynamic layer no longer reports to the touch operation, reduces application layer and the treating capacity of inner nuclear layer, improves data-handling efficiency. Data corresponding to the touch operation that layer can also will be driven to get simultaneously are deleted, and avoid causing the occupancy of memory space.
If step 460, the number are more than predetermined number, driving layer triggering application layer counts transports in the mobile terminal The frequency of use of capable application program, according to the order of frequency of use from big to small, trigger inner nuclear layer turning-off mobile terminal successively At least one application program of middle operation, the application program number for making to run in mobile terminal are no more than predetermined number.
Wherein, when the number of the application program of operation is more than predetermined number, then need reduce part be currently running should With program, a part of application program is closed.When selecting the application program closed, frequency can be used according to application program Rate is selected.The frequency of use of the application program of application layer statistics running status is triggered, should by the relatively low part of frequency of use With stop, exemplarily, the number of the application program of operation is 5, and predetermined number is 2, then by 5 applications of operation The frequency of use of program is ranked up, and according to the order of frequency of use from big to small, at least closes frequency of use clooating sequence position In the application program of latter three, the number for the application program for making to run in mobile terminal is no more than predetermined number.
The technical scheme of the embodiment of the present invention, it is default whether the number by judging running of mobile terminal application program exceedes Number, when number is less than predetermined number, it is allowed to increase operation application program number is to predetermined number, during equal to predetermined number, Forbid the number of increase operation application program, during more than predetermined number, then part application program is suitably closed, so that as full as possible While sufficient user's use demand, the electric quantity consumption speed of mobile terminal is reduced, improves the usage time of mobile terminal.
Fig. 5 is a kind of structural representation of the adjusting apparatus of application program provided in an embodiment of the present invention, and the device includes:
Speed detection module 510, mobile terminal electric quantity consumption is averaged in the unit interval for obtaining voltameter detection Speed;
Environment judge module 520, for when the Mean Speed is more than the first reference rate, judging that mobile terminal is in Low temperature environment;
Application program adjusting module 530, for when mobile terminal is in low temperature environment, limiting and being transported in the mobile terminal Capable application program number is no more than predetermined number.
The technical scheme of the present embodiment provides a kind of adjusting apparatus of application program, the average effect consumed according to mobile terminal Rate judges whether mobile terminal is in low temperature environment, when mobile terminal is in low temperature environment, to of the application program of operation Number is limited, and is avoided power consumption increase influence to caused by the use of user under low temperature environment, is extended making for mobile terminal With the time, preferably meet the use demand of user.
Optionally, in addition to module is cancelled in number limitation, is specifically used for:
After the application program number run in limiting the mobile terminal is no more than predetermined number, continue to obtain electricity Count the Mean Speed of mobile terminal electric quantity consumption in the unit interval of detection;
When the Mean Speed is less than the second reference rate, judge that mobile terminal is in normal temperature environment;
Cancel to the limitation for the application program number run in the mobile terminal.
Optionally, in addition to electricity meter calibration module, it is specifically used for:
Within the unit interval for obtaining voltameter detection before the Mean Speed of mobile terminal electric quantity consumption, in the movement When terminal is fully charged, the mobile terminal electric quantity consumption speed of voltameter detection is obtained;
The speed is contrasted with preset standard value;
When comparing result exceeds allowable error scope, the voltameter is calibrated.
Optionally, in addition to the first reference rate determining module, it is specifically used for:
Under normal temperature environment, electric quantity consumption when whole application programs in the mobile terminal are in running status is measured Standard speed;
By the standard speed respectively with the first multiplication, the first reference rate is obtained, wherein, first coefficient is big In 1.
Optionally, in addition to the second reference rate determining module, it is specifically used for:
At low ambient temperatures, electric quantity consumption when measuring the application program of the reference of operation first quantity in the mobile terminal Minimum reference rate, wherein, described first is less than the total quantity of application program in mobile terminal with reference to quantity;
By the minimum reference rate and the second multiplication, second reference rate is obtained, wherein, second system Number is less than 1.
Optionally, application program adjusting module 530, is specifically used for:
Count the application program number run in the mobile terminal;
When the number is less than predetermined number, it is allowed to increase operation application program number to predetermined number;
When the number is equal to predetermined number, forbid increase operation application program number;
When the number is more than predetermined number, at least one application program run in turning-off mobile terminal is selected, is made The number for the application program run in mobile terminal is no more than predetermined number.
Optionally, application program adjusting module 530, is specifically used for:
When detecting the touch operation of user's triggering, triggering inner nuclear layer performs according to current in process manager driving layer The process number of operation, count the operation for the application program number run in the mobile terminal;
If the number is less than predetermined number, driving layer coordinate position according to corresponding to the touch operation determines to be shipped Capable application program, triggering inner nuclear layer open process corresponding with the application program;
If the number is equal to predetermined number, abandon responding the touch operation;
If the number is more than predetermined number, driving layer triggering application layer counts the application run in the mobile terminal The frequency of use of program, according to the order of frequency of use from big to small, triggering inner nuclear layer closes a terminal middle operation at least successively One application program, the application program number for making to run in mobile terminal are no more than predetermined number.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform When being performed by computer processor for performing a kind of method of adjustment of application program, this method includes for instruction:
Obtain the Mean Speed of mobile terminal electric quantity consumption in the unit interval of voltameter detection;
When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;
When mobile terminal is in low temperature environment, limits the application program number run in the mobile terminal and be no more than in advance If number.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The adjustment operation for the application program that executable instruction is not limited to the described above, can also carry out any embodiment of the present invention and is provided Application program method of adjustment in associative operation.
The embodiments of the invention provide a kind of mobile terminal, provided in an embodiment of the present invention answer can be integrated in the mobile terminal With the adjusting apparatus of program.Fig. 6 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.As shown in fig. 6, should Mobile terminal can include:Housing (not shown), touch-screen (not shown), touch key-press (not shown), deposit Reservoir 601, central processing unit (Central Processing Unit, CPU) 602 (also known as processor, hereinafter referred to as CPU), electricity Road plate (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing surrounds Portion;The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, for being set for the electronics Standby each circuit or device power supply;The memory 601, for storing executable program code;The CPU602 passes through reading The executable program code stored in the memory 601 is taken to run computer journey corresponding with the executable program code Sequence, to realize following steps:
Obtain the Mean Speed of mobile terminal electric quantity consumption in the unit interval of voltameter detection;
When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;
When mobile terminal is in low temperature environment, limits the application program number run in the mobile terminal and be no more than in advance If number.
The mobile terminal also includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio-frequency electric Road 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch-screen 612, other input/controls Control equipment 610 and outside port 604, these parts are communicated by one or more communication bus or signal wire 607.
It should be understood that diagram mobile terminal 600 is only an example of mobile terminal, and mobile terminal 600 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
The mobile terminal for being used for application program adjustment that the present embodiment provides is described in detail below, the movement is whole End is by taking mobile phone as an example.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch-screen 612 With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include the He of display controller 6091 For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 6092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 are the input interface and output interface between consumer electronic devices and user, Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 6091 in I/O subsystems 609 receives electric signal from touch-screen 612 or sent out to touch-screen 612 Electric signals.Touch-screen 612 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 6091 The interaction of user interface object on touch-screen 612, that is, realize man-machine interaction, the user interface being shown on touch-screen 612 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 605, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 605 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, it is mainly used in receiving voice data from Peripheral Interface 603, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone from wireless network by RF circuits 605, it is reduced to sound And play the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
Mobile terminal provided in an embodiment of the present invention, during in low temperature environment, the number of the application program of operation is carried out Limitation, power consumption increase influence to caused by the use of user under low temperature environment is avoided, extends the usage time of mobile terminal, Preferably meet the use demand of user.
Before the executable present invention of adjusting apparatus, storage medium and mobile terminal of the application program provided in above-described embodiment The method of adjustment for the application program that all embodiments are provided is stated, possesses and performs the corresponding functional module of the above method and beneficial to effect Fruit.Not ins and outs of detailed description in the present embodiment, reference can be made to the application journey that the foregoing all embodiments of the present invention are provided The method of adjustment of sequence.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. method of adjustment of application program, it is characterised in that including:
    Obtain the Mean Speed of mobile terminal electric quantity consumption in the unit interval of voltameter detection;
    When the Mean Speed is more than the first reference rate, judge that mobile terminal is in low temperature environment;
    When mobile terminal is in low temperature environment, limits the application program number run in the mobile terminal and be no more than default Number.
  2. 2. according to the method for claim 1, it is characterised in that the application program run in the mobile terminal is limited Number is no more than after predetermined number, in addition to:
    Continue the Mean Speed of mobile terminal electric quantity consumption in the unit interval of acquisition voltameter detection;
    When the Mean Speed is less than the second reference rate, judge that mobile terminal is in normal temperature environment;
    Cancel to the limitation for the application program number run in the mobile terminal.
  3. 3. according to the method for claim 1, it is characterised in that the mobile terminal within the unit interval for obtaining voltameter detection Before the Mean Speed of electric quantity consumption, in addition to:
    When the mobile terminal is fully charged, the mobile terminal electric quantity consumption speed of voltameter detection is obtained;
    The speed is contrasted with preset standard value;
    When comparing result exceeds allowable error scope, the voltameter is calibrated.
  4. 4. according to the method for claim 2, it is characterised in that also include:
    Under normal temperature environment, the mark of electric quantity consumption when whole application programs in the mobile terminal are in running status is measured Quasi- speed;
    By the standard speed and the first multiplication, the first reference rate is obtained, wherein, first coefficient is more than 1.
  5. 5. according to the method for claim 2, it is characterised in that also include:
    At low ambient temperatures, electric quantity consumption is minimum when measuring the application program of the reference of operation first quantity in the mobile terminal Reference rate, wherein, described first is less than the total quantity of application program in mobile terminal with reference to quantity;
    By the minimum reference rate and the second multiplication, second reference rate is obtained, wherein, second coefficient is small In 1.
  6. 6. according to any described methods of claim 1-5, it is characterised in that limit the application journey run in the mobile terminal Sequence number is no more than predetermined number, including:
    Count the application program number run in the mobile terminal;
    When the number is less than predetermined number, it is allowed to increase operation application program number to predetermined number;
    When the number is equal to predetermined number, forbid increase operation application program number;
    When the number is more than predetermined number, at least one application program run in turning-off mobile terminal is selected, makes movement The number for the application program run in terminal is no more than predetermined number.
  7. 7. according to the method for claim 6, it is characterised in that count the application program run in the mobile terminal Number, when the number is less than predetermined number, it is allowed to which increase operation application program number is to predetermined number, when the number is equal to During predetermined number, forbid increase operation application program number, when the number is more than predetermined number, select turning-off mobile terminal At least one application program of middle operation, the number for the application program for making to run in mobile terminal are no more than predetermined number, including:
    When detecting the touch operation of user's triggering, triggering inner nuclear layer performs according to currently being run in process manager driving layer Process number, count the operation for the application program number run in the mobile terminal;
    If the number is less than predetermined number, driving layer coordinate position according to corresponding to the touch operation determines to be run Application program, triggering inner nuclear layer open process corresponding with the application program;
    If the number is equal to predetermined number, abandon responding the touch operation;
    If the number is more than predetermined number, driving layer triggering application layer counts the application program run in the mobile terminal Frequency of use, according to the order of frequency of use from big to small, triggering inner nuclear layer is closed a terminal at least one of middle operation successively Application program, the application program number for making to run in mobile terminal are no more than predetermined number.
  8. A kind of 8. adjusting apparatus of application program, it is characterised in that including:
    Speed detection module, the Mean Speed of mobile terminal electric quantity consumption in the unit interval for obtaining voltameter detection;
    Environment judge module, for when the Mean Speed is more than the first reference rate, judging that mobile terminal is in low temperature ring Border;
    Application program adjusting module, for when mobile terminal is in low temperature environment, limit run in the mobile terminal should It is no more than predetermined number with program number.
  9. 9. a kind of mobile terminal, including first memory, first processor and it is stored on the first memory and can be in institute State the computer program run on first processor, it is characterised in that when the first processor performs the computer program Realize the method for adjustment of the application program as described in any in claim 1 to 7.
  10. 10. a kind of storage medium, is stored thereon with computer program, it is characterised in that the program is realized when being executed by processor The method of adjustment of application program as described in any in claim 1-7.
CN201710575952.XA 2017-07-14 2017-07-14 A kind of method of adjustment of application program, device, mobile terminal and storage medium Pending CN107357620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710575952.XA CN107357620A (en) 2017-07-14 2017-07-14 A kind of method of adjustment of application program, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710575952.XA CN107357620A (en) 2017-07-14 2017-07-14 A kind of method of adjustment of application program, device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN107357620A true CN107357620A (en) 2017-11-17

Family

ID=60292629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710575952.XA Pending CN107357620A (en) 2017-07-14 2017-07-14 A kind of method of adjustment of application program, device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107357620A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196482A (en) * 2018-01-05 2018-06-22 广东欧珀移动通信有限公司 Power consumption control method, device, storage medium and electronic equipment
CN111324226A (en) * 2018-12-13 2020-06-23 鸿合科技股份有限公司 Touch message processing method and device and electronic equipment
CN116320732A (en) * 2023-04-18 2023-06-23 广州市宏视电子技术有限公司 Solar camera control method and device, solar camera and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004199325A (en) * 2002-12-18 2004-07-15 Sony Corp Information processor
CN103902335A (en) * 2014-03-12 2014-07-02 上海天奕达电子科技有限公司 Method and system for cleaning background programs
CN104239195A (en) * 2014-09-17 2014-12-24 可牛网络技术(北京)有限公司 Method for processing power consumption of electronic equipment, and electronic equipment
CN104503563A (en) * 2014-12-30 2015-04-08 中科创达软件股份有限公司 Electricity saving method and device of electronic equipment
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically clearing background application programs
CN105278370A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Power-saving mode starting method and device
CN105847527A (en) * 2015-06-25 2016-08-10 维沃移动通信有限公司 Method for preventing automatic shutdown of mobile terminal, and mobile terminal
CN105867590A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling applications of mobile terminal
CN106484071A (en) * 2016-09-12 2017-03-08 惠州Tcl移动通信有限公司 A kind of electricity saving method of intelligent terminal and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004199325A (en) * 2002-12-18 2004-07-15 Sony Corp Information processor
CN103902335A (en) * 2014-03-12 2014-07-02 上海天奕达电子科技有限公司 Method and system for cleaning background programs
CN104239195A (en) * 2014-09-17 2014-12-24 可牛网络技术(北京)有限公司 Method for processing power consumption of electronic equipment, and electronic equipment
CN104503563A (en) * 2014-12-30 2015-04-08 中科创达软件股份有限公司 Electricity saving method and device of electronic equipment
CN104866069A (en) * 2015-06-12 2015-08-26 广东小天才科技有限公司 Method and device for automatically clearing background application programs
CN105847527A (en) * 2015-06-25 2016-08-10 维沃移动通信有限公司 Method for preventing automatic shutdown of mobile terminal, and mobile terminal
CN105278370A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Power-saving mode starting method and device
CN105867590A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling applications of mobile terminal
CN106484071A (en) * 2016-09-12 2017-03-08 惠州Tcl移动通信有限公司 A kind of electricity saving method of intelligent terminal and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
人名网: "冬天手机为什么耗电快?看完这篇文章就懂了", 《HTTP://WWW.SOHU.COM/A/121659541_114731》 *
数码思维: "为何冬天手机耗电特别快?如何恢复正常水平?", 《HTTP://M.SOHU.COM/A/118932263_404388/》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196482A (en) * 2018-01-05 2018-06-22 广东欧珀移动通信有限公司 Power consumption control method, device, storage medium and electronic equipment
CN108196482B (en) * 2018-01-05 2022-02-18 Oppo广东移动通信有限公司 Power consumption control method and device, storage medium and electronic equipment
CN111324226A (en) * 2018-12-13 2020-06-23 鸿合科技股份有限公司 Touch message processing method and device and electronic equipment
CN111324226B (en) * 2018-12-13 2024-05-03 鸿合科技股份有限公司 Touch message processing method and device and electronic equipment
CN116320732A (en) * 2023-04-18 2023-06-23 广州市宏视电子技术有限公司 Solar camera control method and device, solar camera and storage medium
CN116320732B (en) * 2023-04-18 2023-12-05 广州市宏视电子技术有限公司 Solar camera control method and device, solar camera and storage medium

Similar Documents

Publication Publication Date Title
US11429880B2 (en) Methods and systems for preloading applications and generating prediction models
EP3502880B1 (en) Method for preloading application, storage medium, and terminal device
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
US10891142B2 (en) Method and device for preloading application, storage medium, and terminal device
CN108595228B (en) Application program prediction model establishing method and device, storage medium and mobile terminal
US10552177B2 (en) Method for preloading application, storage medium, and terminal device
US10908920B2 (en) Method for preloading application, computer readable storage medium, and terminal device
CN107395889A (en) Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption
CN106415296A (en) Adaptive battery life extension
CN109040467A (en) Interface electricity determines method, apparatus, storage medium and mobile terminal
CN107943650A (en) Control method, device, storage medium and the terminal of application program
CN107943269A (en) Schedule job control method, device, terminal device and storage medium
CN107357620A (en) A kind of method of adjustment of application program, device, mobile terminal and storage medium
CN111052040A (en) Method for reducing power consumption of terminal and terminal
CN107479816A (en) Recognition methods, device, storage medium and the mobile terminal of blank screen gesture
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN107843844A (en) A kind of method, terminal and computer-readable recording medium for calibrating charge value
US9489002B2 (en) Providing power to a component
CN107402713A (en) Accelerate method, apparatus, storage medium and the mobile terminal of blank screen gesture processing
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN107766218A (en) system optimization method, device, storage medium and terminal device
WO2019127081A1 (en) Power consumption stabilization method and apparatus for intelligent terminal, and electronic device
CN107943268A (en) Schedule job control method, device, terminal device and storage medium
CN108594705B (en) State detection method and device of mobile terminal, storage medium and mobile terminal
CN107395888A (en) Processing method, device, storage medium and the mobile terminal of blank screen gesture

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117