File read and write method, system and equipment and storage medium

A read-write method and file technology, applied in the storage field, can solve problems affecting the read-write performance of the storage system, reduce the transmission rate of cluster files, etc., and achieve the effect of improving read-write performance and improving transmission efficiency

Inactive Publication Date: 2018-09-21
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology mainly adopts the method of directly reading and writing a large number of small files, so that when the client reads and writes cluster files, the IOPS (full name in English: Input / Output Operations Per Second, full name in Chinese: the number of read and write operations per second) is very high. High, which seriously affects the read and write performance of the storage system and reduces the transmission rate of cluster 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
  • File read and write method, system and equipment and storage medium
  • File read and write method, system and equipment and storage medium
  • File read and write method, system and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0050] The embodiment of the invention discloses a file reading and writing method, which improves the transmission efficiency of small files and improves the reading and writing performance of a storage system.

[0051] see figure 1 , a flow chart of a file reading and writing method disclosed in an embodiment of the present invention, such as figure 1 shown, including:

[0052] S101: Receive the read request of the target file sequence sent by the upper layer i...

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 file read and write method, system and equipment and a storage medium. The method comprises the steps that a reading request of a target file sequence transmitted by an upperlayer interface is received, and a target file is selected in the target file sequence; the size of the target file is determined, and whether or not the size of the file is smaller than a preset value is judged; if yes, the target file is read in a data memorizer and saved in an inode node of a client, and a file apart from the target file is selected again in the target file sequence as a target file until files in the target file sequence are read; data in the inode node is transmitted to the upper layer interface. Compared with a method in which reading is directly conducted and files arereturned one by one in the prior art, the transmission efficiency of small files is improved, and the read and write performance of a storage system is improved.

Description

technical field [0001] The present invention relates to the field of storage technology, and more specifically, to a file reading and writing method, system and equipment, and a computer-readable storage medium. Background technique [0002] With the rapid development of the Internet era, the amount of data in many industries has reached the P level. For example, the available storage data of Taobao, the largest online shopping website in China, is 35PB, and the actual used capacity is 24PB, storing nearly 100 billion pictures. information, and the number of these information increases by billions every day, which makes the storage of massive data a great challenge. [0003] Through big data analysis, it is concluded that 60% of the stored data are small files with an average size of only 17.45KB on the entire data application side and data storage side. These file formats are various, and may be image JPG format, executable file EXE or a large number of custom formats. Th...

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): G06F17/30
Inventor 马顺
Owner ZHENGZHOU YUNHAI INFORMATION 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