...
首页> 外文期刊>Theory and Practice of Logic Programming >The pragmatic proof: Hypermedia API composition and execution
【24h】

The pragmatic proof: Hypermedia API composition and execution

机译:务实的证明:Hypermedia API的组成和执行

获取原文
获取原文并翻译 | 示例
           

摘要

Machine clients are increasingly making use of the Web to perform tasks. While Web services traditionally mimic remote procedure calling interfaces, a new generation of socalled hypermedia APIs works through hyperlinks and forms, in a way similar to how people browse the Web. This means that existing composition techniques, which determine a procedural plan upfront, are not sufficient to consume hypermedia APIs, which need to be navigated at runtime. Clients instead need a more dynamic plan that allows them to follow hyperlinks and use forms with a preset goal. Therefore, in this paper, we show how compositions of hypermedia APIs can be created by generic Semantic Web reasoners. This is achieved through the generation of a proof based on semantic descriptions of the APIs' functionality. To pragmatically verify the applicability of compositions, we introduce the notion of pre-execution and post-execution proofs. The runtime interaction between a client and a server is guided by proofs but driven by hypermedia, allowing the client to react to the application's actual state indicated by the server's response. We describe how to generate compositions from descriptions, discuss a computer-assisted process to generate descriptions, and verify reasoner performance on various composition tasks using a benchmark suite. The experimental results lead to the conclusion that proof-based consumption of hypermedia APIs is a feasible strategy at Web scale.
机译:机器客户端越来越多地利用Web执行任务。传统上,Web服务模仿远程过程调用接口,而新一代的所谓超媒体API通过超链接和形式工作,其方式类似于人们浏览Web的方式。这意味着,预先确定程序计划的现有组合技术不足以消耗需要在运行时进行导航的超媒体API。相反,客户需要一个更加动态的计划,该计划允许他们遵循超链接并使用具有预设目标的表单。因此,在本文中,我们展示了通用语义Web推理程序如何创建超媒体API的组合。这是通过基于API功能的语义描述生成证明来实现的。为了务实地验证组合的适用性,我们介绍了预执行和后执行证明的概念。客户端与服务器之间的运行时交互以证据为指导,但受超媒体驱动,从而允许客户端对服务器响应所指示的应用程序实际状态做出反应。我们描述了如何从描述中生成构图,讨论计算机辅助过程以生成描述以及使用基准套件验证各种组成任务上的推理机性能。实验结果得出结论:基于证明的超媒体API的使用是Web规模的可行策略。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号