Research and design of the OSGI component monitoring module based on the Equinox
- Author
- YanXiaoZuo
- Advisor
- LinXiuQin
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 62
- Citations
- 1
Abstract
With the development of software engineering, the importance of modular gradually reflected.OSGI provides a platform to components-based softeare development model. User can use the services provided by fundation bundle to create their own applications on the platform. OSGI-based components are hot-swappable so it can be modified and upgraded easily. Existing JVM monitoring tools can monitor only the resources consumed of the entire JVM, but because of JVM hides the information of resources consumed by OSGI component, so the traditional monitoring methods can hardly monitor the OSGI-based components running on the Equinox which makes the present of an effective way to monitor the OSGI component becomes very necessary. This work introduces a monitoring module for OSGI-based software components which runs on OSGI-based platform named Equinox. Firstly, analysis of the framework of Equinox will be invoved which contains three major components: Framework, Context, Bundle; And then, analyse the source code of Equinox; Secondly, propose a comprehensive complete design of monitoring module after analyzing the special character of monitoring the OSGI components; And then gives the detailed design of two major part of monitoring module:Monitor Agent and Info Agent; Thirdly, implements the Monitor Agent by JVMTI and BCI, implements the Info Agent by modify the source code of Equinox; After that, monitoring module provide a web-based management page to users in the form of tables and line graph, in addition, monitoring module also provides some control operations for users. At end of the paper, experiments show not only the veracity and the timeliness of obtaining the information about bundles but also the availability of control operation. In the over all design, the monitoring module is devided into two major parts:Monitor Agent and Info Agent according to the different source of monitoring information, with this desin, each part can collect the information with out intergere with each other, and also make it easy to maintain and upgrade. Using JVMTI and BCI to monitor the information of CPU usage and memory usage make Monitor Agent more accurate and easy to extend. This monitoring module can be easily embedded in OSGI platform based on Equinox to improve the system of monitoring and improve the system availability.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-12
1.1 Background 9-11 <br / > 1.2 paper structure 11-12
chapter related technology and research 12-18
2.1 OSGI 12-15
2.2 JAVA virtual machine monitoring technology 15-18
2.2.1 JVMTI 16-18
Chapter monitoring module overall design 18-34
3.1 module Design target 18-19
3.2 design ideas build 19-32
3.2.1 Bundle correspondence between the thread and the object 20-22
3.2.2 Get BundleCPU usage and memory usage information calculations 22-26
3.2.3 Bundle consumption of resources Get 26-28
3.2.4 Bundle basic information 28-32
3.3 overall design 32-34
realize Chapter IV monitoring module 34-71
4.1 Equinox 34-46
4.1.1 Equinox overall analysis 34-40
4.1.2 Equinox code modifications 40-46
4.2 Monitor Agent 46 - 61
4.2.1 agent initialization 48-52
4.2.2 resource monitoring methods 52-59
4.2.3 database design 59-61
4.3 Info Agent Get nbsp 61-66
4.3.1 BUNDLE information ; 62-63
4.3.2 BUNDLE control 63-64
4.3.3 database design 64-66
4.4 WEB management page 66-71
4.4.1 main administration page 66-68 <br / > 4.4.2 features page 68-71
Chapter experiment 71-80
5.1 Bundle information and running status 71-73
5.2 service dependencies between Bundle 73-74
5.3 CPU and memory usage monitoring 74-78
5.4 Bundle control 78-80
Chapter VI summarizes 80-81
References 81-83
Thanks published during 83-84
academic degree program directory 84
Related dissertations
- Develop Wireless Network Planning Software Based on Dynamic Plug-in Framework
- Design of Digital Home Gateway Based on OSGi
- Colleges’ Information Integration and Application Based on the Framework of OSGI and REST
- The Supermarket Information Management System Design and Implementation
- The Design and Implement of Distributed Platform Based on Web Service and OSGi
- Research and Implementation of the Digital Library Service Platform
- Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
- Researches on OSGI-based Distributed Service Sharing Middleware
- The Design and Implementation of Airport Operating Messaging Middleware Management System
- Design and Implementation of Enterprise Security Education Platform Base on OSGi-jBPM
- A Publish/Subscribe Model for Service Dynamic Update in OSGi
- Design and Implementation of Execution Engine in BI PAAS
- High-end Hotel Reservations and Ordering Service Platform Based on Vaadin and Osgi
- Design and Implementation of Lightweight Mobile Mashup Language and Platform
- Proxy Based Fault Tolerant Extensions to the OSGi Service Platform
- Client Problem Management System Based on CICS
- The Design and Implementation of Search Engine Marketing Effect Monitoring System Based on OSGI
- Design and Implementation of Custom Table Control That Base on SWT/JFACE
- Research on the Technology of Network Middleware in Ubiquitous Computing Environment
- The development of IETM system based on OSGi