Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File storage method, file reading method and data storage system

A file data and file technology, applied in the field of data storage systems, can solve the problems of low reading efficiency, low reading and writing efficiency, etc., and achieve the effect of improving reading speed and traversing performance.

Active Publication Date: 2021-03-19
中智关爱通(上海)科技股份有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is friendly to read and write small files (such as text descriptions and comments less than 1kb), but relatively inefficient to read and write larger files (such as pictures or video files ranging from tens of kb to several Mb)
On the other hand, multiple files associated with a product are often stored and read simultaneously, and for each file, the data storage system 10 based on the LSM tree will search for all files according to the complete read operation process as described above. Requested file data without considering the relationship between these files, resulting in even lower reading efficiency

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 storage method, file reading method and data storage system
  • File storage method, file reading method and data storage system
  • File storage method, file reading method and data storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0034] As used herein, the term "comprise" and its variants mean open inclusion, ie "including but not limited to". The term "or" means "and / or" unless otherwise stated. The term "based on" means "based at least in part on". The terms "one embodiment" and "some embodiments" mean "at least one example embodiment." The term "another embodiment" means "at least one further embodiment". The terms "first", "second", etc. may refer to different or the same object...

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 file storage method, a file reading method and a data storage system. The file storage method comprises the following steps: receiving storage requests of a plurality of filesassociated with the same object; storing the first key value pair of each file in the plurality of files in a first memory table of a memory; when the first memory table is full, transferring data inthe first memory table to a persistent memory and emptying the first memory table, wherein transferring the data in the first memory table to a persistent memory comprises: storing a second key valuepair of each of the plurality of files in an LSM tree-based first storage file in the persistent memory, and sequentially storing the third key value pair of each of the plurality of files in a plurality of storage units in the second storage file.

Description

technical field [0001] The present invention generally relates to the field of data storage, and more specifically, relates to a file storage method, a file reading method, and a data storage system based on an LSM (Log-Structured Merge) tree. Background technique [0002] LSM tree is a data storage structure, often used to build NoSQL key-value pairs (key-value) database. For example, currently known LevelDB, RocksDB, hbase, etc. are all key-value pair databases based on LSM trees. [0003] figure 1 A schematic diagram of an LSM tree-based data storage system 10 in the prior art is shown. Note that in figure 1 In , the RocksDB database is used as an example to show the names of various components, and the names of corresponding components in other databases may be the same or different. [0004] Such as figure 1 As shown in , the LSM tree-based data storage system 10 includes a memory 110 and a persistent storage 120 (such as a hard disk). In addition, although not sh...

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/22
CPCG06F16/2246G06F16/2282
Inventor 周智伟胡旋
Owner 中智关爱通(上海)科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products