File System Filter for Safe Deletion and Restoration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users face risks when deleting files, as important system files or registry entries can be accidentally deleted, leading to system instability and costly repairs, and existing solutions do not adequately protect against such errors.
Innovation Solution
A file system filter (FS Filter) intercepts delete commands, makes critical files inaccessible by listing them in a blocked file list, and allows restoration upon system errors, ensuring files remain on the hard drive until safely deleted or restored.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If files are deleted to save space or improve performance, then storage capacity and system performance are improved, but system stability and reliability deteriorate due to accidental deletion of critical files
Solution Approach 1:
The system creates a blocked file list in advance that prevents deletion of critical system files. This preliminary protective action ensures that even if users attempt to delete important files, the deletion is blocked before it can cause system instability, thus resolving the contradiction between freeing space and maintaining system reliability.
Solution Approach 2:
The patent introduces a blocked file list as an intermediary mechanism between the user's delete command and the actual file deletion. This intermediary layer filters out critical files that should not be deleted, allowing safe deletion of non-critical files while preventing accidental deletion of system-critical files, thus balancing productivity and reliability.
2Reliability
If files are made inaccessible to prevent accidental deletion, then system stability is improved, but ease of operation deteriorates as users cannot delete files they need to remove
Solution Approach 1:
The blocked file list applies different protection levels to different files. Critical system files are blocked from deletion to maintain stability, while non-critical files remain accessible for normal deletion operations. This local differentiation of protection quality resolves the contradiction by providing stability where needed without unnecessarily restricting user operations on safe files.
Solution Approach 2:
The system provides feedback to users about which files are blocked and why. When a user attempts to delete a file, the system informs them if the file is critical and cannot be deleted. This feedback mechanism maintains ease of operation by guiding users away from deleting critical files while still allowing them to delete safe files without restriction.
3Reliability
If a blocked file list is maintained to prevent accidental deletion, then system stability is improved, but device complexity increases due to additional monitoring and management requirements
Solution Approach 1:
Instead of creating complex real-time monitoring systems, the patent uses a simplified copy approach by maintaining a static blocked file list that contains paths of critical files. This copying strategy simplifies the system by pre-listing protected files rather than continuously analyzing file importance, thus reducing device complexity while maintaining reliability.
Solution Approach 2:
The patent extracts the critical file identification function from the complex file system and separates it into a dedicated blocked file list. This extraction simplifies the overall system by isolating the protection logic to a separate, manageable data structure rather than embedding complex monitoring throughout the entire file system, thus reducing device complexity.
Data Source
Figure 1
Figure 2A~2B
Figure 3~4
AI summary
The present invention comprises a method and system for safely deleting files and registry keys from the operating system. The process works by having a file system filter or registry monitor intercept commands to delete information. Instead of deleting the file or registry key, the system monitor places the information in a list of blocked files, making the file and key inaccessible to all other programs. If the machine later experiences errors, access to the file can be restored. If the machine is unaffected by the apparent deletion of the file, then the file is permanently deleted.