WO2014101493A1 - 清理终端冗余信息的方法及装置 - Google Patents

清理终端冗余信息的方法及装置 Download PDF

Info

Publication number
WO2014101493A1
WO2014101493A1 PCT/CN2013/084000 CN2013084000W WO2014101493A1 WO 2014101493 A1 WO2014101493 A1 WO 2014101493A1 CN 2013084000 W CN2013084000 W CN 2013084000W WO 2014101493 A1 WO2014101493 A1 WO 2014101493A1
Authority
WO
WIPO (PCT)
Prior art keywords
redundant information
redundant
type
redundancy
terminal
Prior art date
Application number
PCT/CN2013/084000
Other languages
English (en)
French (fr)
Inventor
万旭成
沈艳慧
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014101493A1 publication Critical patent/WO2014101493A1/zh
Priority to US14/749,753 priority Critical patent/US10311031B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1748De-duplication implemented within the file system, e.g. based on file segments

Definitions

  • the subject matter disclosed herein relates to the field of network communication technologies, and in particular, to a method and apparatus for cleaning terminal redundancy information.
  • the terminal Over time, the terminal generates a large amount of redundant information, including redundant file information. When there is too much redundant information, it occupies a large amount of disk space on the terminal, which reduces the available disk space and causes the terminal to run slower. Reduce the system performance of the terminal, and sometimes even affect the normal operation of the system or other applications. Therefore, the redundant information of the terminal needs to be cleaned up.
  • the user scans the terminal through the application to obtain the actual redundancy value of the redundant information in the terminal, thereby cleaning up the redundant information.
  • the user's redundant information about the terminal is weakly perceived.
  • the actual redundancy value of the redundant information cannot be known by the active detection.
  • the user cannot clean up the redundant information in time to improve the performance of the terminal.
  • the estimation of the redundant information needs to be performed. Scanning, which requires system resources and user time. Summary of the invention
  • embodiments of the present invention provide a method, an apparatus, and a computer program product for cleaning terminal redundancy information.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a method for cleaning terminal redundancy information, where the method includes:
  • an embodiment of the present invention provides an apparatus for cleaning terminal redundancy information, where the apparatus includes:
  • a first calculating unit configured to calculate an estimated redundancy value of at least one type of redundant information in the terminal; and a determining unit configured to determine that the estimated redundancy value of the certain type of redundant information reaches the certain redundancy value Threshold a prompting unit configured to prompt the user to clean up redundant information;
  • the cleaning unit is configured to clean the certain type of redundant information or all redundant information according to the confirmation of the user.
  • embodiments of the present invention provide a computer program product comprising program instructions that, when executed on a computer, cause the computer to perform the steps of the method of cleaning terminal redundancy information as described above.
  • the method and apparatus for cleaning terminal redundancy information of the present disclosure can actively estimate the estimated redundancy value of the terminal redundancy information by analyzing the historical redundant data information of the user, and prompt the user to reach the threshold value without scanning.
  • the remaining information is processed, which saves system resources and user time, improves system performance, and saves user time.
  • Embodiment 1 is a flowchart of a method for cleaning terminal redundancy information according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for cleaning terminal redundancy information according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for cleaning terminal redundancy information according to Embodiment 3 of the present invention
  • FIG. 4 is another schematic structural diagram of an apparatus for cleaning terminal redundancy information according to Embodiment 4 of the present invention. detailed description
  • the embodiment provides a method for cleaning terminal redundancy information.
  • the method includes: Step 101: Calculate an estimated redundancy value of at least one type of redundant information in the terminal.
  • Step 102 Determine an estimated redundancy value of a certain type of redundant information to reach a threshold value of the certain redundancy value.
  • Step 103 Prompt the user to clean up the redundant information.
  • Step 104 Clean up a certain type of redundant information or all redundant information according to the user's confirmation.
  • the method may further include: calculating, for each type of redundant information in the terminal, according to the actual redundancy value detected during the cleaning period and the cleaning time. The redundancy frequency of redundant information or the average redundancy frequency within a specified number of times.
  • Calculating an estimated redundancy value of at least one type of redundant information in the terminal may include the steps of:
  • the frequency, and the time interval of the obtained redundant information calculate an estimated redundancy value of the redundant information.
  • the method may further include the steps of:
  • the threshold of the redundant information is calculated according to the actual redundancy value detected during the cleaning within a specified number of times.
  • the method may further include the steps of:
  • the redundancy frequency of the redundant information is calculated according to the cleaning period and the actual redundancy value detected during the cleaning, and the pre-stored redundancy is updated according to the redundancy frequency.
  • the average redundancy frequency of the remaining information is calculated according to the cleaning period and the actual redundancy value detected during the cleaning.
  • the terminal may include, but is not limited to, a computer, a mobile phone, a tablet computer, and a PDA (Personal Digital Assistant).
  • a computer a mobile phone, a tablet computer, and a PDA (Personal Digital Assistant).
  • PDA Personal Digital Assistant
  • the foregoing method provided in this embodiment, by calculating an estimated redundancy value of at least one type of redundant information in the terminal, determining that an estimated redundancy value of the certain type of redundant information reaches a threshold value of the one type of redundancy value; prompting the user Clearing redundant information; cleaning the certain redundant information or all redundant information according to the confirmation of the user, and actively estimating the redundant information of the terminal by analyzing the historical redundant data information of the user
  • the residual value prompts the user to process the redundant information reaching the threshold without scanning, which saves system resources and user time, improves system performance, and saves user time.
  • the threshold of the redundant information can be made closer to the user's cleaning habits. , enhance the user experience.
  • the embodiment provides a method for cleaning terminal redundancy information.
  • the method includes: Step 201: For each type of redundant information in the terminal, according to the actual redundancy detected during the cleaning cycle and cleaning Value, the redundancy frequency of the redundant information or the average redundancy frequency within a specified number of times.
  • the redundant information is information generated by the terminal during operation.
  • the terminal may include, but is not limited to, a computer, a mobile phone, a tablet, a PDA, and the like. Since the redundant information loses its use value after exiting the current application, it needs to be cleaned up to improve the system performance of the terminal. There are many types of redundant information.
  • This embodiment uses system garbage and system traces as an example for description.
  • system garbage is temporary files or information automatically generated by the terminal during use, such as temporary files of the system and the browser, invalid shortcuts, and the like.
  • the system trace is a history of user operations that the system automatically saves, such as viewed web pages, viewed movie programs, edited or opened documents, etc., during the terminal operation.
  • the behavior of the user using the terminal in a certain period of time is regular, for example, a user watches an hour of video online every day, browses half an hour of news information, spends two hours chatting with a friend online, and the like, thus redundancy of the terminal. Information is also regular.
  • the redundancy frequency of the redundant information may be calculated for each type of redundant information in the terminal according to the actual redundancy value detected during the cleaning period and the cleaning, so as to calculate the redundancy frequency according to the redundancy frequency.
  • the estimated redundancy value of the redundant information For example, when the redundant information is system garbage, if the terminal cleaning period is 13 days and the detected actual redundancy value is 131 Mbit, the calculated redundancy frequency is 10.08 Mbit/day; when the redundant information is a system trace When the terminal cleaning period is 13 days and the actual redundancy value detected is 50, the calculated redundancy frequency is 3.85/day.
  • the cleaning period is calculated according to the number of days. Of course, the cleaning period may be set to a week or a month, etc., which is not specifically limited in this embodiment.
  • the cleaning period and actual redundancy value of the sampling can be as shown in Table 1.
  • the cleanup period and the actual redundancy value of the sample may be as shown in Table 2.
  • the method may further include the steps of:
  • the threshold of the redundant information is calculated based on the actual redundant value detected during the cleaning within a specified number of times.
  • Step 202 Obtain a time interval between a last cleanup time and a current time of at least one type of redundant information in the terminal, and use redundancy information for each type of redundant information in the at least one type of redundant information.
  • the residual frequency or the average redundant frequency, and the time interval of the obtained redundant information calculate an estimated redundancy value of the redundant information.
  • the redundancy information in the terminal may be one or more. Therefore, the redundancy value of the at least one type of redundant information may be calculated to determine whether the user needs to be prompted to clear the redundant information.
  • Step 203 Determine a threshold value of the redundancy value of a certain type of redundant information to reach the certain redundancy value.
  • the estimated redundancy value and the threshold calculated according to the above steps may determine whether it is necessary to prompt the user to clear the certain type of redundant information. Further, when the redundancy value of a certain type of redundant information is greater than or equal to the threshold of the redundant information, the user may be prompted to clean all the redundant information to improve system performance.
  • the redundant information includes system garbage and system traces.
  • the above data is still taken as an example.
  • the estimated redundancy value of the system garbage is 151.84 Mbit, which is greater than the threshold value of 149 Mbit.
  • the estimated redundancy value of the system trace is 61.44, which is greater than the threshold.
  • the estimated redundancy values of system garbage and system traces are greater than the respective preset thresholds, prompting the user to clean up system garbage and system traces.
  • the system garbage interval is 1 day, and the estimated redundancy value of the system garbage is 9.49 Mbit, and the system The time interval of the traces has been 17 days, and the estimated redundancy value of the system traces is 65.24. At this time, the estimated redundancy value of the system trace is still greater than the threshold of the system trace 61.17, prompting the user to clean up the system traces (it can also prompt the user to clean both system traces and system garbage).
  • Step 204 Prompt the user to clean up the redundant information.
  • the estimated redundancy value of the user terminal can be notified by means of a Tips prompt or a pop-up window, and the user is suggested to clean up immediately.
  • the prompt content is: It is estimated that your system has up to 990Mbit of garbage and 300 traces of system, which has exceeded your previous tolerance limit. It is recommended to clean up immediately.
  • the manner and content of the prompting manner and the content of the prompting may be any manner and content known to those skilled in the art, and the embodiment is not specifically limited.
  • Step 205 Clean up a certain type of redundant information or all redundant information according to the user's confirmation.
  • a cleaning option may be set for the certain type of redundant information, so that the user can clear the certain type of redundant information; or, a total cleaning option may be set for all the redundant information, so that the user can clear all the redundancy.
  • Information; or, a cleaning option may be separately set for each type of redundant information, so that the user can choose to clean one or several types of redundant information, and the embodiment does not limit the clearing of redundant information. Way of management.
  • the method may further include:
  • the redundancy frequency of the redundant information is calculated according to the cleaning period and the actual redundancy value detected during the cleaning, and the pre-stored redundancy is updated according to the redundancy frequency.
  • the average redundancy frequency of the remaining information is calculated according to the cleaning period and the actual redundancy value detected during the cleaning.
  • the time period of this time is 16 days.
  • the actual redundancy value detected is 151 Mbit.
  • the method may further include the following steps:
  • the threshold of the pre-stored redundant information is updated according to the actual redundancy value detected during the cleaning.
  • the current cleaning value is 151 Mbit
  • the current cleanup value is 65
  • the foregoing method provided in this embodiment, by calculating an estimated redundancy value of at least one type of redundant information in the terminal, determining that an estimated redundancy value of the certain type of redundant information reaches a threshold value of the one type of redundancy value; prompting the user Clearing redundant information; cleaning the certain redundant information or all redundant information according to the confirmation of the user, and actively estimating the redundancy of the terminal redundant information by analyzing the historical redundant data information of the user The value prompts the user to process the redundant information reaching the threshold without scanning, which saves system resources and user time, improves system performance, and saves user time.
  • the threshold of the redundant information can be made closer to the user's cleaning habits. , enhance the user experience.
  • an embodiment of the present invention provides an apparatus for cleaning terminal redundancy information, where the apparatus includes: a first calculating unit 301 configured to calculate an estimated redundancy value of at least one type of redundant information in the terminal;
  • the determining unit 302 is configured to determine that the estimated redundancy value of the certain type of redundant information reaches a threshold value of the certain redundancy value;
  • the prompting unit 303 is configured to prompt the user to clear the redundant information;
  • the cleaning unit 304 is It is configured to clean up a certain type of redundant information or all redundant information according to the user's confirmation.
  • the apparatus may further include:
  • the second calculating unit 305 is configured to detect each type of redundant information in the terminal according to the cleaning period and the cleaning time before the first calculating unit 301 calculates the estimated redundancy value of the at least one type of redundant information in the terminal The actual redundancy value, the redundancy frequency of the redundant information or the average redundancy frequency within a specified number of times is calculated.
  • the first calculating unit 301 is further configured to acquire a time interval between the last cleaning time and the current time of the at least one type of redundant information in the terminal, and is redundant for each of the at least one type of redundant information. The remaining information calculates an estimated redundancy value of the redundant information according to the redundant frequency or the average redundant frequency of the redundant information and the time interval of the obtained redundant information.
  • the apparatus may further include:
  • the third calculating unit 306 is configured to calculate, for each type of redundant information in the terminal, a threshold of the redundant information according to the actual redundancy value detected during the cleaning within a specified number of times.
  • the apparatus may further include:
  • the updating unit 307 is configured to calculate, for each of the redundant information of the cleaning, the redundancy frequency of the redundant information according to the cleaning period and the actual redundancy value detected during the cleaning, and according to the redundancy The frequency updates the average redundancy frequency of the pre-stored redundant information.
  • the device for cleaning terminal redundancy information may be located in a terminal, and the terminal may include, but is not limited to, a computer, a mobile phone, a tablet computer, a PDA, and the like.
  • the foregoing apparatus by calculating an estimated redundancy value of at least one type of redundant information in the terminal, determining that an estimated redundancy value of the certain type of redundant information reaches a threshold value of the one type of redundancy value; prompting the user Clearing redundant information; cleaning the certain redundant information or all redundant information according to the confirmation of the user, and actively estimating the redundancy of the terminal redundant information by analyzing the historical redundant data information of the user The value prompts the user to process the redundant information reaching the threshold without scanning, which saves system resources and user time, improves system performance, and saves user time.
  • the threshold of the redundant information can be made closer to the user's cleaning habits. , enhance the user experience.
  • the device for cleaning terminal redundancy information provided by the foregoing embodiment is only used to illustrate the division of each functional unit (module) in the cleaning of redundant information.
  • the above-mentioned function assignment is performed by different functional units as needed, and the internal structure of the device for cleaning terminal redundancy information is divided into different functional units to perform all or part of the functions described above.
  • the device for clearing the redundancy information of the terminal provided by the foregoing embodiment is the same as the method for clearing the redundancy information of the terminal. For details, refer to the method embodiment, and details are not described herein.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种清理终端冗余信息的方法及装置,属于网络通信技术领域。所述方法包括步骤:计算终端中至少一种冗余信息的估计冗余值;确定某一种冗余信息的冗余值达到所述某一种冗余值的阈值;提示用户清理冗余信息;根据所述用户的确认对所述某一种冗余信息或所有冗余信息进行清理。所述装置包括:第一计算单元、确定单元、提示单元和清理单元。本申请的方法和装置可以主动通过对用户历史冗余数据信息的分析,估算出终端冗余信息的估计冗余值,在无需扫描的情况下提示用户对达到阈值的冗余信息进行处理,节省了系统资源和用户时间,提高了系统性能,也节省了用户时间。

Description

清理终端冗余信息的方法及装置 技术领域
这里公开的主题内容涉及网络通信技术领域, 特别涉及一种清理终端冗余 信息的方法及装置。 背景技术
日积月累的操作导致终端产生大量的冗余信息, 包括冗余文件信息等, 当 冗余信息过多时, 占用了终端上大量的磁盘空间, 使得可用的磁盘空间减少, 导致终端运行速度变慢, 进而降低终端的系统性能, 有时甚至会影响系统或其 它应用程序的正常运行。 因此, 需要对终端的冗余信息进行清理。
现有技术中, 用户通过应用程序对终端进行扫描以获取终端中冗余信息的 实际冗余值, 从而对该种冗余信息进行清理。
用户对终端的冗余信息是弱感知, 不通过主动检测无法得知冗余信息的实 际冗余值, 导致用户无法及时清理冗余信息以提升终端性能, 另外, 冗余信息 的多少估计需要进行扫描, 而这种扫描需要耗费系统资源和用户时间。 发明内容
为了解决现有技术的问题, 本发明实施例提供了清理终端冗余信息的方法、 装置及计算机程序产品。 所述技术方案如下:
一方面, 本发明实施例提供了一种清理终端冗余信息的方法, 所述方法包 括:
计算终端中至少一种冗余信息的估计冗余值;
确定某一种冗余信息的估计冗余值达到所述某一种冗余值的阈值; 提示用户清理冗余信息;
根据所述用户的确认对所述某一种冗余信息或所有冗余信息进行清理。 另一方面, 本发明实施例提供了一种清理终端冗余信息的装置, 所述装置 包括:
第一计算单元, 被配置为计算终端中至少一种冗余信息的估计冗余值; 确定单元, 被配置为确定某一种冗余信息的估计冗余值达到所述某一种冗 余值的阈值; 提示单元, 被配置为提示用户清理冗余信息;
清理单元, 被配置为根据所述用户的确认对所述某一种冗余信息或所有冗 余信息进行清理。
再一方面, 本发明的实施例提供了包括程序指令的计算机程序产品, 当所 述程序指令运行在计算机上时, 使所述计算机执行如上述清理终端冗余信息的 方法的各步骤。
本发明实施例提供的技术方案带来的有益效果是:
本公开的清理终端冗余信息的方法和装置可以主动通过对用户历史冗余数 据信息的分析, 估算出终端冗余信息的估计冗余值, 在无需扫描的情况下提示 用户对达到阈值的冗余信息进行处理, 节省了系统资源和用户时间, 提高了系 统性能, 也节省了用户时间。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例一提供的清理终端冗余信息的方法流程图;
图 2是本发明实施例二提供的清理终端冗余信息的方法流程图;
图 3是本发明实施例三提供的清理终端冗余信息的装置的一种结构示意图; 图 4是本发明实施例四提供的清理终端冗余信息的装置的另一种结构示意 图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。
实施例一
参见图 1 ,本实施例提供了一种清理终端冗余信息的方法,该方法流程包括: 步骤 101 : 计算终端中至少一种冗余信息的估计冗余值。
步骤 102: 确定某一种冗余信息的估计冗余值达到该某一种冗余值的阈值。 步骤 103: 提示用户清理冗余信息。 步骤 104: 根据用户的确认对该某一种冗余信息或所有冗余信息进行清理。 其中, 计算终端中至少一种冗余信息的估计冗余值之前, 还可以包括步骤: 对终端内的每一种冗余信息, 根据清理周期和清理时检测到的实际冗余值, 计算该种冗余信息的冗余频率或指定次数内的平均冗余频率。
计算终端中至少一种冗余信息的估计冗余值, 可以包括步骤:
获取终端中至少一种冗余信息的上次清理时间与当前时间的时间间隔, 对 于至少一种冗余信息中的每一种冗余信息, 根据该冗余信息的冗余频率或平均 冗余频率, 以及获取的该种冗余信息的时间间隔计算出该种冗余信息的估计冗 余值。
其中, 所述方法还可以包括步骤:
对终端内的每一种冗余信息, 根据指定次数内清理时检测到的实际冗余值 计算该种冗余信息的阈值。
其中, 所述方法还可以包括步骤:
对此次清理的每一种冗余信息, 根据清理周期和此次清理时检测到的实际 冗余值计算该种冗余信息的冗余频率, 并根据该冗余频率更新预存的该种冗余 信息的平均冗余频率。
本实施例中,所述终端可以包括但不限于: 计算机、手机、平板电脑和 PDA ( Personal Digital Assistant, 个人数字助理)等。
本实施例提供的上述方法, 通过计算终端中至少一种冗余信息的估计冗余 值; 确定某一种冗余信息的估计冗余值达到所述某一种冗余值的阈值; 提示用 户清理冗余信息; 根据所述用户的确认对所述某一种冗余信息或所有冗余信息 进行清理, 可以主动通过对用户历史冗余数据信息的分析, 估算出终端冗余信 息的估计冗余值, 在无需扫描的情况下提示用户对达到阈值的冗余信息进行处 理, 节省了系统资源和用户时间, 提高了系统性能, 也节省了用户时间。
另外, 通过对终端内的每一种冗余信息, 根据指定次数内清理时检测到的 实际冗余值计算该种冗余信息的阈值, 可以使冗余信息的阈值更加贴近于用户 的清理习惯, 提升了用户的体验。
实施例二
参见图 2,本实施例提供了一种清理终端冗余信息的方法,该方法流程包括: 步骤 201 : 对终端内的每一种冗余信息, 根据清理周期和清理时检测到的实 际冗余值, 计算该种冗余信息的冗余频率或指定次数内的平均冗余频率。 本实施例中, 冗余信息是终端在运行过程中产生的信息。 所述终端可以包 括但不限于: 计算机、 手机、 平板电脑和 PDA等。 由于所述冗余信息在退出当 前应用程序之后即失去使用价值, 因此, 需要对其进行清理, 以提高终端的系 统性能。 其中, 所述冗余信息有很多种, 本实施例以系统垃圾和系统痕迹为例 进行说明。 具体地, 系统垃圾是终端在使用过程中自动生成的临时文件或信息, 例如系统和浏览器的临时文件、 无效的快捷方式等。 系统痕迹是终端运行过程 中, 为了方便用户再次使用, 系统自动保存的用户操作的历史记录, 例如浏览 过的网页、 看过的电影节目、 编辑过或者打开过的文档等。
通常, 用户在一定时间周期内使用终端的行为具有规律性, 例如某用户每 天在线观看一个小时视频, 浏览半个小时新闻资讯, 花两个小时与朋友在线聊 天等, 因此, 其终端的冗余信息也具有规律性。
基于上述规律, 可以对终端中的每一种冗余信息, 根据清理周期和清理时 检测到的实际冗余值, 计算该种冗余信息的冗余频率, 以便后续根据该冗余频 率计算该种冗余信息的估计冗余值。 例如, 当冗余信息为系统垃圾时, 若终端 的清理周期为 13天, 检测到的实际冗余值为 131Mbit, 则计算出的冗余频率为 10.08Mbit/天; 当冗余信息为系统痕迹时, 若终端清理周期为 13 天, 检测到的 实际冗余值为 50条, 则计算出的冗余频率为 3.85条 /天。 其中, 清理周期是根 据天数计算的, 当然, 也可以将清理周期设置为周或月等, 本实施例不作具体 限定。
进一步地, 为了使冗余频率更接近于冗余信息的实际生成频率, 还可以对 指定次数内的冗余频率计算平均冗余频率。
例如, 当冗余信息为系统垃圾时, 其采样的清理周期和实际冗余值可以如 表 1所示。
表 1
清理周期(天) 实际冗余值(系统垃圾 (Mbit))
13 131
17 161
11 110
20 181
19 171 则平均冗余频率= ( 131/13+161/17+110/11+181/20+171/19+140/15 ) /6=9.49 ( Mbit/天)。
又例如, 当冗余信息为系统痕迹时, 其采样的清理周期和实际冗余值可以 如表 2所示。
表 2
Figure imgf000007_0001
则平均冗余频率 =( 50/13+69/17+39/11+81/20+69/19+59/15 )/6=3.84(条 /天)。 进一步地, 所述方法还可以包括步骤:
对终端内的每一种冗余信息, 根据指定次数内清理时检测到的所述实际冗 余值计算该种冗余信息的阈值。
其中, 对终端内的每一种冗余信息, 可以根据指定次数内清理时检测到的 实际冗余值计算平均值作为该种冗余信息的阈值, 以使阈值更接近于用户的清 理习惯。 例如, 基于上述采样数据, 当冗余信息为系统垃圾时, 阈值 =
( 131+161+110+181+171+140 ) /6=149Mbit; 当冗余信息为系统痕迹时, 阈值 = ( 50+69+39+81+69+59 ) /6=61.17条。
步骤 202:获取终端中至少一种冗余信息的上次清理时间与当前时间的时间 间隔, 对于所述至少一种冗余信息中的每一种冗余信息, 根据该种冗余信息的 冗余频率或平均冗余频率, 以及获取的该种冗余信息的时间间隔计算出该种冗 余信息的估计冗余值。
本实施例中, 终端中的冗余信息可以为一种或多种, 因此, 可以计算至少 一种冗余信息的冗余值, 以判断是否需要提示用户清理冗余信息。
本实施例提供了一种根据冗余频率计算估计冗余值的计算公式, 即估计冗 余值 =冗余频率 *时间间隔。 例如, 当冗余信息为系统垃圾时, 假设此次的冗余 频率为 10M/天、 获取的该种冗余信息的时间间隔为 16 天, 则估计冗余值 =10*16=160Mbit; 当冗余信息为系统痕迹时, 殳此次的冗余频率为 4条 /天、 获取的该种冗余信息的时间间隔为 16天, 则估计冗余值 =4*16=64条。 本实施例还提供了一种根据平均冗余频率计算估计冗余值的计算公式, 即 估计冗余值 =平均冗余频率 *时间间隔。 例如, 以步骤 201 中计算的平均冗余频 率为例, 假设获取的该种冗余信息的时间间隔为 16天, 则当冗余信息为系统垃 圾时, 估计冗余值 =9.49*16=151.84Mbit; 当冗余信息为系统痕迹时, 估计冗余 值 =3.84*16=61.44条。
步骤 203: 确定某一种冗余信息的冗余值达到该某一种冗余值的阈值。
本实施例中, 根据上述步骤计算的估计冗余值和阈值可以判断是否需要提 示用户清理该某一种冗余信息。 进一步地, 还可以设置为当某一种冗余信息的 冗余值大于等于该冗余信息的阈值时, 提示用户对所有的冗余信息进行清理, 以提高系统性能。
例如, 冗余信息包括系统垃圾和系统痕迹, 仍以上述数据为例进行说明, 则系统垃圾的估计冗余值为 151.84Mbit, 大于阈值 149Mbit, 系统痕迹的估计冗 余值为 61.44条, 大于阈值 61.17条, 此时系统垃圾和系统痕迹的估计冗余值均 大于各自预设的阈值, 则提示用户对系统垃圾和系统痕迹进行清理。 进一步地, 根据上述提示, 若用户仅清理了系统垃圾, 而没有清理系统痕迹, 则到第二天 时, 系统垃圾的时间间隔为 1 天、 系统垃圾的估计冗余值为 9.49Mbit, 而系统 痕迹的时间间隔已经为 17天、 系统痕迹的估计冗余值为 65.24条。 这时系统痕 迹的估计冗余值仍然大于系统痕迹的阈值 61.17条,此时提示用户对系统痕迹进 行清理(也可以提示用户对系统痕迹和系统垃圾两者都进行清理)。
步骤 204: 提示用户清理冗余信息。
具体地, 可以通过 Tips提示或弹窗等方式告知用户终端的估计冗余值并建 议用户立即清理。 例如, 提示内容为: 预计您的系统垃圾达 990Mbit、 系统痕迹 达 300条, 已经超过您以往的忍耐极限, 建议立即清理等。 对于提示方式和提 示内容, 可以是本领域技术人员已知的任何方式和内容, 本实施例不作具体限 定。
步骤 205: 根据用户的确认对该某一种冗余信息或所有冗余信息进行清理。 具体地, 可以对该某一种冗余信息设置清理选项, 以便用户清理该某一种 冗余信息; 或者, 还可以对所有的冗余信息设置一个总的清理选项, 以便用户 清理所有冗余信息; 或者, 还可以对每一种冗余信息分别设置清理选项, 以便 用户可以自主选择清理一种或几种冗余信息, 本实施例不限定对冗余信息的清 理方式。
优选地, 所述方法还可以包括:
对此次清理的每一种冗余信息, 根据清理周期和此次清理时检测到的实际 冗余值计算该种冗余信息的冗余频率, 并根据该冗余频率更新预存的该种冗余 信息的平均冗余频率。
例如, 此次的时间周期为 16天, 当冗余信息为系统垃圾时, 检测的实际冗 余值为 151Mbit, 此次的冗余频率 =151/16=9.44Mbit/天, 则更新后的平均冗余频 率= ( 131/13+161/17+110/11+181/20+171/19+140/15+151/16 ) /7=9.48Mbit/天, 以 替换原来的 9.49 Mbit/天; 当冗余信息为系统痕迹时, 检测的实际冗余值为 65 条, 此次的冗余频率 =65/16=4.06 条 /天, 则更新后的平均冗余频率 = ( 50/13+69/17+39/11+81/20+69/19+59/15+65/16 ) /7=3.87 条 /天, 以替换原来的 3.84条 /天。
可选的, 所述方法还可以包括步骤:
对此次清理的每一种冗余值, 根据清理时检测到的实际冗余值更新预存的 该种冗余信息的阈值。
例如, 当冗余信息为系统垃圾时, 此次的清理值为 151Mbit, 则更新后的阈 值= ( 131+161+110+181+171+140+151 ) /7= 149.29Mbit, 以替换原来的 149Mbit; 当冗余信息为系统痕迹时, 此次的清理值为 65 条, 则更新后的阈值= ( 50+69+39+81+69+59+65 ) /7=61.71条, 以替换原来的 61.17条。
本实施例提供的上述方法, 通过计算终端中至少一种冗余信息的估计冗余 值; 确定某一种冗余信息的估计冗余值达到所述某一种冗余值的阈值; 提示用 户清理冗余信息; 根据所述用户的确认对所述某一种冗余信息或所有冗余信息 进行清理, 可以主动通过对用户历史冗余数据信息的分析, 估算出终端冗余信 息的冗余值, 在无需扫描的情况下提示用户对达到阈值的冗余信息进行处理, 节省了系统资源和用户时间, 提高了系统性能, 也节省了用户时间。
另外, 通过对终端内的每一种冗余信息, 根据指定次数内清理时检测到的 实际冗余值计算该种冗余信息的阈值, 可以使冗余信息的阈值更加贴近于用户 的清理习惯, 提升了用户的体验。
实施例三
参见图 3,本发明实施例提供了一种清理终端冗余信息的装置,该装置包括: 第一计算单元 301 , 被配置为计算终端中至少一种冗余信息的估计冗余值; 确定单元 302,被配置为确定某一种冗余信息的估计冗余值达到所述某一种冗余 值的阈值; 提示单元 303 , 被配置为提示用户清理冗余信息; 清理单元 304, 被 配置为根据用户的确认对该某一种冗余信息或所有冗余信息进行清理。
参见图 4, 本实施例中, 所述装置还可以包括:
第二计算单元 305 ,被配置为在第一计算单元 301计算终端中至少一种冗余 信息的估计冗余值之前, 对终端内的每一种冗余信息, 根据清理周期和清理时 检测到的实际冗余值, 计算该种冗余信息的冗余频率或指定次数内的平均冗余 频率。 本实施例中, 第一计算单元 301 还被配置为获取终端中至少一种冗余信 息的上次清理时间与当前时间的时间间隔, 对于所述至少一种冗余信息中的每 一种冗余信息, 根据该种冗余信息的冗余频率或平均冗余频率, 以及获取的该 种冗余信息的时间间隔计算出该种冗余信息的估计冗余值。
参见图 4, 本实施例中, 所述装置还可以包括:
第三计算单元 306, 被配置为对终端内的每一种冗余信息,根据指定次数内 清理时检测到的所述实际冗余值计算该种冗余信息的阈值。
参见图 4, 本实施例中, 所述装置还可以包括:
更新单元 307,被配置为对此次清理的每一种冗余信息,根据清理周期和此 次清理时检测到的实际冗余值计算该种冗余信息的冗余频率, 并根据该冗余频 率更新预存的该种冗余信息的平均冗余频率。
本实施例中, 所述清理终端冗余信息的装置可以位于终端中, 所述终端可 以包括但不限于: 计算机、 手机、 平板电脑和 PDA等。
本实施例提供的上述装置, 通过计算终端中至少一种冗余信息的估计冗余 值; 确定某一种冗余信息的估计冗余值达到所述某一种冗余值的阈值; 提示用 户清理冗余信息; 根据所述用户的确认对所述某一种冗余信息或所有冗余信息 进行清理, 可以主动通过对用户历史冗余数据信息的分析, 估算出终端冗余信 息的冗余值, 在无需扫描的情况下提示用户对达到阈值的冗余信息进行处理, 节省了系统资源和用户时间, 提高了系统性能, 也节省了用户时间。
另外, 通过对终端内的每一种冗余信息, 根据指定次数内清理时检测到的 实际冗余值计算该种冗余信息的阈值, 可以使冗余信息的阈值更加贴近于用户 的清理习惯, 提升了用户的体验。
需要说明的是: 上述实施例提供的清理终端冗余信息的装置在清理冗余信 息时, 仅以上述各功能单元(模块) 的划分进行举例说明, 实际应用中, 可以 根据需要而将上述功能分配由不同的功能单元完成, 即将清理终端冗余信息的 装置的内部结构划分成不同的功能单元, 以完成以上描述的全部或者部分功能。 另外, 上述实施例提供的清理终端冗余信息的装置与清理终端冗余信息的方法 实施例属于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过 硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于 一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或 光盘等。
以上描述了本发明的各个实施例, 但是它们不用以限制本发明的范围。 凡 在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含 在本申请的权利要求书的保护范围之内。

Claims

权利要求书
1、 一种清理终端冗余信息的方法, 所述方法包括步骤:
计算终端中至少一种冗余信息的估计冗余值;
确定某一种冗余信息的估计冗余值达到所述某一种冗余值的阈值; 提示用户清理冗余信息;
根据所述用户的确认对所述某一种冗余信息或所有冗余信息进行清理。
2、 根据权利要求 1所述的方法, 所述计算终端中至少一种冗余信息的估计 冗余值之前, 还包括步骤:
对所述终端内的每一种冗余信息, 根据清理周期和清理时检测到的实际冗 余值, 计算该种冗余信息的冗余频率或指定次数内的平均冗余频率。
3、 根据权利要求 1或 2所述的方法, 所述计算终端中至少一种冗余信息的 估计冗余值, 还包括步骤:
获取所述终端中至少一种冗余信息的上次清理时间与当前时间的时间间 隔, 对于所述至少一种冗余信息中的每一种冗余信息, 根据该种冗余信息的冗 余频率或平均冗余频率, 以及获取的该种冗余信息的时间间隔计算出该种冗余 信息的估计冗余值。
4、 根据权利要求 1-3任一项所述的方法, 所述方法还包括步骤:
对所述终端内的每一种冗余信息, 根据指定次数内清理时检测到的所述实 际冗余值计算该种冗余信息的阈值。
5、 根据权利要求 2所述的方法, 所述方法还包括步骤:
对此次清理的每一种冗余信息, 根据清理周期和此次清理时检测到的实际 冗余值计算该种冗余信息的冗余频率, 并根据所述冗余频率更新预存的该种冗 余信息的平均冗余频率。
6、 一种清理终端冗余信息的装置, 所述装置包括:
第一计算单元, 被配置为计算终端中至少一种冗余信息的估计冗余值; 确定单元, 被配置为确定某一种冗余信息的估计冗余值达到所述某一种冗 余值的阈值;
提示单元, 被配置为提示用户清理冗余信息;
清理单元, 被配置为根据所述用户的确认对所述某一种冗余信息或所有冗 余信息进行清理。
7、 根据权利要求 6所述的装置, 所述装置还包括:
第二计算单元, 被配置为在所述第一计算单元计算终端中至少一种冗余信 息的估计冗余值之前, 对终端内的每一种冗余信息, 根据清理周期和清理时检 测到的实际冗余值, 计算该种冗余信息的冗余频率或指定次数内的平均冗余频 率。
8、 根据权利要求 6或 7所述的装置, 所述第一计算单元还被配置为获取所 述终端中至少一种冗余信息的上次清理时间与当前时间的时间间隔, 对于所述 至少一种冗余信息中的每一种冗余信息, 根据该种冗余信息的冗余频率或平均 冗余频率, 以及获取的该种冗余信息的时间间隔计算出该种冗余信息的估计冗 余值。
9、 根据权利要求 6-8任一项所述的装置, 所述装置还包括:
第三计算单元, 被配置为对所述终端内的每一种冗余信息, 根据指定次数 内清理时检测到的所述实际冗余值计算该种冗余信息的阈值。
10、 根据权利要求 7所述的装置, 所述装置还包括:
第一更新单元, 被配置为对此次清理的每一种冗余信息, 根据清理周期和此次 清理时检测到的实际冗余值计算该种冗余信息的冗余频率, 并根据所述冗余频 率更新预存的该种冗余信息的平均冗余频率。
11、 一种包括程序指令的计算机程序产品, 当所述程序指令运行在计算机 上时, 使所述计算机执行如权利要求 1 所述的清理终端冗余信息的方法的各步 骤。
PCT/CN2013/084000 2012-12-26 2013-09-23 清理终端冗余信息的方法及装置 WO2014101493A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/749,753 US10311031B2 (en) 2012-12-26 2015-06-25 Method, apparatus, and storage medium for removing redundant information from terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210575993.6 2012-12-26
CN201210575993.6A CN103902394B (zh) 2012-12-26 2012-12-26 清理终端冗余信息的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/749,753 Continuation US10311031B2 (en) 2012-12-26 2015-06-25 Method, apparatus, and storage medium for removing redundant information from terminal

Publications (1)

Publication Number Publication Date
WO2014101493A1 true WO2014101493A1 (zh) 2014-07-03

Family

ID=50993732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084000 WO2014101493A1 (zh) 2012-12-26 2013-09-23 清理终端冗余信息的方法及装置

Country Status (4)

Country Link
US (1) US10311031B2 (zh)
CN (1) CN103902394B (zh)
TW (1) TWI506641B (zh)
WO (1) WO2014101493A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688122A (zh) * 2021-06-09 2021-11-23 上海万物新生环保科技集团有限公司 一种数据去重方法及设备
CN113973314A (zh) * 2020-07-22 2022-01-25 中国移动通信集团山东有限公司 一种冗余基站评估的方法、装置、设备和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975400B (zh) * 2016-04-27 2019-06-04 北京金山安全软件有限公司 一种空间管理方法、装置及电子设备
CN110866291B (zh) * 2019-11-15 2023-03-24 北京工业大学 一种基于双重安全机制的废旧电子产品信息清除方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833512A (zh) * 2010-04-22 2010-09-15 中兴通讯股份有限公司 一种内存回收方法及其装置
CN102279892A (zh) * 2011-09-07 2011-12-14 盛乐信息技术(上海)有限公司 临时文件清理方法及系统
CN102654872A (zh) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 一种清理应用程序产生的垃圾文件的方法及装置
US20120324199A1 (en) * 2009-11-12 2012-12-20 Hitachi, Ltd. Memory management method, computer system and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070136402A1 (en) * 2005-11-30 2007-06-14 International Business Machines Corporation Automatic prediction of future out of memory exceptions in a garbage collected virtual machine
CN100473023C (zh) * 2006-12-12 2009-03-25 中兴通讯股份有限公司 Iptv系统冗余数据的清除方法
US20100153675A1 (en) * 2008-12-12 2010-06-17 Microsoft Corporation Management of Native Memory Usage
CN101943995A (zh) * 2010-09-01 2011-01-12 惠州Tcl移动通信有限公司 一种移动终端及其触摸屏的显示信息处理方法和装置
JP5664315B2 (ja) * 2011-02-15 2015-02-04 富士通株式会社 管理装置、管理プログラムおよび管理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120324199A1 (en) * 2009-11-12 2012-12-20 Hitachi, Ltd. Memory management method, computer system and program
CN101833512A (zh) * 2010-04-22 2010-09-15 中兴通讯股份有限公司 一种内存回收方法及其装置
CN102654872A (zh) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 一种清理应用程序产生的垃圾文件的方法及装置
CN102279892A (zh) * 2011-09-07 2011-12-14 盛乐信息技术(上海)有限公司 临时文件清理方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973314A (zh) * 2020-07-22 2022-01-25 中国移动通信集团山东有限公司 一种冗余基站评估的方法、装置、设备和存储介质
CN113973314B (zh) * 2020-07-22 2023-09-05 中国移动通信集团山东有限公司 一种冗余基站评估的方法、装置、设备和存储介质
CN113688122A (zh) * 2021-06-09 2021-11-23 上海万物新生环保科技集团有限公司 一种数据去重方法及设备

Also Published As

Publication number Publication date
CN103902394B (zh) 2017-04-12
CN103902394A (zh) 2014-07-02
TW201426755A (zh) 2014-07-01
US20150293950A1 (en) 2015-10-15
TWI506641B (zh) 2015-11-01
US10311031B2 (en) 2019-06-04

Similar Documents

Publication Publication Date Title
JP5891213B2 (ja) 事後確率算出装置、事後確率算出方法、およびプログラム
JP5992734B2 (ja) ユーザの身体特性を考慮した動的ユーザインターフェース提供装置及び方法
CN105183902B (zh) 一种文件清理方法、装置及终端
WO2014101493A1 (zh) 清理终端冗余信息的方法及装置
JP2014500534A (ja) 検索結果を順位付ける方法および装置
CN102184253A (zh) 对网络资源进行抓取及更新消息推送的方法及系统
CN108763274B (zh) 访问请求的识别方法、装置、电子设备及存储介质
WO2008133863A1 (en) Background synchronization
CN105224529A (zh) 一种基于用户浏览行为的个性化推荐方法和装置
CN107340964A (zh) 一种视图的动画效果实现方法及装置
CN102693075B (zh) 屏幕数据管理系统及方法
CN108427737B (zh) 一种数据清理方法、设备及计算机可读介质
WO2021017899A1 (zh) 一种高效清理设备文件的方法及装置
US20100162391A1 (en) Online Risk Mitigation
CN106569936A (zh) 一种实时采集滚动日志的方法及系统
CN105893471B (zh) 一种数据处理方法及电子设备
WO2015058498A1 (zh) 一种社交网络的用户状态识别方法、装置及计算机
CN103580991B (zh) 一种邮件附件的上传方法和设备
JP6755324B2 (ja) ビデオコンテンツ内の風雑音のフィルタリング
CN117768870A (zh) 一种设备查询方法、电子设备及存储介质
CN106648916B (zh) 计步器消息的上报方法及装置
CN109657139B (zh) 网络事件传播的模拟方法、装置及设备
CN111506382B (zh) 进度条曲线确定方法及装置、存储介质、电子设备
CN109005238A (zh) 一种微博话题推送方法、装置、终端及计算机存储介质
CN112235187A (zh) 一种从群聊快捷切换进入话题的处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13868588

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 02/11/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13868588

Country of ref document: EP

Kind code of ref document: A1