File system in user space implementation method oriented to MongoDB

A technology of file system and implementation method, which is applied in the field of cloud storage, can solve problems such as not supporting directory operations, read and write efficiency to be verified, etc., achieve high query efficiency, save time, and improve query efficiency

Active Publication Date: 2014-12-24
XI AN JIAOTONG UNIV +1
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In 2009, Paul Rosania tried to develop it, and pointed out in the published release notes that the current unreso

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 system in user space implementation method oriented to MongoDB
  • File system in user space implementation method oriented to MongoDB
  • File system in user space implementation method oriented to MongoDB

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present invention is described in further detail below in conjunction with accompanying drawing:

[0048] refer to figure 1 , the MongoDB-oriented user space file system implementation method of the present invention comprises the following steps: constructing the fs. In the process of storing files, the fs.files collection used to store file metadata information and the fs.chunks collection used to store file data information are automatically generated. The Linux file system and MongoDB database realize the creation and deletion of nodes through fs.nodes Collections, fs.files collections, and fs.chunks collections are associated. Specifically, directory nodes are associated with fs.nodes collections, file nodes are associated with fs.nodes collections, fs.files collections, and fs.chunks collection elements, and nodes are associated with nodes The parent-child relationship between is determined by the link structure of the elements in the fs.nodes collection.

...

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 system in user space implementation method oriented to MongoDB. The method comprises the following steps: building an fs.nodes set for storing file directory structure information and node metadata information; creating a MongoDB GridFS storage file; automatically generating an fs.files set for storing file metadata information and an fs.chunks set for storing file data information while creating the MongoDB GridFS storage file; realizing correlation of the fs.nodes set, the fs.files set and the fs.chunks set, specifically correlation of a directory node and the fs.nodes set, correction of a file node and the fs.nodes set and correlation of the fs.files set and the fs.chunks set, during creation and deletion of nodes by using a Linux file system and a MongoDB database, wherein the parent-child relationship between nodes is determined by the link structure of fs.nodes. The method supports directory operation, and has the advantages of small occupation of storage space, high reading-writing efficiency and the like.

Description

technical field [0001] The invention belongs to the field of cloud storage, and relates to a user space file system implementation method, in particular to a MongoDB-oriented user space file system implementation method. Background technique [0002] In the context of the era of big data, storage issues have become the focus of academia and industry again, and traditional technologies and methods have been difficult to cope with the new challenges brought about by the sharp increase in data volume. Cloud storage is a new concept extended and developed from the concept of cloud computing under this background. A system in which devices work together through application software to jointly provide data storage and business access functions. In the cloud, various storage devices are integrated and managed through application software (take the MongoDB cluster server as an example), and users use terminals (PCs, mobile phones, etc.) to access the storage services provided by 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
IPC IPC(8): G06F17/30
CPCG06F16/113G06F16/13G06F16/211G06F16/212G06F16/2246G06F16/2264G06F16/2272G06F16/284
Inventor 郑庆华陈亚兴董博杨源杰李庆喻戴立言胡伟雄陈志敏
Owner XI AN JIAOTONG UNIV
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