基于REST的云存储服务接口的研究与实现
发布时间:2018-12-14 04:03
【摘要】:目前云存储服务产品种类繁多,在尝试使用云存储解决方案来运作实际项目时,可能会遇到接口不统一、数据难共享、后期维护不便等问题。为了实现同样的功能,开发人员需要编写几乎全然不同的代码,阅读并理解多份接口文档。从客观上来讲,这些差异会给云存储的发展带来了诸多困难。 为了解决这些问题,本文提出了一种可行的标准化云存储服务访问接口。接口基于REST风格设计,经过理论研究与编码实践,开发出了可标准化访问Google云和百度云的云存储接口插件。本文的主要研究工作包括: (1)针对云存储的差异化问题,讨论并研究了当前的云存储服务架构、接口的提供方式等基础知识。论文把重点放在REST技术的研究之上,并把它与其它几种主流的云存储服务接口进行了比对。论文认为基于HTTP的REST设计风格,是实现云存储服务接口的首选技术。 (2)为了屏蔽用户与云存储交互时数据的不一致性,论文根据多个云存储产品接口的特点,设计了一种基于REST的云存储服务接口规范,给出了基本的资源操作方法,并对访问的安全性、权限操作、错误响应做了详细定义。 (3)编码并实现了一个COM插件,,它是根据论文中提出的REST风格云存储服务接口进行开发的。插件通过中间数据转换,使开发者可以使用同一套规则访问不同的云存储服务,减少编码量,提高开发速度,降低学习成本。 (4)对插件进行比对测试与应用测试。比对测试是使用原生接口、其它类库及接口插件的调用测试,实验结果表明插件在代码量、数据统一性方面更为优秀。应用测试则开发了Windows Phone应用软件,使用插件完成对Google云、百度云的访问,插件的运行情况良好,操作响应都在可接受范围之内。
[Abstract]:At present, there are many kinds of cloud storage service products. When we try to use cloud storage solution to run the actual project, we may encounter some problems, such as the interface is not uniform, the data is difficult to share, and the later maintenance is not convenient. To do the same, developers need to write almost entirely different code, read and understand multiple interface documents. Objectively speaking, these differences will bring many difficulties to the development of cloud storage. In order to solve these problems, this paper proposes a feasible standardized cloud storage service provider interface. The interface is designed based on REST style. Through theoretical research and coding practice, a cloud storage interface plug-in with standardized access to Google cloud and Baidu cloud is developed. The main work of this paper is as follows: (1) aiming at the problem of cloud storage differentiation, the basic knowledge of cloud storage service architecture and interface is discussed and studied. This paper focuses on the research of REST technology and compares it with other mainstream cloud storage service interfaces. The paper thinks that REST design style based on HTTP is the preferred technology to realize cloud storage service interface. (2) in order to shield the data inconsistency between user and cloud storage, according to the characteristics of multiple cloud storage product interfaces, a cloud storage service interface specification based on REST is designed, and the basic resource operation method is given. And access security, permission operation, error response is defined in detail. (3) A COM plug-in is coded and implemented, which is developed according to the REST style cloud storage service interface proposed in this paper. The plug-in can use the same set of rules to access different cloud storage services, reduce the amount of coding, improve the speed of development, and reduce the cost of learning. (4) compare and test the plug-in with application test. The comparison test is a call test using native interface, other class libraries and interface plug-ins. The experimental results show that the plug-in is better in code volume and data unity. Application test has developed Windows Phone application software, using plug-in to complete the access to Google cloud, Baidu cloud, the plug-in runs well, the operation response is within acceptable range.
【学位授予单位】:武汉理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP334.7
本文编号:2377886
[Abstract]:At present, there are many kinds of cloud storage service products. When we try to use cloud storage solution to run the actual project, we may encounter some problems, such as the interface is not uniform, the data is difficult to share, and the later maintenance is not convenient. To do the same, developers need to write almost entirely different code, read and understand multiple interface documents. Objectively speaking, these differences will bring many difficulties to the development of cloud storage. In order to solve these problems, this paper proposes a feasible standardized cloud storage service provider interface. The interface is designed based on REST style. Through theoretical research and coding practice, a cloud storage interface plug-in with standardized access to Google cloud and Baidu cloud is developed. The main work of this paper is as follows: (1) aiming at the problem of cloud storage differentiation, the basic knowledge of cloud storage service architecture and interface is discussed and studied. This paper focuses on the research of REST technology and compares it with other mainstream cloud storage service interfaces. The paper thinks that REST design style based on HTTP is the preferred technology to realize cloud storage service interface. (2) in order to shield the data inconsistency between user and cloud storage, according to the characteristics of multiple cloud storage product interfaces, a cloud storage service interface specification based on REST is designed, and the basic resource operation method is given. And access security, permission operation, error response is defined in detail. (3) A COM plug-in is coded and implemented, which is developed according to the REST style cloud storage service interface proposed in this paper. The plug-in can use the same set of rules to access different cloud storage services, reduce the amount of coding, improve the speed of development, and reduce the cost of learning. (4) compare and test the plug-in with application test. The comparison test is a call test using native interface, other class libraries and interface plug-ins. The experimental results show that the plug-in is better in code volume and data unity. Application test has developed Windows Phone application software, using plug-in to complete the access to Google cloud, Baidu cloud, the plug-in runs well, the operation response is within acceptable range.
【学位授予单位】:武汉理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP334.7
【参考文献】
相关期刊论文 前9条
1 程莹;张云勇;房秉毅;徐雷;;云计算标准化现状分析[J];电信科学;2010年S1期
2 周平;张超;;云计算及云存储的管理技术[J];上海电力学院学报;2010年05期
3 王洁萍;李海波;杜宇健;陈志峰;;基于对象的云存储应用接口标准化研究[J];信息技术与标准化;2012年04期
4 徐海峰;毛华坚;肖侬;卢宇彤;;一种基于Wukong的云存储接口虚拟化服务[J];华中科技大学学报(自然科学版);2011年S1期
5 毛力锐;蔡鸿明;徐博艺;姜丽红;;基于REST面向资源的企业集成平台框架[J];计算机工程;2010年02期
6 杨天琪;廖丽慧;;中国云计算技术研究报告[J];科协论坛(下半月);2013年07期
7 许志龙;张飞飞;;云存储关键技术研究[J];现代计算机(专业版);2012年13期
8 冯新扬;沈建京;;REST和RPC:两种Web服务架构风格比较分析[J];小型微型计算机系统;2010年07期
9 韦鸿举;;云存储技术现状剖析[J];职业;2013年15期
本文编号:2377886
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2377886.html