CN102163161A - Process management method and device thereof - Google Patents

Process management method and device thereof Download PDF

Info

Publication number
CN102163161A
CN102163161A CN2011100826111A CN201110082611A CN102163161A CN 102163161 A CN102163161 A CN 102163161A CN 2011100826111 A CN2011100826111 A CN 2011100826111A CN 201110082611 A CN201110082611 A CN 201110082611A CN 102163161 A CN102163161 A CN 102163161A
Authority
CN
China
Prior art keywords
application program
described application
associated process
host
management method
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
CN2011100826111A
Other languages
Chinese (zh)
Other versions
CN102163161B (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 Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN201110082611.1A priority Critical patent/CN102163161B/en
Publication of CN102163161A publication Critical patent/CN102163161A/en
Application granted granted Critical
Publication of CN102163161B publication Critical patent/CN102163161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a process management method and a device thereof. The method comprises the following steps of: collecting related processes of an application program when the application program is running; and combining the related processes of the application program into one collection for management. The process management method and the device thereof provide another simple and convenient mode for managing the current processes of a system so as to provide the processes of the whole system for users more friendlily and have stronger controllability in the management through the display mode.

Description

A kind of process management method and device
Technical field
The invention belongs to computer realm, specifically, relate to a kind of process management method and device.
Background technology
Process is to have the once operation activity of a program of certain standalone feature about a certain data acquisition.It can apply for and have system resource, is the elementary cell that operating system is dynamically carried out, and in traditional operating system, process is basic allocation units, also is basic performance element.
Application programs, process is just as a bulk container.After application program is moved, just be equivalent to application program has been put in the container, you added other data, file in the container in the past, as: application program required variable data, the dll file that need quote etc. when the operation.When application program was moved twice, the thing in the container can't be outwelled, and system can look for a new process container to hold it.
Process can be divided into system process and consumer process.System process is meant the process of the various functions that are used for the complete operation system, and representative is in the operating system itself under the running status, is the pacing items of system's operation; The program that system process carried comprises: system manage ment computer is individual and finish the necessary program of various operations.Consumer process is meant all by processes that the user starts, and the program that consumer process carried comprises: by the additional programs that the user opens, carries out, these additional programs also comprise the ignorant and illegal program of automatic operation of user certainly.
When closing application program, general application program is just closed the process of this application program.But more existing application programs, as: PPS, pplive, uus etc., after the user had moved these application programs it is closed, the process that often still has these application programs in the task manager was in operation, but this situation that the closing application program process does not withdraw from just occurred.And these processes are still taking system resource, and when the similar application program of user installation was a lot, these application programs were in case start and will cause great consumption to system resource.As previously mentioned, this class application program can't be carried out real withdrawing from from traditional Application Program Interface, if want to close these process free system resources, can only manually these processes be closed, but this process shutoff operation is comparatively difficult for the domestic consumer that does not have professional knowledge.
Same application runs on several data acquisitions probably simultaneously, that is to say that same program can corresponding a plurality of processes, like this when said procedure close but the associated process of this class application program of not withdrawing from of process more for a long time, it is very complicated that the work of these processes of manual-lock then becomes.Which at first will identify is the process that belongs to this application program, and this just requires the user to have suitable computer level and very familiar to this application program, and this is for domestic consumer even all be extremely difficult those skilled in the art a lot.And promptly allow to find out the whole process of this application program, and also needing manually one by one these processes to be closed, this also makes operation more loaded down with trivial details.If need close the more application program this moment, and each application program corresponding under the situation of a plurality of processes, this work may be finished hardly.
In addition, the every expansion of some application program once will produce a process, these application programs will be opened a plurality of processes when repeated priming like this, if the user wishes these processes are managed, when especially wishing to close these application programs, then need to make operation become very loaded down with trivial details by manual it is closed one by one.
Summary of the invention
In view of this, technical matters to be solved by this invention has provided a kind of process management method and device, makes general user's managing process without barrier.
In order to solve the problems of the technologies described above, the invention discloses a kind of process management method, comprising: when described application program is moved, collect the associated process of described application program; The associated process of described application program is merged into a set to be managed.
Further, the associated process of described application program is merged into the step that a set manages, comprising: the associated process of described application program is merged into a set show.
Further, the title of described set shows that with application name or document title the display icon of described set shows with application icon.
Further, the associated process of described application program is merged into the step that a set manages, comprising: the associated process of described application program is merged into a set, described associated process is closed by closing described set.
Further, comprising: receive the detached process in the described set of closing indication and will identify of described set is closed, and described set is dismissed.
Further, the associated process of described application program is merged into the step that a set manages, comprising: the associated process of described application program is merged into a set, described associated process is suspended/continues by the described set of time-out/continuation.
Further, comprising: receive time-out/continuation indication to described set, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant in the shared process in the described set that identifies with described application program.
Further, the associated process of described application program comprises: the process similar with described host process that the host process of described application program and described application program are opened.
Further, collect the step of the associated process of described application program, comprising: in real time or the cycle monitor each process, and according to the process name of the host process of described application program and/or the associated process that pathname is collected described application program.
Further, the associated process of described application program comprises: the host process of described application program and have one or more processes of kinship with described host process.
Further, collect the step of the associated process of described application program, comprising: preset a process list, wherein preserve the sign of all potential associated process of described application program; In conjunction with described process list, the real-time or cycle is collected the associated process of described application program.
Further, comprising: in conjunction with described process list, the real-time or cycle is not detected being carried out security by the process of described process row coupling.
Further, collect the step of the associated process of described application program, comprising: the real-time or cycle is monitored each process, and collects the associated process of described application program according to the host process and the process kinship of described application program.
Further, comprise: the parent process sign/subprocess sign according to a unknown process finds its upper layer procedures/lower layer procedure, when judging that described upper layer procedures/lower layer procedure and described host process have kinship, determine that described process is the associated process of described application program and collects the described process of record.
Further, comprising: the subprocess sign/parent process sign according to a known process in the described associated process finds its Unrecorded lower layer procedure/upper layer procedures, determines that described lower layer procedure/upper layer procedures is the associated process of described application program and collects record.
In order to solve the problems of the technologies described above, the invention also discloses a kind of management of process device, be applied to the situation that one or more associated process carry an application program, comprise: collection module is used for collecting the associated process of described application program when described application program is moved; Administration module is used for that the associated process of described application program is merged into a set and manages.
Further, described administration module is used for that the associated process of described application program is merged into a set and shows; Described set name shows that with application name or document title the display icon of described set shows with application icon;
Further, described administration module is used for the associated process of described application program is merged into a set, by close/suspend/continue described set described associated process is closed/suspended/continue.
Further, described administration module, the detached process of closing the described set of indicating and will identify that is used for receiving described set is closed, and described set is dismissed; Also be further used for receiving time-out/continuation indication to described set, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant in the shared process in the described set that identifies with described application program.
Further, described collection module is used in real time or the cycle is monitored each process, and according to the process name of the host process of described application program and/or the associated process that pathname is collected described application program; The associated process of described application program comprises: the process similar with described host process that the host process of described application program and described application program are opened.
Further, described collection module is used in real time or the cycle is monitored each process and collects the associated process of described application program according to the host process and the process kinship of described application program; Also be used to preset a process list, wherein preserve the sign of all potential associated process of described application program, in conjunction with described process list, the real-time or cycle is collected the associated process of described application program; The associated process of described application program comprises: the host process of described application program and have one or more processes of kinship with described host process.
Further, described collection module, be used for finding its upper layer procedures/lower layer procedure according to the parent process sign/subprocess sign of a unknown process, when judging that described upper layer procedures/lower layer procedure and described host process have kinship, determine that described process is the associated process of described application program and collects record; Also be further used for finding its Unrecorded lower layer procedure/upper layer procedures, determine that described lower layer procedure/upper layer procedures is the associated process of described application program and collects record according to the subprocess sign/parent process sign of a known process in the described associated process; Also be further used in conjunction with described process list, the real-time or cycle carries out security to the process of not mated by described process list and detects.
Compare the technique effect that the present invention obtained with existing scheme:
1) for total system,, the process of total system is offered the user more with open arms, and make the controllability of management stronger by this display mode for the user provides another kind of mode of managing the process of current system more easily;
2) for process was individual, the user did not need professional knowledge just can manage the application program individuality without barrier, did not need to understand the relation of application program individuality and its associated process;
3) by process being managed with similar relation by homology, the process that makes can have been simplified redundant operation by the management of pair set greatly by the autotelic differentiation arrangement of user's request;
4) accomplish really closing of application program, and do not influence the use of other processes and application program, reasonable free system resources when keeping system stable operation;
5) use independently UI administration interface, use application name or document title to name simultaneously, make process become readable, be more conducive to user's understanding and management;
6) in the process of carrying out management of process, can also find suspicious process and carry out security and detect, further guarantee the stable of system;
7) cooperation is carried out similar aggregate mode to process, makes the time-out/continuation efficiency of managing based on process higher; The aggregate mode that cooperation is carried out homology (according to the application program collection) to process can be implemented to the time-out/continuation to the overall applicability program with the time-out/continuation to single process.
Description of drawings
Fig. 1 is the method flow diagram of first and second embodiment of the present invention;
Fig. 2 is first synoptic diagram of the application example of step S14 of the present invention;
Fig. 3 is second synoptic diagram of the application example of step S14 of the present invention;
Fig. 4 is the synoptic diagram of the application example of first embodiment of the invention;
Fig. 5 is the synoptic diagram of the application example of second embodiment of the invention;
Fig. 6 is the structure drawing of device of third embodiment of the invention.
Embodiment
Below will cooperate graphic and embodiment describes embodiments of the present invention in detail, by this to the present invention how the application technology means implementation procedure that solves technical matters and reach the technology effect can fully understand and implement according to this.
Core idea of the present invention is: when described application program is moved, collect the associated process of described application program; The associated process of described application program is merged into a set to be managed.Be applied to the situation that one or more associated process carry an application program, perhaps be applied to the framework of many covers process, promptly every application programs is carried out the just corresponding new process of a cover of safeguarding of one extension.
Manage the associated process of described application program being merged into a set, comprise following two parts: merge to show that 1) associated process that is about to described application program is merged into a set and shown; Described set name shows that with application name or document title the display icon of described set shows with application icon; 2) key close/suspend/continue, the associated process that is about to described application program is merged into a set, by close/suspend/continue described set described associated process is closed/suspended/continue.
Document title promptly refers to the title of the medium of the title of the file of the title of task of the current execution of described application program or current operation, current broadcast.
Application name promptly refers to the title of described application program, and this title can be the Chinese and English title of program, also can be the EXENAME of described application program.
For example, during the operation of one video player, related a plurality of processes, after these processes are merged into a set, can use the video file name (document title) that is being played to be used as set name this moment, can certainly use the name (application name) of this video player to be used as set name.
Associated process can comprise two aspects, promptly with originating process and similar process;
1) same originating process
Associated process comprises: the host process of described application program and have the supporting process of kinship with described host process; Wherein, these supporting processes comprise: one or more processes that host process is directly or indirectly opened, called reach one or more processes of directly or indirectly opening, calling described host process; Need to prove that described supporting process comprises detached process and/or shared process; The process of described shared process for being called by a plurality of upper layer procedures simultaneously, the process of described detached process for only being called by a upper layer procedures;
2) similar process
Associated process comprises: the process similar with described host process that the host process of described application program, described application program are opened can also comprise the process similar with described host process that the similar application program of described application program is opened certainly; Need to prove that the process similar with described host process also can comprise detached process and/or shared process, for example, the every operation of certain application program once is a corresponding process, this application program is moved 3 times continuously, and exist 3 processes this moment, and these three processes are exactly similar process.
Below with first embodiment to describing at management in the method for the present invention with originating process.Be applied to the situation that one or more associated process carry an application program, the program that above-mentioned application program mainly is meant consumer process is carried.As shown in Figure 1, carry out following operation:
Step S 11, when described application program is moved, collect the associated process of described application program;
Associated process comprises: the host process of described application program and have the supporting process of kinship with described host process; Wherein, these supporting processes comprise: one or more processes that host process is directly or indirectly opened, called reach one or more processes of directly or indirectly opening, calling described host process; Need to prove that described supporting process comprises detached process and/or shared process.
For the collection of the associated process of described application program, can realize that the present invention is not limited to this separately or in combination by following mode:
1) presets a process list, wherein preserve the sign of all potential associated process of described application program; In conjunction with described tabulation in real time or the cycle collect the associated process of described application program;
Specifically, the sign of described associated process is PID (process identification (PID)); The associated process that all are potential, be meant the whole possible process relevant with application program, no matter whether it is current with application program launching, this potential associated process can rule of thumb reach statistics by the technician and carry out exhaustive and the continuous updating maintenance of needs;
In real time or the process that occurs in the cycle supervisory system, obtain the PID of these processes, mate to come which is the associated process of described application program and collects record in the process that occurs in the recognition system by process list.In addition, for the process that occurs in the system of not mated by described process list, in real time or the cycle carry out security and detect, further guarantee the security of system.
2) the real-time or cycle is monitored each process, and collects the associated process of described application program according to the host process and the process kinship of described application program;
Specifically, when finding a new process by the monitoring of real-time or cycle, parent process sign/subprocess sign according to this process finds its upper layer procedures/lower layer procedure, seek to upper strata/lower floor more step by step according to this upper layer procedures/lower layer procedure, finally find host process, thereby can judge described upper layer procedures/lower layer procedure and whether described host process has kinship, when having kinship, determine the associated process that described new process is described application program and collect the described process of record;
Perhaps, when finding a new process by the monitoring of real-time or cycle, parent process sign/subprocess sign according to this process finds its upper layer procedures/lower layer procedure, tabulation can know directly whether this upper layer procedures/lower layer procedure and described host process have kinship according to a kinship, directly determines the associated process that described new process is described application program and collect the described process of record when having kinship.
Perhaps, when monitoring is found to have new process to occur by real-time or cycle, all associated process that then trigger the described application program of collecting record detect, whether the subprocess label detection according to described each associated process exists Unrecorded lower layer procedure, if exist, can determine that then this lower layer procedure is exactly the associated process of described application program and collects the described lower layer procedure of record.
Perhaps, detect by real-time or cycle all associated process the described application program of collecting record, parent process sign according to described host process and upper layer procedures thereof finds its Unrecorded upper layer procedures, determines that described upper layer procedures is the associated process of described application program and collects record.
Need to prove, 1) in, but do not upgrade when new process occurring at process list, can be in conjunction with 2) emerging process is discerned collection, to guarantee to merge the accuracy that shows; 2) in, also can be with 1) process list as the kinship tabulation, as judging whether the foundation that has kinship and whether write down, to guarantee to merge the accuracy of demonstration;
Step S 12, and the associated process merging with described application program on the UI administration interface is shown as a set;
Generally all have identical a kind of attribute or can represent the name of these associated process for the associated process of this application program, for example identical or similar process name, perhaps comprise identical or similar part in the process name, or application name, document title, can use these names these associated process to be merged demonstration as the name of set, the icon of set shows that with application icon the present invention is not limited to this certainly; Need to prove, these associated process still are to remain on original separately resource to move, only be on the UI administration interface, its merging to be shown as a name, thereby being considered as a unified process (set) manages, like this can clog-free understanding and managing process for the general user, and understand the corresponding relation of application program and its associated process;
Step S13, receive to the closing/suspends of described application program/continues indication or merge the closing/suspend of set of demonstration/continue to indicate;
For some application programs, the corresponding a plurality of processes of its meeting want that as domestic consumer it is extremely difficult closing application program by process like this;
For some application programs, exist to quit a program but situation that process is still opened, the user can't really withdraw from by withdrawing from of program interface like this; The user thinks that program closes, but a large amount of system resources are still moved and taken to the process of these programs in fact; Even the user knows the process of these programs and still moves, if but when there be concerning of above-mentioned one-to-many in these programs and process, being limited to technical reason, which process domestic consumer also can't know;
Operation by step S11-S12, if the user wants to close described application program, can enter and merge on the UI administration interface that shows each application program associated process, this application program is merged direct click of the process that shows closes, can directly the associated process of described application program be closed together, make the user not need professional knowledge just can very easily the associated process of this application program be closed, solved the difficulty of the associated process that the user can't find described application program and the trouble that these processes are closed one by one;
Step S14 closes the detached process in the associated process of the described application program that identifies/suspend/continues;
1) reception is closed the detached process in the described set of closing indication and will identify of described set, and on the UI administration interface described set is dismissed;
2) time-out/continuation that receives described set is indicated, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant in the shared process in the described set that identifies, and on the UI administration interface, described set is shown as time-out/running status with described application program; The process of time-out or the data when pre-treatment of thread can be preserved, reading of data continues operation by the breakpoint when continuation process or thread; Also the process suspended or the data when pre-treatment of thread can be abandoned, be begun to rerun by original state when continuation process or thread, for example, when opening a webpage by 360 browsers, what can make the page in this way opens time-out/continuation.
Because may contain shared process in the associated process of described application program,, therefore only discern detached process in the associated process of described application program and it is closed get final product if these shared processes are also closed to close influences the operation of other application programs; Shared process in the associated process of described application program is held open, but the thread about described detached process finishes in the process of sharing; Can think this moment described application program is closed fully, close merging the set that shows.Thereby accomplish really closing of application program like this, and do not influence the use of other processes and application program, reasonable free system resources when keeping system stable operation.In addition, the operation of identification detached process can receive at step S13 and close the execution of indication back, also can carry out before, and the present invention is not limited to this.
Below explain step S14 of the present invention with an application example especially.As shown in Figure 2, corresponding process A of application A and process C, merging is shown as set A; Corresponding process B of application program B and process C, merging is shown as set B.If the user wishes to close application A, then enter the click of UI administration interface and close set A, as shown in Figure 3, rev down process rev A after identification this moment, the unlatching of maintenance process C, because process C still carries application program B, but the thread about process A part finishes among the process C.Process C is only called by process B this moment, so it has become detached process, if this moment, the user wished to close application program B, then enters the click of UI administration interface and closes set B, and this moment, process B and process C all closed.
Below explain the overall flow of the first embodiment of the present invention again with an application example, as shown in Figure 4.
Application scenarios of the present invention is as follows:
When 360 security guards move, can open the process (360safe.exe) of 360 security guard's master routines, this process also can be opened the process (360tray.exe) of real-time monitor (RTM), and the process of this real-time monitor (RTM) also can be opened the initiatively process (ZhuDongFangYu.exe) of defence service; But for domestic consumer, the implication of these three processes and effect are not readable substantially, and the mode by existing windows task manager is when browsing to these three processes, and the relevance between these three processes can not known by domestic consumer yet.
Below, carry out management of process by mode of the present invention:
At first, the present invention can collect 360 security guards and open three process: host process 360safe.exe and supporting process 360tray.exe and ZhuDongFangYu.exe altogether according to the tabulation of pre-configured whole associated process of preserving 360 security guards.
Then, these three process 360safe.exe, 360tray.exe and ZhuDongFangYu.exe merged on the UI administration interface be shown as a set " 360 security guard ", and use the icon of application program " 360 security guard " to show; Can clog-freely see 360 security guards' process like this for the general user, and also can recognize the corresponding relation of 360 security guards and process.
At this moment, if the user wants 360 security guards are closed, the icon that only need click set " 360 security guard " on the UI administration interface sends closes indication; Three process 360safe.exe, the 360tray.exe and the ZhuDongFangYu.exe that discern in 360 security guards' the associated process are detached process, directly they are closed the operation that can not have influence on other application program, then these three processes are closed, and on the UI administration interface, will merge the set " 360 security guard " that shows and close.
Need to prove that above-mentioned operation of closing is directed to and quits a program but a class application program that process is still opened can be meaningful especially.Because this class application program can't be carried out real withdrawing from from traditional Application Program Interface, thereby can only pass through the shared system resource of manual-lock process release process.But this process shutoff operation is comparatively difficult for the domestic consumer that does not have professional knowledge, especially when the associated process of this class application program more for a long time, domestic consumer is difficult to identify whole associated process and it is closed one by one, even have the technician of professional knowledge, it also is difficult identifying these processes and it is closed one by one.And utilize the solution of the present invention just can finish this shutoff operation easily, bring great convenience for domestic consumer even technician's managing process.
Below with second embodiment management at similar process in the method for the present invention is described.Be applied to the framework of many covers process, promptly every application programs is carried out the just corresponding new process of a cover of safeguarding of one extension.The program that above-mentioned application program mainly is meant consumer process is carried.Can carry out following operation with reference to shown in Figure 1:
Step S21 when described application program is moved, collects the associated process of described application program;
Associated process comprises: process similar with described host process that the host process of described application program, described application program are opened and the process similar with described host process that similar application program is opened with described application program; Need to prove that the process similar with described host process also can comprise detached process and/or shared process.
Collection for the associated process of described application program, can realize that the present invention is not limited to this by following mode:
In real time or the cycle monitor each process, and according to the process name of the host process of described application program and/or the associated process that pathname is collected described application program; Specifically, some application program can be opened a plurality of processes when repeated priming, and for example: described application program is in when operation, corresponding host process; This moment, the user started described application program once more, and this application program can be restarted a process, generally itself and the of the same name and/or same path of described host process, and the two is similar process; This moment is by each process in real-time or the cycle supervisory system, process name or pathname according to the host process of described application program, other that collect that described application program opens are of the same name and/or with the process in path, and these processes are exactly the associated process of described application program.
Step S22, the associated process merging with described application program on the UI administration interface is shown as a set;
Generally all have identical a kind of attribute or can represent the name of these associated process for the associated process of this application program, for example identical or similar process name, perhaps comprise identical or similar part in the process name, or application name, document title, can use these names these associated process to be merged demonstration as the name of set, the icon of set shows that with application icon the present invention is not limited to this certainly; Need to prove, these associated process still are to remain on original separately resource to move, only be on the UI administration interface, its merging to be shown as a name, thereby being considered as a unified process manages, like this can clog-free understanding and managing process for the general user, and understand the corresponding relation of application program and its associated process;
Step S23, receive to the closing/suspends of described application program/continues indication or merge the closing/suspend of set of demonstration/continue to indicate;
For some application programs, all can open the situation of the new process of a cover when having each expansion, if when opening repeatedly application program, the identical processes of many covers can appear simultaneously; If user's this moment wished a plurality of interfaces of this application program are closed together/suspended/would continue these application programs of manual-lock/time-out/continuation that then must be one by one;
Operation by step S21-S22, if the user wants to close repeatedly these application programs of expansion, can enter on the UI administration interface that merges the associated process that shows described application program, this application program is merged direct click of the set that shows closes, can directly the associated process of described application program be closed together, make the user very easily these application programs to be closed together, saved the trouble that the user closes one by one;
Step S24 closes the detached process in the associated process of the described application program that identifies/suspend/continues;
1) reception is closed the detached process in the described set of closing indication and will identify of described set, and on the UI administration interface described set is dismissed;
2) time-out/continuation that receives described set is indicated, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant in the shared process in the described set that identifies, and on the UI administration interface, described set is shown as time-out/running status with described application program; The process of time-out or the data when pre-treatment of thread can be preserved, reading of data continues operation by the breakpoint when continuation process or thread; Also the process of time-out or the data when pre-treatment of thread can be abandoned, when continuation process or thread, begin to rerun by original state.
Because may contain shared process in the associated process of described application program,, therefore only discern detached process in the associated process of described application program and it is closed get final product if these shared processes are also closed to close influences the operation of other application programs; Shared process in the associated process of described application program is held open, but the thread about described detached process finishes in the process of sharing; Can think this moment described application program is closed fully, close merging the set that shows.Thereby accomplish really closing of application program like this, and do not influence the use of other processes and application program, reasonable free system resources when keeping system stable operation.In addition, the operation of identification detached process can receive at step S23 and close the execution of indication back, also can carry out before, and the present invention is not limited to this.But the application example of refer step S14.
Below explain the overall flow of the second embodiment of the present invention again with an application example, as shown in Figure 5.
Application scenarios of the present invention is as follows:
When the user passes through based on webpage of 360 browser initial openings of Webkit and IE dual core, can open the process (360chrome.exe) of 360 browsers of three same process names, the current web page that corresponds respectively to extender " collection ", plug-in unit " shockwave flash " and open; And the user opens three webpages by 360 browsers more continuously by the label mode, the process (360chrome.exe) of 360 browsers of three same process names occurs, and each process is corresponding to a webpage of newly opening.If when this moment, the user wished to close the page of 360 browsers, also need these pages of closing one by one.
Below, carry out management of process by mode of the present invention:
At first, the present invention can collect other processes that 360 browsers are repeatedly opened: 360chrome.exe according to the process name 360chrome.exe of 360 browsers.
Then, these processes 360chrome.exe merged on the UI administration interface be shown as a set " 360 browser ", and use the icon of 360 browsers to show; Can clog-freely see the whole progress of 360 browsers like this for the general user.
At this moment, if the user wants 360 browsers cut out, the icon that only need click set " 360 browser " on the UI administration interface sends closes indication; Discern whole six 360chrome.exe processes of the associated process of 360 browsers, these processes all are detached process, directly they are closed the operation that can not have influence on other application program, then these six 360chrome.exe processes are closed, and on the UI administration interface, will merge the set " 360 browser " that shows and close.
Below with the 3rd embodiment device of the present invention is described, be applied to the situation that one or more associated process carry an application program, perhaps be applied to the framework of many covers process, promptly every application programs is carried out the just corresponding new process of a cover of safeguarding of one extension.The program that above-mentioned application program mainly is meant consumer process is carried.
As shown in Figure 6, be a kind of management of process device, run in the same system with described application program.Described management of process device comprises: collection module 1 and administration module 2;
Collection module 1 is used for collecting the associated process of described application program when described application program is moved;
Administration module 2 is used to provide a UI (user interface) administration interface that the associated process of described application program is merged into a set and manages;
Specifically, administration module 2 can be used for " merge and show "---and promptly, the associated process of described application program is merged into a set show; Described set name shows that with application name or document title the display icon of described set shows with application icon;
Administration module 2 can also be used on " key close/suspend/continue "---promptly, the associated process of described application program is merged into a set, by close/suspend/continue described set described associated process is closed/suspended/continue; Specifically, the closing when indicating of process that indication or institute merge demonstration of closing that receives described application program, discern the detached process in the associated process of described application program, described detached process is closed, and will merge the set that shows at the UI administration interface and dismiss; In the time-out/continuation indication that receives described set, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant in the shared process in the described set that identifies with described application program; The process of time-out or the data when pre-treatment of thread can be preserved, reading of data continues operation by the breakpoint when continuation process or thread; Also the process of time-out or the data when pre-treatment of thread can be abandoned, when continuation process or thread, begin to rerun by original state.
Collection module 1 comprises the collection of following two aspects at two kinds of different application scenarioss the time:
1) be applied to the framework of many covers process, promptly application programs is whenever carried out the just corresponding new process of a cover of safeguarding of one extension.The associated process of described application program comprises: the process similar with described host process that the host process of described application program and described application program are opened.
Collection module 1, in real time or the cycle monitor each process, and according to the process name of the host process of described application program and/or the associated process that pathname is collected described application program.
2) be applied to the situation that one or more associated process carry an application program.The associated process of described application program comprises: the host process of described application program and have one or more lower layer procedure of kinship with described host process.
Collection module 1 can be used to preset a process list, wherein preserves the sign of all potential associated process of described application program, in conjunction with described tabulation in real time or the cycle collect the associated process of described application program; Also be further used in conjunction with described process list, the real-time or cycle carries out security to the process of not mated by described process list and detects;
Collection module 1 also can be used in real time or the cycle is monitored each process and collects the associated process of described application program according to the host process and the process kinship of described application program; Specifically, parent process sign/subprocess sign according to a unknown process finds its upper layer procedures/lower layer procedure, when judging that described upper layer procedures/lower layer procedure and described host process have kinship, determine that described process is the associated process of described application program and collects the described process of record; Perhaps, subprocess sign/parent process sign according to a known process in the described associated process finds its Unrecorded lower layer procedure/upper layer procedures, determines that described lower layer procedure/upper layer procedures is the associated process of described application program and collects the described lower layer procedure/upper layer procedures of record.
Above-mentioned management of process device is corresponding with the feature of aforementioned process management method, and weak point can be with reference to the aforementioned process management method.
Above-mentioned explanation illustrates and has described some preferred embodiments of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the disclosed form of this paper, should not regard eliminating as to other embodiment, and can be used for various other combinations, modification and environment, and can in invention contemplated scope described herein, change by the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of claims of the present invention.

Claims (22)

1. a process management method is characterized in that, comprising:
When described application program is moved, collect the associated process of described application program;
The associated process of described application program is merged into a set to be managed.
2. process management method as claimed in claim 1 is characterized in that, the associated process of described application program is merged into the step that a set manages, and comprising:
The associated process of described application program is merged into a set to be shown.
3. process management method as claimed in claim 2 is characterized in that,
The title of described set shows that with application name or document title the display icon of described set shows with application icon.
4. process management method as claimed in claim 1 is characterized in that, the associated process of described application program is merged into the step that a set manages, and comprising:
The associated process of described application program is merged into a set, described associated process is closed by closing described set.
5. process management method as claimed in claim 4 is characterized in that, further comprises:
Reception is closed the detached process in the described set of closing indication and will identify of described set, and described set is dismissed.
6. process management method as claimed in claim 1 is characterized in that, the associated process of described application program is merged into the step that a set manages, and comprising:
The associated process of described application program is merged into a set, described associated process is suspended/continues by the described set of time-out/continuation.
7. process management method as claimed in claim 6 is characterized in that, further comprises:
Reception is to the time-out/continuation indication of described set, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant with described application program in the shared process in the described set that identifies.
8. as each described process management method among the claim 1-7, it is characterized in that,
The associated process of described application program comprises: the process similar with described host process that the host process of described application program and described application program are opened.
9. process management method as claimed in claim 8 is characterized in that, collects the step of the associated process of described application program, comprising:
In real time or the cycle monitor each process, and according to the process name of the host process of described application program and/or the associated process that pathname is collected described application program.
10. as each described process management method among the claim 1-7, it is characterized in that,
The associated process of described application program comprises: the host process of described application program and have one or more processes of kinship with described host process.
11. process management method as claimed in claim 10 is characterized in that, collects the step of the associated process of described application program, comprising:
Preset a process list, wherein preserve the sign of all potential associated process of described application program;
In conjunction with described process list, the real-time or cycle is collected the associated process of described application program.
12. process management method as claimed in claim 11 is characterized in that, further comprises:
In conjunction with described process list, the real-time or cycle is not detected being carried out security by the process of described process row coupling.
13. process management method as claimed in claim 10 is characterized in that, collects the step of the associated process of described application program, comprising:
Real-time or the cycle is monitored each process, and collects the associated process of described application program according to the host process and the process kinship of described application program.
14. process management method as claimed in claim 13 is characterized in that, further comprises:
Parent process sign/subprocess sign according to a unknown process finds its upper layer procedures/lower layer procedure, when judging that described upper layer procedures/lower layer procedure and described host process have kinship, determine that described process is the associated process of described application program and collects the described process of record.
15. process management method as claimed in claim 13 is characterized in that, further comprises:
Subprocess sign/parent process sign according to a known process in the described associated process finds its Unrecorded lower layer procedure/upper layer procedures, determines that described lower layer procedure/upper layer procedures is the associated process of described application program and collects record.
16. a management of process device is characterized in that, is applied to the situation that one or more associated process carry an application program, comprising:
Collection module is used for collecting the associated process of described application program when described application program is moved;
Administration module is used for that the associated process of described application program is merged into a set and manages.
17. management of process device as claimed in claim 16 is characterized in that,
Described administration module is used for that the associated process of described application program is merged into a set and shows; Described set name shows that with application name or document title the display icon of described set shows with application icon.
18. management of process device as claimed in claim 16 is characterized in that,
Described administration module is used for the associated process of described application program is merged into a set, by close/suspend/continue described set described associated process is closed/suspended/continue.
19. management of process device as claimed in claim 18 is characterized in that,
Described administration module, the detached process that is further used for receiving in the described set of closing indication and will identify of described set is closed, and described set is dismissed; Also be further used for receiving time-out/continuation indication to described set, and the detached process time-out/continuation in the described set that will identify, with thread time-out/continuation relevant in the shared process in the described set that identifies with described application program.
20. management of process device as claimed in claim 16 is characterized in that,
Described collection module is used in real time or the cycle is monitored each process, and according to the process name of the host process of described application program and/or the associated process that pathname is collected described application program; The associated process of described application program comprises: the process similar with described host process that the host process of described application program and described application program are opened.
21. management of process device as claimed in claim 16 is characterized in that,
Described collection module is used in real time or the cycle is monitored each process and collects the associated process of described application program according to the host process and the process kinship of described application program; Also be used to preset a process list, wherein preserve the sign of all potential associated process of described application program, in conjunction with described process list, the real-time or cycle is collected the associated process of described application program; The associated process of described application program comprises: the host process of described application program and have one or more processes of kinship with described host process.
22. management of process device as claimed in claim 21 is characterized in that,
Described collection module, be further used for finding its upper layer procedures/lower layer procedure according to the parent process sign/subprocess sign of a unknown process, when judging that described upper layer procedures/lower layer procedure and described host process have kinship, determine that described process is the associated process of described application program and collects record; Also be further used for finding its Unrecorded lower layer procedure/upper layer procedures, determine that described lower layer procedure/upper layer procedures is the associated process of described application program and collects record according to the subprocess sign/parent process sign of a known process in the described associated process; Also be further used in conjunction with described process list, the real-time or cycle carries out security to the process of not mated by described process list and detects.
CN201110082611.1A 2011-04-01 2011-04-01 A kind of process management method and device Active CN102163161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110082611.1A CN102163161B (en) 2011-04-01 2011-04-01 A kind of process management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110082611.1A CN102163161B (en) 2011-04-01 2011-04-01 A kind of process management method and device

Publications (2)

Publication Number Publication Date
CN102163161A true CN102163161A (en) 2011-08-24
CN102163161B CN102163161B (en) 2018-09-25

Family

ID=44464398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110082611.1A Active CN102163161B (en) 2011-04-01 2011-04-01 A kind of process management method and device

Country Status (1)

Country Link
CN (1) CN102163161B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331965A (en) * 2011-09-15 2012-01-25 深圳桑菲消费通信有限公司 Method for resource management of terminal
CN102681850A (en) * 2012-05-07 2012-09-19 奇智软件(北京)有限公司 Method and device for realizing web browsing based on Webkit kernel
CN103077052A (en) * 2012-12-28 2013-05-01 华为终端有限公司 Method and device for processing unsmooth operation problem of mobile terminal
CN103257887A (en) * 2012-02-16 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Terminal and process control method
CN103809955A (en) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 Method and device for ending process
CN104104560A (en) * 2014-08-08 2014-10-15 广东欧珀移动通信有限公司 Monitoring method and device for application flow and mobile terminal
CN104503841A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device
CN104503750A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device
CN104615922A (en) * 2015-02-02 2015-05-13 同济大学 Identity authentication device and method based on user software behavior mode
CN105303107A (en) * 2014-06-06 2016-02-03 中兴通讯股份有限公司 Abnormal process detection method and apparatus
CN105718307A (en) * 2014-12-01 2016-06-29 北京神州泰岳软件股份有限公司 Process management method and process management device
CN106227586A (en) * 2016-07-11 2016-12-14 北京金山安全软件有限公司 Process state management method, task completion judgment method, device and equipment
CN106227590A (en) * 2016-07-27 2016-12-14 西安酷派软件科技有限公司 The control method of application process, the control device of application process and terminal
CN106227565A (en) * 2016-07-27 2016-12-14 北京金山安全软件有限公司 Application control method and device and terminal
CN106250236A (en) * 2016-07-27 2016-12-21 北京金山安全软件有限公司 Application control method and device and terminal
CN103197962B (en) * 2012-01-04 2017-02-08 中国移动通信集团公司 Multi-process state switching method and device
CN106656557A (en) * 2016-10-31 2017-05-10 网易(杭州)网络有限公司 Service state processing method and device
CN106919422A (en) * 2017-02-21 2017-07-04 北京小米移动软件有限公司 The management method and device of system service
CN107608678A (en) * 2017-08-22 2018-01-19 深圳传音控股有限公司 The determination methods and mobile terminal of relevance between process
CN108229167A (en) * 2017-12-29 2018-06-29 北京安云世纪科技有限公司 For the method, equipment and mobile terminal controlled multi-process application
WO2019128588A1 (en) * 2017-12-29 2019-07-04 Oppo广东移动通信有限公司 Process processing method and apparatus, electronic device, computer readable storage medium
CN110659491A (en) * 2019-09-23 2020-01-07 深信服科技股份有限公司 Computer system recovery method, device, equipment and readable storage medium
CN110780996A (en) * 2019-09-27 2020-02-11 广州视源电子科技股份有限公司 Process optimization method and device, storage medium and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266223A (en) * 1999-03-08 2000-09-13 英业达股份有限公司 Method for monitoring and controlling program process
CN1928826A (en) * 2006-08-02 2007-03-14 爱普拉斯通信技术(北京)有限公司 Multiple tasks dispatching system and method
CN101021891A (en) * 2007-01-26 2007-08-22 华为技术有限公司 Process management method and device
CN101350052A (en) * 2007-10-15 2009-01-21 北京瑞星国际软件有限公司 Method and apparatus for discovering malignancy of computer program
CN101464811A (en) * 2008-12-29 2009-06-24 艾默生网络能源有限公司 Multitask monitoring management system
CN101989214A (en) * 2009-07-30 2011-03-23 鸿富锦精密工业(深圳)有限公司 Process management system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266223A (en) * 1999-03-08 2000-09-13 英业达股份有限公司 Method for monitoring and controlling program process
CN1928826A (en) * 2006-08-02 2007-03-14 爱普拉斯通信技术(北京)有限公司 Multiple tasks dispatching system and method
CN101021891A (en) * 2007-01-26 2007-08-22 华为技术有限公司 Process management method and device
CN101350052A (en) * 2007-10-15 2009-01-21 北京瑞星国际软件有限公司 Method and apparatus for discovering malignancy of computer program
CN101464811A (en) * 2008-12-29 2009-06-24 艾默生网络能源有限公司 Multitask monitoring management system
CN101989214A (en) * 2009-07-30 2011-03-23 鸿富锦精密工业(深圳)有限公司 Process management system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冒青烟底骨头盒: "任务管理器终结者 进程浏览器管家更轻松", 《HTTP://PCEDU.PCONLINE.COM.CN/SOFT/GJ/SYS/1003/2082421.HTML》 *
尐娃娃SUN: "便捷的华丽 后台进程管理MultiTasking Pro", 《HTTP://ANDROID.D.CN/NEWS/1074.HTML》》 *

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331965A (en) * 2011-09-15 2012-01-25 深圳桑菲消费通信有限公司 Method for resource management of terminal
CN103197962B (en) * 2012-01-04 2017-02-08 中国移动通信集团公司 Multi-process state switching method and device
CN103257887A (en) * 2012-02-16 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Terminal and process control method
CN103257887B (en) * 2012-02-16 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Terminal and course control method
CN102681850A (en) * 2012-05-07 2012-09-19 奇智软件(北京)有限公司 Method and device for realizing web browsing based on Webkit kernel
WO2013166906A1 (en) * 2012-05-07 2013-11-14 北京奇虎科技有限公司 Method and device for providing webpage browsing based on webkit kernel
CN103809955B (en) * 2012-11-15 2018-10-09 腾讯科技(深圳)有限公司 The method and apparatus of end process
CN103809955A (en) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 Method and device for ending process
CN103077052B (en) * 2012-12-28 2017-02-01 华为终端有限公司 Method and device for processing unsmooth operation problem of mobile terminal
CN103077052A (en) * 2012-12-28 2013-05-01 华为终端有限公司 Method and device for processing unsmooth operation problem of mobile terminal
CN105303107A (en) * 2014-06-06 2016-02-03 中兴通讯股份有限公司 Abnormal process detection method and apparatus
CN104104560A (en) * 2014-08-08 2014-10-15 广东欧珀移动通信有限公司 Monitoring method and device for application flow and mobile terminal
CN105718307B (en) * 2014-12-01 2019-10-25 北京神州泰岳软件股份有限公司 Process management method and management of process device
CN105718307A (en) * 2014-12-01 2016-06-29 北京神州泰岳软件股份有限公司 Process management method and process management device
CN104503750A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device
CN104503841A (en) * 2014-12-15 2015-04-08 北京奇虎科技有限公司 Process clearing method and process clearing device
CN104615922B (en) * 2015-02-02 2018-07-24 同济大学 A kind of identification authentication system and method based on user software behavior pattern
CN104615922A (en) * 2015-02-02 2015-05-13 同济大学 Identity authentication device and method based on user software behavior mode
CN106227586B (en) * 2016-07-11 2019-08-27 珠海豹趣科技有限公司 Judgment method, device and the equipment that management method, the task of process status are completed
CN106227586A (en) * 2016-07-11 2016-12-14 北京金山安全软件有限公司 Process state management method, task completion judgment method, device and equipment
CN106250236A (en) * 2016-07-27 2016-12-21 北京金山安全软件有限公司 Application control method and device and terminal
CN106227590A (en) * 2016-07-27 2016-12-14 西安酷派软件科技有限公司 The control method of application process, the control device of application process and terminal
CN106227565A (en) * 2016-07-27 2016-12-14 北京金山安全软件有限公司 Application control method and device and terminal
CN106656557A (en) * 2016-10-31 2017-05-10 网易(杭州)网络有限公司 Service state processing method and device
CN106919422B (en) * 2017-02-21 2021-02-26 北京小米移动软件有限公司 System service management method and device
CN106919422A (en) * 2017-02-21 2017-07-04 北京小米移动软件有限公司 The management method and device of system service
CN107608678A (en) * 2017-08-22 2018-01-19 深圳传音控股有限公司 The determination methods and mobile terminal of relevance between process
WO2019128588A1 (en) * 2017-12-29 2019-07-04 Oppo广东移动通信有限公司 Process processing method and apparatus, electronic device, computer readable storage medium
CN108229167A (en) * 2017-12-29 2018-06-29 北京安云世纪科技有限公司 For the method, equipment and mobile terminal controlled multi-process application
CN108229167B (en) * 2017-12-29 2022-05-31 北京安云世纪科技有限公司 Method and device for controlling multi-process application and mobile terminal
CN110659491A (en) * 2019-09-23 2020-01-07 深信服科技股份有限公司 Computer system recovery method, device, equipment and readable storage medium
CN110780996A (en) * 2019-09-27 2020-02-11 广州视源电子科技股份有限公司 Process optimization method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN102163161B (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN102163161A (en) Process management method and device thereof
US9471474B2 (en) Cloud deployment infrastructure validation engine
CN103399812B (en) Based on disk file operation supervise and control system and the method for supervising of Xen hardware virtualization
CN111756575B (en) Performance analysis method and device of storage server and electronic equipment
CN102253863A (en) Method for closing processes
US20080168423A1 (en) Characterizing software components or soa services of a computerized system by context
CN108469984B (en) Virtual machine introspection function level-based dynamic detection system and method for inner core of virtual machine
CN101872323A (en) Method for fault-injection test based on virtual machine
CN102750475A (en) Detection method and system for cross comparison of malicious code of interior and exterior view based on virtual machine
CN102043655A (en) Method and system for carrying out advanced uninstall on software
CN101819525A (en) Method and equipment for searching configuration file of application in system
CN104321748A (en) Methods, systems and apparatus to capture error conditions in lightweight virtual machine managers
CN102184118B (en) System recovery method
CN106681701B (en) Task display method and device
CN105760731A (en) Method for starting application program based on mobile terminal and mobile terminal
CN105808412A (en) Process resource real-time monitoring method
CN103019918B (en) Method and device for acquiring operating frequency of application program
JP5740338B2 (en) Virtual environment operation support system
CN101833496B (en) Detection device based on host anti-object reusability of hard disk and detection method thereof
CN104035766A (en) Android system trimming method based on coverage rate test
CA2827692A1 (en) Latent defect identification
CN105893886A (en) System locking method and device
CN105607945A (en) Asynchronous monitoring interception system and method of host behavior on the basis of virtualization
CN103279334A (en) Android software rapid dynamic detection device and method
CN104778087B (en) A kind of information processing method and information processing unit

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100015 rooms 301-306, 2 / F and 3 / F, block B, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100016 East unit, 4th floor, Zhaowei building, 14 Jiuxianqiao Road, Chaoyang District, Beijing

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

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220210

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: 100015 rooms 301-306, 2 / F and 3 / F, block B, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.