Unlock instant, AI-driven research and patent intelligence for your innovation.

File traversal progress calculation method and device, computer equipment and storage medium

A file and traversal technology, applied in the Internet field, can solve problems such as difficult to accurately calculate the progress of file traversal tasks, and achieve the effect of improving user experience

Pending Publication Date: 2022-02-01
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This calculation method will not delay too much time due to the calculation progress, but the total size of the files to be traversed is much smaller than the total capacity of the disk. If the cumulative value of the files is close to the total capacity of the disk, it is difficult to accurately calculate the file traversal task. progress

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 traversal progress calculation method and device, computer equipment and storage medium
  • File traversal progress calculation method and device, computer equipment and storage medium
  • File traversal progress calculation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0044] When implementing the progress calculation function, the capacity usage of the entire hard disk is usually obtained. After each file is processed, the amount of space occupied by the file is added to a variable. When the progress needs to be reported, the variable value is divided by the disk capacity value, traversing The total occupied space of the file needs to be much smaller than the disk capacity value, which is determined by the characteristics of the file system. For example, the total occupied space of the traversed file is close to the disk capacity value, ...

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 relates to a file traversal progress calculation method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a file handle of a disk file catalog and a file handle instance of a to-be-traversed file, calculating a disk capacity value according to the file handle, and according to the file handle instance, calculating a first total space occupation amount of the to-be-traversed files and a second total space occupation amount of files on which the file traversal business is executed in the to-be-traversed files, when the first total space occupation amount is not calculated, calculating the file traversal progress according to the disk capacity value and the second total space occupation amount, and when the first total space occupation amount is calculated, calculating the file traversal progress according to the first total space occupation amount and the second total space occupation amount, the effective and accurate progress can be reported in most of time in the whole file traversal process, and the user experience is improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a calculation method, device, computer equipment and storage medium for file traversal progress. Background technique [0002] Hard disk file traversal is a general term for a class of security software behaviors. This behavior may be: calculation of the hash value of the entire disk file for the purpose of global application startup control, or detection of the integrity of important files on the entire disk. Full disk file hash value calculation. These behaviors all need to process all the files in the entire hard disk or some directories in a certain operating system. This processing process may last for a long time. In order to improve user experience, it is necessary to report the progress of the file traversal task during the processing process. [0003] When calculating the progress of the file traversal task, the total capacity usage of the entire hard dis...

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): G06F16/18G06F16/11G06F16/13G06F16/16
CPCG06F16/1847G06F16/13G06F16/16G06F16/11Y02D10/00
Inventor 唐超甄鹏
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD