Two-phase Dynamic Software Updating Based on OSGi
- Author
- PengChong
- Advisor
- HuangLinPeng
- School
- Shanghai Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 19
- Citations
- 0
Abstract
For large application software systems, in particular, such as aerospace, medical systems, the need to provide 24/7/365 availability. Within the life cycle of the software, subject to the development of technology, the constraints of available resources as well as market pressures and other factors, the version of the software system, availability and performance in a constantly changing software provider shall keep the software update the system upgrade to correct software failure, extended service functions to improve system performance. System upgrade in the traditional sense because the system stops need to pay a high price, and therefore achieve dynamic update of the system during operation to become an effective means to solve this puzzle. Firstly, by analyzing the dynamic update of the process-based, object-based dynamic updates and component-based dynamic update the basic characteristics of the three types of updates, dynamically updated process mainly consists of four basic steps: First, make sure the module inter-dependence relationship. Generally have both static and dynamic dependencies between system modules; Second, to determine dynamically updated timing. Choose the right time to help update the effective and safe manner; dynamically updated, the old and new versions module alternately; Finally, the state transition is about to run the old version of the module state to migrate to the new version of the module to ensure that the state of the system is running consistency. Dynamic update strategy for the vast majority rely on a special platform-specific implementation technology, this paper presents a dynamic software updates for a two-stage strategy. It is based on loosely coupled structure and coexistence of multiple versions, delayed update strategy. During the update process, the two-stage dynamic software updates can maximize parallel processing of the old and new versions of the module to improve the efficiency of the implementation of the entire dynamic update, in order to ensure the quality of service of the system. OSGi specification as an Internet service the next generation of open standards, provides lifecycle management component of a series of interfaces various operations, and get a lot of attention and use. OSGi specification provides a similar dynamic updates interface, but it does not support the true sense of the dynamic update. In this paper, the DSU-OSGi framework, it is based on an OSGi framework, and has a dynamic update capability extensible framework. The DSU-OSGi framework OSGi framework dynamically updated expansion to compensate for the lack of OSGi specification dynamically updated. Developed through the verification of the number of test cases, based on the framework of the DSU-OSGi applications not only with the current application system based on the OSGi specification compatible with each other, and also have the ability to dynamically update.
Table of contents
Summary 5-7
abstract 7-16
first chapter 16-24
studies 1.1 background 16-18 < br /> 1.1.1 Dynamic update the 1.1.2 OSGi, 16-17
specification 17-18
1.2 needs and objectives 18-20
the 1.3 research content and key issues; nbsp nbsp 20-23
1.4 The structure of the paper; 23-24
Chapter II dynamic software update 24-44
2.1 Dynamic updated classification 24-29
2.1.1 Based on the dynamic update of the process; nbsp 24-25
2.1.2 object-based dynamic updates 25-27
2.1.3 component-based dynamic updates 27-29
the 2.2 dynamic update process 29-35
2.2.1 determine the dependency 29-30
2.2.2 determine to update timing 30-33
2.2.3 Dynamic update 33-34
the 2.2.4 state transition 34-35 < br /> 2.3 dynamically update the basic needs of 35-36
2.4 OSGi specification support for dynamic updates 36-42 the
the 2.4.1 OSGi norms Profile 36 -38
2.4.2 Bundle interactive mode the 2.4.3 update method 38-39
39-40
2.4.4 a refreshPackages methods 40 -41
the 2.4.5 OSGi specification dynamically updated analysis 41-42
2.5 Chapter Summary 42-44
Chapter two-stage dynamic update strategy 44-57
3.1 dynamically updated strategy 44-48
3.1.1 based on the the C2 framework of dynamic update strategy 44-45
3.1.2 based the DUF framework dynamically updated strategy 45-46
the 3.1.3 variety of dynamic update framework 46-48
3.2 two-stage dynamic update strategy 48 - 56
3.2.1 loosely coupled 48-49
3.2.2 version coexistence 49-51
3.2.3 delayed update 51 - 52
3.2.4 two-stage dynamic update strategy 52-56
3.3 Chapter Summary 56-57 the
fourth prototype framework design and realization 57-68
4.1 framework 57-58
4.2 module design and realization 58-67
4.2.1 dependencies module 58 - 60
4.2.2 update timing module the dynamic update module 60-62
4.2.3 62-64
the 4.2.4 state transition module 64 -65
4.2.5 dynamically updated control module 65-67
4.3 Chapter Summary 67-68
Chapter prototype framework for testing and verification 68-75
5.1 stateless Bundle update 68-71
5.1.1 experimental environment 68
nbsp 5.1.2 test cases; 68 - 69
5.1.3 Experimental results 69-71
5.2 update of the status Bundle; nbsp nbsp 71-74
5.2.1 experimental environment; 71-72
5.2.2 test cases nbsp 72
5.2.3 experimental results; 72-74
5.3 Chapter Summary 74-75
sixth Chapter Summary and Outlook 75-77
6.1 The main research work summarizes 75-76
the 6.2 future outlook the 76-77
refer to the literature 77-81
Acknowledgements 81-82
pursue a degree in participation during research projects, published academic papers 82
Related dissertations
- Research on Dynamic Updating Ofservice-Oriented Distributed System
- The Research on Dynamic Update in Cadastral Data-base
- The Design and Implementation of Data Communication Protocol of Industrial Process Monitoring System
- The Visual Administrant System Basing on the Geographic Information System Used in the Mine-Ventilation of Shi Rengou Iron-Ore
- The Study of City Dynamic Administrate Information System of Anti-Seismic and Disaster Mitigation
- Research on a Model of Component-Based Dynamic Software Architecture
- Research on Storage and Query of XML Data Based on Labeling Scheme
- Research on Region Numbering Scheme Based XML Structural Join Algorithm
- The Research and Implement of Index Technology in Search Engine
- Research on Security Mechanism in MM-MAN
- Study on the Approaches for Dynamically Updating Approximations Based on Variable Precision Rough Sets
- The Web Service Selection Based on Dynamic Updating and Comprehensive Evaluation of QoS
- Research and Implementation of the transport network moving objects tense Index
- Research on High Efficiency Update-supporting XML Data Encoding Methods
- Research on Index and Storage of Spatio-temporal XML Database
- Design and Implementation of Modular Business Dynamic Update Platform
- Research on Provable Data Possession in Cloud Computing Environment