Font Size: a A A

Object Distributed Storage Mechanism And Implementation Based On REST Service

Posted on:2019-12-16Degree:MasterType:Thesis
Country:ChinaCandidate:Y X YaoFull Text:PDF
GTID:2428330572963627Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology,the amount of data has now exploded,and the demand for data storage is growing.The birth of the cloud platform based on object distributed storage technology has greatly solved the needs of users.Compared with the traditional storage mode,the cloud platform occupies a place in the storage field with its large capacity,scalability and security.However,nowadays,the disclosure of important information such as personal information and trade secrets has become commonplace,and the privacy of users is greatly threatened.At the same time,the inability to share data in time has become a bottleneck for many users.It is especially important to solve these tough problems.Therefore,this paper proposes a distributed storage mechanism based on REST service.By calling REST-style Web services,files are uploaded to the cloud to achieve secure storage of files and improve data sharing.REST is a set of software architecture constraints,principles,and specifications that are still in the research concept phase.The program or design that satisfies these constraints and principles is RESTful.So this article uses the REST-style architecture to design the REST API to complete the object storage of the file.The implementation process of the REST service-based object distributed storage mechanism proposed in this paper is as follows: Firstly,the article explores the nature and characteristics of REST style and the design criteria of REST service,and recycles things to design REST-style REST API,including Cutting the upload service,downloading the restore service,and the role permission service,etc.,and designing the corresponding public service.In this paper,the user requests the controller to perform role authorization by calling the designed service that uploads the cut file.The authenticated user can perform the operation of cutting the file,and then upload the cut file to the API provided by the cloud platform.The cloud is stored in different locations in the cloud to implement fragment storage of files.Users who need to download files can call the download restore service to obtaindifferent file fragment save locations from the metadata management service to download files from the cloud for later use.At the same time,the user can also set the role permissions of the folder,and only the authorized users can use this mechanism.This paper proposes a distributed storage mechanism based on REST service object,and designs a set of storage mechanism that is convenient for users.The method of saving files by sharding makes the loss of a small file without affecting the leakage of the entire file,and improves the security of file storage.Based on these characteristics,the mechanism has good application value.
Keywords/Search Tags:Object distributed storage, REST style, REST API, slice storage, security
PDF Full Text Request
Related items