摘要 |
A method for scanning files includes: enumerating unscanned files; obtaining attributions of the unscanned files from the enumerated files one by one, and transmitting to a server the attributions; comparing the attributions with features that are stored in the server, obtaining the features that are consistent with the attributions and types that the features belong to; and generating a mapping relationship between the unscanned files, the attributions and the types according to the features that are consistent with the attributions and the types of the features, and recording the mapping relationship in a first scanning result. The above method uploads the attributions of the files to the server; and makes the safety and risky recognition of the file through comparing with the features and the corresponding types. Since the server would break the limit of the storage volume while storing large amount of features and the server could update the features quickly and timely, the features stored in the server would be relatively competent; thereby the scanning efficiency of the files could be improved. |