Storage space cleaning method and device based on prefix database

A storage space and database technology, applied in the field of storage space cleaning based on prefix database, can solve the problems of long waiting time for cleaning, low database query efficiency, affecting user experience, etc. Experience, the effect of installing a small package

Active Publication Date: 2017-07-14
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the database based on the existing storage space cleaning method is a relational database, which makes the method need to combine all the characters of the path information of the scanned directory with all the records stored in the database during the directory scanning process. The path information is compared and matched one by one (that is, traversed), and the mobile terminal needs to generate a SQL (Structured Query Language, Structured Query Language) query statement according to the full path information of the scanned directory, and the generated SQL query statement is relatively long (dozens of k), which makes the query efficiency of the database low, resulting in slow cleaning speed. The intuitive reflection is that the user waits for a long time to clean up, which affects the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage space cleaning method and device based on prefix database
  • Storage space cleaning method and device based on prefix database
  • Storage space cleaning method and device based on prefix database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0029] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be unders...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method for cleaning memory space based on a prefix database and a device thereof, and the method comprises the following steps of: scanning the memory space and acquiring path information of currently scanned catalogues; extracting prefix information from the path information; searching the prefix information matched with the extracted prefix information from the prefix database; comparing the path information of the prefix information searched from the prefix database with the acquired path information; if comparative results are the same, collecting garbage to the currently scanned catalogues according to cleaning strategies corresponding to the path information in the prefix database. When the memory space is cleaned, the path information of the currently scanned catalogues isn't compared and matched with all records in the prefix database so as to improve the query efficiency of the database, quicken the cleaning speed of the memory space and promote the user experience.

Description

technical field [0001] The present invention relates to mobile terminal technology, in particular, the present invention relates to a storage space cleaning method and device based on a prefix type database. Background technique [0002] At present, the functions of mobile terminals are increasingly powerful, and users can install software such as chatting, surfing the Internet, games and entertainment in the mobile terminals. As the user continues to use the mobile terminal, there will be more and more junk files in the storage space of the mobile terminal. These junk files usually include junk files generated during the operation of the mobile terminal system, as well as cache files generated during the operation of applications installed on the mobile terminal, invalid old version installation packages due to software version upgrades, and software uninstalled by users. Some application residual files and so on generated after. If these junk files are not cleaned up in ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/215G06F16/284
Inventor 王玲军肖文峰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products