摘要
为降低相册系统开发的复杂性,同时提高该系统的可伸缩性,从而设计并实现一个基于Representational State Transfer(REST)风格的相册管理系统.该系统采用具有REST风格的Web服务API的主流云开发平台,通过使用Service、Bucket、Object和Multipart Upload操作,完成对相册管理功能模块和相片管理功能模块的设计和实现.首先,Bucket通过Service获取并实现对相册的管理;然后,Object通过上传、设置、下载、获取和删除操作实现对相片的管理.最后,通过Multipart Upload补充了对相片的批处理操作.该电子相册实现了在云端传递和下载图片的功能,满足了用户能够随时随地下载图片需求,同时具有较好的可扩展性.
To reduce the complexity of the system development and improve the system's salability,we designed the electronic album based on the Representational State Transfer(REST)style. The system adopted operations of Service,Bucket,Object and Multipart Upload to implement the album and the photo management based on the mainstream cloud platform with the REST style's web service API. Firstly,Bucket obtained by Service implemented the photo album management. Next,Object managed photos through uploading,setting, downloading,obtaining and deleting operations. Finally,Multipart Upload supplemented the batch operations for photos. The electronic photo album implements the function of passing and downloading photos in the cloud, meeting user's needs to download photos in anytime and anywhere with a good scalability.
出处
《武汉工程大学学报》
CAS
2017年第1期78-82,共5页
Journal of Wuhan Institute of Technology
基金
国家自然科学基金项目(61272115)
武汉工程大学研究生教育创新基金项目(CX2015058)