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

Optimization Method for File Arrival Scanning Based on Polling Mechanism

An optimization method and file technology, which is applied in the computer field, can solve problems such as the inability to obtain the accurate state of the file, the lengthening of the file processing delay period, and the inability to guarantee the integrity of the file, etc., to shorten the polling cycle, avoid performance degradation, and shorten the delay. The effect of time

Active Publication Date: 2022-03-11
北京永亚普信科技有限责任公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of using the polling mechanism is that the technical implementation is simple, but if the polling period is set too long, the delay period of file processing will be lengthened, and if the polling period is set too short, the file will be incomplete.
Due to polling and scanning the folder, the accurate status of the file cannot be obtained, so that the file may not be completely written to the disk when the file processing mechanism is triggered, resulting in only part of the file information being obtained and the integrity of the file cannot be guaranteed.

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
  • Optimization Method for File Arrival Scanning Based on Polling Mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0023] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

[0024] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

[0025] In all examples shown and discussed herein, any specific values ​​should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have dif...

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 for optimizing file arrival scanning for a polling mechanism, comprising: starting a scanning program; establishing at least one hidden folder; providing a target folder; when the target file is completely written into the target folder, Create a unique identifier in the hidden folder or write the first data in the hidden folder, the unique identifier or the first data corresponds to the target file; reduce the polling cycle of the scanning program, increase the frequency of scanning hidden folders, and protect hidden folders The folder is scanned; when the scanning program scans the hidden folder with the unique identifier or the first data, extract the target file corresponding to the unique identifier or the first data in the target folder. The present invention only scans hidden folders during the scanning process, avoiding the problem of incomplete extracted files, and also avoiding problems such as performance degradation caused by a large number of files not being processed in time and being backlogged in the target folder.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, relates to a method for optimizing file arrival scanning for a polling mechanism. Background technique [0002] In the field of computer technology, a polling strategy is often used to scan the received file status, so as to trigger a file processing mechanism. However, the polling mechanism of file scanning is to scan the target folder by setting the polling cycle, and obtain the change of the file status stored in the folder to start the trigger mechanism. The advantage of using the polling mechanism is that the technical implementation is simple, but if the polling period is set too long, the delay period of file processing will be lengthened, and if the polling period is set too short, the file will be incomplete. Due to polling and scanning the folder to obtain the accurate status of the file, the file may not be completely written to the disk when the file ...

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 Patents(China)
IPC IPC(8): G06F16/16
CPCG06F16/16
Inventor 张衍顺孙静刁麓弘王晓波张立凯
Owner 北京永亚普信科技有限责任公司