CN106156032B - Method and device for identifying cleaning files - Google Patents

Method and device for identifying cleaning files Download PDF

Info

Publication number
CN106156032B
CN106156032B CN201510133505.XA CN201510133505A CN106156032B CN 106156032 B CN106156032 B CN 106156032B CN 201510133505 A CN201510133505 A CN 201510133505A CN 106156032 B CN106156032 B CN 106156032B
Authority
CN
China
Prior art keywords
file
name
cleaned
name information
information
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510133505.XA
Other languages
Chinese (zh)
Other versions
CN106156032A (en
Inventor
刘伟刚
贾俊涛
陈宁一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510133505.XA priority Critical patent/CN106156032B/en
Publication of CN106156032A publication Critical patent/CN106156032A/en
Application granted granted Critical
Publication of CN106156032B publication Critical patent/CN106156032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for identifying a cleaning file, which comprises the following steps: acquiring the file name of a scanned file to be cleaned; acquiring user identifiable name information of a file signature matched by a file name in a database; and marking the name information to the file name of the file to be cleaned. The invention also provides a device for identifying the cleaned files. By the mode, the file to be cleaned can be identified, and user experience is improved.

Description

Method and device for identifying cleaning files
Technical Field
The invention relates to the field of computers, in particular to a method and a device for identifying a cleaning file.
Background
At present, with the development of mobile communication technology, more and more applications are applied based on mobile terminals, so that the mobile terminals are more and more convenient for the life of users. The application program usually generates a cache file in the installation and operation processes, and the cache file occupies a certain storage space, so that the cache file needs to be cleaned to release the storage space, and the normal operation of the mobile terminal is ensured. Such as video, audio, picture and other cache files, occupy a large space and are very necessary to be cleaned.
The cleaning of the cache file is usually: and scanning the storage space, scanning out the cache directory, and cleaning the file corresponding to the cache directory. Usually, the final cleaning operation is confirmed by the user, and after the user confirms the cleaning operation, the cleaning operation is performed.
However, the file names of the currently scanned files to be cleaned are usually named by using the MD5 value, and the user cannot recognize the file names, so that when the user confirms cleaning, the user cannot know what kind of file is deleted, which affects the user experience, and at the same time, some important caches may be cleaned. Therefore, how to identify the files needing to be cleaned is one of the problems to be solved urgently at present.
Disclosure of Invention
The invention aims to solve at least one of the technical defects, and particularly can identify files needing to be cleaned, so that the user experience is improved.
The invention provides a method for identifying a cleaning file, which comprises the following steps: acquiring the file name of a scanned file to be cleaned; acquiring user identifiable name information of a file signature matched by a file name in a database; and marking the name information to the file name of the file to be cleaned.
Wherein, the database is a cloud disk or a local database.
The step of obtaining the user identifiable name information of the file signature matched by the file name in the database specifically comprises: sending the file name to the cloud disk; receiving user identifiable name information of a matched file signature returned by matching the file name with the cloud disk; name information is acquired.
Wherein the step of obtaining the name information further comprises: performing word segmentation on the received name information; capturing keywords of the name information after word segmentation; the keyword is acquired as more accurate name information.
The name information comprises name information of the file to be cleaned and update information of the file, and the update information is displayed in a link mode.
The updating information comprises name information of a file to be updated, wherein the file to be updated is required to be cleaned, and the name information is movie and television name information and is used for being linked to a related video.
Wherein, the data of the local database is acquired locally.
The invention also provides a method for identifying the cleaning files, which comprises the following steps: receiving a file name of a cleaning file to be matched; matching the file name with the file signature in the database; when matching, feeding back name information recognizable by the user in the file signature on the matching.
The database is a local database of the cloud disk or the client.
The fed-back identifiable name information comprises name information of the cleaning file and update information of the file, and the update information is displayed in a link mode.
The update information comprises name information of a file updated by the cleaning file, and the name information is movie and television name information and is used for linking to related videos.
Wherein, the data of the local database is acquired locally.
The invention provides a recognition device for cleaning files, which comprises: the first acquisition module is used for acquiring the file name of the scanned file to be cleaned; the second acquisition module is used for acquiring user identifiable name information of the file signature matched by the file name in the database; and the marking module is used for marking the name information to the file name of the file to be cleaned.
Wherein, the database is a cloud disk or a local database.
The second obtaining module is specifically configured to: sending the file name to the cloud disk; receiving user identifiable name information of a matched file signature returned by matching the file name with the cloud disk; name information is acquired.
Wherein the second obtaining module is further configured to: performing word segmentation on the received name information; capturing keywords of the name information after word segmentation; the keyword is acquired as more accurate name information.
The name information comprises name information of the file to be cleaned and update information of the file, and the update information is displayed in a link mode.
The updating information comprises name information of a file to be updated, wherein the file to be updated is required to be cleaned, and the name information is movie and television name information and is used for being linked to a related video.
Wherein, the data of the local database is acquired locally.
The invention also provides a device for identifying the cleaning files, which comprises: the receiving module is used for receiving the file name of the cleaning file to be matched; the matching module is used for matching the file name with the file signature in the database; and the feedback module is used for feeding back name information which can be identified by a user in the matched file signature when the file signature is matched.
The database is a local database of the cloud disk or the client.
The fed-back identifiable name information comprises name information of the cleaning file and update information of the file, and the update information is displayed in a link mode.
The update information comprises name information of a file updated by the cleaning file, and the name information is movie and television name information and is used for linking to related videos.
Wherein, the data of the local database is acquired locally.
Compared with the prior art, the invention has the following beneficial effects:
1. after the files needing to be cleaned are scanned, the scanned files needing to be cleaned are identified, so that a user can conveniently know the cleaned files. When the scanned files needing to be cleaned are cache files, important cache files can be prevented from being cleaned through identification of the cache files.
2. The cloud disk is used for identifying the files to be cleaned, so that the cloud disk and the cleaning application can be connected, and a channel between the cloud disk and the cleaning application is opened.
3. While identifying the file to be cleaned, the method can also provide the user with the update information related to the file to be cleaned, such as: when the file needing to be cleaned is the video cache, the user can know the title of the video cache and can see the related update information of the play, so that the user can trace the play conveniently.
4. The update information may be linked, such as: clicking the updated title can guide the user to download the video client and watch the related video.
5. The cloud disk and the video client can communicate with the cleaning, so that the cleaning becomes a resource inlet.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flowchart illustrating an embodiment of a method for identifying a cleaning document according to the present invention;
FIG. 2 is a schematic flowchart illustrating an identification method for cleaning documents according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for identifying documents according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of an apparatus for recognizing a cleaning document according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
As will be appreciated by those skilled in the art, a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of multiple network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the remote network device, the terminal device and the WNS server may communicate with each other through any communication method, including but not limited to mobile communication based on 3GPP, LTE and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-range wireless transmission based on bluetooth and infrared transmission standards.
It will be appreciated by those skilled in the art that the terms "application," "application program," "application software," and the like, as used herein, are intended to refer to a computer software product electronically-adapted to be electronically-constructed, from a collection of computer instructions and associated data resources, in accordance with the principles of the present invention. Unless otherwise specified, such nomenclature is not itself limited by the programming language class, level, or operating system or platform upon which it depends. Of course, such concepts are not limited to any type of terminal.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a method for identifying a cleaning file according to the present invention, as shown in fig. 1, including the following steps:
and S11, acquiring the file name of the scanned file to be cleaned.
In this embodiment, when implemented at a client, the client is scanned to scan out a file to be cleaned, for example: the embodiment mainly identifies cache files, particularly cache files for watching videos.
The client of the embodiment is a mobile terminal, and can also be other intelligent terminals. Those skilled in the art can reasonably foresee that the mobile terminal can be an operating system such as Android, Windows, apple and the like.
The scanned cache file is displayed in a cache directory manner, including a cache path and a file name, where the file name is usually named according to the MD5 value of the file, and is generally unrecognizable by a user, so that the cache file is recognized, and the file name of the cache file is first obtained.
And S12, obtaining the user recognizable name information of the file signature matched with the file name in the database.
And matching the acquired file names in a database, wherein a large number of file signatures are stored in the database, each file signature comprises the MD5 value of the file and name information which can be identified by a user, and the name information which can be identified by the user and is related to the file names is matched through matching. Taking video file signature as an example, the name information that the user can recognize is the name of the episode.
The file signature in the database may further include update information of the file corresponding to the file signature, and the update information includes name information of the updated file. Taking the video file signature as an example, the update information includes movie name information of the update episode.
And S13, marking the name information to the file name of the file to be cleaned.
And acquiring matched name information which can be identified by the user, and labeling the name information to the file name of the file to be cleaned for the user to identify. According to the content of the file signature in the database, the matched name information is the identifiable name information of the cleaning file, and can also comprise the updating information of the cleaning file.
The updating information is displayed in a link mode and is represented in the following form:
A. and setting a link for the recognizable name information of the cleaning file, and checking the corresponding updating information by clicking the link by a user.
B. And after the recognizable name information of the file is cleaned, a detail character is set, a link is set for the detail character, and the user can check corresponding updating information by clicking the link.
In the two forms, if the cleaning file is not updated correspondingly, no link is set, and only the identifiable name information of the cleaning file is marked on the file name of the file to be cleaned.
The name information of the file updated by the file needing to be cleaned in the updating information is used for a user to know the updating condition of the file needing to be cleaned, and a link can be set for the file needing to be cleaned, such as updating the name information of the film and the television of the episode, and the link is directly clicked to be linked to the related video. In this embodiment, the linked video is played by 360 movies and televisions, and if there is no 360 movie and television clients in the mobile terminal, the user is guided to download the relevant clients for playing.
It should be noted that the relevant links involved in the present embodiment are set by the database side.
In this embodiment, the database may be a cloud disk or a local database, and the following describes in detail the identification process of the video cache file in the mobile terminal by taking the cloud disk and the local database as examples.
A. The database is a cloud disk
a. And sending the file name to the cloud disk.
After the file name of the cache file is obtained, the file name is sent to a server side where the cloud disk is located, and the method specifically comprises the following steps: the mobile terminal is connected with the server end through the remote communication port.
b. And receiving user identifiable name information of the matched file signature returned by matching the file name with the cloud disk.
And after receiving the file name of the cached file, the server side matches the file name with the file signature in the cloud disk, specifically, matches the MD5 values of the file name and the file signature, acquires user identifiable name information in the file signature when the file signature is matched with the file name, and feeds back the identifiable name information to the mobile terminal.
The matched file signatures can be one or more, so that the fed back name information can be one or more for the same file name.
c. Name information is acquired.
After the mobile terminal obtains the fed back name information, the name information can be further analyzed to obtain more accurate name information, and the specific method comprises the following steps:
① participles the received name information.
② grab the keyword of the name information after word segmentation.
③ obtain keywords as more accurate name information.
B. The database is a local database
And after the file name of the cache file is acquired, matching the file name with a file signature in a database, acquiring user identifiable name information in the file signature when the file signature is matched with the file name, and feeding back the identifiable name information. And the fed-back name information can be segmented to further obtain more accurate name information. The identification process is implemented in the mobile terminal.
And when the video cache file is matched by using the database and the identifiable name information is fed back, marking the name information to the corresponding file name to complete the identification of the file to be cleaned. Through the mode, when a user cleans a file, the user can know the cleaned cache of the video, and can check the corresponding update of the cached video to play back.
In this embodiment, the identification operation of the cleaning file performed by the mobile terminal may be performed by a 360-degree cleaning master, and the local database is a database carried by the 360-degree cleaning master.
In this embodiment, the data in the local database is obtained locally, specifically, a file signature of a file in the mobile terminal is obtained. The acquisition method specifically comprises the following steps: the user reports, and the reporting mode can be actively sent by the user or inquired by a database whether the file signature which can be reported exists; the file signatures automatically collected by the database.
In this embodiment, in the interaction process between the mobile terminal and the server, in order to ensure the communication security, the interactive data may be encrypted. Such as: encrypting the sent file name, and decrypting the file name after the server receives the file name; and similarly, the returned name information is encrypted, and the name information is decrypted after the mobile terminal receives the encrypted name information. The encryption can be performed by AES (advanced encryption Standard), and the keys of both encryption and decryption are the same. AES is fast in both software and hardware, easy to implement and requires little memory. Asymmetric encryption algorithms may also be used for encryption.
In this embodiment, the specific process of cleaning is deleting, and the deleting can be performed through a single thread or multiple threads. And in the deleting process, judging whether the file to be cleaned is bound with other cache files, if so, deleting the file so as to avoid influencing the operation of other application programs. At this time, the user may be asked to select whether to delete, and when the user selects to delete, the bound cache file is also deleted.
In this embodiment, when the files to be cleaned are displayed, merging may be performed according to the package names, that is, one total package name includes a plurality of cache directories of the files to be cleaned. The method can simply display the files needing to be cleaned, and improves user experience. Such as: the files needing to be cleaned can be scanned in a regular expression mode, and then the files needing to be cleaned of the same type are scanned.
In practical applications, cleaning may be based on a floating window. The cleaning process specifically comprises the following steps: calling a floating window through user triggering, and scanning by using a floating window interface to obtain a file to be cleaned; marking the files needing to be cleaned for the user to identify; and cleaning the marked files needing to be cleaned. The method is suitable for cleaning the cache files in the mobile phone, and the cache files mainly refer to non-memory cache. The cleaning process of the floating window is explained in detail below.
A. And calling the second floating window according to a calling instruction generated by operating the first floating window.
The first floating window is small and can be displayed all the time, the current memory occupancy rate of the intelligent terminal is mainly displayed for a user, and when the intelligent terminal is detected to have files needing to be cleaned, a cleaning prompt is also displayed. The first floating window comprises a ball representing the memory occupancy rate and a balloon dialog box representing a cleaning prompt; for the memory occupancy rate, refreshing every 10 s; when the memory occupancy rate is below 80%, displaying blue; when the memory occupancy rate is 80% or more, displaying red; when the balloon dialog box is triggered, the balloon dialog box can be expanded to display a corresponding prompt case.
The second floating window is larger and comprises a memory acceleration interface, a cleaning interface and a common interface. The function of each interface is as follows:
the memory acceleration interface comprises an initial sub-interface and a completion sub-interface, the initial sub-interface is used for displaying the current memory occupancy rate, a click acceleration function control is arranged on the initial sub-interface, and the click acceleration function control is used for calling the completion sub-interface. The specific process of memory acceleration is as follows: before acceleration, the initial sub-interface displays the current memory occupancy rate, when the memory occupancy rate is less than 80%, the initial sub-interface displays blue, and when the memory occupancy rate is 80% or more, the initial sub-interface displays red; after the acceleration function control is clicked, the memory occupancy rate is reduced to 0% from the initial value and then increased back to the accelerated memory occupancy rate, the interface color is correspondingly changed, and finally a finished sub-interface is generated. The completion sub-interface also displays the speed acceleration, and the calculation method of the speed acceleration comprises the following steps: and subtracting the current memory occupancy rate after acceleration from the current memory occupancy rate before acceleration, and if the difference value of the current memory occupancy rate before acceleration and the current memory occupancy rate after acceleration is less than 1%, displaying that the sub-interface is optimal.
The cleaning interface comprises a scanning sub-interface, a scanning stopping sub-interface, a cleaning sub-interface and a cleaned sub-interface. The scanning sub-interface, the scanning stopping sub-interface and the cleaning sub-interface are respectively provided with a scanning function control, a scanning stopping function control and a one-key cleaning function control, the scanning function control is used for calling the scanning stopping sub-interface, the scanning stopping function control is used for calling the cleaning sub-interface, and the one-key cleaning function control is used for calling the cleaned sub-interface. The specific process of cleaning is as follows: before cleaning, scanning a sub-interface to display a current stored value; after the scanning function control is clicked, stopping scanning the sub-interface to display the scanned garbage value; after clicking the control for stopping scanning, if the garbage is scanned, switching to a cleaning sub-interface, and if the garbage is not scanned, switching to a scanning sub-interface; the cleaning sub-interface displays the scanned garbage, and a detail control is further arranged on the cleaning sub-interface and used for inquiring the garbage details; and after clicking the one-key cleaning function control, displaying the cleaned garbage on the cleaned sub-interface. If the scanned garbage is less than or equal to 50M, stopping scanning the sub-interface, and cleaning the sub-interface to be blue; and if the scanned garbage is more than 50M, stopping scanning the sub-interface and cleaning the sub-interface to be red. After the detail control is clicked, the file to be cleaned is displayed, and the cleaned file is marked according to the method of the embodiment.
The common interfaces comprise a self-starting management function control, an unloading preassembly function control, a privacy cleaning function control, a game/video acceleration function control, a software unloading function control and a timing cleaning function control. The function controls are all inlets of corresponding functions.
According to the content displayed by the first floating window, the called display state of the second floating window comprises the following two conditions:
a. and when the first floating window is displayed for the memory occupancy rate, the second floating window displays a conventional interface, and the conventional interface is a memory acceleration interface.
b. And when the first floating window is displayed for the memory occupancy rate and the cleaning prompt, the second floating window displays a conventional interface, and a cleaning prompt area is added on the conventional interface. And the cleaning prompt area is a control area. Wherein, the cleaning prompt region is provided with a prompt case corresponding to the cleaning prompt of the first suspension window.
B. A clean-up instruction generated for a second floating window operation is received.
Since the cleaning is performed based on the second floating window, the second floating window needs to be operated, specifically, a function control or a cleaning prompt region of the second floating window is operated.
C. And cleaning according to the cleaning instruction.
a. And cleaning the file according to a cleaning instruction generated by operating the function control.
Taking the cleaning of the cache file as an example, the cache file is scanned through a cleaning interface, and the cache file is cleaned by using a one-key cleaning function control.
b. And calling an interface or a system interface of the second floating window according to a cleaning instruction generated by operating the cleaning prompt area to clean the file.
Taking the cleaning of the cache file as an example, when the balloon dialog box of the first floating window prompts that the storage space is insufficient, the second floating window is called through the first floating window, the cleaning prompt area of the second floating window is operated, and then the cleaning interface is skipped to, and the cleaning interface is used for cleaning.
After the cleaning is finished, the second floating window is automatically closed within preset time, and can also be closed by a user.
In the scanning process of the cleaning interface, in order to accelerate the scanning speed, for the folder cache, if the timestamp of the folder is not changed, the folder is not modified, namely the number and the size of the files are not changed, and the scanning can be skipped to directly obtain the folder cache information recorded in the last scanning.
As described above, in this embodiment, by identifying the file to be cleaned, the user can know the scanned file, and thus the important file is prevented from being deleted. In the identification process, if the files needing to be cleaned are updated correspondingly, the user can also know the updating condition of the files needing to be cleaned, and the user experience is improved. When the file to be cleaned is the video cache file, the user can know the name of the cache file and can check related updates, and therefore the user can trace the drama conveniently.
The method of the embodiment can open the path between the cleaning software and the cloud disk, and can also guide the user to download the related movie client when the user plays the movie so that the cleaning software becomes the resource entrance of each product.
The method of the embodiment can also be used for video acceleration, and the content of the video acceleration is identified.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for identifying a cleaning file according to another embodiment of the present invention, as shown in fig. 2, including the following steps:
and S21, receiving the file name of the cleaning file to be matched.
S22, matching the file name with the file signature in its database.
And S23, when the file signature matched with.
In this embodiment, the database may be a cloud disk, and may also be a local database of the client, that is, a database of the mobile terminal.
When the database is a cloud disk, the server side receives the file name of a cleaning file sent by the mobile terminal, the cleaning file is a file which needs to be cleaned and is scanned by the mobile terminal, then the received file name is matched in the cloud disk, when a file signature in the cloud disk is matched with the file name, user-recognizable name information in the file signature is obtained, and the recognizable name information is fed back to the mobile terminal.
When the database is a local database of the mobile terminal, the file name of the cleaning file is acquired and received, the file name is implemented at the mobile terminal, the cleaning file is a file to be cleaned scanned by the mobile terminal, the file name of the cleaning file is acquired and then matched in the database, and when a file signature in the database is matched with the file name, name information which can be identified by a user in the file signature is acquired and can be fed back for being marked on the file name.
As described above, in the method for identifying a cleaning file according to this embodiment, the file name of the file to be cleaned is matched in the database to obtain the name information identifiable to the user and corresponding to the file name, which is convenient for the user to delete the file, and improves the user experience. Because the file signature in the database comprises the update information of the file, the user can further know the update information corresponding to the file to be cleaned.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a method for identifying a cleaning file according to another embodiment of the present invention, as shown in fig. 3, including the following steps:
and S31, acquiring and sending the file name of the scanned file to be cleaned.
And S32, receiving the file name of the file to be cleaned.
S33, matching the file name with the file signature in its database.
And S34, when the file signature matched with.
S35, receiving user identifiable name information.
And S36, marking the name information to the file name of the file to be cleaned.
In this embodiment, the interaction between the mobile terminal and the server is performed, the database is a cloud disk, and a specific interaction process of the interaction is described in detail in the embodiment shown in fig. 1, which is not described herein again. Steps S31, S35, and S36 are performed in the mobile terminal, and steps S32, S33, and S34 are performed in the server.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of an apparatus for identifying a cleaning file according to the present invention, as shown in fig. 4, including: a first obtaining module 41, a second obtaining module 42, an annotation module 43, a receiving module 44, a matching module 45 and a feedback module 46.
The functions of the modules are as follows:
the first obtaining module 41 is configured to obtain a file name of the scanned file to be cleaned. The second obtaining module 42 is configured to obtain user identifiable name information of a file signature whose file name is matched in the database. The labeling module 43 is used for labeling the name information to the file name of the file to be cleaned.
The receiving module 44 is configured to receive a file name of the clean file to be matched. The matching module 45 is configured to match the file name with the file signature in the database. Feedback module 46 is used to feed back user-identifiable name information in the file signature on the match when the match is made.
The second obtaining module is specifically configured to: sending the file name to the cloud disk; receiving user identifiable name information of a matched file signature returned by matching the file name with the cloud disk; name information is acquired. And the second obtaining module is further configured to: performing word segmentation on the received name information; capturing keywords of the name information after word segmentation; the keyword is acquired as more accurate name information.
In this embodiment, the database is a cloud disk or a local database of the mobile terminal. The name information comprises name information of the files to be cleaned and also can comprise updating information of the files to be cleaned, and the updating information is displayed in a link mode. The update information includes name information of a file to be updated by the file to be cleaned, and taking the cleaning file as a video as an example, the name information is movie name information and can be linked to a related video.
The working process of the device of the embodiment is described in detail below.
The first obtaining module 41 first obtains a file name of a scanned file to be cleaned, when the database is a cloud disk, the second obtaining module 42 sends the file name to the server, the receiving module 44 receives the file name sent by the second obtaining module 42, the matching module 45 matches the file name with a file signature in the database, when a corresponding file signature matches the file name, user identifiable name information of the matched file signature is obtained, the feedback module 46 feeds the name information back to the mobile terminal, after the second obtaining module 42 receives the fed-back name information, the name information is segmented, a keyword of the segmented name information is captured, the keyword is obtained as more accurate name information, and the labeling module 43 labels the name information to the corresponding file name to complete identification of the cleaned file. In the identification process, the first obtaining module 41, the second obtaining module 42 and the labeling module 43 are located in the mobile terminal, and the receiving module 44, the matching module 45 and the feedback module 46 are located in the server side.
The first obtaining module 41 first obtains a file name of a scanned file to be cleaned, when the database is a local database of the mobile terminal, the second obtaining module 42 sends the file name to the receiving module 44, after the receiving module 44 receives the file name, the matching module 45 matches the file name with a file signature in the database, when a corresponding file signature matches the file name, user identifiable name information of the matched file signature is obtained, the feedback module 46 feeds the name information back to the second obtaining module 42, after the second obtaining module 42 receives the fed-back name information, the name information is segmented, a keyword of the segmented name information is captured, the keyword is obtained as more accurate name information, and the labeling module 43 labels the name information to the corresponding file name to complete identification of the cleaned file. In the identification process, the first obtaining module 41, the second obtaining module 42, the labeling module 43, the receiving module 44, the matching module 45 and the feedback module 46 are all located in the mobile terminal.
Above, the device of this embodiment can discern file that needs to clear up, improves the user's experience when clearing up mobile terminal rubbish, can avoid important file to be cleared up simultaneously, and can know the update information that needs to clear up the file when clearing up.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A method for identifying a cleaned file is characterized by comprising the following steps:
scanning a client to obtain a file to be cleaned, wherein the file to be cleaned is a cache file of a video;
acquiring the file name of the scanned file to be cleaned; the file name of the file to be cleaned is named by the MD5 value of the file;
sending the file name to a cloud disk; receiving the MD5 value of the file to be cleaned matched with the MD5 value contained in the file signature in the cloud disk by the cloud disk, and returning user-recognizable name information contained in the matched file signature; acquiring the name information; the identifiable name information is an episode name; the file signature also comprises update information of a file corresponding to the file signature, the update information comprises name information of the updated file, and the update information is movie name information of the updated episode;
marking the name information to the file name of the file to be cleaned; and displaying the updating information in a link mode.
2. The method for identifying a cleaning file according to claim 1, wherein the step of obtaining the name information further comprises:
performing word segmentation on the received name information;
capturing keywords of the name information after word segmentation;
and acquiring the keywords as more accurate name information.
3. A method for identifying a cleaned file is characterized by comprising the following steps:
receiving a file name of a file to be cleaned; the file to be cleaned is a cache file of a video; the file name of the file to be cleaned is named by the MD5 value of the file;
matching the MD5 value of the file with the MD5 value contained in the file signature in the cloud disk;
when the matching is carried out, feeding back name information which is contained in the file signature on the matching and can be identified by the user; the identifiable name information is an episode name; the fed-back identifiable name information comprises the name information of the file to be cleaned and the update information of the file, and the update information is displayed in a link mode; the update information comprises name information of the file updated by the file needing to be cleaned, and the name information is movie and television name information and is used for being linked to a related video.
4. An apparatus for identifying documents to be cleaned, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for scanning a client and scanning a file to be cleaned, and the file to be cleaned is a cache file of a video; acquiring a scanned file name of a file to be cleaned; the file name of the file to be cleaned is named by the MD5 value of the file;
the second acquisition module is used for sending the file name to the cloud disk; receiving the MD5 value of the file to be cleaned matched with the MD5 value contained in the file signature in the cloud disk by the cloud disk, and returning user-recognizable name information contained in the matched file signature; acquiring the name information; the identifiable name information is an episode name; the file signature also comprises update information of a file corresponding to the file signature, the update information comprises name information of the updated file, and the update information is movie name information of the updated episode;
the marking module is used for marking the name information to the file name of the file to be cleaned; and displaying the updating information in a link mode.
5. The apparatus for identifying documents according to claim 4, wherein the second obtaining module is further configured to:
performing word segmentation on the received name information;
capturing keywords of the name information after word segmentation;
and acquiring the keywords as more accurate name information.
6. An apparatus for identifying documents to be cleaned, comprising:
the receiving module is used for receiving the file name of the file to be cleaned; the file to be cleaned is a cache file of a video; the file name of the file to be cleaned is named by the MD5 value of the file;
the matching module is used for matching the MD5 value of the file with the MD5 value contained in the file signature in the cloud disk;
the feedback module is used for feeding back user recognizable name information contained in the matched file signature when the file signature is matched; the identifiable name information is an episode name; the fed-back identifiable name information comprises the name information of the file to be cleaned and the update information of the file, and the update information is displayed in a link mode; the update information comprises name information of the file updated by the file needing to be cleaned, and the name information is movie and television name information and is used for being linked to a related video.
CN201510133505.XA 2015-03-25 2015-03-25 Method and device for identifying cleaning files Active CN106156032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510133505.XA CN106156032B (en) 2015-03-25 2015-03-25 Method and device for identifying cleaning files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510133505.XA CN106156032B (en) 2015-03-25 2015-03-25 Method and device for identifying cleaning files

Publications (2)

Publication Number Publication Date
CN106156032A CN106156032A (en) 2016-11-23
CN106156032B true CN106156032B (en) 2020-01-17

Family

ID=57339024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510133505.XA Active CN106156032B (en) 2015-03-25 2015-03-25 Method and device for identifying cleaning files

Country Status (1)

Country Link
CN (1) CN106156032B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608129B (en) * 2015-12-16 2019-04-26 北京奇虎科技有限公司 File clean-up method, apparatus and system, mobile terminal
CN106599151A (en) * 2016-12-07 2017-04-26 Tcl集团股份有限公司 Method and system for parallel cleaning of Android engineering useless resources
CN113779620A (en) * 2021-08-19 2021-12-10 成都鲁易科技有限公司 Program file checking method and device, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794307A (en) * 2010-03-02 2010-08-04 光庭导航数据(武汉)有限公司 Vehicle navigation POI (Point of Interest) search engine based on internetwork word segmentation idea
CN101908051A (en) * 2009-06-03 2010-12-08 东元电机股份有限公司 Network multimedia playing method
CN103559299A (en) * 2013-11-14 2014-02-05 贝壳网际(北京)安全技术有限公司 Method, device and mobile terminal for cleaning up files
CN103559276A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and device for clearing useless files

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5119566B2 (en) * 2004-02-16 2013-01-16 ソニー株式会社 REPRODUCTION DEVICE AND REPRODUCTION METHOD, PROGRAM RECORDING MEDIUM, AND PROGRAM
KR20080078255A (en) * 2007-02-22 2008-08-27 삼성전자주식회사 Method and apparatus of managing files and information storage medium storing files
CN104317628A (en) * 2014-11-13 2015-01-28 北京奇虎科技有限公司 Mobile terminal and storage space cleaning method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908051A (en) * 2009-06-03 2010-12-08 东元电机股份有限公司 Network multimedia playing method
CN101794307A (en) * 2010-03-02 2010-08-04 光庭导航数据(武汉)有限公司 Vehicle navigation POI (Point of Interest) search engine based on internetwork word segmentation idea
CN103559276A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and device for clearing useless files
CN103559299A (en) * 2013-11-14 2014-02-05 贝壳网际(北京)安全技术有限公司 Method, device and mobile terminal for cleaning up files

Also Published As

Publication number Publication date
CN106156032A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US9646006B2 (en) System and method for capturing a multimedia content item by a mobile device and matching sequentially relevant content to the multimedia content item
US9330189B2 (en) System and method for capturing a multimedia content item by a mobile device and matching sequentially relevant content to the multimedia content item
US9608824B2 (en) Using digital fingerprints to associate data with a work
CN104255038B (en) A kind of method and system for supplementing live broadcast
US11895174B2 (en) Systems and methods for adapting content items to endpoint media devices
CN110083714B (en) Acquisition, recovery, and matching of unique information from file-based media for automatic file detection
US20100162164A1 (en) Method and apparatus for providing search service during program broadcasting
US9955227B2 (en) System and method for communicating alerts through a set-top box
US11540008B2 (en) Systems and methods for audio adaptation of content items to endpoint media devices
CN106156032B (en) Method and device for identifying cleaning files
US11665404B2 (en) Systems and methods for aggregating related media content based on tagged content
CN104301384A (en) Data acquisition method, device and system
US20230345063A1 (en) Systems and methods for content item recognition and adaptive packet transmission
US20170325003A1 (en) A video signal caption system and method for advertising
US20070204118A1 (en) System and method of managing the memory content of a device
US8850504B2 (en) Method and system for comparing media assets
CN110248198B (en) Media information aggregation method, device and system
CN105357270A (en) Information recommendation method, device and server
US11250267B2 (en) Method and apparatus for processing information associated with video, electronic device, and storage medium
CN117632070A (en) Screen projection management method, terminal and storage medium
US10311470B2 (en) Systems and methods for providing callback addresses and viewership metrics
CN113515746A (en) Security vulnerability detection method and device, electronic equipment, storage medium and product
CN112637204A (en) Network data transmission encryption system
CN104967918A (en) Method and apparatus for generating electronic program menu
WO2014082116A1 (en) Delivery of substitute content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240104

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.