CN102163161B - A kind of process management method and device - Google Patents

A kind of process management method and device Download PDF

Info

Publication number
CN102163161B
CN102163161B CN201110082611.1A CN201110082611A CN102163161B CN 102163161 B CN102163161 B CN 102163161B CN 201110082611 A CN201110082611 A CN 201110082611A CN 102163161 B CN102163161 B CN 102163161B
Authority
CN
China
Prior art keywords
application program
unified
management
pause
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.)
Active
Application number
CN201110082611.1A
Other languages
Chinese (zh)
Other versions
CN102163161A (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

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of process management method and device, the method, including:When the application program is run, the associated process of the application program is collected;The associated process of the application program is merged into a set to be managed.The present invention has provided the mode of the process of another more easily management current system to the user, the process of whole system is supplied to user more with open arms, and keep the controllability of management stronger by this display mode.

Description

A kind of process management method and device
Technical field
The invention belongs to computer realms, specifically, being related to a kind of process management method and device.
Background technology
Process is that have primary operation activity of the program about a certain data acquisition system of certain standalone feature.It can be with Shen Please with possess system resource, be the basic unit of operating system Dynamic Execution, in traditional operating system, process is both basic Allocation unit and basic execution unit.
For application program, process is just as a bulk container.After application program is run, it is equivalent to that journey will be applied Sequence is put into container, you can be toward other data, file be added in container, such as:Application program at runtime needed for variable number According to, need the dll file etc. quoted.When application program is run twice, the thing in container can't be disposed, system meeting A new Process Container is looked for accommodate it.
Process can be divided into system process and consumer process.System process refers to the various functions for completing operating system Process, represent it is in operating status under operating system itself, be the primary condition of system operation;What system process was carried Program, including:Program necessary to system administration individual computer and the various operations of completion.Consumer process refers to all by user The process of startup, the program that consumer process is carried, including:The additional programs opened, executed by user, these additional programs are worked as Right illegal program also ignorant including user and automatic running.
When closing application program, it is normally applied program and just closes the process of this application program.But existing one A little application programs, such as:PPS, pplive, uus etc. have been run in user after these application programs are turned off, often task pipe Still there is the process of these application programs running in reason device, there have been the feelings that closing application program but process do not exit for this Condition.And these processes still occupy system resource, and when there are many similar application program of user installation, these application programs Once startup will cause system resource greatly to consume.As previously mentioned, this kind of application program can not be from traditional application journey Sequence interface is really exited, if it is desired to close these process free system resources, can only manually by these into Journey is closed, but this process shutoff operation is more difficult for the ordinary user without professional knowledge.
Same application is likely to run on simultaneously on several data acquisition systems, that is to say, that same program can correspond to Multiple processes, in this way when the associated process that above procedure closes this kind of application program that still process does not exit is more, hand The dynamic work for closing these processes then becomes extremely complex.It first has to identify which is the process for belonging to this application program, This requires user has, comparable computer is horizontal and very familiar to this application program, this for ordinary user even All it is extremely difficult for many those skilled in the art.And allow to find out the process of application program whole, it is also necessary to These processes are closed one by one manually, this also makes operation more cumbersome.If needing to close more application program at this time, and it is every A application program has corresponded to multiple processes again in the case that, this work is hardly possible completion.
In addition, some application programs, which often extend, once just will produce a process, these application programs are repeating to open in this way Multiple processes will be opened when dynamic, if the user desired that being managed to these processes, be especially desirable to close these using journey When sequence, then need, by being turned off one by one manually, operation to be made to become very cumbersome.
Invention content
In view of this, technical problem to be solved by the invention is to provide a kind of process management method and device, make one As user can managing process without barrier.
In order to solve the above-mentioned technical problem, the invention discloses a kind of process management methods, including:In the application program When operation, the associated process of the application program is collected;The associated process of the application program is merged into a set to carry out Management.
Further, the associated process of the application program is merged into a step of set is managed, including:It will The associated process of the application program is merged into a set and is shown.
Further, the title of the set is shown with application name or document title, the display of the set Icon is shown with application icon.
Further, the associated process of the application program is merged into a step of set is managed, including:It will The associated process of the application program merges into a set, is closed the associated process by closing the set.
Further, including:Receive the closing of the set is indicated and in the set that will identify that it is independent into Journey is closed, and the set is dismissed.
Further, the associated process of the application program is merged into a step of set is managed, including:It will The associated process of the application program merges into a set, by pause/continuation it is described set by the associated process pause/ Continue.
Further, including:It receives in the set to the pause of the set/continue to indicate, and will identify that Independent process pause/continuation, in the shared process in the set that will identify that with the relevant thread of the application program Pause/continuation.
Further, the associated process of the application program, including:The host process of the application program and the application The process similar with the host process that program is opened.
Further, the step of collecting the associated process of the application program, including:Real-time or each process of cycle monitoring, And the associated process of the application program is collected according to the process name of the host process of the application program and/or pathname.
Further, the associated process of the application program, including:The host process of the application program and with the master Process has one or more processes of kinship.
Further, the step of collecting the associated process of the application program, including:A preset process list, wherein protecting Deposit the mark of all potential associated process of the application program;In conjunction with the process list, in real time or described in period collection The associated process of application program.
Further, including:In conjunction with the process list, in real time or the period to not by the process arrange matched process into Row safety detection.
Further, the step of collecting the associated process of the application program, including:Real-time or each process of cycle monitoring, And the associated process of the application program is collected according to the host process of the application program and process kinship.
Further, including:According to the parent process mark of a unknown process/subprocess mark find its upper layer procedures/under Layer process determines the process for institute when judging that the upper layer procedures/lower layer procedure has kinship with the host process It states the associated process of application program and collection records the process.
Further, including:It is found according to the subprocess mark of a known process in the associated process/parent process mark Its Unrecorded lower layer procedure/upper layer procedures determines that the lower layer procedure/upper layer procedures are the associated process of the application program And collect record.
In order to solve the above-mentioned technical problem, the invention also discloses a kind of management of process devices, are applied to one or more Associated process carries the case where application program, including:Collection module, for being answered described in the collection when the application program is run With the associated process of program;Management module is managed for the associated process of the application program to be merged into a set.
Further, the management module is carried out for the associated process of the application program to be merged into a set Display;The set name is shown that the display icon of the set is with application program image with application name or document title Mark is shown;
Further, the management module passes through for the associated process of the application program to be merged into a set Closing/pause/continuation is described to gather the associated process closing/pause/continuation.
Further, the management module, the collection that the closing for receiving to the set is indicated and be will identify that Independent process in conjunction is closed, and the set is dismissed;It is further used for receiving the pause to the set/continue to refer to Independent process pause/continuation in the set shown, and will identify that, the shared process in the set that will identify that In with the relevant thread pause/continuation of the application program.
Further, the collection module, for real-time or each process of cycle monitoring, and according to the master of the application program The process name and/or pathname of process collect the associated process of the application program;The associated process of the application program, packet It includes:The process similar with the host process that the host process of the application program and the application program are opened.
Further, the collection module, for real-time or each process of cycle monitoring and according to the master of the application program Process and process kinship collect the associated process of the application program;It is additionally operable to a preset process list, wherein preserving institute The mark for stating all potential associated process of application program, in conjunction with the process list, in real time or the period collects the application The associated process of program;The associated process of the application program, including:The host process of the application program and with the master into Journey has one or more processes of kinship.
Further, the collection module, for finding it according to parent process mark/subprocess mark of a unknown process Upper layer procedures/lower layer procedure are determined when judging that the upper layer procedures/lower layer procedure has kinship with the host process The process is the associated process of the application program and collects record;It is further used for according in the associated process one Know that the subprocess mark of process/parent process mark finds its Unrecorded lower layer procedure/upper layer procedures, determine the lower layer into Journey/upper layer procedures are the associated process of the application program and collect record;It is further used in conjunction with the process list, it is real When or the period to not carrying out safety detection by the matched process of the process list.
Compared with currently existing scheme, the technique effect of the invention obtained:
1) for whole system, the side of the process of another more easily management current system has been provided to the user The process of whole system is supplied to user, and keeps the controllability of management stronger by this display mode by formula more with open arms;
2) for process individual, user does not need professional knowledge and can be carried out management application without barrier Body does not need to the relationship for understanding application program individual process associated therewith;
3) by being managed to process by homologous and similar relationship so that process can be purposive by user demand It distinguishes and arranges, by the operation for enormously simplifying redundancy to the management of set;
4) accomplish the real closing of application program, and do not influence the use of other processes and application program, in maintainer Reasonable free system resources while system stable operation;
5) independent UI administration interfaces are used, while being named using application name or document title, process is made Become readable, more conducively user understands and manages;
6) suspicious process is had also been found that during carrying out management of process and carries out safety detection, is further ensured that The stabilization of system;
7) cooperation carries out process similar aggregate mode, makes the efficiency of the pause based on process/continue management more It is high;Coordinate to process carry out homologous (being collected according to application program) aggregate mode, can by the pause of single process/after It is continuous, it realizes to pause/continuation to overall applicability program.
Description of the drawings
Fig. 1 is the method flow diagram of the first and second embodiment of the invention;
Fig. 2 is the first schematic diagram of the application example of step S14 of the present invention;
Fig. 3 is the second schematic diagram of the application example of step S14 of the present invention;
Fig. 4 is the schematic diagram of the application example of first embodiment of the invention;
Fig. 5 is the schematic 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.
Specific implementation mode
Carry out the embodiment that the present invention will be described in detail below in conjunction with schema and embodiment, thereby how the present invention is applied Technological means solves technical problem and reaches the realization process of technical effect to fully understand and implement.
Core of the invention design is:When the application program is run, the associated process of the application program is collected; The associated process of the application program is merged into a set to be managed.Applied to one or more associated process carrying one The case where application program, or applied to the framework of more set processes, i.e., each pair of application program carries out one extension just corresponding maintenance A set of new process.
It is managed to the associated process of the application program is merged into a set, including following two parts:1) Merge display, i.e., the associated process of the application program is merged into a set and shown;The set name is to apply journey Sequence name or document title are shown that the display icon of the set is shown with application icon;2) key close/temporarily Stop/continue, i.e., the associated process of the application program is merged into a set, it will by closing/pause/continuation set Associated process closing/pause/the continuation.
Document title refers to the title of the currently performed task of the application program or the name of currently running file Claim, the title of currently playing media.
Application name refers to the title of the application program, this title can be the Chinese and English title of program, It can be the executable file name of the application program.
For example, when a video player is run, multiple processes are associated with, after these processes are merged into a set, at this time The video file name (document title) being played can be used to be used as set name, naturally it is also possible to be broadcast using this video The name (application name) for putting device is used as set name.
Associated process may include two levels, i.e., with originating process and similar process;
1) same to originating process
Associated process, including:The host process of the application program and with the host process have kinship it is mating Process;Wherein, these mating processes, including:One or more processes that host process is directly or indirectly opened, called, and directly Or one or more processes of the host process are opened, called indirectly;It should be noted that the mating process include it is independent into Journey and/or shared process;The shared process is the process called by multiple upper layer procedures simultaneously, the independent process be only by The process that one upper layer procedures is called;
2) similar process
Associated process, including:The host process of the application program, the application program are opened similar with the host process Process, can also include the process similar with the host process that the similar application program of the application program is opened certainly; It should be noted that the process similar with the host process can also include independent process and/or shared process, for example, some Application program often runs a primary i.e. corresponding process, this application program is operated continuously 3 times, there are 3 processes at this time, this three A process is exactly similar process.
Below with first embodiment to being illustrated for the management with originating process in the method for the present invention.Applied to one Or multiple associated process carry the case where application program, above application program is primarily referred to as the program that consumer process is carried. As shown in Figure 1, executing following operation:
Step S 11 collects the associated process of the application program when the application program is run;
Associated process, including:The host process of the application program and with the host process have kinship it is mating Process;Wherein, these mating processes, including:One or more processes that host process is directly or indirectly opened, called, and directly Or one or more processes of the host process are opened, called indirectly;It should be noted that the mating process include it is independent into Journey and/or shared process.
Collection for the associated process of the application program can individually or jointly be realized by following manner, this Invention is not limited to this:
1) a preset process list, wherein preserving the mark of all potential associated process of the application program;In conjunction with The list is in real time or the period collects the associated process of the application program;
Specifically, the mark of the associated process is PID (process identification (PID));All potential associated process, refer to The possible process of the relevant whole of application program, no matter whether it is currently with application program launching, this potential phase is put into Journey can be by technical staff rule of thumb and statistical data carries out exhaustive and needs continuous updating maintenance;
The process occurred in real time or in cycle monitoring system, obtains the PID of these processes, is known by process list matching Which is the associated process of the application program and is collected record in the process occurred in other system.In addition, for not by The process occurred in the matched system of process list, in real time or the period carries out safety detection, is further ensured that system Safety.
2) real-time or each process of cycle monitoring, and institute is collected according to the host process of the application program and process kinship State the associated process of application program;
Specifically, when finding a new process by real-time or cycle monitoring, according to the parent process of this process Mark/subprocess mark finds its upper layer procedures/lower layer procedure, according to this upper layer procedures/lower layer procedure step by step again to upper layer/ Lower layer is found, and host process is eventually found, so as to judge whether the upper layer procedures/lower layer procedure and the host process have There is kinship, the associated process that the new process is the application program is determined when with kinship and collects record The process;
Alternatively, when finding a new process by real-time or cycle monitoring, according to the parent process of this process mark/ Subprocess mark find its upper layer procedures/lower layer procedure, according to a kinship list can directly know this upper layer procedures/ Whether lower layer procedure has kinship with the host process, directly determines the new process for institute when with kinship It states the associated process of application program and collection records the process.
Alternatively, when thering is new process to occur by the discovery of real-time or cycle monitoring, then the institute to having collected record is triggered All associated process for stating application program are detected, according to the subprocess label detection of each associated process with the presence or absence of not The lower layer procedure of record, if it is present can determine that this lower layer procedure is exactly the associated process and receipts of the application program Collection records the lower layer procedure.
Alternatively, being examined to all associated process for having collected the application program of record by the real-time or period It surveys, its Unrecorded upper layer procedures is found according to the parent process of the host process and its upper layer procedures mark, determines the upper layer Process is the associated process of the application program and collects record.
It should be noted that in 1), it, can be in conjunction with 2) to new when not updated in process list but new process occur Collection is identified in the process of appearance, to ensure to merge the accuracy of display;In 2), 1) process list can also be used as Kinship list, as the foundation for judging whether that there is kinship and whether record, to ensure to merge the accuracy of display;
The merging of the associated process of the application program is shown as a set by step S 12 on UI administration interfaces;
For the associated process of this application program attribute generally all having the same or it can most represent these correlations Include same or similar part in the name of process, such as same or similar process name or process name, either Application name, document title can use these names to merge these associated process as the name of set and show, set Icon shown with application icon, certainly the present invention is not limited thereto;It should be noted that these associated process according to It is so held in respective original resource and runs, be only to be merged to be shown as a name on UI administration interfaces, to Be considered as a Unified Process (set) to be managed, in this way for general user can be accessible understanding and managing process, And understand the correspondence of application program process associated therewith;
Step S13 receives the closing/pause/to the application program and continues to indicate or merge the set of display Closing/pause/continues to indicate;
For some application programs, multiple processes can be corresponded to, wants to close by process as ordinary user in this way and apply Program is extremely difficult;
For some application programs, exists and exit the program but the case where process is still opened, such user passes through program circle Exiting for face can not be exited really;User thinks that program has been switched off, but the process of these programs is still run in fact And occupy a large amount of system resources;Even if user knows that the process of these programs is still run, but if these programs with Process is limited to technical reason, which process ordinary user can not also know there are when above-mentioned one-to-many relationship;
By the operation of step S11-S12, user can enter and merge display and respectively answer if it is desired to close the application program With on the UI administration interfaces of program associated process, the process that this application program is merged to display clicks directly on closing, Ke Yizhi It connects and closes the associated process of the application program together so that user does not need professional knowledge can be very easily by this The associated process of a application program is closed, solve user can not find the application program associated process it is difficult with And the trouble for closing these processes one by one;
Step S14, independent process closing/pause/continuation in the associated process for the application program that will identify that;
1) independent process received in the set closed instruction and will identify that the set is closed, and in UI The set is dismissed on administration interface;
2) independent process received in the set to the pause of the set/continue to indicate, and will identify that is temporary Stop/continue, in the shared process in the set that will identify that with the relevant thread pause/continuation of the application program, and The set is shown as pause/operating status on UI administration interfaces;It can be by the currently processed of the process of pause or thread Data preserved, in continuation process or thread read data continued to run with by breakpoint;It can also be by the process of pause Or the currently processed data of thread abandon, and are reruned by original state in continuation process or thread, for example, logical When crossing 360 browsers, one webpage of opening, opening pause/continuation of the page can be made in this way.
Because shared process may be contained in the associated process of the application program, it is also switched off if these are shared process The operation of other applications can be influenced, therefore only identifies that the independent process in the associated process of the application program is turned off ;Shared process in the associated process of the application program is kept it turning on, but in shared process about the independence into The thread of journey terminates;At this time it is considered that the application program is completely closed, the set for merging display is closed.In this way to Accomplish the real closing of application program, and do not influence the use of other processes and application program, keeps system stable operation While reasonable free system resources.In addition, the operation of identification independent process can be held after step S13 receives closing instruction Row, can also execute, the present invention is not limited thereto before.
The step S14 of the present invention is especially explained with an application example below.As shown in Fig. 2, application program A correspond into Journey A and process C, merging are shown as set A;Application program B corresponds to process B and process C, and merging is shown as set B.If user Wish to close application program A, then enters UI administration interfaces and click closing set A, as shown in figure 3, closing process after identifying at this time A keeps the unlatching of process C, because process C still carries application program B, but about the thread knot of process part A in process C Beam.Process C is only called by process B at this time, so it has become independent process, at this time if the user desired that closing application program B, Then enter UI administration interfaces and click closing set B, process B and process C are turned off at this time.
The overall flow of the first embodiment of the present invention is explained with application example again below, as shown in Figure 4.
The application scenarios of the present invention are as follows:
When 360 security guards run, the process (360safe.exe) of 360 security guard's main programs can be opened, this into Journey can also open the process (360tray.exe) of real-time monitor (RTM), and the process of this real-time monitor (RTM) can also open master The process (ZhuDongFangYu.exe) of dynamic defence service;But for ordinary user, the meaning and work of these three processes With substantially unreadable, and when browsing to these three processes by way of existing windows task managers, ordinary user It will not know the relevance between these three processes.
In the following, carrying out management of process in the way of the present invention:
First, the present invention is according to the list of the preconfigured whole associated process for preserving 360 security guards, Ke Yishou Collect 360 security guards and opens three processes altogether:Host process 360safe.exe and mating process 360tray.exe and ZhuDongFangYu.exe。
Then, by these three processes 360safe.exe, 360tray.exe and ZhuDongFangYu.exe in UI management fields Merge on face and be shown as a set " 360 security guard ", and is shown using the icon of application program " 360 security guard " Show;In this way for general user can be accessible see the process of 360 security guards, and also be understood that 360 safety The correspondence of bodyguard and process.
At this moment, if user wants to close 360 security guards, it is only necessary to click set " 360 safety on UI administration interfaces The icon of bodyguard " sends out closing instruction;Identify three process 360safe.exe in the associated process of 360 security guards, 360tray.exe and ZhuDongFangYu.exe is independent process, directly closes them and does not interfere with other application journey The operation of sequence then closes these three processes, and closes the set " 360 security guard " for merging display on UI administration interfaces It closes.
It should be noted that the operation of above-mentioned closing, it is directed to and exits the program but one kind application journey that process is still opened Sequence can be especially significant.Because this kind of application program can not really be exited from traditional Application Program Interface, Zhi Nengtong The process of being turned off manually is crossed to discharge the occupied system resource of process.But this process shutoff operation is not for having profession It is more difficult for the ordinary user of knowledge, especially when the associated process of this kind of application program is more, ordinary user is very Difficulty identifies whole associated process and closes it one by one, even if the technical staff with professional knowledge, identify these into Journey and by it one by one close be also it is more difficult.And this shutoff operation can be easily completed using the solution of the present invention, It brings great convenience for ordinary user's even technical staff's managing process.
The management for similar process in the method for the present invention is illustrated with second embodiment below.Applied to more sets The framework of process, i.e., each pair of application program carry out the one extension just corresponding a set of new process of maintenance.Above application program is mainly Refer to the program that consumer process is carried.It can refer to shown in Fig. 1, execute following operation:
Step S21 collects the associated process of the application program when the application program is run;
Associated process, including:The host process of the application program, the application program are opened similar with the host process Process and the application program similar with the application program open the process similar with the host process;It needs to illustrate It is that the process similar with the host process can also include independent process and/or shared process.
Collection for the associated process of the application program can be realized that the present invention is not limited thereto by following manner:
Real-time or each process of cycle monitoring, and received according to the process name of the host process of the application program and/or pathname Collect the associated process of the application program;Specifically, some application programs can open multiple processes, example in repeated priming Such as:The application program at runtime, corresponds to a host process;User is again started up the application program at this time, this applies journey Sequence can restart a process, its general of the same name with the host process and/or same path, and the two is similar process;At this time By each process in real-time or cycle monitoring system, according to the process name or pathname of the host process of the application program, Other processes of the same name and/or with path that the application program is opened are collected, these processes are exactly the phase of the application program Put journey into.
The merging of the associated process of the application program is shown as a set by step S22 on UI administration interfaces;
For the associated process of this application program attribute generally all having the same or it can most represent these correlations Include same or similar part in the name of process, such as same or similar process name or process name, either Application name, document title can use these names to merge these associated process as the name of set and show, set Icon shown with application icon, certainly the present invention is not limited thereto;It should be noted that these associated process according to It is so held in respective original resource and runs, be only to be merged to be shown as a name on UI administration interfaces, to Be considered as a Unified Process to be managed, in this way for general user can be accessible understanding and managing process, and understand The correspondence of application program process associated therewith;
Step S23 receives the closing/pause/to the application program and continues to indicate or merge the set of display Closing/pause/continues to indicate;
For some application programs, there are can all open a set of new process when each extension, if opened multiple When application program, can occur the identical process of more sets simultaneously;At this time if the user desired that by multiple interfaces of this application program Closing/pause/continuation together, then be turned off manually/pause/that must be one by one continue these application programs;
By the operation of step S21-S22, user can enter and close if it is desired to these application programs that closing repeatedly extends And show on the UI administration interfaces of associated process of the application program, this application program is merged to the direct point of set of display Closing is hit, can directly be closed the associated process of the application program together so that user can be very easily by these Application program is closed together, eliminates the trouble that user closes one by one;
Step S24, independent process closing/pause/continuation in the associated process for the application program that will identify that;
1) independent process received in the set closed instruction and will identify that the set is closed, and in UI The set is dismissed on administration interface;
2) independent process received in the set to the pause of the set/continue to indicate, and will identify that is temporary Stop/continue, in the shared process in the set that will identify that with the relevant thread pause/continuation of the application program, and The set is shown as pause/operating status on UI administration interfaces;It can be by the currently processed of the process of pause or thread Data preserved, in continuation process or thread read data continued to run with by breakpoint;It can also be by the process of pause Or the currently processed data of thread abandon, and are reruned by original state in continuation process or thread.
Because shared process may be contained in the associated process of the application program, it is also switched off if these are shared process The operation of other applications can be influenced, therefore only identifies that the independent process in the associated process of the application program is turned off ;Shared process in the associated process of the application program is kept it turning on, but in shared process about the independence into The thread of journey terminates;At this time it is considered that the application program is completely closed, the set for merging display is closed.In this way to Accomplish the real closing of application program, and do not influence the use of other processes and application program, keeps system stable operation While reasonable free system resources.In addition, the operation of identification independent process can be held after step S23 receives closing instruction Row, can also execute, the present invention is not limited thereto before.It can refer to the application example of step S14.
The overall flow of the second embodiment of the present invention is explained with application example again below, as shown in Figure 5.
The application scenarios of the present invention are as follows:
When user initially opens a webpage by 360 browsers based on Webkit and IE dual cores, three can be opened The process (360chrome.exe) of 360 browsers of same process name, corresponds respectively to extender " collection ", plug-in unit " shockwave flash " and the current web page opened;And user is continuously on three again by 360 browsers by tagged manner , there is the process (360chrome.exe) of 360 browsers of three same process names in a webpage, and each process corresponds to one The webpage newly opened.At this time if the user desired that when closing the page of 360 browsers, it is also necessary to these pages of closing one by one Face.
In the following, carrying out management of process in the way of the present invention:
First, it is multiple can be collected into 360 browsers according to the process name 360chrome.exe of 360 browsers by the present invention Other processes opened:360chrome.exe.
Then, these processes 360chrome.exe is merged on UI administration interfaces and is shown as a set " 360 browsings Device ", and shown using the icon of 360 browsers;In this way for general user can be accessible see 360 browsers Whole progress.
At this moment, if user wants to close 360 browsers, it is only necessary to click set " 360 browsings on UI administration interfaces The icon of device " sends out closing instruction;Identify all six 360chrome.exe processes of the associated process of 360 browsers, these Process is all independent process, they is directly closed to the operation for not interfering with other application program, then by this six 360chrome.exe processes are closed, and close the set " 360 browser " for merging display on UI administration interfaces.
The device of the invention is illustrated with 3rd embodiment below, is applied to one or more associated process and carries one The case where application program, or applied to the framework of more set processes, i.e., each pair of application program carries out one extension just corresponding maintenance A set of new process.Above application program is primarily referred to as the program that consumer process is carried.
As shown in fig. 6, being a kind of management of process device, run in same system with the application program.The process Managing device, including:Collection module 1 and management module 2;
Collection module 1, the associated process for collecting the application program when the application program is run;
Management module 2 merges the associated process of the application program for providing a UI (user interface) administration interfaces It is managed for a set;
Specifically, management module 2 can be used for " merging display " --- that is, by the associated process of the application program A set is merged into be shown;The set name is shown that the set is shown with application name or document title Diagram is marked with application icon and is shown;
Management module 2 can be also used for " a key closing/pause/continuation " --- that is, mutually putting into the application program Journey merges into a set, gathers the associated process closing/pause/continuation by the way that closing/pause/continuation is described;Specifically For, when the closing instruction received to the application program or the closing for the process for merging display indicate, described in identification Independent process in the associated process of application program closes the independent process, and will merge display in UI administration interfaces Set is dismissed;Independent process in receiving the set to the pause of the set/continue to indicate, and will identify that is temporary Stop/continue, in the shared process in the set that will identify that with the relevant thread pause/continuation of the application program;It can To preserve the currently processed data of the process of pause or thread, data are read in continuation process or thread by suspending Point continues to run with;The currently processed data of the process of pause or thread can also be abandoned, in the process of continuation or thread by Original state starts to rerun.
Collection module 1 includes the collection of following two levels when for two different application scenarios:
1) be applied to the frameworks of more set processes, i.e., application program is often carried out one extension just it is corresponding safeguard it is a set of newly into Journey.The associated process of the application program, including:The host process of the application program and the application program open with institute State the similar process of host process.
Collection module 1, in real time or each process of cycle monitoring, and according to the process name of the host process of the application program and/ Or pathname collects the associated process of the application program.
2) it is applied to the case where one or more associated process carry an application program.The application program is mutually put into Journey, including:The host process of the application program and one or more lower layer procedures with the host process with kinship.
Collection module 1 can be used for a preset process list, wherein preserving all potential correlations of the application program The mark of process, in real time or the period collects the associated process of the application program in conjunction with the list;It is further used for combining The process list, in real time or the period by the matched process of the process list to not carrying out safety detection;
Collection module 1, can be used in real time or each process of cycle monitoring and according to the host process of the application program and Process kinship collects the associated process of the application program;Specifically, according to parent process mark/son of a unknown process Its upper layer procedures/lower layer procedure is found in process identification (PID), when the judgement upper layer procedures/lower layer procedure has house with the host process When race's relationship, determines the associated process that the process is the application program and collection records the process;Alternatively, according to described The subprocess mark of a known process/parent process mark finds its Unrecorded lower layer procedure/upper layer procedures in associated process, really Fixed lower layer procedure/the upper layer procedures are the associated process of the application program and collection record the lower layer procedure/upper layer into Journey.
Above-mentioned management of process device is corresponding with the feature of aforementioned process management method, and shortcoming can refer to aforementioned process Management method.
Several preferred embodiments of the present invention have shown and described in above description, but as previously described, it should be understood that the present invention Be not limited to form disclosed herein, be not to be taken as excluding other embodiments, and can be used for various other combinations, Modification and environment, and the above teachings or related fields of technology or knowledge can be passed through in the scope of the invention is set forth herein It is modified.And changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, then it all should be in this hair In the protection domain of bright appended claims.

Claims (19)

1. a kind of process management method, which is characterized in that including:
The associated process that a certain application program being collected into is run a Unified Process is merged on UI administration interfaces to carry out Management, is shown as single name or icon;
The associated process is maintained in respective original resource and runs.
2. process management method as described in claim 1, which is characterized in that
The title of the Unified Process shown with application name or document title, the display icon of the Unified Process with Application icon is shown.
3. process management method as claimed in claim 2, which is characterized in that the institute for running a certain application program being collected into It states associated process and merges into a step of Unified Process is managed, further comprise:
It is closed by closing the associated process that the Unified Process runs the application program.
4. process management method as claimed in claim 3, which is characterized in that further comprise:
The independent process received in the Unified Process closed instruction and will identify that the Unified Process is closed, and will The Unified Process is dismissed.
5. process management method as described in claim 1, which is characterized in that the institute for running a certain application program being collected into It states associated process and merges into a step of Unified Process is managed, further comprise:
Associated process pause/the continuation for being run the application program by pause/continuation Unified Process.
6. process management method as claimed in claim 5, which is characterized in that further comprise:
Receive the independent process in the Unified Process to the pause of the Unified Process/continue to indicate, and will identify that Pause/continuation, in the shared process in the Unified Process that will identify that with the relevant thread pause of the application program/after It is continuous.
7. such as process management method according to any one of claims 1 to 6, which is characterized in that is be collected into is a certain using journey The step of associated process of sort run, including:
Real-time or each process of cycle monitoring, and institute is collected according to the process name of the host process of the application program and/or pathname State the associated process of application program.
8. process management method as claimed in claim 7, which is characterized in that a certain application program being collected into is run described The step of associated process, including:
A preset process list, wherein preserving the mark of all potential associated process of the application program;
In conjunction with the process list, the real-time or period collects the associated process of the application program.
9. process management method as claimed in claim 8, which is characterized in that further comprise:
In conjunction with the process list, in real time or the period by the matched process of the process list to not carrying out safety detection.
10. process management method as claimed in claim 8, which is characterized in that the institute for a certain application program operation being collected into The step of stating associated process, including:
Real-time or each process of cycle monitoring, and the application is collected according to the host process of the application program and process kinship The associated process of program.
11. process management method as claimed in claim 10, which is characterized in that further comprise:
Its upper layer procedures/lower layer procedure is found according to the parent process mark of a unknown process/subprocess mark, on judgement is described When layer process/lower layer procedure has kinship with the host process, determine that the process is mutually putting into for the application program Journey and collect record the process.
12. process management method as claimed in claim 10, which is characterized in that further comprise:
According to the subprocess mark of a known process in the associated process/parent process mark find its Unrecorded lower layer into Journey/upper layer procedures determines the associated process that the lower layer procedure/upper layer procedures are the application program and collects record.
13. a kind of management of process device, which is characterized in that be applied to the feelings that one or more associated process carry an application program Condition, including:
Collection module, the associated process for collecting a certain application program operation;
Management module, for mutually being put into what a certain application program that the collection module is collected into was run on UI administration interfaces Journey is merged into a Unified Process and is managed, and single name or icon are shown as, and the associated process is maintained at respective It is run in original resource.
14. management of process device as claimed in claim 13, which is characterized in that single name or icon are shown as, into one Step is:The title of the Unified Process shown with application name or document title, the display icon of the Unified Process It is shown with application icon.
15. management of process device as claimed in claim 13, which is characterized in that
The management module, be additionally operable to by closing/pause/continuation Unified Process by the associated process closing/pause/ Continue.
16. management of process device as claimed in claim 15, which is characterized in that
The management module, be further used for receiving the unification that the closing of the Unified Process is indicated and be will identify that into Independent process in journey is closed, and the Unified Process is dismissed;Be further used for receiving the pause to the Unified Process/ Independent process pause/continuation in the Unified Process that continues to indicate, and will identify that, the unification that will identify that into In shared process in journey with the relevant thread pause/continuation of the application program.
17. management of process device as claimed in claim 14, which is characterized in that
The collection module is used for real-time or each process of cycle monitoring, and the process name of the host process according to the application program And/or pathname collects the associated process of the application program.
18. management of process device as claimed in claim 14, which is characterized in that
The collection module is used for a preset process list, wherein preserving all potential associated process of the application program Mark, in conjunction with the process list, in real time or the period collects the associated process of the application program.
19. management of process device as claimed in claim 17, which is characterized in that
The collection module, be further used for the parent process mark according to a unknown process/subprocess mark find its upper layer into Journey/lower layer procedure, when judging that the upper layer procedures/lower layer procedure has kinship with the host process, determine it is described into Journey is the associated process of the application program and collects record;It is further used for according to a known process in the associated process Subprocess mark/parent process mark find its Unrecorded lower layer procedure/upper layer procedures, determine the lower layer procedure/upper layer Process is the associated process of the application program and collects record;It is further used in conjunction with the process list, it is in real time or all Phase by the matched process of the process list to not carrying out safety detection.
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 CN102163161A (en) 2011-08-24
CN102163161B true 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)

Families Citing this family (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
CN103197962B (en) * 2012-01-04 2017-02-08 中国移动通信集团公司 Multi-process state switching method and device
CN103257887B (en) * 2012-02-16 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Terminal and course control method
CN102681850B (en) * 2012-05-07 2015-05-20 北京奇虎科技有限公司 Method and device for realizing web browsing based on Webkit kernel
CN103809955B (en) * 2012-11-15 2018-10-09 腾讯科技(深圳)有限公司 The method and apparatus of end process
CN103077052B (en) * 2012-12-28 2017-02-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
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
CN106227586B (en) * 2016-07-11 2019-08-27 珠海豹趣科技有限公司 Judgment method, device and the equipment that management method, the task of process status are completed
CN106227590A (en) * 2016-07-27 2016-12-14 西安酷派软件科技有限公司 The control method of application process, the control device of application process and terminal
CN106250236A (en) * 2016-07-27 2016-12-21 北京金山安全软件有限公司 Application control method and device and terminal
CN106227565B (en) * 2016-07-27 2020-02-28 北京金山安全软件有限公司 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
CN107608678B (en) * 2017-08-22 2021-06-08 深圳传音控股股份有限公司 Method for judging correlation between processes and mobile terminal
CN108229167B (en) * 2017-12-29 2022-05-31 北京安云世纪科技有限公司 Method and device for controlling multi-process application and mobile terminal
CN109992397A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Process handling method and device, electronic equipment, computer readable storage medium
CN110659491B (en) * 2019-09-23 2022-04-29 深信服科技股份有限公司 Computer system recovery method, device, equipment and readable storage medium
CN110780996B (en) * 2019-09-27 2022-07-08 广州视源电子科技股份有限公司 Process optimization method and device, storage medium and computer equipment

Citations (3)

* 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
CN101350052A (en) * 2007-10-15 2009-01-21 北京瑞星国际软件有限公司 Method and apparatus for discovering malignancy of computer program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021891A (en) * 2007-01-26 2007-08-22 华为技术有限公司 Process management method and device
CN101464811B (en) * 2008-12-29 2012-07-04 艾默生网络能源有限公司 Multitask monitoring management system
CN101989214A (en) * 2009-07-30 2011-03-23 鸿富锦精密工业(深圳)有限公司 Process management system

Patent Citations (3)

* 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
CN101350052A (en) * 2007-10-15 2009-01-21 北京瑞星国际软件有限公司 Method and apparatus for discovering malignancy of computer program

Also Published As

Publication number Publication date
CN102163161A (en) 2011-08-24

Similar Documents

Publication Publication Date Title
CN102163161B (en) A kind of process management method and device
US9612859B2 (en) Comparing states of a virtual machine
CN101645119B (en) Method and system for automatically analyzing malicious codes based on virtual hardware environment
US8122292B2 (en) Debugging of business flows deployed in production servers
Tan et al. Visual, log-based causal tracing for performance debugging of mapreduce systems
US20160019081A1 (en) Viewing a snapshot of a virtual machine
US20090193298A1 (en) System and method of fault detection, diagnosis and prevention for complex computing systems
CN103793288B (en) A kind of software watchdog system and method
CN102651062B (en) System and method for tracking malicious behavior based on virtual machine architecture
CN107004086A (en) Security information and incident management
Sinha et al. Predictive analysis for detecting serializability violations through trace segmentation
US20140365833A1 (en) Capturing trace information using annotated trace output
CN105808412A (en) Process resource real-time monitoring method
Pooe et al. A conceptual model for digital forensic readiness
CN108469984A (en) It is a kind of to be examined oneself function grade virtual machine kernel dynamic detection system and method based on virtual machine
CN113010392B (en) Big data platform testing method, device, equipment, storage medium and system
US9244821B2 (en) Latent defect indication
Šor et al. Memory leak detection in Plumbr
US9164746B2 (en) Automatic topology extraction and plotting with correlation to real time analytic data
CN104778087B (en) A kind of information processing method and information processing unit
Alluri et al. A digital forensic model for introspection of virtual machines in cloud computing
Liew et al. Performance database: capturing data for optimizing distributed streaming workflows
Daniel et al. Workflow engine performance evaluation by a black-box approach
Gwak et al. Debugging Malware Classification Models Based on Event Logs with Explainable AI
Zhang et al. VMFDF: a virtualization-based multi-level fault detection framework for high availability computing

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.