节点文献

基于OSGI的面向服务插件框架研究与应用

Application and Research for the OSGI-based Service-Plug Oriented Architecture

【作者】 悦怡

【导师】 施化吉;

【作者基本信息】 江苏大学 , 计算机应用技术, 2008, 硕士

【摘要】 随着软件技术和网络技术的快速发展以及复杂商业需求的不断演进,支持异构模块动态部署、增量式模块开发、运行时刻服务动态管理、敏捷性开发等软件架构技术已成为软件工程领域的研究热点,受到越来越多研究者的关注。本文首先在分析传统软件体系结构的演进过程以及SOA(Service-OrientedArchitecture)现状的基础上,针对SOA架构实施过程中存在的不足之处,提出了基于OSGI(Open Service Gateway Initiative)的面向服务插件模型OSPAM(OSGI Service-Plug Architecture Model)以及OSPAM的框架模板SPOF(service-Plug Oriented Framework),设计开发了一个基于SPOF框架的OMC(Operation&Maintenance Center)系统。本文主要工作包括:1.介绍了OSGI R4规范的详细定义以及OSGI核心思想在软件体系架构和企业集成领域的借鉴之处。通过传统体系结构与插件体系结构的对比,结合OSGI在插件式开发方面的卓越特点,提出了一种基于OSGI的面向服务插件模型OSPAM。该模型采用分层模式思想,将服务请求实体层SRE与资源实体层RE逻辑分离开来,服务注册管理层SRM为SRE和RE提供了统一的服务注册、路由、组合以及消息传递等机制。论文对SRM层、OSGI包装器、WS包装器、插件生命周期管理矩阵、插件协同机制等作了深入研究。该模型解决了业务场景变化与迭代式软件开发过程的矛盾,使得复杂商业需求与软件开发架构同步演进,有利于模块化软件开发过程的标准化,实现了即插即用的模块化管理,最大限度的降低了模块间的耦合性,使面向服务架构SOA获得更大程度的商业敏捷性。2.在OSPAM模型基础上,结合SOA原始模型、OSGI微内核Equinox、Web Service、内存数据库、XML等技术,设计并实现了一个具体的面向服务插件框架SPOF。该框架由SPOF应用层、Bundle Context Cache、服务插件管理中心等构成。给出了在Web服务器与Servlet容器中嵌入Equinox的解决方案,分析研究了服务插件的调用方式、OSGI服务封装方法,并参考Eclipse的ExtensionRegistry技术给出SPOF框架的扩展设计。SPOF框架具有整体实现系统的可插拔性、动态改变系统行为性、资源服务细节无关性、模块依赖最小化等优点3.针对目前在线计费OCS的子系统OMC监控维护多网元、多服务进程等业务需求,设计了基于SPOF框架的OMC系统,给出了OMC系统总体架构、基于SPOF的设计思想、业务场景展现、业务场景中的模块描述、业务流程定义、业务对象组成等的具体实现。

【Abstract】 With rapid development of software and network technology and the evolvement of complicated commercial demand, the software infrastructure technology which can support module dynamic deployment, incremental module development, dynamic management of run-time service, and agile software development has become hotspots of current research in software engineering field as well as more and more attention from the researchers. At first, this article is based on the analysis of traditional software engineering evolvement and the current situation of SOA, with regard to shortcomings of current implement process of SOA architecture, a kind of OSGI Service-Plug Architecture Model (OSPAM) based on the OSGI Specification is proposed. What’s more, a definite service-plug oriented framework (SPOF) based on OSPAM is designed and realized. As the result, the author uses the OMC (Operation & Maintenance Center) as an example to explain how to develop the application system based on SPOF. The main tasks involved in the paper are as follows:1. The definition of OSGI R4 specification and useful references of OSGI core idea to software system architecture and EAI are introduced. Through the contrast of traditional software architecture and plug-in architecture, and combined with excellent characteristics of plug-in architecture, a kind of OSGI Service-Plug Architecture OSPAM model based on the OSGI was proposed. The model adopts the layer division thought, and separates the service enquiry substantiality layer (SRE) from resource substantiality layer (RE) logically. Meanwhile, SRE has provided an entity system for SRE and RE to register, route, combine and news transmit. In this research general structure of the module has been investigated, SRM(Service Register Management) layer, OSGI wrapper generation, WS wrapper generation, plug in lifecycle management matrix, and plug in synergetic mechanism have been introduced in detail, and especially emphasis on the event-handling implementation consideration of OSGI wrapper generation, WS wrapper generation and OSPAM module.2. On the basis of OSPAM module, combined with the technology of SOA original module, OSGI micro-kernel Equinox, web services, memory database and XML, a definite service-plug oriented framework(SPOF) is designed and realized. This framework is consisting of SPOF application layer, Bundle Context Cache, distributed service management center and SPOF expansion. This article has provided the solution of imbedding Equinox in Web server and Servlet container. In addition, the article also analyses and researches the method of plug-in transferring way, OSGI and serving and encapsulating the method, net service to encapsulate the method of the plug-in package, the expansion that Extension Registry technology of consulting Eclipse provides SPOF frame is designed. SPOF frame has many merits as the whole implementation system that can realize the system plug-in function, change systematic behavior dynamically and minimize dependence on module, etc.3. SPOF application framework based on OSPAM module is applied in the development of OMC system. As the result, the feasibility and practicability of its crucial technique is verified in this research. Based on the SPOF design philosophy, the business scene is represented; the module in the business scene is described and the definition of business procedure as well as the consisting of business target are realized.

  • 【网络出版投稿人】 江苏大学
  • 【网络出版年期】2008年 09期
  • 【分类号】TP311.52
  • 【被引频次】9
  • 【下载频次】488
节点文献中: 

本文链接的文献网络图示:

本文的引文网络