Study and Realization on BREW Technique in the Embedded System Development
- Author
- DuYu
- Advisor
- CaoXiaoDong
- School
- Dalian University of Technology
- Major
- Software Engineering
- Classification
- TP391.72 Machine -aided design (CAD), aided drawing
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 141
- Citations
- 2
Abstract
With the development of the technology of wireless communication and the technology of embedded software and hardware, the system of cell phone has been growing up from a personal communication terminal to a huge system integrating all kinds of additional functions. However, with the accumulation of software productions and the complication of the architectures, the task of developing a cell phone system has been more and more difficult. The disadvantages of traditional developing method have been on the stage, such as the high level of coupling, the difficulty of maintaining and updating and the high dependency on the hardware system.In order to solve such kind of situation, the corporation of Qualcomm(?) has brought forward the BREW architecture, which provided a virtual and standard execution environment to ensure the application’s ability of being transplanted and hardware independency.This paper implemented the camera controlling block of the BREW architecture mentioned above. The content is discussed by focusing on the mechanism of the implementation of camera’s functions and the interactions between which and the BREW applications above it and the native functions supporting it.From the aspect of the entire system of the cell phone, the system being discussed is a middle layer locating between BREW applications and the hardware related modules, which transforms the hardware related implementation to the standard hardware independent implementation.From the aspect of the interactions between BREW applications and the system being discussed, the system is a native functional module which implements the functions of Original Equipment Manufacture (OEM), hiding the actual implementing mechanism of the cell phone system, encapsulating the hardware implementation, operation system and all the other software modules. Meanwhile, the system realized the mechanism of developing with a procedure-oriented language (the C language) to realize the object-oriented method and the mechanism of protecting memory access in runtime.From the aspect of the system itself, as the middle layer which realizing the camera functions, it encapsulated the hardware related digital image type from the supporting layer. The system processes and transforms the different digital image data from the supportinglayer with digital image processing techniques to adapt to the standard BREW architecture.And from the aspect of the interactions between the system and the native hardware related modules, the system is built on the native hardware realizations. Integrating with all the other native software modules, the system realized the concurrency controlling, communication and resource competition of tasks based on an embedded real-time operation system(RTOS), assuring the stability of the system.It has a applicable importance in the wireless communication field to research and implement the mechanism of realizing the object-oriented designing with procedure language, the memory protection in runtime, the digital image processing algorithms used in the function of camera and the communication and resource competition between tasks in the embedded RTOS system. This paper has been doing effective study and implementation in these aspects in order to contribute to the development of this field.
Table of contents
Abstract 4-5
Abstract 5-9
Introduction 9-11
1 System Introduction 11-15
1.1 system application background and significance 11-12
1.2 BREW architecture 12-13
1.3 Development of similar products at home and abroad 13
1.4 BREW system design content 13-15
1.4.1 System design content 13-15
2 system design and implementation of the key technologies 15-29
2.1 RTOS systems and related technologies 15-21
2.1.1 Task creation and management 15-18
2.1.2 Task communication between 18-20
2.1.3 Resource mutex and critical area management 20-21
2.1.4 Interrupt Management 21
2.2 BREW development environment 21-23
2.2.1 Device Simulator 21-22
2.2.2 Resource Editor 22
2.2.3 MIF Editor 22
2.2.4 ARM compiler 22
2.2.5 APP Downloader 22-23
2.3 OEM layer implementation technology 23-24
2.3.1 AEE encapsulation layer on the device function and object-oriented implementation mechanism 23-24
2.3.2 in the OEM layer to the underlying function is called by 24
2.4 camera hardware principle and DSP 24-27
2.4.1 camera hardware structure and working principle 24-25
2.4.2 DSP principles and architecture 25-27
2.5 QR Code code recognition technology 27-29
2.5.1 QR Code Description 27-28
2.5.2 QR Code code generation 28-29
3 overall system design and functional design 29-32
3.1 system target 29
3.2 system design principles 29-30
3.3 system module division 30-32
4 BREW ICamera systems principles and the main function of the realization 32-68
4.1 object creation process 32-40
4.1.1 using C language implementation of object-oriented development system 33-36
4.1.2 Start BREW environment and the inherent capabilities of communication between sub App 36-38
4.1.3 Using Native memory 38-40
4.2 application runtime memory protection mechanisms 40-41
4.2.1 from Supervisor state into the User 40-41
4.2.2 User status is returned from the Supervisor 41
4.3 screen preview process 41-57
4.3.1 screen preview Before 42-45
4.3.2 LCD status screen preview startup switch 45-47
4.3.3 Start screen preview launch Camera equipment processes 47-49
4.3.4 Frame -screen preview during event processing 49-51
4.3.5 -screen preview of the image processing 51-57
4.3.6 Support for QR Code 57
4.4 image capture and coding 57-68
4.4.1 shutter sound beeps process 58-60
4.4.2 Stop Camera preview 60-61
4.4.3 original image captured 61-63
4.4.4 image coding process 63-64
4.4.5 after shooting a JPEG image coding 64-68
Conclusion 68-69
References 69-71
papers published during the master's degree case 71-72
Thanks 72-73
Dalian University dissertation copyright attorney 73
Related dissertations
- Research and Application of Virtualization for Embedded Systems Based on ARM TrustZone
- The Research on the Small Multi-rotorcraft Based on Embeded Contorl System
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Design of distributed control system based on embedded platform
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal