CN106020834A - Method for controlling application program and program controlling device - Google Patents

Method for controlling application program and program controlling device Download PDF

Info

Publication number
CN106020834A
CN106020834A CN201610355984.4A CN201610355984A CN106020834A CN 106020834 A CN106020834 A CN 106020834A CN 201610355984 A CN201610355984 A CN 201610355984A CN 106020834 A CN106020834 A CN 106020834A
Authority
CN
China
Prior art keywords
application program
program
module
described application
frequency value
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
CN201610355984.4A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610355984.4A priority Critical patent/CN106020834A/en
Publication of CN106020834A publication Critical patent/CN106020834A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

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)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method for controlling an application program. The method comprises following steps: receiving a program closing instruction for closing the application program; obtaining first application frequency value of the application program; judging whether first application frequency value of the application program is larger than first pre-set threshold value; not closing the application program running on the background according to the program closing instruction when the first pre-set threshold value of the application program is larger than the pre-set threshold value. The embodiment is capable of controlling an application program that is commonly used by a user not to be removed by the background, especially for an application program occupying large internal memory. By adoption of the scheme, the application program can be started without initializing the process. Time spent on starting the application program is saved in order to improve user's experience and increase using efficiency of the scheme.

Description

A kind of method controlling application program and presetting apparatus
Technical field
The present invention relates to communication technology, particularly relate to a kind of method controlling application program and programme-control Device.
Background technology
Along with the development of intelligent terminal, the application program of intelligent terminal have also been obtained and is widely used, at present, Application program is in the stage developed rapidly, and people the most increasingly be unable to do without types of applications program and brought Facility.
In prior art, if user temporarily need not certain application program, then can this application program from Process hurdle is deleted, and system is by " killing " this application program automatically, when user again taps on this application of entrance During program, process can be reinitialized.
But, when the internal memory shared by an application program is bigger, reenter this application program every time Being accomplished by the more time completes initialization process, thus reduces the efficiency starting application program, unfavorable In Consumer's Experience.
Summary of the invention
Embodiments provide a kind of method controlling application program and presetting apparatus, permissible The application program that control user commonly uses will not be removed by backstage, particularly with the application journey that committed memory is bigger For sequence, use the present invention program can open this application program without initializing process, saved unlatching The time of application program, be conducive to strengthening Consumer's Experience, the service efficiency of lifting scheme.
In view of this, first aspect present invention provides a kind of method controlling application program, including:
Receive the stop instruction closing application program;
Obtain the first applying frequency value of described application program;
Judge that whether the first applying frequency value of described application program is more than the first pre-determined threshold;
When the first applying frequency value of described application program is more than the first pre-determined threshold, according to described program Out code, does not close the described application program of running background.
In conjunction with the first aspect of the embodiment of the present invention, in the implementation that the first is possible, described in be not related to Close the described application program of running background, including:
Described application program in bolt down procedure manager, is not turned off the described application program of running background.
In conjunction with first aspect or the first possible implementation of first aspect of the embodiment of the present invention, second Planting in possible implementation, described method also includes:
When the first applying frequency value of described application program is less than the first pre-determined threshold, check that prestore treats Running in program listing and whether there is described application program, described as ready line program list includes when closing The described application program of running background it is not turned off during described application program in Program Manager;
When the described as ready line program list prestored exists described application program, do not close running background Described application program;
When the described as ready line program list prestored does not exists described application program, close running background Described application program.
In conjunction with the possible implementation of first aspect the second of the embodiment of the present invention, in the reality that the third is possible In existing mode, described in check whether the as ready line program list prestored exist described application program before, Returning method includes:
Receive the interpolation instruction of the destination application of input, and add instruction at described as ready according to described Line program list is added described destination application;
Or,
Whether the second applying frequency value detecting described Preset Time internal object application program is preset more than second Thresholding, when the test results is yes, adds described destination application in described as ready line program list.
In conjunction with first aspect or the first possible implementation of first aspect of the embodiment of the present invention, the 4th Planting in possible implementation, described method also includes:
When the first applying frequency value of described application program is less than the first pre-determined threshold, according to described program The described application program of running background is closed in out code.
Second aspect present invention provides a kind of presetting apparatus, including:
Receiver module, for receiving the stop instruction closing application program;
Acquisition module, for obtaining the first applying frequency value of described application program;
Judge module, for judging the first applying frequency of described application program that described acquisition module obtains Whether value is more than the first pre-determined threshold;
Program reservation module, for judging to obtain the first application of described application program when described judge module When frequency values is more than the first pre-determined threshold, the described stop instruction received according to described receiver module, Do not close the described application program of running background.
In conjunction with the second aspect of the embodiment of the present invention, in the implementation that the first is possible, described program Reservation module includes:
Program stick unit, the described application program in bolt down procedure manager, it is not turned off backstage The described application program run.
In conjunction with second aspect or the first possible implementation of second aspect of the embodiment of the present invention, second Planting in possible implementation, described presetting apparatus also includes:
Check module, for judging to obtain the first applying frequency of described application program when described judge module When value is less than the first pre-determined threshold, check in the as ready line program list prestored whether there is described application journey Sequence, described as ready line program list includes when described application program in bolt down procedure manager not Close the described application program of running background;
Reservation module, for when described in check that module is deposited in the as ready line program list that prestores described in checking When described application program, do not close the described application program of running background;
Close module, for when described in check module check described in the as ready line program list that prestores not When there is described application program, close the described application program of running background.
In conjunction with the possible implementation of second aspect the second of the embodiment of the present invention, in the reality that the third is possible In existing mode, described presetting apparatus also includes:
Processing module, be used for described in check module checks in the as ready line program list prestored whether there is institute Before stating application program, receive the interpolation instruction of the destination application of input, and refer to according to described interpolation Order adds described destination application in described as ready line program list;
Or,
Whether the second applying frequency value detecting described Preset Time internal object application program is preset more than second Thresholding, when the test results is yes, adds described destination application in described as ready line program list.
In conjunction with second aspect or the first possible implementation of second aspect of the embodiment of the present invention, the 4th Planting in possible implementation, described presetting apparatus also includes:
Stop module, for presetting door when the first applying frequency value of described application program less than first In limited time, the described application program of running background is closed according to the instruction of described stop.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, it is provided that a kind of method controlling application program, presetting apparatus receives Close the stop instruction of application program, then obtain the first applying frequency value of application program, then Judge whether the first applying frequency value of application program is more than the first pre-determined threshold, when the first of application program When applying frequency value is more than the first pre-determined threshold, then presetting apparatus can instruct according to stop, Not closing the application program of running background, wherein, the first applying frequency value can reflect that user should to certain By the use frequency of program, can control application program that user commonly uses by the way will not be by backstage Remove, particularly with for the application program that committed memory is bigger, use the present invention program without initializing Process can open this application program, has saved the time opening application program, has been conducive to strengthening user's body Test, the service efficiency of lifting scheme.
Accompanying drawing explanation
Fig. 1 is one the embodiment schematic diagram of method controlling application program in the embodiment of the present invention;
Fig. 2 is that embodiment of the present invention Program controls one embodiment schematic diagram of device;
Fig. 3 is that embodiment of the present invention Program controls another embodiment schematic diagram of device;
Fig. 4 is that embodiment of the present invention Program controls another embodiment schematic diagram of device;
Fig. 5 is that embodiment of the present invention Program controls another embodiment schematic diagram of device;
Fig. 6 is that embodiment of the present invention Program controls another embodiment schematic diagram of device.
Detailed description of the invention
Embodiments provide a kind of method controlling application program and presetting apparatus, permissible The application program that control user commonly uses will not be removed by backstage, particularly with the application journey that committed memory is bigger For sequence, use the present invention program can open this application program without initializing process, saved unlatching The time of application program, be conducive to strengthening Consumer's Experience, the service efficiency of lifting scheme.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two ", the (if present) such as " the 3rd " " the 4th " be for distinguishing similar object, without with In describing specific order or precedence.Should be appreciated that the data of so use are the most permissible Exchange, in order to embodiments of the invention described herein such as can be with except here illustrating or describing Order beyond those is implemented.Additionally, term " includes " and " having " and their any change Shape, it is intended that cover non-exclusive comprising, such as, contain series of steps or the process of unit, Method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can wrap Include that the most clearly list or for intrinsic other step of these processes, method, product or equipment or Unit.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 entered Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not making The every other embodiment obtained under creative work premise, broadly falls into the scope of protection of the invention.
Below the method controlling application program in the present invention is described in detail, refers to Fig. 1, this A kind of embodiment of the method controlling application program that bright embodiment provides includes:
101, the stop instruction of closedown application program is received;
In the present embodiment, when user is not desired to use certain application program, can send out to presetting apparatus Play program out code so that presetting apparatus receives this and refers to for the stop cutting out application program Order.
102, the first applying frequency value of application program is obtained;
In the present embodiment, after presetting apparatus have received the stop instruction of cut out application program, Obtain the first applying frequency value of this application program.
Wherein, application program may refer to the computer program for completing a certain or multinomial particular job, it Operate in user model, can interact with user, there is visual user interface.
First applying frequency value refers to that user uses the frequent degree of this application program, such as this user's warp The application program of normally open photographing unit, opens 10 average every day, i.e. the first of camera application should It is 10. with frequency values
103, judge that whether the first applying frequency value of application program is more than the first pre-determined threshold;
In the present embodiment, presetting apparatus after the first applying frequency value getting application program, And then judge that whether the first applying frequency value of application program is more than the first pre-determined threshold.
Assume that user uses application program average out to every day 10 times of photographing unit, then can be by the first application frequency Rate value is defined as 10, and the first pre-determined threshold can be arranged in advance.
It should be noted that the first pre-determined threshold can be 5, it is also possible to be 15, or other are rational Value, does not limits.
If the first pre-determined threshold is 5, then presetting apparatus judge photographing unit application program first Whether applying frequency value is more than 5.
104, when the first applying frequency value of application program is more than the first pre-determined threshold, according to stop Instruction, does not close the application program of running background.
In the present embodiment, refering to the content described in step 103, it is assumed that this application program is camera application Program, and the first applying frequency value of camera application is 10, and when the first pre-determined threshold is 5, Then determine that the first applying frequency value of camera application is more than the first pre-determined threshold, then programme-control The stop instruction that device sends according to user, does not closes the application program of this operation on backstage.Specifically Arrive example herein, be then not close camera application on backstage.
So far, presetting apparatus can run the execution ensureing to retain camera application, even if meeting Also will not actively go to low memory situation to close this camera application, ensure application program survival as far as possible Make can quickly respond when clicking on next time.
In the embodiment of the present invention, it is provided that a kind of method controlling application program, presetting apparatus receives Close the stop instruction of application program, then obtain the first applying frequency value of application program, then Judge whether the first applying frequency value of application program is more than the first pre-determined threshold, when the first of application program When applying frequency value is more than the first pre-determined threshold, then presetting apparatus can instruct according to stop, Not closing the application program of running background, wherein, the first applying frequency value can reflect that user should to certain By the use frequency of program, can control application program that user commonly uses by the way will not be by backstage Remove, particularly with for the application program that committed memory is bigger, use the present invention program without initializing Process can open this application program, has saved the time opening application program, has been conducive to strengthening user's body Test, the service efficiency of lifting scheme.
Alternatively, on the basis of the embodiment that above-mentioned Fig. 1 is corresponding, the control that the embodiment of the present invention provides In first alternative embodiment of the method for application program, do not close the application program of running background, can wrap Include:
Application program in bolt down procedure manager, is not turned off the application program of running background.
In the present embodiment, when the first applying frequency value of application program is more than the first pre-determined threshold, program Control device to instruct according to stop, the application program in bolt down procedure manager, be not turned off The application program of running background.
Specifically, presetting apparatus can also control a Program Manager, wherein, Program Manager The application program that middle display currently runs, when determining that the first applying frequency value of application A is more than first During pre-determined threshold, then instruct according to Client-initiated stop, can be with answering in bolt down procedure manager Use program A, say, that, it is believed that application A is the most out of service, but does not thoroughly close on backstage Close this application A.Although Program Manager does not show application A, but in system background still So maintain application A.
Secondly, in the embodiment of the present invention, when the first applying frequency value of application program presets door more than first In limited time, presetting apparatus can instruct according to stop, the application program in bolt down procedure manager, It is not turned off the application program of running background.By the way, so that user is on display interface Learnt by Program Manager whether the application program oneself wanting to close has been switched off successfully, if should answer Be not explicitly shown on Program Manager by program, then explanation user is presently off application program successfully, but It is, in order to ensure the unlatching efficiency of this application program, still to retain application program the day after tomorrow of system, Make scheme can open this application program without initializing process, thus can open without initializing process This application program.
Alternatively, on the basis of first corresponding for above-mentioned Fig. 1 or Fig. 1 embodiment, the present invention implements In second alternative embodiment of method controlling application program that example provides, it is also possible to including:
When the first applying frequency value of application program is less than the first pre-determined threshold, check that waiting of prestoring is run Whether there is application program in program listing, as ready line program list includes when in bolt down procedure manager Application program time be not turned off the application program of running background;
When the as ready line program list prestored exists application program, do not close the application journey of running background Sequence;
When the as ready line program list prestored does not exists application program, close the application journey of running background Sequence.
In the present embodiment, the method additionally providing the application program of a kind of self-defined interpolation running background, i.e. When the first applying frequency value of application program is less than the first pre-determined threshold, presetting apparatus is looked into further Seeing and whether there is application program in the as ready line program list prestored, as ready line program list includes when closing The application program of running background it is not turned off, when the as ready prestored when closing the application program in Program Manager When line program list exists application program, do not close the application program of running background, but when prestore When as ready line program list does not exists application program, close the application program of running background.
Specifically, detect that the first applying frequency value of application program is pre-less than first when presetting apparatus If during thresholding, first check whether this application program is present in the as ready line program list prestored, it is assumed that The as ready line program list prestored there are application A, application program B, application program C, application program D and application program E, if the first applying frequency value of application program B is less than the first pre-determined threshold, that Fragment application program B is either with or without in the as ready line program list prestored further, and being determined by comparison should By program B in the as ready line program list prestored, the most do not close application program B on backstage.
Later, application program X was initiated again stop instruction by user, and the first of application program X should With frequency values again smaller than the first pre-determined threshold, then determine whether that whether application program X is treating of prestoring Run in program listing, but after comparison, find that application program X does not has at the as ready stroke prestored In sequence table, then presetting apparatus determines the application program cutting out running background.
Again, in the embodiment of the present invention, when the first applying frequency value of application program presets door less than first Prescribe a time limit, it is also possible to check in the as ready line program list prestored whether there is application program further, its In, as ready line program list includes being not turned off backstage when application program in bolt down procedure manager The application program run, when there is application program in the as ready line program list prestored, does not close backstage The application program run, when there is not application program in the as ready line program list prestored, closes backstage The application program run.Thus can preset less than first in the first applying frequency value judging application program During thresholding, additionally it is possible to increasing a qualifications, ensure optionally to close application on backstage with this Program, but by detecting whether this application program is present in the as ready line program list prestored further, Whether finally determine the closedown of this application program, thus the practicality of the scheme strengthened and feasibility.
Alternatively, on the basis of second corresponding for above-mentioned Fig. 1 embodiment, the embodiment of the present invention provides Control application program the 3rd alternative embodiment of method in, it is also possible to including: check the as ready prestored Before whether line program list exists application program, it is also possible to including:
Receive the interpolation instruction of the destination application of input, and according to adding instruction in as ready stroke sequence Table adds destination application;
Or,
Whether the second applying frequency value of detection Preset Time internal object application program presets door more than second Limit, when the test results is yes, adds destination application in as ready line program list.
In the present embodiment, before whether there is application program in seeing the as ready line program list prestored, also Provide two kinds of operations that can add application program in the as ready line program list prestored, below will divide It is not introduced.
Specifically, first kind of way is, presetting apparatus first receives the destination application of user's input Interpolation instruction, then start application program add pattern, user can according to the demand of oneself, select Oneself need the destination application added, can be by the way of choosing application program, treating of prestoring Run in program listing and add the destination application chosen.
The second way is, presetting apparatus can also detect the of Preset Time internal object application program Whether two applying frequency values are more than the second pre-determined threshold, it is assumed that Preset Time is 5 hours, wherein, 5 Hour internal object application program has been unlocked 8 times, say, that the second application frequency of destination application Rate value is 8, needs specifically to judge whether the second applying frequency value is more than the second pre-determined threshold, if second is pre- If thresholding is arranged to 5, it is determined that the second applying frequency value of destination application presets door more than second Limit, now, presetting apparatus can add this destination application automatically in as ready line program list.
It should be noted that the second pre-determined threshold can also is that other rational numerical value, such as 10 or 5 Deng, do not limit.
Further, in the embodiment of the present invention, it is also possible to start " white list " mechanism, by user certainly The pattern of definition adds destination application in as ready line program list, i.e. checks the as ready stroke prestored Before whether sequence table exists application program, it is also possible to the interpolation of the destination application receiving input refers to Order, and in as ready line program list, add destination application according to adding instruction, or detection is preset Second applying frequency value of time internal object application program, whether more than the second pre-determined threshold, works as testing result During for being, as ready line program list is added destination application.By the way, run waiting Program listing is added destination application, it is ensured that the motility of scheme and practicality.
Alternatively, on the basis of first corresponding for above-mentioned Fig. 1 or Fig. 1 embodiment, the present invention implements In the 4th alternative embodiment of method controlling application program that example provides, it is also possible to including:
When the first applying frequency value of application program is less than the first pre-determined threshold, instruct according to stop Close the application program of running background.
In the present embodiment, if the first applying frequency value of application program is less than the first pre-determined threshold, then journey Sequence controls device and closes the application program of running background according to stop instruction.
Specifically, if the first applying frequency value of application program Z is less than the first pre-determined threshold, the most permissible After receiving the stop instruction that application program Z is initiated by user, directly close this application program Z, Close application program Z the most in the background, when waiting start this application program Z next time, reload program.
Again, in the embodiment of the present invention, when the first applying frequency value of application program presets door less than first In limited time, presetting apparatus cuts out the application program of running background according to stop instruction.By above-mentioned Mode, can directly close the application program being unsatisfactory for condition, it is not necessary to carry out too much inspection in the background Survey, thus save system resource.
Below the presetting apparatus in the method for the application program launching in the present invention is retouched in detail Stating, refer to Fig. 2, the presetting apparatus in the embodiment of the present invention includes:
Receiver module 201, for receiving the stop instruction closing application program;
Acquisition module 202, for obtaining the first applying frequency value of described application program;
Judge module 203, for judging that the first of described application program that described acquisition module 202 obtains answers With frequency values whether more than the first pre-determined threshold;
Program reservation module 204, for judging to obtain the of described application program when described judge module 203 When one applying frequency value is more than the first pre-determined threshold, the described program received according to described receiver module 201 Out code, does not close the described application program of running background.
In the present embodiment, receiver module 201 receives the stop instruction closing application program, obtains mould Block 202 obtains the first applying frequency value of described application program, it is judged that module 203 judges described acquisition mould First applying frequency value of the described application program that block 202 obtains, whether more than the first pre-determined threshold, works as institute State judge module 203 and judge that the first applying frequency value obtaining described application program is more than the first pre-determined threshold Time, the described stop instruction that program reservation module 204 receives according to described receiver module 201, no Close the described application program of running background.
In the embodiment of the present invention, it is provided that a kind of method controlling application program, presetting apparatus receives Close the stop instruction of application program, then obtain the first applying frequency value of application program, then Judge whether the first applying frequency value of application program is more than the first pre-determined threshold, when the first of application program When applying frequency value is more than the first pre-determined threshold, then presetting apparatus can instruct according to stop, Not closing the application program of running background, wherein, the first applying frequency value can reflect that user should to certain By the use frequency of program, can control application program that user commonly uses by the way will not be by backstage Remove, particularly with for the application program that committed memory is bigger, use the present invention program without initializing Process can open this application program, has saved the time opening application program, has been conducive to strengthening user's body Test, the service efficiency of lifting scheme.
Referring to Fig. 3, embodiment of the present invention Program controls another embodiment of device and includes:
Receiver module 201, for receiving the stop instruction closing application program;
Acquisition module 202, for obtaining the first applying frequency value of described application program;
Judge module 203, for judging that the first of described application program that described acquisition module 202 obtains answers With frequency values whether more than the first pre-determined threshold;
Program reservation module 204, for judging to obtain the of described application program when described judge module 203 When one applying frequency value is more than the first pre-determined threshold, the described program received according to described receiver module 201 Out code, does not close the described application program of running background;
Described program reservation module 204 includes:
Program stick unit 2041, the described application program in bolt down procedure manager, it is not turned off The described application program of running background.
Secondly, in the embodiment of the present invention, when the first applying frequency value of application program presets door more than first In limited time, presetting apparatus can instruct according to stop, the application program in bolt down procedure manager, It is not turned off the application program of running background.By the way, so that user is on display interface Learnt by Program Manager whether the application program oneself wanting to close has been switched off successfully, if should answer Be not explicitly shown on Program Manager by program, then explanation user is presently off application program successfully, but It is, in order to ensure the unlatching efficiency of this application program, still to retain application program the day after tomorrow of system, Make scheme can open this application program without initializing process, thus can open without initializing process This application program.
Referring to Fig. 4, embodiment of the present invention Program controls another embodiment of device and includes:
Receiver module 201, for receiving the stop instruction closing application program;
Acquisition module 202, for obtaining the first applying frequency value of described application program;
Judge module 203, for judging that the first of described application program that described acquisition module 202 obtains answers With frequency values whether more than the first pre-determined threshold;
Program reservation module 204, for judging to obtain the of described application program when described judge module 203 When one applying frequency value is more than the first pre-determined threshold, the described program received according to described receiver module 201 Out code, does not close the described application program of running background;
Check module 205, for judging that obtain described application program first should when described judge module 203 During with frequency values less than the first pre-determined threshold, check described in whether the as ready line program list prestored exists Application program, described as ready line program list includes when the described application program in bolt down procedure manager Time be not turned off the described application program of running background;
Reservation module 206, for when described in check module 205 check described in the as ready stroke sequence that prestores When table exists described application program, do not close the described application program of running background;
Close module 207, for when described in check module 205 check described in the as ready stroke sequence that prestores When table does not exists described application program, close the described application program of running background.
Again, in the embodiment of the present invention, when the first applying frequency value of application program presets door less than first Prescribe a time limit, it is also possible to check in the as ready line program list prestored whether there is application program further, its In, as ready line program list includes being not turned off backstage when application program in bolt down procedure manager The application program run, when there is application program in the as ready line program list prestored, does not close backstage The application program run, when there is not application program in the as ready line program list prestored, closes backstage The application program run.Thus can preset less than first in the first applying frequency value judging application program During thresholding, additionally it is possible to increasing a qualifications, ensure optionally to close application on backstage with this Program, but by detecting whether this application program is present in the as ready line program list prestored further, Whether finally determine the closedown of this application program, thus the practicality of the scheme strengthened and feasibility.
Referring to Fig. 5, embodiment of the present invention Program controls another embodiment of device and includes:
Receiver module 201, for receiving the stop instruction closing application program;
Acquisition module 202, for obtaining the first applying frequency value of described application program;
Judge module 203, for judging that the first of described application program that described acquisition module 202 obtains answers With frequency values whether more than the first pre-determined threshold;
Program reservation module 204, for judging to obtain the of described application program when described judge module 203 When one applying frequency value is more than the first pre-determined threshold, the described program received according to described receiver module 201 Out code, does not close the described application program of running background;
Check module 205, for judging that obtain described application program first should when described judge module 203 During with frequency values less than the first pre-determined threshold, check described in whether the as ready line program list prestored exists Application program, described as ready line program list includes when the described application program in bolt down procedure manager Time be not turned off the described application program of running background;
Reservation module 206, for when described in check module 205 check described in the as ready stroke sequence that prestores When table exists described application program, do not close the described application program of running background;
Close module 207, for when described in check module 205 check described in the as ready stroke sequence that prestores When table does not exists described application program, close the described application program of running background;
Processing module 208, be used for described in check whether module 205 checks in the as ready line program list prestored Before there is described application program, receive the interpolation instruction of the destination application of input, and according to described Add instruction and add described destination application in described as ready line program list;
Or,
Whether the second applying frequency value detecting described Preset Time internal object application program is preset more than second Thresholding, when the test results is yes, adds described destination application in described as ready line program list.
Further, in the embodiment of the present invention, it is also possible to start " white list " mechanism, by user certainly The pattern of definition adds destination application in as ready line program list, i.e. checks the as ready stroke prestored Before whether sequence table exists application program, it is also possible to the interpolation of the destination application receiving input refers to Order, and in as ready line program list, add destination application according to adding instruction, or detection is preset Second applying frequency value of time internal object application program, whether more than the second pre-determined threshold, works as testing result During for being, as ready line program list is added destination application.By the way, run waiting Program listing is added destination application, it is ensured that the motility of scheme and practicality.
Referring to Fig. 6, embodiment of the present invention Program controls another embodiment of device and includes:
Receiver module 201, for receiving the stop instruction closing application program;
Acquisition module 202, for obtaining the first applying frequency value of described application program;
Judge module 203, for judging that the first of described application program that described acquisition module 202 obtains answers With frequency values whether more than the first pre-determined threshold;
Program reservation module 204, for judging to obtain the of described application program when described judge module 203 When one applying frequency value is more than the first pre-determined threshold, the described program received according to described receiver module 201 Out code, does not close the described application program of running background;
Stop module 209, presets less than first for the first applying frequency value when described application program During thresholding, close the described application program of running background according to the instruction of described stop.
Again, in the embodiment of the present invention, when the first applying frequency value of application program presets door less than first In limited time, presetting apparatus cuts out the application program of running background according to stop instruction.By above-mentioned Mode, can directly close the application program being unsatisfactory for condition, it is not necessary to carry out too much inspection in the background Survey, thus save system resource.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and Method, can realize by another way.Such as, device embodiment described above is only shown Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not perform.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit In, it is also possible to it is that unit is individually physically present, it is also possible to two or more unit are integrated in one In individual unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software merit The form of energy unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme Completely or partially can embody with the form of software product, this computer software product is stored in one In storage medium, including some instructions with so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (English full name: Read-Only Memory, english abbreviation: ROM), random access memory (English full name: Random Access Memory, english abbreviation: RAM), magnetic disc or CD etc. are various can store program code Medium.
The above, above example only in order to technical scheme to be described, is not intended to limit; Although being described in detail the present invention with reference to previous embodiment, those of ordinary skill in the art should Work as understanding: the technical scheme described in foregoing embodiments still can be modified by it, or to it Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution Essence depart from various embodiments of the present invention technical scheme spirit and scope.

Claims (10)

1. the method controlling application program, it is characterised in that including:
Receive the stop instruction closing application program;
Obtain the first applying frequency value of described application program;
Judge that whether the first applying frequency value of described application program is more than the first pre-determined threshold;
When the first applying frequency value of described application program is more than the first pre-determined threshold, according to described program Out code, does not close the described application program of running background.
Method the most according to claim 1, it is characterised in that the described institute not closing running background State application program, including:
Described application program in bolt down procedure manager, is not turned off the described application program of running background.
Method the most according to claim 1 and 2, it is characterised in that described method also includes:
When the first applying frequency value of described application program is less than the first pre-determined threshold, check that prestore treats Running in program listing and whether there is described application program, described as ready line program list includes when closing The described application program of running background it is not turned off during described application program in Program Manager;
When the described as ready line program list prestored exists described application program, do not close running background Described application program;
When the described as ready line program list prestored does not exists described application program, close running background Described application program.
Method the most according to claim 3, it is characterised in that described in check the as ready stroke prestored Before whether there is described application program in sequence table, returning method includes:
Receive the interpolation instruction of the destination application of input, and add instruction at described as ready according to described Line program list is added described destination application;
Or,
Whether the second applying frequency value detecting described Preset Time internal object application program is preset more than second Thresholding, when the test results is yes, adds described destination application in described as ready line program list.
Method the most according to claim 1 and 2, it is characterised in that described method also includes:
When the first applying frequency value of described application program is less than the first pre-determined threshold, according to described program The described application program of running background is closed in out code.
6. a presetting apparatus, it is characterised in that including:
Receiver module, for receiving the stop instruction closing application program;
Acquisition module, for obtaining the first applying frequency value of described application program;
Judge module, for judging the first applying frequency of described application program that described acquisition module obtains Whether value is more than the first pre-determined threshold;
Program reservation module, for judging to obtain the first application of described application program when described judge module When frequency values is more than the first pre-determined threshold, the described stop instruction received according to described receiver module, Do not close the described application program of running background.
Presetting apparatus the most according to claim 6, it is characterised in that described program retains mould Block includes:
Program stick unit, the described application program in bolt down procedure manager, it is not turned off backstage The described application program run.
8. according to the presetting apparatus described in claim 6 or 7, it is characterised in that described program control Device processed also includes:
Check module, for judging to obtain the first applying frequency of described application program when described judge module When value is less than the first pre-determined threshold, check in the as ready line program list prestored whether there is described application journey Sequence, described as ready line program list includes when described application program in bolt down procedure manager not Close the described application program of running background;
Reservation module, for when described in check that module is deposited in the as ready line program list that prestores described in checking When described application program, do not close the described application program of running background;
Close module, for when described in check module check described in the as ready line program list that prestores not When there is described application program, close the described application program of running background.
Presetting apparatus the most according to claim 8, it is characterised in that described programme-control fills Put and also include:
Processing module, be used for described in check module checks in the as ready line program list prestored whether there is institute Before stating application program, receive the interpolation instruction of the destination application of input, and refer to according to described interpolation Order adds described destination application in described as ready line program list;
Or,
Whether the second applying frequency value detecting described Preset Time internal object application program is preset more than second Thresholding, when the test results is yes, adds described destination application in described as ready line program list.
10. according to the presetting apparatus described in claim 6 or 7, it is characterised in that described program Control device also to include:
Stop module, for presetting door when the first applying frequency value of described application program less than first In limited time, the described application program of running background is closed according to the instruction of described stop.
CN201610355984.4A 2016-05-24 2016-05-24 Method for controlling application program and program controlling device Pending CN106020834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610355984.4A CN106020834A (en) 2016-05-24 2016-05-24 Method for controlling application program and program controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610355984.4A CN106020834A (en) 2016-05-24 2016-05-24 Method for controlling application program and program controlling device

Publications (1)

Publication Number Publication Date
CN106020834A true CN106020834A (en) 2016-10-12

Family

ID=57093985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610355984.4A Pending CN106020834A (en) 2016-05-24 2016-05-24 Method for controlling application program and program controlling device

Country Status (1)

Country Link
CN (1) CN106020834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557349A (en) * 2016-11-29 2017-04-05 珠海市魅族科技有限公司 A kind of application control method and device of mobile terminal
CN107678796A (en) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for optimizing system resource

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298336A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Mobile terminal and control method and device of application program of mobile terminal
CN105389174A (en) * 2014-09-04 2016-03-09 Tcl集团股份有限公司 Application program acceleration starting method and system based on mobile operating system
CN105468416A (en) * 2015-11-30 2016-04-06 魅族科技(中国)有限公司 Application program clearing method and terminal
CN105468409A (en) * 2015-11-20 2016-04-06 北京金山安全软件有限公司 Application program closing method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298336A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Mobile terminal and control method and device of application program of mobile terminal
CN105389174A (en) * 2014-09-04 2016-03-09 Tcl集团股份有限公司 Application program acceleration starting method and system based on mobile operating system
CN105468409A (en) * 2015-11-20 2016-04-06 北京金山安全软件有限公司 Application program closing method and device and electronic equipment
CN105468416A (en) * 2015-11-30 2016-04-06 魅族科技(中国)有限公司 Application program clearing method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557349A (en) * 2016-11-29 2017-04-05 珠海市魅族科技有限公司 A kind of application control method and device of mobile terminal
CN107678796A (en) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, storage device and mobile terminal for optimizing system resource

Similar Documents

Publication Publication Date Title
CN104461742B (en) Calculate equipment optimization method and device
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN101488890B (en) Method and system for network attack test
CN105930191A (en) System service reloading method and apparatus
CN109582335A (en) It is a kind of without interrupt storage cluster node online upgrading method, device and equipment
CN106020834A (en) Method for controlling application program and program controlling device
CN106325993A (en) Freezing method of application program and terminal
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN104268193A (en) Advertisement webpage intercepting method and device
CN105975306A (en) Application program starting management method and application program starting management apparatus for electronic device
CN109633335A (en) Fault recognition method and device
CN106227569A (en) A kind of application upgrade method and terminal unit
CN108170456A (en) The firmware upgrade method and device of electronic equipment
CN107733785A (en) A kind of multiple terminals chat message synchronization removal method and device
CN107463450A (en) The data processing method and device of container
US20160198046A1 (en) Skill management apparatus, method and program
CN110399360A (en) The setting method and device of dictionary table, storage medium, electronic device
CN109446008A (en) A kind of failure cause detection method, failure cause detection device and terminal device
CN110377616A (en) A kind of data-erasure method, device, electronic equipment and storage medium
CN110459260A (en) Automatic test switching device, method and system
CN109859038A (en) A kind of take-effective method and device of block chain intelligence contract
CN109684034A (en) Start the method and device of container application
CN112632523B (en) Offline login and working method and system of mobile terminal
CN109086171A (en) A kind of file system restorative procedure and device
CN108134720A (en) A kind of apparatus self-adaptation control method, device and server

Legal Events

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

Application publication date: 20161012

RJ01 Rejection of invention patent application after publication