CN107734618A - Closing application program method, apparatus, storage medium and electronic equipment - Google Patents
Closing application program method, apparatus, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107734618A CN107734618A CN201711050148.6A CN201711050148A CN107734618A CN 107734618 A CN107734618 A CN 107734618A CN 201711050148 A CN201711050148 A CN 201711050148A CN 107734618 A CN107734618 A CN 107734618A
- Authority
- CN
- China
- Prior art keywords
- terminal
- application program
- application
- caloric value
- temperature
- 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.)
- Granted
Links
- 230000005611 electricity Effects 0.000 claims abstract description 35
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 abstract description 12
- 230000006870 function Effects 0.000 description 14
- 238000012545 processing Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 7
- 230000006854 communication Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 239000000446 fuel Substances 0.000 description 4
- 230000001413 cellular effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001816 cooling Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- SYHGEUNFJIGTRX-UHFFFAOYSA-N methylenedioxypyrovalerone Chemical compound C=1C=C2OCOC2=CC=1C(=O)C(CCC)N1CCCC1 SYHGEUNFJIGTRX-UHFFFAOYSA-N 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0264—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application discloses a kind of closing application program method, apparatus, storage medium and electronic equipment;Methods described includes:Caloric value caused by terminal when obtaining each application program operation among terminal respectively, to establish the corresponding relation between each application program and caloric value, when the dump energy of terminal is less than default electricity, obtain the pool of applications that terminal is currently run, destination application, final plant closure destination application are determined according to pool of applications and corresponding relation.The application can be with the caloric value of application program in detection terminal, and the high application program of caloric value is closed when dump energy is less, so as to make mobile phone cool while effectively reduce the power consumption of electronic equipment, lifts the endurance of electronic equipment.
Description
Technical field
The application is related to electronic device field, and in particular to a kind of closing application program method, apparatus, storage medium and electricity
Sub- equipment.
Background technology
With the development of terminal technology, terminal have begun to from simply provided in the past verbal system become gradually one it is logical
With the platform of running software.The platform no longer to provide call management as main purpose, and be to provide one include call management,
Running environment including the types of applications softwares such as Entertainment, office account, mobile payment, it is deep with substantial amounts of popularization
Enter to the every aspect of the life of people, work.
With the continuous development of smart mobile phone, in order to meet the needs of people's routine work and life, more and more should
Appeared in program in smart mobile phone, each application program can consume the central processing unit in smart mobile phone in the process of running
(Central Processing Unit, CPU) resource.After the cpu resource of mobile phone is by a large amount of taken, the fortune not only respectively applied
Line efficiency is affected, and also results in the cpu temperature rise of mobile phone.Often take the high application consumed electricity of cpu resource rate
Amount is also larger, therefore not only caloric value is big for these application programs, also consumes very much electricity.
The content of the invention
The embodiment of the present application provides a kind of closing application program method, apparatus, storage medium and electronic equipment, can reduce
The power consumption of electronic equipment.
In a first aspect, the embodiment of the present application provides a kind of closing application program method, including:
Caloric value caused by terminal when obtaining each application program operation among terminal respectively, it is described each to establish
Corresponding relation between application program and the caloric value;
When the dump energy of the terminal is less than default electricity, the application program collection that the terminal is currently run is obtained
Close;
Destination application is determined according to the pool of applications and the corresponding relation;
Close the destination application.
Second aspect, the embodiment of the present application additionally provide a kind of closing application program device, including:Caloric value obtains mould
Block, set acquisition module, determining module and closedown module;
The caloric value acquisition module, the terminal produces during for obtaining each application program operation among terminal respectively
Caloric value, to establish each corresponding relation between application program and the caloric value;
The set acquisition module, for when the dump energy of the terminal is less than default electricity, obtaining the terminal
The pool of applications currently run;
The determining module, for determining destination application according to the pool of applications and the corresponding relation;
The closedown module, for closing the destination application.
The third aspect, the embodiment of the present application also provide a kind of storage medium, are stored thereon with computer program, the calculating
Machine program realizes the step of above-mentioned closing application program method when being executed by processor.
Fourth aspect, the embodiment of the present application also provide a kind of electronic equipment, including memory, processor and are stored in storage
Realize that above-mentioned application program is closed on device and the computer program that can run on a processor, during the computing device described program
The step of closing method.
The closing application program method that the embodiment of the present application provides obtains each application program fortune among terminal respectively first
Caloric value caused by terminal during row, to establish the corresponding relation between each application program and caloric value, when the residue electricity of terminal
When amount is less than default electricity, the pool of applications that terminal is currently run is obtained, it is true with corresponding relation according to pool of applications
Set the goal application program, final plant closure destination application.The application can with the caloric value of application program in detection terminal, and
Caloric value high application program is closed when dump energy is less, so as to make mobile phone cooling while effectively reduce electronic equipment
Power consumption, lift the endurance of electronic equipment.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for
For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of schematic flow sheet for the closing application program method that the embodiment of the present application provides.
Fig. 2 is a kind of application scenarios schematic diagram for the closing application program method that the embodiment of the present application provides.
Fig. 3 is another schematic flow sheet for the closing application program method that the embodiment of the present application provides.
Fig. 4 is a kind of structural representation for the closing application program device that the embodiment of the present application provides.
Fig. 5 is another structural representation for the closing application program device that the embodiment of the present application provides.
Fig. 6 is a kind of structural representation for the electronic equipment that the embodiment of the present application provides.
Fig. 7 is another structural representation for the electronic equipment that the embodiment of the present application provides.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, and the principle of the application is to implement one
Illustrated in appropriate computing environment.The following description is based on illustrated the application specific embodiment, and it should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application is by with reference to as the step performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes
The computer of finger, which performs, to be included by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.The data or the opening position being maintained in the memory system of the computer are changed in this operation, and its is reconfigurable
Or change the running of the computer in a manner of known to the tester of this area in addition.The data structure that the data are maintained
For the provider location of the internal memory, it has the particular characteristics as defined in the data format.But the application principle is with above-mentioned text
Word illustrates that it is not represented as a kind of limitation, this area tester will appreciate that plurality of step as described below and behaviour
Also may be implemented among hardware.
The principle of the application is grasped using many other wide usages or specific purpose computing, communication environment or configuration
Make.The example of the known arithmetic system for being suitable for the application, environment and configuration may include (but not limited to) hold phone,
Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer
Border, which includes any said system or device.
It will be described in detail respectively below.
The present embodiment will be described from the angle of closing application program device, and the device can specifically be integrated in electronics and set
In standby, the electronic equipment can connect the network equipment (such as smart mobile phone, tablet personal computer) for mobile internet and possess network service work(
The electronic equipment of energy.
With reference first to Fig. 1, Fig. 1 is a kind of schematic flow sheet for the closing application program method that the embodiment of the present application provides,
Comprise the following steps:
Step S101, caloric value caused by terminal when obtaining each application program operation among terminal respectively are every to establish
Corresponding relation between individual application program and caloric value.
During terminal use, different degrees of fuel factor can occur for each hardware circuit, and hardware circuit passes through end
The application program run in end is called, and when caused caloric value is few, does not interfere with normal operation performance and user
Experience, but performance will be had undesirable effect when some hardware circuit temperature are too high, the power consumption for having a strong impact on terminal is cut,
This fractional hardware circuit is just counted as the main pyrotoxin of current mobile terminal using the application program of the hardware circuit.
Among an embodiment, for each application program installed in terminal, computing terminal standby temperature can be used
The method of difference during with only running the application program between terminal temperature is calculated.Wherein, distribution is provided with terminal
Multiple functional circuits, One function circuit may be made up of one or more hardware circuits, and in the running of terminal, respectively
Individual hardware circuit can occur different degrees of fuel factor and produce caloric value, the heating different as terminal of each hardware circuit
Source, its position and institute's bearing function difference, are influenceed difference by fuel factor, therefore real time temperature is different, and corresponding quick
Temperature-sensitive degree is also different.Acquisition terminal temperature can be obtained by heat-sensitive sensor, specifically can be by by heat-sensitive sensor
Device is distributed in each diverse location of terminal, to obtain the real time temperature of multiple positions of terminal, then calculates this multiple temperature in real time
The average value of degree or according to weight ratio computing terminal temperature.
For example as shown in Fig. 2 the higher component of caloric value is often central processor CPU 102, schemed among terminal 100
Shape processor GPU102, camera 101 etc., when the higher application program of running memory occupation value in terminal, cpu temperature can
Can be higher;When the operation application program that image quality is higher or special efficacy is higher in terminal, GPU loads are higher, so that GPU temperature
Degree rise;When the temperature that terminal operating shooting class application program is camera may raise etc..Therefore can take the photograph respectively
As setting heat-sensitive sensor to obtain temperature in real time at head, CPU, GPU, so that according to multiple temperature come the temperature of computing terminal.
In one embodiment, the first temperature of terminal is obtained in terminal standby, is obtained when only running some application program
Take the second temperature of terminal, wherein, the standby start for referring to electronic equipment but without any substantive work (and not to text
The various operations of part and program) state, namely any application program of off-duty.By calculate the first temperature and second temperature it
Between interpolation be that can obtain the caloric value of the application program.Therefore heat can be set at the device such as camera, CPU, GPU respectively
Dependent sensor is to obtain real time temperature to calculate terminal temperature.The heating of each application program in terminal is calculated
The corresponding relation established after amount between each application program and caloric value.
It should be noted that the application program in the embodiment of the present application is third party application, namely third party software,
The third party software refers to the software that the software company beyond nonlinear editing system manufacturer provides, and system should
It may cause the afunction of terminal after closing, therefore the application program that carries of system not application program in this application
Comprising within the scope of.
Step S102, when the dump energy of terminal is less than default electricity, obtain the application program collection that terminal is currently run
Close.
In one embodiment, the step can specifically include:
Obtain terminal current residual electricity;
Judge whether the dump energy is less than default electricity;
If being less than, the pool of applications that the terminal is currently run is obtained.
Specifically, the initial quantity of electricity of terminal be precognition, terminal by run be arranged on terminal on multiple programs or
Certain electricity is consumed using modes such as hardware, then terminal can obtain the dump energy of terminal according to various ways, such as:Directly
The dump energy using the dump energy of power supply in terminal as terminal is connect, in actual applications, electricity is internally provided with power supply
Gauge, for indicate power supply dump energy and in certain operating conditions power supply can also continued power time, wherein electricity
Gauge mainly with detection mode have voltage test method, fuel cell modelling method, Coulomb meter etc., be not specifically limited herein.
In one embodiment, can detection terminal power supply in real time dump energy, can also timing detection terminal power supply
Dump energy, can also be adjusted by user according to being actually needed, for example, 9:00 to 20:At interval of one hour in 00
The dump energy of cellular phone power supplies is detected, 20:00 to next day 9:The dump energy of cellular phone power supplies is detected in 00 in real time;Or
22:Dump energy of 00 timing detection cellular phone power supplies etc..Preferably, the residue electricity of the power supply of timing detection terminal can be selected
Amount, to save energy consumption, for example, the dump energy per the power supply for detecting a terminal every other hour.
In the embodiment of the present invention, after the dump energy of terminal is obtained, by judging whether the dump energy of terminal is less than
Default electricity decides whether to close application program, wherein, the default electricity be terminal according to actual conditions it is default or
Person is user-defined, is not specifically limited herein.If the dump energy of terminal is less than default electricity, obtains terminal and currently transport
Capable pool of applications, if the dump energy of terminal is not less than default electricity, it is determined that terminal need not close application program, directly
Binding line journey.
Wherein, obtaining the application program that terminal is currently run can be obtained by application identities, wherein, using mark
The unique mark for the application for referring to be installed in terminal is known, so as to be identified with application of the application identities to terminal.Specifically
Ground, in some possible embodiments of the invention, opened application identities can be recorded when terminal is opened and applied.
Step S103, destination application is determined according to the pool of applications and the corresponding relation.
Among an embodiment, the application program in above-mentioned corresponding relation can be ranked up according to caloric value, wherein
Caloric value also thinks that temperature variation can also be thermal change amount, thus its unit can be joule or degree Celsius, also may be used
With by degree Celsius variable quantity be converted into joule etc..For example the temperature variation of A application programs is 5 DEG C, B application programs
Temperature variation be 3 DEG C, the temperature variation of C application programs be 10 DEG C, can be by above-mentioned application program according to temperature change
The size of amount is simultaneously ranked up from big to small, namely C application programs, A application programs, B application programs.
Further, the application program in pool of applications is arranged according to corresponding relation and according to clooating sequence
Sequence, the application program for the higher predetermined number that sorts is defined as destination application.
Certainly, can also be directly according to the caloric value in corresponding relation to pool of applications among some embodiments
In application program be ranked up, to obtain ranking results, then in ranking results choose predetermined number and sequence it is higher
Application program seating target application program.
Step S104, close destination application.
In one embodiment, it is default application program that can also pre-set some important application programs, then
First judge whether the destination application is default application program before destination application is closed, if it is not, then continuing executing with
The step of closing destination application.It can so avoid closing the application program more important to user, so as to cause to miss
Information data.Wherein, above-mentioned default application program can voluntarily be added by user and can also set automatically by system, the application couple
This does not do further restriction.
In actual use, there may be the situation that the destination application is used in user, the mesh is now closed
Mark application program may influence user's use, therefore can also generate a prompt message before the application program is closed and show
In terminal screen, for example " whether closing XX applications " continues to close if user clicks on "Yes", stops if user clicks on "No"
Only close the application program.
From the foregoing, it will be observed that when the embodiment of the present application can obtain each application program operation among terminal respectively caused by terminal
Caloric value, to establish the corresponding relation between each application program and caloric value, when the dump energy of terminal is less than default electricity
When, the pool of applications that terminal is currently run is obtained, destination application is determined according to pool of applications and corresponding relation,
Final plant closure destination application.The application can be with the caloric value of application program in detection terminal, and when dump energy is less
The high application program of caloric value is closed, so as to make mobile phone cool while effectively reduce the power consumption of electronic equipment, lifting is electric
The endurance of sub- equipment.
According to the description of a upper embodiment, illustrate the closing application program method of the application by further below.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet for another closing application program method that the embodiment of the present application provides,
In the present embodiment, Internet video download instruction can include multiple Internet videos, comprise the following steps:
Step S201, caloric value caused by terminal when obtaining each application program operation among terminal respectively are every to establish
Corresponding relation between individual application program and caloric value.
Wherein, obtaining respectively can be specific the step of caloric value caused by terminal when each application program is run among terminal
Including:
First temperature of the terminal in holding state is obtained, the holding state is terminal off-duty third party application
State;
Obtain second temperature of the terminal when running an application program;
The caloric value of application program is calculated according to the first temperature and second temperature.
Wherein, the step of obtaining the first temperature of the terminal in holding state can specifically include:Gather the end
The temperature of each pyrotoxin of terminal diverse location in holding state is held, according to the temperature computation of each pyrotoxin eventually
First temperature at end.
Acquisition terminal temperature can be obtained by heat-sensitive sensor, specifically can be by the way that heat-sensitive sensor is distributed
In each diverse location of terminal, to obtain the real time temperature of multiple positions of terminal, the flat of this multiple real time temperature is then calculated
Average or according to weight ratio computing terminal temperature.For example temperature-sensitive can be set at the device such as camera, CPU, GPU respectively
Sensor is to obtain real time temperature to calculate terminal temperature.The caloric value of each application program in terminal is calculated
The corresponding relation established afterwards between each application program and caloric value.
Step S202, when the dump energy of terminal is less than default electricity, obtain the application program collection that terminal is currently run
Close.
In the embodiment of the present invention, after the dump energy of terminal is obtained, by judging whether the dump energy of terminal is less than
Default electricity decides whether to close application program, wherein, the default electricity be terminal according to actual conditions it is default or
Person is user-defined, is not specifically limited herein.If the dump energy of terminal is less than default electricity, obtains terminal and currently transport
Capable pool of applications, if the dump energy of terminal is not less than default electricity, it is determined that terminal need not close application program, directly
Binding line journey.
Step S203, the application program in pool of applications is ranked up according to the caloric value in corresponding relation, with
Obtain ranking results.
For example pool of applications includes A application programs, B application programs and C application programs, wherein caloric value also with
Can also be thermal change amount for temperature variation, thus its unit can be joule or degree Celsius, can also be by Celsius
The variable quantity of degree is converted into joule etc..For example the temperature variation of A application programs is 5 DEG C, the temperature change of B application programs
The temperature variation measured as 3 DEG C, C application programs is 10 DEG C, can by above-mentioned application program according to temperature variation size simultaneously
It is ranked up from big to small, i.e. C application programs, A application programs, B application programs.
Step S204, determine the default dump energy section where dump energy.
In one embodiment, dump energy that can be directly using the dump energy of power supply in terminal as terminal, in reality
In, voltameter is internally provided with power supply, for indicating the dump energy of power supply.
Step S205, obtain destination application quantity corresponding to default dump energy section.
In one embodiment, the embodiment of the present invention can also preset multiple default dump energy sections, and each default surplus
The corresponding quantity information in remaining electricity section, for example quantity information corresponding to dump energy 1%-10% sections is 3, dump energy
Quantity information corresponding to 11%-20% sections is 2, and quantity information corresponding to dump energy 21%-30% sections is 1, if currently
Dump energy is 18% and determines that its corresponding destination application quantity is 2.
Step S206, destination application is determined according to ranking results and quantity.
For example the quantity of destination application is 2, then two application programs for choosing highest priority in ranking results are
Destination application.
Step S207, close destination application.
In one embodiment, it is default application program that can also pre-set some important application programs, then
First judge whether the destination application is default application program before destination application is closed, if it is not, then continuing executing with
The step of closing destination application.It can so avoid closing the application program more important to user, so as to cause to miss
Information data.Wherein, above-mentioned default application program can voluntarily be added by user and can also set automatically by system, the application couple
This does not do further restriction.
From the foregoing, it will be observed that when the embodiment of the present application can obtain each application program operation among terminal respectively caused by terminal
Caloric value, to establish the corresponding relation between each application program and caloric value, when the dump energy of terminal is less than default electricity
When, the pool of applications that terminal is currently run is obtained, according to the caloric value in corresponding relation to answering in pool of applications
It is ranked up with program, to obtain ranking results, determines the default dump energy section where dump energy, obtains default residue
Destination application quantity corresponding to electricity section, destination application is determined according to ranking results and the quantity, closes mesh
Mark application program.The application can be with the caloric value of application program in detection terminal, and closes caloric value when dump energy is less
High application program, so as to make mobile phone cool while effectively reduce the power consumption of electronic equipment, lift the continuous of electronic equipment
Boat ability.
For the ease of preferably implementing the closing application program method that the embodiment of the present application provides, the embodiment of the present application also carries
A kind of device based on above-mentioned closing application program method is supplied.Wherein in the implication of noun and above-mentioned closing application program method
Identical, specific implementation details may be referred to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is a kind of structural representation for closing application program device that the embodiment of the present application provides, should
Closing application program device 30 includes:Caloric value acquisition module 301, set acquisition module 302, determining module 303 and closing
Module 304;
The caloric value acquisition module 301, during for obtaining each application program operation among terminal respectively caused by terminal
Caloric value, to establish the corresponding relation between each application program and caloric value;
The set acquisition module 302, for when the dump energy of terminal is less than default electricity, obtaining terminal and currently running
Pool of applications;
The determining module 303, for determining destination application according to pool of applications and corresponding relation;
The closedown module 304, for closing destination application.
With continued reference to Fig. 5, among an embodiment, above-mentioned caloric value acquisition module 301 specifically includes:First obtains submodule
Block 3011, the second acquisition submodule 3012 and calculating sub module 3013;
First acquisition submodule 3011, for obtaining first temperature of the terminal in holding state, holding state is eventually
Hold the state of off-duty third party application;
Second acquisition submodule 3012, for obtaining second temperature of the terminal when running an application program;
The calculating sub module 3013, for calculating the caloric value of application program according to the first temperature and second temperature.
Above-mentioned determining module 303 can specifically include:Sorting sub-module 3031, the first determination sub-module 3032 and second
Determination sub-module 3033;
The sorting sub-module 3031, for according to the caloric value in corresponding relation to the application program in pool of applications
It is ranked up, to obtain ranking results;
First determination sub-module 3032, for determining the quantity of destination application according to dump energy;
Second determination sub-module 3033, for determining destination application according to ranking results and quantity.
From the foregoing, it will be observed that the closing application program device 30 that the embodiment of the present application provides can be by caloric value acquisition module 301
Caloric value caused by terminal when obtaining each application program operation among terminal respectively, to establish each application program and caloric value
Between corresponding relation, set acquisition module 302 obtains terminal and currently runs when the dump energy of terminal is less than default electricity
Pool of applications, determining module 303 determines destination application, final plant closure according to pool of applications and corresponding relation
Module 304 closes destination application.The application can be and less in dump energy with the caloric value of application program in detection terminal
When close the high application program of caloric value, so as to make mobile phone cooling while effectively reduce the power consumption of electronic equipment, lifting
The endurance of electronic equipment.
The application also provides a kind of storage medium, is stored thereon with computer program, it is characterised in that the computer journey
The closing application program method that implementation method embodiment provides when sequence is executed by processor.
The application also provides a kind of electronic equipment, including memory, and processor and storage on a memory and can handled
The computer program run on device, it is characterised in that implementation method embodiment provides during the computing device described program
Closing application program method.
A kind of electronic equipment is also provided in the another embodiment of the application, the electronic equipment can be smart mobile phone, flat board
Apparatus such as computer.As shown in fig. 6, electronic equipment 400 includes processor 401, memory 402.Wherein, processor 401 and storage
Device 402 is electrically connected with.
Processor 401 is the control centre of electronic equipment 400, utilizes various interfaces and the whole electronic equipment of connection
Various pieces, by the application program of operation or load store in memory 402, and call and be stored in memory 402
Data, the various functions and processing data of electronic equipment are performed, so as to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 401 in electronic equipment 400 can according to the steps, by one or one with
On application program process corresponding to instruction be loaded into memory 402, and be stored in memory by processor 401 to run
Application program in 402, so as to realize various functions:
Caloric value caused by terminal when obtaining each application program operation among terminal respectively, it is described each to establish
Corresponding relation between application program and the caloric value;
When the dump energy of the terminal is less than default electricity, the application program collection that the terminal is currently run is obtained
Close;
Destination application is determined according to the pool of applications and the corresponding relation;
Close the destination application.
Referring to Fig. 7, Fig. 7 is the electronic devices structure schematic diagram that the embodiment of the present application provides.The electronic equipment 500 can be with
Including radio frequency (RF, Radio Frequency) circuit 501, include one or more computer-readable recording mediums
Memory 502, input block 503, display unit 504, sensor 504, voicefrequency circuit 506, Wireless Fidelity (WiFi,
Wireless Fidelity) module 507, include one or the processor 508 and power supply of more than one processing core
509 grade parts.It will be understood by those skilled in the art that the electronic devices structure shown in Fig. 7 is not formed to electronic equipment
Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Radio circuit 501 can be used for receive and send messages, or in communication process signal reception and transmission, especially, by base station
Downlink information receive after, transfer to one or more than one processor 508 handled;In addition, sent up data are related to
To base station.Generally, radio circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibrations
Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification
Device (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 501 can also pass through radio communication and network
Communicated with other equipment.The radio communication can use any communication standard or agreement, including but not limited to global mobile communication
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storage application program and data.Include and can hold in the application program that memory 502 stores
Line code.Application program can form various functions module.Processor 508 is stored in the application journey of memory 502 by operation
Sequence, so as to perform various function application and data processing.Memory 502 can mainly include storing program area and data storage
Area, wherein, storing program area can storage program area, needed at least one function application program (such as sound-playing function,
Image player function etc.) etc.;Storage data field can store uses created data (such as audio number according to electronic equipment
According to, phone directory etc.) etc..In addition, memory 502 can include high-speed random access memory, non-volatile deposit can also be included
Reservoir, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory
502 can also include Memory Controller, to provide the access of processor 508 and input block 503 to memory 502.
Input block 503 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.Specifically
Ground, in a specific embodiment, input block 503 may include touch sensitive surface and other input equipments.Touch sensitive surface,
Referred to as touch display screen or Trackpad, collect user on or near it touch operation (such as user using finger, touch
The operations of any suitable object or annex on touch sensitive surface or near touch sensitive surface such as pen), and according to set in advance
Formula drives corresponding attachment means.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.
Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, transmit a signal to touch
Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing
Device 508, and the order sent of reception processing device 508 and can be performed.
Display unit 504 can be used for display by the information of user's input or be supplied to the information and electronic equipment of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 504 may include display panel.Optionally, liquid crystal display (LCD, Liquid Crystal can be used
Display), the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configures display surface
Plate.Further, touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it,
Processor 508 is sent to determine the type of touch event, is followed by subsequent processing device 508 according to the type of touch event in display panel
It is upper that corresponding visual output is provided.Although in the figure 7, touch sensitive surface is realized with display panel is the part independent as two
Input and input function, but it is in some embodiments it is possible to touch sensitive surface and display panel is integrated and realize and input and defeated
Go out function.
Electronic equipment may also include at least one sensor 505, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel, and proximity transducer can close display surface when electronic equipment is moved in one's ear
Plate and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles)
The size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture is (such as vertical and horizontal
Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for electronics
The other sensors such as gyroscope that equipment can also configure, barometer, hygrometer, thermometer, infrared ray sensor, it is no longer superfluous herein
State.
Voicefrequency circuit 506 can provide the COBBAIF between user and electronic equipment by loudspeaker, microphone.Audio-frequency electric
The voice data received can be converted into electric signal by road 506, be transferred to loudspeaker, and it is defeated to be converted to voice signal by loudspeaker
Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio is converted to after being received by voicefrequency circuit 506
Data, then after voice data output processor 508 is handled, through radio circuit 501 to be sent to such as another electronic equipment, or
Person exports voice data to memory 502 further to handle.Voicefrequency circuit 506 is also possible that earphone jack, to carry
For the communication of peripheral hardware earphone and electronic equipment.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and electronic equipment can be with by wireless fidelity module 507
Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.Although Fig. 7 shows wireless fidelity module 507, but it is understood that, it is simultaneously not belonging to the necessary structure of electronic equipment
Into can be omitted as needed in the essential scope for do not change invention completely.
Processor 508 is the control centre of electronic equipment, utilizes each of various interfaces and the whole electronic equipment of connection
Individual part, by running or performing the application program being stored in memory 502, and call and be stored in memory 502
Data, the various functions and processing data of electronic equipment are performed, so as to carry out integral monitoring to electronic equipment.Optionally, handle
Device 508 may include one or more processing cores;Preferably, processor 508 can integrate application processor and modulation /demodulation processing
Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located
Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 508.
Electronic equipment also includes the power supply 509 (such as battery) to all parts power supply.Preferably, power supply can pass through electricity
Management system and processor 508 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 509 can also include one or more direct current or AC power, recharging system, power supply event
The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 7, electronic equipment can also include camera, bluetooth module etc., will not be repeated here.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made
Realized for same or several entities, the specific implementation of above modules can be found in embodiment of the method above, herein not
Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are by program the hardware of correlation can be instructed to complete, and the program can be stored in computer-readable storage medium
In matter, such as it is stored in the memory of terminal, and by least one computing device in the terminal, can wraps in the process of implementation
Include the flow of the embodiment such as information issuing method.Wherein, storage medium can include:Read-only storage (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of closing application program method, apparatus, storage medium and the electronic equipment provided above the embodiment of the present application
It is described in detail, its each functional module can be integrated in a process chip or the independent physics of modules
In the presence of, can also two or more modules be integrated in a module.Above-mentioned integrated module can both use hardware
Form is realized, can also be realized in the form of software function module.Principle of the specific case to the application used herein
And embodiment is set forth, the explanation of above example is only intended to help and understands that the present processes and its core are thought
Think;Meanwhile for those skilled in the art, according to the thought of the application, can in specific embodiments and applications
There is change part, in summary, this specification content should not be construed as the limitation to the application.
Claims (10)
- A kind of 1. closing application program method, it is characterised in that comprise the following steps:Caloric value caused by terminal when obtaining each application program operation among terminal respectively, to establish each application Corresponding relation between program and the caloric value;When the dump energy of the terminal is less than default electricity, the pool of applications that the terminal is currently run is obtained;Destination application is determined according to the pool of applications and the corresponding relation;Close the destination application.
- 2. closing application program method as claimed in claim 1, it is characterised in that described obtain respectively among terminal each should Specifically included when being run with program caused by the terminal the step of caloric value:First temperature of the terminal in holding state is obtained, the holding state is the terminal off-duty third-party application The state of program;Obtain second temperature of the terminal when running an application program;The caloric value of the application program is calculated according to first temperature and second temperature.
- 3. closing application program method as claimed in claim 2, it is characterised in that described to obtain the terminal in holding state When the first temperature the step of specifically include:Gather the temperature of the terminal each pyrotoxin of terminal diverse location in holding state;According to the first temperature of terminal described in the temperature computation of each pyrotoxin.
- 4. closing application program method as claimed in claim 1, it is characterised in that it is described according to the pool of applications with The step of corresponding relation determines destination application specifically includes:The application program in the pool of applications is ranked up according to the caloric value in the corresponding relation, to be arranged Sequence result;The quantity of destination application is determined according to the dump energy;The destination application is determined according to the ranking results and the quantity.
- 5. closing application program method as claimed in claim 4, it is characterised in that described that mesh is determined according to the dump energy The step of quantity for marking application program, specifically includes:Determine the default dump energy section where the dump energy;Obtain destination application quantity corresponding to the default dump energy section.
- A kind of 6. closing application program device, it is characterised in that including:Caloric value acquisition module, gather acquisition module, determine mould Block and closedown module;The caloric value acquisition module, hair caused by terminal during for obtaining each application program operation among terminal respectively Heat, to establish each corresponding relation between application program and the caloric value;The set acquisition module, for when the dump energy of the terminal is less than default electricity, it is current to obtain the terminal The pool of applications of operation;The determining module, for determining destination application according to the pool of applications and the corresponding relation;The closedown module, for closing the destination application.
- 7. closing application program device as claimed in claim 6, it is characterised in that the caloric value acquisition module specifically wraps Include:First acquisition submodule, the second acquisition submodule and calculating sub module;First acquisition submodule, for obtaining first temperature of the terminal in holding state, the holding state is The state of the terminal off-duty third party application;Second acquisition submodule, for obtaining second temperature of the terminal when running an application program;The calculating sub module, for calculating the caloric value of the application program according to first temperature and second temperature.
- 8. closing application program device as claimed in claim 6, it is characterised in that the determining module specifically includes:Sequence Submodule, the first determination sub-module and the second determination sub-module;The sorting sub-module, for according to the caloric value in the corresponding relation to the application journey in the pool of applications Sequence is ranked up, to obtain ranking results;First determination sub-module, for determining the quantity of destination application according to the dump energy;Second determination sub-module, for determining the destination application according to the ranking results and the quantity.
- 9. a kind of storage medium, is stored thereon with computer program, it is characterised in that the computer program is executed by processor The step of Shi Shixian such as any one of claim 1-5 methods describeds.
- 10. a kind of electronic equipment, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realized during the computing device described program such as the step of any one of claim 1-5 methods described Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711050148.6A CN107734618B (en) | 2017-10-31 | 2017-10-31 | Application program closing method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711050148.6A CN107734618B (en) | 2017-10-31 | 2017-10-31 | Application program closing method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107734618A true CN107734618A (en) | 2018-02-23 |
CN107734618B CN107734618B (en) | 2021-01-15 |
Family
ID=61202062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711050148.6A Expired - Fee Related CN107734618B (en) | 2017-10-31 | 2017-10-31 | Application program closing method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107734618B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266098A (en) * | 2019-05-30 | 2019-09-20 | 浙江联海美膳电子商务有限公司 | A kind of method for managing power supply of food-product vending machines |
CN110727561A (en) * | 2019-10-22 | 2020-01-24 | Oppo广东移动通信有限公司 | Abnormal heat dissipation detection method and device, terminal and storage medium |
CN110955580A (en) * | 2019-12-09 | 2020-04-03 | Oppo广东移动通信有限公司 | Method, device, storage medium and electronic device for acquiring temperature of casing |
CN114205451A (en) * | 2021-12-13 | 2022-03-18 | 湖南汽车工程职业学院 | Processing system for shielding mobile phone standby program |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2765481A1 (en) * | 2011-10-09 | 2014-08-13 | Huizhou Tcl Mobile Communication Co., Ltd. | Mobile terminal and method for adjusting operation load of mobile terminal |
CN104199727A (en) * | 2014-08-14 | 2014-12-10 | 北京金山安全软件有限公司 | Method and device for reducing terminal temperature and terminal |
CN104267995A (en) * | 2014-09-30 | 2015-01-07 | 北京金山安全软件有限公司 | Application processing method and device and terminal |
CN106095063A (en) * | 2016-06-15 | 2016-11-09 | 乐视控股(北京)有限公司 | The power consumption management method of mobile terminal and power consumption management system |
CN107168109A (en) * | 2016-03-07 | 2017-09-15 | 中兴通讯股份有限公司 | The adaptive cool-down method and device of a kind of mobile terminal |
CN107249081A (en) * | 2017-06-27 | 2017-10-13 | 广东欧珀移动通信有限公司 | Mobile terminal and its management method, computer-readable recording medium |
-
2017
- 2017-10-31 CN CN201711050148.6A patent/CN107734618B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2765481A1 (en) * | 2011-10-09 | 2014-08-13 | Huizhou Tcl Mobile Communication Co., Ltd. | Mobile terminal and method for adjusting operation load of mobile terminal |
CN104199727A (en) * | 2014-08-14 | 2014-12-10 | 北京金山安全软件有限公司 | Method and device for reducing terminal temperature and terminal |
CN104267995A (en) * | 2014-09-30 | 2015-01-07 | 北京金山安全软件有限公司 | Application processing method and device and terminal |
CN107168109A (en) * | 2016-03-07 | 2017-09-15 | 中兴通讯股份有限公司 | The adaptive cool-down method and device of a kind of mobile terminal |
CN106095063A (en) * | 2016-06-15 | 2016-11-09 | 乐视控股(北京)有限公司 | The power consumption management method of mobile terminal and power consumption management system |
CN107249081A (en) * | 2017-06-27 | 2017-10-13 | 广东欧珀移动通信有限公司 | Mobile terminal and its management method, computer-readable recording medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266098A (en) * | 2019-05-30 | 2019-09-20 | 浙江联海美膳电子商务有限公司 | A kind of method for managing power supply of food-product vending machines |
CN110266098B (en) * | 2019-05-30 | 2020-11-10 | 浙江联海美膳电子商务有限公司 | Power supply management method of food vending machine |
CN110727561A (en) * | 2019-10-22 | 2020-01-24 | Oppo广东移动通信有限公司 | Abnormal heat dissipation detection method and device, terminal and storage medium |
CN110955580A (en) * | 2019-12-09 | 2020-04-03 | Oppo广东移动通信有限公司 | Method, device, storage medium and electronic device for acquiring temperature of casing |
CN110955580B (en) * | 2019-12-09 | 2023-10-03 | Oppo广东移动通信有限公司 | Shell temperature acquisition method and device, storage medium and electronic equipment |
CN114205451A (en) * | 2021-12-13 | 2022-03-18 | 湖南汽车工程职业学院 | Processing system for shielding mobile phone standby program |
CN114205451B (en) * | 2021-12-13 | 2023-06-09 | 湖南汽车工程职业学院 | Processing system for shielding standby program of mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN107734618B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107800651A (en) | Closing application program method, apparatus, storage medium and electronic equipment | |
CN110212607B (en) | Charging control method and related product | |
CN107734616A (en) | Closing application program method, apparatus, storage medium and electronic equipment | |
CN108430101A (en) | Antenna method for closing, device, storage medium and electronic equipment | |
CN103473092B (en) | A kind of download the processing method of application, device and terminal unit | |
CN104679969A (en) | Method and device for avoiding user churn | |
CN103605077B (en) | Predetermined battery recognition methods, device and electronic equipment | |
CN109029768A (en) | Temperature-prompting method, apparatus, storage medium and the electronic equipment of electronic equipment | |
CN107734618A (en) | Closing application program method, apparatus, storage medium and electronic equipment | |
CN106786962A (en) | Charge control method, device and terminal | |
CN107450029B (en) | Battery state checking method and device, computer equipment and computer readable storage medium | |
CN107172671A (en) | A kind of channel switching method, device, storage medium and terminal | |
CN107302628A (en) | The control method and Related product of application function | |
CN107040610A (en) | Method of data synchronization, device, storage medium, terminal and server | |
CN106293308A (en) | A kind of unlocking screen method and device | |
CN104077211A (en) | Test method and test system for mobile terminal software | |
CN109062468A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN108958606A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN107219951A (en) | Touch screen control method, device, storage medium and terminal device | |
CN109062466A (en) | Split screen window adjusting method, device, storage medium and electronic equipment | |
CN109067981A (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN104166646A (en) | Method and device for inputting uniform resource locator | |
CN108932094A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN105094501A (en) | Display method, device and system for messages in mobile terminal | |
CN103674314A (en) | Power source, electronic device and temperature detection method |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210115 |