Method, system and device for realizing object file uploading and storage medium

A technology of object files and file systems, which is applied in the storage field, can solve the problems of being unable to upload, occupying the network bandwidth of the object storage pool, etc., and achieving the effect of reducing bandwidth occupation

A technology of object files and file systems, which is applied in the storage field, can solve the problems of being unable to upload, occupying the network bandwidth of the object storage pool, etc., and achieving the effect of reducing bandwidth occupation

CN112003944AActive Publication Date: 2020-11-27北京浪潮数据技术有限公司

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, system and device for realizing object file uploading and storage medium
  • Method, system and device for realizing object file uploading and storage medium
  • Method, system and device for realizing object file uploading and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The core of the present invention is to provide a method for uploading object files, which realizes the uploading of object files, reduces the bandwidth occupation of the object storage pool by the uploaded object files, and solves the limited situation when uploading large files.

[0038] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but 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 belong to the protection scope of the present invention.

[0039] Please refer to figure 1 , figure 1 It is an implementation flowchart of a method for uploading an object file in...

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 method for realizing object file uploading, which comprises the following steps of: establishing object storage on a file system of a server, and establishing a special linkbetween a client and the server; when the client uploads the object file, receiving the object file through the special link and storing the object file in a directory of a file system of the server;obtaining attribute information of the object file; calling an uploading interface of the object storage, creating an empty object with the same attribute information as the object file, and uploadingthe empty object to the object storage; and according to the path returned by the uploading interface, moving the object file stored in the directory of the file system to the path to realize uploading of the object file. By applying the scheme of the invention, the uploading of the object file is realized, the bandwidth occupation of the uploaded object file on the object storage pool is reduced, and the problem of limitation during uploading of a large file is solved. The invention further discloses a system and device for realizing object file uploading and a storage medium, and the corresponding technical effects are achieved.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method, system, device and storage medium for realizing uploading of object files. Background technique [0002] The current storage can be roughly divided into three categories: block storage, file storage and object storage. The read and write speed of block storage is fast, but it is not suitable for sharing. File storage is good for sharing, but the read and write speed is slow. Object storage is developed to overcome the shortcomings of both block storage and file storage, and to take advantage of their respective advantages. Object storage is not only fast in reading and writing, but also suitable for distributed systems and conducive to sharing. Common open source object storages include Ceph, Swift, etc. [0003] For object storage, when uploading object files, the currently commonly used method is to call the API (Application Programming Interface) provided in the ...

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
27 Nov 2020
Publication
CN112003944A
IPC
H04L29/08; H04L29/06; G06F16/13
CPC
H04L67/06; H04L67/141; G06F16/13; H04L67/01
Inventors
钱兵; 方浩