# US 10,311,031 B2 · Method, apparatus, and storage medium for removing redundant information from terminal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,311,031 B2
- Document ID: US10311031B2
- Status: Granted
- Kind: B2
- Application number: 14/749,753
- Filed: 2015-06-25
- Published: 2015-10-15
- Granted: 2019-06-04
- Earliest claimed: 2012-12-26
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Xucheng Wan; Yanhui Shen
- Web page: https://patentgrep.com/patent/US10311031B2

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F 16/16: File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This application relates to the technical field of network communications, and discloses a method and an apparatus for removing redundant information of a terminal. The method includes the steps of: calculating an estimated redundancy value of at least one type of redundant information in a terminal; determining that a redundancy value of a type of redundant information reaches a threshold of the type of redundancy value; prompting a user to remove redundant information; and according to confirmation from the user, removing the type of redundant information or all redundant information. The apparatus includes a first calculating unit, a determining unit, a prompting unit and a cleanup unit. According to the method and the apparatus of this application, an estimated redundancy value of redundant information of a terminal can be calculated actively by analyzing historical redundant data information of a user, and the user is prompted to process redundant information that reaches a threshold without the need for scanning, thereby saving system resources, improving system performance and also saving user time.

## Claims

### Claim 1

A method for removing redundant information in a computing terminal, comprising:
performing, by the computer terminal, a plurality of cleanup processes;
detecting, by the computer terminal, a type of redundant information in the plurality of cleanup processes, wherein the type of redundant information comprises system garbage and system traces in the computing terminal;
determining, by the computer terminal, a plurality of actual redundancy values of the type of redundant information in the plurality of cleanup processes;
calculating, by the computer terminal, a threshold value by averaging the plurality of actual redundancy values detected in the plurality of cleanup processes;
calculating, by the computer terminal, a redundancy frequency or an average redundancy frequency of the type of redundant information according to a cleanup period and an actual redundancy value detected during a cleanup process;
calculating, by the computer terminal, an estimated redundancy value of the type of redundant information in the computing terminal based on the redundancy frequency or the average redundancy frequency of the type of redundant information;
determining, by the computer terminal, whether the estimated redundancy value of the type of redundant information reaches the threshold value;
when the estimated redundancy value of the type of redundant information reaches the threshold value, prompting a user to remove the type of redundant information; and
removing, by the computer terminal, the type of redundant information according to a confirmation from the user, such that the estimated redundancy value of the type of redundant information in the computer terminal is obtained actively by analyzing a historical record of operation; and by actively obtaining the estimated redundancy value without the user's instruction.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the step of calculating the estimated redundancy value of the type of redundant information in the computing terminal further comprises:
acquiring a time interval between a previous cleanup time point of the type of redundant information in the computing terminal and a current time point.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising: calculating the threshold value of the type of redundant information according to the actual redundancy value detected during a specified number of times of clean processes.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
calculating the redundancy frequency of the type of redundant information according to a cleanup period and an actual redundancy value detected during a current cleanup process, and
updating a pre-stored average redundancy frequency of the type of redundant information according to the redundancy frequency.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the system garbage comprises a temporary file or a temporary information automatically generated by the computing terminal during use; and the system trace comprises the historical record of operation automatically saved by the computing terminal.

### Claim 6

An apparatus for removing redundant information in a computing terminal, comprising:
a memory; and
a processor coupled to the memory, the processor being configured to:
perform, by the computer terminal, a plurality of cleanup processes;
detect, by the computer terminal, a type of redundant information in the plurality of cleanup processes, wherein the type of redundant information comprises system garbage and system traces in the computing terminal;
determine, by the computer terminal, a plurality of actual redundancy values of the type of redundant information in the plurality of cleanup processes;
calculate, by the computer terminal, a threshold value by averaging the plurality of actual redundancy values detected in the plurality of cleanup processes;
calculate, by the computer terminal, a redundancy frequency or an average redundancy frequency of the type of redundant information according to a cleanup period and an actual redundancy value detected during a cleanup process;
calculate, by the computer terminal, an estimated redundancy value of the type of redundant information in the computing terminal based on the redundancy frequency or the average redundancy frequency of the type of redundant information;
determine, by the computer terminal, whether the estimated redundancy value of the type of redundant information reaches a threshold value;
prompt, by the computer terminal, a user to remove the type of redundant information; and
remove, by the computer terminal, the type of redundant information according to a confirmation from the user, such that the estimated redundancy value of the type of redundant information in the computer terminal is obtained actively by analyzing a historical record of operation; and by actively obtaining the estimated redundancy value without the user's instruction.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the processor is further configured to acquire a time interval between a previous cleanup time point of the type of redundant information in the computing terminal and a current time point.

### Claim 8 (depends on 6)

The apparatus according to claim 6, the processor being further configured to: calculate the threshold value of the type of redundant information according to the actual redundancy value detected during a specified number of times of clean processes.

### Claim 9 (depends on 6)

The apparatus according to claim 6, the processor being further configured to:
calculate the redundancy frequency of the type of redundant information according to a cleanup period and an actual redundancy value detected during a current cleanup process, and to update a pre-stored average redundancy frequency of the type of redundant information according to the redundancy frequency.

### Claim 10

A non-transitory computer readable storage medium comprising a computer readable program stored thereon, wherein, when being executed, the computer readable program causes one or more processors to implement a method for removing redundant information in a computing terminal, the method comprising:
performing, by the computer terminal, a plurality of cleanup processes;
detecting, by the computer terminal, a type of redundant information in the plurality of cleanup processes, wherein the type of redundant information comprises system garbage and system traces in the computing terminal;
determining, by the computer terminal, a plurality of actual redundancy values of the type of redundant information in the plurality of cleanup processes;
calculating, by the computer terminal, a threshold value by averaging the plurality of actual redundancy values detected in the plurality of cleanup processes;
calculating, by the computer terminal, a redundancy frequency or an average redundancy frequency of the type of redundant information according to a cleanup period and an actual redundancy value detected during a cleanup process;
calculating, by the computer terminal, an estimated redundancy value of the type of redundant information in the computing terminal based on the redundancy frequency or the average redundancy frequency of the type of redundant information;
determining, by the computer terminal, whether the estimated redundancy value of the type of redundant information reaches a threshold value;
prompting, by the computer terminal, a user to remove the type of redundant information; and
removing, by the computer terminal, the type of redundant information according to a confirmation from the user, such that the estimated redundancy value of the type of redundant information in the computer terminal is obtained actively by analyzing a historical record of operation; and by actively obtaining the estimated redundancy value without the user's instruction.

### Claim 11 (depends on 10)

The non-transitory computer readable storage medium according to claim 10, wherein the step of calculating the estimated redundancy value of the type of redundant information in the computing terminal further comprises:
acquiring a time interval between a previous cleanup time point of the type of redundant information in the computing terminal and a current time point.

### Claim 12 (depends on 10)

The non-transitory computer readable storage medium according to claim 10, further comprising:
calculating the threshold value of the type of redundant information according to the actual redundancy value detected during a specified number of times of clean processes.

### Claim 13 (depends on 10)

The non-transitory computer readable storage medium according to claim 10, further comprising: calculating the redundancy frequency of the type of redundant information according to a cleanup period and an actual redundancy value detected during a current cleanup process, and updating a pre-stored average redundancy frequency of the type of redundant information according to the redundancy frequency.
