Junk Picture File Identification via Directory Keyword Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Mobile devices face storage space issues due to cached network junk picture files, which affect normal application performance, necessitating an effective method to identify and delete junk picture files.
Innovation Solution
A method and device for identifying junk picture files on a server side by detecting directories generated by applications, checking for specific keywords and patterns in file names, and recording the paths of junk picture files for accurate identification and deletion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If network junk picture files are cached in mobile devices, then storage space is occupied, but normal application performance is affected
Solution Approach 1:
The patent extracts and identifies junk picture files from the cached network data by detecting specific keywords and patterns in file names and directory paths. The system separates useful cached images from useless junk files, enabling selective deletion of only the harmful files while preserving legitimate cached images, thus resolving the contradiction between storage space occupation and application performance.
2Quantity of substance
If cached network junk picture files are deleted, then storage space is freed, but accurate identification of junk files becomes challenging
Solution Approach 1:
The patent applies local quality by detecting specific local characteristics of junk files, such as particular keywords in file names (e.g., 'news', 'image'), specific directory path patterns, and resolution property formats (e.g., 'XXX*XXX'). By focusing on these localized identifying features rather than analyzing entire files, the system achieves high identification accuracy while maintaining efficiency.
Solution Approach 2:
The patent performs preliminary actions by pre-defining keyword lists, pattern rules, and detection criteria before actual junk file identification occurs. The system prepares detection templates and stores reference information about junk file characteristics in advance, enabling rapid and accurate identification when junk files need to be detected and deleted.
3Measurement precision
If multiple detection methods are used to identify junk files, then identification accuracy is improved, but detection complexity increases
Solution Approach 1:
The patent segments the detection process into multiple independent detection modules, each responsible for checking specific aspects of file characteristics (keywords in names, directory path patterns, resolution properties). This segmentation allows the system to combine multiple detection methods for higher accuracy while maintaining manageable complexity through modular design, where each module can be independently optimized and executed.
Data Source
AI summary
A method and device for identifying junk picture files, which are used for a server side to identify junk picture files in cached network data. The method comprises: obtaining a directory to be detected; determining whether the number of files in the directory is greater than or equal to a first preset value; if so, determining whether file names of the files in the directory contain keywords which represent the cached network data; if the keywords are contained, determining that the files in the directory are the cached network data, and then, determining whether keywords which represent useless picture files exist in the cached network data, so as to find out whether junk picture files exist; if the junk picture files exist, identifying the found picture files as cached junk picture files; and recording a directory path where the cached junk picture files are located. By means of the above solution, the cached network junk picture files can be accurately identified.


