The Research of Formal Modeling Technology of Software Requirements Based on the Event-B

Author
ChenZhiHui
Advisor
WuJin
School
University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
9
Citations
0

Request the full text

Abstract

In traditional software development process, usually taking non-formal orsemi-formal methods as a means of describing software requirements, but thenon-formal methods and semi-formal methods can’t avoid the defects and errors causedby the natural language as the method of describing software requirements, thetraditional software development methods can’t ensure the correctness of softwarerequirements in the requirements analysis phase. The traditional software requirementsmodeling, just like UML modeling describe the functions of the software system in therequirements analysis phase, without providing the ability of verifying the softwarerequirements describetion. The formal method is based on the rigorous mathematicaltheory, applying mathematic means to design, simulate, analysis software systems to geta software system model as precise as mathematical formulas, then using modevalidation as the means to check the validation of the software system model. Thevalidated software system model is accurate, unambiguous, avoiding the flaws anderrors introduced in software requirements and reaching the purpose of insuring thequality of software system.In order to avoid the ambiguity and inconsistency bringed by non-formal methodand semi-formal method, this thesis uses Event-B as a formal specification language tobuild the software system model, firstly based on the Rodin platform stating the stepsand methods of using formal language to found the software model, then stating thewhole process to establish software model and verify the validation of the model. Themain content includes the following aspects:1.The evils of software development bringed by the traditional softwareengineering approach, and the characteristics of formal software requirementsdescription method and the research status of formal method.2.Studying the structure and refinement techniques of the Event-B model, firstlyintroducing the two main components of the context and the machine of the the Event-Bmodel, as well as the relationsheep between them, and then telling the refinement skills, including events refinement skills and state refinement skills, ending with a briefintroduction the function of the Rodin platform.3.Taking tree file system for example to indtroduce the steps and methods to buildthe Event-B model, firstly creating an abstract model of a tree file system, and thengradually adding tree attributes or functions of the file system to the model withrefinement skills inorder to expand and enrich the model. By stepwise refinement,adding some attributes to the abstract model, for example the files and directories of treefile system, the content of the file, processing of power-down accident, the attributes ofthe file system, access control attributes and functions.4.Studying the Event-B model validation based on the Rodin platform, stating theproof obligations, the proof of the inference rules and proof strategies closely related tothe model validation, and the validation process of the tree file system model, helpingthe developers working with formalization software development method to understandthe model validation and the Rodin platform better.5.The conclusion section summarizes the research results and the outlook for thefuture work.This thesis based on the Event-B formal method, taking the tree file systemsoftware requirements as an example to show in details how to describe the softwareattributes and functionality of tree file system, verify the tree file system model basedon the Rodin platform, state the whole process to establish the Event-B formal methodsand verify the model.

Table of contents

Summary 5-7 ABSTRACT 7-11 first chapter 11-19 1.1 the background 12-13 1.2 research status 13-17 1.3 The main work 17 1.4 papers structural arrangements 17-19 second Chapter EVENT-B formal method 19-32 2.1 EVENT-B describes composed of 19-20 2.2 EVENT-B system model 20-25 2.2.1 static part 20 2.2.2 dynamic part 20-22 2.2.3 static and dynamic part of the relationship 22-23 2.2.4 generalized substitution 23-25 ?? 2.3 EVENT-B model refinement way 25-30 2.3.1 event refinement 26 -29 2.3.2 status refinement 29-30 2.3.3 deadlock of 30 2.4 RODIN platform 30-31 2.5 Summary 31-32 the third chapter tree file system model EVENT-B based 32-64 3.1 Requirement Description 32 - 33 3.2 abstract model 33-39 3.3 first refinement 39-42 3.4 second refinement 42-48 3.5 third refinement 48-52 3.6 fourth refined 52-57 3.7 fifth refinement 57-63 3.8 Summary 63-64 Chapter EVENT-B model validation 64-83 4.1 proof obligations 64-69 <br / > proof obligations 4.1.1 CONTEXT involved proof obligations 65 4.1.2 MACHINE consistency involved proof obligation 65-67 4.1.3 refinement involved proof obligation 67-69 4.1.4 termination involved 69 4.2 automatic model validation 69-72 4.2.1 inference rules 70-71 4.2.2 proven strategies 71 4.2.3 prover 71-72 verification 4.3 file system tree model 72-82 verify nbsp 4.3.1 abstract model ; 72-74 verify nbsp 4.3.2 refined after the first model ; 74-76 4.3. 3 second after verification refined model 76-78 after verification 4.3.4 third refined model 78-79 4.3.5 fourth after refinement verification model 79-80 fifth after verification 4.3.6 refined model 80-82 4.4 Summary 82-83 Chapter V Conclusion 83-85 5.1 This article summarizes 83 5.2 future Work 83-85 Thanks 85-86 References made ??during the 86-89 attack Shuo research 89-90

Related dissertations

  1. Research on C/S Architectural Style Based on XYZ/SE
    LiuManXia ·Hunan University ·2013 ·Master's thesis
  2. The Formal Modeling of Network Protocols and Discovery of Attacks Based on Model Checking
    MengGuoZhu ·Tianjin University ·2012 ·Master's thesis
  3. Study on Theory and Applications of Security Protocols Formal Analysis
  4. Formal Research of UML Behavior Diagram Based on Description Logic
    RongXianQiu ·Lanzhou University of Technology ·2012 ·Master's thesis
  5. Formal Verification and Implementation of Shared Memory IPC Mechanism
    GuFei ·Lanzhou University ·2012 ·Master's thesis
  6. Formal Modeling and Verification Research of Automatic Train Protection System
    XiongXiJiao ·East China Normal University ·2012 ·Master's thesis
  7. Research on AADL model generation based on B method
    WangRiLei ·Northwestern University ·2012 ·Master's thesis
  8. Formalization and Model Checking Methods of System Security Model Based on UMLsec
    WeiRan ·Shandong University ·2013 ·Master's thesis
  9. The Research on Software Modeling Methods Based on B Method
    YangLiLi ·Northeast Normal University ·2012 ·Master's thesis
  10. Research on Component Formal Semantic and Combination
    ZhaoShuo ·Zhejiang Normal University ·2012 ·Master's thesis
  11. With the implementation of centralized purchasing system planning Military Online
  12. The Research of Formal Transformation and Verification of UML
    ZhangYang ·Taiyuan University of Technology ·2013 ·Master's thesis
  13. The Design and Implementation of Development and Management Platform for Algorithms in the Application of Target Recognition
  14. Study on the Application of Formal Method in Component-based Real-time System
    XiLin ·Zhengzhou University ·2012 ·Doctoral dissertation
  15. Formalizing Hybrid Systems Using Event-B:Theory and Practice
    SuZuo ·East China Normal University ·2013 ·Doctoral dissertation
  16. Research on Formal Verification Methods of Model of Complicated Information System
    ZhangTao ·Harbin Engineering University ·2012 ·Doctoral dissertation
  17. The Socket Communication Program Analysis System Based on SPIN
    YuLiQuan ·Nanchang University ·2012 ·Master's thesis
  18. The Research of WPKI-based Authentication Protocol in LTE/SAE
    XuMingSong ·Hunan University ·2011 ·Master's thesis
  19. Research on Security of Access in LTE
  20. Formal Description and Verification of Railway Interlocking Safety Specification
    ZhangYue ·Beijing Jiaotong University ·2013 ·Master's thesis