CN105446776A - Application program closing method and device and electronic equipment - Google Patents

Application program closing method and device and electronic equipment Download PDF

Info

Publication number
CN105446776A
CN105446776A CN201510813137.3A CN201510813137A CN105446776A CN 105446776 A CN105446776 A CN 105446776A CN 201510813137 A CN201510813137 A CN 201510813137A CN 105446776 A CN105446776 A CN 105446776A
Authority
CN
China
Prior art keywords
application program
close
closing
waiting
application
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
CN201510813137.3A
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510813137.3A priority Critical patent/CN105446776A/en
Publication of CN105446776A publication Critical patent/CN105446776A/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/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an application program closing method, an application program closing device and electronic equipment, wherein the application program with running parameters meeting preset parameter conditions in each currently running application program is determined as an application program to be closed, a list of the application programs to be closed is output, the closing operation of a user on at least one application program to be closed in the list is received, the application program resident service of the application program to be closed, which is aimed at by the closing operation, is closed, and all processes of the application program to be closed, which is aimed at by the closing operation, are ended. The method and the device receive the closing operation of the user on the application program to be closed in the list, so that the closed application program meets the closing requirement of the user, the purpose of completely closing the application program is achieved by closing the application program resident service of the application program to be closed and finishing all processes of the application program to be closed, and the closed application program is prevented from being automatically restarted under the condition that the user is not actively started, so that the closed application program cannot continuously occupy system resources and consume electric energy.

Description

A kind of closing application program method, device and electronic equipment
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to a kind of closing application program method, device and electronic equipment.
Background technology
Operating system on the terminal device such as mobile phone, computer is all the operating system of multitask, can run multiple application program simultaneously.
The each application program meeting occupying system resources run also consumes electric energy.When there being too much application program to run simultaneously, the operation of terminal device will be very slow.There is provided for the terminal device of electric energy for use battery, too much application program is run simultaneously and also can be consumed a large amount of electric energy.Therefore the timely application program to running is carried out closedown and is seemed particularly important.
Existing closing application program technology periodic detection just in the application program of running background, and terminates just in the process of the application program of running background according to the operation of user.But applicant studies discovery, prior art is in end just after the process of the application program of running background, and when user does not initiatively start, the process of buttoned-up application program can be run again, holds over system resource and consumes electric energy.Visible, existing closing application program technology thoroughly cannot close application program, still occupying system resources consume electric energy after causing buttoned-up application program automatically to start.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of closing application program method, device and electronic equipment, thoroughly can close application program, avoids buttoned-up application program to reset automatically when user does not initiatively start.Concrete technical scheme is as follows:
A kind of closing application program method that the embodiment of the present invention provides, described method comprises:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Optionally, after the described application program described current operating parameter being met parameter preset condition is defined as waiting to close application program, described method also comprises:
According to respectively waiting the running status of closing application program, waiting to close application program from what determine the application program removed without the need to closing, obtaining remaining waiting and closing application program;
Described output waits to close the application list, comprising:
What output was made up of described remaining identification information of waiting to close application program treats closedown the application list.
Optionally, described operational factor comprises the power consumption number percent of application program, application program power consumption speed, application program EMS memory occupation number percent, application program central processing unit take number percent and application program running background adds up in duration at least one;
Each operational factor is all to there being a predetermined threshold value; Described parameter preset condition is made up of the logical relation between multiple comparative result and described multiple comparative result, and described comparative result is operational factor and the comparative result of corresponding predetermined threshold value.
Optionally, described running status comprises at least one in application program audio output state, application program download state and application program logging status, each running status all to there being a preset state condition,
Described basis respectively waits the running status of closing application program, waiting to close application program the application program removed without the need to closing, obtaining remaining waiting and closing application program, comprising from what determining:
Wait to close the judgement that application program carries out preset state for each;
By meet the preset state of its correspondence wait close application program be defined as without the need to close application program;
The described application program without the need to closing being removed, obtaining remaining waiting and closing application program.
Optionally, the described shutoff operation of described closedown for wait close application program application program resident service and terminate described shutoff operation for wait close all processes of application program, comprising:
Wait described in display to close application details page corresponding to application program;
Stop control by the pressure of calling described application details page, trigger force to stop interface closing described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Optionally, control is stopped in the pressure by calling described application details page, trigger force to stop interface closing described in wait to close application program application program resident service and before waiting to close all processes of application program described in terminating, after waiting to close application details page corresponding to application program described in display, described method also comprises:
A suspended window is shown in the described application details page upper strata top set of display.
Optionally, described suspended window is translucent suspended window.
A kind of closing application program device that the embodiment of the present invention provides, described device comprises:
Obtain module, for obtaining the current operating parameter of the current each application program run;
Determination module, the application program for described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Output module, waits to cut out the application list for exporting;
To described, receiver module, treats that in closedown the application list, at least one waits to close the shutoff operation of application program for receiving user;
Closing module, for close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Optionally, described device also comprises:
Remove module, after application program at described determination module operational factor in the current each application program run being met parameter preset condition is defined as waiting to close application program, according to respectively waiting the running status of closing application program, waiting to close application program from what determine the application program removed without the need to closing, obtaining remaining waiting and closing application program;
Described output module, specifically for:
What output was made up of described remaining identification information of waiting to close application program treats closedown the application list.
Embodiments provide a kind of electronic equipment, described electronic equipment comprises:
Housing, processor, storer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit boards; Power circuit, for powering for each circuit of electronic equipment or device; Storer is used for stores executable programs code; Processor runs the program corresponding with executable program code by reading the executable program code stored in storer, for execution following steps:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
For achieving the above object, the embodiment of the invention discloses a kind of storage medium, wherein, this storage medium is for storing application program, and described application program is used for a kind of closing application program method operationally performed described in the embodiment of the present invention.Wherein, a kind of closing application program method described in the embodiment of the present invention, be applied to electronic equipment, the method comprises:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
For achieving the above object, the embodiment of the invention discloses a kind of application program, wherein, this application program is used for a kind of closing application program method operationally performed described in the embodiment of the present invention.Wherein, a kind of closing application program method described in the embodiment of the present invention, be applied to electronic equipment, the method comprises:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
A kind of closing application program method that the embodiment of the present invention provides, device and electronic equipment, by obtaining the current operating parameter of the current each application program run, the application program described current operating parameter being met parameter preset condition is defined as waiting to close application program, export and wait to close the application list, receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described, close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.The present invention determines to wait to close the application list according to the operational factor of each application program automatically, and at least one waits to close the shutoff operation of application program in list to receive user, therefore the closed closedown demand waited to close application program and meet user.By closing, the present invention waits that the application program resident service terminating of closing application program waits that all processes of closing application program reach the object of thoroughly closing application program, avoid buttoned-up application program to reset automatically when user does not initiatively start, make it cannot hold over system resource and consume electric energy.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of closing application program method that Fig. 1 provides for the embodiment of the present invention;
A kind of power saving application program power consumption seniority among brothers and sisters initial interface schematic diagram that Fig. 2 (a) provides for the embodiment of the present invention;
17 application program application details page schematic diagram of a kind of translucent suspended window display that Fig. 2 (b) provides for the embodiment of the present invention;
Interface schematic diagram after a kind of power saving closing application program 17 application program that Fig. 2 (c) provides for the embodiment of the present invention;
The power consumption details interface schematic diagram of a kind of 17 application programs that Fig. 2 (d) provides for the embodiment of the present invention;
Power consumption details interface schematic diagram after a kind of power saving closing application program 17 application program that Fig. 2 (e) provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of closing application program method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of closing application program device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of closing application program method that the embodiment of the present invention provides, the method can comprise:
S101: the current operating parameter obtaining the current each application program run.
Method shown in Fig. 1 can be applied in electronic equipment, the server that this electronic equipment can be terminal device or be connected with terminal equipment in communication.
Concrete, terminal device can be the terminal devices such as intelligent television, computer, flat board, mobile phone, mobile unit and wearable device.
Concrete, described operational factor can comprise the power consumption number percent of application program, application program power consumption speed, application program EMS memory occupation number percent, application program central processing unit take number percent and application program running background adds up in duration at least one.
S102: the application program described current operating parameter being met parameter preset condition is defined as waiting to close application program.
Wherein, each operational factor is all to there being a predetermined threshold value, and described parameter preset condition is made up of the logical relation between multiple comparative result and described multiple comparative result, and described comparative result is operational factor and the comparative result of corresponding predetermined threshold value.
Concrete, described logical relation can have multiple, such as:
Logical relation one: the comparative result of each operational factor predetermined threshold value corresponding to it is and is greater than predetermined threshold value;
Logical relation two; Only a comparative result need be had for being greater than predetermined threshold value in the comparative result of each operational factor predetermined threshold value corresponding to it.
For convenience of understanding, below in conjunction with an instantiation, logical relation one is described:
Terminal device saves as the mobile phone of 2G in being, the predetermined threshold value that the predetermined threshold value that micro-letter power consumption hourly number percent is corresponding is 0.5%, micro-letter power consumption speed is corresponding is that predetermined threshold value per hour 0.5%, micro-letter EMS memory occupation number percent is corresponding is 0.5%, micro-letter central processing unit take predetermined threshold value corresponding to number percent be 0.7% and micro-letter running background to add up threshold value corresponding to duration be 5 hours.Mobile phone is current is running micro-letter, the power consumption number percent per hour of micro-letter is 1%, power consumption speed be per hour 1%, EMS memory occupation number percent is 1%, central processing unit take number percent be 0.5% and running background to add up duration be 2 hours, owing to having the comparative result of 3 operational factors and corresponding predetermined threshold value in 5 operational factors of micro-letter for being greater than predetermined threshold value, so micro-letter is defined as wait to close application program.
Application program is closed, therefore the determined closedown demand waited to close application program and more meet user owing to automatically determining according to the operational factor of each application program to wait.
S103: export and wait to close the application list.
By determine wait close application program show user in the form of a list, facilitate user to select, wherein, described determine wait close application program can arrange according to the size order of operational factor.
Concrete, described determine wait that closing application program can take the size of number percent and at least one adding up in the length of duration of application program running background according to the speed of the size of the power consumption number percent of application program, application program power consumption speed, the size of application program EMS memory occupation number percent, application program central processing unit and carry out order and arrange.
Wait to close in the application list and can comprise: the information such as icon, title of waiting to close application program, meanwhile, can also comprise and force to stop control in this list, each waits to close application program all to one should be had to force to stop control.
S104: receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described.
User can according to actual conditions, wait described in selection that at least one of closing in the application list waits that closing application program closes, if the application program that user selects is more than one, then can close the application program that user selects one by one, also can close the application program that user selects simultaneously.
S105: close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Applicant studies discovery: in end just after the process of the application program of running background, when user does not initiatively start, the process of buttoned-up application program can be run again, this is because the resident service of application program can restart the process of application program, in end just after the process of the application program of running background, the resident service of application program can restart the process of buttoned-up application program.Therefore, the embodiment of the present invention both closed described shutoff operation for wait close the application program resident service of application program, terminate again described shutoff operation for wait close all processes of application program, thus the resident service making the process of buttoned-up application program cannot be employed program starts.
Wherein, step S105, can comprise:
Wait described in display to close application details page corresponding to application program;
Stop control by the pressure of calling described application details page, trigger force to stop interface closing described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Optionally, control is stopped in the pressure by calling described application details page, trigger force to stop interface closing described in wait to close application program application program resident service and before waiting to close all processes of application program described in terminating, after waiting to close application details page corresponding to application program described in display, described method can also comprise:
A suspended window is shown in the described application details page upper strata top set of display.
Wherein, due to the display of suspended window top set, therefore the application details page being positioned at suspended window lower floor cannot receive the instruction of user, thus avoid causing the closing process of application program resident service to be interrupted due to user misoperation and process terminal procedure is interrupted.
Optionally, described suspended window can be translucent suspended window, and user sees the application details page of lower floor by translucent suspended window, thus understands the closing process of application program.
Concrete, can also comprise before step S101:
Application program to each backstage is being run: judge whether the mark of this application program is arranged in default blacklist, preserves the mark of the application program without the need to running background in described blacklist;
If so, close the resident service of this application program, terminate all processes of this application program.
Wherein, the application program without the need to running background can be set by the user.
Concrete, step S105 can comprise: respectively to shutoff operation described in each for wait that closing application program is all handled as follows:
Waiting that the pressure of closing application details page corresponding to application program stops control by calling this, triggering and forcing stop interface closing this application program resident service of waiting to close application program and terminate all processes that this waits to close application program.
Like this, wait to close application program for each, user only need click once, and the present invention can close application program resident service and all processes of end application.
Wherein, the application program management page that the operating system that application details page is terminal device provides.
Concrete, after triggering forces to stop interface, force to stop interface first verifying whether the signature of caller is system signature, if, then be verified, force to stop interface closing and wait that the application program resident service terminating of closing application program waits to close all processes of application program.The operating system being terminal device due to application details page provides, the signature of the control therefore applied in details page is system signature, like this, above-mentionedly to be verified, thus to force stop interface closing this application program resident service of waiting to close application program and terminate all processes that this waits to close application program.
The present invention directly can arrive the system-level details page of application program, and the pressure of the application details page that Automatically invoked application program is corresponding stops control, without the need to the manual click keys of user, reaches the object that application program is closed in robotization.Due to this page, general user does not know, and therefore finds difficulty, and the application details page that this application program of Automatically invoked of the present invention is corresponding, find without the need to user.
Below by a specific embodiment, method shown in Fig. 1 is specifically described.
Such as: terminal device is mobile phone, obtain the operational factor of the current each application program run of mobile phone, according to the operational factor of described each application program, export and wait to close the application list, a kind of power saving application program power consumption seniority among brothers and sisters initial interface schematic diagram that Fig. 2 (a) provides for the embodiment of the present invention, receive user to the shutoff operation of 17 application programs in power saving application program power consumption list, 17 application program application details page schematic diagram of a kind of translucent suspended window display that Fig. 2 (b) provides for the embodiment of the present invention, 17 application programs of carrying out closing can be seen by this Page user, the pressure clicked in this page without the need to user stops key, force to stop playing the determination button in window without the need to clicking, button is returned without the need to clicking, power saving application program stops key automatically triggering pressure, and automatically trigger the determination button forced in stopping bullet window, close 17 application programs, automatically return to the interface after power saving closing application program 17 application program, interface schematic diagram after a kind of power saving closing application program 17 application program that Fig. 2 (c) provides for the embodiment of the present invention, the button that now 17 application programs are corresponding for closed condition and user can not operate, close an application program thus and reduce user's 3 operations.
Or,
The clicking operation of the mark that 17 application programs are corresponding in Fig. 2 (a) middle reception user is to power saving application program power consumption list, the power consumption details interface schematic diagram of a kind of 17 application programs that Fig. 2 (d) provides for the embodiment of the present invention, receive user to the shutoff operation of 17 application programs, power saving application program jumps to interface shown in Fig. 2 (b), power consumption details interface schematic diagram after a kind of power saving closing application program 17 application program that Fig. 2 (e) provides for the embodiment of the present invention, the button that now 17 application programs are corresponding for closed condition and user can not operate, close an application program thus and reduce user's 3 operations.
As shown in Figure 3, another kind of closing application program method provided by the invention, can comprise:
S301: the current operating parameter obtaining the current each application program run.
S302: the application program described current operating parameter being met parameter preset condition is defined as waiting to close application program.
Wherein, shown in step S301 and Fig. 1, the step S101 of method is identical, and shown in step S302 and Fig. 1, the step S102 of method is identical, repeats no more.
S303: according to respectively waiting the running status of closing application program, waiting to close application program from what determine the application program removed without the need to closing, obtaining remaining waiting and closing application program.
S304: export and remainingly wait to close that the identification information of application program form treats closedown the application list by described.
Step S304 can be the concrete implementation of the one of step S103 shown in Fig. 1.
S305: receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described.
S306: close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Wherein, shown in step S305 and Fig. 1, the step S104 of method is identical, and shown in step S306 and Fig. 1, the step S105 of method is identical, repeats no more.
Concrete, described running status can comprise at least one in application program audio output state, application program download state and application program logging status, and each running status is all to there being a preset state condition.
Wherein, step S303, can comprise:
Wait to close the judgement that application program carries out preset state for each;
By meet the preset state of its correspondence wait close application program be defined as without the need to close application program;
The described application program without the need to closing being removed, obtaining remaining waiting and closing application program.
In embodiments of the present invention, the preset state that application program audio output state is corresponding is that absence of audio exports, and preset state corresponding to application program download state be without download, and preset state corresponding to application program logging status be not for log in.
Exporting, have download and logged in representative of consumer owing to there being audio frequency is using this to wait to close application program, therefore waits to close application program without the need to closing this.
Such as: wait that closing application program is QQ music, QQ music plays music, then QQ music is defined as the application program without the need to closing.
Or,
Wait that closing application program is pea pods, pea pods more new opplication, be then defined as the application program without the need to closing by pea pods.
Or,
Wait that closing application program is QQ, user logs in QQ, then QQ is defined as the application program without the need to closing.
By running status is met corresponding preset state wait close the application program that application program is defined as without the need to closing, filter out the application program that user more accurately needs to close further.
Concrete, on the basis of method shown in Fig. 1, before step S103, described method also comprises:
Obtain the current Application Type belonging to each application program run of terminal device, the current application program run of default Application Type is defined as wait to close application program;
Wherein, the type of the application program preset can be game class, dynamic wall stationery and tool-class etc.
Or,
The application program being in abnormal operating condition in the current each application program run is defined as wait to close application program.
Described abnormal operating condition can have multiple, such as:
Abnormal operating condition one: application program repeats one section of code and enters endless loop state;
Abnormal operating condition two: application program is in non-responsive state.
Visible, a kind of closing application program method that the embodiment of the present invention provides, by obtaining the current operating parameter of the current each application program run, the application program described current operating parameter being met parameter preset condition is defined as waiting to close application program, export and wait to close the application list, receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described, close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.The present invention determines to wait to close the application list according to the operational factor of each application program automatically, and at least one waits to close the shutoff operation of application program in list to receive user, therefore the closed closedown demand waited to close application program and meet user.By closing, the present invention waits that the application program resident service terminating of closing application program waits that all processes of closing application program reach the object of thoroughly closing application program, avoid buttoned-up application program to reset automatically when user does not initiatively start, make it cannot hold over system resource and consume electric energy.
The structural representation of a kind of closing application program device that Fig. 4 provides for the embodiment of the present invention, corresponding with the method shown in Fig. 1, Fig. 4 shown device can comprise:
Obtain module 401, for obtaining the current operating parameter of the current each application program run;
Fig. 4 shown device can be applied in electronic equipment, the server that this electronic equipment can be terminal device or be connected with terminal equipment in communication.
Determination module 402, the application program for described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Output module 403, waits to cut out the application list for exporting;
Described treating can comprise in closedown the application list: the information such as icon, title of waiting to close application program, meanwhile, can also comprise and force to stop control in this list, and each waits to close application program all to a pressure should be had to stop control.
To described, receiver module 404, treats that in closedown the application list, at least one waits to close the shutoff operation of application program for receiving user;
User can according to actual conditions, wait described in selection that at least one of closing in the application list waits that closing application program closes, if the application program that user selects is more than one, then can close the application program that user selects one by one, also can close the application program that user selects simultaneously.
Closing module 405, for close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Applicant studies discovery: in end just after the process of the application program of running background, when user does not initiatively start, the process of buttoned-up application program can be run again, this is because the resident service of application program can restart the process of application program, in end just after the process of the application program of running background, the resident service of application program can restart the process of buttoned-up application program.Therefore, the embodiment of the present invention both closed described in wait to close the application program resident service of application program, wait all processes of closing application program described in terminating again, thus the resident service making the process of buttoned-up application program cannot be employed program starts.
Wherein, described operational factor can comprise the power consumption number percent of application program, application program power consumption speed, application program EMS memory occupation number percent, application program central processing unit take number percent and application program running background adds up in duration at least one; Each operational factor is all to there being a predetermined threshold value; Described parameter preset condition is made up of the logical relation between multiple comparative result and described multiple comparative result, and described comparative result is operational factor and the comparative result of corresponding predetermined threshold value.
Concrete, described logical relation can have multiple, such as:
Logical relation one: the comparative result of each operational factor predetermined threshold value corresponding to it is and is greater than predetermined threshold value;
Logical relation two; Only a comparative result need be had for being greater than predetermined threshold value in the comparative result of each operational factor predetermined threshold value corresponding to it.
Application program is closed, therefore the determined closedown demand waited to close application program and more meet user owing to automatically determining according to the operational factor of each application program to wait.
In other embodiments of the present invention, Fig. 4 shown device can also comprise:
Remove module, after application program at described determination module 402 operational factor in the current each application program run being met parameter preset condition is defined as waiting to close application program, according to respectively waiting the running status of closing application program, waiting to close application program from what determine the application program removed without the need to closing, obtaining remaining waiting and closing application program;
Described output module 403, can be specifically for:
What output was made up of described remaining identification information of waiting to close application program treats closedown the application list.
In other embodiments of the present invention, described running status can comprise at least one in application program audio output state, application program download state and application program logging status, each running status all to there being a preset state condition,
Described removal module, can comprise:
Decision sub-module, closes for waiting for each the judgement that application program carries out preset state;
First determines submodule, for the preset state by meeting its correspondence wait close application program be defined as without the need to close application program;
First removes submodule, for the described application program without the need to closing being removed, obtaining remaining waiting and closing application program.
In embodiments of the present invention, the preset state that application program audio output state is corresponding is that absence of audio exports, and preset state corresponding to application program download state be without download, and preset state corresponding to application program logging status be not for log in.
Exporting, have download and logged in representative of consumer owing to there being audio frequency is using this to wait to close application program, therefore waits to close application program without the need to closing this.
Described closing module 405, can comprise:
Display sub-module, waits to close application details page corresponding to application program described in showing;
Call submodule, for by calling described application details page pressure stop control, trigger force stop interface close described close behaviour institute for wait close application program application program resident service and terminate described shutoff operation for treat closedown application program all processes.
Described device can also comprise:
Floating window display module, for stopping control at the described submodule that calls in the pressure by calling described application details page, trigger force to stop interface closing described in wait to close application program application program resident service and before waiting to close all processes of application program described in terminating, after waiting to close application details page corresponding to application program described in described display sub-module display, show a suspended window in the described application details page upper strata top set of display.
Concrete, described suspended window can be translucent suspended window.
Like this, wait to close application program for each, user only need click once, and the present invention can close application program resident service and all processes of end application.
Wherein, the application program management page that the operating system that application details page is terminal device provides.
Concrete, after triggering forces to stop interface, force to stop interface first verifying whether the signature of caller is system signature, if, then be verified, force to stop interface closing and wait that the application program resident service terminating of closing application program waits to close all processes of application program.The operating system being terminal device due to application details page provides, the signature of the control therefore applied in details page is system signature, like this, above-mentionedly to be verified, thus to force stop interface closing this application program resident service of waiting to close application program and terminate all processes that this waits to close application program.
The present invention directly can arrive the system-level details page of application program, and the pressure of the application details page that Automatically invoked application program is corresponding stops control, without the need to the manual click keys of user, reaches the object that application program is closed in robotization.Due to this page, general user does not know, and therefore finds difficulty, and the application details page that this application program of Automatically invoked of the present invention is corresponding, find without the need to user.
A kind of closing application program device that the embodiment of the present invention provides, by obtaining the current operating parameter of the current each application program run, the application program described current operating parameter being met parameter preset condition is defined as waiting to close application program, export and wait to close the application list, receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described, close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.The present invention determines to wait to close the application list according to the operational factor of each application program automatically, and at least one waits to close the shutoff operation of application program in list to receive user, therefore the closed closedown demand waited to close application program and meet user.By closing, the present invention waits that the application program resident service terminating of closing application program waits that all processes of closing application program reach the object of thoroughly closing application program, avoid buttoned-up application program to reset automatically when user does not initiatively start, make it cannot hold over system resource and consume electric energy.
Correspondingly, as described in Figure 5, the embodiment of the present application additionally provides a kind of electronic equipment, and described electronic equipment comprises:
Housing (not shown), processor 501, storer 502, circuit board 503 and power circuit 504, wherein, circuit board 503 is placed in the interior volume that housing surrounds, and processor 501 and storer 502 are arranged on circuit board 503; Power circuit 504, for powering for each circuit of electronic equipment or device; Storer 502 is for stores executable programs code; Processor 501 runs the program corresponding with executable program code by reading the executable program code stored in storer 502, for execution following steps:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
This electronic equipment can be the server be connected in terminal device or with terminal equipment in communication.
Correspondingly, the embodiment of the present application additionally provides a kind of storage medium, and wherein, this storage medium is for storing application program, and described application program is used for a kind of closing application program method operationally performed described in the application.Wherein, a kind of closing application program method described in the application, be applied to electronic equipment, the method can comprise:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Correspondingly, the embodiment of the present application additionally provides a kind of application program, and wherein, this application program is used for a kind of closing application program method operationally performed described in the application.Wherein, a kind of closing application program method described in the application, be applied to electronic equipment, the method can comprise:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
Wherein, the interface of described application program display can comprise the interface shown in described Fig. 2 (a) to Fig. 2 (e).
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a closing application program method, is characterized in that, described method comprises:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
2. method according to claim 1, is characterized in that, after the described application program described current operating parameter being met parameter preset condition is defined as waiting to close application program, described method also comprises:
According to respectively waiting the running status of closing application program, waiting to close application program from what determine the application program removed without the need to closing, obtaining remaining waiting and closing application program;
Described output waits to close the application list, comprising:
What output was made up of described remaining identification information of waiting to close application program treats closedown the application list.
3. method according to claim 1, it is characterized in that, described operational factor comprises the power consumption number percent of application program, application program power consumption speed, application program EMS memory occupation number percent, application program central processing unit take number percent and application program running background adds up in duration at least one;
Each operational factor is all to there being a predetermined threshold value; Described parameter preset condition is made up of the logical relation between multiple comparative result and described multiple comparative result, and described comparative result is operational factor and the comparative result of corresponding predetermined threshold value.
4. method according to claim 2, is characterized in that, described running status comprises at least one in application program audio output state, application program download state and application program logging status, each running status all to there being a preset state,
Described basis respectively waits the running status of closing application program, waiting to close application program the application program removed without the need to closing, obtaining remaining waiting and closing application program, comprising from what determining:
Wait to close the judgement that application program carries out preset state for each;
By meet the preset state of its correspondence wait close application program be defined as without the need to close application program;
The described application program without the need to closing being removed, obtaining remaining waiting and closing application program.
5. method according to claim 1, is characterized in that, the described shutoff operation of described closedown for wait close application program application program resident service and terminate described shutoff operation for wait close all processes of application program, comprising:
Wait described in display to close application details page corresponding to application program;
Stop control by the pressure of calling described application details page, trigger force to stop interface closing described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
6. method according to claim 5, it is characterized in that, control is stopped in the pressure by calling described application details page, trigger force to stop interface closing described in wait to close application program application program resident service and before waiting to close all processes of application program described in terminating, after waiting to close application details page corresponding to application program described in display, described method also comprises:
A suspended window is shown in the described application details page upper strata top set of display.
7. method according to claim 6, is characterized in that, described suspended window is translucent suspended window.
8. a closing application program device, is characterized in that, described device comprises:
Obtain module, for obtaining the current operating parameter of the current each application program run;
Determination module, the application program for described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Output module, waits to cut out the application list for exporting;
To described, receiver module, treats that in closedown the application list, at least one waits to close the shutoff operation of application program for receiving user;
Closing module, for close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
9. device according to claim 8, is characterized in that, described device also comprises:
Remove module, after application program at described determination module operational factor in the current each application program run being met parameter preset condition is defined as waiting to close application program, according to respectively waiting the running status of closing application program, waiting to close application program from what determine the application program removed without the need to closing, obtaining remaining waiting and closing application program;
Described output module, specifically for:
What output was made up of described remaining identification information of waiting to close application program treats closedown the application list.
10. an electronic equipment, is characterized in that, described electronic equipment comprises:
Housing, processor, storer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, and processor and storer are arranged on circuit boards; Power circuit, for powering for each circuit of electronic equipment or device; Storer is used for stores executable programs code; Processor runs the program corresponding with executable program code by reading the executable program code stored in storer, for execution following steps:
Obtain the current operating parameter of the current each application program run;
The application program described current operating parameter being met parameter preset condition is defined as waiting to close application program;
Export and wait to close the application list;
Receive user and treat that in closedown the application list, at least one waits to close the shutoff operation of application program to described;
Close described shutoff operation for the application program resident service of waiting to close application program and terminate described shutoff operation for wait close all processes of application program.
CN201510813137.3A 2015-11-20 2015-11-20 Application program closing method and device and electronic equipment Pending CN105446776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510813137.3A CN105446776A (en) 2015-11-20 2015-11-20 Application program closing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510813137.3A CN105446776A (en) 2015-11-20 2015-11-20 Application program closing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN105446776A true CN105446776A (en) 2016-03-30

Family

ID=55557018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510813137.3A Pending CN105446776A (en) 2015-11-20 2015-11-20 Application program closing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105446776A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020878A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Method for closing application run in background and mobile terminal
CN106095055A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 The method for closing of a kind of application program and device
CN106095414A (en) * 2016-06-01 2016-11-09 北京金山安全软件有限公司 Method and device for managing application program and electronic equipment
CN106227590A (en) * 2016-07-27 2016-12-14 西安酷派软件科技有限公司 The control method of application process, the control device of application process and terminal
CN106557361A (en) * 2016-11-14 2017-04-05 天脉聚源(北京)传媒科技有限公司 A kind of application program exits method and device
CN106776010A (en) * 2016-11-23 2017-05-31 广州华多网络科技有限公司 A kind of resource allocation method and terminal
CN106776030A (en) * 2016-12-21 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of dynamic managing internal memory
CN107885588A (en) * 2017-11-21 2018-04-06 广东欧珀移动通信有限公司 Control method, device and the storage medium and mobile terminal of application service
CN107943534A (en) * 2017-11-14 2018-04-20 广东欧珀移动通信有限公司 Method for closing, device, storage medium and the electronic equipment of background application
CN108399087A (en) * 2018-03-22 2018-08-14 北京金山安全软件有限公司 Process closing method and device and electronic equipment
CN108446553A (en) * 2018-03-22 2018-08-24 北京金山安全软件有限公司 Process protection method and device and electronic equipment
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN109144608A (en) * 2018-08-23 2019-01-04 深圳市元征科技股份有限公司 The method and device of the function pop-up of shielding control application in the application
CN109995930A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Process handling method and device, electronic equipment, computer readable storage medium
CN113040993A (en) * 2020-12-29 2021-06-29 重庆医科大学附属第一医院 Vertebra reduction bed

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110321034A1 (en) * 2010-06-25 2011-12-29 Tuneup Software Gmbh Method for Improving the Performance of Computers
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
CN104820545A (en) * 2015-04-30 2015-08-05 北京奇虎科技有限公司 Memory cleaning method and memory cleaning device of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110321034A1 (en) * 2010-06-25 2011-12-29 Tuneup Software Gmbh Method for Improving the Performance of Computers
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103530235A (en) * 2013-10-18 2014-01-22 北京奇虎科技有限公司 Method and device for clearing internal storage in mobile terminal
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
CN104820545A (en) * 2015-04-30 2015-08-05 北京奇虎科技有限公司 Memory cleaning method and memory cleaning device of mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CSDN: "使用ActivityManager的forceStopPackage方法结束进程", 《HTTP://BLOG.CSDN.NET/HUXUEYAN521/ARTICLE/DETAILS/8921976》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020878A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Method for closing application run in background and mobile terminal
WO2017206873A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application program shutdown method and apparatus, storage medium, and electronic device
CN106095055A (en) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 The method for closing of a kind of application program and device
CN106095055B (en) * 2016-05-31 2018-07-27 广东欧珀移动通信有限公司 A kind of method for closing and device of application program
CN106095414A (en) * 2016-06-01 2016-11-09 北京金山安全软件有限公司 Method and device for managing application program and electronic equipment
CN106227590A (en) * 2016-07-27 2016-12-14 西安酷派软件科技有限公司 The control method of application process, the control device of application process and terminal
CN106557361A (en) * 2016-11-14 2017-04-05 天脉聚源(北京)传媒科技有限公司 A kind of application program exits method and device
CN106776010A (en) * 2016-11-23 2017-05-31 广州华多网络科技有限公司 A kind of resource allocation method and terminal
CN106776010B (en) * 2016-11-23 2020-06-05 广州华多网络科技有限公司 Resource allocation method and terminal
CN106776030A (en) * 2016-12-21 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of dynamic managing internal memory
CN108984212B (en) * 2017-05-31 2021-06-25 腾讯科技(深圳)有限公司 Method for closing process and electronic equipment
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN107943534A (en) * 2017-11-14 2018-04-20 广东欧珀移动通信有限公司 Method for closing, device, storage medium and the electronic equipment of background application
CN107943534B (en) * 2017-11-14 2021-02-02 Oppo广东移动通信有限公司 Background application program closing method and device, storage medium and electronic equipment
CN107885588A (en) * 2017-11-21 2018-04-06 广东欧珀移动通信有限公司 Control method, device and the storage medium and mobile terminal of application service
CN109995930A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Process handling method and device, electronic equipment, computer readable storage medium
CN108399087A (en) * 2018-03-22 2018-08-14 北京金山安全软件有限公司 Process closing method and device and electronic equipment
CN108446553A (en) * 2018-03-22 2018-08-24 北京金山安全软件有限公司 Process protection method and device and electronic equipment
CN108446553B (en) * 2018-03-22 2021-11-12 北京金山安全软件有限公司 Process protection method and device and electronic equipment
CN109144608A (en) * 2018-08-23 2019-01-04 深圳市元征科技股份有限公司 The method and device of the function pop-up of shielding control application in the application
CN113040993A (en) * 2020-12-29 2021-06-29 重庆医科大学附属第一医院 Vertebra reduction bed
CN113040993B (en) * 2020-12-29 2023-08-11 重庆医科大学附属第一医院 Vertebra reduction bed

Similar Documents

Publication Publication Date Title
CN105446776A (en) Application program closing method and device and electronic equipment
CN105468409A (en) Application program closing method and device and electronic equipment
CN105677477B (en) Method and device for optimizing application program resources and electronic equipment
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
CN104699218B (en) A kind of task management method and equipment
CN105867590A (en) Method and device for controlling applications of mobile terminal
CN102946486A (en) Background application automatic clearing method based on mobile phone and mobile phone
CN102981878A (en) Method for automatically closing background programs and mobile terminal of automatically closing background programs
CN104298335A (en) Application program process cleaning method and device of mobile terminal and mobile terminal
CN105183137A (en) Mobile terminal and wake lock control method and system thereof
CN102306095A (en) Application management method and terminal
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN104317608A (en) Management method and device for pre-installed application program in mobile terminal and client
CN103176842A (en) Background process management method and mobile terminal thereof
CN104503828A (en) Process management method and terminal
CN106897125A (en) Smart machine and its management method of service or application
CN110377141A (en) Application processing method, device, electronic equipment and storage medium
CN104375854B (en) A kind of application updates method for down loading and user terminal
CN103780447A (en) Flow control method and device
CN107870792B (en) Starting method of mobile terminal, mobile terminal and medium product
CN107680029A (en) Image processing method, electronic equipment and the device with store function
CN104571464A (en) Electricity saving mode control method, device and terminal of a plurality of operation systems
CN105511587A (en) Radio frequency chain control method and device
CN105430726A (en) Carrier aggregation (CA) function control method for communication terminal and communication terminal
CN104038642A (en) Method and device for responding to incoming call

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160330