Cache File Deletion Impact Detection via Click Simulation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for checking the influence of deleting cache files in application programs are inefficient and labor-intensive, relying on manual processes that require repetitive work and high labor costs.
Innovation Solution
A method and device that automatically detect the influence of deleting cache files by acquiring a program, click path set, and cache path set, conducting click simulations, and analyzing operating results to determine the impact on the program, thereby increasing efficiency and reducing labor costs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual checking method is used to detect the influence of deleting cache files, then the checking process can be performed with simple equipment, but the checking efficiency is low and labor cost is high
Solution Approach 1:
The system performs self-testing by automatically deleting cache files and detecting program responses without human intervention. The testing device autonomously executes the checking process, including deleting cache files, simulating click paths, and analyzing operating results to determine if deletion had any influence on program functionality.
Solution Approach 2:
The patent replaces manual mechanical checking operations with automated electronic testing. Instead of manually deleting files and observing program behavior, the system uses automated scripts to delete cache files, programmatically navigate through click paths, and automatically analyze program responses, substituting human labor with computational processes.
2Ease of manufacture
If manual checking method is used to detect the influence of deleting cache files, then the equipment requirement is simple, but the labor cost is high and repetitive work is required
Solution Approach 1:
The system performs preliminary actions by pre-configuring click path sets and cache path sets before the actual checking process. These predefined paths and sequences are prepared in advance, allowing the automated testing to execute efficiently without requiring manual setup during each checking operation.
Solution Approach 2:
The patent changes the state of cache files from present to absent by deleting them, and observes the resulting parameter changes in program behavior. The system systematically varies which cache files are deleted and measures the corresponding changes in program functionality, using parameter changes as the core testing mechanism.
3Productivity
If automated checking is implemented, then the parallel processing efficiency is increased, but the device complexity increases
Solution Approach 1:
The testing system is segmented into distinct functional modules: a cache file deletion module, a click path simulation module, and an operating result analysis module. Each module handles a specific aspect of the testing process, allowing for independent development, testing, and maintenance while working together to achieve parallel processing efficiency.
Solution Approach 2:
The patent introduces an intermediary testing device that acts as a mediator between the cache file system and the program under test. This intermediary automatically manages the deletion of cache files, coordinates the simulation of user interactions through predefined click paths, and mediates the analysis of program responses, simplifying the overall system architecture while enabling automated parallel testing.
Data Source
AI summary
A method and device for checking influence of deleting a cache file. The method includes: acquiring a program to be checked, and acquiring a click path set and a cache path set corresponding to the program to be checked, in which the click path set includes a plurality of click paths, and the cache path set includes a plurality of cache paths, each click path set corresponds to a cache path; acquiring a cache path to be checked in the cache path set, and deleting a cache file to be checked from the cache path to be checked; according to a click path corresponding to the cache path to be checked, conducting a click simulation on the program to be checked; and according to an operating result of the program to be checked, acquiring the influence of deleting the cache file to be checked.


