CN106372502A - Application closure limiting method and apparatus, and terminal - Google Patents

Application closure limiting method and apparatus, and terminal Download PDF

Info

Publication number
CN106372502A
CN106372502A CN201610710441.XA CN201610710441A CN106372502A CN 106372502 A CN106372502 A CN 106372502A CN 201610710441 A CN201610710441 A CN 201610710441A CN 106372502 A CN106372502 A CN 106372502A
Authority
CN
China
Prior art keywords
application
application program
closing
interface
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610710441.XA
Other languages
Chinese (zh)
Other versions
CN106372502B (en
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 CN201610710441.XA priority Critical patent/CN106372502B/en
Publication of CN106372502A publication Critical patent/CN106372502A/en
Application granted granted Critical
Publication of CN106372502B publication Critical patent/CN106372502B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/54Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by adding security routines or objects to programs

Abstract

Embodiments of the invention disclose an application closure limiting method and apparatus, and a terminal. The method comprises the steps of detecting whether an application closure interface is called or not; if yes, determining a target application needed to be closed according to the application closure interface; judging whether the target application is a preset application or not; and if the target application is the preset application, preventing the closure of the target application. According to the method, the apparatus and the terminal provided by the embodiments of the invention, a state of the application closure interface is detected to judge whether a third-party application which closes other application through the interface exists or not, and other application can be prevented from being closed, so that the problem that the terminal cannot run normally due to closure of a relatively important application during process clearing by the third-party application in the terminal is avoided; and compared with the prior art, the closure of the application can be limited and the flexibility of application closure can be improved.

Description

A kind of method limiting closing application program, device and terminal
Technical field
The present invention relates to field of terminal technology is and in particular to a kind of method of restriction closing application program, device and terminal.
Background technology
With developing rapidly of Internet technology and mobile client, more and more users are learned using intelligent terminal Practise, entertain etc., not only enriching user's life, also bring advantage to the user, along with the development of intelligent terminal, various intelligence are eventually The application program at end is also developed, to meet the different application demand of user, by types of applications program Lai continuous opponent Machine function is expanded.
But actually used central, taking the intelligent terminal of Android system as a example, when the application journey of mobile phone running background When sequence is more, will make terminal that series of problems occurs, such as interim card, heating, power consumption are big etc., so nowadays application market On have a lot of help mobile phones cleaning rubbish, the third party software of Accelerating running, these softwares, can be by generally when clearing up The software running stops by force, is commonly called as " killing ", and usual third party software all can be by calling Killbackgroundprocesses () interface is reaching the purpose of clean up process.
But, in above-mentioned third party software clean up process, often have to our very important processes.Such as Reading database, carrying out some monitoring works etc., the customized guardian system of especially a lot of cell phone manufacturers oneself is run Built-in application, once being killed, may result in system loss of function to a certain extent.
From the foregoing, it will be observed that the closing application program method motility in existing terminal poor it is impossible to closing to application program It is controlled.
Content of the invention
The embodiment of the present invention provides a kind of method limiting closing application program, device and terminal, can limit application journey The closing of sequence, improves the motility of the closing of application program.
The embodiment of the present invention provides a kind of method limiting closing application program, comprising:
Whether the application down interface in detection terminal is called;
If so, then the destination application needing to close is determined according to described application down interface;
Judge whether described destination application is default application program;
If described destination application is default application program, stops and close described destination application.
The embodiment of the present invention additionally provides a kind of device limiting closing application program, comprising:
Detection module, the first determining module, judge module and control module;
Whether described detection module, be called for the application down interface in detection terminal;
Described first determining module, is called for the application down interface in terminal is detected when described detection module When, the destination application needing to close is determined according to described application down interface;
Described judge module, for judging whether described destination application is default application program;
Described control module, for when described judge module judges described destination application for default application program, Stop and close described destination application.
In addition, the embodiment of the present invention also provides a kind of terminal, comprising: touch display, bin, one or more process Device and one or more program, wherein said one or more programs be stored in described memorizer and be configured to by One or more of computing devices, one or more of programs include the instruction operating as follows:
Whether detection application down interface is called;
If so, then the destination application needing to close is determined according to described application down interface;
Judge whether described destination application is default application program;
If described destination application is default application program, stops and close described destination application.
Whether the application down interface in embodiment of the present invention detection terminal first is called, and is if so, then closed according to application Close interface and determine the destination application needing to close, judge whether destination application is default application program, if target should It is default application program with program, then stop and close destination application;Application in embodiment of the present invention detection terminal first The state of down interface, to judge whether that third party application passes through this interface and closes other application programs, and energy Enough stop other application programs from being closed, it is to avoid in terminal third party application in clean up process, due to closing ratio More important application and the problem that leads to terminal to be not normally functioning, compared with prior art, can limit the pass of application program Close, improve the motility of the closing of application program.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings Figure.
A kind of schematic flow sheet of the method for restriction closing application program that Fig. 1 provides for the embodiment of the present invention one;
A kind of schematic flow sheet of the method for restriction closing application program that Fig. 2 provides for the embodiment of the present invention two;
A kind of structural representation of the device of restriction closing application program that Fig. 3 provides for the embodiment of the present invention three;
Fig. 4 limits the structural representation of the device of closing application program for the second that the embodiment of the present invention three provides;
A kind of structural representation of terminal that Fig. 5 provides for the embodiment of the present invention four.
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 description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method limiting closing application program, device and terminal.Carried out respectively below Describe in detail.
Embodiment one,
The present embodiment will be described from the angle limiting closing application program device, and this device specifically can be integrated in end In end, this terminal can be that mobile internet device (as smart mobile phone, panel computer) etc. possesses network savvy electronic equipment.
Refer to Fig. 1, a kind of flow process of the method for restriction closing application program that Fig. 1 provides for the embodiment of the present invention one is shown It is intended to, the method for the restriction closing application program of the present embodiment may include that
Step s101, whether the application down interface in detection terminal is called, if so, then execution step s102, if it is not, Then proceed to detect.
In the middle of the embodiment of the present invention, an application closing of the third party application meeting calling system in terminal connects Mouthful, make third party application can reach the purpose of cleaning mobile phone process by above-mentioned application down interface, and in terminal Though process whether important with all can be by thorough " killing ".
Specifically, can the application down interface in timing detection terminal whether be called, such as in advance in the present embodiment Setting intervalometer, is generated as a detection instruction every preset time period, then terminal is according in this detection instruction calls terminal Detection program, this program can detect to the application down interface in terminal, further, above-mentioned detection program is permissible Obtain the current state of this application down interface, to judge whether this application down interface is currently called, if so, then further Execution step s102, if it is not, whether the application down interface then continuing in detection terminal is called.
Step s102, determines the destination application needing to close according to above-mentioned application down interface.
Specifically, when the above-mentioned application down interface detecting in terminal is called, exist in present terminal system Destination application is closed in the request of third-party application software, and wherein, terminal can be determined by above-mentioned application down interface to be needed The destination application closed.
Further, in the middle of the embodiment of the present invention, third-party application, when using above-mentioned application down interface, generally needs Set an interface parameters, wherein, this parameter information includes the information such as the bag name of application program, can by this bag name information To determine the destination application needing to close, namely the above-mentioned intended application journey being needed according to application down interface determination to close The step of sequence can specifically include:
Obtain application down interface corresponding interface parameters information, wherein, this interface parameters information includes intended application journey Sequence identifies;
Determine the destination application needing to close according to above-mentioned interface parameters information.
Step s103, judges that whether above-mentioned destination application is default application program, if so, then execution step s104, If it is not, then execution step s105.
In the middle of the embodiment of the present invention, in advance some applications in terminal can be set to default application program, permissible For some important application programs, the electricity monitoring application of such as antivirus application, backstage, input method etc., these are applied and are closing Terminal can be made after closing to be not normally functioning, wherein, above-mentioned default application program can automatically generate (such as some systems for system The application program carrying) or user voluntarily set according to the actual requirements (such as backstage play music music Player), do not do in the middle of the present invention and limit further.
Specifically, after step s102 determines destination application, the corresponding target of this destination application can be obtained Application identities, it is right then to carry out the application identities of this intended application mark and above-mentioned one or more default application program Ratio judges whether to identify identical application identities with this intended application, if existing it is determined that above-mentioned destination application is Default application program, and then execution step s104;If not existing it is determined that above-mentioned destination application is not default application journey It is not result in after sequence, namely this closing application program that terminal operating is abnormal, and then execution step s105.
Step s104, stops and closes above-mentioned destination application.
After determining that above-mentioned destination application is default application program, stop and close this application by applying down interface Program, to guarantee the normal operation of terminal.
Preferably, information can be generated, and shows to end panel after stoping the above-mentioned destination application of closing Curtain, this information can include destination application corresponding intended application mark and stop this closing application program when Between information etc., be available for user and conveniently checked, even if grasping the ruuning situation of terminal.
Alternatively, can also be to above-mentioned multiple default application program setting priority, according to the current electric quantity letter of terminal Breath determines default application program, such as in the case that terminal power is more sufficient, can allow more application program rear Platform runs, namely stops these application programs of closing, and in the case that terminal power is less, closes more background application journey Sequence, namely permission system closes these application programs to improve the service efficiency of terminal power.Wherein it is possible to setting one is preset Threshold value, it is allowed to major applications program of closing a terminal is to ensure the continuation of the journey energy of end cell such as when terminal power is 20% Power.
Step s105 is it is allowed to close above-mentioned destination application.
Specifically, after determining that above-mentioned destination application is not default application program, namely this destination application It is abnormal that closing will not make the operation of terminal occur, then allow to close this destination application by applying down interface.
Alternatively, the embodiment of the present invention can also be for one switch of function setting of above-mentioned restriction closing application program, User can carry out voluntarily to open or close this function according to actual needs so that this programme has motility, has preferable use Family is experienced.
From the foregoing, it will be observed that the method limiting closing application program provided in an embodiment of the present invention can be with the application in detection terminal Whether down interface is called, and if so, then determines, according to application down interface, the destination application needing to close, judges target Whether application program is default application program, if destination application is default application program, stops and closes intended application journey Sequence;The state of the application down interface in embodiment of the present invention detection terminal first, to judge whether third-party application journey Sequence closes other application programs by this interface, and other application programs can be stoped to be closed, it is to avoid the 3rd in terminal Square application program in clean up process, the problem that leads to terminal to be not normally functioning due to closing important application, Compared with prior art, the closing of application program can be limited, improve the motility of the closing of application program, there is preferable use Family is experienced.
Embodiment two,
Method according to described by above-described embodiment one, limitation of the present invention application program below taking smart mobile phone as a example The method closed is described in further details, in the middle of the present embodiment, taking the mobile phone based on android operating system as a example, should Can be killbackgroundprocesses () with down interface.
Refer to Fig. 2, a kind of flow process of the method for restriction closing application program that Fig. 2 provides for the embodiment of the present invention two is shown It is intended to, the method for the restriction closing application program of the present embodiment may include that
Step s201, whether smart mobile phone detection application down interface is called, if so, then execution step s202, if it is not, Then proceed to detect.
In the middle of the embodiment of the present invention, above-mentioned application down interface can be in Android system Killbackgroundprocesses (), using the killbackgroundprocesses () method of activitymanager Can enforceable closing packagename association execution.
Such as, public void onclick (view v)
String packagename=textpackagename.gettext () .tostring ();// obtain bag name
Activitymanager am=(activitymanager)
getsystemservice(activity_service);// obtain manager
am.killbackgroundprocesses(packagename);// association process is killed by bag name
}
Specifically, when the currently detected killbackgroundprocesses of smart mobile phone () is called, that is, mobile phone is described Middle have the application program that third-party application passes through to be currently running in this interface closing system, now execution step s202; If being called when smart mobile phone is currently not detected by killbackgroundprocesses (), proceed to detect.
Preferably, before the detection application whether invoked step of down interface, said method can also include: intelligence Mobile phone receive user instructs, and above-mentioned user instruction includes default application program identification, is determined pre- according to default application program identification If application program, to obtain default pool of applications.
Such as, smart mobile phone generates an application program selection window, and this application program selection window includes peace in mobile phone The application program identification of all application programs of dress, user selects default application program identification in the middle of this window, can be for closing Close defensive position chance and abnormal application program occurs, or the commonly used application program of user etc..
Alternatively, the application program frequency that above-mentioned default application program identification can also use according to user for smart mobile phone Automatically choose, the higher application program of usage frequency in such as determination mobile phone, and obtain the application identities of these application programs, Namely default application program identification, so can reduce user operation.
Step s202, smart mobile phone determines the destination application needing to close according to above-mentioned application down interface.
Further, in the middle of the embodiment of the present invention, the third-party application in smart mobile phone is using above-mentioned During killbackgroundprocesses () interface, it usually needs set an interface parameters, wherein, this interface parameters bag Include the information such as the bag name of application program, can determine the destination application needing to close by this bag name information.
Step s203, smart mobile phone judges that whether destination application is default application program, if so, then execution step S204, if it is not, then execution step s205.
Wherein, judge whether destination application is that the step presetting application program can specifically include:
Judge to whether there is and destination application identical application program in the middle of default pool of applications;
If existing it is determined that destination application is default application program;
If not existing it is determined that destination application is not default application program.
Specifically, smart mobile phone can obtain this destination application corresponding intended application mark, then by this target Application identities are contrasted with the default application program identification in the middle of default pool of applications, judge default pool of applications Central with the presence or absence of with intended application identify identical application identities, if exist it is determined that above-mentioned destination application is default Application program, and then execution step s204, otherwise execution step s205.
Step s204, smart mobile phone stops closes above-mentioned destination application.
Preferably, smart mobile phone can generate information, and show after stoping the above-mentioned destination application of closing To mobile phone screen, this information can include destination application corresponding intended application mark and stop this application program Temporal information closed etc., is available for user and is conveniently checked, even if grasping the ruuning situation of mobile phone.
Step s205, smart mobile phone allows to close above-mentioned destination application.
Specifically, after smart mobile phone determines that above-mentioned destination application is not default application program, namely this target should Occurred abnormal with the operation that the closing of program will not make mobile phone, or the relatively low application program of usage frequency etc., then allow to pass through Application down interface closes this destination application.
Step s206, smart mobile phone determine call application down interface call application program.
Specifically, smart mobile phone stop close destination application after, can also obtain call above-mentioned The application program of killbackgroundprocesses () interface, and determine this application program never call application program.
Step s207, smart mobile phone obtains the above-mentioned frequency calling application call target interface.
In the middle of the present embodiment, can be according to calling application call killbackgroundprocesses () interface Frequency to call application program to be further processed this, such as, if this calls the frequency of the above-mentioned interface of application call Rate is higher, then can close this and call application program, if the frequency of calling interface is relatively low, it can be made to relay in cell phone system Reforwarding row.
Step s208, smart mobile phone judges that whether said frequencies are more than predetermined threshold value, if so, then execution step s209, if No, then execution step s210.
Specifically, a threshold value can be pre-set, such as call this interface per hour once, if above-mentioned call application journey It is to call 3 times per hour that sequence calls the frequency of this interface, and that is, frequency is more than threshold value, then execution step s209, if above-mentioned calling should It is to call when every two 1 time with the frequency of this interface of routine call, that is, frequency is less than threshold value, then execution step s210.
Step s209, smart mobile phone is closed this and is called application program.
This is called closing application program, so as not to recall killbackgroundprocesses () interface closing Close other application programs it is ensured that the normal operation of terminal.
Step s210, smart mobile phone allows this to call application program to continue to run with.
Alternatively, the embodiment of the present invention can also be for one switch of function setting of above-mentioned restriction closing application program, User can carry out voluntarily to open or close this function according to actual needs so that this programme has motility, has preferable use Family is experienced.
From the foregoing, it will be observed that the method limiting closing application program provided in an embodiment of the present invention can detect application down interface Whether it is called, if called, the destination application needing to close determined according to above-mentioned application down interface, and judges pre- If in the middle of pool of applications with the presence or absence of and destination application identical application program, if existing it is determined that intended application Program is default application program, then stop and close above-mentioned destination application, after stoping its closing, determines and calls application to close Close the application program that calls of interface, and obtain the above-mentioned frequency calling application call target interface, judge that said frequencies are No more than predetermined threshold value, if so, then close this and call application program;Present invention, avoiding in terminal third party application clear During reason process, the problem that leads to terminal to be not normally functioning due to closing important application, compared with prior art, The closing of application program can be limited, improve the motility of the closing of application program, there is preferable Consumer's Experience.
Embodiment three,
In order to preferably implement the method limiting closing application program provided in an embodiment of the present invention, the present invention also provides one Plant the device of the method based on above-mentioned restriction closing application program, the device of this restriction closing application program specifically can be integrated in In terminal, this terminal can be the electronic equipment such as mobile internet device (as smart mobile phone, panel computer), wherein the containing of noun Identical in the adopted and method of above-mentioned restriction closing application program, implement details and may be referred to the explanation in embodiment of the method.
Refer to Fig. 3, a kind of structure of the device of restriction closing application program that Fig. 3 provides for the embodiment of the present invention three is shown It is intended to, this device includes: detection module 301, the first determining module 302, judge module 303 and control module 304;
Whether this detection module 301, be called for the application down interface in detection terminal;
This first determining module 302, is called for the application down interface in terminal is detected when detection module 301 When, the destination application needing to close is determined according to application down interface;
This judge module 303, for judging whether destination application is default application program;
This control module 304, for when judge module 303 judges destination application for default application program, stoping Close destination application.
Wherein, above-mentioned first determining module 302 can specifically include: acquisition submodule and determination sub-module;
This acquisition submodule, for obtaining application down interface corresponding interface parameters information, interface parameters information includes Need the mark of the application program of closing;
This determination sub-module, for determining the destination application needing to close according to interface parameters information.
Wherein, above-mentioned judge module 303, specifically for judging to answer with the presence or absence of with target in the middle of default pool of applications With program identical application program;
If existing it is determined that destination application is default application program;
If not existing it is determined that destination application is not default application program.
Further, as shown in figure 4, in the middle of the device of restriction closing application program provided in an embodiment of the present invention, going back May include that the second determining module 305, closedown module 306;
This second determining module 305, after stoping and close destination application in control module, determines and calls application Down interface call application program;
This closedown module 306, for closing closed call application program.
Further, in the middle of the embodiment of the present invention, above-mentioned closedown module can specifically include: frequency acquisition submodule, Frequency judging submodule and pass closed submodule;
This frequency acquisition submodule, for obtaining the frequency calling application call target interface;
This frequency judging submodule, for judging whether said frequencies are more than predetermined threshold value;
This pass closed submodule, for when said frequencies judging submodule is judged as YES, closing closed call application program.
From the foregoing, it will be observed that the method limiting closing application program provided in an embodiment of the present invention detects end by detection module 301 Whether the application down interface in end is called, and if so, then determines needs by the first determining module 302 according to application down interface The destination application closed, judge module 303 judges whether destination application is default application program, if intended application journey Sequence is default application program, then control module 304 stops closing destination application;In embodiment of the present invention detection terminal first Application down interface state, to judge whether third party application pass through this interface close other application programs, And can stop the other application programs from being closed, it is to avoid in terminal third party application in clean up process, due to closing The problem closed important application and led to terminal to be not normally functioning, compared with prior art, can limit application journey The closing of sequence, improves the motility of the closing of application program, has preferable Consumer's Experience.
Example IV,
Additionally, the embodiment of the present invention additionally provides a kind of terminal, as shown in figure 5, above-mentioned terminal 400 can include touching showing Show the parts such as device 401, bin 402, one or more processors 403, power supply 404 and one or more program, wherein institute State one or more programs to be stored in described memorizer and be configured to by one or more of computing devices, described One or more programs include the instruction operating as follows:
Whether detection application down interface is called;
If so, then the destination application needing to close is determined according to described application down interface;
Judge whether described destination application is default application program;
If described destination application is default application program, stops and close described destination application.
Touch display 401 can be used for display and by the information of user input or is supplied to the information of user and each of terminal Plant graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.
Bin 402 can be used for storing software program and module, and processor 403 is stored in memorizer 402 by operation Software program and module, thus executing various function application and data processing.Memorizer 402 can mainly include storing journey Sequence area and storage data field, wherein, storing program area can (compare the application program needed for storage program area, at least one function As sound-playing function, image player function etc.) etc.;Storage data field can store according to terminal using the data being created (such as voice data, phone directory etc.) etc..
Processor 403 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, leads to Cross and run or software program and/or module that execution is stored in memorizer 402, and call and be stored in memorizer 402 Data, the various functions of execution terminal and processing data, thus carry out integral monitoring to mobile phone.
Terminal also includes the power supply 404 (such as battery) powered to all parts it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 403, thus realizing management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 404 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
The terminal that the embodiment of the present invention is provided, the dress of the restriction closing application program being provided including the embodiment of the present invention Put, possess identical function and beneficial effect.
When being embodied as, above modules can be realized as independent entity it is also possible to carry out combination in any, makees To realize for same or several entities, being embodied as of above modules can be found in embodiment of the method above, and here is not Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps can be by program to complete come the hardware to instruct correlation, and this program can be stored in computer-readable storage medium In matter, such as it is stored in the memorizer of terminal, and by least one computing device in this terminal, can wrap in the process of implementation Include the flow process of the embodiment as information issuing method.Wherein, storage medium may include that read only memory (rom, read only Memory), random access memory (ram, random access memory), disk or CD etc..
Above a kind of method limiting closing application program provided in an embodiment of the present invention, device and terminal are carried out in detail Thin introduction, its each functional module can be integrated in a process chip or modules are individually physically present, and also may be used It is integrated in a module with two or more modules.Above-mentioned integrated module both can with the form of hardware realize, Can also be realized in the form of software function module.Specific case used herein is to the principle of the present invention and embodiment It is set forth, the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Simultaneously for Those skilled in the art, according to the thought of the present invention, all will change in specific embodiments and applications, comprehensive Upper described, this specification content should not be construed as limitation of the present invention.

Claims (11)

1. a kind of method limiting closing application program is it is characterised in that comprise the following steps:
Whether detection application down interface is called;
If so, then the destination application needing to close is determined according to described application down interface;
Judge whether described destination application is default application program;
If described destination application is default application program, stops and close described destination application.
2. the method limiting closing application program as claimed in claim 1 is it is characterised in that described close according to described application Interface determines that the step of the destination application needing to close specifically includes:
Obtain described application down interface corresponding interface parameters information, described interface parameters information includes the application of needs closing The mark of program;
Determine the destination application needing to close according to described interface parameters information.
3. the method limiting closing application program as claimed in claim 1 is it is characterised in that the described intended application of described judgement Whether program is that the step presetting application program specifically includes:
Judge to whether there is and described destination application identical application program in the middle of default pool of applications;
If existing it is determined that described destination application is default application program;
If not existing it is determined that described destination application is not default application program.
4. the method limiting closing application program as claimed in claim 1 is it is characterised in that stop the described mesh of closing described After the step of mark application program, methods described also includes:
Determine call described application down interface call application program;
Application program is called described in closing.
5. the method limiting closing application program as claimed in claim 4 is it is characterised in that call application described in described closing The step of program specifically includes:
The frequency of target interface described in application call is called described in acquisition;
Judge whether described frequency is more than predetermined threshold value;
If so, call application program described in then closing.
6. a kind of device limiting closing application program is it is characterised in that include: detection module, the first determining module, judges mould Block and control module;
Whether described detection module, be called for detection application down interface;
Described first determining module, for when described detection module detects described application down interface and is called, according to institute State application down interface and determine the destination application needing to close;
Described judge module, for judging whether described destination application is default application program;
Described control module, for when described judge module judges described destination application for default application program, stoping Close described destination application.
7. the device limiting closing application program as claimed in claim 6 is it is characterised in that described first determining module is concrete Including: acquisition submodule and determination sub-module;
Described acquisition submodule, for obtaining described application down interface corresponding interface parameters information, described interface parameters letter Breath includes the mark of the application program of needs closing;
Described determination sub-module, for determining the destination application needing to close according to described interface parameters information.
8. as claimed in claim 6 limit closing application program device it is characterised in that
Described judge module, specifically for judging to whether there is and described destination application phase in the middle of default pool of applications Same application program;
If existing it is determined that described destination application is default application program;
If not existing it is determined that described destination application is not default application program.
9. the device limiting closing application program as claimed in claim 6 is it is characterised in that described device also includes: second Determining module and closedown module;
Described second determining module, after stoping and close described destination application in described control module, determination is called Described application down interface call application program;
Described closedown module, for calling application program described in closing.
10. the device limiting closing application program as claimed in claim 9 is it is characterised in that described closedown module is specifically wrapped Include: frequency acquisition submodule, frequency judging submodule and pass closed submodule;
Described frequency acquisition submodule, for calling the frequency of target interface described in application call described in obtaining;
Described frequency judging submodule, for judging whether described frequency is more than predetermined threshold value;
Described pass closed submodule, for when described frequency judging submodule is judged as YES, calling application program described in closing.
A kind of 11. terminals it is characterised in that include: touch display, bin, one or more processors and one or Multiple programs, wherein said one or more programs are stored in described memorizer and are configured to by one or more of Computing device, one or more of programs include the instruction operating as follows:
Whether detection application down interface is called;
If so, then the destination application needing to close is determined according to described application down interface;
Judge whether described destination application is default application program;
If described destination application is default application program, stops and close described destination application.
CN201610710441.XA 2016-08-23 2016-08-23 A kind of method, apparatus and terminal limiting closing application program Expired - Fee Related CN106372502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610710441.XA CN106372502B (en) 2016-08-23 2016-08-23 A kind of method, apparatus and terminal limiting closing application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610710441.XA CN106372502B (en) 2016-08-23 2016-08-23 A kind of method, apparatus and terminal limiting closing application program

Publications (2)

Publication Number Publication Date
CN106372502A true CN106372502A (en) 2017-02-01
CN106372502B CN106372502B (en) 2019-04-16

Family

ID=57878932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610710441.XA Expired - Fee Related CN106372502B (en) 2016-08-23 2016-08-23 A kind of method, apparatus and terminal limiting closing application program

Country Status (1)

Country Link
CN (1) CN106372502B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241729A (en) * 2017-07-10 2019-01-18 阿里巴巴集团控股有限公司 Detection, processing method, device, terminal device and the electronic equipment of application program
CN110362359A (en) * 2019-07-11 2019-10-22 重庆传音通讯技术有限公司 A kind of program starting method, apparatus, terminal and storage medium
CN112181224A (en) * 2020-09-28 2021-01-05 腾讯科技(深圳)有限公司 Control method and device of target application, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019777A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method and system for automatically cleaning background applications of mobile terminal
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN104731302A (en) * 2013-12-20 2015-06-24 贝壳网际(北京)安全技术有限公司 Power-saving operation method and power-saving operation system of mobile terminal
US20150331725A1 (en) * 2013-03-22 2015-11-19 Tencent Technology (Shenzhen) Company Limited Method and Apparatus for Managing Processes
CN105786520A (en) * 2016-03-17 2016-07-20 北京百纳威尔科技有限公司 Method and device for managing applications of electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019777A (en) * 2012-11-28 2013-04-03 广东欧珀移动通信有限公司 Method and system for automatically cleaning background applications of mobile terminal
US20150331725A1 (en) * 2013-03-22 2015-11-19 Tencent Technology (Shenzhen) Company Limited Method and Apparatus for Managing Processes
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN104731302A (en) * 2013-12-20 2015-06-24 贝壳网际(北京)安全技术有限公司 Power-saving operation method and power-saving operation system of mobile terminal
CN105786520A (en) * 2016-03-17 2016-07-20 北京百纳威尔科技有限公司 Method and device for managing applications of electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241729A (en) * 2017-07-10 2019-01-18 阿里巴巴集团控股有限公司 Detection, processing method, device, terminal device and the electronic equipment of application program
CN109241729B (en) * 2017-07-10 2022-05-13 阿里巴巴集团控股有限公司 Application program detection and processing method and device, terminal device and electronic device
CN110362359A (en) * 2019-07-11 2019-10-22 重庆传音通讯技术有限公司 A kind of program starting method, apparatus, terminal and storage medium
CN112181224A (en) * 2020-09-28 2021-01-05 腾讯科技(深圳)有限公司 Control method and device of target application, storage medium and electronic device

Also Published As

Publication number Publication date
CN106372502B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
CN101673216B (en) Closing application program method and apparatus
CN104932963B (en) The method and device of management terminal
CN103199311A (en) Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal
WO2013123715A1 (en) Method and device for controlling data traffic
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN103713886A (en) Reminding device in data processing equipment and reminding processing method implemented by reminding device
CN105700663A (en) Background program cleaning method and system for mobile terminal
CN108563493A (en) A kind of event-driven method, device, equipment and readable storage medium storing program for executing
CN104184884B (en) A kind of control device and method, mobile terminal of mobile terminal power consumption
CN106372502A (en) Application closure limiting method and apparatus, and terminal
WO2014161512A1 (en) Method and apparatus for network connection
CN105704758A (en) Method and device of closing social applications based on flow monitoring
CN106101077A (en) A kind of method and device limiting application online
CN107797859A (en) A kind of dispatching method of timed task and a kind of dispatch server
CN108089970A (en) Predict method, terminal and the storage medium of remaining capacity up time
CN103902011A (en) Electronic device controlling method and electronic device
CN109257255A (en) A kind of flux monitoring method, phone wrist-watch, server and mobile terminal
CN109257196A (en) A kind of abnormality eliminating method and equipment
CN107277906B (en) Mode selecting method, device, terminal and computer readable storage medium
CN106020426B (en) A kind of method for releasing and device waking up lock
CN106095487B (en) A kind of method for closing and device of application program
CN107092551A (en) A kind of server system performance optimization method and device
CN106775296B (en) Terminal control method and device
CN106482742A (en) The acquisition methods of meter step data and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190416

CF01 Termination of patent right due to non-payment of annual fee