Method and apparatus for automatic system cleaning, and storage medium
First Claim
1. A method for automatic system cleaning, comprising:
- providing, by a system, a plurality of triggering occasions, a plurality of triggering conditions, a plurality of running manners, and a plurality of running policies,wherein the plurality of triggering occasions comprises at time when the system is started, at time after the system starting is completed, in several time intervals after the system starting is completed, before power-off, at a designated time point or period of time, and in a designated running time interval,wherein the plurality of triggering conditions comprises whether the system is idle and whether a cleaning point condition is satisfied,wherein the plurality of running manners comprises a foreground running and a background running, andwherein the plurality of running policies comprises a centralized cleaning policy, a stepwise cleaning policy and a policy recommended by the system by default;
setting, by a user selection, a preset triggering occasion from the plurality of triggering occasions, a preset triggering condition from the plurality of triggering conditions, a preset running manner from the plurality of running manners, and a preset running policy from the plurality of running policies;
obtaining, by the system, the preset triggering occasion and the preset triggering condition;
determining whether the preset triggering occasion and the preset triggering condition are satisfied; and
when the preset triggering occasion and the preset triggering condition are satisfied, cleaning the system according to the preset running manner and the preset running policy.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention relates to a method and an apparatus for automatic system cleaning, and a storage medium. The method includes obtaining a triggering occasion and a triggering condition which are selected by a user; determining whether the triggering occasion and the triggering condition are satisfied; and if yes, cleaning a system according to a preset running manner and a preset running policy. Through combination of system cleaning functions and scheduled task functions, and expansion of existing triggering conditions of a tasks scheduler, a user can self-define a triggering occasion, a triggering condition, a running manner and a running policy of system cleaning. When the triggering occasion and the triggering condition designated by the user are satisfied, system cleaning is automatically performed according to the selected running manner and policy, thereby improving the system performance and the system cleaning efficiency, and protecting the computer security and the individual privacy.
-
Citations
12 Claims
-
1. A method for automatic system cleaning, comprising:
-
providing, by a system, a plurality of triggering occasions, a plurality of triggering conditions, a plurality of running manners, and a plurality of running policies, wherein the plurality of triggering occasions comprises at time when the system is started, at time after the system starting is completed, in several time intervals after the system starting is completed, before power-off, at a designated time point or period of time, and in a designated running time interval, wherein the plurality of triggering conditions comprises whether the system is idle and whether a cleaning point condition is satisfied, wherein the plurality of running manners comprises a foreground running and a background running, and wherein the plurality of running policies comprises a centralized cleaning policy, a stepwise cleaning policy and a policy recommended by the system by default; setting, by a user selection, a preset triggering occasion from the plurality of triggering occasions, a preset triggering condition from the plurality of triggering conditions, a preset running manner from the plurality of running manners, and a preset running policy from the plurality of running policies; obtaining, by the system, the preset triggering occasion and the preset triggering condition; determining whether the preset triggering occasion and the preset triggering condition are satisfied; and when the preset triggering occasion and the preset triggering condition are satisfied, cleaning the system according to the preset running manner and the preset running policy. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for automatic system cleaning, comprising a processor and a memory storing computer executable code, wherein the computer executable code, when executed at the processor, is configured to:
-
provide a plurality of triggering occasions, a plurality of triggering conditions, a plurality of running manners, and a plurality of running policies, wherein the plurality of triggering occasions comprises at time when the system is started, at time after the system starting is completed, in several time intervals after the system starting is completed, before power-off, at a designated time point or period of time, and in a designated running time interval, wherein the plurality of triggering conditions comprises whether the system is idle and whether a cleaning point condition is satisfied, wherein the plurality of running manners comprises a foreground running and a background running, and wherein the plurality of running policies comprises a centralized cleaning policy, a stepwise cleaning policy and a policy recommended by the system by default; set a preset triggering occasion selected by a user from the plurality of triggering occasions, a preset triggering condition selected by the user from the plurality of triggering conditions, a preset running manner selected by the user from the plurality of running manners, and a preset running policy selected by the user from the plurality of running policies; obtain the preset triggering occasion and the preset triggering condition; determine whether the preset triggering occasion and the preset triggering condition are satisfied; and clean, when the preset triggering occasion arrives and the preset triggering condition is satisfied, the system according to the preset running manner and the preset running policy. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer-readable medium storing instructions that enable a computer to run, which, when executed by one or more processors of the computer, cause the computer to perform a method for automatic system cleaning, the method comprising:
-
providing a plurality of triggering occasions, a plurality of triggering conditions, a plurality of running manners, and a plurality of running policies, wherein the plurality of triggering occasions comprises at time when the computer is started, at time after the computer starting is completed, in several time intervals after the computer starting is completed, before power-off, at a designated time point or period of time, and in a designated running time interval, wherein the plurality of triggering conditions comprises whether the computer is idle and whether a cleaning point condition is satisfied, wherein the plurality of running manners comprises a foreground running and a background running, and wherein the plurality of running policies comprises a centralized cleaning policy, a stepwise cleaning policy and a policy recommended by the computer by default; setting, by a user selection, a preset triggering occasion from the plurality of triggering occasions, a preset triggering condition from the plurality of triggering conditions, a preset running manner from the plurality of running manners, and a preset running policy from the plurality of running policies; obtaining the preset triggering occasion and the preset triggering condition; determining whether the preset triggering occasion and the preset triggering condition are satisfied; and when the preset triggering occasion and the preset triggering condition are satisfied, cleaning the computer according to the preset running manner and the preset running policy. - View Dependent Claims (10, 11, 12)
-
Specification