Mixed file storage method

A file storage and mixed file technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems affecting file storage services, file system performance degradation, etc., to achieve flexible expansion, improve service capabilities and stability , Coding flexible effects

Inactive Publication Date: 2018-09-28
G CLOUD TECH
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a large number of small pictures are stored in this file storage system suitable for large attachments, the performance of the file system will plummet, which will affect subsequent file storage services

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
  • Mixed file storage method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] as attached figure 1 Shown; The inventive method comprises the steps:

[0028] Step 1. Define the interface IFileService for file storage, which defines the methods of file storage, including interfaces such as file saving, downloading, replacing, and deleting.

[0029] Step 2. Install HDFS, a distributed file system Hadoop suitable for large attachment storage, and FastDFS, a distributed file system suitable for small attachment storage.

[0030] Step 3: Implement the HDFS file storage implementation class HdfsServiceImpl, which needs to implement the IFileService interface and implement all the methods of the interface;

[0031] Step 4, implement the FastDFS file storage implementation class FastDFSServiceImpl, which needs to implement the IFileService interface and implement all the methods of the interface;

[0032] Step 5, complete the file storage configuration fileSerice.xml, configure HdfsServiceImpl for attachment storage services above 500M; configure FastDF...

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 relates to the field of file storage processing technology, in particular to a mixed file storage method. According to the method, corresponding file systems are installed according to the actual conditions of application systems; then a suitable file system is automatically selected for storage service according to the sizes of storage files through a file storage and debugging class; and when the suitable application system needs to increase more file storage types, the file debugging class is adjusted, and then new file storage service can be realized. Through the method, storage of the files with different sizes in the application systems is realized; and the method can be applied to file storage of all the application systems.

Description

technical field [0001] The invention relates to the technical field of file storage processing, in particular to a method for mixing file storage. Background technique [0002] At present, in the field of software development, there are various file storage systems; file storage services can be realized by means of these file systems. But each file storage system has its applicable field; for example, Hadoop's distributed file system is suitable for the application field of large attachment (greater than 500M) file storage; FastDFS is suitable for small attachment (4KB-500M) file storage service; MogileFS is suitable for the storage service of massive image files. For an application system, a file system is usually built for file storage services, but the application software cannot guarantee the size and format of the files, and often stores some inappropriate files in the file system. Hadoop, a distributed file system suitable for storing large attachment files, is adopt...

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 G CLOUD TECH
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