File Repair via Server-Side Characteristic Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvevirus removal effectivenessVSAvoidfile integrity
Core Design Contradiction:
ReliabilityVSManufacturing precision

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #2Taking out (Extraction)

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

Engineering Contradiction:
Improvevirus type coverageVSAvoidcleaning code development time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

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.

Inventive Principle:
Principle #26Copying

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.

Inventive Principle:
Principle #35Parameter changes

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

Engineering Contradiction:
Improvevirus removal completenessVSAvoidoriginal file content
Core Design Contradiction:
ReliabilityVSLoss of information

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.

Inventive Principle:
Principle #3Local quality

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.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9686310B2Method and apparatus for repairing a file
Publication Date: 2017.06.20 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9686310B2 patent drawing
  • US9686310B2 patent drawing
  • US9686310B2 patent drawing

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.