Design of Embedded Real-Time Operating System Based on B Method
- Author
- ChenDanMin
- Advisor
- ChenZhiGuo , ZuoZongYan
- School
- Henan University
- Major
- Applied Mathematics
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 106
- Citations
- 0
Abstract
With the development of the application, the consistency and reliability of computer systems is becoming increasingly important. The operating system is the most important computer software system, the support and foundation of the high-level application software running, the operating system must be a secure and reliable software systems. The operating system developed using traditional software development methods, system security, and good reliability can not be guaranteed. Formal methods based on precise mathematical semantics can be clear, precise, abstract description and verification of the software system and its nature, can help developers in the early detection of defects in the software design, and therefore may greatly improve the security software and reliability. Formal methods to ensure that the software development process correctness and consistency of an important method has become. B is one of the most popular on the international software formal methods, it supports the specification to the code generated by the entire software development cycle. B method is based on a precise mathematical semantics, support rigorous software development process. Through from the top to the bottom of the rigorous description and proof, developers may design the software error eradication in the early stage of the design, in order to better ensure the consistency and reliability of the software eventually developed. In this paper, B developed a similar formal μC/OS- Ⅱ embedded real-time operating system operating system model fmC / OS, mainly work as follows: 1. B basics of the method and the idea of ??formal development in-depth study and research, including the Statute of the B method mechanism, the refinement process, the generation of proof obligations proved machine composition of mechanism and method B software development process. Paper embedded real-time operating system μC/OS- Ⅱ modeled using B method created an operating system the formal model fmC / OS. The design of the main functions of the operating system: task management, memory management and task synchronization and communication. System functions, such an operating system is divided into several subsystems, each system using B method to model design, and proof obligations generated by the B tool correctness proof. According to the ideological the B method stratified hook made abstract specification model on stage refinement and refinement process generated \original abstract model of consistency. Finally, we get a corresponding operating system model to achieve. Formal development of real-time operating system using B method may be better to ensure the accuracy and reliability of the system.
Table of contents
Abstract 3-5
Abstract 5-9
Chapter 1 Introduction 9-15
1.1 Background 9-11
1.2 research status 11-12
1.3 thesis research content 12-13
1.4 paper content organization 13-15
Chapter 2 B Method 15-32
2.1 B method introduced 15-16
2.2 mathematical notation and generalized substitution language 16-19
2.2.1 mathematical symbols 16-18
2.2.2 generalized substitution language 18-19
2.3 abstract machine 19-23
2.3.1 abstract machine formal description 20-22
2.3.2 abstract machine proof obligations 22-23
2.4 refinement and implementation 23-26
2.4.1 REFINEMENT structure 24-26
2.4.2 IMPLEMENTATION structure 26
2.5 B method machine organization mechanism 26-28
2.6 software development process based on the B method 28-31
2.7 This chapter Summary 31-32
Chapter 3, an embedded real-time operating system, a formal model 32-67
the
3.1 μC/OS- Ⅱ introduced 32-34
3.2 formal model based on the operating system of the B method fmC / OS design 34-66
3.2.1 Task Manager 35-40
3.2.2 task scheduling 40-47
3.2.3 inter-task synchronization and communication 47-55
3.2.4 Memory Management 55-61
3.2.5 machine OS 61-63
3.2.6 machine proved 63-66
3.3 This chapter Summary 66-67
Chapter 4 fmC / OS model refinement and implementation of 67-86
4.1 refined 67-68
4.2 Task Manager refinement and implementation of 68-78
4.3 specification OS implementations 78-85
4.4 This chapter Summary 85-86
Summary and Outlook The 86-88
summarize 86-87
Looking 87-88
the
References 88-91
Appendix 91-92
Acknowledgements 92
Related dissertations
- The Research on Translating UML Diagram to B-Method Formal Specification and Its Application
- The Application of B Method in the Reliability Design of Substation Real-time Control System
- TPN integration based on the B language and formal methods
- On the B method in the abstract hangar Practice and Application
- UML use case model B Formal Description Methods
- Fuzhou Mail Processing Center Optimization Research
- The Research of the Media System on Promoting the Communication Equity
- Implementation and Design of Multi-core Support for Micro-kernel Operating System
- The Hybrid Opearting System with Hardware and Software
- Study on Formal Methods of Networked Software Requirements Verification
- Implementation of information analysis system survivability of key technology research and system
- The Prosecution History Estoppel in Patent Infringement
- Practice and Reflections of Nurturing and Standardizing the Market for Cadre Education and Training
- The Study of the New Words in the Sixth Edition of Modern Chinese Dictionary
- Study on Bearing Capacity and Settlement of Fan-wing Spudcan Foundation
- The Key Technology Research of Array CCD Aerial Camera Manipulator System in the High Altitude
- Research of SC Mobile Data Service Operation System
- Probing into Small and Micro Enterprises Development Strategy
- Study on the Integration of Indemnificatory Housing Management in Chongqing
- Study on Standardized Operating System of China Real Estate Developer