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 条
  • [31] Conceptual Design of Document NoSQL Database with Formal Concept Analysis
    Varga, Viorica
    Janosi-Rancz, Katalin Tuende
    Kalman, Balazs
    [J]. ACTA POLYTECHNICA HUNGARICA, 2016, 13 (02) : 229 - 248
  • [32] FORMAL SEMANTICS FOR DATABASE SCHEMAS
    SIMOVICI, DA
    STEFANESCU, DC
    [J]. INFORMATION SYSTEMS, 1989, 14 (01) : 65 - 77
  • [33] A Formal Implementation of Database Security
    Bai, Yun
    [J]. PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 13, 2006, 13 : 90 - 92
  • [34] Formal and relational incentives in a multitask model
    Daido, Kohei
    [J]. INTERNATIONAL REVIEW OF LAW AND ECONOMICS, 2006, 26 (03) : 380 - 394
  • [35] Formal Sequence: Extending UML Sequence Diagram for Behavior Description and Formal Verification
    Han, Deshuai
    Xing, Jianchun
    Yang, Qiliang
    Wang, Hongda
    Zhang, Xuewei
    [J]. PROCEEDINGS 2016 IEEE 40TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC), VOL 2, 2016, : 474 - 481
  • [36] Relational reasoning in formal concept analysis
    Golinska-Pilarek, Joanna
    Orlowska, Ewa
    [J]. 2007 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS, VOLS 1-4, 2007, : 1053 - 1058
  • [37] Statistical Relational Learning with Formal Ontologies
    Rettinger, Achim
    Nickles, Matthias
    Tresp, Volker
    [J]. MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, PT II, 2009, 5782 : 286 - +
  • [38] Formal semantics of ciset relational operators
    Nair, Premchand S.
    Sarasamma, Suseela T.
    [J]. NAFIPS 2006 - 2006 ANNUAL MEETING OF THE NORTH AMERICAN FUZZY INFORMATION PROCESSING SOCIETY, VOLS 1 AND 2, 2006, : 194 - +
  • [39] Relational Formal Characterization of Rough Sets
    Grabowski, Adam
    [J]. FORMALIZED MATHEMATICS, 2013, 21 (01): : 55 - 64
  • [40] A formal framework for database sampling
    Bisbal, J
    Grimson, J
    Bell, D
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2005, 47 (12) : 819 - 828