摘要
从系统的扩展性、耦合性和可用性出发,在深入研究RESTful API的基础上,结合智慧旅游的特点,提出了基于RESTful API的智慧旅游系统建设方案。设计了基于RESTful API的智慧旅游框架,制定了RESTful API设计的基本原则,并从资源标识、参数、资源的表述、验证、异常处理和缓存6个方面分别介绍智慧旅游API的设计方法。最后,通过具体的实例证明了该方法可提高智慧旅游系统的扩展性、耦合性和可用性,为智慧旅游系统设计提供了一种可行的方案。
This paper based on the expansibility, coupling and availability of the system. On the basis of in - depth study of RESTful API, combined with the characteristics of intelligent tourism, proposed an design method of intelligent tourism system based on REST- ful API, and design a smart tourism framework based on RESTful API. The basic principles of RESTful API design are formulated and the design method of intelligent tourism API is introduced from six aspects of resource identification, parameter, representation, verifi- cation, exception handling and caching. Last, through the concrete examples, it is proved that this method has greatly improved the expansion, coupling and usability of the intelligent tourism system. A feasible method is provided for the design of intelligent tourism system.
出处
《测绘与空间地理信息》
2017年第7期57-61,共5页
Geomatics & Spatial Information Technology
基金
国家自然科学基金(41461085)
广西科学研究与技术开发计划项目(1598019-4)
广西桂林市科技攻关项目(20140108-2)
"智慧楼宇"精细化数据管理方法及决策分析(YB2014164)资助