CN104199669A - Method and device for managing application program processes - Google Patents

Method and device for managing application program processes Download PDF

Info

Publication number
CN104199669A
CN104199669A CN201410465567.6A CN201410465567A CN104199669A CN 104199669 A CN104199669 A CN 104199669A CN 201410465567 A CN201410465567 A CN 201410465567A CN 104199669 A CN104199669 A CN 104199669A
Authority
CN
China
Prior art keywords
application program
priority
application
screen
dormancy
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
CN201410465567.6A
Other languages
Chinese (zh)
Other versions
CN104199669B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410465567.6A priority Critical patent/CN104199669B/en
Publication of CN104199669A publication Critical patent/CN104199669A/en
Application granted granted Critical
Publication of CN104199669B publication Critical patent/CN104199669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for managing application program processes. The method includes: a receiving system broadcasts a message to determine whether the screen of a terminal is closed or not; when the screen is closed, the process identification of each application program is traversed through an application program calling interface so as to find the process importance index of each application process, and the process priority of each application program is determined according to the process importance index; the processes with low priority are closed or set into a sleep state according to preset process managing rules. The method has the advantages that the processes with low priority are closed or set into the sleep state according to the priority of the processes, the processes with low priority are set into sleep preferably after screen locking, and accordingly internal memory space is saved, and power consumption is reduced.

Description

The method that the process of application programs manages and device
Technical field
The present invention relates to technical field of mobile terminals, be specifically related to method and device that a kind of process of application programs manages.
Background technology
Android system in the process of using, due to user's self operation or application program (software) certainly set out into, can produce a large amount of running background process and service.In these background process and service, some is user's needs, as instant messaging, security protection software; Process and service that other mostly are nonessential existence, be used for helper applications self sending out notice, prompting.These processes and service also can exist for a long time after mobile phone screen locking, take mobile phone EMS memory, consuming cells electric weight, and mobile phone is used and causes inconvenience.
Summary of the invention
In view of the above problems, the present invention has been proposed so that method and the device that provides a kind of process of the application programs that overcomes the problems referred to above or address the above problem at least in part to manage.
According to one aspect of the present invention, a kind of method that provides process of application programs to manage, comprising: receiving system broadcast, determine that whether terminal is in screen closed condition; When definite screen is during in closed condition, by application call interface, obtain the priority of the corresponding process of each application program; The described priority of obtaining the corresponding process of each application program comprises: travel through the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program; According to preset management of process rule, dormant state is closed or be set to the lower process of priority.
Preferably, described process significance index refers to the factor under internal memory overflow mechanism in operating system.
Preferably, described process significance index refers to the factor oom_adj under OOM mechanism in Android operating system.
Preferably, described management of process rule comprises: after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.
Preferably, also comprise: to user, provide visualization interface, accept the manual calibration of user to management of process.
Preferably, the described manual calibration to management of process comprises: according to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or, according to user, select, the process of application-specific is carried out screen locking dormancy or kept background operation state.
Preferably also comprise: judge that whether application program corresponding to process is included in preset application program white list, if so, remains running status by this process.
Preferably, also comprise: judge whether application program corresponding to process is included in preset application program blacklist, and if so, this process is set to dormant state.
According to one aspect of the present invention, the device that provides a kind of process of application programs to manage, comprising: broadcast receiving element, for receiving system broadcast, determine that whether terminal is in screen closed condition; Process priority acquiring unit, for when definite screen is during in closed condition, obtains the priority of the corresponding process of each application program by application call interface; Described process priority acquiring unit specifically for: by the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program; Administrative unit, for according to preset management of process rule, closes or is set to dormant state by the lower process of priority.
Preferably, described process significance index refers to the factor under internal memory overflow mechanism in operating system.
Preferably, described process significance index refers to the factor oom_adj under OOM mechanism in Android system.
Preferably, described management of process rule comprises: after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.
Preferably, also comprise: manual calibration unit, for providing visualization interface to user, accept the manual calibration of user to management of process.
Preferably, described manual calibration unit specifically for: according to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or, according to user, select, the process of application-specific is carried out screen locking dormancy or kept background operation state.
Preferably, also comprise: list judging unit, judge whether application program corresponding to process is included in preset application program white list, if so, indicate described management of process unit that this process is remained to running status.
Preferably, also comprise: list judging unit, for judging whether application program corresponding to process is included in preset application program blacklist, if so, indicate this process of described management of process unit to be set to dormant state.
Visible, the embodiment of the present invention, is closed or dormancy the lower process of priority as foundation by process priority, preferred implementing thread sleep processing lower to priority after screen locking, thus save memory headroom, reduce electric quantity consumption.In addition, under the dual decision logic of automatic intelligent identification and user's manual calibration, can guarantee that the required useful background process of user is never by auto sleep, unwanted other background process of user are all by auto sleep.With this, keep long-term low EMS memory occupation and the low electric quantity consumption of Android cell phone system.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram that the process of application programs manages according to an embodiment of the invention; And
Fig. 2 shows the device schematic diagram that the process of application programs manages according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
The process that the present invention discloses a kind of application programs manages method, and its scheme is, by the operation of monitoring application program background process, to determine the priority of process, closes the process that priority is lower, thereby releasing memory space is optimized terminal operating environment.
Referring to Fig. 1, the method flow diagram that the process of the application programs providing for one embodiment of the invention manages.
The method comprises the following steps:
S101: receiving system broadcast, determine that whether terminal is in screen closed condition.
It will be appreciated by those skilled in the art that operating system comprises application layer (app layer) and system framework layer (framework layer).A kind of preferred implementation of the present invention is app layer and framework layer are improved, thereby the process of utilizing this two-layer coordinated to realize application programs to manage.Concrete, first register receiving system and close screen broadcasting message, when system screen blackening, application layer just can be received the pass screen broadcast of system, then, application layer, by interface interchange, is realized the process priority of each application program of traversal.
S102: when definite screen is during in closed condition, obtain the priority of the corresponding process of each application program by API.
Can, by the API of operating system, realize the traversal to process priority.API (Application Programming Interface, application programming interface) be the calling interface that operating system is left application program for, application program makes operating system go the order of executive utility (action) by the API of call operation system.Can adopt interrupt mechanism to realize monitors API.
Can be understood as alternately between app layer and framework layer in the embodiment of the present invention: injected system service routine, in replacement system service is the false handle (variable) of app layer for accepting the handle (variable) of Inter-Process Communication data, so false handle (variable) will have precedence over system service and receive the control request from third party's program, false handle (memory variable) the meeting logic that executive process is controlled invoked time, and the rule that can arrange according to user, carries out corresponding operating.
Concrete, determine that the mode of process priority can have multiple.
(1) first kind of way is: by the process identification (PID) of each application program, find the process significance index of each application program, according to process significance index, determine the process priority of each application program.
Concrete, in Android system, by the PID of program, finding corresponding PROC/PID/oom_adj file, the numerical value in file reading, as standard and the threshold values of judgement priority.Wherein, PID (Process Identifier) is the identify label of each process, and it is unique that program one operational system will be distributed to one of process automatically.Can, by the PID of application program, find oom_adj corresponding to application program.
Those skilled in the art understand, and Android is a multitask system, that is to say and can move a plurality of programs simultaneously.In general, starting a program of operation has regular hour expense, therefore in order to accelerate travelling speed, when exiting a program, Android can't kill immediately (kill) it, during this program of reruning next time like this, startup that can be very fast.Along with the program retaining in system is more and more, internal memory is certain to occur not enough, and low memory killer is exactly when Installed System Memory is worth lower than certain, removes relevant program, and safeguards system keeps having the free memory of some.Low memory killer is according to two principles, and the importance of process and discharge the retrievable free memory quantity of this process decides the process of release.Process importance determines by significance index oom_adj.Wherein, OOM (out of memory, internal memory overflows) refers to system the inside, and due to Installed System Memory pressure, system can be selected to protect some system processs, and by some, other process kill falls, releasing memory.The file relevant to OOM is exactly the oom_adj under catalogue/proc/pid/oom_adj.Oom_adj is appreciated that the factor in position, and scope is-17 to 15.Be set to 0 expression never by kill, all the other situation values are more greatly more easily by kill.
Android is divided into following a few class by program, for example, and the order reducing successively according to importance:
FOREGROUD_APP, oom_adj=0, represents foreground program, can be understood as the program of using;
VISIBLE_APP, oom_adj=1, represents the visible program of user;
SECONDARY_SERVER, oom_adj=2, represent background service, such as QQ can be in running background service;
HOME_APP, oom_adj=4, represents HOME, is exactly main interface;
HIDDEN_APP, oom_adj=7, represents the program being hidden;
CONTENT_PROVIDER, oom_adj=14, represents content provider;
EMPTY_APP, oom_adj=15, represents dummy routine, and service is neither provided, and content is not provided yet.
(2) second way is: the Procession information of application programme that the system of obtaining is being moved, by the numerical value of the importance attribute in the Procession information of application programme moving, determine the process priority of each application program.
Concrete, by obtaining the program of moving in Android program, by the RunningAppProcessInfo object getting, by the numerical value of its importance attribute, as standard and the threshold values of judgement priority.
In Android system, the constant IMOPORTANCE (importance attribute) of RunningAppProcessInfo (Procession information of application programme moving) the inside represents the importance of this app process, because in the time of system recoveries, can carry out collection process according to IMOPORTANCE.For example:
Public static final int IMPORTANCE_BACKGROUND=400 represents background program;
Public static final int IMPORTANCE_EMPTY=500 represents null process;
Public static final int IMPORTANCE_FOREGROUND=100 be illustrated in screen foremost, can get the program of focus;
Public static final int IMPORTANCE_SERVICE=300 is illustrated in the program in service;
Public static final int IMPORTANCE_VISIBLE=200 is illustrated in screen front end, obtains the program less than focus.
Concrete, the example of importance property value that obtains RunningAppProcessInfo object is as follows:
First to obtain the object instance of ActivityManager, by calling getSystemService (ACTIVITY_SERVICE), will return to the example of an ActivityManager; After obtaining this example, call its getRunningAppProcesses () method, can return to a List, the data type of depositing in this List is ActivityManager.RunningAppProcessInfo.So, this List is traveled through, in every RunningAppProcessInfo from List, can obtain the relevant information of enjoying.
For example, show in the middle of being tied to a ListView with a ListAdapter, code is as follows:
Visible, in above-mentioned code, " public int importance " (process severity level in system) is exactly the importance property value that will obtain in the embodiment of the present invention.
S103: according to preset management of process rule, dormant state is closed or be set to the lower process of priority.
Wherein, management of process rule can have various ways, for example: directly priority is closed lower than the process of priority lowest threshold; Or after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.For example, in user's screen locking after 1 minute, the software that low user software, system software and the user of priority is manually set to forced dormancy all finishes process, under the prerequisite that does not affect critical software process and service, significantly reduced mobile phone EMS memory take with screen locking during electric quantity consumption.
In addition, the embodiment of the present invention can also provide the mode of user's manual calibration to supplement management of process.Concrete, to user, provide visualization interface, accept the manual calibration of user to management of process.Manual calibration to management of process comprises: according to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or, according to user, select, the process of application-specific is carried out screen locking dormancy or kept background operation state.
For example, user can check which software priority higher (wouldn't dormancy), which software priority lower (after screen locking can by dormancy), which software (dormancy) not in running background according to visualization interface.And the software that is put under " dormancy after screen locking " because of error in judgement can be ignored to dormancy, make it remain background operation state.Can will because of error in judgement, do not put under the software forced dormancy of " dormancy after screen locking ", make it after each screen locking, all can be moved to end process yet.
And, can also application program white list and application program blacklist mode scheme is optimized.A kind of situation is to judge that whether application program corresponding to process is included in preset application program white list, if so, remains running status by this process.But it is lower by the application program of user or system special concern maintenance running status that this situation can guarantee priority, a application program of watching video for example, if thereby user wishes to complete at the follow-up reforwarding row of screen locking the operation that off-line is downloaded, this application program can be joined in application program white list, like this, even if the corresponding process priority of this application program is lower, also can be by dormancy.Another situation is to judge whether application program corresponding to process is included in preset application program blacklist, and if so, this process is set to dormant state.But this situation can guarantee not committed memory of application program that priority may be higher be set to dormancy especially by user or system.
Visible, the embodiment of the present invention, is closed or dormancy the lower process of priority as foundation by process priority, preferred implementing thread sleep processing lower to priority after screen locking, thus save memory headroom, reduce electric quantity consumption.In addition, under the dual decision logic of automatic intelligent identification and user's manual calibration, can guarantee that the required useful background process of user is never by auto sleep, unwanted other background process of user are all by auto sleep.With this, keep long-term low EMS memory occupation and the low electric quantity consumption of Android cell phone system.
The device corresponding with said method, the present invention also provides a kind of process of application programs to manage.This device can be realized by hardware, software or software and hardware combining mode.This device can refer to the functional module of terminal inner, also can refer to terminal itself, as long as terminal comprises the function that realizes this device.Wherein, the operating system of terminal comprises ccf layer and application layer.
Fig. 2 shows the device schematic diagram that the process of application programs manages according to an embodiment of the invention.This device comprises:
Broadcast receiving element 201, for receiving system broadcast, determines that whether terminal is in screen closed condition;
Process priority acquiring unit 202, for when definite screen is during in closed condition, obtains the priority of the corresponding process of each application program by application call interface;
Management of process unit 203, for according to preset management of process rule, closes or is set to dormant state by the lower process of priority.
Preferably, described process priority acquiring unit 202 specifically for: by the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program.
Preferably, described process priority acquiring unit 202 is specifically for the Procession information of application programme that the system of obtaining is being moved, by the numerical value of the importance attribute in the described Procession information of application programme moving, determine the process priority of each application program.
Preferably, described management of process rule comprises: after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.
Preferably, also comprise manual calibration unit 204, for providing visualization interface to user, accept the manual calibration of user to management of process.
Preferably, described manual calibration unit 204 specifically for: according to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or, according to user, select, the process of application-specific is carried out screen locking dormancy or kept background operation state.
Preferably, this device also comprises: list judging unit 205, judge whether application program corresponding to process is included in preset application program white list, and if so, indicate described management of process unit 203 that this process is remained to running status.
Preferably, this device also comprises: list judging unit 205, and for judging whether application program corresponding to process is included in preset application program blacklist, if so, indicate described management of process unit 203 these processes to be set to dormant state.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that can use in practice microprocessor or digital signal processor (DSP) to realize the some or all parts in the device managing according to the process of the application programs of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention provides following scheme:
The method that the process of A1, a kind of application programs manages, comprising:
Receiving system broadcast, determines that whether terminal is in screen closed condition;
When definite screen is during in closed condition, by application call interface, obtain the priority of the corresponding process of each application program; The described priority of obtaining the corresponding process of each application program comprises: travel through the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program;
According to preset management of process rule, dormant state is closed or be set to the lower process of priority.
A2, the method as described in A1, described process significance index refers to the factor under internal memory overflow mechanism in operating system.
A3, the method as described in A2, described process significance index refers to the factor oom_adj under OOM mechanism in Android operating system.
A4, the method as described in A1, described management of process rule comprises: after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.
A5, the method as described in A1, also comprise: to user, provide visualization interface, accept the manual calibration of user to management of process.
A6, the method as described in A5, the described manual calibration to management of process comprises:
According to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or,
According to user, select to, the process of application-specific is carried out screen locking dormancy or kept background operation state.
A7, the method as described in A1, also comprise:
Judge that whether application program corresponding to process is included in preset application program white list, if so, remains running status by this process.
A8, the method as described in A1, also comprise:
Judge whether application program corresponding to process is included in preset application program blacklist, and if so, this process is set to dormant state.
The device that the process of B9, a kind of application programs manages, comprising:
Broadcast receiving element, for receiving system broadcast, determines that whether terminal is in screen closed condition;
Process priority acquiring unit, for when definite screen is during in closed condition, obtains the priority of the corresponding process of each application program by application call interface; Described process priority acquiring unit specifically for: by the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program;
Administrative unit, for according to preset management of process rule, closes or is set to dormant state by the lower process of priority.
B10, the device as described in B9, described process significance index refers to the factor under internal memory overflow mechanism in operating system.
B11, the device as described in B10, described process significance index refers to the factor oom_adj under OOM mechanism in Android system.
B12, the device as described in B9, described management of process rule comprises: after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.
B13, the device as described in B9, also comprise: manual calibration unit, for providing visualization interface to user, accept the manual calibration of user to management of process.
B14, the device as described in B13, described manual calibration unit specifically for: according to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or, according to user, select, the process of application-specific is carried out screen locking dormancy or kept background operation state.
B15, the device as described in B9, also comprise: list judging unit, judge whether application program corresponding to process is included in preset application program white list, and if so, indicate described management of process unit that this process is remained to running status.
B16, the device as described in B9, also comprise: list judging unit, and for judging whether application program corresponding to process is included in preset application program blacklist, if so, indicate this process of described management of process unit to be set to dormant state.

Claims (10)

1. the method that the process of application programs manages, is characterized in that, comprising:
Receiving system broadcast, determines that whether terminal is in screen closed condition;
When definite screen is during in closed condition, by application call interface, obtain the priority of the corresponding process of each application program; The described priority of obtaining the corresponding process of each application program comprises: travel through the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program;
According to preset management of process rule, dormant state is closed or be set to the lower process of priority.
2. the method for claim 1, is characterized in that, described process significance index refers to the factor under internal memory overflow mechanism in operating system.
3. method as claimed in claim 2, is characterized in that, described process significance index refers to the factor oom_adj under OOM mechanism in Android operating system.
4. the method for claim 1, it is characterized in that, described management of process rule comprises: after terminal is reached the schedule time by screen locking, priority is set to dormant state lower than user application and the process corresponding to system application of priority lowest threshold.
5. the method for claim 1, is characterized in that, also comprises: to user, provide visualization interface, accept the manual calibration of user to management of process.
6. method as claimed in claim 5, is characterized in that, the described manual calibration to management of process comprises:
According to the priority of each process, process is carried out wouldn't dormancy, dormancy or the directly operation of dormancy after screen locking; Or,
According to user, select to, the process of application-specific is carried out screen locking dormancy or kept background operation state.
7. the method for claim 1, is characterized in that, also comprises:
Judge that whether application program corresponding to process is included in preset application program white list, if so, remains running status by this process.
8. the method for claim 1, is characterized in that, also comprises:
Judge whether application program corresponding to process is included in preset application program blacklist, and if so, this process is set to dormant state.
9. the device that the process of application programs manages, is characterized in that, comprising:
Broadcast receiving element, for receiving system broadcast, determines that whether terminal is in screen closed condition;
Process priority acquiring unit, for when definite screen is during in closed condition, obtains the priority of the corresponding process of each application program by application call interface; Described process priority acquiring unit specifically for: by the process identification (PID) of each application program, find the process significance index of each application program, according to described process significance index, determine the process priority of each application program;
Administrative unit, for according to preset management of process rule, closes or is set to dormant state by the lower process of priority.
10. device as claimed in claim 9, is characterized in that, described process significance index refers to the factor under internal memory overflow mechanism in operating system.
CN201410465567.6A 2014-09-12 2014-09-12 The method and device being managed to the process of application program Active CN104199669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410465567.6A CN104199669B (en) 2014-09-12 2014-09-12 The method and device being managed to the process of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410465567.6A CN104199669B (en) 2014-09-12 2014-09-12 The method and device being managed to the process of application program

Publications (2)

Publication Number Publication Date
CN104199669A true CN104199669A (en) 2014-12-10
CN104199669B CN104199669B (en) 2017-12-15

Family

ID=52084966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410465567.6A Active CN104199669B (en) 2014-09-12 2014-09-12 The method and device being managed to the process of application program

Country Status (1)

Country Link
CN (1) CN104199669B (en)

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461741A (en) * 2014-12-15 2015-03-25 北京奇虎科技有限公司 Graphics device interface based computing device optimizing method and device
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105094945A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Method, equipment and system for virtualization platform thread control
CN105159776A (en) * 2015-08-03 2015-12-16 中科创达软件股份有限公司 Process handling method and apparatus
CN105278370A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Power-saving mode starting method and device
CN105338177A (en) * 2015-09-30 2016-02-17 小米科技有限责任公司 Information delayed broadcasting method and device
CN105468426A (en) * 2016-01-05 2016-04-06 珠海市魅族科技有限公司 Application freezing method and terminal
CN105867771A (en) * 2016-04-11 2016-08-17 广东欧珀移动通信有限公司 Mobile terminal and method and device for turning off application programs
CN106155788A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and terminal unit
CN106201674A (en) * 2016-06-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Defreezing method, thawing apparatus and terminal
CN106250163A (en) * 2016-08-15 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of application control method and device
CN106250223A (en) * 2016-07-28 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of background process management method and terminal unit
CN106648855A (en) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for controlling application program of terminal
CN106897125A (en) * 2015-12-18 2017-06-27 联发科技(新加坡)私人有限公司 Smart machine and its management method of service or application
CN106951318A (en) * 2017-03-24 2017-07-14 联想(北京)有限公司 The management method and electronic equipment of a kind of electronic equipment background process
CN106970696A (en) * 2017-03-24 2017-07-21 联想(北京)有限公司 A kind of electronic equipment management method and electronic equipment
CN107003902A (en) * 2015-04-14 2017-08-01 华为技术有限公司 A kind of method of management of process, device and equipment
CN107145215A (en) * 2017-05-06 2017-09-08 维沃移动通信有限公司 A kind of background application method for cleaning and mobile terminal
CN107357655A (en) * 2017-06-22 2017-11-17 努比亚技术有限公司 A kind of processing method of process, terminal and computer-readable recording medium
CN107423123A (en) * 2017-07-25 2017-12-01 广东欧珀移动通信有限公司 Method for scheduling task, device, storage medium and electronic equipment
WO2017206871A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application program shutdown method and apparatus, storage medium, and electronic device
WO2017206887A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application program shutdown method and apparatus, storage medium, and electronic device
CN107479954A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
CN107566619A (en) * 2017-08-18 2018-01-09 深圳天珑无线科技有限公司 A kind of foreground application quickly receives the method, storage device and terminal of broadcast
CN107577479A (en) * 2016-07-01 2018-01-12 深圳富泰宏精密工业有限公司 Electronic installation and its semidormancy control method
WO2018041049A1 (en) * 2016-08-29 2018-03-08 腾讯科技(深圳)有限公司 Information processing method, terminal, server and computer storage medium
CN108021220A (en) * 2017-10-25 2018-05-11 努比亚技术有限公司 A kind of terminal applies control method, terminal and computer-readable recording medium
CN108228321A (en) * 2014-12-16 2018-06-29 北京奇虎科技有限公司 A kind of Android system application method for closing and device
CN108416591A (en) * 2018-02-28 2018-08-17 四川新网银行股份有限公司 A kind of method that transaction active current limliting is realized by api interface in financial transaction
CN108509263A (en) * 2018-03-28 2018-09-07 深圳酷泰丰科技有限公司 A kind of background process management method and system
WO2018161579A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Broadcast message queuing method and apparatus, storage device, and electronic device
CN108804207A (en) * 2017-04-28 2018-11-13 珠海全志科技股份有限公司 A kind of process management-control method based on android system
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN111027055A (en) * 2019-03-19 2020-04-17 哈尔滨安天科技集团股份有限公司 Method and device for hiding android system process and storage device
CN111666120A (en) * 2019-03-07 2020-09-15 阿里巴巴集团控股有限公司 Terminal control method and device
CN112748957A (en) * 2019-10-31 2021-05-04 北京沃东天骏信息技术有限公司 Application program processing method, device and system
CN116567132A (en) * 2022-01-28 2023-08-08 荣耀终端有限公司 Power consumption control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092689A (en) * 2013-01-10 2013-05-08 深圳市金立通信设备有限公司 Method and terminal of process management
CN103092691A (en) * 2013-01-23 2013-05-08 广东欧珀移动通信有限公司 Process management method and management unit of Android system
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103781057A (en) * 2014-01-08 2014-05-07 北京奇虎科技有限公司 Method and device for silently downloading upgrade package

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092689A (en) * 2013-01-10 2013-05-08 深圳市金立通信设备有限公司 Method and terminal of process management
CN103092691A (en) * 2013-01-23 2013-05-08 广东欧珀移动通信有限公司 Process management method and management unit of Android system
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN103781057A (en) * 2014-01-08 2014-05-07 北京奇虎科技有限公司 Method and device for silently downloading upgrade package

Cited By (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461741A (en) * 2014-12-15 2015-03-25 北京奇虎科技有限公司 Graphics device interface based computing device optimizing method and device
CN104461741B (en) * 2014-12-15 2017-05-24 北京奇虎科技有限公司 Graphics device interface based computing device optimizing method and device
CN108228321B (en) * 2014-12-16 2021-08-10 北京奇虎科技有限公司 Android system application closing method and device
CN104486510A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Method for reducing power consumption of intelligent terminal, and system for reducing power consumption of intelligent terminal
CN108228321A (en) * 2014-12-16 2018-06-29 北京奇虎科技有限公司 A kind of Android system application method for closing and device
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
US10514950B2 (en) 2015-04-14 2019-12-24 Huawei Technologies Co., Ltd. Interface switching method, apparatus, and device
CN107003902B (en) * 2015-04-14 2021-01-01 华为技术有限公司 Method, device and equipment for process management
CN107003902A (en) * 2015-04-14 2017-08-01 华为技术有限公司 A kind of method of management of process, device and equipment
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105094945A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Method, equipment and system for virtualization platform thread control
CN105159776B (en) * 2015-08-03 2019-02-19 中科创达软件股份有限公司 Process handling method and device
CN105159776A (en) * 2015-08-03 2015-12-16 中科创达软件股份有限公司 Process handling method and apparatus
CN105338177B (en) * 2015-09-30 2018-10-19 小米科技有限责任公司 message delay broadcasting method and device
US10241637B2 (en) 2015-09-30 2019-03-26 Xiaomi Inc. Method for reducing power consumption in electronic devices
CN105278370A (en) * 2015-09-30 2016-01-27 小米科技有限责任公司 Power-saving mode starting method and device
CN105338177A (en) * 2015-09-30 2016-02-17 小米科技有限责任公司 Information delayed broadcasting method and device
CN106897125A (en) * 2015-12-18 2017-06-27 联发科技(新加坡)私人有限公司 Smart machine and its management method of service or application
CN105468426A (en) * 2016-01-05 2016-04-06 珠海市魅族科技有限公司 Application freezing method and terminal
CN105867771A (en) * 2016-04-11 2016-08-17 广东欧珀移动通信有限公司 Mobile terminal and method and device for turning off application programs
WO2017206871A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application program shutdown method and apparatus, storage medium, and electronic device
WO2017206887A1 (en) * 2016-05-31 2017-12-07 广东欧珀移动通信有限公司 Application program shutdown method and apparatus, storage medium, and electronic device
CN106155788A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application program freezing method and terminal unit
CN106201674A (en) * 2016-06-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Defreezing method, thawing apparatus and terminal
CN107577479A (en) * 2016-07-01 2018-01-12 深圳富泰宏精密工业有限公司 Electronic installation and its semidormancy control method
CN106250223A (en) * 2016-07-28 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of background process management method and terminal unit
CN106250223B (en) * 2016-07-28 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Background process management method and terminal equipment
WO2018032581A1 (en) * 2016-08-15 2018-02-22 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for application program control
CN106250163A (en) * 2016-08-15 2016-12-21 宇龙计算机通信科技(深圳)有限公司 A kind of application control method and device
CN106250163B (en) * 2016-08-15 2019-11-12 宇龙计算机通信科技(深圳)有限公司 A kind of application control method and device
WO2018041049A1 (en) * 2016-08-29 2018-03-08 腾讯科技(深圳)有限公司 Information processing method, terminal, server and computer storage medium
US11221743B2 (en) 2016-08-29 2022-01-11 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, server, and computer storage medium
US10739956B2 (en) 2016-08-29 2020-08-11 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, server, and computer storage medium
CN106648855A (en) * 2016-11-21 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for controlling application program of terminal
WO2018161579A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Broadcast message queuing method and apparatus, storage device, and electronic device
CN106970696B (en) * 2017-03-24 2020-04-24 联想(北京)有限公司 Electronic equipment management method and electronic equipment
CN106970696A (en) * 2017-03-24 2017-07-21 联想(北京)有限公司 A kind of electronic equipment management method and electronic equipment
CN106951318A (en) * 2017-03-24 2017-07-14 联想(北京)有限公司 The management method and electronic equipment of a kind of electronic equipment background process
CN108804207A (en) * 2017-04-28 2018-11-13 珠海全志科技股份有限公司 A kind of process management-control method based on android system
CN107145215A (en) * 2017-05-06 2017-09-08 维沃移动通信有限公司 A kind of background application method for cleaning and mobile terminal
CN107145215B (en) * 2017-05-06 2019-09-27 维沃移动通信有限公司 A kind of background application method for cleaning and mobile terminal
CN108984212A (en) * 2017-05-31 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and electronic equipment of closing process
CN107357655A (en) * 2017-06-22 2017-11-17 努比亚技术有限公司 A kind of processing method of process, terminal and computer-readable recording medium
CN107423123A (en) * 2017-07-25 2017-12-01 广东欧珀移动通信有限公司 Method for scheduling task, device, storage medium and electronic equipment
CN107479954B (en) * 2017-07-31 2019-10-29 Oppo广东移动通信有限公司 Process management method, device, storage medium and electronic equipment
CN107479954A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 process management method, device, storage medium and electronic equipment
US11157315B2 (en) 2017-07-31 2021-10-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for process management and electronic device
CN107566619A (en) * 2017-08-18 2018-01-09 深圳天珑无线科技有限公司 A kind of foreground application quickly receives the method, storage device and terminal of broadcast
CN108021220A (en) * 2017-10-25 2018-05-11 努比亚技术有限公司 A kind of terminal applies control method, terminal and computer-readable recording medium
CN108416591A (en) * 2018-02-28 2018-08-17 四川新网银行股份有限公司 A kind of method that transaction active current limliting is realized by api interface in financial transaction
CN108416591B (en) * 2018-02-28 2021-11-02 四川新网银行股份有限公司 Method for realizing transaction active current limiting through API (application program interface) in financial transaction
WO2019184821A1 (en) * 2018-03-28 2019-10-03 深圳酷泰丰科技有限公司 Method and system for managing background process
CN108509263A (en) * 2018-03-28 2018-09-07 深圳酷泰丰科技有限公司 A kind of background process management method and system
CN111666120A (en) * 2019-03-07 2020-09-15 阿里巴巴集团控股有限公司 Terminal control method and device
CN111027055A (en) * 2019-03-19 2020-04-17 哈尔滨安天科技集团股份有限公司 Method and device for hiding android system process and storage device
CN112748957A (en) * 2019-10-31 2021-05-04 北京沃东天骏信息技术有限公司 Application program processing method, device and system
CN116567132A (en) * 2022-01-28 2023-08-08 荣耀终端有限公司 Power consumption control method and device

Also Published As

Publication number Publication date
CN104199669B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN104199669A (en) Method and device for managing application program processes
CN104199731A (en) Method and device for managing application program processes
EP3584696B1 (en) Managing delivery of code and dependent data using application containers
CN104252389B (en) application program operation method, system
CN103164268B (en) System optimization method and device
CN110502402B (en) Message processing method and device and terminal device
CN105354492B (en) Communication terminal and its message informing control method and device
CN106201409B (en) Processing method and system for application program operation interface
CN103888619B (en) A kind of message treatment method and system thereof
CN105094279A (en) Method, apparatus and system for improving standby performance of intelligent terminal
CN103841204A (en) Traffic-free downloading method, device and system based on mobile terminal
CN103218307B (en) Internal storage management system and EMS memory management process
CN104181902A (en) Smart home and socialized service control system
CN105094280A (en) Method, apparatus and system for improving standby performance of intelligent terminal
CN111045901A (en) Container monitoring method and device, storage medium and electronic equipment
CN110554762A (en) Method and terminal for controlling application program
CN108243032B (en) Method, device and equipment for acquiring service level information
CN108536492B (en) Method, device, equipment and storage medium for acquiring attribute information of live broadcast room
CN105095749A (en) Status bar notification takeover method and device
KR20110112407A (en) A method, apparatus and computer program for conserving battery charge
CN106886456A (en) A kind of application program intelligent control method and device
CN103024532A (en) Hardware monitoring method and system
CN111131841A (en) Live indirect access method and device, electronic equipment and storage medium
CN105337783A (en) Method of monitoring abnormal flow consumption of communication equipment and apparatus
CN110868693A (en) Application program flow control method, terminal device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220708

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co., Ltd