首页> 外文期刊>Formal Aspects of Computing >Formal relational database design; an exercise in extending the formal template language
【24h】

Formal relational database design; an exercise in extending the formal template language

机译:正式的关系数据库设计;扩展正式模板语言的练习

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

摘要

The use of formal description techniques aims to prevent the defects found in software that arise due to poor planning at the design stage. However, the ensuing specifications are often designed with only a single application in mind and are not easily generalised. One area in which these deficiencies arise is that of the formal modelling of relational databases: many authors have drawn parallels between the formal description language, Z, and the relational model of data, but none of these contributions have managed to be both close to the relational model in terms of providing a practical means of database design and fully formal in terms of providing an appropriate metamodel. In this paper, we describe a generative template language, based on the formal template language (FTL). In particular, we extend the FTL, which was developed originally as means of expressing templates, to underpin an approach that facilitates the reuse of specifications in Z, paying particular attention to the formal design of relational databases. These templates encapsulate the common structure found in specifications and can be instantiated to produce specifications tailored to suit particular needs. To achieve this, we extend the FTL and present a mechanism for naming and referencing templates. We also introduce the semantics of template annotations to enforce the syntactic correctness of instantiations.
机译:形式描述技术的使用旨在防止在设计阶段由于规划不当而在软件中发现缺陷。然而,随后的规范通常仅考虑单个应用程序而设计,并且不容易概括。出现这些缺陷的一个领域是关系数据库的形式化建模:许多作者在形式化描述语言Z和数据的关系模型之间得出了相似之处,但是这些贡献都没有一个接近于形式描述语言。关系模型提供了实用的数据库设计方法,而正式模型则提供了适当的元模型。在本文中,我们基于正式模板语言(FTL)描述了一种生成模板语言。特别是,我们扩展了FTL(最初是作为表达模板的手段而开发的),以支持一种促进在Z中重用规范的方法,并特别注意关系数据库的形式设计。这些模板封装了规范中的通用结构,可以实例化以生成适合特定需求的规范。为了实现这一点,我们扩展了FTL,并提出了一种命名和引用模板的机制。我们还介绍了模板注释的语义,以增强实例化的语法正确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号