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

被引:1
|
作者
Wu, Nicolas [1 ]
Simpson, Andrew [1 ]
机构
[1] Univ Oxford, Dept Comp Sci, Oxford OX1 3QD, England
关键词
Formal Template Language; Z notation; Software patterns; Metamodels; INFORMATION-SYSTEMS; SPECIFICATION; REFINEMENT; MODEL; UML;
D O I
10.1007/s00165-014-0299-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:1231 / 1269
页数:39
相关论文
共 50 条
  • [1] Formal Concept Analysis in relational database and rough relational database
    Jiang, Feng
    Sui, Yuefei
    Cao, Cungen
    [J]. FUNDAMENTA INFORMATICAE, 2007, 80 (04) : 435 - 451
  • [2] FORMAL METHODS FOR DATABASE LANGUAGE DESIGN AND CONSTRAINT HANDLING
    WALSHE, A
    [J]. SOFTWARE ENGINEERING JOURNAL, 1989, 4 (01): : 15 - 24
  • [3] A formal template language enabling metaproof
    Amalio, Nuno
    Stepney, Susan
    Polack, Fiona
    [J]. FM 2006: FORMAL METHODS, PROCEEDINGS, 2006, 4085 : 252 - 267
  • [4] Formal specification synthesis for relational database model
    Vatanawood, W
    Rivepiboon, W
    [J]. INTERNATIONAL JOURNAL OF INTELLIGENT SYSTEMS, 2004, 19 (1-2) : 159 - 175
  • [5] A FORMAL LANGUAGE FOR THE DESIGN OF MANUFACTURABLE OBJECTS
    BROWN, KN
    MCMAHON, CA
    WILLIAMS, JHS
    [J]. FORMAL DESIGN METHODS FOR CAD, 1994, 18 : 135 - 155
  • [6] COMPASTA: Extending TASTE with Formal Design and Verification Functionality
    Bombardelli, Alberto
    Bozzano, Marco
    Cavada, Roberto
    Cimatti, Alessandro
    Griggio, Alberto
    Nazaria, Massimo
    Nicolodi, Edoardo
    Tonetta, Stefano
    [J]. MODEL-BASED SAFETY AND ASSESSMENT, IMBSA 2022, 2022, 13525 : 21 - 27
  • [7] Spatiotemporal database formal semantic model and algebraic language
    Kim, DH
    Lee, YJ
    Kim, JS
    Ryu, KH
    [J]. CIC'2000: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMMUNICATIONS IN COMPUTING, 2000, : 9 - 15
  • [8] Formal Language Tools for Template-Guided DNA Recombination
    Domaratzki, Michael
    [J]. LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2008, 5196 : 3 - 5
  • [9] A formal tool that integrates relational database schemes and preserves the original information
    Mora, A.
    Enciso, M.
    [J]. ICEIS 2006: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATIONAL SYSTEMS: DATABASES AND INFORMATION SYSTEMS INTEGRATION, 2006, : 302 - +
  • [10] Relational Database Ontology Discovery Method Based on Formal Concept Analysis
    Gao, Zhi-Yong
    Liang, Yong-Quan
    Qiao, Shu-Han
    [J]. PROCEEDINGS OF THE 3RD ANNUAL INTERNATIONAL CONFERENCE ON MECHANICS AND MECHANICAL ENGINEERING (MME 2016), 2017, 105 : 727 - 735