CN105824631A - Control method of application program and terminal - Google Patents
Control method of application program and terminal Download PDFInfo
- Publication number
- CN105824631A CN105824631A CN201610150062.XA CN201610150062A CN105824631A CN 105824631 A CN105824631 A CN 105824631A CN 201610150062 A CN201610150062 A CN 201610150062A CN 105824631 A CN105824631 A CN 105824631A
- Authority
- CN
- China
- Prior art keywords
- application program
- threshold value
- memory usage
- terminal
- occupancy threshold
- 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
Links
Classifications
-
- 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/4401—Bootstrapping
- G06F9/442—Shutdown
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a control method of an application program and a terminal. The control method comprises the following steps: detecting whether an application program of which the memory occupancy rate is greater than a preset occupancy rate exists in at least one application program after the memory occupancy rate currently corresponding to at least one application program arranged in the terminal is obtained by the terminal; finally controlling the application program of which the memory occupancy rate is greater than the preset occupancy rate to be closed if the situation that the application program of which the memory occupancy rate is greater than the preset occupancy rate exists in the at least one application program is detected. In the embodiment of the invention, the terminal can obtain the memory occupancy rate currently corresponding to the at least one application program in real time and can close the application program of which the memory occupancy rate is greater than the preset occupancy threshold value, so that current usable running memory of the terminal can be added, and the running speed of the terminal can be increased.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of application control method and terminal.
Background technology
Along with the fast development of electronic technology and popularizing rapidly of terminal, the function of terminal is the most perfect, and the application program installed in terminal is the most increasing.As a example by mobile phone terminal, can install application program of taking pictures, address list application program and chat application etc. in mobile phone terminal, user can start any one or more application program as required.But, find in actual applications, each application program the most all can take the running memory of mobile phone terminal, and the application program of startup is the most in mobile phone terminal, it is the most that the running memory of mobile phone terminal will be occupied, even can be not enough because of the running memory of mobile phone terminal, and occur that the mobile phone terminal speed of service slows down or blocks situation about timing.
Summary of the invention
Embodiments provide a kind of application control method and terminal, by increasing capacitance it is possible to increase the running memory that terminal is currently available.
The embodiment of the invention discloses a kind of application control method, including:
Obtain the memory usage that at least one application program installed in the terminal is currently corresponding;
Whether detection at least one application program described exists memory usage more than the application program presetting occupancy threshold value;
If detection at least one application program described exists the memory usage application program more than described default occupancy threshold value, then control the described memory usage closing application program more than described default occupancy threshold value.
Correspondingly, the embodiment of the invention also discloses a kind of terminal, including:
Acquiring unit, for obtaining the memory usage that at least one application program installed in the terminal is currently corresponding;
Detector unit, for detecting at least one application program described whether there is memory usage more than the application program presetting occupancy threshold value;
Control unit, if there is the memory usage application program more than described default occupancy threshold value in detection at least one application program described, controls the described memory usage closing application program more than described default occupancy threshold value.
In the embodiment of the present invention, terminal is after obtaining the memory usage that at least one application program installed in the terminal is currently corresponding;Can detect and whether at least one application program exist memory usage more than the application program presetting occupancy threshold value;If detecting the application program that there is memory usage at least one application program more than presetting occupancy threshold value, memory usage the most finally can be controlled more than the closing application program presetting occupancy threshold value.In embodiments of the present invention, terminal can obtain the memory usage that at least one application program is currently corresponding in real time, and can be by memory usage more than the closing application program presetting occupancy threshold value such that it is able to increase the running memory that terminal is currently available, to improve the speed of service of terminal.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of application control method disclosed in the embodiment of the present invention;
Fig. 2 a is the schematic flow sheet of another kind of application control method disclosed in the embodiment of the present invention;
Fig. 2 b is a kind of application program memory usage output schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of application control method and terminal, in embodiments of the present invention, terminal can obtain the memory usage that at least one application program is currently corresponding in real time, and can be by memory usage more than the closing application program presetting occupancy threshold value, it is thus possible to increase the running memory that terminal is currently available, to improve the speed of service of terminal;It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of application control method disclosed in the embodiment of the present invention.Wherein, during the method shown in Fig. 1 goes for the terminals such as smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, palm PC and mobile internet device (MobileInternetDevices, MID).As it is shown in figure 1, this application control method may comprise steps of:
101, the memory usage that at least one application program installed in the terminal is currently corresponding is obtained.
In the embodiment of the present invention, memory usage can be the ratio of the current desired running memory of this application program and total internal memory of terminal;Can also be the ratio of the current desired running memory of this application program running memory currently available with terminal;Can also is that the ratio of total available running memory of the current desired running memory of this application program and terminal;The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, at least one application program in the terminal is installed and mainly includes currently application program in the terminal being also installed, do not include unloaded application program.
102, detect and whether at least one application program exists memory usage more than the application program presetting occupancy threshold value.
In the embodiment of the present invention, can pre-set a default occupancy threshold value in the terminal, wherein, this default occupancy threshold value can be that user is set as required;Can also be that terminal is set according to the history setting record of user;Can also is that terminal is set according to total internal memory of terminal;Can also is that terminal is set according to total available running memory of terminal;Can also is that terminal is set according to total available running memory of terminal;The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, owing to the calculation of occupancy corresponding to application program is the most unique, and the setting means of default occupancy threshold value is the most unique, memory usage whether is there is more than the application program presetting occupancy threshold value in order to ensure terminal detection to install in application program in the terminal, then should ensure that the calculation of the occupancy of application program should be mated with the setting means of default occupancy threshold value when detection.For example, the occupancy of application program is the ratio of the current desired running memory of the application program running memory currently available with terminal, then only having above-mentioned default occupancy threshold value is the total available running memory according to terminal when being set, and could be referred to as to mate.
If 103 detect the application program that there is memory usage at least one application program more than presetting occupancy threshold value, then control memory usage more than the closing application program presetting occupancy threshold value.
In the embodiment of the present invention, at least one application program exists memory usage more than the application program presetting occupancy threshold value if detecting, then explanation is arranged on the application program of terminal has and has much occupied a lot of running memory, because, in order to avoid because of running memory deficiency, and the situation causing terminal operating speed to slow down occurs, then can control memory usage more than the closing application program presetting occupancy threshold value.
In FIG, terminal is described in detail after obtaining the memory usage that at least one application program installed in the terminal is currently corresponding;Can detect and whether at least one application program exist memory usage more than the application program presetting occupancy threshold value;If detecting the application program that there is memory usage at least one application program more than presetting occupancy threshold value, memory usage the most finally can be controlled more than the closing application program presetting occupancy threshold value.In embodiments of the present invention, terminal can obtain the memory usage that in terminal, at least one application program is currently corresponding in real time, and can be by memory usage more than the closing application program presetting occupancy threshold value, it is thus possible to increase the running memory that terminal is currently available, to improve the speed of service of terminal.
Referring to Fig. 2 a, Fig. 2 a is the schematic flow sheet of another kind of application control method disclosed in the embodiment of the present invention.As shown in Figure 2 a, this application control method may comprise steps of:
201, the memory usage that at least one application program installed in the terminal is currently corresponding is obtained.
In the embodiment of the present invention, memory usage can be the ratio of the current desired running memory of this application program and total internal memory of terminal;Can also be the ratio of the current desired running memory of this application program running memory currently available with terminal;Can also is that the ratio of total available running memory of the current desired running memory of this application program and terminal;The embodiment of the present invention is not construed as limiting.
202, detect and whether at least one application program exists memory usage more than the application program presetting occupancy threshold value.
If 203 detect the application program that there is not memory usage at least one application program more than presetting occupancy threshold value, on the display interface of terminal, export, according to default display rule, the memory usage that at least one application program is currently corresponding.
In the embodiment of the present invention, the display rule preset includes that the height of the memory usage corresponding according to application program carries out showing, carrying out one or more in showing and showing according to the set-up time sequencing that application program is corresponding according to the operation frequency height that application program is corresponding.
Specifically, at least one application program does not exist memory usage more than the application program presetting occupancy threshold value if detecting, then illustrate that the running memory shared by least one application program above-mentioned is currently is not a lot, therefore, terminal can export, according to default display rule, the memory usage that at least one application program is currently corresponding on the display interface of terminal, operates as required for user.It is a kind of application program memory usage output schematic diagram that the embodiment of the present invention provides that detailed description can further regard to Fig. 2 b, Fig. 2 b.Wherein, capitalization English letter shown in Fig. 2 b represents application name, Arabic numerals represent current memory usage, each application program is respectively marked with " X ", this be one for the entrance inputting shutoff operation, that is, when user needs to close some application program, then the application program of correspondence can be closed by this mark of touch-control.As shown in Figure 2 b, terminal demonstration interface shows application A, application program B, application program C, application program D, application program E and application program F.Wherein, the current memory usage of application A is 16, memory usage current for application program B is 10, memory usage current for application program C is 25, memory usage current for application program D is 4, memory usage current for application program E is 42, and memory usage current for application program F is 16.Wherein, it is noted that above-mentioned memory usage is percentage ratio, it is intended merely to show relatively simple, does not the most represent with percent.
Further, when showing the memory usage of application program, it is also possible to be not all its different color of mark according to memory usage.For example, marking by blueness when memory usage is 0%~10%, memory usage is 11%~30% and marks by green, and memory usage is 31%~50% and marks by redness, and memory usage is more than 50%, then can mark by yellow.
As the optional embodiment of one, if terminal detects the application program that there is memory usage at least one application program more than presetting occupancy threshold value, then terminal can perform following steps:
11) memory usage quantity more than the application program presetting occupancy threshold value is obtained;
12) whether detection memory usage is more than predetermined number threshold value more than the quantity of the application program presetting occupancy threshold value;
13) if detection memory usage is more than predetermined number threshold value more than the quantity of the application program presetting occupancy threshold value, display interface display memory occupancy in terminal is more than the icon of the application program presetting occupancy threshold value, and detects the touch control operation of the icon of the certain applications program that user is more than in the application program presetting occupancy threshold value for memory usage;
14) whether the touch parameter of detection touch control operation mates with the parameter being used for controlling closing application program preset;
15) if the touch parameter of detection touch control operation mates with the parameter being used for controlling closing application program preset, then certain applications stop is controlled.
In the embodiment of the present invention, a predetermined number threshold value can be preset in the terminal, wherein, this predetermined number threshold value can be that user is set as required, can also be that terminal is set according to the history setting record of user, can also is that terminal is set according to the size at terminal demonstration interface, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, after terminal obtains the memory usage quantity more than the application program presetting occupancy threshold value;Then terminal can also detect memory usage more than whether the quantity of the application program presetting occupancy threshold value is more than predetermined number threshold value, if detection memory usage is more than predetermined number threshold value more than the quantity of the application program presetting occupancy threshold value, the running memory that then explanation installs application program in the terminal currently shared is bigger, then terminal can be more than the icon of the application program presetting occupancy threshold value in the display interface display memory occupancy of terminal, and detect the touch control operation of the icon of the certain applications program that user is more than in the application program presetting occupancy threshold value for memory usage simultaneously.
Further, terminal is after detecting the touch control operation of icon of the certain applications program that user is more than in the application program presetting occupancy threshold value for memory usage, then can obtain the touch parameter of touch control operation, and detect the touch parameter of touch control operation with preset for controlling whether the parameter of closing application program mates.Wherein, the above-mentioned default parameter being used for controlling closing application program can be that user is set as required, can also be that terminal is set according to the history setting record of user, it is also possible to be that terminal is set according to the touch parameter of the history touch control operation of user.
Wherein, touch parameter can include but not limited to the parameters such as touch-control dynamics value, touch-control direction, touch trajectory, touch-control finger print information and touch-control frequency.
In the embodiment of the present invention, terminal is mated with the parameter being used for controlling closing application program preset at the touch parameter of detection touch control operation, then control certain applications stop.By implementing this inventive embodiments, memory usage current for installation at least one application program in the terminal can be shown in the terminal by terminal, and can mate for controlling the parameter of closing application program with preset at the touch parameter of touch control operation user being detected, then control closing application program.Such that it is able to while the memory usage of at least one application program being shown mounted in real time in terminal, provide the user with a kind of reference frame closing application program;And increase corresponding running memory, to improve the operating rate of terminal after closing application program.
As the optional embodiment of another kind, if terminal detects the application program that there is memory usage at least one application program more than presetting occupancy threshold value, then terminal can perform following steps:
21) the described memory usage operation frequency more than each application program in the application program presetting occupancy threshold value is obtained;
22) described memory usage is detected more than whether the application program of described default occupancy threshold value exists the operation frequency application program less than predeterminated frequency threshold value;
23) if detecting described memory usage more than the application program of described default occupancy threshold value exists the described operation frequency application program less than described predeterminated frequency threshold value, then the described operation frequency closing application program less than described predeterminated frequency threshold value is controlled.
In the embodiment of the present invention, after terminal exists memory usage more than the application program presetting occupancy threshold value in application program in the terminal is installed in detection, then can obtain the memory usage operation frequency more than each application program in the application program presetting occupancy threshold value further.Wherein, this operation frequency includes out and out operation frequency, that is, terminal need to carry out the routine call being correlated with starting after this application program, just can change operation frequency realizing the operation of relevant function.
In the embodiment of the present invention, a predeterminated frequency threshold value can be preset in the terminal, wherein, this predeterminated frequency threshold value can be that user is set as required, can also be that terminal is set according to the history setting record of user, can also is that the terminal historical operation frequency setting according to user, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, terminal is after obtaining the memory usage operation frequency more than each application program in the application program of default occupancy threshold value;Then can detect further in the memory usage application program more than default occupancy threshold value and whether there is the operation frequency application program less than predeterminated frequency threshold value, and in detection memory usage is more than the application program of default occupancy threshold value, there is the operation frequency application program less than predeterminated frequency threshold value, then control the operation frequency closing application program less than predeterminated frequency threshold value.
Specifically, operation frequency is mainly user less than the application program of predeterminated frequency threshold value and operates less application program at ordinary times, but has the most again the running memory occupying terminal, and the operating rate of terminal is created corresponding impact.Therefore, it can the closing application program controlling operation frequency less than predeterminated frequency threshold value, to increase the running memory of terminal.By implementing this inventive embodiments, terminal can control the operation frequency closing application program less than predeterminated frequency threshold value, then can improve terminal operating internal memory, to improve the operating rate of terminal.
In fig. 2 a, describe in detail and in the application program that detection is installed in the terminal, there is not memory usage more than the application program presetting occupancy threshold value, then terminal can export, according to default display rule, the memory usage that at least one application program is currently corresponding on the display interface of terminal, operate as required for user, such that it is able to while implementing the occupancy of acquisition application program, it is supplied to user and closes a reference frame of application program, such that it is able to improve Consumer's Experience.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention, is used for performing above-mentioned application control method.Wherein, this terminal can include but not limited to the terminals such as smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, palm PC and mobile internet device (MobileInternetDevices, MID).As it is shown on figure 3, this terminal may include that acquiring unit 301, detector unit 302 and control unit 303, wherein,
Acquiring unit 301, for obtaining the memory usage that at least one application program installed in the terminal is currently corresponding.
In the embodiment of the present invention, memory usage can be the ratio of the current desired running memory of this application program and total internal memory of terminal;Can also be the ratio of the current desired running memory of this application program running memory currently available with terminal;Can also is that the ratio of total available running memory of the current desired running memory of this application program and terminal;The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, at least one application program in the terminal is installed and mainly includes currently application program in the terminal being also installed, do not include unloaded application program.
Whether detector unit 302, exist memory usage more than the application program presetting occupancy threshold value for detecting at least one application program.
In the embodiment of the present invention, can pre-set a default occupancy threshold value in the terminal, wherein, this default occupancy threshold value can be that user is set as required;Can also be that terminal is set according to the history setting record of user;Can also is that terminal is set according to total internal memory of terminal;Can also is that terminal is set according to total available running memory of terminal;Can also is that terminal is set according to total available running memory of terminal;The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, owing to the calculation of occupancy corresponding to application program is the most unique, and the setting means of default occupancy threshold value is the most unique, memory usage whether is there is more than the application program presetting occupancy threshold value in order to ensure terminal detection to install in application program in the terminal, then should ensure that the calculation of the occupancy of application program should be mated with the setting means of default occupancy threshold value when detection.For example, the occupancy of application program is the ratio of the current desired running memory of the application program running memory currently available with terminal, then only having above-mentioned default occupancy threshold value is the total available running memory according to terminal when being set, and could be referred to as to mate.
Control unit 303, if for detecting the application program that there is memory usage at least one application program more than presetting occupancy threshold value, controlling memory usage more than the closing application program presetting occupancy threshold value.
In the embodiment of the present invention, if detector unit 302 detects there is memory usage at least one application program more than the application program presetting occupancy threshold value, then illustrate that at least one application program has and much occupied a lot of running memory, because, in order to avoid because of running memory deficiency, and the situation causing terminal operating speed to slow down occurs, control unit 303 can control memory usage more than the closing application program presetting occupancy threshold value.
In figure 3, describe in detail after acquiring unit 301 obtains the memory usage that at least one application program is currently corresponding;Detector unit 302 can detect whether there is memory usage at least one application program more than the application program presetting occupancy threshold value;If detector unit 302 detects the application program that there is memory usage at least one application program more than presetting occupancy threshold value, then last control unit 303 can control memory usage more than the closing application program presetting occupancy threshold value.In embodiments of the present invention, acquiring unit 301 can obtain the memory usage that in terminal, at least one application program is currently corresponding in real time, control unit 303 also can be by memory usage more than the closing application program presetting occupancy threshold value, it is thus possible to increase the running memory that terminal is currently available, to improve the speed of service of terminal.
Referring to Fig. 4, Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention, is used for performing above-mentioned application control method.Wherein, Fig. 4 is that on the basis of Fig. 3, refinement obtains, in addition to including all unit shown in Fig. 3, it is also possible to including further: the first display unit 304 and the second display unit 305, wherein,
Acquiring unit 301, is additionally operable to the quantity obtaining memory usage more than the application program presetting occupancy threshold value.
Detector unit 302, is additionally operable to detect memory usage more than whether the quantity of the application program presetting occupancy threshold value is more than predetermined number threshold value.
First display unit 304, if detecting memory usage for detector unit 302 to be more than the icon of the application program presetting occupancy threshold value more than the quantity of the application program presetting occupancy threshold value more than predetermined number threshold value, the display interface display memory occupancy in terminal.
Detector unit 302, is additionally operable to detect the touch control operation of the icon of the certain applications program that user is more than in the application program presetting occupancy threshold value for memory usage.
Detector unit 302, is additionally operable to the touch parameter detecting touch control operation with default for controlling whether the parameter of closing application program mates.
If it is that detector unit 302 detects the touch parameter of touch control operation and mates for controlling the parameter of closing application program with preset that control unit 303 controls memory usage more than the detailed description of the invention of closing application program presetting occupancy threshold value, then control certain applications stop.
Acquiring unit 301, is additionally operable to the operation frequency obtaining memory usage more than each application program in the application program presetting occupancy threshold value.
Detector unit 302, is additionally operable to detect memory usage more than whether there is the operation frequency application program less than predeterminated frequency threshold value in the application program presetting occupancy threshold value.
If it is that detector unit 302 detects memory usage more than there is the operation frequency application program less than predeterminated frequency threshold value in the application program presetting occupancy threshold value that control unit 303 controls memory usage more than the detailed description of the invention of the closing application program presetting occupancy threshold value, then control the operation frequency closing application program less than predeterminated frequency threshold value.
Second display unit 305, if install the application program that there is not memory usage in application program in the terminal more than presetting occupancy threshold value for detector unit 302 detection, according to default display rule output on the display interface of terminal, the memory usage that each application program in the terminal is currently corresponding is installed.
In the embodiment of the present invention, the display rule preset includes that the height of the memory usage corresponding according to application program carries out showing, carrying out one or more in showing and showing according to the set-up time sequencing that application program is corresponding according to the operation frequency height that application program is corresponding.
By implementing the embodiment shown in Fig. 4, by increasing capacitance it is possible to increase the running memory that terminal is currently available, to improve the speed of service of terminal.
Refer to the structural representation that Fig. 5, Fig. 5 are the embodiment of the present invention another terminals disclosed, be used for performing above-mentioned application control method.Wherein, as it is shown in figure 5, this terminal 500 may include that at least one processor 501, at least one input equipment 502, at least one output device 503, memorizer 505 assembly such as grade.Wherein, these assemblies are communicatively coupled by one or more bus 504.It will be understood by those skilled in the art that the structure of the terminal shown in Fig. 5 is not intended that the restriction to the embodiment of the present invention, it both can be busbar network, it can also be hub-and-spoke configuration, can also include that ratio illustrates more or less of parts, or combine some parts, or different parts are arranged.Wherein:
Processor 501 is the control centre of terminal, utilize various interface and the various piece of the whole terminal of connection, it is stored in the program in memorizer 505 and/or module by running or performing, and calls the data being stored in memorizer 505, to perform the various functions of terminal and to process data.Processor 501 such as can be made up of the IC of single encapsulation, it is also possible to formed by connecting many identical functions or the encapsulation IC of difference in functionality integrated circuit (IntegratedCircuit is called for short IC) composition.For example, processor 501 can only include central processing unit (CentralProcessingUnit, it is called for short CPU), can also be CPU, digital signal processor (digitalsignalprocessor, be called for short DSP), graphic process unit (GraphicProcessingUnit, be called for short GPU) and the combination of various control chip.In embodiments of the present invention, CPU can be single arithmetic core, it is also possible to include multioperation core.
Input equipment 502 can include the touch screen of standard, keyboard etc., it is also possible to includes line interface, wave point etc..
Output device 503 can include display screen, speaker etc., it is also possible to includes line interface, wave point etc..
Memorizer 505 can be used for storing software program and module, and processor 501, input equipment 502 and output device 503 are by calling the software program and module being stored in memorizer 505, thus perform the various functions application of terminal and realize data process.Memorizer 505 mainly includes program storage area and data storage area, and wherein, program storage area can store the application program etc. needed for operating system, at least one function;Data storage area can store the data etc. that the use according to terminal is created.In embodiments of the present invention, operating system can be android system, iOS system or Windows operating system etc..
Specifically, processor 501 calls the application program being stored in memorizer 505, is used for performing following operation:
Obtain the memory usage that at least one application program is currently corresponding;
Detect and whether at least one application program exists memory usage more than the application program presetting occupancy threshold value;
If detecting the application program that there is memory usage at least one application program more than presetting occupancy threshold value, then control memory usage more than the closing application program presetting occupancy threshold value.
In the present invention, processor 501 calls the application program being stored in memorizer 505, is additionally operable to perform following operation:
Obtain the memory usage quantity more than the application program presetting occupancy threshold value;
Whether detection memory usage is more than predetermined number threshold value more than the quantity of the application program presetting occupancy threshold value;
If detection memory usage is more than predetermined number threshold value more than the quantity of the application program presetting occupancy threshold value, display interface display memory occupancy in terminal is more than the icon of the application program presetting occupancy threshold value, and detects the touch control operation of the icon of the certain applications program that user is more than in the application program presetting occupancy threshold value for memory usage;
Whether the touch parameter of detection touch control operation mates with the parameter being used for controlling closing application program preset;
Wherein, control the described memory usage closing application program more than default occupancy threshold value, including:
If the touch parameter of detection touch control operation mates with the parameter being used for controlling closing application program preset, then control certain applications stop.
In the present invention, processor 501 calls the application program being stored in memorizer 505, is additionally operable to perform following operation:
Obtain the memory usage operation frequency more than each application program in the application program presetting occupancy threshold value;
Whether detection memory usage exists the operation frequency application program less than predeterminated frequency threshold value in the application program more than default occupancy threshold value;
Wherein, control the described memory usage closing application program more than default occupancy threshold value, including:
If the application program that detection memory usage is more than default occupancy threshold value exists the operation frequency application program less than predeterminated frequency threshold value, then control the operation frequency closing application program less than predeterminated frequency threshold value.
In the present invention, processor 501 calls the application program being stored in memorizer 505, is additionally operable to perform following operation:
If the application program that there is not memory usage in application program in the terminal more than presetting occupancy threshold value is installed in detection, on the display interface of terminal, export, according to default display rule, the memory usage that at least one application program is currently corresponding.
In the present invention, the display rule preset includes that the height of the memory usage corresponding according to application program carries out showing, carrying out one or more in showing and showing according to the set-up time sequencing that application program is corresponding according to the operation frequency height that application program is corresponding.
Concrete, the terminal introduced in the embodiment of the present invention can be implemented the present invention and combine the part or all of flow process in the application control method embodiment that Fig. 1, Fig. 2 a introduces.
Module in all embodiments of the invention or submodule, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, special IC).
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by computer program and complete to instruct relevant hardware, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc..
The above disclosed present pre-ferred embodiments that is only, certainly can not limit the interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention with this, still belong to the scope that the present invention is contained.
Claims (10)
1. the control method of an application program, it is characterised in that including:
Obtain the memory usage that at least one application program installed in the terminal is currently corresponding;
Whether detection at least one application program described exists memory usage more than the application program presetting occupancy threshold value;
If detection at least one application program described exists the memory usage application program more than described default occupancy threshold value, then control the described memory usage closing application program more than described default occupancy threshold value.
Method the most according to claim 1, it is characterised in that described method also includes:
Obtain the described memory usage quantity more than the application program of described default occupancy threshold value;
Whether detect the described memory usage quantity more than the application program of described default occupancy threshold value more than predetermined number threshold value;
If detecting the described memory usage quantity more than the application program of described default occupancy threshold value more than described predetermined number threshold value, display interface in described terminal shows the described memory usage icon more than the application program of described default occupancy threshold value, and detects the touch control operation of the icon of the certain applications program that user is more than in the application program of described default occupancy threshold value for described memory usage;
Whether the touch parameter of detection touch control operation mates with the parameter being used for controlling closing application program preset;
Wherein, the described memory usage of described control is more than the closing application program of described default occupancy threshold value, including:
If detecting the touch parameter of described touch control operation default to mate for controlling the parameter of closing application program with described, then control described certain applications stop.
Method the most according to claim 1, it is characterised in that described method also includes:
Obtain the described memory usage operation frequency more than each application program in the application program of described default occupancy threshold value;
Detect described memory usage more than whether the application program of described default occupancy threshold value exists the operation frequency application program less than predeterminated frequency threshold value;
Wherein, the described memory usage of described control is more than the closing application program of described default occupancy threshold value, including:
If detecting described memory usage more than the application program of described default occupancy threshold value exists the described operation frequency application program less than described predeterminated frequency threshold value, then control the described operation frequency closing application program less than described predeterminated frequency threshold value.
4. according to the method described in any one in claims 1 to 3, it is characterised in that described method also includes:
If detection is arranged in the application program in described terminal the application program that there is not memory usage more than described default occupancy threshold value, according to the memory usage that default display rule at least one application program described of output on the display interface of described terminal is currently corresponding.
Method the most according to claim 4, it is characterized in that, described default display rule includes that the height of the memory usage corresponding according to application program carries out showing, carrying out one or more in showing and showing according to the set-up time sequencing that application program is corresponding according to the operation frequency height that application program is corresponding.
6. a terminal, it is characterised in that including:
Acquiring unit, for obtaining the memory usage that at least one application program installed in the terminal is currently corresponding;
Detector unit, for detecting at least one application program described whether there is memory usage more than the application program presetting occupancy threshold value;
Control unit, if there is the memory usage application program more than described default occupancy threshold value in detection at least one application program described, controls the described memory usage closing application program more than described default occupancy threshold value.
Terminal the most according to claim 6, it is characterised in that
Described acquiring unit, is additionally operable to the quantity obtaining described memory usage more than the application program of described default occupancy threshold value;
Described detector unit, is additionally operable to whether detect the described memory usage quantity more than the application program of described default occupancy threshold value more than predetermined number threshold value;
Described terminal also includes:
First display unit, if detecting described memory usage for described detector unit to be more than described predetermined number threshold value more than the quantity of the application program of described default occupancy threshold value, the display interface in described terminal shows the described memory usage icon more than the application program of described default occupancy threshold value;
Described detector unit, is additionally operable to detect the touch control operation of the icon of the certain applications program that user is more than in the application program of described default occupancy threshold value for described memory usage;
Described detector unit, is additionally operable to the touch parameter detecting touch control operation with default for controlling whether the parameter of closing application program mates;
If it is that described detector unit detects the touch parameter of described touch control operation and default mates for controlling the parameter of closing application program with described that described control unit controls described memory usage more than the detailed description of the invention of closing application program of described default occupancy threshold value, then control described certain applications stop.
Terminal the most according to claim 6, it is characterised in that
Described acquiring unit, is additionally operable to the operation frequency obtaining described memory usage more than each application program in the application program of described default occupancy threshold value;
Described detector unit, is additionally operable to detect described memory usage more than whether there is the operation frequency application program less than predeterminated frequency threshold value in the application program of described default occupancy threshold value;
If it is to there is the described operation frequency application program less than described predeterminated frequency threshold value in the described detector unit described memory usage of the detection application program more than described default occupancy threshold value that described control unit controls described memory usage more than the detailed description of the invention of the closing application program of described default occupancy threshold value, then control the described operation frequency closing application program less than described predeterminated frequency threshold value.
9. according to the terminal described in any one in claim 6~8, it is characterised in that described terminal also includes:
Second display unit, if be arranged in the application program in described terminal the application program that there is not memory usage more than described default occupancy threshold value for the detection of described detector unit, according to the memory usage that default display rule at least one application program described of output on the display interface of described terminal is currently corresponding.
Terminal the most according to claim 9, it is characterized in that, described default display rule includes that the height of the memory usage corresponding according to application program carries out showing, carrying out one or more in showing and showing according to the set-up time sequencing that application program is corresponding according to the operation frequency height that application program is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610150062.XA CN105824631A (en) | 2016-03-16 | 2016-03-16 | Control method of application program and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610150062.XA CN105824631A (en) | 2016-03-16 | 2016-03-16 | Control method of application program and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105824631A true CN105824631A (en) | 2016-08-03 |
Family
ID=56523458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610150062.XA Pending CN105824631A (en) | 2016-03-16 | 2016-03-16 | Control method of application program and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105824631A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484538A (en) * | 2016-10-10 | 2017-03-08 | 广东欧珀移动通信有限公司 | A kind of internal memory control method of terminal device, device and terminal device |
CN106776010A (en) * | 2016-11-23 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of resource allocation method and terminal |
CN107635078A (en) * | 2017-10-30 | 2018-01-26 | 广东欧珀移动通信有限公司 | Game control method and equipment |
CN115292199A (en) * | 2022-09-22 | 2022-11-04 | 荣耀终端有限公司 | Video memory leakage processing method and related device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030154337A1 (en) * | 2000-06-01 | 2003-08-14 | Hiroshi Ohno | Multiple operating system control method |
CN102750217A (en) * | 2012-05-30 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for displaying application program icons and terminal device |
CN102946486A (en) * | 2012-11-20 | 2013-02-27 | 惠州Tcl移动通信有限公司 | Background application automatic clearing method based on mobile phone and mobile phone |
CN103927230A (en) * | 2014-03-25 | 2014-07-16 | 优视科技有限公司 | Memory usage feedback method and device |
CN105224439A (en) * | 2014-07-02 | 2016-01-06 | 北京金山安全软件有限公司 | Method and device for detecting CPU occupancy rate of terminal APP and terminal |
CN105260117A (en) * | 2015-09-30 | 2016-01-20 | 小米科技有限责任公司 | Application control method and apparatus |
-
2016
- 2016-03-16 CN CN201610150062.XA patent/CN105824631A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030154337A1 (en) * | 2000-06-01 | 2003-08-14 | Hiroshi Ohno | Multiple operating system control method |
CN102750217A (en) * | 2012-05-30 | 2012-10-24 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for displaying application program icons and terminal device |
CN102946486A (en) * | 2012-11-20 | 2013-02-27 | 惠州Tcl移动通信有限公司 | Background application automatic clearing method based on mobile phone and mobile phone |
CN103927230A (en) * | 2014-03-25 | 2014-07-16 | 优视科技有限公司 | Memory usage feedback method and device |
CN105224439A (en) * | 2014-07-02 | 2016-01-06 | 北京金山安全软件有限公司 | Method and device for detecting CPU occupancy rate of terminal APP and terminal |
CN105260117A (en) * | 2015-09-30 | 2016-01-20 | 小米科技有限责任公司 | Application control method and apparatus |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106484538A (en) * | 2016-10-10 | 2017-03-08 | 广东欧珀移动通信有限公司 | A kind of internal memory control method of terminal device, device and terminal device |
CN106484538B (en) * | 2016-10-10 | 2020-01-14 | Oppo广东移动通信有限公司 | Memory control method and device of terminal equipment and terminal equipment |
CN106776010A (en) * | 2016-11-23 | 2017-05-31 | 广州华多网络科技有限公司 | A kind of resource allocation method and terminal |
CN106776010B (en) * | 2016-11-23 | 2020-06-05 | 广州华多网络科技有限公司 | Resource allocation method and terminal |
CN107635078A (en) * | 2017-10-30 | 2018-01-26 | 广东欧珀移动通信有限公司 | Game control method and equipment |
CN115292199A (en) * | 2022-09-22 | 2022-11-04 | 荣耀终端有限公司 | Video memory leakage processing method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105824631A (en) | Control method of application program and terminal | |
CN109446832B (en) | Screen capturing method and device | |
CN105808063A (en) | Application program starting method and terminal | |
CN105183284A (en) | Short message viewing method and user terminal | |
CN105353942A (en) | Information output method and terminal | |
CN104914979A (en) | Display control method and terminal | |
CN106095384A (en) | A kind of effect adjusting method and user terminal | |
CN105302619A (en) | Information processing method and device and electronic equipment | |
CN105118019A (en) | Image processing method and user terminal | |
CN103870193A (en) | Information processing method and electronic equipment | |
CN104808959B (en) | Information processing method and electronic equipment | |
CN105573585A (en) | Information display method and terminal | |
CN107329659A (en) | Permission setting method and device, electronic equipment and storage medium | |
CN105049732A (en) | Camera adjusting method and user terminal | |
CN103399711A (en) | Display control method of pop-up window and terminal | |
CN105045554A (en) | Image display method and user terminal | |
CN106341731B (en) | Remote control key response method and device for smart television | |
CN104615331A (en) | Corner mark processing method | |
CN105809117A (en) | Information prompt method and user terminal | |
CN105159540A (en) | Control method of screen state and terminal | |
CN105573646A (en) | Multimedia content play progress control method and user terminal | |
CN105278862A (en) | Light-sensation detection-based misoperation prevention method, device and mobile terminal | |
CN105117157A (en) | Corner mark switching method and terminal | |
CN105549829A (en) | Setting project processing method and apparatus | |
CN104503674A (en) | Screenshot picture generating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160803 |