Layered Component Based Embedded Real-time Software Framework Design
- Author
- JiangHaiLe
- Advisor
- LiGuoQiang , ZhangSong
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 24
- Citations
- 0
Abstract
Since the1970’s, embedded real-time software is used in all kinds of fields. However, thereisn’t a unified method in the development process of embedded real-time software. Withoutconsistent engineering methods in analysis, design and programming, produce processes areinfluenced by personal experience and styles heavily. This is one of the main facts slowsdown the development of embedded real-time system technology.In reality, from60%to90%modules are used frequently as surpporting module in anembedded real-time system. On the other hand, many of these modules run in the same way,such as way to start (stop) a task, schedule methods of tasks and resources, method to realizeand execute state machines. Therefore, this paper studies a portable, reuseable, extensiblelayered component based embedded real-time software framework, RF for short. This paperdoes the following works mainly:Firstly, builds the framework model after analysis the common requirement of real-timesystem and a five-layered architecture pattern used in embedded real-time systems commonly.Framework includes platform interfaces (peripheral driver interface and operating systeminterface), component libraries (device component, infrastruce component andcommunication parts) and hot spots (HMI hot-spot and application hot-spot). Peripheralinterface makes framework MCU independent. OS interface makes framework independent ofconcrete OS. Device component controls onboard devices, such as liquid crystal displayersand memories. Infrastructure components are platform independent components, such asdatabases, timers, etc. Communication components are used to communicate with external system, such as MODBUS communication parts. The HMI hot-spot is used to realizehuman-machine interaction. Application hot-spot is used to extend the application in differentfields.Secondly, gives the detailed design of framework. Framework design sequence is from theboundary to internal, from down to up.Define the peripheral driver interface after introducingthe function. And then define the OS interface after introducing the OS basic function. HMI isa most important part designed by applying MVC pattern, state pattern, and template pattern.Describe the function of device layer and middleware component, and make a detailed designby apply observer pattern, proxy pattern and so on. Moreover, present a smart data pattern todesign smart data components.Finally è apply the framework to charging infrastructure products. The charging infrastructureincludes more than one embedded real-time system products, such as DC monitor, DC Post,AC Post and so on. Take AC post as an example to show how to apply the framework.The framework has been developed and has been put in use. It is portable, reusable andextensible. It boosts the the real-time software developed with modularization andspecialization.
Table of contents
Summary 3-5
ABSTRACT 5-10
1 Introduction background and significance of the study 10-14
1.1 10-11
1.2 Research Status research 11-12
1.3 article 12-13
1.4 the paper is 13-14
2 background knowledge 14-28
2.1 software model 14-22
2.1.1 MVC architectural pattern 15-16
2.1.2 adapter mode 16-18
2.1.3 command mode 18-19
2.1.4 proxy mode 19-20
2.1.5 observer mode 20-22
2.2 state and the state machine 22-27
2.3 Summary 27-28
3 framework model 28-36 <br / > 3.1 embedded real-time systems analysis 28-31
3.1.1 embedded real-time systems introduces 28-29
same requirements 3.1.2 29-31
3.2 five-layer architecture model 31-32
3.3 framework model 32-34
3.4 Summary 34-36
4 detailed design 36-64
4.1 driver interface 36-39
4.1.1 RF_GPIO Universal Digital Interface 36-37
4.1.2 RF_UART common asynchronous Receiver wrapper 37
4.1.3 RF_I2C two -wire serial bus 37-38
4.1.4 RF_SPI universal serial communication interface 38-39
4.2 RF_CS operating System Interface 39-41
4.3 RF_HM interactive interface 41-44
4.4 element layer 44-49 <br / > 4.4.1 RF_CLOCK clock 44-45
4.4.2 RF_LCD display 45-47
4.4.3 RF_CALENDAR calendar 47-48
4.4.4 RF_SAMPLE sampling 48-49
4.5 middleware 49-59
4.5.1 RF_PARAMETER user parameters 49-51
4.5.2 RF_DATABASE database 51-54
4.5.3 RF_TI MER timer 54-56
4.5.4 RF_RECORD record stack 56-57
4.5. 5 RF_SMARTDATA intelligent data 57-59
4.6 communication 59-63
4.6.1 RF_MODBUS communication 59-63
4.7 Summary 63-64
5 in electric vehicle charging infrastructure applications 64-80
5.1 overall overview of the charging infrastructure 64-69
5.1.1 AC post AC charging 64-67
5.1.2 DC Post DC charging pile 67
5.1.3 DC Monitor DC monitoring 67-68
5.1.4 the overall software design 68-69
5.2 pile AC charging software design 69-79
5.2.1 implements the interface 69-72 <br / > 5.2.2 field components 72-75
5.2.3 application layer 75-77
5.2.4 HM achieve 77-79
5.3 Summary 79-80
6 Conclusion and Outlook 80-82
6.1 Conclusion 80-81
6.2 Prospects 81 - 82
References 82-85
Thanks published during 85-86
pursue a degree academic catalog 86-87
attachments 87-89
Related dissertations
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- A Study on the Structural Carpentry System of the Main Hall of Mei Temple in Zhaoqing
- ROBOCUP Robotics Soccer (Small Group) Decision-making System Software Platform Design and Realization
- The Design and Implementation of General Search Engine in"Search-View" Design Pattern
- Design and implementation of educational management information system based on J2EE
- Research and Implementation of Task-oriented Application System Customization Framework
- Research and Implementation of Online Enterprise Training System Based on Cooperating Leaning
- Research and Application of Beauty Salon Domain Oriented Component Technology
- Design and Implementation of Component-based IPad Showing Framework
- Study on the Software Architecture of the New Generation Business Support System in China
- Web Application Research and Realization Based on WebWork+Spring+Hiberante Framework
- Construction and Research on Intellectualization of Trade Management Electronic Commerce System
- Research on Enterprise Transaction Platform Based on J2EE and Design Pattern
- The Design and Implementation of a J2EE Based Personal Income Tax Management System
- Construction and Application Based on Lightweight J2EE Framework
- Research and Application Based on Interconnection among Loosely-coupled Web Framework
- Study and Design the Architecture of College Entrance Examination System
- Research and Application on Real-Time Monitor System Based on J2EE
- Design & Implemention of Middle School Teaching Management Information System Based on J2EE
- Application Research about Component-Based Software Development in EAI