Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File scanning method and file scanning device and file detecting system

A file scanning and document technology, applied in the field of scanning, can solve the problems of long time consumption, slow scanning speed, long scanning time, etc., and achieve the effect of saving system resources, improving speed, and accelerating progress.

Active Publication Date: 2013-03-20
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when scanning the above-mentioned files with the same characteristics in the prior art, all the files in the computer will be scanned for the first time, and all the contents of the files will be scanned. Therefore, for files with more content, it will take a long time to scan It takes a long time and takes up a lot of resources, which leads to a very long time for the first scan
And the second scan after the first scan also needs to reacquire these features, so that the scan speed is still very slow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File scanning method and file scanning device and file detecting system
  • File scanning method and file scanning device and file detecting system
  • File scanning method and file scanning device and file detecting system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] refer to figure 1 , showing a flow chart of a file scanning method in an embodiment of the present invention, this embodiment may specifically include the following steps:

[0060] S101. Obtain current attribute information of a file to be scanned.

[0061] Obtaining the current attribute information of the file to be scanned described in this embodiment includes:

[0062] Read the path of the file to be scanned;

[0063] The current attribute information of the file to be scanned is obtained according to the path of the file to be scanned.

[0064] Specifically, firstly, the path of the file to be scanned can be extracted from the directory of the file to be scanned by traversing the directory of the file to be scanned; secondly, the path of the file to be scanned can be used to find the file to be scanned; finally, the current attribute information of the file to be scanned can be read . The current attribute information of the file to be scanned in this embodimen...

Embodiment 2

[0088] refer to figure 2 , showing a flow chart of a file scanning method in an embodiment of the present invention, this embodiment may specifically include the following steps:

[0089] S201. Obtain current attribute information of a file to be scanned.

[0090] In this embodiment, the path of the file to be scanned may be extracted from the directory of the file to be scanned by traversing the directory of the file to be scanned. Then the file to be scanned can be found through the path of the file to be scanned, and then the current attribute information of the file to be scanned can be read. The current attribute information of the file to be scanned in this embodiment includes: the size of the file, the last modification time of the file and the creation time of the file.

[0091] For example, the path of the file to be scanned is C:\program files\msn gamingzone\windows\rvsezm.exe, according to this path, you can find the file rvsezm.exe from the C drive, and then rea...

Embodiment 3

[0113] refer to image 3 , which shows a structural block diagram of a document scanning device according to an embodiment of the present invention, and this embodiment may specifically include the following modules:

[0114] The attribute acquiring module 301 is adapted to acquire the current attribute information of the file to be scanned.

[0115] In this embodiment, the attribute acquisition module 301 includes:

[0116] The path reading submodule is suitable for reading the path of the file to be scanned;

[0117] The information obtaining sub-module is adapted to obtain the current attribute information of the file to be scanned according to the path of the file to be scanned.

[0118]Specifically, the path reading submodule can extract the path of the file to be scanned from the directory of the file to be scanned by traversing the directory of the file to be scanned, and then the information acquisition submodule can find the file to be scanned through the path of th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a file scanning method, a file scanning device and a file detecting system, so that a problem that scanning again needs a long time is solved. The file scanning method comprises the following steps: acquiring current attribute information of a to-be-scanned file; visiting a local cache database, and judging if scanned feature information of the to-be-scanned file exists in the local cache database; if the scanned feature information of the to-be-scanned file exists in the local cache database, then analyzing the scanned feature information to obtain scanned attribute information, and judging if the scanned attribute information is identical to the current attribute information; if the scanned attribute information is identical to the current attribute information, then reading the scanned feature information to serve as current feature information of the to-be-scanned file; and if the scanned attribute information is not identical to the current attribute information, calculating the current feature information of the to-be-scanned file through the current attribute information, and storing the current feature information of the to-be-scanned file on the local cache database to serve as scanned feature information for the next scanning. According to the file scanning method, the file scanning device and the file detecting system, time for acquiring the same file features of the next scanning can be reduced, and the speed of file scanning is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of scanning, and in particular to a document scanning method, a document scanning device and a document detection system. Background technique [0002] With the popularization of computers, both the server and the client need to scan files in the computer so as to detect malicious software such as viruses in time. However, when scanning, a large amount of CPU and disk operations are required, and the scanning process is long and affects the speed of the system. Among the scanned files, many files are the same, such as Windows files, help files, compressed files, and installation package files of many software. [0003] At present, when scanning the above-mentioned files with the same characteristics in the prior art, all the files in the computer will be scanned for the first time, and all the contents of the files will be scanned. Therefore, for files with more content, it will ta...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 刘智锋孔庆龙
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products