发明名称 |
FILE SCANNING METHOD AND APPARATUS RELATED APPLICATION |
摘要 |
Disclosed are a file scanning method and apparatus. The method includes: obtaining a quantity of hard links of a to-be-scanned file used as a scanning target; if the quantity of hard links of the to-be-scanned file is greater than 1, when the to-be-scanned file is used as the scanning target for the first time, invoking a scanning engine to scan the to-be-scanned file to obtain a scanning result, and storing a file identifier uniquely identifying the to-be-scanned file and the scanning result to a storage unit, and when the to-be-scanned file is used as the scanning target again, querying for and obtaining the scanning result of the to-be-scanned file from the storage unit according to the file identifier. |
申请公布号 |
US2016203149(A1) |
申请公布日期 |
2016.07.14 |
申请号 |
US201414777155 |
申请日期 |
2014.08.29 |
申请人 |
BIADU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD |
发明人 |
GUO Mingqiang;QIAN Keming;CAO Liang |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A file scanning method, comprising:
obtaining a quantity of hard links of a to-be-scanned file used as a scanning target; if the quantity of hard links of the to-be-scanned file is greater than 1, when the to-be-scanned file is used as the scanning target for the first time, invoking a scanning engine to scan the to-be-scanned file to obtain a scanning result of the to-be-scanned file, and storing a file identifier uniquely identifying the to-be-scanned file and the scanning result of the to-be-scanned file to a storage unit, and when the to-be-scanned file is used as the scanning target again, querying for and obtaining the scanning result of the to-be-scanned file from the storage unit according to the file identifier. |
地址 |
Beijing CN |