Patent ID: 9652632
Date: 2017-05-16
CPC Classifications: G06F

Claim:
1. A method for repairing a file at a user terminal, comprising: scanning, by at least one processor, a file at the user terminal, determining whether the file is infected, and acquiring file characteristics information; if the file is infected, acquiring, by the at least one processor, according to the file characteristics information, from a cloud server a secure file corresponding to the infected file and uploaded before an abnormity occurred, wherein the secure file in the cloud server is acquired by directly uploading the file of the user terminal; and replacing, by the at least one processor, the infected file of the user terminal with the secure file; wherein acquiring the secure file in the cloud server by directly uploading the file of the user terminal comprises: scanning file characteristics information of the file of the user terminal, and generating file information log in combination with monitored changes of the file; comparing the file characteristics information of the file information log with the file characteristics information recorded in the cloud server and determining whether there is an unknown file; if the unknown file exists, notifying the user terminal to upload the unknown file to the cloud server, the user terminal receiving a fragmenting policy returned by the cloud server, and fragmenting the unknown file to be uploaded according to the fragmenting policy; and the user terminal uploading the fragmented file to the cloud server as a unit, wherein if different user terminals upload a same file, different fragments of the same file to be uploaded are uploaded concurrently by respective user terminals.