CN106569890A - Application control method and terminal - Google Patents

Application control method and terminal Download PDF

Info

Publication number
CN106569890A
CN106569890A CN201610987246.1A CN201610987246A CN106569890A CN 106569890 A CN106569890 A CN 106569890A CN 201610987246 A CN201610987246 A CN 201610987246A CN 106569890 A CN106569890 A CN 106569890A
Authority
CN
China
Prior art keywords
application
white list
priority
currently running
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610987246.1A
Other languages
Chinese (zh)
Inventor
张学勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610987246.1A priority Critical patent/CN106569890A/en
Publication of CN106569890A publication Critical patent/CN106569890A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4818Priority circuits therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides an application control method and a terminal. The method comprises the steps of obtaining use frequencies of N applications, wherein N is a positive integer; configuring the priorities of the N applications according to the use frequencies of the N applications; determining M applications with the priorities higher than a preset priority in the N applications to be a white list, wherein M is a positive integer smaller than or equal to N; and closing at least one application which does not belong to the white list in the multiple currently running applications. Through the application control method and the terminal, the priorities can be configured for the applications according to the use frequencies of the applications, the white list is set on the basis of the priorities and currently running applications are closed according to the white list, so that the memory space of a system can be saved and the system performance of the terminal is improved.

Description

A kind of application control method and terminal
Technical field
The present invention relates to electronic device field, and in particular to a kind of application control method and terminal.
Background technology
As information technology is fast-developing, terminal (such as mobile phone, panel computer) is used and increasingly popularized.Normal conditions Under, the Installed System Memory of terminal is limited, also, when user exits and applies, application is not closed, but, the application Process still in running background, therefore, Installed System Memory can be taken.With increasing for the application opened, the Installed System Memory of terminal is accounted for With saturation or close saturation will soon be reached, so that the speed of service of terminal is slack-off, thus, reduce the property of system Energy.
The content of the invention
A kind of application control method and terminal are embodiments provided, the systematic function of terminal can be lifted.
Embodiment of the present invention first aspect provides a kind of application control method, including:
The usage frequency of N number of application is obtained, the N is positive integer;
The priority of N number of application is configured according to the usage frequency of N number of application;
M application in the priority of N number of application higher than pre-set priority is defined as into white list, the M is little In or equal to the positive integer of the N;
At least one application of the white list is not belonging in multiple applications that closing is currently running.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Acquiring unit, for obtaining the usage frequency of N number of application, the N is positive integer;
Dispensing unit, for configuring the priority of N number of application according to the usage frequency of N number of application;
First determining unit, for M application in the priority of N number of application higher than pre-set priority to be defined as White list, the M is less than or equal to the positive integer of the N;
Closing unit, at least one that the white list is not belonging in the multiple applications being currently running for closing should With.
The embodiment of the present invention third aspect provides a kind of terminal, including:
Processor and memorizer;Wherein, code during the processor is by calling the memorizer or instruction are performing The some or all of step of the method described by first aspect.
Implement the embodiment of the present invention, have the advantages that:
As can be seen that by the embodiment of the present invention, obtaining the usage frequency of N number of application, N is the integer more than 1, according to N The priority of N number of application that is arranged in order of the usage frequency of individual application, wherein, usage frequency is higher, and its corresponding priority is got over Height, by M application in the priority of N number of application higher than pre-set priority white list is defined as, and M is less than or equal to N just Integer, closes at least one application that white list is not belonging in the multiple applications being currently running.So as to reduce Installed System Memory Consume, the systematic function of terminal can be lifted.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 is a kind of first embodiment schematic flow sheet of application control method provided in an embodiment of the present invention;
Fig. 2 is a kind of second embodiment schematic flow sheet of application control method provided in an embodiment of the present invention;
Fig. 3 is a kind of 3rd embodiment schematic flow sheet of application control method provided in an embodiment of the present invention;
Fig. 4 a are a kind of first embodiment structural representations of terminal provided in an embodiment of the present invention;
Fig. 4 b are the structural representations of the closing unit of the terminal described in Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 c are the another structural representations of the closing unit of the terminal described in Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 d are the another structural representations of the terminal described in Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 e are the another structural representations of the terminal described in Fig. 4 a provided in an embodiment of the present invention;
Fig. 5 is a kind of second embodiment structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " it is etc. for distinguishing different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to the step of listing or unit, but alternatively also include the step of not listing or list Unit, or alternatively also include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments In being contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be in combination with other embodiments.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phones, Windows Phone mobile phones etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end End.
Fig. 1 is referred to, is a kind of first embodiment schematic flow sheet of application control method provided in an embodiment of the present invention. Application control method described in the present embodiment, comprises the following steps:
101st, the usage frequency of N number of application is obtained, the N is positive integer.
Wherein, above-mentioned application may include but be not limited only to:Video playback application, chat application, game application, paying should With, shopping application etc..Can be the application, or third-party application that terminal system is carried using source.Each application A usage frequency is corresponded to, the usage frequency of application can represent the access times using the unit interval, in the unit interval, make More with number of times, its corresponding usage frequency is bigger.Above-mentioned N can be specified by user, it is also possible to determine (for example, system by system Random selection N).N number of application can be third-party application, or, N number of application can also include system application.It is above-mentioned it is N number of should With the application that can be specified for user, it is of course also possible to be the N number of application being currently running, above-mentioned N is positive integer.
Alternatively, step 101 can be implemented in accordance with the following steps:
The usage frequency of N number of application is obtained every prefixed time interval.
Wherein, prefixed time interval can be arranged voluntarily or system default by user.Due to obtaining N number of application every time During usage frequency, the usage frequency of each application can be different in N number of application, because when a certain application is used every time, then may be used It is used for number of times to accumulate once.
Alternatively, step 101 can be implemented in accordance with the following steps:
The usage frequency of N number of application is obtained in specified location.
Wherein, it is intended that position can be arranged somewhere for user, for example, user's family, then, come back home in user When, then can obtain the usage frequency of N number of application.
Alternatively, step 101 can be implemented in accordance with the following steps:
The usage frequency of N number of application is obtained under designated mode.
Wherein, it is intended that pattern can be following at least one:Call mode, speech pattern, video mode, game mode, fortune Dynamic model formula (is used in motor process), and for example, when user moves out of doors, then terminal then can be at motor pattern, in the fortune Under dynamic model formula, the usage frequency of N number of application can be obtained, thus, out of doors when, the electricity of terminal can be saved.
102nd, the priority of N number of application is configured according to the usage frequency of N number of application.
Wherein, the corresponding priority of the usage frequency of each application in N number of application.Certainly, the excellent of N number of application is being configured During first level, first N number of order of the application according to usage frequency from high to low can be ranked up, and according to sequence after it is suitable Sequence is N number of application configuration priority, wherein, the first priority that sorts is higher, or, the first priority that sorts is lower.
Alternatively, can be to the usage frequency of N number of application according to being numbered by the order of size, according to N number of application The storage order of usage frequency and above-mentioned numbering configure the priority of N number of application.For example, when N is 5, this 5 application difference For A, B, C, D and E, the size order of its corresponding usage frequency is:C>A>B>E>D, the storage of its corresponding usage frequency is suitable Sequence is:5 applications can be numbered by C, A, D, B and E, and the corresponding numberings of C are the corresponding numbering of the corresponding numberings 2, B of 1, A For the corresponding numberings of 3, E be 4 and the corresponding numberings of D are 5.So, according to the storage order and numbering of 5 usage frequencies applied The priority of this 5 applications is configured, i.e.,:The priority of C is configured first, and secondly its highest priority, configures the priority of A, its Priority second, configures the priority of B, and its priority the 3rd configures the priority of E, and its priority the 4th finally, configures D's Priority, its priority is minimum.
Alternatively, N number of application configuration priority, for example, usage frequency can be given according to usage frequency order from high to low Higher, then its corresponding priority is higher.It is of course also possible to usage frequency is lower, then its corresponding priority is higher.
Alternatively, the usage frequency of each application can be calculated by access times and use time in above-mentioned N number of application, Within the unit interval, access times are paid the utmost attention to, the more applications of access times, its priority is higher, if multiple apply in list Access times are identical in the time of position, then count the use duration of each application, and using the longer application of duration, its priority is got over It is high.For example, in a hour, wechat has been used ten times, and microblogging also using ten times, then need statistics in this hour It is interior, the use total duration of wechat and microblogging, if wechat amounts to having used 20 minutes, microblogging amounts to and has used 30 minutes, then microblogging Priority higher than wechat priority.
Alternatively, if having in above-mentioned N number of application, the usage frequency of M application is identical, and P is the integer more than 1, it may be determined that P Individual application enters the time on backstage, and into the shorter application of backoff period, its corresponding priority is higher.There is P application working as Usage frequency it is identical when, can according to application judge that user's current time can or can not be used at once into the length of backoff period The application, therefore, can will be set to higher priority into the shorter application of backoff period.For example, the use of wechat and microblogging Frequency is identical, and a length of 8 minutes when microblogging enters backstage, i.e., closest first use is pass by 8 minutes, when wechat enters backstage A length of 5 minutes, i.e., closest first use is pass by 5 minutes, can arrange the priority of the priority higher than microblogging of wechat.
103rd, M application in the priority of N number of application higher than pre-set priority is defined as into white list, the M It is less than or equal to the positive integer of the N.
Wherein, above-mentioned pre-set priority can voluntarily be arranged by user, or, system default.In terminal according to usage frequency In the good N number of application of configuration after the priority of each application, priority in N number of application can be answered higher than M of pre-set priority With can be identified as white list.Above-mentioned pre-set priority can be by terminal according to central processing unit (Central Processing Unit, CPU) dominant frequency and (Double Data Rate, DDR) determine.Specifically, can calculate according to equation below:
K=[a*A+b*B]
Wherein, [] is to round symbol, and K represents pre-set priority position, and A represents CPU frequency, and a represents that CPU frequency is corresponding Weight, b represents that DDR, B represent the corresponding weights of DDR, a+b=1, wherein, a is more than or equal to 0 more than or equal to 0, b.
Alternatively, above-mentioned pre-set priority can determine the concrete numerical value of M.User also dependent on needs, during white list is set Using number.If user wants to arrange five applications in white list, due to each application one priority of correspondence, can preset The position of priority is arranged on the position that priority comes the 6th.
Can also comprise the steps of between step 103 and step 104:
Whether the present load of detection terminal exceedes default load threshold, when present load exceedes default load threshold, Execution step 104.
Wherein, preset load threshold voluntarily to be arranged by user, or, system default.In present load not less than default During load threshold, not execution step 104.
104th, at least one application that the white list is not belonging in the multiple applications being currently running is closed.
Wherein, applying during execution step 104 in white list, can play a guarantor without closing to application Shield is acted on.
Wherein, the above-mentioned multiple applications being currently running can be foreground application, it is of course also possible to be background application, Can be comprising foreground application and background application.
Alternatively, during execution step 104, can be with the above-mentioned N number of application of priority orderly close-down from low to high In be not belonging at least one application of white list.
Alternatively, when the plurality of application is the plurality of third-party application, stating step 104 can comprise the steps of:
141) the plurality of third-party application being currently running, is obtained;
142), determine the Installed System Memory occupation value of each third-party application in the plurality of third-party application, obtain described Multiple occupation value;
143) it is, described white according to being not belonging in the plurality of third-party application of the descending orderly close-down of the occupation value At least one application of list.
Wherein, when the multiple applications being currently running are multiple third-party applications, application can be monitored, so as to obtain To the multiple applications being currently running, can be according to shared internal memory in the system operation of each application in the plurality of application The size in space, determines its corresponding Installed System Memory occupation value (size/system in Installed System Memory occupation value=committed memory space Total memory size), thus, can be white according to being not belonging in the descending the plurality of third-party application of order deletion of above-mentioned occupation value At least one application of list.Alternatively, several applications are specifically closed, can be determined according to the memory size of current system, e.g., when The internal memory of front system is less, then the application closed is more, and the internal memory of current system is less, then the application closed is fewer.It is again optional Ground, specifically close several applications, can be determined according to the memory size of current system, close several apply after, its system it is interior Size is deposited more than a certain threshold value, then other applications for being currently running of phase down.
Alternatively, above-mentioned steps 104 can be comprised the steps of:
144), current electric quantity is determined;
145), according to default electricity and the corresponding relation closed between application numbers, the current electric quantity correspondence is determined Target close application numbers;
146), the multiple applications being currently running are performed according to the intended application number and the white list Shutoff operation.
Wherein, terminal can be by battery monitoring, so as to the current electric quantity of reading terminals.Above-mentioned electricity and closing Corresponding relation between application numbers can pre-set, and certainly, when current electricity is more, can less close some applications, When current electricity is more, a little applications can be closed more.For example, a kind of default electricity is provided below and closes between application numbers Corresponding relation, i.e. electricity is more than 80%, can at most close 2 applications, and electricity is less than or equal to 80% and more than 20%, can be most Close 5 applications, electricity is less than or equal to 20%, all applications that can be closed in the multiple applications being currently running more.Such as This, it may be determined that the certain applications being not belonging in white list in the multiple applications being currently running, then, according to the intended application Number performs shutoff operation to the certain applications.For example, intended application number is more than or equal to the application numbers of certain applications, then The whole applications closed in the certain applications, if intended application number is less than certain applications number, in closing the certain applications With the application of the number such as intended application number (for example, intended application number is 5, and, certain applications number is 8, can should from 8 Randomly select 5 be closed).
As can be seen that by the embodiment of the present invention, obtaining the usage frequency of N number of application, N is the integer more than 1, according to N The priority of N number of application that is arranged in order of the usage frequency of individual application, wherein, usage frequency is higher, and its corresponding priority is got over Height, by M application in the priority of N number of application higher than pre-set priority white list is defined as, and M is less than or equal to N just Integer, closes at least one application that white list is not belonging in the multiple applications being currently running.So as to reduce Installed System Memory Consume, the systematic function of terminal can be lifted.
Consistent with the abovely, Fig. 2 is referred to, is a kind of the second enforcement of application control method provided in an embodiment of the present invention Example schematic flow sheet.Application control method described in the present embodiment, comprises the following steps:
201st, the usage frequency of N number of application is obtained, the N is positive integer.
202nd, the priority of N number of application is configured according to the usage frequency of N number of application.
203rd, M application in the priority of N number of application higher than pre-set priority is defined as into white list, the M It is less than or equal to the positive integer of the N.
Wherein, the step of above-mentioned steps 201- step 203 and step 206 refer to the application control method described by Fig. 1 101- steps 104.
204th, the current memory size of system is determined.
205th, judge the memory size whether less than predetermined threshold value;
If the 206, the memory size is less than the predetermined threshold value, closes and be not belonging in the multiple applications being currently running At least one application of the white list.
Wherein, terminal can be monitored to the internal memory of its system, so as to the current internal memory of system for obtaining the terminal is big It is little.Above-mentioned predetermined threshold value can voluntarily be arranged by system default or user, when the memory size is less than predetermined threshold value, can be closed At least one application of the white list is not belonging in the multiple applications being currently running.
Alternatively, when the memory size of said system is more than or equal to predetermined threshold value, then can not close and currently transport Arbitrary application in capable multiple applications.
As can be seen that by the embodiment of the present invention, obtaining the usage frequency of N number of application, N is the integer more than 1, according to N The priority of N number of application that is arranged in order of the usage frequency of individual application, wherein, usage frequency is higher, and its corresponding priority is got over Height, by M application in the priority of N number of application higher than pre-set priority white list is defined as, big in the internal memory of current system During less than predetermined threshold value, at least one application that white list is not belonging in the multiple applications being currently running is closed.So as to, Can perform and close the certain applications being currently running according to the memory size of system, thus, Installed System Memory consumption can be reduced, Lift the systematic function of terminal.
Consistent with the abovely, Fig. 3 is referred to, is a kind of the 3rd enforcement of application control method provided in an embodiment of the present invention Example schematic flow sheet.Application control method described in the present embodiment, comprises the following steps:
Whether the 301st, present load of detection terminal exceedes predetermined threshold value.
Wherein, terminal can detect the present load of the terminal,.If the load of present terminal exceedes predetermined threshold value, institute is performed The usage frequency for obtaining N number of application is stated, to mitigate system load.
Alternatively, when the present load of terminal is not less than predetermined threshold value, then not execution step 302.
302nd, when the present load exceedes the predetermined threshold value, the usage frequency of N number of application is obtained, the N is for just Integer.
303rd, configure the priority of N number of application according to the usage frequency of N number of application, the M be less than or wait In the positive integer of the N.
304th, M application in the priority of N number of application higher than pre-set priority is defined as into white list.
305th, at least one application that the white list is not belonging in the multiple applications being currently running is closed.
Wherein, the step of above-mentioned steps 302- step 305 refers to the application control method described by Fig. 1 101- steps 104。
As can be seen that by the embodiment of the present invention, when present load is more than predetermined threshold value, obtaining the use of N number of application Frequency, N is the integer more than 1, according to the priority of N number of application that is arranged in order of the usage frequency of N number of application, wherein, use Frequency is higher, and its corresponding priority is higher, and M application in the priority of N number of application higher than pre-set priority is defined as White list, M is the positive integer less than or equal to N, closes in the multiple applications being currently running and is not belonging to white list at least One application.So as to, can load exceed predetermined threshold value when, terminal just begin to shut off be not belonging at least one of white list answer With thus, can be determined to close application operating according to the loading condition of system, after application is closed, the internal memory of system is big It is little to be lifted, and improve the performance of system.
Consistent with the abovely, the device of the application control method for providing for the enforcement embodiments of the present invention below, specifically It is as follows:
Fig. 4 a are referred to, is a kind of first embodiment structural representation of terminal provided in an embodiment of the present invention.This enforcement Terminal described in example, including:Acquiring unit 401, dispensing unit 402, the first determining unit 403 and closing unit 404, tool Body is as follows:
Acquiring unit 401, for obtaining the usage frequency of N number of application, the N is positive integer;
Dispensing unit 402, for configuring the priority of N number of application according to the usage frequency of N number of application;
First determining unit 403, for M application in the priority of N number of application higher than pre-set priority is true It is set to white list, the M is less than or equal to the positive integer of the N;
Closing unit 404, in the multiple applications being currently running for closing at least the one of the white list is not belonging to Individual application.
Alternatively, such as Fig. 4 b, when the plurality of application is the plurality of third-party application, the terminal described by Fig. 4 a Closing unit 404 may include:Acquisition module 4041, the first determining module 4042 and closedown module 4043, it is specific as follows:
Acquisition module 4041, for obtaining the plurality of third-party application being currently running;
First determining module 4042, for determining the plurality of third-party application in each third-party application Installed System Memory Occupation value, obtains the plurality of occupation value;
Closedown module 4043, for according in the plurality of third-party application of the descending orderly close-down of the occupation value It is not belonging at least one application of the white list.
Alternatively, such as Fig. 4 c, the closing unit 404 of the terminal described by Fig. 4 a may include:The He of second determining module 4044 Performing module 4045, it is specific as follows:
Second determining module 4044, for determining current electric quantity;
Second determining module 4044, is additionally operable to:
According to default electricity and the corresponding relation closed between application numbers, the corresponding target of the current electric quantity is determined Close application numbers;
Performing module 4045, for being currently running to described according to the intended application number and the white list Multiple applications perform shutoff operation.
Alternatively, such as Fig. 4 d, Fig. 4 d are a kind of modification structures of the terminal described by Fig. 4 a, and it may also include:Second is true Order unit 405 and judging unit 406, it is specific as follows:
Second determining unit 405, for will be higher than in the priority of N number of application in first determining unit 403 M application of pre-set priority is defined as after white list, determines the current memory size of system;
Judging unit 406, for judging whether the memory size is less than predetermined threshold value, if the judging unit 406 Judged result is that the memory size is less than the predetermined threshold value, and by the closing unit 404 described closing currently is performed At least one application of the white list is not belonging in multiple applications of operation.
Alternatively, such as Fig. 4 e, Fig. 4 e are a kind of modification structures of the terminal described by Fig. 4 a, and it may also include:Detection is single Unit 407, it is specific as follows:
Detector unit 407, for before the usage frequency that the acquiring unit 401 obtains N number of application, detection terminal Whether present load exceedes predetermined threshold value, exceedes for the present load in the testing result of the detector unit 407 described pre- If during threshold value, by the acquiring unit 401 usage frequency for obtaining N number of application is performed.
As can be seen that by the terminal described by the embodiment of the present invention, the usage frequency of N number of application can be obtained, N be more than 1 integer, according to the priority of N number of application that is arranged in order of the usage frequency of N number of application, wherein, usage frequency is higher, and its is right The priority answered is higher, and by applying higher than M of pre-set priority in the priority of N number of application white list is defined as, M be less than Or the positive integer equal to N, close at least one application that white list is not belonging in the multiple applications being currently running.So as to, Installed System Memory consumption is reduced, the systematic function of terminal can be lifted.
Fig. 5 is referred to, is a kind of second embodiment structural representation of terminal provided in an embodiment of the present invention.The present embodiment Described in terminal, including:At least one input equipment 1000;At least one outut device 2000;At least one processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, processor 3000 and memorizer 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
The concretely display screen of above-mentioned outut device 2000.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, alternatively nonvolatile storage (non-volatile Memory), such as disk memory.Above-mentioned memorizer 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Going out equipment 2000 and processor 3000 is used to call the program code stored in memorizer 4000, performs following operation:
Above-mentioned processor 3000, is used for:
The usage frequency of N number of application is obtained, the N is positive integer;
The priority of N number of application is configured according to the usage frequency of N number of application;
M application in the priority of N number of application higher than pre-set priority is defined as into white list, the M is little In or equal to the positive integer of the N;
At least one application of the white list is not belonging in multiple applications that closing is currently running.
Alternatively, when the plurality of application is the plurality of third-party application, above-mentioned processor 3000 is closed currently just At least one application of the white list is not belonging in multiple applications of operation, including:
The plurality of third-party application that acquisition is currently running;
Determine the Installed System Memory occupation value of each third-party application in the plurality of third-party application, obtain the plurality of accounting for With value;
According to being not belonging to the white list in the plurality of third-party application of the descending orderly close-down of the occupation value At least one application.
Alternatively, above-mentioned processor 3000 is closed in the multiple applications being currently running and is not belonging to the white list extremely A few application, including:
Determine current electric quantity;
According to default electricity and the corresponding relation closed between application numbers, the corresponding target of the current electric quantity is determined Close application numbers;
Closing is performed to the multiple applications being currently running according to the intended application number and the white list Operation.
Alternatively, above-mentioned processor 3000, in the M by the priority of N number of application higher than pre-set priority Individual application is defined as after white list, and closes in multiple applications for being currently running and be not belonging to the white list at least Before one application, also particularly useful for:
Determine the current memory size of system;
Judge that the memory size, whether less than predetermined threshold value, if the memory size is less than the predetermined threshold value, is performed It is described to close at least one application that the white list is not belonging in the multiple applications being currently running.
Alternatively, above-mentioned processor 3000, before the usage frequency for obtaining N number of application, also particularly useful for
Whether the present load of detection terminal exceedes predetermined threshold value, when the present load exceedes the predetermined threshold value, Perform the usage frequency for obtaining N number of application.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of step of any application control method described in said method embodiment during the program performing Suddenly.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real Other changes of the existing open embodiment.In the claims, " including " (comprising) word be not excluded for other composition Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of The form of embodiment.And, the present invention can be adopted and wherein include the calculating of computer usable program code at one or more The computer program implemented in machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware Part, it would however also be possible to employ other distribution forms, such as by Internet or other wired or wireless telecommunication systems.
The present invention be with reference to the embodiment of the present invention method, device (equipment) and computer program flow chart with/ Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/ Or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer program instructions can be provided To the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices producing one Individual machine so that produced for realizing by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, without departing from this In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as cover in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out it is various change and modification and not Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprising these changes and modification.

Claims (11)

1. a kind of application control method, it is characterised in that include:
The usage frequency of N number of application is obtained, the N is positive integer;
The priority of N number of application is configured according to the usage frequency of N number of application;
Be defined as white list by applying higher than M of pre-set priority in the priority of N number of application, the M be less than or Equal to the positive integer of the N;
At least one application of the white list is not belonging in multiple applications that closing is currently running.
2. method according to claim 1, it is characterised in that in the plurality of application be the plurality of third-party application When, at least one application of the white list is not belonging in multiple applications that the closing is currently running, including:
The plurality of third-party application that acquisition is currently running;
Determine the Installed System Memory occupation value of each third-party application in the plurality of third-party application, obtain the plurality of occupancy Value;
According to being not belonging to the white list extremely in the plurality of third-party application of the descending orderly close-down of the occupation value A few application.
3. method according to claim 1, it is characterised in that do not belong in multiple applications that the closing is currently running In at least one application of the white list, including:
Determine current electric quantity;
According to default electricity and the corresponding relation closed between application numbers, determine that the corresponding target of the current electric quantity is closed Application numbers;
Shutoff operation is performed to the multiple applications being currently running according to the intended application number and the white list.
4. the method according to any one of claims 1 to 3, it is characterised in that in the priority by N number of application In be defined as after white list higher than M of pre-set priority application, and multiple applications that the closing is currently running In be not belonging to the white list at least one application before, methods described also includes:
Determine the current memory size of system;
Judge that the memory size, whether less than predetermined threshold value, if the memory size is less than the predetermined threshold value, is performed described At least one application of the white list is not belonging in multiple applications that closing is currently running.
5. the method according to any one of claims 1 to 3, it is characterised in that in the usage frequency for obtaining N number of application Before, methods described also includes:
Whether the present load of detection terminal exceedes predetermined threshold value, when the present load exceedes the predetermined threshold value, performs The usage frequency for obtaining N number of application.
6. a kind of terminal, it is characterised in that include:
Acquiring unit, for obtaining the usage frequency of N number of application, the N is positive integer;
Dispensing unit, for configuring the priority of N number of application according to the usage frequency of N number of application;
First determining unit, for M application in the priority of N number of application higher than pre-set priority to be defined as into white name Single, the M is less than or equal to the positive integer of the N;
Closing unit, is not belonging at least one application of the white list in the multiple applications being currently running for closing.
7. terminal according to claim 6, it is characterised in that in the plurality of application be the plurality of third-party application When, the closing unit includes:
Acquisition module, for obtaining the plurality of third-party application being currently running;
First determining module, for determining the plurality of third-party application in each third-party application Installed System Memory occupation value, Obtain the plurality of occupation value;
Closedown module, for according to being not belonging to institute in the plurality of third-party application of the descending orderly close-down of the occupation value State at least one application of white list.
8. terminal according to claim 6, it is characterised in that the closing unit includes:
Second determining module, for determining current electric quantity;
Second determining module, is additionally operable to:
According to default electricity and the corresponding relation closed between application numbers, determine that the corresponding target of the current electric quantity is closed Application numbers;
Performing module, for according to the intended application number and the white list to the multiple applications being currently running Perform shutoff operation.
9. the terminal according to any one of claim 6 to 8, it is characterised in that the terminal also includes:
Second determining unit, for first determining unit will in the priority of N number of application be higher than pre-set priority M application be defined as after white list, determine the current memory size of system;
Judging unit, for whether judging the memory size less than predetermined threshold value, if the judged result of the judging unit is The memory size is less than the predetermined threshold value, and by the closing unit the multiple applications closed and be currently running are performed In be not belonging at least one application of the white list.
10. the terminal according to any one of claim 6 value 8, it is characterised in that the terminal also includes:
Detector unit, for before the usage frequency that the acquiring unit obtains N number of application, the present load of detection terminal to be It is no more than predetermined threshold value, when the testing result of the detector unit is that the present load exceedes the predetermined threshold value, by institute State acquiring unit and perform the usage frequency for obtaining N number of application.
11. a kind of terminals, it is characterised in that include:
Processor and memorizer;Wherein, code during the processor is by calling the memorizer or instruction are performing such as power Profit requires the method described in 1 to 5 any one.
CN201610987246.1A 2016-11-09 2016-11-09 Application control method and terminal Pending CN106569890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610987246.1A CN106569890A (en) 2016-11-09 2016-11-09 Application control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610987246.1A CN106569890A (en) 2016-11-09 2016-11-09 Application control method and terminal

Publications (1)

Publication Number Publication Date
CN106569890A true CN106569890A (en) 2017-04-19

Family

ID=58540927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610987246.1A Pending CN106569890A (en) 2016-11-09 2016-11-09 Application control method and terminal

Country Status (1)

Country Link
CN (1) CN106569890A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506240A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment
WO2020133437A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Application program managing method and device, storage medium and electronic device
CN111611020A (en) * 2020-04-14 2020-09-01 上海卓易科技股份有限公司 Application process searching and killing method and device for application program
CN112732065A (en) * 2019-10-28 2021-04-30 东芝泰格有限公司 Information processing apparatus and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631661A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Internal storage management method and device
CN104503563A (en) * 2014-12-30 2015-04-08 中科创达软件股份有限公司 Electricity saving method and device of electronic equipment
CN105912407A (en) * 2016-05-06 2016-08-31 上海斐讯数据通信技术有限公司 Memory cleaning method and system for mobile terminal
CN105975323A (en) * 2016-06-27 2016-09-28 北京金山安全软件有限公司 Application management method and device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631661A (en) * 2013-11-27 2014-03-12 青岛海信电器股份有限公司 Internal storage management method and device
CN104503563A (en) * 2014-12-30 2015-04-08 中科创达软件股份有限公司 Electricity saving method and device of electronic equipment
CN105912407A (en) * 2016-05-06 2016-08-31 上海斐讯数据通信技术有限公司 Memory cleaning method and system for mobile terminal
CN105975323A (en) * 2016-06-27 2016-09-28 北京金山安全软件有限公司 Application management method and device and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506240A (en) * 2017-07-31 2017-12-22 广东欧珀移动通信有限公司 Background application management-control method, device, storage medium and electronic equipment
CN107506240B (en) * 2017-07-31 2020-01-31 Oppo广东移动通信有限公司 Background application program control method and device, storage medium and electronic equipment
WO2020133437A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Application program managing method and device, storage medium and electronic device
CN112997150A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Application program management method and device, storage medium and electronic equipment
CN112997150B (en) * 2018-12-29 2023-12-08 深圳市欢太科技有限公司 Application management method and device, storage medium and electronic equipment
CN112732065A (en) * 2019-10-28 2021-04-30 东芝泰格有限公司 Information processing apparatus and storage medium
CN111611020A (en) * 2020-04-14 2020-09-01 上海卓易科技股份有限公司 Application process searching and killing method and device for application program

Similar Documents

Publication Publication Date Title
CN106569890A (en) Application control method and terminal
CN106095363A (en) Ameliorative way, device and the terminal that a kind of terminal card pauses
CN103019842A (en) Background program finishing method and system
CN105302637A (en) Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN103914322A (en) Terminal acceleration method and terminal
CN106445783A (en) Method and device for detecting jamming of electronic equipment and electronic equipment
CN106776036A (en) A kind of resource allocation methods and device
CN107547433A (en) The method, apparatus and equipment of current limliting are carried out based on Token Bucket
CN103984743B (en) A kind of method and device of managing internal memory resource
CN106502778A (en) A kind of terminal and its process scheduling optimization method
CN106604362A (en) Wireless fidelity (Wi-Fi) scanning method and mobile terminal
CN104536813A (en) Accelerating method and device for computing equipment
CN107220077A (en) Using the management-control method and management and control devices of startup
CN110441594A (en) Electric vehicle charging behavior monitoring method, device and computer readable storage medium
CN106991319A (en) The right management method and mobile terminal of a kind of application program
CN109190411A (en) A kind of active safety means of defence, system and the terminal device of operating system
CN102510400A (en) Method, apparatus and equipment used for determining user suspectableness degree
CN107704155A (en) Application program image target methods of exhibiting, device, terminal and storage medium
CN104994547A (en) Network access method and user terminal
CN107145215A (en) A kind of background application method for cleaning and mobile terminal
CN106933822A (en) A kind of content recommendation method and device
CN104375896B (en) A kind of information processing method and electronic equipment
CN106503543A (en) A kind of method and apparatus of management application program
CN110928600A (en) Cleaning method and device for terminal background application, mobile terminal and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170419

RJ01 Rejection of invention patent application after publication