Formal Analysis and Verification for Component-based Embedded Software Designs

Author
HuJun
Advisor
LiXuanDong , ZhengGuoLiang
School
Nanjing University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2005
Downloads
743
Citations
10

Request the full text

Abstract

In recent years, due to the widespread use of more powerful hardware in embeddedsystems, the size and complexity of embedded software are increasing rapidly, and theembedded software has been regarded as one of the most dominate factors in?uencingthe functionality and quality of the whole system. As a result of the requirements ofhigh reliability, real-time constraints, resource restrictions, and domain-specific adap-tation, embedded software presents many challenges, such as: how to check the timingand untiming consistency between the design models and the specifications, the com-patibility verification techniques for resource utilization, and the ways to analysis thesystem power consumption, etc. Therefore, how to design and implement embeddedsoftware e?ectively and reliably is becoming one of the hot research issues in nowadays.The component-based software design methodology has grown up as the main-stream in software engineering. By means of the construction and composition of thereusable software components, more complicated systems can be built e?ectively witha high reliability. Since generally an embedded system is composed of some interac-tive subsystems, the embedded software system shows more component-based featuresthan those general-purpose computing systems, and the system behavioral complexityis mostly exhibited by the scenarios of component interactions. As a formal languageinterface automata is designed to describe the temporal aspects of the component in-terfaces, and capture both the input assumptions and the output guarantees of thesoftware components. Hence, it’s suitable for modelling and analyzing the component-based embedded software systems.In this thesis, we use the interface automata to model embedded software systemsand attack the analysis and verification problems of the functional and non-functionalproperties which are mostly concerned during the development of component-basedembedded software systems. The main contributions of our work are as follows:Firstly, for the problem of checking the system designs for scenario-based specifica-tions, we use the interface automaton networks to model the component-based systemdesigns which include a set of interface automata synchronized by shared actions, andthe scenario-based specifications are specified by UML sequence diagrams. Based oninvestigating the reachability graph of the state space of the interface automaton net-works, we develop several algorithms to check the existential consistency and mandatoryconsistency including the forward、backward and bidirectional consistency.Secondly, for real-time embedded software we consider the problem of checking component-based designs for scenario-based timing specifications. By adding time in-tervals on the actions, we extend the interface automata for modelling real-time systems.The component-based designs are modelled by real-time interface automaton networks,and the scenario-based timing specifications are specified by UML sequence diagramswith a set of boolean expressions. Based on analyzing the compatible integer state spaceof a real-time interface automaton networks and its compatible reachability graph, analgorithm is developed to check the consistency between real-time component-baseddesigns and the scenario-based timing specificationsThirdly, for the purpose of checking the compatibility of resource utilization inembedded software, a resource interface model is proposed by extending the interfaceautomata with a set of resource vectors, which indicate that how the resource usage ischanging along with the system behaviors. Through analyzing the reachability graphof the component-based designs which are modelled by resource interface automatonnetworks, we develop an algorithm to check wether the system resource constraints aremet or not. Moreover, we also give a solution to check the system designs for somespecific scenario-based specifications, which means that in some cases even the amountof resources are not enough, those special system functions could be still maintained.Fourthly, in order to analysis and make an estimation of the system energy con-sumption e?ectively, which are very important in the power limited system designs, weestablish an energy interface model by introducing the energy consumption rates intothe real-time interface automata. For the problems of minimum consumption estima-tion and maximum consumption verification, two algorithms are proposed respectivelybased on checking the state space of the energy interface automaton networks.Lastly, a prototype is designed to implement the algorithms presented in aboveresearch work. It can be used as an automatic validation tool in the component-basedembedded software system designs.

Table of contents

Abstract 3-5 Abstract 5-12 first chapter 12-18 1.1 thesis background and motivation 12-13 120 research 13-16 main work of the 1.3 papers 16-17 1.4 paper organization 17-18 the second chapter of the background knowledge 18-27 2.1 Object-Oriented Modeling 18-20 2.2 component-based software engineering 20-24 2.2.1 component-based software system 21-23 2.2.2 Interface and Component Design in 23-24 2.3 Formal Methods in 24-26 2.4 Summary 26-27 Chapter III Interface automata 27-34 3.1 interface automata, non-formal description 27-28 3.2 interface automata in the form definition 28-29 3.3 interface automata combination 29-30 3.4 compatibility check 30-32 3.5 Summary 32-34 the fourth chapter of the Statute of the scenario-based consistency verification 34-57 4.1 consistency validation 34-35 4.2 UML sequence diagram formal description 35-38 4.3 interface automata network model and the reachability graph 38-41 4.3.1 interface automaton network 38-40 4.3.2 is compatible with the state space of the reachability graph 40-41 4.4 the existence of consistency verification 41-43 4.4.1 projection path 41-42 4.4.2 test exists consistency 42-43 4.5 to force consistency verification 43-51 4.5.1 before to force the consistency verification, 43-46 4.5.2 Reverse mandatory consistency verification, 46-49 4.5.3 bidirectional mandatory consistency verification, 49-51 4.6 Summary 51-57 Chapter consistency verification with real-time constraints scene 57-73 5.1 Sequence Diagram Model with time constraints 57-59 5.2 real-time interface automata with component-based real-time design 59-62 5.2.1 real-time interface automaton 59-60 5.2.2 real-time interface automaton network 60-62 5.3 consistency validation with time constraints scene 62-67 5.3.1 integer state space reachability graph 63-64 5.3.2 calculate the compatible integer state space 64-66 5.3.3 Consistency Verification 66-67 5.4 Summary 67-73 Chapter VI interface and system resource constraints verification 73-87 6.1 related to resource use 73-75 6.2 Resource Interface automata (RIA) and automata networks 75-79 6.2.1 RIA non-formal description 75-76 6.2.2 RIA formal definition of 76-77 6.2.3 Resource Interface automata network RIA-Networks 77-79 6.3 test system meets the given resource constraints 79-81 6.4 test the legality of the use of resources given 81-85 6.5 Summary 85-87 Chapter VII of the energy consumption of the interface with the system energy consumption analysis 87-103 7.1 energy consumption nature of the issues related to 87-89 7.2 energy consumption interface automata (EIA) and its automata network 89-92 7.3 of the EIA-Networks integer state space and the reachability graph.; 92-93 7.4 system energy consumption, the nature of the analysis and verification 93-99 7.4.1 minimum energy consumption problem 95-97 7.4.2 maximum power consumption of verification problems 97-99 7.5 Summary 99-103 Chapter VIII of the model checking tool MoCeed design 103-107 8.1 validation tools to analyze 103-104 8.2 tool design principles 104 8.3 system structure and function 104-106 8.4 Summary 106-107 Chapter Conclusion 107-110 9.1 of this article the main work 107-108 9.2 further 108-110 References 110-120 during the doctoral degree to participate in research projects and published papers 120-122 thank 122

Related dissertations

  1. Research on Trustworthiness of Resource Adaptability for Internetware
    XiaZuo ·Anhui University of Engineering ·2013 ·Master's thesis
  2. Compositional Verification Based on Interface Automata
  3. The Research on Algorithm for Composite Forest Fire Detection, Recognition and Early Warning
  4. System Design of Automatic Steel Pipes Group Machine and Research on Algorithm
    ZhangPeng ·Harbin Engineering University ·2012 ·Master's thesis
  5. The Desigriment and Implementation of Personal Commodity Recommendation System
    WangChunLin ·Jilin University ·2013 ·Master's thesis
  6. Research of Electronic Image Stabilization Algorithm
  7. Research and Implementation of Target Correlation Tracking Algorithm Based on FPGA
  8. Research and Implementation of Mean Shift Object Tracking Algorithm Based on DSP
  9. Study on K-means Clustering Algorithm Based on Summarized Information of RTVU Students
    ZhengLin ·Yanshan University ·2012 ·Master's thesis
  10. Association Rule Learning Algorithm Based on Extension
    HouYuXia ·Liaoning Technical University ·2013 ·Master's thesis
  11. The Paradigm of Architecture and Optimization of Integrating for Data Mining Algorithms and Multi Agent Systems with Business Intelligence
    Gebeyehu Belay Gebremeskel ·Chongqing University ·2013 ·Doctoral dissertation
  12. Clustering Algorithm and Application Based on Combinatorial Optimization
  13. The Design of Warehouse Management System Based on the Web Services and the Research of Its Zero Storage Technology
    SongZhaoLiang ·Hunan University ·2013 ·Master's thesis
  14. China Mobile’s CRM System Design and Implementation
    WangZuoQiong ·Hunan University ·2013 ·Master's thesis
  15. Study on Logistics Modeling and Optimization Technology of Dyeing Production
    ZhengAiPing ·Huaqiao University ·2013 ·Master's thesis
  16. SMS Encryption Research and Application Based on ANDROID
    ZhangLei ·Dalian Jiaotong University ·2013 ·Master's thesis
  17. Clocks Manipulation Applying to the Formal Verificationof Timed System
    GuiYaYun ·Shanghai University ·2013 ·Master's thesis
  18. Rsearch on Distributing Enterprise Cutting Stock and Scheduling Coordination Models
    JinPeng ·Hefei University of Technology ·2013 ·Doctoral dissertation
  19. Optimization of Production Planning and Emission-Reduction Policy-Making
    HongZhaoFu ·Lanzhou University ·2013 ·Doctoral dissertation
  20. Research on Service Continuity for Stateful Services
    PanPan ·Sichuan Normal University ·2013 ·Master's thesis