We consider requirements for cyber-physical systems represented in constrained natural language. We present novel automated techniques for aiding in the development of these requirements so that they are consistent and can withstand perceived failures. We show how cyber-physical systems' requirements can be modeled using the event calculus (EC), a formalism used in AI for representing actions and change. We also show how answer set programming (ASP) and its query-driven implementation s(CASP) can be used to directly realize the event calculus model of the requirements. This event calculus model can be used to automatically validate the requirements. Since ASP is an expressive knowledge representation language, it can also be used to represent contextual knowledge about cyber-physical systems, which, in turn, can be used to find gaps in their requirements specifications. We illustrate our approach through an altitude alerting system from the avionics domain.
翻译:我们考虑对以受限制自然语言代表的网络物理系统的要求。我们提出了协助发展这些要求的新颖的自动化技术,以便它们具有一致性并能够抵御所察觉到的失败。我们展示了如何利用事件微积分(EC)来模拟网络物理系统的要求,这是AI用于代表行动和变化的一种形式主义。我们还展示了如何利用答案集编程(ASP)及其查询驱动的实施S(CASP)来直接实现这些要求的事件微积分模型。这个事件微积分模型可以用来自动验证这些要求。由于ASP是一种能表达知识的语言,它也可以用来代表有关网络物理系统的背景知识,而后者反过来又可用来找出其要求规格方面的空白。我们用一个高度警戒系统来说明我们的方法来自航空空间的高度警戒系统。