WO2021017899A1 - Method for efficiently cleaning equipment files and device - Google Patents

Method for efficiently cleaning equipment files and device Download PDF

Info

Publication number
WO2021017899A1
WO2021017899A1 PCT/CN2020/102780 CN2020102780W WO2021017899A1 WO 2021017899 A1 WO2021017899 A1 WO 2021017899A1 CN 2020102780 W CN2020102780 W CN 2020102780W WO 2021017899 A1 WO2021017899 A1 WO 2021017899A1
Authority
WO
WIPO (PCT)
Prior art keywords
file type
cleaning
file
recommended
files
Prior art date
Application number
PCT/CN2020/102780
Other languages
French (fr)
Chinese (zh)
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 WO2021017899A1 publication Critical patent/WO2021017899A1/en

Links

Images

Classifications

    • 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
    • G06F16/162Delete operations
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Provided is a method for efficiently cleaning equipment files, the method is applied to terminal equipment, the method comprises: the terminal equipment identifies file types of files generated in the application use process (S201); recording the cleaning frequency of the file of the file type (S202); when the file cleaning frequency of the file type is greater than or equal to a first threshold, the file type is used as a first recommended cleaning file type, and the first recommended cleaning file type is added into a recommended cleaning list (S203). By recognizing the file type of the file, and recording the cleaning frequency of each file type, when the cleaning frequency is high, the file type is recommended. The user of the terminal equipment can be effectively helped to clean junk files in the terminal equipment more simply and quickly, and files to be cleaned do not need to be selected manually, the cleaning operation is more convenient and faster, file cleaning time is shortened, and cleaning efficiency and usability are improved.

Description

一种高效清理设备文件的方法及装置Method and device for efficiently cleaning equipment files
本申请要求在2019年7月30日提交国家专利局、申请号为201910693918.1、发明名称为“一种高效清理设备文件的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the National Patent Office on July 30, 2019, the application number is 201910693918. 1, the invention title is "a method and device for efficiently cleaning equipment files", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及智能识别领域,尤其涉及一种高效清理设备文件的方法及装置。This application relates to the field of intelligent identification, and in particular to a method and device for efficiently cleaning equipment files.
背景技术Background technique
在当今社会,电子设备成为了人们生活和工作中必不可少的工具。但是在日常生活中,随着人们生活和工作的需要,电子设备,例如手机、平板电脑等设备,在使用过程中会产生大量的文件。例如电子设备中的应用程序在日常使用中,会产生图片、视频、音频、安装包的等文件,并占用到电子设备大量的存储空间。最后导致电子设备运行时变得十分卡顿,严重影响正常使用。In today's society, electronic equipment has become an indispensable tool in people's life and work. However, in daily life, with the needs of people's life and work, electronic devices, such as mobile phones, tablet computers and other devices, will generate a large number of files during use. For example, in daily use, an application in an electronic device will generate files such as pictures, videos, audios, and installation packages, and occupy a large amount of storage space of the electronic device. Finally, the electronic equipment becomes very lagging when running, which seriously affects normal use.
发明内容Summary of the invention
本申请实施例提供了一种高效清理设备文件的方法及装置,通过识别终端设备中应用使用过程中产生文件的文件类型,并根据文件类型被清理的频率,将经常清理的文件类型作为推荐清理文件类型推荐出来,可以使得清理文件时无需手动挑选,可一键清理经常清理的文件,使得清理操作更加便捷。The embodiment of the application provides a method and device for efficiently cleaning device files. By identifying the file type of the file generated during the use of the application in the terminal device, and according to the frequency with which the file type is cleaned, the frequently cleaned file type is recommended for cleaning File types are recommended, so that you do not need to manually select files when cleaning up files, and you can clean up frequently cleaned files with one click, making the cleaning operation more convenient.
第一方面,提供了一种高效清理设备文件的方法,方法应用于终端设备,方法包括:终端设备识别应用使用过程中产生的文件的文件类型;记录第一文件类型的文件被清理的频率;当第一文件类型的文件被清理的频率大于或等于第一阈值时,将第一文件类型添加在推荐清理的列表内。In a first aspect, a method for efficiently cleaning device files is provided. The method is applied to a terminal device. The method includes: the terminal device recognizes the file type of the file generated during the use of the application; and records the frequency of the file cleaning of the first file type; When the frequency of files of the first file type being cleaned is greater than or equal to the first threshold, the first file type is added to the list of recommended cleaning.
在一个可能的实施方式中,方法还包括:记录第二文件类型的文件被使用的次数;当第二文件类型的文件被使用的次数小于或等于第二阈值时,将第二文件类型添加在推荐清理的列表内。In a possible implementation, the method further includes: recording the number of times the file of the second file type is used; when the number of times the file of the second file type is used is less than or equal to the second threshold, adding the second file type to It is recommended to clean up the list.
在一个可能的实施方式中,方法还包括:将第一文件类型和/或第二文件类型发送至服务器,以便服务器根据第一文件类型和/或第二文件类型,确定服务器推荐清理文件类型。In a possible implementation manner, the method further includes: sending the first file type and/or the second file type to the server, so that the server determines the file type recommended by the server for cleaning according to the first file type and/or the second file type.
在一个可能的实施方式中,方法还包括:接收服务器发送的服务器推荐清理文件类型,并将服务器推荐清理文件类型添加在推荐清理的列表内。In a possible implementation manner, the method further includes: receiving a file type recommended by the server for cleaning from the server, and adding the file type recommended for cleaning by the server to a list of recommended cleaning.
在一个可能的实施方式中,方法还包括:将推荐清理的列表内勾选中的文件类型进行一键清理;或选中推荐清理的列表内的文件类型,对文件类型内的内容进行单独筛选,并进行清理。In a possible implementation manner, the method further includes: performing one-click cleaning of the file types selected in the recommended cleaning list; or selecting the file types in the recommended cleaning list, filtering the contents of the file types individually, and Clean up.
在一个可能的实施方式中,推荐清理的列表内包括一种或多种文件类型;推荐清理的列表内的每个文件类型具有选择框,以便终端设备将勾选中的文件类型进行清理。In a possible implementation manner, the recommended cleaning list includes one or more file types; each file type in the recommended cleaning list has a selection box so that the terminal device can clean the selected file types.
在一个可能的实施方式中,文件类型包括:图片、视频、音频和应用安装包中的至少一个。In a possible implementation manner, the file type includes at least one of pictures, videos, audios, and application installation packages.
在一个可能的实施方式中,文件类型包括:模糊图片、相似图片、二维码、广告、截图和表情中的至少一个。In a possible implementation manner, the file type includes: at least one of fuzzy pictures, similar pictures, two-dimensional codes, advertisements, screenshots, and emoticons.
第二方面,提供了一种高效清理设备文件的方法,其特征在于,方法应用于服务器,方法包括:接收多个终端设备发送的第一文件类型和/或第二文件类型;当推荐第一文件类型的终端设备数量大于等于第三阈值时,将第一文件类型作为服务器推荐清理文件类型;以及当推荐第二文件类型的终端设备数量大于等于第三阈值时,将第二文件类型作为服务器推荐清理文件类型;将服务器推荐清理文件类型发送至多个终端设备之外的其它终端设备。In a second aspect, a method for efficiently cleaning device files is provided, which is characterized in that the method is applied to a server, and the method includes: receiving a first file type and/or a second file type sent by multiple terminal devices; When the number of terminal devices of the file type is greater than or equal to the third threshold, the first file type is used as the server to recommend cleaning file types; and when the number of terminal devices that recommend the second file type is greater than or equal to the third threshold, the second file type is used as the server Recommended file types to be cleaned up; the server-recommended file types to be cleaned up are sent to terminal devices other than multiple terminal devices.
第三方面,提供了一种高效清理设备文件的装置,装置包括:识别模块,用于识别应用使用过程中产生的文件的文件类型;计数模块,用于记录第一文件类型的文件被清理的频率;处理模块,用于当第一文件类型的文件被清理的频率大于或等于第一阈值时,将第一文件类型添加在推荐清理的列表内。In a third aspect, an apparatus for efficiently cleaning device files is provided. The apparatus includes: an identification module for identifying file types of files generated during application use; and a counting module for recording the cleanup of files of the first file type. Frequency: The processing module is used to add the first file type to the recommended cleaning list when the frequency with which the files of the first file type are cleaned is greater than or equal to the first threshold.
在一个可能的实施方式中,计数模块还用于,记录第二文件类型的文件被使用的次数;处理模块还用于:当第二文件类型的文件被使用的次数小于或等于第二阈值时,将第二文件类型添加在推荐清理的列表内。In a possible implementation, the counting module is also used to record the number of times the file of the second file type is used; the processing module is also used to: when the number of times the file of the second file type is used is less than or equal to the second threshold , Add the second file type to the recommended cleaning list.
在一个可能的实施方式中,装置还包括:发送模块,用于将第一文件类型和/或第二文件类型发送至服务器,以便服务器根据第一文件类型和/或第二文件类型确定服务器推荐清理文件类型。In a possible implementation manner, the apparatus further includes: a sending module, configured to send the first file type and/or the second file type to the server, so that the server can determine the server recommendation according to the first file type and/or the second file type Clean up file types.
在一个可能的实施方式中,装置还包括:接收模块,用于接收服务器发送的服务器推荐清理文件类型,并将服务器推荐清理文件类型添加在推荐清理的列表内。In a possible implementation manner, the device further includes: a receiving module, configured to receive the server recommended cleaning file type sent by the server, and add the server recommended cleaning file type to the recommended cleaning list.
在一个可能的实施方式中,处理模块还用于:将推荐清理的列表内勾选中的文件类型进行一键清理;或选中推荐清理的列表内的文件类型,对文件类型内的内容进行单独筛选,并进行清理。In a possible implementation, the processing module is also used to: perform one-click cleaning of the file types ticked in the recommended cleaning list; or select the file types in the recommended cleaning list to individually filter the contents of the file types , And clean up.
在一个可能的实施方式中,推荐清理的列表内包括一种或多种文件类型;推荐清理的列表内的每个文件类型具有选择框,以便终端设备将勾选中的文件类型进行清理。In a possible implementation manner, the recommended cleaning list includes one or more file types; each file type in the recommended cleaning list has a selection box so that the terminal device can clean the selected file types.
在一个可能的实施方式中,文件类型包括:图片、视频、音频和应用安装包中的至少一个。In a possible implementation manner, the file type includes at least one of pictures, videos, audios, and application installation packages.
在一个可能的实施方式中,文件类型包括:模糊图片、相似图片、二维码、广告、截图和表情中的至少一个。In a possible implementation manner, the file type includes: at least one of fuzzy pictures, similar pictures, two-dimensional codes, advertisements, screenshots, and emoticons.
第四方面,提供了一种高效清理设备文件的装置,其特征在于,装置包括:接收模块,用于接收多个终端设备发送的第一文件类型和/或第二文件类型;处理模块,用于当推荐第一文件类型的终端设备数量大于等于第三阈值时,将第一文件类型作为推荐清理文件类型;以及当推荐第二文件类型的终端设备数量大于等于第三阈值时,将第二文件类型作为服务器推荐清理文件类型;发送模块,用于将服务器推荐清理文件类型发送至多个终端设备之外的其它终端设备。In a fourth aspect, an apparatus for efficiently cleaning device files is provided, characterized in that the apparatus includes: a receiving module for receiving a first file type and/or a second file type sent by multiple terminal devices; a processing module for When the number of terminal devices recommending the first file type is greater than or equal to the third threshold, the first file type is used as the recommended cleaning file type; and when the number of terminal devices recommending the second file type is greater than or equal to the third threshold, the second The file type is used as the recommended cleaning file type of the server; the sending module is used to send the recommended cleaning file type of the server to other terminal devices except multiple terminal devices.
第五方面,提供了一种终端,终端包括处理器,处理器与存储器耦合,处理器读取并执行存储器中的指令,使得终端执行第一方面的方法。In a fifth aspect, a terminal is provided. The terminal includes a processor, the processor is coupled with a memory, and the processor reads and executes instructions in the memory, so that the terminal executes the method of the first aspect.
第六方面,提供了一种终端,终端包括处理器,处理器与存储器耦合,处理器读取并执行存储器中的指令,使得服务器执行第二方面的方法。In a sixth aspect, a terminal is provided, the terminal includes a processor, the processor is coupled with a memory, and the processor reads and executes instructions in the memory, so that the server executes the method of the second aspect.
第七方面,提供了一种存储程序的计算机可读存储介质,程序包括指令,指令当被计算机执行时,使计算机执行第一方面的方法。In a seventh aspect, a computer-readable storage medium storing a program is provided. The program includes instructions. When the instructions are executed by a computer, the computer executes the method of the first aspect.
第八方面,提供了一种存储程序的计算机可读存储介质,程序包括指令,指令当被计算机执行时,使计算机执行第二方面的方法。In an eighth aspect, a computer-readable storage medium storing a program is provided. The program includes instructions. When the instructions are executed by a computer, the computer executes the method of the second aspect.
第九方面,提供了一种包含指令的计算机程序产品,当其在终端上运行时,使得第一方面的方法被执行。In a ninth aspect, a computer program product containing instructions is provided, which when run on a terminal, causes the method of the first aspect to be executed.
第十方面,提供了一种包含指令的计算机程序产品,当其在电子设备上运行时,使得第二方面的方法被执行。In a tenth aspect, a computer program product containing instructions is provided, which when run on an electronic device, causes the method of the second aspect to be executed.
本申请公开了一种高效清理设备文件的方法及装置,通过识别文件的文件类型,并记录每个文件类型被清理的频率,当被清理频率较高时,将该文件类型推荐出来。可以有效的帮助终端设备的使用者更简单快速的清理终端设备中的垃圾文件,并且无需手动挑选需要清理的文件,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。This application discloses a method and device for efficiently cleaning equipment files. By identifying the file type of the file, and recording the frequency of each file type being cleaned, when the frequency of cleaning is high, the file type is recommended. It can effectively help terminal device users to clean up junk files in the terminal device more simply and quickly, and there is no need to manually select the files that need to be cleaned, making the cleaning operation more convenient, shortening the time to clean files, and improving the efficiency and ease of cleaning. Usability.
附图说明Description of the drawings
图1为本申请实施例提供的一种文件清理示意图;Figure 1 is a schematic diagram of file cleaning provided by an embodiment of the application;
图2为本申请实施例提供的一种高效清理设备文件的方法流程图;FIG. 2 is a flowchart of a method for efficiently cleaning device files according to an embodiment of the application;
图3为本申请实施例提供的另一种高效清理设备文件的方法流程图;FIG. 3 is a flowchart of another method for efficiently cleaning device files according to an embodiment of the application;
图4为本申请实施例提供的再一种高效清理设备文件的方法流程图;FIG. 4 is a flowchart of another method for efficiently cleaning device files according to an embodiment of the application;
图5为本申请实施例提供的又一种高效清理设备文件的方法流程图;FIG. 5 is a flowchart of another method for efficiently cleaning device files according to an embodiment of the application;
图6为本申请实施例提供的一种高效文件清理示意图;Figure 6 is a schematic diagram of an efficient file cleaning provided by an embodiment of the application;
图7为本申请实施例提供的另一种高效文件清理示意图;FIG. 7 is a schematic diagram of another efficient file cleaning provided by an embodiment of the application;
图8为本申请实施例提供的再一种高效文件清理示意图;FIG. 8 is a schematic diagram of yet another efficient file cleaning provided by an embodiment of the application;
图9为本申请实施例提供的一种高效清理设备文件的装置示意图;FIG. 9 is a schematic diagram of an apparatus for efficiently cleaning device files according to an embodiment of the application;
图10为本申请实施例提供的另一种高效清理设备文件的装置示意图;FIG. 10 is a schematic diagram of another device for efficiently cleaning device files according to an embodiment of the application;
图11为本申请实施例提供的一种终端的结构示意图;FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of this application;
图12为本申请实施例提供的一种服务器的结构示意图。FIG. 12 is a schematic structural diagram of a server provided by an embodiment of this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
本申请可以应用在用户清理终端设备上垃圾文件的场景。在该场景下,用户在使用终端设备的一些应用的过程中,会产生大量的文件。对于这些文件,一部分是用户会经常使用到的文件,而另一部分可能是用户临时会用到的文件,之后便不会再用,变成存在终端设备上的垃圾文件。但是对于这些垃圾文件的清理,在一些方案中,仅仅是将不同各个文件按照不同的文件类型,逐一呈现出来。对于用户来讲,当准备清 理终端设备的一些文件时,需要逐个筛选需要清理的类型,以及该类型下需要清理的文件。如图1所示,图1为本申请实施例提供的一种文件清理示意图。图1中终端设备以手机为例,示出了在该界面下,仅仅将文件按照不同的文件类型逐一显示。但是对于某一类型的文件并不会识别出哪一文件类型是用户高频清理的文件类型。对于用户来讲,需要单独挑选进行清理。This application can be applied to scenarios where users clean up junk files on terminal devices. In this scenario, the user will generate a large number of files when using some applications of the terminal device. For these files, some are files that users will frequently use, and the other may be files that users will use temporarily, which will no longer be used later and become junk files stored on terminal devices. But for the cleanup of these junk files, in some solutions, different files are presented one by one according to different file types. For users, when preparing to clean up some files of the terminal device, they need to filter the types that need to be cleaned, and the files that need to be cleaned under this type. As shown in FIG. 1, FIG. 1 is a schematic diagram of file cleaning provided by an embodiment of this application. The terminal device in Figure 1 takes a mobile phone as an example, showing that in this interface, only files are displayed one by one according to different file types. However, for a certain type of file, it is not recognized which file type is the file type that the user frequently cleans. For users, they need to be individually selected for cleaning.
针对上述问题,本申请通过记录这些被清理文件的清理频率,当达到一定频率后将该类型文件作为推荐。当用户再次清理文件时,将作为优先推荐,显示给用户,使得用户在清理文件时无需挑选需要清理的文件,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。In response to the above-mentioned problems, this application records the cleaning frequency of these cleaned files, and recommends this type of file when a certain frequency is reached. When the user cleans up the file again, it will be shown to the user as a priority recommendation, so that the user does not need to select the file to be cleaned when cleaning the file, which makes the cleaning operation more convenient, shortens the time to clean the file, and improves the cleaning efficiency and ease of use Sex.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细描述。The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.
如图2所示,图2为本申请实施例提供的一种高效清理设备文件的方法流程图。As shown in FIG. 2, FIG. 2 is a flowchart of a method for efficiently cleaning device files according to an embodiment of the application.
图2提供了一种高效清理设备文件的方法。该方法可以应用于终端设备上。本领域人员应当注意,本申请中的涉及到的终端设备可以是手机、电脑、平板、可穿戴设备等任意终端设备。本申请在此不做限定。Figure 2 provides a method for efficiently cleaning device files. This method can be applied to terminal equipment. Those skilled in the art should note that the terminal devices involved in this application can be any terminal devices such as mobile phones, computers, tablets, and wearable devices. This application is not limited here.
该方法可以包括以下步骤:The method can include the following steps:
S201,终端设备识别应用使用过程中产生的文件的文件类型。S201: The terminal device recognizes the file type of the file generated during the use of the application.
在一个实施例中,终端设备识别自身设备在使用不同应用过程中时,产生的文件的文件类型。在一个例子中,例如终端设备可以是手机,手机可以识别自身在使用不同应用,例如手机在使用微信、微博、照相机、浏览器等不同应用时,在使用过程中产生的文件的文件类型。例如在使用微信、微博、照相机、浏览器等应用时,通过截图、截屏或保存的形式,产生了一些图片,并识别出文件类型为图片或视频;又或者在使用音乐播放器、浏览器、微博或微信等应用时,产生的文件类型为音乐的文件;又或者在使用微信、QQ等聊天工具时,产生了一些文件类型为文件的文件,例如word、excel、ppt、pdf等;又或者在使用应用商城下载应用时,产生了文件类型为应用安装包的文件等。In one embodiment, the terminal device recognizes the file type of the file generated when its own device uses different applications. In an example, for example, the terminal device may be a mobile phone, and the mobile phone can recognize that it is using different applications. For example, when the mobile phone uses different applications such as WeChat, Weibo, camera, and browser, the file type of the file generated during the use process. For example, when using WeChat, Weibo, camera, browser and other applications, some pictures are generated through screenshots, screenshots or saved, and the file type is recognized as pictures or videos; or when using a music player or browser , Weibo or WeChat and other applications, the generated file type is music file; or when using WeChat, QQ and other chat tools, some file types are generated, such as word, excel, ppt, pdf, etc.; Or, when downloading the application using the application store, a file of the application installation package is generated.
在一个例子中,终端可以在进行扫描文件时,识别文件的文件类型。在另一个例子中,终端可以在文件生成的时候,便立即识别出该文件的文件类型。在另一个例子中,当用户选择文件删除时,终端识别待删除文件的文件类型。In one example, the terminal can identify the file type of the file when scanning the file. In another example, the terminal can immediately recognize the file type of the file when the file is generated. In another example, when the user selects file deletion, the terminal identifies the file type of the file to be deleted.
本领域人员应当注意,本申请涉及到的文件类型并不局限于上述举例,还可以包括任意一种文件类型,任何可轻易想到的变化或替换,均应涵盖在本申请的保护范围之内。Those skilled in the art should note that the file types involved in this application are not limited to the above examples, and can also include any file type. Any easily conceivable changes or substitutions should be covered by the protection scope of this application.
在一个实施例中,文件类型可以包括:图片、视频、音频和应用安装包等等中的至少一个。In one embodiment, the file type may include at least one of pictures, videos, audios, application installation packages, and so on.
在一个例子中,文件类型可以按照文件格式划分,例如图片、音频、视频、安装包、word、ppt等。在另一个例子中,文件类型也可以按照文件的来源进行划分,例如微信、相机、浏览器中产生的文件等。In an example, the file types can be classified according to file formats, such as pictures, audios, videos, installation packages, word, ppt, etc. In another example, file types can also be classified according to the source of the file, such as WeChat, camera, and files generated in a browser.
在一个实施例中,对于文件类型如图片的文件,还可以识别出更详细的分类。在一个例子中,对于图片,还可以根据画质进行划分,例如模糊图片和清晰图片等。在另一个例子中,文件类型还可以根据用途划分,例如二维码、广告、截图和表情等等 中的至少一个。再一个例子中,文件类型还可以根据图片的内容划分,例如有二维码、人物、风景、建筑、美食、花朵、天空、等等不同的文件类型。又一个例子中,文件类型还可以包括相似图片等。本领域人员应当注意,上述这些文件分类并不是唯一的,还可以按照其他条件进行分类,本申请在此不作限定。In one embodiment, for files of file types such as pictures, more detailed classifications can also be identified. In an example, the picture can also be divided according to the picture quality, such as a blurred picture and a clear picture. In another example, file types can also be classified according to usage, such as at least one of two-dimensional codes, advertisements, screenshots, and emoticons. In another example, the file types can also be classified according to the content of the pictures, for example, there are different file types such as two-dimensional code, people, scenery, architecture, food, flowers, sky, etc. In another example, the file type may also include similar pictures. Those in the art should note that the above-mentioned file classifications are not unique, and can be classified according to other conditions, and this application is not limited here.
再一个例子中,还可以识别出文件的大小,例如不同图片占用该终端设备存储空间的数据大小。In another example, the file size can also be identified, for example, the data size of the storage space of the terminal device occupied by different pictures.
S202,记录第一文件类型的文件被清理的频率。S202: Record the frequency at which files of the first file type are cleaned up.
在一个例子中,手机记录各个文件类型的文件被清理的频率。其中,被清理的频率可以是一段时间内,该文件类型的文件被清理的次数。例如一段时间可以设置为一个月、三个月、半年、一年等。在另一个例子中,每当删除一个该文件类型的文件时,被清理的次数便可以进行加一。在另一个例子中,每当删除一次该文件类型的文件时,被清理的次数便可以进行加一,删除一次该文件类型的文件可以是一次删除多个该文件类型的文件。本领域人员应当注意,本申请中涉及到的清理频率的一段时间可以是任意的固定时间段,本申请在此不做限定。In one example, the mobile phone records how often files of various file types are cleaned up. Wherein, the frequency of being cleaned may be the number of times that files of the file type are cleaned in a period of time. For example, the period of time can be set to one month, three months, half a year, one year, etc. In another example, each time a file of this file type is deleted, the number of times it has been cleaned up can be increased by one. In another example, each time a file of the file type is deleted, the number of times that it is cleaned up can be increased by one, and deleting a file of the file type once may be deleting multiple files of the file type at one time. Those skilled in the art should note that the period of cleaning frequency involved in this application can be any fixed period of time, which is not limited in this application.
在一个例在中,可以记录第一文件类型的文件被清理的频率。In one example, the frequency with which files of the first file type are cleaned can be recorded.
S203,当第一文件类型的文件被清理的频率大于或等于第一阈值时,将第一文件类型作为第一推荐清理文件类型,并添加在推荐清理的列表内。S203: When the frequency of cleaning files of the first file type is greater than or equal to the first threshold, the first file type is used as the first recommended cleaning file type and added to the list of recommended cleaning.
在一个实施例中,当第一文件类型的文件被清理的频率大于或等于第一阈值时,将该文件类型作为第一推荐清理文件类型,并添加在推荐清理的列表内。在一个例子中,例如文件类型为二维码的文件被清理的频率为一个月内清理了5次,而预设的第一阈值可以是一个月内清理3次,则手机确定二维码类型的文件被清理的频率大于预设的第一阈值,则将二维码类型作为第一推荐清理文件类型,添加在推荐清理的列表内。则当用户进行文件清理时,在推荐列表内将显示二维码类型,作为优先推荐清理。在另一个例子中,例如文件类型为二维码的文件被清理的频率为第一个月内清理了5次,而预设的第一阈值可以是每个月内清理3次,则手机确定二维码类型的文件被清理的频率大于预设的第一阈值,先不将二维码类型作为第一推荐清理文件类型,添加在推荐清理的列表内,当第二个月内清理了4次,第三个月内清理了6次,手机检测到连续3个次二维码类型的文件被清理的频率均大于3次,则将二维码类型作为第一推荐清理文件类型,添加在推荐清理的列表内。则当用户进行文件清理时,在推荐列表内将显示二维码类型,作为优先推荐清理。在另一个例子中,例如文件类型为二维码的文件被清理的频率为第一个月内清理了5次,而预设的第一阈值可以是每个月内清理3次,则手机确定二维码类型的文件被清理的频率大于预设的第一阈值,先不将二维码类型作为第一推荐清理文件类型,添加在推荐清理的列表内,当第二个月内清理了2次,第三个月内清理了6次,手机检测到超过2次的二维码类型的文件被清理的频率均大于3次,则将二维码类型作为第一推荐清理文件类型,添加在推荐清理的列表内。则当用户进行文件清理时,在推荐列表内将显示二维码类型,作为优先推荐清理。S204,将推荐清理的列表内勾选中的文件类型进行一键清理;或选中推荐清理的列表内的文件类型,对该文件类型内的文件进行单独筛选,并进行清理。In one embodiment, when the frequency of cleaning files of the first file type is greater than or equal to the first threshold, the file type is regarded as the first recommended cleaning file type and added to the recommended cleaning list. In an example, for example, the file type of a QR code file is cleaned 5 times in a month, and the preset first threshold can be cleaned 3 times in a month, the mobile phone determines the QR code type If the frequency of the file being cleaned is greater than the preset first threshold, the QR code type is used as the first recommended file type to be cleaned and added to the list of recommended cleansing. When the user cleans up the file, the QR code type will be displayed in the recommendation list as a priority recommendation for cleaning. In another example, for example, the frequency that a file with a QR code file type is cleaned 5 times in the first month, and the preset first threshold can be cleaned 3 times a month, the mobile phone determines The QR code type files are cleaned more frequently than the preset first threshold. First, the QR code type is not used as the first recommended file type to be cleaned, and it is added to the list of recommended cleansing. When 4 is cleaned in the second month 2 times, 6 times in the third month, the mobile phone detects that the frequency of 3 consecutive times that the QR code file has been cleaned is more than 3 times, then the QR code type is the first recommended file type to be cleaned up and added It is recommended to clean up the list. When the user cleans up the file, the QR code type will be displayed in the recommendation list as a priority recommendation for cleaning. In another example, for example, the frequency that a file with a QR code file type is cleaned 5 times in the first month, and the preset first threshold can be cleaned 3 times a month, the mobile phone determines The frequency with which files of the QR code type are cleaned up is greater than the preset first threshold. First, the QR code type is not used as the first recommended file type to be cleaned, and it is added to the list of recommended cleanups. When it is cleaned in the second month 2 2 times, 6 times in the third month, the mobile phone detects more than 2 times of the two-dimensional code type files are cleaned up more than 3 times, the two-dimensional code type as the first recommended file type to clean up, add It is recommended to clean up the list. When the user cleans up the file, the QR code type will be displayed in the recommendation list as a priority recommendation for cleaning. S204: Perform one-click cleaning of the file types selected in the recommended cleaning list; or select the file types in the recommended cleaning list, individually filter the files in the file type, and perform cleaning.
在一个实施例中,推荐清理的列表内包括一种或多种文件类型。推荐清理的列表 内的每个文件类型可以具有选择框,以便用户选择一个或多个文件类型,终端设备将勾选中的文件类型进行清理。In one embodiment, the recommended cleaning list includes one or more file types. Each file type in the recommended cleaning list can have a selection box so that the user can select one or more file types, and the terminal device will check the selected file types for cleaning.
在一个实施例中,用户可以在推荐清理的列表内,将勾选中的文件类型进行一键清理,从而实现快速清理,不必用户单独筛选。在另一个实施例中,若当前推荐清理的文件类型中有部分文件仍需保留。则用户还可以选中推荐清理列表内的该文件类型,并对该文件类型内的具体文件进行逐一筛选,将单独筛选过的文件再进行清理。In one embodiment, the user can perform one-click cleaning of the selected file types in the recommended cleaning list, so as to achieve rapid cleaning without the user having to filter separately. In another embodiment, if some files of the file types currently recommended for cleaning still need to be kept. The user can also select the file type in the recommended cleaning list, and filter the specific files in the file type one by one, and then clean the files that have been individually filtered.
在一个例子中,第一推荐清理文件类型在推荐清理列表内,默认为勾选状态。以便用户在进行清理时,无需再次手动勾选,简化清理操作,提高清理效率。In one example, the first recommended cleaning file type is in the recommended cleaning list, and it is checked by default. So that users do not need to manually check again when cleaning up, simplifying the cleaning operation and improving the efficiency of cleaning.
如图3所示,图3为本申请实施例提供的另一种高效清理设备文件的方法流程图。As shown in FIG. 3, FIG. 3 is a flowchart of another method for efficiently cleaning device files according to an embodiment of the application.
在图2示出的S201之后,还可以包括以下步骤:After S201 shown in FIG. 2, the following steps may be further included:
S205,记录第二文件类型的文件被使用的次数。S205: Record the number of times the file of the second file type is used.
在一个例子中,手机记录各个文件类型的文件被使用的次数。其中,被使用的次数可以是一段时间内,该文件类型的文件被使用的次数。例如一段时间可以设置为最近一个月、最近三个月、最近半年、最近一年等。比如应用安装包1在最近一个月内被仅仅调用过1次,应用安装包2在最近一个月内也被仅仅调用过1次,终端设备就可以将应用安装包这个文件类型作为推荐文件类型进行推荐;又或者是某些截图在最近一个月内仅仅被使用1次,有些截图甚至一次没用,可以将截图这个文件类型作为推荐文件类型进行推荐。In one example, the mobile phone records the number of times a file of each file type is used. The number of times used may be the number of times a file of the file type is used within a period of time. For example, the period of time can be set to the last month, the last three months, the last six months, the last year, etc. For example, application installation package 1 has been called only once in the last month, and application installation package 2 has been called only once in the last month. The terminal device can use the file type of application installation package as the recommended file type. Recommended; or some screenshots have only been used once in the last month, and some screenshots are useless even once. You can recommend the screenshot file type as the recommended file type.
S206,当文件类型的文件被使用的次数小于或等于第二阈值时,将第二文件类型作为第二推荐清理文件类型,并添加在推荐清理的列表内。S206: When the number of times the file of the file type is used is less than or equal to the second threshold, the second file type is taken as the second recommended cleaning file type and added to the recommended cleaning list.
在一个实施例中,对于终端设备例如手机,还可以识别文件类型被使用的次数。例如当某一文件类型的文件被使用次数过少时,可以认定该文件类型的文件并不被用户经常使用。而对于不经常使用的文件,却长时间占用着手机的存储空间,则手机可以认定该文件类型的文件为垃圾文件,可以被推荐清理。在一个例子中,例如手机识别某些截图仅仅在使用过1次,甚至1次都没使用过。可以预先设置第二阈值为1次。手机确定文件类型为截图的文件,当手机确定该截图类型的文件被使用次数少于第二阈值时,则确定截图类型为第二推荐清理文件类型,并添加在推荐清理的列表内,以便用户在清理垃圾文件时,更加方便快捷的对垃圾文件进行清理。In an embodiment, for a terminal device such as a mobile phone, the number of times the file type is used can also be identified. For example, when a file of a certain file type is used too few times, it can be determined that the file of this file type is not frequently used by the user. For files that are not frequently used, but occupy the storage space of the mobile phone for a long time, the mobile phone can determine that the files of this file type are junk files and can be recommended for cleaning. In one example, for example, the mobile phone recognizes that certain screenshots have only been used once, or even not used once. The second threshold can be preset to 1 time. The mobile phone determines that the file type is a screenshot file. When the mobile phone determines that the number of times a file of this screenshot type has been used is less than the second threshold, it determines that the screenshot type is the second recommended cleaning file type and adds it to the recommended cleaning list for users When cleaning up junk files, it is more convenient and quick to clean up junk files.
在S206之后,可以继续执行如图2示出的S204。After S206, S204 as shown in FIG. 2 can be continued.
在一个例子中,第二推荐清理文件类型在推荐清理列表内,默认为勾选状态。以便用户在进行清理时,无需再次手动勾选,简化清理操作,提高清理效率。In one example, the second recommended cleaning file type is in the recommended cleaning list, and it is checked by default. So that users do not need to manually check again when cleaning up, simplifying the cleaning operation and improving the efficiency of cleaning.
可以理解地,上述图2和图3所示实施例可以结合实现,终端设备识别出被清理频率高的文件类型和使用次数较少的文件类型,都显示在推荐清理列表中。It is understandable that the above embodiments shown in FIG. 2 and FIG. 3 can be implemented in combination, and the terminal device recognizes the file types that are frequently cleaned up and the file types that are used less frequently, and both are displayed in the recommended cleanup list.
如图4所示,图4为本申请实施例提供的再一种高效清理设备文件的方法流程图。As shown in FIG. 4, FIG. 4 is a flowchart of yet another method for efficiently cleaning device files according to an embodiment of the application.
在图2示出的S203或图3示出的S206之后,还可以包括以下步骤:After S203 shown in FIG. 2 or S206 shown in FIG. 3, the following steps may be further included:
S207,将第一推荐清理文件类型和/或第二推荐清理文件类型发送至服务器,以便服务器根据第一推荐清理文件类型和/或第二推荐清理文件类型,确定第三推荐清理文件类型。S207: Send the first recommended cleaning file type and/or the second recommended cleaning file type to the server, so that the server determines the third recommended cleaning file type according to the first recommended cleaning file type and/or the second recommended cleaning file type.
在一个实施例中,手机可以将自身经常清理的文件类型,即推荐的第一推荐清理 文件类型,以及自身不经常用到的文件类型,即第二推荐清理文件类型,发送至服务器。以便服务器可以根据多个不同手机推荐的推荐清理文件类型,确定服务器推荐清理文件类型,为其它手机推荐相应的清理文件类型,即第三推荐清理文件类型。In one embodiment, the mobile phone can send the file types that it cleans frequently, that is, the recommended first recommended clean file type, and the file types that it does not frequently use, that is, the second recommended clean file type, to the server. So that the server can determine the recommended cleaning file type for the server according to the recommended cleaning file types recommended by multiple different mobile phones, and recommend the corresponding cleaning file type for other mobile phones, that is, the third recommended cleaning file type.
在一个例子中,当第三推荐清理文件类型为第一推荐清理文件类型时,服务器可以识别出哪些终端设备发送过第一推荐清理文件类型,并在发送第三推荐清理文件类型时,避开发送过第一推荐清理文件类型的终端设备,而给其它终端设备发送第三推荐清理文件类型。当然,可以理解的是,在另一个例子中,服务器可以直接发送第三推荐清理文件类型,无需考虑该终端设备是否发送过第一推荐清理文件类型。此外手机还可以接收到服务器发送到的第三推荐清理文件类型,如下步骤S208In an example, when the third recommended cleaning file type is the first recommended cleaning file type, the server can identify which terminal devices have sent the first recommended cleaning file type, and avoid when sending the third recommended cleaning file type The terminal device that has sent the first recommended cleaning file type, and the third recommended cleaning file type is sent to other terminal devices. Of course, it is understandable that, in another example, the server may directly send the third recommended cleaning file type, regardless of whether the terminal device has sent the first recommended cleaning file type. In addition, the mobile phone can also receive the third recommended cleaning file type sent by the server, as follows: S208
S208,接收服务器发送的第三推荐清理文件类型,并将服务器发送的第三推荐清理文件类型添加在推荐清理的列表内。S208: Receive the third recommended cleaning file type sent by the server, and add the third recommended cleaning file type sent by the server to the recommended cleaning list.
在另一个实施例中,手机接收到服务器发送的服务器推荐清理文件类型,即第三推荐清理文件类型,手机可以判断自身是否已经有推荐清理的文件类型和第三推荐清理文件类型相同。例如服务器发送的第三推荐清理文件类型为该手机已经确定出的第一推荐清理文件类型,并已经存在于推荐清理列表内,则无需再次添加。若服务器发送的第三推荐清理文件类型为该手机识别出的文件类型之一,但不是该手机已经确定出的第一推荐清理文件类型和第二推荐清理文件类型,但并未出现在推荐清理列表内,则手机可以将第三推荐清理文件类型添加在推荐清理的列表内,以便用户进行推荐清理。若服务器发送的第三推荐清理文件类型不是该手机识别出的文件类型之一,且不是该手机已经确定出的第一推荐清理文件类型和第二推荐清理文件类型,同时也并未出现在推荐清理列表内,则手机可以将该推荐清理文件类型添加在推荐清理的列表内,以便用户进行推荐清理。本领域人员应当注意,当服务器发送的第三推荐清理文件类型不是该手机识别出的文件类型之一,也并未出现在推荐清理列表内时,可以根据实际情况选择添加或不添加,本申请在此不作限定。In another embodiment, the mobile phone receives the server recommended cleaning file type sent by the server, that is, the third recommended cleaning file type, and the mobile phone can determine whether it has the same recommended cleaning file type as the third recommended cleaning file type. For example, the third recommended cleaning file type sent by the server is the first recommended cleaning file type that has been determined by the mobile phone and already exists in the recommended cleaning list, so there is no need to add it again. If the third recommended cleaning file type sent by the server is one of the file types recognized by the mobile phone, but not the first recommended cleaning file type and the second recommended cleaning file type that the mobile phone has determined, but it does not appear in the recommended cleaning In the list, the mobile phone can add the third recommended cleaning file type to the recommended cleaning list, so that the user can recommend cleaning. If the third recommended cleaning file type sent by the server is not one of the file types recognized by the mobile phone, and it is not the first recommended cleaning file type and the second recommended cleaning file type that the mobile phone has determined, it does not appear in the recommended In the cleaning list, the mobile phone can add the recommended cleaning file type to the recommended cleaning list, so that the user can recommend cleaning. Those skilled in the art should note that when the third recommended cleaning file type sent by the server is not one of the file types identified by the mobile phone and does not appear in the recommended cleaning list, you can choose to add or not add it according to the actual situation. It is not limited here.
在一个例子中,服务器发送的第三推荐清理文件类型在推荐清理列表内,默认为不勾选状态。用户在进行清理的时候,可以根据实际情况进行单独勾选。In an example, the third recommended cleaning file type sent by the server is in the recommended cleaning list, and the default is not checked. When the user cleans up, he can check it separately according to the actual situation.
此外手机还可以接收到服务器发送到的第四推荐清理文件类型,手机可以采用上述处理方式处理。In addition, the mobile phone can also receive the fourth recommended cleaning file type sent by the server, and the mobile phone can use the above processing method to process.
本领域人员应当注意,步骤S207和S208没有先后执行顺序。Those skilled in the art should note that there is no order in which steps S207 and S208 are executed sequentially.
在S208之后,可以继续执行如图2示出的S204。After S208, S204 as shown in FIG. 2 can be continued.
本领域人员还应当注意,步骤207和208也可以在步骤204之后执行。Those skilled in the art should also note that steps 207 and 208 may also be performed after step 204.
本申请公开了一种高效清理设备文件的方法,通过识别文件的文件类型,并记录每个文件类型被清理的频率,当被清理频率较高时,将该文件类型推荐出来。可以有效的帮助终端设备的使用者更简单快速的清理终端设备中的垃圾文件,并且无需手动挑选需要清理的文件,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。This application discloses a method for efficiently cleaning device files. By identifying the file type of the file, and recording the frequency with which each file type is cleaned, when the frequency of cleaning is high, the file type is recommended. It can effectively help terminal device users to clean up junk files in the terminal device more simply and quickly, and there is no need to manually select the files that need to be cleaned, making the cleaning operation more convenient, shortening the time to clean files, and improving the efficiency and ease of cleaning. Usability.
如图5所示,图5为本申请实施例提供的又一种高效清理设备文件的方法流程图;As shown in FIG. 5, FIG. 5 is a flowchart of another method for efficiently cleaning device files according to an embodiment of the application;
图5提供了一种高效清理设备文件的方法。该方法可以应用于服务器上。该方法可以包括以下步骤:Figure 5 provides an efficient way to clean up device files. This method can be applied to the server. The method can include the following steps:
S501,接收多个终端设备发送的第一推荐清理文件类型和/或第二推荐清理文件类型。S501: Receive a first recommended cleaning file type and/or a second recommended cleaning file type sent by multiple terminal devices.
在一个实施例中,服务器接收多个终端设备发送的第一推荐清理文件类型和/或第二推荐清理文件类型。其中,终端设备也可以是一个或者多个不同的终端设备。在一个例子中,终端设备可以只发送第一推荐清理文件类型,或只发送第二推荐清理文件类型,在另一个例子中,也可以同时发送第一推荐清理文件类型和第二推荐清理文件类型;在另一个例子中,第一终端设备可以发送第一文件类型,第二终端设备可以发送第二文件类型。In an embodiment, the server receives the first recommended cleaning file type and/or the second recommended cleaning file type sent by multiple terminal devices. Among them, the terminal device may also be one or more different terminal devices. In one example, the terminal device may send only the first recommended cleaning file type, or only the second recommended cleaning file type. In another example, the first recommended cleaning file type and the second recommended cleaning file type may also be sent at the same time. In another example, the first terminal device can send the first file type, and the second terminal device can send the second file type.
S502,当推荐第一推荐清理文件类型的终端设备数量大于等于第三阈值时,将第一推荐清理文件类型作为第三推荐清理文件类型;以及当推荐第二文件类型的终端设备数量大于等于第三阈值时,将第二文件类型作为第四推荐清理文件类型。服务器推荐清理文件类型包括第三推荐清理文件类型和第四推荐清理文件类型。S502: When the number of terminal devices recommending the first recommended file type to be cleaned is greater than or equal to a third threshold, use the first recommended file type to be cleaned as the third recommended file type; and when the number of terminal devices recommending the second file type is greater than or equal to the first When the threshold is three, the second file type is used as the fourth recommended file type for cleaning. The server recommended file types for cleaning include the third recommended file type for cleaning and the fourth recommended file type for cleaning.
在一个例子中,假设服务器确定推荐清理文件类型是截图类型的终端设备有5000个,而预先设定的第三阈值可以是1000。当服务器可以确定推荐清理类型是截图类型的终端设备数量大于第三阈值1000,则可以将截图类型作为服务器推荐清理文件类型,即第三推荐清理文件类型。In an example, suppose that the server determines that there are 5000 terminal devices whose recommended cleaning file type is the screenshot type, and the preset third threshold may be 1000. When the server can determine that the number of terminal devices whose recommended cleaning type is a screenshot type is greater than the third threshold 1000, the screenshot type can be used as the server recommended cleaning file type, that is, the third recommended cleaning file type.
S503,将服务器推荐清理文件类型发送至终端设备。S503: Send the file type recommended by the server to be cleaned up to the terminal device.
在一个实施例中,服务器将确定出的服务器推荐清理文件类型发送至各个终端设备,以便各个终端设备在接收到服务器推荐清理文件类型后,根据自身设备情况进行相应推荐。在一个例子中,服务器可以将第三推荐清理文件类型发送至所述多个终端设备之外的其它终端设备,例如服务器发送的文件类型为A文件类型,当A手机推荐了A文件类型,则服务器可以发送未推荐A文件类型的其他手机。在另一个例子中,也可以无差别的发送给各个终端设备,例如服务器发送的文件类型为A文件类型,服务器无需知道A手机是否推荐了A文件类型,服务器只需要发送A文件类型至包括A手机内的各个手机即可。例如,第三推荐清理文件类型可以为截图,服务器将截图类型作为推荐清理发送至各个终端设备,各个终端设备便根据自身设备的清理文件情况,将截图类型作为推荐清理推荐给用户。In one embodiment, the server sends the determined file type recommended by the server to be cleaned up to each terminal device, so that after receiving the file type recommended by the server to clean up, each terminal device makes a corresponding recommendation according to its own device situation. In an example, the server may send the third recommended clean-up file type to other terminal devices other than the multiple terminal devices. For example, the file type sent by the server is file type A. When mobile phone A recommends file type A, The server can send other mobile phones that do not recommend A file type. In another example, it can also be sent to each terminal device indiscriminately. For example, the file type sent by the server is file type A, and the server does not need to know whether A mobile phone recommends file type A. The server only needs to send file type A to include file type A. All the phones in the phone are fine. For example, the third recommended cleaning file type may be a screenshot, and the server sends the screenshot type as recommended cleaning to each terminal device, and each terminal device recommends the screenshot type as recommended cleaning to the user according to the file cleaning status of its own device.
本申请公开了一种高效清理设备文件的方法,通过将推荐文件类型上报至服务器,服务器再根据不同终端设备上报的信息,进行综合判断。当服务器确定出某一文件类型有大部分终端设备均将其作为推荐,则服务器也可以将该类型作为推荐,推荐给其它终端设备,以便其它终端设备可以将该类型作为一种可选的清理项,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。This application discloses a method for efficiently cleaning device files. The recommended file type is reported to a server, and the server makes a comprehensive judgment based on the information reported by different terminal devices. When the server determines that a certain file type has most of the terminal devices as a recommendation, the server can also recommend the type as a recommendation to other terminal devices, so that other terminal devices can use this type as an optional cleaning Items make the cleaning operation more convenient, shorten the time for cleaning files, and improve the efficiency and ease of cleaning.
如图6所示,图6为本申请实施例提供的一种高效文件清理示意图。As shown in FIG. 6, FIG. 6 is a schematic diagram of an efficient file cleaning provided by an embodiment of the application.
图6中终端设备以手机为例,示出了一种高效文件清理的显示界面。在该界面下,可以看出将文件类型为模糊图片作为了推荐清理文件类型,在推荐清理列表下进行了显示,同时默认勾选中该文件类型。用户可以根据该推荐,选择“一键清理”按钮,实现快速清理垃圾文件。用户可以点击该文件类型,例如“模糊图片”,进入该文件类型的下一层级。如图6中右侧界面显示,对于该模糊图片的文件类型下,用户可以根据自身实际需求,通过对该文件类型下的文件逐一筛选,进行有选择性的删除。例 如图6中右侧中,每个图片都具有勾选框,当图片的勾选框被勾选后,点击下方“清理”按钮,则可以将勾选中的图片进行删除。The terminal device in Fig. 6 takes a mobile phone as an example, showing a display interface for efficient file cleaning. In this interface, it can be seen that the file type is fuzzy picture as the recommended cleaning file type, which is displayed under the recommended cleaning list, and the file type is checked by default. The user can select the "one-click cleanup" button based on the recommendation to quickly clean up junk files. The user can click on the file type, such as "fuzzy picture" to enter the next level of the file type. As shown in the right interface in Figure 6, for the file type of the fuzzy picture, the user can selectively delete the files under the file type according to their actual needs by filtering the files under the file type one by one. For example, in the right side of Figure 6, each picture has a check box. When the check box of the picture is checked, click the "Clean up" button below to delete the checked pictures.
如图7所示,图7为本申请实施例提供的另一种高效文件清理示意图。As shown in FIG. 7, FIG. 7 is a schematic diagram of another efficient file cleaning provided by an embodiment of the application.
图7中终端设备以手机为例,示出了一种高效文件清理的显示界面。在该界面下,可以看出将文件类型为相似图片作为了推荐清理文件类型,在推荐清理列表下进行了显示,同时默认勾选中该文件类型。用户可以根据该推荐,选择“一键清理”按钮,实现快速清理垃圾文件。用户点击该文件类型,例如“相似图片”,进入该文件类型的下一层级。如图7中右侧界面显示,对于该相似图片的文件类型下,用户可以根据自身实际需求,通过对该文件类型下的文件逐一筛选,进行有选择性的删除。例如图7中右侧中,每个图片都具有勾选框。系统默认选中相似图片中的一张图片,同时用户也可以选择性的将相似的两张图片均选中,也可以有选择性的选中一部分图片。当图片的勾选框被勾选后,点击下方“清理”按钮,则可以将勾选中的图片进行删除。The terminal device in Fig. 7 takes a mobile phone as an example, showing a display interface for efficient file cleaning. In this interface, it can be seen that the file type is similar to the picture as the recommended cleaning file type, which is displayed under the recommended cleaning list, and the file type is checked by default. The user can select the "one-click cleanup" button based on the recommendation to quickly clean up junk files. The user clicks on the file type, such as "similar pictures", to enter the next level of the file type. As shown in the right interface in Figure 7, for the file type of the similar picture, the user can selectively delete the files under the file type according to their actual needs. For example, in the right side of Figure 7, each picture has a check box. The system selects one of the similar pictures by default. At the same time, the user can also select both similar two pictures, or select a part of the pictures. When the check box of the picture is checked, click the "Clean up" button below to delete the checked picture.
如图8所示,图8为本申请实施例提供的再一种高效文件清理示意图。As shown in FIG. 8, FIG. 8 is a schematic diagram of yet another efficient file cleaning provided by an embodiment of this application.
图8中终端设备以手机为例,示出了一种高效文件清理的显示界面。在该界面下,对于某一应用来说,可以显示出该应用下的推荐清理列表中的推荐清理文件类型,同时默认勾选中该文件类型。例如应用可以是微信,并且在推荐清理列表内,显示微信应用中产生的一些文件类型,如垃圾文件、朋友圈图片、朋友圈视频、二维码图片、广告图片、截图图片等等。用户可以根据该推荐,选择“一键清理”按钮,实现快速清理垃圾文件。用户也可以自己选择识别出来的推荐清理文件类型,例如用户可以只选择截图图片,然后选择“一键清理”按钮,实现快速清理截图图片。对于不同的文件类型下,用户可以根据自身实际需求,进入每个文件类型的下一层级,通过对该文件类型下的文件逐一筛选,进行有选择性的删除。当然,对于在该应用下,例如微信,还可以直接选择专项清理,即针对不同文件类型的文件进行清理。该专项清理可以包括推荐清理的文件类型,又或者不包括推荐清理的文件类型。本领域人员应当了解,专项清理即是在手机进行推荐某些文件类型之前的,针对不同文件类型的清理方式。The terminal device in FIG. 8 takes a mobile phone as an example, showing a display interface for efficient file cleaning. In this interface, for a certain application, the recommended cleaning file type in the recommended cleaning list under the application can be displayed, and the file type is checked by default. For example, the application can be WeChat, and some file types generated in the WeChat application, such as junk files, Moments pictures, Moments videos, QR code pictures, advertisement pictures, screenshot pictures, etc., are displayed in the recommended cleaning list. The user can select the "one-click cleanup" button based on the recommendation to quickly clean up junk files. The user can also choose the recognized recommended file type for cleaning. For example, the user can select only the screenshot image and then select the "one-click cleaning" button to quickly clean up the screenshot image. For different file types, users can enter the next level of each file type according to their actual needs, and selectively delete the files under that file type by filtering them one by one. Of course, for this application, such as WeChat, you can also directly select special cleaning, that is, cleaning files of different file types. The special cleaning may include file types recommended for cleaning, or may not include file types recommended for cleaning. Those skilled in the art should understand that special cleaning is the cleaning method for different file types before the mobile phone recommends certain file types.
如图9所示,图9为本申请实施例提供的一种高效清理设备文件的装置示意图。As shown in FIG. 9, FIG. 9 is a schematic diagram of an apparatus for efficiently cleaning device files according to an embodiment of the application.
图9提供了一种高效清理设备文件的装置900。该装置900可以是终端设备,装置900包括:识别模块901,用于识别应用使用过程中产生的文件的文件类型;计数模块902,用于记录第一文件类型的文件被清理的频率;处理模块903,用于当第一文件类型的文件被清理的频率大于或等于第一阈值时,将第一文件类型作为第一推荐清理文件类型,并添加在推荐清理的列表内。FIG. 9 provides an apparatus 900 for efficiently cleaning device files. The device 900 may be a terminal device. The device 900 includes: an identification module 901, used to identify the file type of a file generated during the use of the application; a counting module 902, used to record how often files of the first file type are cleaned; a processing module 903: When the frequency of cleaning files of the first file type is greater than or equal to the first threshold, the first file type is used as the first recommended cleaning file type and added to the recommended cleaning list.
在一个可能的实施方式中,计数模块902还用于,记录第二文件类型的文件被使用的次数;处理模块903还用于:当第二文件类型的文件被使用的次数小于或等于第二阈值时,将第二文件类型作为第二推荐清理文件类型,并添加在推荐清理的列表内。In a possible implementation, the counting module 902 is also used to record the number of times the file of the second file type is used; the processing module 903 is also used to: when the number of times the file of the second file type is used is less than or equal to the second When the threshold is set, the second file type is used as the second recommended file type for cleaning and added to the list of recommended cleaning.
在一个可能的实施方式中,装置900还包括:发送模块904,用于将第一推荐清理文件类型和/或第二推荐清理文件类型发送至服务器,以便服务器根据第一推荐清理文件类型和/或第二推荐清理文件类型确定第三推荐清理文件类型。In a possible implementation manner, the apparatus 900 further includes: a sending module 904, configured to send the first recommended cleaning file type and/or the second recommended cleaning file type to the server, so that the server can clean the file type and/or according to the first recommendation. Or the second recommended cleaning file type determines the third recommended cleaning file type.
在一个可能的实施方式中,装置900还包括:接收模块905,用于接收服务器发送的第三推荐清理文件类型,并将服务器发送的第三推荐清理文件类型添加在推荐清 理的列表内。In a possible implementation manner, the apparatus 900 further includes: a receiving module 905, configured to receive the third recommended cleaning file type sent by the server, and add the third recommended cleaning file type sent by the server to the recommended cleaning list.
在一个可能的实施方式中,处理模块903还用于:将推荐清理的列表内勾选中的文件类型进行一键清理;或选中推荐清理的列表内的文件类型,对文件类型内的内容进行单独筛选,并进行清理。In a possible implementation, the processing module 903 is also used to: perform one-click cleaning of the file types selected in the recommended cleaning list; or select the file types in the recommended cleaning list to separate the contents of the file types Screen and clean up.
在一个可能的实施方式中,推荐清理的列表内包括一种或多种文件类型;推荐清理的列表内的每个文件类型具有选择框,以便终端设备将勾选中的文件类型进行清理。In a possible implementation manner, the recommended cleaning list includes one or more file types; each file type in the recommended cleaning list has a selection box so that the terminal device can clean the selected file types.
在一个可能的实施方式中,文件类型包括:图片、应用文件、视频、音频和应用安装包中的至少一个。In a possible implementation manner, the file type includes at least one of pictures, application files, videos, audios, and application installation packages.
在一个可能的实施方式中,文件类型包括:模糊图片、相似图片、二维码、广告、截图和表情中的至少一个。In a possible implementation manner, the file type includes: at least one of fuzzy pictures, similar pictures, two-dimensional codes, advertisements, screenshots, and emoticons.
本申请公开了一种高效清理设备文件的装置,通过识别文件的文件类型,并记录每个文件类型被清理的频率,当被清理频率较高时,将该文件类型推荐出来。可以有效的帮助终端设备的使用者更简单快速的清理终端设备中的垃圾文件,并且无需手动挑选需要清理的文件,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。The present application discloses a device for efficiently cleaning equipment files. By identifying the file type of the file, and recording the frequency of each file type being cleaned, when the frequency of cleaning is high, the file type is recommended. It can effectively help terminal device users to clean up junk files in the terminal device more simply and quickly, and there is no need to manually select the files that need to be cleaned, making the cleaning operation more convenient, shortening the time to clean files, and improving the efficiency and ease of cleaning. Usability.
如图10所示,图10为本申请实施例提供的另一种高效清理设备文件的装置示意图。As shown in FIG. 10, FIG. 10 is a schematic diagram of another device for efficiently cleaning device files according to an embodiment of the application.
图10提供了一种高效清理设备文件的装置1000。该装置1000可以是服务器,装置1000包括:接收模块1001,用于接收终端设备发送的第一推荐清理文件类型和/或第二推荐清理文件类型;处理模块1002,用于当推荐第一推荐清理文件类型和/或第二推荐清理文件类型的终端设备数量大于等于第三阈值时,将第一推荐清理文件类型和/或第二推荐清理文件类型作为第三推荐清理文件类型;发送模块1003,用于将第三推荐清理文件类型发送至终端设备。FIG. 10 provides an apparatus 1000 for efficiently cleaning device files. The apparatus 1000 may be a server, and the apparatus 1000 includes: a receiving module 1001 for receiving the first recommended cleaning file type and/or the second recommended cleaning file type sent by the terminal device; a processing module 1002 for when the first recommended cleaning file type is recommended When the number of terminal devices of the file type and/or the second recommended cleaning file type is greater than or equal to the third threshold, the first recommended cleaning file type and/or the second recommended cleaning file type are used as the third recommended cleaning file type; the sending module 1003, Used to send the third recommended cleaning file type to the terminal device.
本申请公开了一种高效清理设备文件的装置,通过将推荐文件类型上报至服务器,服务器再根据不同终端设备上报的信息,进行综合判断。当服务器确定出某一文件类型有大部分终端设备均将其作为推荐,则服务器也可以将该类型作为推荐,推荐给其它终端设备,以便其它终端设备可以将该类型作为一种可选的清理项,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。This application discloses a device for efficiently cleaning device files. By reporting the recommended file type to a server, the server then makes a comprehensive judgment based on the information reported by different terminal devices. When the server determines that a certain file type has most of the terminal devices as a recommendation, the server can also recommend the type as a recommendation to other terminal devices, so that other terminal devices can use this type as an optional cleaning Items make the cleaning operation more convenient, shorten the time for cleaning files, and improve the efficiency and ease of cleaning.
如图11所示,图11为本发明实施例提供的一种终端的结构示意图。As shown in FIG. 11, FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
图11提供了一种终端设备1100,该终端设备1100可以包括处理器1101、存储器1102、通信接口1103以及总线1104。终端设备中的处理器1101、存储器1102和通信接口1103可以通过总线1104建立通信连接。通信接口1104用于与发送和接收外部信息。FIG. 11 provides a terminal device 1100. The terminal device 1100 may include a processor 1101, a memory 1102, a communication interface 1103, and a bus 1104. The processor 1101, the memory 1102, and the communication interface 1103 in the terminal device may establish a communication connection through the bus 1104. The communication interface 1104 is used to send and receive external information.
处理器1101可以为中央处理器(central processing unit,CPU)。The processor 1101 may be a central processing unit (CPU).
存储器1102可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器1102也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器,硬盘(hard disk drive,HDD)或固态硬盘(solid state drive,SSD);存储器1102还可以包括上述种类的存储器的组合。The memory 1102 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 1102 may also include non-volatile memory (English: non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory, hard disk drive (HDD) or solid state drive (SSD); the memory 1102 may also include a combination of the foregoing types of memory.
上述图2至图4中实施例提供的一种高效清理设备文件的方法,均由处理器1101来执行。本申请中的文件数据和/或计算的数据将存储在存储器1102中。另外,存储器1102中还将用于存储处理器执行的用于实现上述图2至图4中实施例所述的一种高效清理设备文件的方法对应的程序指令等等。The method for efficiently cleaning device files provided by the embodiments in FIG. 2 to FIG. 4 are all executed by the processor 1101. The file data and/or calculated data in this application will be stored in the memory 1102. In addition, the memory 1102 will also be used to store program instructions executed by the processor for implementing the method for efficiently cleaning device files described in the above-mentioned embodiments in FIG. 2 to FIG. 4 and so on.
如图12所示,图12为本发明实施例提供的一种服务器的结构示意图。As shown in FIG. 12, FIG. 12 is a schematic structural diagram of a server according to an embodiment of the present invention.
图12提供了一种服务器1200,该服务器1200可以包括处理器1201、存储器1202、通信接口1203以及总线1204。终端设备中的处理器1201、存储器1202和通信接口1203可以通过总线1204建立通信连接。通信接口1204用于与发送和接收外部信息。FIG. 12 provides a server 1200. The server 1200 may include a processor 1201, a memory 1202, a communication interface 1203, and a bus 1204. The processor 1201, the memory 1202, and the communication interface 1203 in the terminal device may establish a communication connection through the bus 1204. The communication interface 1204 is used to send and receive external information.
处理器1201可以为中央处理器(central processing unit,CPU)。The processor 1201 may be a central processing unit (CPU).
存储器1202可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器1202也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器,硬盘(hard disk drive,HDD)或固态硬盘(solid state drive,SSD);存储器1202还可以包括上述种类的存储器的组合。The memory 1202 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 1202 may also include non-volatile memory (English: non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD); the memory 1202 may also include a combination of the foregoing types of memory.
上述图5中实施例提供的一种高效清理设备文件的方法,均由处理器1201来执行。本申请中的文件数据和/或计算的数据将存储在存储器1202中。另外,存储器1202中还将用于存储处理器执行的用于实现上述图5中实施例所述的一种高效清理设备文件的方法对应的程序指令等等。The method for efficiently cleaning device files provided by the embodiment in FIG. 5 is all executed by the processor 1201. The file data and/or calculated data in this application will be stored in the memory 1202. In addition, the memory 1202 will also be used to store program instructions and the like corresponding to the method for efficiently cleaning device files described in the embodiment in FIG. 5 and executed by the processor.
本申请通过识别文件的文件类型,并记录每个文件类型被清理的频率,当被清理频率较高时,将该文件类型推荐出来。可以有效的帮助终端设备的使用者更简单快速的清理终端设备中的垃圾文件,并且无需手动挑选需要清理的文件,使得清理操作更加便捷,缩短了清理文件的时间,并提升了清理效率和易用性。This application identifies the file type of the file and records how often each file type is cleaned. When the frequency of cleansing is high, the file type is recommended. It can effectively help terminal device users to clean up junk files in the terminal device more simply and quickly, and there is no need to manually select the files that need to be cleaned, making the cleaning operation more convenient, shortening the time to clean files, and improving the efficiency and ease of cleaning. Usability.
本领域普通技术人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art should be further aware that the units and algorithm steps of the examples described in the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of both, in order to clearly illustrate the hardware For the interchangeability with software, the composition and steps of each example have been described generally in terms of function in the above description. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor to complete, and the program can be stored in a computer-readable storage medium, which is non-transitory ( English: non-transitory media, such as random access memory, read only memory, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) And any combination.
以上所述,仅为本申请较佳的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above are only preferred specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or changes within the technical scope disclosed in this application. Replacement shall be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (16)

  1. 一种高效清理设备文件的方法,其特征在于,所述方法应用于终端设备,所述方法包括:A method for efficiently cleaning device files, characterized in that the method is applied to a terminal device, and the method includes:
    终端设备识别应用使用过程中产生的文件的文件类型;The terminal device recognizes the file type of the file generated during the use of the application;
    记录第一文件类型的文件被清理的频率;Record the frequency with which files of the first file type are cleaned;
    当所述第一文件类型的文件被清理的频率大于或等于第一阈值时,将所述第一文件类型添加在推荐清理的列表内。When the frequency of the files of the first file type being cleaned is greater than or equal to the first threshold, the first file type is added to the list of recommended cleaning.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    记录第二文件类型的文件被使用的次数;Record the number of times a file of the second file type is used;
    当所述第二文件类型的文件被使用的次数小于或等于第二阈值时,将所述第二文件类型添加在推荐清理的列表内。When the number of times the file of the second file type is used is less than or equal to the second threshold, the second file type is added to the list of recommended cleaning.
  3. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    将所述第一文件类型和/或第二文件类型发送至服务器,以便所述服务器根据所述第一文件类型和/或所述第二文件类型,确定服务器推荐清理文件类型。The first file type and/or the second file type are sent to the server, so that the server determines the file type recommended by the server for cleaning according to the first file type and/or the second file type.
  4. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    接收服务器发送的服务器推荐清理文件类型,并将所述服务器推荐清理文件类型添加在推荐清理的列表内。Receiving the server recommended cleaning file type sent by the server, and adding the server recommended cleaning file type to the recommended cleaning list.
  5. 如权利要求1-4任一所述的方法,其特征在于,所述推荐清理的列表内包括一种或多种文件类型;The method according to any one of claims 1-4, wherein the recommended cleaning list includes one or more file types;
    所述推荐清理的列表内的每个文件类型具有选择框,以便所述终端设备将勾选中的所述文件类型进行清理。Each file type in the recommended cleaning list has a selection box, so that the terminal device cleans the selected file type.
  6. 如权利要求1所述的方法,其特征在于,所述文件类型包括:图片、视频、音频和应用安装包中的至少一个。The method according to claim 1, wherein the file type includes at least one of picture, video, audio, and application installation package.
  7. 如权利要求1所述的方法,其特征在于,所述文件类型包括:模糊图片、相似图片、二维码、广告、截图和表情中的至少一个。The method according to claim 1, wherein the file type includes at least one of a fuzzy picture, a similar picture, a two-dimensional code, an advertisement, a screenshot, and an emoticon.
  8. 一种高效清理设备文件的装置,其特征在于,所述装置包括:A device for efficiently cleaning equipment files, characterized in that the device includes:
    识别模块,用于识别应用使用过程中产生的文件的文件类型;The identification module is used to identify the file type of the file generated during the use of the application;
    计数模块,用于记录第一文件类型的文件被清理的频率;The counting module is used to record the frequency of files of the first file type being cleaned up;
    处理模块,用于当所述第一文件类型的文件被清理的频率大于或等于第一阈值时,将所述第一文件类型添加在推荐清理的列表内。The processing module is configured to add the first file type to the list of recommended cleaning when the frequency of cleaning the files of the first file type is greater than or equal to a first threshold.
  9. 如权利要求8所述的装置,其特征在于,所述计数模块还用于,记录第二文件类型的文件被使用的次数;9. The device according to claim 8, wherein the counting module is further configured to record the number of times a file of the second file type is used;
    所述处理模块还用于,当所述第二文件类型的文件被使用的次数小于或等于第二阈值时,将所述第二文件类型添加在推荐清理的列表内。The processing module is further configured to add the second file type to the recommended cleaning list when the number of times the file of the second file type is used is less than or equal to a second threshold.
  10. 如权利要求8或9所述的装置,其特征在于,所述装置还包括:The device according to claim 8 or 9, wherein the device further comprises:
    发送模块,用于将所述第一文件类型和/或第二文件类型发送至服务器,以便所述服务器根据所述第一文件类型和/或所述第二文件类型,确定服务器推荐清理文件类型。The sending module is configured to send the first file type and/or the second file type to the server, so that the server can determine the file type recommended by the server for cleaning according to the first file type and/or the second file type .
  11. 如权利要求8或9所述的装置,其特征在于,所述装置还包括:The device according to claim 8 or 9, wherein the device further comprises:
    接收模块,用于接收服务器发送的服务器推荐清理文件类型,并将所述服务器推荐清理文件类型添加在推荐清理的列表内。The receiving module is configured to receive the file type recommended by the server for cleaning and adding the file type recommended for cleaning by the server to the list of recommended cleaning.
  12. 如权利要求8-11任一所述的装置,其特征在于,所述推荐清理的列表内包括一种或多种文件类型;11. The device according to any one of claims 8-11, wherein the recommended cleaning list includes one or more file types;
    所述推荐清理的列表内的每个文件类型具有选择框,以便所述终端设备将勾选中的所述文件类型进行清理。Each file type in the recommended cleaning list has a selection box, so that the terminal device cleans the selected file type.
  13. 如权利要求8所述的装置,其特征在于,所述文件类型包括:图片、视频、音频和应用安装包中的至少一个。The device according to claim 8, wherein the file type includes at least one of picture, video, audio, and application installation package.
  14. 如权利要求8所述的装置,其特征在于,所述文件类型包括:模糊图片、相似图片、二维码、广告、截图和表情中的至少一个。8. The device of claim 8, wherein the file type includes at least one of a blurred picture, a similar picture, a two-dimensional code, an advertisement, a screenshot, and an expression.
  15. 一种终端,其特征在于,所述终端包括处理器,所述处理器与存储器耦合,所述处理器读取并执行所述存储器中的指令,使得所述终端执行所述权利要求1-7任一所述的方法。A terminal, wherein the terminal includes a processor, the processor is coupled with a memory, and the processor reads and executes instructions in the memory, so that the terminal executes the claims 1-7 Any of the methods described.
  16. 一种存储程序的计算机可读存储介质,其特征在于,所述程序包括指令,所述指令当被执行时,使所述执行根据权利要求1-7任一所述的方法。A computer-readable storage medium storing a program, wherein the program includes instructions that, when executed, cause the method according to any one of claims 1-7 to be executed.
PCT/CN2020/102780 2019-07-30 2020-07-17 Method for efficiently cleaning equipment files and device WO2021017899A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910693918.1A CN110543451A (en) 2019-07-30 2019-07-30 Method and device for efficiently cleaning equipment files
CN201910693918.1 2019-07-30

Publications (1)

Publication Number Publication Date
WO2021017899A1 true WO2021017899A1 (en) 2021-02-04

Family

ID=68710394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102780 WO2021017899A1 (en) 2019-07-30 2020-07-17 Method for efficiently cleaning equipment files and device

Country Status (2)

Country Link
CN (1) CN110543451A (en)
WO (1) WO2021017899A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543451A (en) * 2019-07-30 2019-12-06 华为技术有限公司 Method and device for efficiently cleaning equipment files
CN116150096A (en) * 2021-11-22 2023-05-23 中兴通讯股份有限公司 Control method of electronic equipment, electronic equipment and readable storage medium
CN115098449B (en) * 2022-08-26 2023-07-07 荣耀终端有限公司 File cleaning method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881493A (en) * 2015-06-12 2015-09-02 北京金山安全软件有限公司 File cleaning method and device
CN105975400A (en) * 2016-04-27 2016-09-28 北京金山安全软件有限公司 Space management method and device and electronic equipment
US20170060896A1 (en) * 2015-08-24 2017-03-02 International Business Machines Corporation File system for genomic data
CN107291804A (en) * 2017-05-15 2017-10-24 努比亚技术有限公司 Method, equipment and the computer-readable recording medium of data scrubbing
CN109408414A (en) * 2018-09-30 2019-03-01 湖北华联博远科技有限公司 A kind of software cache cleaner method and system
CN110543451A (en) * 2019-07-30 2019-12-06 华为技术有限公司 Method and device for efficiently cleaning equipment files

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN102968297B (en) * 2012-10-25 2016-10-26 北京奇虎科技有限公司 The software management system of mobile terminal and method
CN104156414B (en) * 2014-07-30 2018-01-23 珠海市君天电子科技有限公司 A kind of method for cleaning of garbage files, device and terminal
CN105183902B (en) * 2015-09-30 2019-03-15 北京金山安全软件有限公司 File cleaning method and device and terminal
CN105516151B (en) * 2015-12-15 2019-02-12 北京奇虎科技有限公司 The checking and killing method and device of backdoor file
CN105718815A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Method and device for automatically cleaning up system files
CN105760043A (en) * 2016-01-29 2016-07-13 珠海市魅族科技有限公司 Notification processing method and device
CN106227744A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 Terminal document managing device, terminal and terminal document management method
CN107908790A (en) * 2017-12-12 2018-04-13 深圳市金立通信设备有限公司 A kind of application software recommends method, system, terminal and computer-readable recording medium
CN108038001B (en) * 2017-12-13 2022-10-14 腾讯科技(深圳)有限公司 Junk file cleaning strategy generation method and device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881493A (en) * 2015-06-12 2015-09-02 北京金山安全软件有限公司 File cleaning method and device
US20170060896A1 (en) * 2015-08-24 2017-03-02 International Business Machines Corporation File system for genomic data
CN105975400A (en) * 2016-04-27 2016-09-28 北京金山安全软件有限公司 Space management method and device and electronic equipment
CN107291804A (en) * 2017-05-15 2017-10-24 努比亚技术有限公司 Method, equipment and the computer-readable recording medium of data scrubbing
CN109408414A (en) * 2018-09-30 2019-03-01 湖北华联博远科技有限公司 A kind of software cache cleaner method and system
CN110543451A (en) * 2019-07-30 2019-12-06 华为技术有限公司 Method and device for efficiently cleaning equipment files

Also Published As

Publication number Publication date
CN110543451A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
WO2021017899A1 (en) Method for efficiently cleaning equipment files and device
CN108259939B (en) New video push control method and device and server
CN108063818B (en) Data downloading method, device, terminal and computer readable storage medium
US10664443B2 (en) Method and apparatus for presenting to-be-cleaned data, and electronic device
CN103782281A (en) Content control device, terminal device, content control method, and content control program
US20180241900A1 (en) Suggesting image files for deletion based on image file parameters
JP2006351004A (en) Memory management method of mobile terminal
CN105893471B (en) Data processing method and electronic equipment
CN103942126B (en) Electronic equipment and its data back up method
US20180239839A1 (en) Method and Apparatus for Identifying To-Be-Cleaned Data, and Electronic Device
CN106708912B (en) Junk file identification and management method, identification device, management device and terminal
CN104601683A (en) File download management method, mobile terminal and communication system
CN105574163A (en) File processing method and device and electronic equipment
WO2020006859A1 (en) Image cache cleaning method and device, terminal device and medium
JP2009294829A (en) Apparatus and method for supporting settings destination of email
CN102377688B (en) File transmission method and equipment
US20200193238A1 (en) Selective image compression of an image stored on a device based on user preferences
KR100797122B1 (en) Apparatus of processing file using portable storage media in portable terminal and method thereof
CN112486966A (en) Expired data cleaning method and device and electronic equipment
US9424256B2 (en) Method and apparatus for performing type-aware change tracking in a document
CN114638742A (en) Scene picture processing method and electronic equipment
CN110941752B (en) Information searching method, data processing method and equipment
CN113076288A (en) File processing method and device, electronic equipment and storage medium
CN112463741A (en) Cleaning method for aggregated large files and related equipment
CN109242763B (en) Picture processing method, picture processing device and terminal equipment

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: 20847992

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20847992

Country of ref document: EP

Kind code of ref document: A1