Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for scanning files

A file scanning and file technology, applied in the field of file scanning, can solve problems such as reducing scanning efficiency, increasing input and output central processing units, etc., to achieve the effect of improving scanning efficiency, reducing IO overhead and CPU overhead

Inactive Publication Date: 2014-12-10
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] There are many directories that are remapped to a certain directory in the operating system. In the existing file scanning technology, the scanning engine is called to perform time-consuming actions such as reading and calculating features of files in all these directories.
This makes the scanning engine do a lot of useless work, increases the input and output (IO) overhead and central processing unit (CPU) overhead during the scanning process, and reduces the scanning efficiency

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
  • Method and device for scanning files
  • Method and device for scanning files
  • Method and device for scanning files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Various aspects of the present invention will be described in detail below with reference to the drawings and specific embodiments. Wherein, well-known modules, units and their mutual connections, links, communications or operations are not shown or described in detail. Also, the described features, architectures, or functions may be combined in any manner in one or more implementations. It should be understood by those skilled in the art that the various implementations described below are only for illustration, rather than limiting the protection scope of the present invention. It can also be easily understood that the modules or units or steps in the embodiments described herein and shown in the drawings can be combined and designed in various configurations.

[0029] figure 1 is a schematic flow chart of a file scanning method according to an embodiment of the present invention, refer to figure 1 , the method includes:

[0030] 100: During the process of travers...

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 method and device for scanning files. The method comprises the steps that in the catalog traversal process, first processing is carried out on a catalog obtained through traversal, the first processing comprises the steps of obtaining the catalog attribute of the catalog obtained through traversal and judging whether the catalog obtained through traversal is a remapped catalog or not according to the obtained catalog attribute, and scanning processing is not carried out on the catalog obtained through traversal if the catalog obtained through traversal is the remapped catalog; scanning processing is carried out on the catalog obtained through traversal if the catalog obtained through traversal is not the remapped catalog, and comprises the steps of scanning all the files in the catalog obtained through traversal to obtain a scanning result, and / or carrying out second processing on all sub-catalogs in the catalog obtained through traversal; second processing comprises the steps of carrying out traversal on all the sub-catalogs and carrying out processing identical to first processing on the sub-catalogs obtained through traversal. According to the method and device, the IO cost and CPU cost in the scanning process can be effectively lowered, and the file scanning efficiency is improved.

Description

technical field [0001] The present invention relates to the field of file scanning, and more specifically, to a file scanning method and device. Background technique [0002] There are many directories that are remapped to a certain directory in the operating system. In the existing file scanning technology, the scanning engine is called to perform time-consuming actions such as reading and calculating characteristics of files in all these directories. This makes the scanning engine do a lot of useless work, increases input and output (IO) overhead and central processing unit (CPU) overhead in the scanning process, and reduces scanning efficiency. Contents of the invention [0003] In order to solve the defects existing in the existing file scanning technology, the embodiments of the present invention provide a file scanning method and device, which can reduce the IO overhead and CPU overhead during the scanning process, and improve file scanning efficiency. [0004] In o...

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
IPC IPC(8): G06F17/30
CPCG06F16/148G06F21/562G06F16/11G06F16/1734
Inventor 郭明强张永成
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More