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

Multi-thread file registration method and device

A multi-threading and file technology, applied in the field of information processing, can solve the problems of slow and time-consuming files, the efficiency of file registration needs to be improved, and frequent database connections, etc., to achieve the effect of improving efficiency

Active Publication Date: 2020-09-18
BANK OF CHINA
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When processing daily download files from multiple source systems in a certain source directory, there are a large number of files, and if there are special dates such as the end of the month, year-end, interest calculation day, etc., the number of large files will also be large, resulting in file registration The process is slow and time-consuming, which affects the speed of subsequent file loading
The multi-threaded registration method can improve the efficiency of file registration to a certain extent. However, in the prior art, during the multi-threaded registration process, the file concurrency is controlled through the database. After each registration thread obtains a file that can be registered, it queries the current file record in the database. , not only the database connection is frequent, but also multiple threads may obtain the same file at the same time, resulting in repeated processing, and the efficiency of file registration needs to be improved

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
  • Multi-thread file registration method and device
  • Multi-thread file registration method and device
  • Multi-thread file registration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. 的实施例。 Example. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0017] At present, in order to improve the efficiency of file registration, the commonly used implementation scheme is to configure only the registration multi-thread pool and control the concurrency of multiple files through the database.

[0018] Based on this, the multi-threaded file registration method and device provided by the embodiments of the present invention includes a single-threaded sc...

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 provides a multi-thread file registration method and device, and relates to the technical field of information processing, and the method comprises the steps: obtaining the basic parameters of a to-be-registered file, a threshold value of the number of memory files, and the number of registration threads; scanning the file list of the target position by using a single thread according to the threshold value of the number of the memory files, and determining target to-be-registered file information according to the basic parameters; sending the target to-be-registered file information to a memory database to enable the memory database to generate state mark data of the target to-be-registered file; and generating a multi-thread file registration result according to the targetto-be-registered file information, the state flag data, the registration thread number values and the basic parameters. The file registration efficiency can be improved.

Description

Technical field [0001] The present invention relates to the technical field of information processing, in particular to a method and device for multithreaded file registration. Background technique [0002] File registration includes the process of recording file information to the database and moving files from the source directory to the target directory. When processing daily download files from multiple source systems in a source directory, there are a lot of files, and if there are special dates such as the end of the month, the end of the year, the interest date, etc., the number of large files will also be large, which leads to file registration The process is slow and time consuming, which affects the speed of subsequent file loading. The multi-thread registration method can improve the efficiency of file registration to a certain extent. However, in the prior art, in the process of multi-thread registration, the concurrency of files is controlled through the database. E...

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): G06F16/25G06F9/50G06F9/52
CPCG06F16/25G06F9/5016G06F9/52Y02D10/00
Inventor 王游游李泽江杨锋
Owner BANK OF CHINA
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