Method and apparatus for managing processes
First Claim
1. A method for managing processes in a computer system, comprising:
- obtaining a process identifier for a process in an operating system;
in response to a shutdown of the process by a user, determining whether a first set of event objects in response to a first system event of the operating system comprise the process identifier to generate an examination result, the first system event of the operating system being occurred after the shutdown of the process by the user is completed;
determining whether the first system event is triggered in response to an operation instruction from the user to initiate the process, and generating a determination result; and
if the determination result indicates that the process is not triggered by the operation instruction from the user, and if the examination result indicates that the first set of event objects comprise the process identifier, based on the determination result and the examination result, deleting the process identifier from the first set of event objects wherein the process will no longer be initiated in response to the first system event.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for managing processes are provided, the method comprising: obtaining a process identifier for a process in an operating system; after the shutdown of the process by a user, determining, in response to a first system event of the operating system, whether a first set of event objects comprise the process identifier to generate an examination result; and if the examination result indicates that the first set of event objects comprise the process identifier, deleting the process identifier from the first set of event objects. The method and apparatus for managing processes effectively prevent a process that was shut down by a user from being unintentionally reinitiated.
-
Citations
25 Claims
-
1. A method for managing processes in a computer system, comprising:
-
obtaining a process identifier for a process in an operating system; in response to a shutdown of the process by a user, determining whether a first set of event objects in response to a first system event of the operating system comprise the process identifier to generate an examination result, the first system event of the operating system being occurred after the shutdown of the process by the user is completed; determining whether the first system event is triggered in response to an operation instruction from the user to initiate the process, and generating a determination result; and if the determination result indicates that the process is not triggered by the operation instruction from the user, and if the examination result indicates that the first set of event objects comprise the process identifier, based on the determination result and the examination result, deleting the process identifier from the first set of event objects wherein the process will no longer be initiated in response to the first system event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for managing processes in a computer system, comprising at least one processor, a memory, and a plurality of program modules stored in the memory and to be executed by the at least one processor, the plurality of program modules comprising:
-
a process identifier acquisition module for obtaining a process identifier for a process in an operating system; an examination module for, in response to a shutdown of the process by a user, determining whether a first set of event object in response to a first system event of the operating system comprise the process identifier to generate an examination result, the first system event of the operating system being occurred after the shutdown of the process by the user is completed; and
determining whether the first system event is triggered in response to an operation instruction from the user to initiate the process, and generating a determination result; anda process identifier processing module for, if the determination result indicates that the process is not triggered by the operation instruction from the user, and if the examination result indicates that the first set of event objects comprise the process identifier, based on the determination result and the examination result, deleting the process identifier from the first set of event objects wherein the process will no longer be initiated in response to the first system event. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer-readable medium having stored thereon computer-executable instructions, said computer-executable instructions comprising a method for managing processes in a computer system, the method comprising:
-
obtaining a process identifier for a process in an operating system; in response to a shutdown of the process by a user, determining whether a first set of event objects in response to a first system event of the operating system comprise the process identifier to generate an examination result, the first system event of the operating system being occurred after the shutdown of the process by the user is completed; determining whether the first system event is triggered in response to an operation instruction from the user to initiate the process, and generating a determination result; and if the determination result indicates that the process is not triggered by the operation instruction from the user, and if the examination result indicates that the first set of event objects comprise the process identifier, based on the determination result and the examination result, deleting the process identifier from the first set of event objects wherein the process will no longer be initiated in response to the first system event. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25)
-
Specification