File Repair via Server-Side Characteristic Matching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional security software often corrupts normal files while attempting to remove virus-infected files, rendering them unusable, and requires extensive time and labor to develop cleaning codes for various virus types, leading to incomplete repairs and user experience issues.
Innovation Solution
A method and apparatus where a user device identifies and communicates with a server to obtain a repairing file by determining positions in a defect file that will not be modified by the virus, allowing for accurate replacement of the defect file without needing special virus cleaning algorithms, utilizing a server-based database to match characteristic information and provide a downloading path for the repairing file.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If conventional security software cleans the virus file in the infected file, then the virus is removed, but the file becomes corrupted and unusable
Solution Approach 1:
The patent segments the file into multiple blocks and identifies specific infected blocks containing virus characteristics. Only these specific blocks are repaired or replaced, while the rest of the file remains intact. This selective approach removes the virus while preserving the overall file structure and content.
Solution Approach 2:
The patent extracts and removes only the virus-infected portions (specific blocks containing virus characteristics) from the file, rather than removing or corrupting the entire file. The clean blocks are retained and reassembled to form the repaired file.
2Adaptability or versatility
If security software develops cleaning codes for various virus types, then virus removal capability improves, but development time and labor increase significantly
Solution Approach 1:
The patent uses characteristic information (fingerprints) of virus-infected blocks to identify and locate virus instances in files. Instead of developing custom cleaning codes for each virus type, the system copies and compares characteristic patterns to detect and repair infections efficiently.
Solution Approach 2:
The patent changes the approach from virus-specific cleaning codes to a parameter-based identification system using characteristic information of infected blocks. This allows the same repair mechanism to handle multiple virus types by matching their characteristic patterns rather than requiring specialized codes for each.
3Reliability
If the entire file is replaced to ensure complete virus removal, then virus removal is guaranteed, but file content may be lost and repair accuracy decreases
Solution Approach 1:
The patent applies local quality by treating different blocks of the file differently based on their infection status. Clean blocks are preserved in their original form, while only infected blocks are repaired or replaced. This maintains the original file content where possible while removing viruses locally.
Solution Approach 2:
The patent divides the file into segments (blocks) and processes each segment independently based on its infection status. This segmentation allows selective repair of only the necessary portions while preserving the integrity and content of uninfected portions.
Data Source
AI summary
The present disclosure describes a method for repairing a file. A user device searches for a defect file corrupted by a virus file, obtains a virus file name of the virus file and transmits the virus file name to a server. The user device receives an indication transmitted by the server and generates first characteristic information according to the indication; wherein the indication includes information of positions of the defect file that will not be modified by the virus file. The user device transmits the first characteristic information to the server, such that the server obtains a repairing file corresponding to the first characteristic information. The user device replaces the defect file with the repairing file.


