Method, system, equipment and product for optimizing duration of reading massive files

A technology of massive files and duration, applied in the field of reading massive files duration optimization, can solve the problems of long time consumption and unfriendly user experience, and achieve the effect of improving the reading time, highlighting the substantive features, and improving the reading speed.

Inactive Publication Date: 2021-01-15
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For distributed storage, when there are a large number of files in a single directory, it takes a long time to obtain the information of all files in the directory. Experience very unfriendly problems, the present invention provides a method, system, device, and product for optimizing the time length of reading massive files

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, system, equipment and product for optimizing duration of reading massive files
  • Method, system, equipment and product for optimizing duration of reading massive files
  • Method, system, equipment and product for optimizing duration of reading massive files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention. Key terms appearing in the present invention are explained below.

[0043] samba is a free software that implements the SMB protocol on Linux and UNIX systems;

[0044] smb Server Messages Block information service block;

[0045] Such as figure 1 As shown, the embodiment of the present invention provides a method for optimizing the ti...

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 method, a system, equipment and a product for optimizing the reading time of massive files. The method comprises the following steps: sending a request for reading a directory, and giving a storage space of a set threshold for storing read file information; receiving a directory reading request and a given storage space; calling a lib library to circularly read file information under the catalogue; putting the read file information into a given storage space through a callback function F; when the given storage space is used up or all directories are read, returning the cache information. By using the callback function to obtain the file information, the interaction frequency of samba and library files can be reduced, the reading time is greatly prolonged, and theproduct performance is improved. According to the method for shortening the duration of reading the massive files in the directory, the code logic for reading the file information is reorganized, andthe original reading function is abandoned, so that the reading speed is greatly increased, and the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of distributed storage, in particular to a method, system, device and product for optimizing the time length of reading massive files. Background technique [0002] Distributed storage is a data storage technology that uses the disk space on each machine in the enterprise through the network, and forms these scattered storage resources into a virtual storage device, and the data is scattered and stored in every corner of the enterprise. [0003] In distributed storage, when there are a large number of files in a single directory, it takes a long time to obtain the information of all the files in the directory. For example, it takes a long time to browse all the files in the directory through the linux client with the ls command, which brings bad user experience. Very unfriendly. Contents of the invention [0004] For distributed storage, when there are a large number of files in a single directory, it tak...

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/182G06F16/172G06F16/13G06F3/06
CPCG06F3/0611G06F3/0643G06F16/13G06F16/172G06F16/182
Inventor 乔红斌张亚奇
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products