METHOD AND APPARATUS FOR REPAIRING A FILE
First Claim
1. A method for repairing a file, comprising:
- searching a user device for a defect file corrupted by a virus file;
obtaining, by the user device, a virus file name of the virus file and transmitting the virus file name to a server;
receiving, by the user device, an indication transmitted by the server in response to the virus file name;
wherein the indication includes information of positions of the defect file that will not be modified by the virus file;
generating, by the user device, first characteristic information according to the indication and transmitting the first characteristic information to the server, such that the server obtains a repairing file corresponding to the first characteristic information; and
receiving, by the user device, the repairing file and replacing the defect file with the repairing file.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
15 Citations
11 Claims
-
1. A method for repairing a file, comprising:
-
searching a user device for a defect file corrupted by a virus file; obtaining, by the user device, a virus file name of the virus file and transmitting the virus file name to a server; receiving, by the user device, an indication transmitted by the server in response to the virus file name;
wherein the indication includes information of positions of the defect file that will not be modified by the virus file;generating, by the user device, first characteristic information according to the indication and transmitting the first characteristic information to the server, such that the server obtains a repairing file corresponding to the first characteristic information; and receiving, by the user device, the repairing file and replacing the defect file with the repairing file. - View Dependent Claims (2, 3, 4)
-
-
5. A method for repairing a file, comprising:
-
receiving, by a server, a virus file name transmitted by a user device; determining, by the server, whether a defect file corrupted by a virus file corresponding to the virus file name can be repaired according to the virus file name; if the defect file can be repaired, transmitting, by the server, an indication comprising information of positions of the defect file that will not be modified by the virus file to the user device; receiving, by the server, first characteristic information from the user device, wherein the first characteristic information is generated according to information retrieved from positions corresponding to the information in the indication of the defect file; determining, whether the first characteristic information is consistent with second characteristic information of a repairing file; and if the first characteristic information is consistent with the second characteristic information, providing, by the server, a downloading path of the repairing file or providing the repairing file to the user device. - View Dependent Claims (6, 7)
-
-
8. A user device for repairing a file, comprising:
-
one or more processors; memory; and one or more program modules stored in the memory and to be executed by the one or more processors, the one or more program modules comprise; a searching module, to search the user device for a defect file corrupted by a virus file and obtain a virus file name of the virus file; a first characteristic information obtaining module, to receive an indication from a server and generate first characteristic information according to the indication;
wherein the indication comprises information of positions of the defect file that will not be modified by the virus file;a repairing file obtaining module, to obtain a repairing file corresponding to the first characteristic information, wherein the repairing file is provided by the server if the first characteristic information of the defect file is consistent with second characteristic information of the repairing file; and a replacing module, to replace the defect file with the repairing file. - View Dependent Claims (9, 10, 11)
-
Specification