# US 2017/0293759 A1 · Method, apparatus and computer device for scanning information to be scanned

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293759 A1
- Document ID: US20170293759A1
- Status: Published application
- Kind: A1
- Application number: 15/630,228
- Filed: 2017-06-22
- Published: 2017-10-12
- Earliest claimed: 2014-09-12
- Assignees: Baidu Online Network Technology (Beijing) Co., Ltd.
- Applicants: Baidu Online Network Technology (Beijing) Co., Ltd.
- Inventors: Mingqiang GUO; Yongcheng ZHANG
- Web page: https://patentgrep.com/patent/US20170293759A1

## CPC

- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- H04L 63/14: {for detecting or protecting against malicious traffic}
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a method for scanning information to be scanned in a computer device, the information to be scanned needing multiple scans, and the method comprising the steps of: a. determining a delay duration from the end of a scan for the information to be scanned to the start of a next scan according to current performance information about the CPU of the computer device; and b. scanning the information to be scanned according to the delay duration. According to the solution of the present invention, by determining a delay duration from the end of a scan for the information to be scanned to the start of a next scan according to current performance information about the CPU of a computer device, and scanning according to the delay duration, problems such as slow running due to high occupancy ratio of CPU resources during scanning can be avoided.

## Claims

### Claim 1

A method for virus scan on a computer device comprising a processor with one or more central processing unit (CPU) cores, comprising:
scanning at least one file by each of the one or more CPU cores during a first scan;
determining a delay duration for waiting between a start of a second scan and an end of the first scan according to performance information about a processor of the computer device;
conducting the second scan to scan at least one unscanned file by each of the one or more CPU cores according to said determining; and
repeating said conducting until all files on the computer device have been scanned,
wherein the performance information comprises a current occupancy ratio of the processor, a number of the one or more CPU cores, or a combination thereof.

### Claim 2

A method for repeatedly scanning information via a computer device, comprising:
determining a delay duration for delaying a start of a second scan from an end of a first scan of the information according to performance information about a processor of the computer device; and
scanning the information according to said determining,
wherein the processor comprises at least one central processing unit (CPU), and
wherein the performance information comprises a current occupancy ratio of a selected CPU of the processor, a number of CPU cores of the processor or a combination thereof.

### Claim 3 (depends on 2)

The method of claim 2, wherein said scanning the information includes:
scanning partial information of the information during the first scan; and
conducting the second scan to scan at least a portion of unscanned information in the information.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
conducting an additional scan to scan at least a portion of the unscanned information in the information; and
repeating said conducting the additional scan until all information in the information has been scanned.

### Claim 5 (depends on 2)

The method of claim 2, further comprising scanning partial information in the information to be scanned,
wherein said determining the delay duration comprises determining the delay duration from an end of a current scan of the information to a start of a subsequent scan according to current performance information about the processor of the computer device, and
wherein said scanning the information includes conducting another scan after the end of the current scan and after the determined delay duration to scan all or partial unscanned information in the information.

### Claim 6 (depends on 5)

The method of claim 5, further comprising repeating said determining the delay duration and said conducting the another scan until all of the information has been scanned.

### Claim 7 (depends on 5)

The method of claim 5, wherein said determining the delay duration is in parallel with performing the current scan of the information.

### Claim 8 (depends on 2)

The method of claim 2, further comprising predefining one or more occupancy ratio ranges each corresponding to a duration value, wherein said determining comprises:
determining, from the one or more occupancy ratio ranges, an occupancy ratio range that the current occupancy ratio of the selected CPU is within; and
determining the delay duration based on the duration value corresponding to the determined occupancy ratio range.

### Claim 9 (depends on 2)

The method of claim 2, wherein said determining the delay duration includes determining the delay duration according to the current occupancy ratio of the selected CPU and the number of the CPU cores of the processor.

### Claim 10 (depends on 9)

The method of claim 9, wherein said determining the delay duration comprises determining the delay duration based on a ratio between the current occupancy ratio of the selected CPU and the number of the CPU core.

### Claim 11 (depends on 9)

The method of claim 9, wherein said determining the delay duration comprises determining the delay duration according to the current occupancy ratio of the selected CPU, the number of the CPU cores of the processor, a first time interval and a predetermined reference value of the number of the CPU cores.

### Claim 12 (depends on 2)

The method of claim 2, wherein said determining the delay duration comprises determining the delay duration according to the performance information about the processor and a first time interval.

### Claim 13 (depends on 12)

The method of claim 12, wherein said determining the delay duration comprises determining the delay duration according to the performance information about the processor, the first time interval and a predetermined reference value of the number of the CPU cores.

### Claim 14 (depends on 2)

The method of claim 2, further comprising:
determining whether the performance information about the processor satisfies a predetermined scanning condition before starting the first scan; and
proceeding with said determining the delay duration and said scanning the information based upon a determination that the performance information satisfies the predetermined scanning condition.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
delaying the first scan for a predetermined time period based upon a determination that the performance information does not satisfy the predetermined scanning condition; and
repeating said determining whether the performance information about the processor
satisfies the predetermined scanning condition upon expiry of the predetermined time period.

### Claim 16 (depends on 14)

The method of claim 14, wherein said determining whether the performance information about the processor satisfies the predetermined scanning condition comprises determining whether the current occupancy ratio of the selected CPU satisfies the predetermined scanning condition.

### Claim 17 (depends on 16)

The method of claim 16 wherein the predetermined scanning condition comprises the current occupancy ratio of the selected CPU is lower than an occupancy ratio threshold.

### Claim 18 (depends on 14)

The method of claim 14, wherein said determining whether the performance information about the processor satisfies the predetermined scanning condition comprises determining whether the number of the CPU cores satisfies the predetermined scanning condition.

### Claim 19 (depends on 18)

The method of claim 18, wherein the predetermined scanning condition comprises the number of the CPU cores being higher than a core number threshold.

### Claim 20

An apparatus for repeatedly scanning information via a computer device, comprising:
a processor; and
a memory having one or more programs stored thereon for instructing said processor to:
determine a delay duration for delaying a start of a second scan from an end of a first scan of the information according to performance information about a processor of the computer device; and
scan the information according the delay duration,
wherein the processor comprises at least one central processing unit (CPU), and
wherein the performance information comprises a current occupancy ratio of a selected CPU and a number of CPU cores of the processor.
