SOZRSL software requirements specification language and its refinement
- Author
- GaoXiaoLei
- Advisor
- ZuoHuaiKou
- School
- Shanghai University
- Major
- Control Theory and Control Engineering
- Classification
- TP311.52 Software Development
- Degree
- Doctoral dissertation
- Year
- 2004
- Downloads
- 163
- Citations
- 1
Abstract
Formal methods of software development methodologies and reasonable direction of development, software development, development of automation affect the application of formal methods future; while the degree of automation of software development and refinement rather dependent on the degree of automation. Structured approach to object-oriented methods and formal methods of software development is currently used in three main ways. Based on the analysis on the basis of the above three methods, taking each of the long, combined with each other, propose a structured approach based on object-oriented methods and formal methods of combining new software development methodology, called structured object-oriented The formal approach SOFM (Structured Object-oriented Formal Method). The core idea is SOFM large structures and small objects. The basic idea is: in the structure of a software system, based on data flow diagrams using a structured approach and object-oriented approach: the whole process of system development, in a more practical way to apply formal methods; Finally, seek fine method to generate the required code. To support SOFM, we propose a new software development languages ??- Structured Object-Z requirements specification language SOZRSL (Structured Obiect-Z Requirement Specification Language). SOZRSL stratified predicate data flow graph embedding Object-z to achieve SOMF thought; hierarchical predicate data flow diagram data flow diagram is the traditional improved and formalized. To make SOZRSL more accurate, tight, paper gives its strict axiomatic semantics. The advantage of easy to implement formal program design automation. To make SOZRSL specifications can be converted into a higher degree of automation specific programming language, this paper presents SOZRSL specification refinement. Wen will SOZRSL specification refinement decomposition of the structure refinement, data refinement and predicate refinement three parts. Structure refinement are given SOZRSL gradual decomposition hierarchical structure to specific target language to support the overall structure of the corresponding methods; data refinement are given in the mathematical specification language abstract data types, refinement into specific target language can support, more computer-oriented specific data type specific methods and rules; predicate refinement highlights Tableau method based on order theorem proving-based refinement comprehensive transformation program, the introduction of expanded interpretation Tableau methods rules - merge rules and use the rule gives SOZRSL language model with, or operation refinement method, which simplifies the model compound refinement; Tableau method can be used to make SOZRSL language refinement, we define a structural component of the SOZRSL language into acceptable methods Tableau rules for the structure. Refinement work higher degree of automation required to search the higher the degree of matching rules. Refinement to improve the efficiency of one of the ways to improve the rules of search, matching speed. In order to improve the speed of matching rules, optimize human intervention, this article will be the first time the genetic algorithm is applied to software refinement of rule matching and selection. Genetic algorithm has fast convergence to the optimal solution, but rather closer to the optimal solution is characterized by slow convergence, we took advantage of this feature to improve the refinement efficiency: Firstly, it is faster to get fast convergence characteristics of a set of optimized solution, then, by the artificial light of the knowledge and experience to guide the refinement continue. Shanghai University of Engineering PhD thesis Finally, we implemented a specific sozRsL refinement systems and apply sozRsL, objeet a Z, Z visual editor.
Table of contents
Acknowledgements 6-8
Summary 8-10
ABSTRACT 10-12
directory 12-16
0 Chapter Introduction 16-21
0.1 Introduction 16
0.2 formal methods of software development methodologies reasonable to develop 16-19
0.2.1 development of software specifications aim 16-17
0.2.2 Language effect 17-18
0.2.3 Language low level to a high level of abstraction abstract development 18
0.2.4 specification role 18-19
0.2.5 Application requirements 19
0.3 Factors affecting use of formal methods 19-20
0.3.1 software development is not high degree of automation. 19-20
0.3.2 industry enough support 20
0.3.3 The purpose of training personnel is not clear 20
0.4 Summary 20-21
Chapter 1, a structured approach, object-oriented methods and forms Comparison 21-30
1.1 Introduction 21
1.2 three methods Comparison 21-25
1.3 structured and formal methods, object-oriented methods combined with the lack of form 25-26
1.4 structured approach with a combination of object-oriented methods and Problem 26-28
1.4.1 FOO method 27
1.4.2 OOF method 27-28
1.5 structured approach, object-oriented methods , formal methods combination of all three 28-29
1.6 Summary 29-30
Chapter 2 in the form of a structured object-oriented approach SOFM 30-37 < br /> 2.1 Introduction 30
2.2 SOFM thought 30-31
2.3 structured approach and object-oriented methods combined 31-32
2.4 An implementation support SOFM 32-36
2.4.1 SOZRSL method 32-33
2.4.2 SA and Object-Z as a basis for the feasibility SOZRSL 33-34
2.4.3 Data flow diagrams and Obiect-Z combination 34
2.4.4 SOZRSL stepwise refinement decomposition 34-35
2.4.5 SOZRSL software development process 35-36
2.4.6 SOZRSL development process, the difference with the traditional development process 36
2.5 SOFM developed method has the advantage 36
2.6 Summary 36-37
Chapter 3 structured object-Z requirements specification language SOZRSL 37-53
3.1 Introduction 37 < br /> 3.2 formal specification language Z 37-39
3.3 Obiect-Z specification language 39-42
3.4 predicate data flow diagram 42-46
3.4.1 predicate operating 42-43
3.4.2 Predicate Data Flow Diagram (PDFD) 43
3.4.3 Data Flow 43 - 44
3.4.4 predicate data flow diagram of the input and output operations and internal predicate predicate operating 44
3.4.5 predicate operation decomposition 44-45
3.4 .6 hierarchical predicate data flow diagram 45-46
3.5 SOZRSL system architecture 46-48
3.5.1 SOZRSL basic structure 46-48 < br /> 3.5.2 Hierarchical PDFD inheritance 48
3.5.3 SOZRSL other structural components 48
3.6 SOZRSL improved method to the traditional method 48 -49
3.7 Example: Training center system 49-52
3.8 Summary 52-53
Chapter 4 SOZRSL axiomatic formal semantics 53 -72
4.1 Introduction 53
4.2 Basic Concepts 53-60
4.2.1 predicate operating 54
4.2.2 Data Flow DF 54
4.2.3 predicate data flow diagram PDFD 54-57
4.2.4 stratified predicate data flow diagram HPDFD 57-58
4.2.5 Data Validation 58-59
4.2.6 Some conventions 59-60
4.3 syntax constraints 60-61
4.4 PDFD effective semantics axiomatic definition 61-66
4.4.1 operating effectiveness of predicate semantics 62
4.4.2 predicate semantic validity of data flow diagram 62-64
4.4.3 predicate operating effectiveness of decomposition 64
4.4.4 For the proof 64-66
4.5 PDFD function axiomatic semantics Definition 66-71
4.5.1 functional semantics of predicate operations 66-68
4.5.2 predicate data flow diagram of functional semantics 68-69
4.5.3 predicate action functional decomposition 69
4.5.4 Application examples functional semantics 69-71
4.6 Summary 71-72
Chapter 5 SOZRSL of refinement Overview 72-85
5.1 refinement Profile 72-74
5.1.1 What is a refinement 72 -73
5.1.2 refinement of several common methods 73-74
5.2 SOZRSL refinement of 74-81
5.2.1 SOZRSL of refinement system architecture 74-75
5.2.2 SOZRSL structure refinement 75-76
5.2.3 SOZRSL data refinement 76-78 <br / > 5.2.4 SOZRSL predicate refinement 78-80
5.2.5 about classes and abstract data type refinement 80-81
5.3 Guarded Command Language 81-83
5.3.1 Guarded Command syntax 82
5.3.2 sentry language of several basic statement: 82-83
5.4 Summary 83-85
Chapter 6 program-based integrated SOZRSL predicate refinement 85-103
6.1 refinement based on a comprehensive transformation program 85-89
6.1.1 Basic Structure 85-86
6.1.2 Basic proof 86-87
6.1.3 Some explanations 87
6.1. 4 From SOZRSL specification to transform the basic structure 87-89
6.2 refinement transformation rules and methods 89-97
6.2.1 decomposition rule (splitting rule) 89-90
6.2.2 merge rules (merging rule) 90
6.2.3 rewrite rules 90-92
6.2.4 due (Resolution) 92-94
6.2.5 induction (mathematical induction) 94-96
6.2.6 Auxiliary Process (Formation of Auxiliary Procedures) 96-97
6.3 control optimization strategies and methods 97-99
6.3.1 add assertions 97
6.3.2 polarity strategy (Polarity Strategy) 97-98
6.3.3 GA 98
6.3.4 refinement process and results reuse 98-99
6.4 refinement of pattern calculus 99-102
6.4.1 right model and operation refinement 99-101
6.4.2 right mode or operation refinement 101 - 102
6.5 Summary 102-103
Chapter 7 Genetic Algorithm SOZRSL refinement of rules to select 103-114
7.1 evolutionary computation 103-105
7.1.1 GA Introduction 104
7.1.2 GA main steps 104-105
7.2 Application of Genetic Algorithm in the refinement process Selection rules 105-110
7.2.1 Rules represent 105-106
7.2.2 encoding rules 106-108
7.2.3 fitness metric 108-109
7.2.4 coding cross way 109-110
7.2.5 determine the control parameters and stopping criteria 110 <br / > 7.3 A simple example 110-113
7.4 Summary 113-114
Chapter 8 refinement transformation machine to achieve 114-128
8.1 System Development Environment 114
8.2 SOZRSL refinement transformation system architecture 114-115
8.3 integrated program based reasoning system structure refinement transformation 115-116 < br /> 8.4 system analysis, design and implementation 116-127
8.4.1 class establishment 116
8.4.2 Class Design 116-125 < br /> 8.4.3 refinement of the implementation process 125-126
8.4.4 The main interface 126-127
8.5 Summary 127-128
Chapter 9 SOZRSL editor visual design and implementation 128-142
9.1 SOZRSL Editor user interface and environmental requirements 128-129
9.2 Instructions for use 129
9.3 SOZRSL editor functional requirements 129
9.4 System Components 129-130
9.5 class design and implementation 130 - 139
9.5.1 Text class 131
9.5.2 SozToText class 131-132
9.5.3 Page class 132-133 <br / > 9.5.4 Block class 133
9.5.5 Pragraph class 133-134
9.5.6 Name class, Declare classes and Predict class 134 <br / > 9.5.7 Schema class 134-135
9.5.8 PDFD class 135
9.5.9 TextLine class 135-139
9.6 SOZRSL edit control of key technologies to achieve 139-141
9.6.1 special characters realize 139
9.6.2 superscript and subscript achieve 139-140
9.6.3 kanji processing 140
9.6.4 About comments 140-141
9.7 Summary 141-142
Conclusion 142-144
Appendix SOZRSL syntax 144-151
References 151-159
author published during the PhD and accepted papers 159-160
period of participation in doctoral research and Awards 160
Related dissertations
- Research on the Delicacy Management of Shibei District, Qingdao City
- Human Resource Management Refinement in Project of Chuanghong Company
- The Logistics Center Location Planning of Tralin Group Straw Supply
- Information Entropy Model of Energy Consumption Per GDP and Its Analysis
- Research on Elevator Group Control System Scheduling Policy and Simulation Design
- Study on MDF Continuous Press Position Servo System Modeling and Intelligent Control
- Study on Modeling and Optimizing of Supply Chain Multi-time Periods Integrated Plan Under Uncertain Environment
- Research and Application on the Hybrid Colony Algorithm
- The Research and Application of Shuffled Frog Leaping Algorithm Based on Average Value
- Research on Production Scheduling Problem Based on Order Disturbance
- Decision and Analysis of Metallurgical Products Price Based on Artificial Neural Networks
- Modified Shuffled Frog Leaping Algorithms and the Application of Multi-objectives Optimization
- Research on Closed-loop Logistics Network Design Based on Low Carbon Economy
- Friction Compensation and Adaptive Control for the Linear Single Inverted Pendulum
- Design of H2/H∞Robust Control Based on Multi-objective Genetic Algorithms
- T-S Fuzzy Modeling and Control for Nonlinear Network Control Systems
- Research on Recommender System Applied in Open Network Learning Environment
- Simulation and Optimization of Crankshaft Production Line Based on Discrete System Simulation
- Research on Database Schema Matching Based on Instances Clustering
- Liaocheng Mobile Corporation material management system optimization analysis